1const o={init(){const t=document.querySelector(".testimonialSlider");if(!t)return;const i=()=>{const e=t.querySelector("swiper-container");if(!e||e.offsetWidth===0)return;const n=e.offsetWidth*9/16;t.style.setProperty("--testimonial-aspect-height",`${n}px`)};customElements.whenDefined("swiper-container").then(()=>{const e=t.querySelector("swiper-container");e&&e.addEventListener("swiperafterinit",i,{once:!0}),requestAnimationFrame(i)}),window.addEventListener("resize",i)}};export{o as default};
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.