1import{_ as c}from"./preload-helper-C1FmrZbK.js";import{a as h,t as p,n as m,u as f}from"./fluorescent-dom.es-Cu7dY8l0.js";import{r as g}from"./index-CUsq4fcp.js";import{r as u,c as d}from"./evx.es-D_-Lbk8t.js";import{i as _}from"./intersection-watcher-D3vtB7Co.js";import{d as l}from"./delay-offset-DYAL33nW.js";import{s as v}from"./shouldAnimate-BMbjctYf.js";import{g as b}from"./media-queries-CokWIw5y.js";const i={content:".testimonials__item-content > *",image:".testimonials__item-product-image",imageCaption:".testimonials__item-product-title",item:".animation--item"},w={imageRight:"testimonials__item--image-placement-right"},B=t=>{const e=[];h(t,w.imageRight)?(e.push(i.content),e.push(i.image),e.push(i.imageCaption)):(e.push(i.image),e.push(i.imageCaption),e.push(i.content)),l(t,e,2),l(t,[i.item])},o={item:".testimonials__item",swiper:".swiper",navigationNext:".testimonials__navigation-button--next",navigationPrev:".testimonials__navigation-button--prev",productImage:".testimonials__item-product-image"};g("testimonials",{onLoad(){this.events=[],this.items=p(o.item,this.container),this.itemsContainer=m(o.swiper,this.container),v(this.container)&&(this.itemAnimations=this.items.map(t=>B(t)),this.observer=_(this.container)),this.items.length>1?c(async()=>{const{Swiper:t,Navigation:e,EffectFade:s}=await import("./swiper-ZmHN4qfs.js");return{Swiper:t,Navigation:e,EffectFade:s}},[],import.meta.url).then(({Swiper:t,Navigation:e,EffectFade:s})=>{const n={modules:[e,s],autoHeight:!0,slidesPerView:1,effect:"fade",loop:!0,fadeEffect:{crossFade:!0},grabCursor:!0,navigation:{nextEl:o.navigationNext,prevEl:o.navigationPrev},breakpoints:{720:{spaceBetween:42}},on:{slideChangeTransitionEnd(){const a=this.slides;setTimeout(function(){a.forEach(r=>{r.toggleAttribute("inert",!r.classList.contains("swiper-slide-active"))})},50)}}};window.matchMedia(b("below-720")).matches&&(n.effect="slide",n.slidesPerView="auto"),this.carousel=new t(this.itemsContainer,n),this.setMobileButtonOffset(),u("testimonials:initialized")}):this.items.length===1&&f(this.items[0],"swiper-slide-visible")},setMobileButtonOffset(){const t=m(o.productImage,this.container),s=34/2,a=t.offsetHeight/2+s;this.container.style.setProperty("--mobile-button-offset",`${a}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(d("testimonials:initialized",()=>{this.handleBlockSelect(e)}))},onUnload(){var t;this.events.forEach(e=>e()),(t=this.observer)==null||t.destroy()}});
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.