PageSourceSearch

https://www.originalgrain.com/cdn/shop/t/800/assets/global-mobile-…?v=35942360487347005741786649976

js originalgrain.com collected 2026-09-24 18:23:05 UTC 2,276 bytes, 2 lines download raw bytes

1class GlobalMobileNavigation extends HTMLElement{constructor(){super()}connectedCallback(){this.loadElements(),this.loadEventListeners()}expandableNavigationEventHandler(event){const closeBtn=event.target.closest(".expandable-navigation-back");if(closeBtn){closeBtn.closest("details").removeAttribute("open");return}}showSearchInput(){this.closeNavigation(),document.querySelector("details-modal.header__search details").setAttribute("open",!0)}openNavigation(){this.body.classList.add("overflow-hidden-tablet"),this.header.style.zIndex=0,this.navigation.classList.add("open-global-mobile-navigation"),this.chat&&(this.chat.style.display="none"),this.zonos&&(this.zonos.style.display="none")}closeNavigation(){this.navigation.classList.remove("open-global-mobile-navigation"),this.body.classList.remove("overflow-hidden-tablet"),this.header.style.zIndex=4,this.chat&&(this.chat.style.display="block"),this.zonos&&(this.zonos.style.display="block")}loadElements(){this.navigation=this.querySelector("#global-mobile-navigation--container"),this.expandableNavigation=this.querySelector("#global-mobile-navigation--expandable-navigation"),this.openBtn=this.querySelector("#global-mobile-navigation--open"),this.closeBtn=this.querySelector("#global-mobile-navigation--close"),this.body=document.querySelector("body"),this.header=document.querySelector(".shopify-section-group-header-group"),this.searchButton=this.querySelector("#global-mobile-navigation--search-link"),this.chat=document.querySelector(".shop-ai-chat-container"),this.zonos=document.querySelector("#zonos-hello-widget")}loadEventListeners(){this.openBtn.addEventListener("click",this.openNavigation.bind(this)),this.closeBtn.addEventListener("click",this.closeNavigation.bind(this)),this.expandableNavigation.addEventListener("click",this.expandableNavigationEventHandler.bind(this)),this.searchButton.addEventListener("click",this.showSearchInput.bind(this))}disconnectedCallback(){this.openBtn.removeEventListener("click",this.openNavigation.bind(this)),this.closeBtn.removeEventListener("click",this.closeNavigation.bind(this))}}customElements.define("global-mobile-navigation",GlobalMobileNavigation);
2//# sourceMappingURL=/cdn/shop/t/800/assets/global-mobile-navigation.js.map?v=35942360487347005741786649976

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.