PageSourceSearch

https://loaloapublishing.com/cdn/shop/t/2/assets/cart-subtotal-fix.js?v=136846115788008573251789306164

js loaloapublishing.com collected 2026-10-03 01:39:23 UTC 2,619 bytes, 2 lines download raw bytes

1(function(){function patchMinicartLineItem(){var Cls=customElements.get("minicart-line-item");!Cls||Cls.prototype.__patchedAdd||(Cls.prototype.onFormChangeHandler=function(){var el=this.querySelector('[data-action="add"]');el&&el.classList.remove("hidden")},Cls.prototype.__patchedAdd=!0,console.log("[cart-fix] onFormChangeHandler patched"))}function patchCartItemsRender(){var Cls=customElements.get("cart-items");!Cls||Cls.prototype.__patchedRender||(Cls.prototype.renderContents=function(parsedState){if(!parsedState.sections){location.reload(!0);return}(document.querySelector("body").classList.contains("header-cart-dropdown")||document.body.classList.contains("template-cart"))&&window.Popup&&(Popup.clearQuickViewCache&&Popup.clearQuickViewCache(),Popup.closePopupExeptCart&&Popup.closePopupExeptCart()),document.querySelectorAll("mini-cart-popup").forEach(function(el){el.removeCarousel&&el.removeCarousel()});var self=this;this.getSectionsToRender().forEach(function(section){(!(section.render_on_cart_page_only&&!self.onCartPage)||section.not_render_on_cart_page_only&&!self.onCartPage)&&(section.bubble?document.querySelectorAll(section.selector).forEach(function(dest){try{dest.innerHTML=self.getSectionInnerHTML(parsedState.sections[section.section],section.selector)}catch(e){}}):document.querySelectorAll('[id="'+section.id+'"]').forEach(function(destination){var selector=section.selector;if(selector){var inner=destination.querySelector(selector);inner!==null&&(destination=inner)}else selector="#"+section.id;try{if(self.isSectionInnerHTML(parsedState.sections[section.section],selector)){if(destination.innerHTML=self.getSectionInnerHTML(parsedState.sections[section.section],selector),section.show_hidden){var hidden=destination.querySelector(".hidden[data-render-only]");hidden&&hidden.classList.toggle("hidden")}var showOnScroll=destination.querySelector(".show-on-scroll");showOnScroll&&showOnScroll.classList.toggle("is-visible")}}catch(e){console.warn("[cart-fix] section render skipped:",section.id,e)}}))});try{this.currentLineCount=document.querySelector("cart-items").querySelectorAll('[name="updates[]"]').length,document.querySelector("cart-items").classList.toggle("is-empty",this.currentLineCount===0)}catch(e){}},Cls.prototype.__patchedRender=!0,console.log("[cart-fix] renderContents patched"))}function tryPatch(){patchMinicartLineItem(),patchCartItemsRender()}tryPatch(),document.addEventListener("DOMContentLoaded",tryPatch),setTimeout(tryPatch,1e3),setTimeout(tryPatch,3e3)})();
2//# sourceMappingURL=/cdn/shop/t/2/assets/cart-subtotal-fix.js.map?v=136846115788008573251789306164

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.