https://go.american-gymnast.com/hubfs/hub_generated/module_assets/…/1787591777474/module_menu.min.js
1var module_171598462382=function(){var menuParentItems=document.querySelectorAll(".menu--desktop .menu__item--has-submenu"),childToggle=document.querySelectorAll(".menu--mobile .menu__child-toggle");menuParentItems&&Array.prototype.forEach.call(menuParentItems,function(el){var childToggle=el.querySelector(".menu__child-toggle");el.addEventListener("mouseover",function(){this.classList.add("menu__item--open"),this.querySelector("a").setAttribute("aria-expanded","true"),this.querySelector("button").setAttribute("aria-expanded","true")}),el.addEventListener("mouseout",function(){document.querySelector(".menu__item--open > a").setAttribute("aria-expanded","false"),document.querySelector(".menu__item--open > button").setAttribute("aria-expanded","false"),document.querySelector(".menu__item--open").classList.remove("menu__item--open")}),childToggle.addEventListener("click",function(){this.parentNode.classList.contains("menu__item--open")?(this.parentNode.classList.remove("menu__item--open"),this.parentNode.querySelector("a").setAttribute("aria-expanded","false"),this.parentNode.querySelector("button").setAttribute("aria-expanded","false")):(this.parentNode.classList.add("menu__item--open"),this.parentNode.querySelector("a").setAttribute("aria-expanded","true"),this.parentNode.querySelector("button").setAttribute("aria-expanded","true"))})}),childToggle&&Array.prototype.forEach.call(childToggle,function(el){el.addEventListener("click",function(){this.classList.toggle("menu__child-toggle--open"),this.parentNode.classList.contains("menu__item--open")?(this.parentNode.classList.remove("menu__item--open"),this.parentNode.querySelector("a").setAttribute("aria-expanded","false"),this.parentNode.querySelector("button").setAttribute("aria-expanded","false")):(this.parentNode.classList.add("menu__item--open"),this.parentNode.querySelector("a").setAttribute("aria-expanded","true"),this.parentNode.querySelector("button").setAttribute("aria-expanded","true"))})})}(); 2//# sourceURL=https://46578813.fs1.hubspotusercontent-na1.net/hubfs/46578813/hub_generated/module_assets/1/171598462382/1787591777474/module_menu.js
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.