1if(!customElements.get("free-shipping")){class FreeShipping extends HTMLElement{constructor(){super()}connectedCallback(){let amount_text=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,amount_text){let remaining=minimum-total,format=window.theme.settings.money_with_currency_format||"${{amount}}";amount_text.innerHTML=formatMoney(remaining,format)}this.remainingText.style.display="block",this.fullText.style.display="none"}else 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/36/assets/free-shipping.js.map?v=86056161497497741641768594490
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.