PageSourceSearch

https://janelushka.de/cdn/shop/t/74/assets/jl-cart-extras.js?v=30588647565923389051787500686

js janelushka.de collected 2026-10-08 10:17:00 UTC 1,846 bytes, 2 lines download raw bytes

1(function(){"use strict";var jsonHeaders={"X-Requested-With":"XMLHttpRequest"};function getDrawer(){return document.querySelector("cart-drawer")}function syncDrawerCount(){var drawerEl=document.querySelector("[data-cart-drawer]");if(drawerEl){var countEl=drawerEl.querySelector("[data-cart-drawer-count]");if(countEl){var inputs=drawerEl.querySelectorAll('.cart-drawer-items [name="updates[]"]'),n=0;inputs.forEach(function(input){n+=parseInt(input.value,10)||0});var next=n>0?" ("+n+")":"";countEl.textContent!==next&&(countEl.textContent=next)}}}var drawerForObserve=document.querySelector("[data-cart-drawer]");drawerForObserve&&"MutationObserver"in window&&new MutationObserver(syncDrawerCount).observe(drawerForObserve,{childList:!0,subtree:!0});function refreshAndOpenDrawer(){var drawer=getDrawer();!drawer||typeof drawer.renderContents!="function"||fetch("/?sections=cart-drawer,cart-icon-bubble",{headers:jsonHeaders}).then(function(r){return r.json()}).then(function(sections){drawer.renderContents({sections:sections}),typeof drawer.open=="function"&&drawer.open(),syncDrawerCount()}).catch(function(){})}document.addEventListener("click",function(event){var target=event.target;if(!(!target||!target.closest)){var btn=target.closest('limespot-box[data-box-style="bundle"] .ls-bundle-add-to-cart');btn&&fetch("/cart.js",{headers:jsonHeaders}).then(function(r){return r.json()}).then(function(before){var tries=0,timer=setInterval(function(){tries+=1,fetch("/cart.js",{headers:jsonHeaders}).then(function(r){return r.json()}).then(function(now){now.item_count!==before.item_count?(clearInterval(timer),refreshAndOpenDrawer()):tries>=24&&clearInterval(timer)}).catch(function(){clearInterval(timer)})},250)}).catch(function(){})}},!0)})();
2//# sourceMappingURL=/cdn/shop/t/74/assets/jl-cart-extras.js.map?v=30588647565923389051787500686

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.