PageSourceSearch

https://www.miriamcernuda.com/cdn/shop/t/4/assets/cart-count.js?v=131862079526105872261704309340

js miriamcernuda.com collected 2026-10-09 23:10:39 UTC 788 bytes, 2 lines download raw bytes

1document.addEventListener("alpine:init",()=>{Alpine.store("cart_count",{count:window.theme&&window.theme.cartItemCount||0,init(){window.addEventListener("cascade:modalcart:afteradditem",e=>{this._setFromFetchedSection(e.detail.response)}),window.addEventListener("cascade:modalcart:cartqtychange",e=>{this._setFromFetchedSection(e.detail.response)})},_setFromFetchedSection(data){const countSectionHTML=data.sections["cart-item-count"];this.count=parseInt(parseDOMFromString(countSectionHTML).firstElementChild.innerText.trim(),10)},countWithText(){let string=theme.strings.itemCountOther;return this.count===1&&(string=theme.strings.itemCountOne),string.replace("{{ count }}",this.count)}})});
2//# sourceMappingURL=/cdn/shop/t/4/assets/cart-count.js.map?v=131862079526105872261704309340

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.