trAvis - MANAGER
Edit File: plus-carousel-remote.min.js
/*carousel remote*/(function(a){"use strict";var b=function(a,b){var c=b(".theplus-carousel-remote",a),d=c.find(".tp-carousel-dots .tp-carodots-item"),e=c.data("id"),f=b("."+e+".tp-tabs-wrapper").find(" li .tp-tab-header.active"),g=f.data("tab");c.length&&(b(".theplus-carousel-remote .custom-nav-remote").on("click",function(a){a.preventDefault();var c=b(this).data("id"),d=b(this).closest(".theplus-carousel-remote").data("remote");if(""!=c&&c!=null&&"carousel"==d){var e=b(this).data("nav");"next"==e?b("."+c+" > .post-inner-loop").slick("slickNext"):"prev"==e&&b("."+c+" > .post-inner-loop").slick("slickPrev")}else if(""!=c&&c!=null&&"switcher"==d){var f=b(this).data("nav"),g=b("#"+c).find(".switch-toggle"),h=b("#"+c).find(".switch-1"),i=b("#"+c).find(".switch-2");b(".theplus-carousel-remote .custom-nav-remote").removeClass("active"),b(this).addClass("active"),"next"==f?i.trigger("click"):"prev"==f&&h.trigger("click")}}),0<d.length&&d.on("click",function(){b(this).closest(".tp-carousel-dots").find(".tp-carodots-item").removeClass("active default-active").addClass("inactive"),b(this).removeClass("inactive").addClass("active");var a=b(this).closest(".theplus-carousel-remote").data("connection"),c=b(this).data("tab"),d=b(this).closest(".theplus-carousel-remote").data("extra-conn");if(""!=a&&null!=a&&b("#"+a).length&&tp_dot_connection(c,a),""!=d&&null!=d&&b("."+d).length&&tp_dotex_connection(c,d),b(".carousel-pagination").length){b(this).closest(".theplus-carousel-remote").find(".carousel-pagination ul.pagination-list li.pagination-list-in.active").html("0"+(c+1))}}))};a(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/tp-carousel-remote.default",b)})})(jQuery);function tp_dot_connection(a,b){var c=jQuery;if(""!=b&&1==c("#"+b).length){var d=c("#"+b+" > .post-inner-loop,#"+b+".post-inner-loop").slick("slickCurrentSlide");d!=a&&c("#"+b+" > .post-inner-loop,#"+b+".post-inner-loop").slick("slickGoTo",a)}}function tp_dotex_connection(a,b){var c=jQuery;""==b||1!=c("."+b+".tp-tabs-wrapper").length||c("."+b).find("li .tp-tab-header[data-tab=\""+parseInt(a+1)+"\"]").hasClass("active")||c("."+b).find("li .tp-tab-header[data-tab=\""+parseInt(a+1)+"\"]").trigger("click")}