1if(!customElements.get("product-recommendations")){class ProductRecommendations extends HTMLElement{constructor(){super(),this.slider=null}connectedCallback(){this.performRecommendations()}performRecommendations(){const recommendations=this.querySelector("[data-recommendations]");recommendations&&fetch(this.dataset.url).then(response=>response.text()).then(text=>{const recommendationsHTML=new DOMParser().parseFromString(text,"text/html").querySelector("[data-recommendations]")?.innerHTML;if(recommendationsHTML){this.classList.remove("hidden");var cartDrawerItemsFull=document.querySelector(".cart-drawer-items__full");cartDrawerItemsFull&&cartDrawerItemsFull.classList.remove(".cart-drawer-items__full"),recommendations.innerHTML=recommendationsHTML,this.initSlider(),setTimeout(()=>{document.querySelector("quick-cart-drawer")?document.querySelector("quick-cart-drawer").init():this.querySelectorAll(".quick-cart-drawer__trigger").forEach(el=>{el?.remove()})},500)}})}initSlider(){this.slider=new Swiper(this.querySelector(".swiper"),{slidesPerView:"auto",spaceBetween:16})}}customElements.define("product-recommendations",ProductRecommendations)} 2//# sourceMappingURL=/cdn/shop/t/13/assets/product-recommendations.js.map?v=118771467374527067121771420052
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.