1class StickyProVariantSelect extends HTMLElement{constructor(){super(),this.addEventListener("change",this.onStickyVariantChange)}onStickyVariantChange(){this.varOptions=this.querySelector("select");let input=document.querySelector(`#product-sticky-form-${this.dataset.section}`).querySelector('input[name="id"]');input.value=this.varOptions.value}}customElements.define("sticky-variant-select",StickyProVariantSelect),Shopify.designMode&&(document.addEventListener("shopify:section:load",event=>{stickyScroll()}),document.addEventListener("shopify:section:select",event=>{stickyScroll()}),document.addEventListener("shopify:section:deselect",event=>{stickyScroll()}));const stickyScroll=()=>{let stickySelectedVariant=document.querySelector("#sticky__variant");if(stickySelectedVariant){let stickySelectVairantInput=document.querySelector("#sticky__selected_variant_id");stickySelectVairantInput.value=stickySelectedVariant.value}const BuyButtonForm=document.querySelector(".product_buy_button_form"),productStickyWrapper=document.querySelector(".product__sticky");window.addEventListener("scroll",function(){let BuyBUttonTopffset=TopOffset(BuyButtonForm).top;window.scrollY>BuyBUttonTopffset?(productStickyWrapper.classList.add("sticky"),document.body.classList.add("sticky__cart")):(productStickyWrapper.classList.remove("sticky"),document.body.classList.remove("sticky__cart"))})};stickyScroll(); 2//# sourceMappingURL=/cdn/shop/t/11/assets/product-sticky-cart.js.map?v=35510420939044158411686026448
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.