PageSourceSearch

https://us.bylouise.fr/cdn/shop/t/258/assets/free-shipping.js?v=125451342058225290961787854005

js bylouise.fr collected 2026-10-08 01:38:44 UTC 1,096 bytes, 2 lines download raw bytes

1if(!customElements.get("free-shipping")){class FreeShipping extends HTMLElement{constructor(){super()}connectedCallback(){let amountText=this.querySelector(".free-shipping--text span"),total=parseInt(this.dataset.cartTotal,10),minimum=Math.round(parseInt(this.dataset.minimum,10)*(Shopify.currency.rate||1)),percentage=1;if(this.remainingText=this.querySelector(".free-shipping--text-remaining"),this.fullText=this.querySelector(".free-shipping--text-full"),total<minimum){if(percentage=total/minimum,amountText){let remaining=minimum-total,format=window.theme.settings.money_with_currency_format||"${{amount}}";amountText.innerHTML=formatMoney(remaining,format)}this.remainingText&&this.fullText&&(this.remainingText.style.display="block",this.fullText.style.display="none")}else this.remainingText&&this.fullText&&(this.remainingText.style.display="none",this.fullText.style.display="block");this.style.setProperty("--percentage",percentage)}}customElements.define("free-shipping",FreeShipping)}
2//# sourceMappingURL=/cdn/shop/t/258/assets/free-shipping.js.map?v=125451342058225290961787854005

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.