PageSourceSearch

https://www.coleyhome.com/cdn/shop/t/105/assets/cart-count.js?v=71318227838709635551759911399

js coleyhome.com collected 2026-09-29 15:58:15 UTC 1,042 bytes, 2 lines download raw bytes

1class CartCountManager extends window.BAO.CustomElement(){connectedCallback(){super.connectedCallback()}setupListeners(){document.addEventListener("cart:updated",()=>{this.updateCartCounts()}),document.addEventListener("cart:item-added",()=>{this.updateCartCounts()})}async updateCartCounts(){try{const response=await fetch(`${window.Shopify.routes.root}?section_id=cart-count`,{method:"GET",headers:{"Content-Type":"application/json"}});if(response.ok){const html=await response.text(),tempDiv=document.createElement("div");tempDiv.innerHTML=html;const newCount=tempDiv.textContent.trim();document.querySelectorAll("[data-cart-count]").forEach(element=>{element.textContent=newCount})}else console.error("CartCountManager: failed to fetch cart count section")}catch(error){console.error("CartCountManager: error updating cart count:",error)}}}customElements.get("cart-count-manager")||customElements.define("cart-count-manager",CartCountManager);
2//# sourceMappingURL=/cdn/shop/t/105/assets/cart-count.js.map?v=71318227838709635551759911399

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.