1if(!customElements.get("scroll-to-top")){class ScrollToTop extends HTMLElement{constructor(){super(),this.triggerHeight=window.innerHeight,this.handleScrollEvent=this.toggleVisibility.bind(this)}connectedCallback(){this.addEventListener("click",this.scrollToTopHandler),window.addEventListener("scroll",this.handleScrollEvent),this.toggleVisibility()}disconnectedCallback(){this.removeEventListener("click",this.scrollToTopHandler),window.removeEventListener("scroll",this.handleScrollEvent)}toggleVisibility(){const isButtonVisible=window.scrollY>this.triggerHeight;this.classList.toggle("scroll-to-top--visible",isButtonVisible)}scrollToTopHandler(){window.scrollTo({top:0,behavior:"smooth"})}}customElements.define("scroll-to-top",ScrollToTop)} 2//# sourceMappingURL=/cdn/shop/t/19/assets/scroll-to-top.js.map?v=177128408596636664611738183297
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.