1function __vite__mapDeps(indexes){return __vite__mapDeps.viteFileDeps||(__vite__mapDeps.viteFileDeps=[]),indexes.map(i2=>__vite__mapDeps.viteFileDeps[i2])}import{b as m,t as h,n as r,_ as c,u as f}from"./revive-nNTwU9Kq.js";import{r as p,c as u}from"./cart-vsJaiwMw.js";import{i as g}from"./intersection-watcher-8YRkTtiS.js";import{s as d}from"./shouldAnimate-saLBw5zN.js";import{g as v}from"./media-queries-KgsnvhPu.js";import{a as _}from"./testimonials-aAnrfnIu.js";import"./delay-offset-A4kMqxUk.js";const i={item:".testimonials__item",swiper:".swiper",navigationNext:".testimonials__navigation-button--next",navigationPrev:".testimonials__navigation-button--prev",pagination:".testimonials__pagination-wrapper",productImage:".testimonials__item-product-image"};m("testimonials",{onLoad(){this.events=[],this.items=h(i.item,this.container),this.itemsContainer=r(i.swiper,this.container),d(this.container)&&(this.itemAnimations=this.items.map(t=>_(t)),this.observer=g(this.container)),this.items.length>1?c(()=>import(flu.chunks.swiper),__vite__mapDeps([]),import.meta.url).then(({Swiper:t,Navigation:e,Pagination:o,EffectFade:n})=>{const s={modules:[e,o,n],autoHeight:!0,slidesPerView:1,effect:"fade",loop:!0,fadeEffect:{crossFade:!0},grabCursor:!0,navigation:{nextEl:i.navigationNext,prevEl:i.navigationPrev},pagination:{el:i.pagination,clickable:!0},on:{slideChangeTransitionEnd(){const l=this.slides;setTimeout(function(){l.forEach(a=>{a.toggleAttribute("inert",!a.classList.contains("swiper-slide-active"))})},50)}}};window.matchMedia(v("below-720")).matches&&(s.effect="slide",s.slidesPerView="auto"),this.carousel=new t(this.itemsContainer,s),this.setMobileButtonOffset(),p("testimonials:initialized")}):this.items.length===1&&f(this.items[0],"swiper-slide-visible")},setMobileButtonOffset(){const t=r(i.productImage,this.container),o=34/2,s=t.offsetHeight/2+o;this.container.style.setProperty("--mobile-button-offset",`${s}px`)},handleBlockSelect(t){this.carousel.slideToLoop(parseInt(t,10))},onBlockSelect({target:t}){const{index:e}=t.dataset;this.carousel?this.handleBlockSelect(e):this.events.push(u("testimonials:initialized",()=>{this.handleBlockSelect(e)}))},onUnload(){var t;this.events.forEach(e=>e()),(t=this.observer)==null||t.destroy()}}); 2//# sourceMappingURL=/cdn/shop/t/149/assets/testimonials-8uCCFZMv.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.