https://bbox.com.au/cdn/shop/t/195/assets/product-recommendations.js?v=95941050697977334151780376341
1import{A as A11y,N as Navigation,S as Swiper}from"./a11y-B9dyO79b.js";import{A as Autoplay,P as Pagination,S as Scrollbar}from"./autoplay-fKbgDer1.js";if(!customElements.get("product-recommendations")){class ProductRecommendations extends HTMLElement{constructor(){if(super(),this.swiperElement=this.querySelector("[data-swiper]"),this.swiperOptions={modules:[A11y,Autoplay,Navigation,Pagination,Scrollbar],threshold:10},this.swiperElement.dataset&&this.swiperElement.dataset.options){const jsonOptions=JSON.parse(this.swiperElement.dataset.options);jsonOptions&&(this.swiperOptions={...this.swiperOptions,...jsonOptions})}this.swiperInstance=new Swiper(this.swiperElement,this.swiperOptions),window.onload=()=>{this.init()}}init(){this.dataset&&this.dataset.url&&fetch(this.dataset.url).then(response=>response.text()).then(text=>{const html=new DOMParser().parseFromString(text,"text/html").querySelector("[data-recommended-products]").innerHTML;this.querySelector("[data-recommended-products]").innerHTML=html,this.swiperInstance.update(),this.swiperOptions.navigation&&(this.swiperInstance.navigation.init(),this.swiperInstance.navigation.update()),this.swiperOptions.pagination&&(this.swiperInstance.pagination.init(),this.swiperInstance.pagination.update()),this.swiperOptions.scrollbar&&(this.swiperInstance.scrollbar.init(),this.swiperInstance.scrollbar.updateSize())}).catch(error=>{console.error(error)})}}window.ProductRecommendations=ProductRecommendations,customElements.define("product-recommendations",ProductRecommendations)} 2//# sourceMappingURL=/cdn/shop/t/195/assets/product-recommendations.js.map?v=95941050697977334151780376341
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.