1class SidebarPopup extends HTMLElement{constructor(){super(),this.modal=this,this.modalBg=this.modal.querySelector(".sidebar-popup__overlay"),this.modalDialog=this.modal.querySelector(".sidebar-popup__dialog"),this.modalClose=this.modal.querySelector(".sidebar-popup__close"),this.modalClose.addEventListener("click",this.close.bind(this)),this.modal.addEventListener("click",function(e){e.target===this.modalBg&&this.close()})}close(){this.modalDialog.classList.remove("animate"),setTimeout(()=>{this.modal.classList.remove("show")},500),document.body.classList.remove("overflow-hidden")}open(){this.modal.classList.add("show"),setTimeout(()=>{this.modalDialog.classList.add("animate")},1),document.body.classList.add("overflow-hidden")}}customElements.define("sidebar-popup",SidebarPopup);class PopupWindow extends HTMLElement{constructor(){super(),this.modal=this,this.modalBg=this.modal.querySelector(".popup-window__overlay"),this.modalClose=this.modal.querySelector(".popup-window__close"),this.modalClose.addEventListener("click",this.close.bind(this)),this.modal.addEventListener("click",function(e){e.target===this.modalBg&&this.close()})}close(){this.modal.classList.remove("open"),document.body.classList.remove("overflow-hidden")}open(){this.modal.classList.add("open"),document.body.classList.add("overflow-hidden")}}customElements.define("popup-window",PopupWindow);let sizeGuideBtns=document.querySelectorAll(".open-size-guide-popup-btn");sizeGuideBtns.length&&sizeGuideBtns.forEach(btn=>{btn.addEventListener("click",()=>{let sizeGuidePopup=document.querySelector(".popup-window--size-guide");sizeGuidePopup&&sizeGuidePopup.open()})});let whatsTheDifferenceBtns=document.querySelectorAll(".open-whats-the-difference-popup");whatsTheDifferenceBtns.length&&whatsTheDifferenceBtns.forEach(btn=>{btn.addEventListener("click",()=>{let whatsTheDifferencePopup=document.querySelector(".popup-window--whats-the-difference");console.log(whatsTheDifferencePopup),whatsTheDifferencePopup&&whatsTheDifferencePopup.open()})}); 2//# sourceMappingURL=/cdn/shop/t/29/assets/custom_2.js.map?v=40572622339730529171765465567
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.