PageSourceSearch

https://store.compassrecords.com/cdn/shop/t/24/assets/sticky-atc-panel.js?v=181954691680187795721786465956

js compassrecords.com collected 2026-09-24 20:19:27 UTC 1,282 bytes, 2 lines download raw bytes

1if(!customElements.get("sticky-atc-panel")){class StickyAtcPanel extends HTMLElement{constructor(){super(),this.productSection=this.closest(".cc-main-product"),this.productInfo=this.productSection.querySelector(".product-info"),this.productForm=this.productSection.querySelector("product-form"),"IntersectionObserver"in window&&"MutationObserver"in window&&this.bindEvents()}disconnectedCallback(){window.removeEventListener("scroll",StickyAtcPanel.handleScroll)}bindEvents(){const observer=new IntersectionObserver(entries=>{entries.forEach(entry=>{entry.target===this.productForm&&!theme.mediaMatches.md?this.classList.toggle("sticky-atc-panel--out",entry.boundingClientRect.bottom>0):entry.target===this.productInfo&&theme.mediaMatches.md&&this.classList.toggle("sticky-atc-panel--out",entry.isIntersecting)})});this.productForm&&observer.observe(this.productForm),this.productInfo&&observer.observe(this.productInfo),window.addEventListener("scroll",StickyAtcPanel.handleScroll)}static handleScroll(){document.body.classList.toggle("scrolled-to-bottom",window.scrollY+window.innerHeight+100>document.body.scrollHeight)}}customElements.define("sticky-atc-panel",StickyAtcPanel)}
2//# sourceMappingURL=/cdn/shop/t/24/assets/sticky-atc-panel.js.map?v=181954691680187795721786465956

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.