????

Your IP : 18.224.184.62


Current Path : /home/multihiv/www/store/wp-content/themes/js/scripts/wc/
Upload File :
Current File : //home/multihiv/www/store/wp-content/themes/js/scripts/wc/productsTabs.min.js

!function(r){r.each(["frontend/element_ready/wd_products_tabs.default"],function(e,d){woodmartThemeModule.wdElementorAddAction(d,function(){woodmartThemeModule.productsTabs()})}),woodmartThemeModule.productsTabs=function(){var i=!1,n=(r(".wd-products-tabs").each(function(){var e=r(this),o=e.find(".wd-tab-content-wrapper"),a=[],d=o.find(".wd-products-element").clone().removeClass("wd-active wd-in");d.find(".wd-carousel")&&d.find(".wd-carousel").removeClass("wd-initialized"),a[0]={html:d.prop("outerHTML")},e.find(".products-tabs-title li").on("click",function(e){e.preventDefault();var d=r(this),e=d.data("atts"),t=d.index();i||d.hasClass("wd-active")||(i=!0,o.find(".wd-products-element").removeClass("wd-in"),setTimeout(function(){o.find(".wd-products-element").addClass("wd-active")},100),n(e,t,o,d,a,function(e){e.html&&woodmartThemeModule.removeDuplicatedStylesFromHTML(e.html,function(e){o.find(".wd-products-element").replaceWith(e),o.find(".wd-products-element").addClass("wd-active"),setTimeout(function(){o.find(".wd-products-element").addClass("wd-in"),woodmartThemeModule.$document.trigger("wdProductsTabsLoaded"),woodmartThemeModule.$document.trigger("wood-images-loaded")},200),d.removeClass("loading")})}))}),setTimeout(function(){e.addClass("wd-inited")},200)}),function(e,d,t,o,a,n){var s=t.find("> .wd-sticky-loader");o.parent().find(".wd-active").removeClass("wd-active"),o.addClass("wd-active"),a[d]?setTimeout(function(){i=!1,n(a[d])},300):(s.addClass("wd-loading"),o.addClass("loading"),r.ajax({url:woodmart_settings.ajaxurl,data:{atts:e,action:"woodmart_get_products_tab_shortcode"},dataType:"json",method:"POST",success:function(e){i=!1,a[d]=e,n(e)},error:function(){console.log("ajax error")},complete:function(){i=!1,s.removeClass("wd-loading")}}))})},r(document).ready(function(){woodmartThemeModule.productsTabs()})}(jQuery);