PageSourceSearch

https://www.agjeans.com/cdn/shop/t/1122/compiled_assets/scripts.js?v=37718597690013410341788170619

js agjeans.com collected 2026-10-02 19:08:55 UTC 3,671 bytes, 2 lines download raw bytes

1(function(){var __sections__={};(function(){for(var i=0,s=document.getElementById("sections-script").getAttribute("data-sections").split(",");i<s.length;i++)__sections__[s[i]]=!0})(),(function(){if(!(!__sections__["customer-care-multicolumn"]&&!Shopify.designMode))try{customElements.get("customer-care-multicolumn")||customElements.define("customer-care-multicolumn",class extends HTMLElement{constructor(){super(),this.modalLinks=this.querySelectorAll("[data-open-as-modal]"),this.modalBackdrop=this.querySelector("[data-modal-backdrop]"),this.closeModalLinks=this.querySelectorAll("[data-close-modal]"),this.learnMoreLinks=this.querySelectorAll("[data-learn-more]"),this.dragBarLinks=this.querySelectorAll("[data-drag-bar]"),this.modalContainer=this.querySelectorAll(".customer-care-multicolumn__modal-container"),this.body=document.querySelector("body"),this.init()}init(){this.modalBackdrop.addEventListener("click",this.closeModal.bind(this)),this.modalLinks.forEach(link=>{link.addEventListener("click",this.openModal.bind(this))}),this.closeModalLinks.forEach(link=>{link.addEventListener("click",this.closeModal.bind(this))}),this.learnMoreLinks.forEach(link=>{link.addEventListener("click",this.openModalDouble.bind(this))}),this.dragBarLinks.forEach(dragBar=>{let context=this,touchstartY=0,touchendY=0;function checkDirection(){touchendY<touchstartY&&window.innerWidth<=768&&context.openModalDouble(),touchendY>touchstartY&&window.innerWidth<=768&&context.closeModal()}dragBar.addEventListener("touchstart",function(e){touchstartY=e.changedTouches[0].screenY}),dragBar.addEventListener("touchend",function(e){touchendY=e.changedTouches[0].screenY,checkDirection()})})}openModal(e){e.preventDefault();let body=document.querySelector("body"),blockId=e.currentTarget.getAttribute("data-block-id"),modalToOpen=this.querySelector(`.customer-care-multicolumn__modal-container[data-block-id="${blockId}"]`);modalToOpen.classList.add("active"),window.innerWidth<=768&&(modalToOpen.style.height="300px"),this.modalBackdrop.classList.add("active"),this.body.classList.add("overflow-hidden"),window.innerWidth>768&&modalToOpen.classList.remove("overflow-hidden")}openModalDouble(e){const modalToOpen=this.querySelector(".customer-care-multicolumn__modal-container.active"),headerHeight=document.querySelector("header").offsetHeight;modalToOpen.classList.add("double-active"),modalToOpen.style.height=`${window.innerHeight-headerHeight}px`,setTimeout(function(){modalToOpen.classList.remove("overflow-hidden")},500)}closeModal(e){let modalToClose=this.querySelector(".customer-care-multicolumn__modal-container.active");modalToClose.classList.contains("active")&&modalToClose.classList.remove("active"),modalToClose.classList.contains("double-active")&&(modalToClose.classList.remove("double-active"),modalToClose.style.height="0px"),modalToClose.classList.contains("overflow-hidden")||modalToClose.classList.add("overflow-hidden"),this.modalBackdrop.classList.contains("active")&&this.modalBackdrop.classList.remove("active");let context=this;setTimeout(function(){context.body.classList.remove("overflow-hidden")},500)}}),customElements.get("icon-modal-opener")||customElements.define("icon-modal-opener",class extends HTMLElement{constructor(){super(),this.button=this.querySelector("button"),this.init()}init(){this.button.addEventListener("click",this.toggleIconGlossary.bind(this))}toggleIconGlossary(e){let iconGlossaryLink=document.querySelector('[data-heading="icon-glossary"]');iconGlossaryLink&&iconGlossaryLink.click()}})}catch(e){console.error(e)}})()})();
2//# sourceMappingURL=/cdn/shop/t/1122/compiled_assets/scripts.js.map?v=37718597690013410341788170619

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.