PageSourceSearch

https://rslspeakers.com/cdn/shop/t/110/assets/cg3m-quick-cart.js?v=171929623161158621901788023442

js rslspeakers.com collected 2026-10-09 17:26:34 UTC 1,877 bytes, 2 lines download raw bytes

1function addToCart(submitBtn,productId,variantId){const appendedId=variantId||productId;var formData=new FormData(document.getElementById("form--"+appendedId)),cartDrawer=document.querySelector("cart-drawer");submitBtn.setAttribute("aria-disabled","true"),submitBtn.classList.add("is-loading");let sections="cart-icon-bubble";cartDrawer&&(sections+=`,${cartDrawer.closest(".shopify-section").id.replace("shopify-section-","")}`),formData.append("sections_url",window.location.pathname),formData.append("sections",sections),fetch("/cart/add.js",{method:"POST",body:formData}).then(function(response){return response.json()}).then(function(data){cartDrawer&&cartDrawer.renderContents(data,!0),submitBtn.classList.add("is-success"),setTimeout(function(){submitBtn.classList.remove("is-loading"),submitBtn.classList.remove("is-success")},1400)}).catch(function(error){console.error("Error adding to cart:",error)})}function addToCart2(submitBtn,selectedID){var formData=new FormData(document.getElementById("form--"+selectedID)),cartDrawer=document.querySelector("cart-drawer");submitBtn.setAttribute("aria-disabled","true"),submitBtn.classList.add("is-loading");let sections="cart-icon-bubble";cartDrawer&&(sections+=`,${cartDrawer.closest(".shopify-section").id.replace("shopify-section-","")}`),formData.append("sections_url",window.location.pathname),formData.append("sections",sections),fetch("/cart/add.js",{method:"POST",body:formData}).then(function(response){return response.json()}).then(function(data){cartDrawer&&cartDrawer.renderContents(data,!0),submitBtn.classList.add("is-success"),setTimeout(function(){submitBtn.classList.remove("is-loading"),submitBtn.classList.remove("is-success")},1400)}).catch(function(error){console.error("Error adding to cart:",error)})}
2//# sourceMappingURL=/cdn/shop/t/110/assets/cg3m-quick-cart.js.map?v=171929623161158621901788023442

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.