woodmartThemeModule.$document.on("wdShopPageInit",function(){woodmartThemeModule.sliderAnimations(),woodmartThemeModule.sliderLazyLoad()}),["frontend/element_ready/wd_slider.default"].forEach(function(e){woodmartThemeModule.wdElementorAddAction(e,function(){woodmartThemeModule.sliderAnimations(),woodmartThemeModule.sliderLazyLoad()})}),woodmartThemeModule.sliderClearAnimations=function(e,a){a&&e.querySelectorAll('[class*="wpb_animate"]').forEach(function(e){for(var a,t=Array.from(e.classList),i=0;i .wd-carousel-inner > .wd-carousel").forEach(function(e){function t(e,a=!1){woodmartThemeModule.sliderClearAnimations(e,a),woodmartThemeModule.runAnimations(e,a)}e.querySelectorAll('[class*="wd-animation"]').forEach(function(e){e.classList.add("wd-animation-ready")}),t(e.querySelector(".wd-slide"),!0),e.addEventListener("wdSlideChange",function(a){t(Array.prototype.filter.call(a.target.swiper.wrapperEl.children,e=>a.detail.activeIndex==e.dataset.swiperSlideIndex).shift()),woodmartThemeModule.$document.trigger("wood-images-loaded")})})},woodmartThemeModule.runAnimations=function(e,a){e.parentElement.querySelectorAll('[class*="wd-animation"]').forEach(function(e){e.classList.remove("wd-animated")}),e.querySelectorAll('[class*="wd-animation"]').forEach(function(e){for(var a=e.classList,t=0,i=0;i .wd-carousel-inner > .wd-carousel").forEach(function(e){t(e.querySelector(".wd-carousel-wrap").firstElementChild),e.addEventListener("wdSlideChange",function(a){t(Array.prototype.filter.call(a.target.swiper.wrapperEl.children,e=>a.detail.activeIndex==e.dataset.swiperSlideIndex).shift())})})},window.addEventListener("load",function(){woodmartThemeModule.sliderAnimations(),woodmartThemeModule.sliderLazyLoad()});