PageSourceSearch

https://sicurezza.pe/cdn/shop/t/49/assets/component-cart-recommendations.js?v=26923185994243591031781898331

js sicurezza.pe collected 2026-10-08 02:50:32 UTC 901 bytes, 2 lines download raw bytes

1class CartRecommendations extends HTMLElement{constructor(){super(),this.generateRecommendations()}generateRecommendations(){const cartItems=document.getElementById("AjaxCartForm").querySelectorAll("[data-js-cart-item]");cartItems.length>0&&fetch(`${KROWN.settings.routes.product_recommendations_url}?section_id=${this.dataset.section}&product_id=${cartItems[0].dataset.productId}&limit=${this.dataset.limit}`).then(response=>response.text()).then(text=>{const innerHTML=new DOMParser().parseFromString(text,"text/html").querySelector("[data-js-cart-recommendations-performed]");innerHTML&&innerHTML.querySelectorAll("[data-js-product-item]").length>0&&(this.innerHTML=innerHTML.innerHTML)}).catch(e=>{console.warn(e)})}}customElements.define("cart-recommendations",CartRecommendations);
2//# sourceMappingURL=/cdn/shop/t/49/assets/component-cart-recommendations.js.map?v=26923185994243591031781898331

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.