PageSourceSearch

https://www.omorovicza.eu/cdn/shop/t/116/assets/push-cart-recommendations.js?v=48863405579393880741783585177

js omorovicza.eu collected 2026-09-26 14:13:44 UTC 1,838 bytes, 2 lines download raw bytes

1export class PushCartRecommendations extends window.BAO.CustomElement(){connectedCallback(){super.connectedCallback(),window.setTimeout(()=>this.render(),500)}disconnectedCallback(){super.disconnectedCallback(),this.expanded=!1}render(){fetch(this.url).then(response=>response.text()).then(text=>{const html=document.createElement("div");html.innerHTML=text;const recommendations=html.querySelector("push-cart-recommendations"),hasItems=recommendations&&recommendations.innerHTML.trim().length;hasItems&&document.querySelectorAll(".psh-Recommendations").forEach(container=>{container.innerHTML=recommendations.innerHTML}),this.expanded=!!hasItems}).catch(e=>{console.error(e)})}get expanded(){return this._expanded}set expanded(expanded){this._expanded=expanded,document.querySelector('site-drawer[key="cart"] .drw-Drawer_Aside')?.setAttribute("aria-expanded",expanded),document.querySelector(".psh-Cart_Recommendations")?.setAttribute("loaded",expanded)}get url(){return this.dataset.url}}customElements.get("push-cart-recommendations")||customElements.define("push-cart-recommendations",PushCartRecommendations);class PushCartRecommendationsCarousel extends window.BAO.CustomElement(){connectedCallback(){super.connectedCallback(),window.setTimeout(()=>this.render(),500)}render(){this.els?.slide?.exists&&(window.BAO.MediaBreakpoints.isMd||(this.carousel=this.setupCarousel()))}setupCarousel(){return new window.KeenSlider(this.els.slides.element,{selector:this.els.slide.selector,loop:!1,mode:"snap",slides:{perView:2.2,spacing:15}},[window.BAO.Carousel.useInitialised()])}}customElements.get("push-cart-recommendations-carousel")||customElements.define("push-cart-recommendations-carousel",PushCartRecommendationsCarousel);
2//# sourceMappingURL=/cdn/shop/t/116/assets/push-cart-recommendations.js.map?v=48863405579393880741783585177

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.