PageSourceSearch

https://goldspot.com/cdn/shop/t/114/assets/main-header.js?v=23202547325109214251783951949

js goldspot.com collected 2026-10-02 17:45:17 UTC 939 bytes, 1 lines download raw bytes

1(async()=>{var e=await import(window.theme.modules.baseComponent);customElements.define("main-header",class extends e.default{elements={logo:"[data-logo]",nav:"main-nav",inner:'[class~="#main-header-inner"]'};render(){this.setOverlap(),this.on("stickyMainHeader",(e,{sticky:t})=>{t?(this.classList.add("@sticky"),document.body.style.setProperty("--sticky-header-offset",`${this.$nav.offsetHeight}px`)):(this.classList.remove("@sticky"),document.body.style.setProperty("--sticky-header-offset","0"))})}setOverlap(){if(this.style.setProperty("--nav-height",`${this.$nav.offsetHeight}px`),this.$inner&&this.style.setProperty("--header-inner-height",`${this.$inner.offsetHeight}px`),this.hasAttribute("overlap")){const e=document.getElementById("MainContent").firstElementChild,t=e.querySelector("[data-main-header-overlap]");t?(t.classList.add("@main-header-overlap"),this.classList.add("@overlap")):this.classList.remove("@overlap")}}})})();

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.