PageSourceSearch

https://www.stelladot.com/cdn/shop/t/311/assets/quick-add.js?v=120088109826397273671774374381

js stelladot.com collected 2026-10-02 06:00:54 UTC 942 bytes, 2 lines download raw bytes

1function handleQuickAdd(e){if(e.classList.contains("is-disabled")||e.classList.contains("has-success"))return;let selectedProducts=[];selectedProducts=[{id:parseFloat(e.dataset.addToCartVariant),quantity:1}];let formData={items:selectedProducts};selectedProducts.length>0&&(e.classList.add("loading"),e.classList.add("is-disabled"),fetch("/cart/add.js",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(formData)}).then(res=>res.json()).then(data=>{e.classList.remove("loading"),e.classList.remove("is-disabled"),e.classList.add("has-success"),setTimeout(()=>{e.classList.remove("has-success"),reloadCart()},1500)}).catch(err=>{console.error(err)}))}function reloadCart(){document.dispatchEvent(new CustomEvent("theme:cart:init",{bubbles:!0})),document.dispatchEvent(new CustomEvent("theme:cart:reload",{bubbles:!0}))}
2//# sourceMappingURL=/cdn/shop/t/311/assets/quick-add.js.map?v=120088109826397273671774374381

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.