1(function(){const PRICE_SELECTOR=".btn-1checkout-price";function formatPrice(cents){return new Intl.NumberFormat("en-IN",{style:"currency",currency:"INR",minimumFractionDigits:2}).format(cents/100)}function isZero(text){return/(?:â¹|Rs\.?)?\s*0(?:\.00)?\s*$/.test((text||"").trim())}function fetchCartWithRetry(attempt){return attempt=attempt||0,fetch("/cart.js",{cache:"no-store"}).then(function(res){return res.json()}).then(function(cart){return cart.item_count>0&&cart.total_price===0&&attempt<5?new Promise(function(resolve){setTimeout(function(){resolve(fetchCartWithRetry(attempt+1))},350)}):cart})}let checking=!1;function checkAndFix(){const priceEls=Array.from(document.querySelectorAll(PRICE_SELECTOR)).filter(function(el){return isZero(el.textContent)});priceEls.length===0||checking||(checking=!0,fetchCartWithRetry().then(function(cart){if(cart.item_count===0)return;const correctPrice=formatPrice(cart.total_price);priceEls.forEach(function(el){isZero(el.textContent)&&(el.textContent=correctPrice)})}).catch(function(err){console.error("Checkout price corrector error:",err)}).finally(function(){checking=!1}))}let debounceTimer=null;const observer=new MutationObserver(function(){debounceTimer&&clearTimeout(debounceTimer),debounceTimer=setTimeout(checkAndFix,150)});function start(){observer.observe(document.body,{childList:!0,subtree:!0,characterData:!0}),checkAndFix()}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",start):start(),document.addEventListener("cart:change",checkAndFix),document.addEventListener("cart-drawer:refreshed",checkAndFix)})(); 2//# sourceMappingURL=/cdn/shop/t/53/assets/cart-guard.js.map?v=84924221323552342981787217307
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.