PageSourceSearch

https://shop.angel.com/cdn/shop/t/143/compiled_assets/scripts.js?v=180444666404261732541769709182

js angel.com collected 2026-10-01 10:12:04 UTC 5,081 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__.header)try{class StickyHeader extends HTMLElement{constructor(){super()}connectedCallback(){this.header=document.querySelector(".section-header"),this.headerIsAlwaysSticky=this.getAttribute("data-sticky-type")==="always"||this.getAttribute("data-sticky-type")==="reduce-logo-size",this.headerBounds={},this.setHeaderHeight(),window.matchMedia("(max-width: 990px)").addEventListener("change",this.setHeaderHeight.bind(this)),this.headerIsAlwaysSticky&&this.header.classList.add("shopify-section-header-sticky"),this.currentScrollTop=0,this.preventReveal=!1,this.predictiveSearch=this.querySelector("predictive-search"),this.onScrollHandler=this.onScroll.bind(this),this.hideHeaderOnScrollUp=()=>this.preventReveal=!0,this.addEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.addEventListener("scroll",this.onScrollHandler,!1),this.createObserver()}setHeaderHeight(){document.documentElement.style.setProperty("--header-height",`${this.header.offsetHeight}px`)}disconnectedCallback(){this.removeEventListener("preventHeaderReveal",this.hideHeaderOnScrollUp),window.removeEventListener("scroll",this.onScrollHandler)}createObserver(){new IntersectionObserver((entries,observer2)=>{this.headerBounds=entries[0].intersectionRect,observer2.disconnect()}).observe(this.header)}onScroll(){const scrollTop=window.pageYOffset||document.documentElement.scrollTop;if(!(this.predictiveSearch&&this.predictiveSearch.isOpen)){if(scrollTop>this.currentScrollTop&&scrollTop>this.headerBounds.bottom){if(this.header.classList.add("scrolled-past-header"),this.preventHide)return;requestAnimationFrame(this.hide.bind(this))}else scrollTop<this.currentScrollTop&&scrollTop>this.headerBounds.bottom?(this.header.classList.add("scrolled-past-header"),this.preventReveal?(window.clearTimeout(this.isScrolling),this.isScrolling=setTimeout(()=>{this.preventReveal=!1},66),requestAnimationFrame(this.hide.bind(this))):requestAnimationFrame(this.reveal.bind(this))):scrollTop<=this.headerBounds.top&&(this.header.classList.remove("scrolled-past-header"),requestAnimationFrame(this.reset.bind(this)));this.currentScrollTop=scrollTop}}hide(){this.headerIsAlwaysSticky||(this.header.classList.add("shopify-section-header-hidden","shopify-section-header-sticky"),this.closeMenuDisclosure())}reveal(){this.headerIsAlwaysSticky||(this.header.classList.add("shopify-section-header-sticky","animate"),this.header.classList.remove("shopify-section-header-hidden"))}reset(){this.headerIsAlwaysSticky||this.header.classList.remove("shopify-section-header-hidden","shopify-section-header-sticky","animate")}closeMenuDisclosure(){this.disclosures=this.disclosures||this.header.querySelectorAll("header-menu"),this.disclosures.forEach(disclosure=>{typeof disclosure.close=="function"&&disclosure.close()})}closeSearchModal(){this.searchModal=this.searchModal||this.header.querySelector("details-modal"),this.searchModal&&typeof this.searchModal.close=="function"&&this.searchModal.close(!1)}}customElements.define("sticky-header",StickyHeader),(function(){const cartIcon=document.getElementById("cart-icon-bubble");if(!cartIcon)return;let cartDrawerReady=!1,cartDrawerCheckInterval=null,initialLoadDelay=!0;function checkCartDrawerReady(){const cartDrawer=document.querySelector("cart-drawer"),cartDrawerScript=document.querySelector('script[src*="cart-drawer.js"]');return cartDrawer&&cartDrawerScript&&cartDrawer.querySelector(".drawer__inner")?(cartDrawerReady=!0,cartIcon.setAttribute("data-cart-drawer-ready","true"),cartDrawerCheckInterval&&(clearInterval(cartDrawerCheckInterval),cartDrawerCheckInterval=null),!0):!1}if(cartIcon.addEventListener("click",function(e){if(initialLoadDelay)return e.preventDefault(),e.stopPropagation(),console.log("Cart drawer not ready - preventing navigation"),!1;if(!cartDrawerReady)return e.preventDefault(),e.stopPropagation(),cartIcon.style.opacity="0.6",cartIcon.style.pointerEvents="none",setTimeout(()=>{cartIcon.style.opacity="1",cartIcon.style.pointerEvents="auto",cartDrawerReady||(window.location.href=cartIcon.href)},500),!1}),!checkCartDrawerReady()){let attempts=0;const maxAttempts=50;cartDrawerCheckInterval=setInterval(()=>{attempts++,(checkCartDrawerReady()||attempts>=maxAttempts)&&cartDrawerCheckInterval&&(clearInterval(cartDrawerCheckInterval),cartDrawerCheckInterval=null)},100)}document.addEventListener("cart:ready",function(){cartDrawerReady=!0,cartIcon.setAttribute("data-cart-drawer-ready","true")}),setTimeout(()=>{initialLoadDelay=!1,console.log("Initial load delay removed - cart icon now functional")},2e3),document.querySelector('script[src*="cart-drawer.js"]')&&setTimeout(()=>{cartDrawerReady||(cartDrawerReady=!0,cartIcon.setAttribute("data-cart-drawer-ready","true"))},1500)})()}catch(e){console.error(e)}})()})();
2//# sourceMappingURL=/cdn/shop/t/143/compiled_assets/scripts.js.map?v=180444666404261732541769709182

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.