1var module_90068705552=function(){function setNavigation(){var path=window.location.pathname;path=path.replace(/\/$/,""),path=decodeURIComponent(path),$("ul.site-btn li a").each((function(){var href=$(this).attr("href");path.substring(0,href.length)===href&&$(this).closest("li").addClass("active")}))}!function(){const navbar=document.querySelector(".kl-navbar"),hamburger=document.querySelector(".kl-navbar__hamburger");hamburger&&hamburger.addEventListener("click",(function(){hamburger.classList.toggle("is-active"),navbar.classList.toggle("kl-navbar--active"),document.body.classList.toggle("no-scroll")}));const ACTIVE_CLASS="kl-navbar__parent--active",selected=[],nodes=document.querySelectorAll(".kl-navbar__menu li");function highlightActiveButton(){document.querySelectorAll("a.kl-navbar__button").forEach((function(btn){const href=btn.getAttribute("href"),url=new URL(href,window.location.href),currentUrl=window.location.href.split("?")[0],buttonHref=url.href.split("?")[0];btn.classList.remove("kl-navbar__button--active"),href&&"#"!==href&&!href.startsWith("?")&¤tUrl==buttonHref&&btn.classList.add("kl-navbar__button--active")}))}nodes.forEach((function(node){node.addEventListener("click",(function(event){if(event.stopPropagation(),selected.length<=0)return selected.push(node),void node.classList.add(ACTIVE_CLASS);do{const last=selected.pop();if(last===node){last.classList.remove(ACTIVE_CLASS);break}if(last.contains(node)){selected.push(last),selected.push(node),node.classList.add(ACTIVE_CLASS);break}if(last.classList.remove(ACTIVE_CLASS),0===selected.length){selected.push(node),node.classList.add(ACTIVE_CLASS);break}}while(selected.length>0)}))})),nodes.forEach((function(node){node.classList.contains("kl-navbar__parent")||node.addEventListener("click",(function(event){hamburger.classList.remove("is-active"),navbar.classList.remove("kl-navbar--active"),document.body.classList.remove("no-scroll")}))})),highlightActiveButton(),window.addEventListener("hashchange",highlightActiveButton)}(),$((function(){setNavigation()})),$((function(){setNavigation()}))}(); 2//# sourceURL=https://21767649.fs1.hubspotusercontent-na1.net/hubfs/21767649/hub_generated/module_assets/1/90068705552/1748014136259/module_MidlandNavV2.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.