1var module_78859228791=function(){var parentMenuItems;parentMenuItems=document.querySelectorAll(".navigation-primary li.has-submenu"),Array.prototype.forEach.call(parentMenuItems,function(el){el.addEventListener("focusin",function(){el.classList.add("focus")}),el.addEventListener("focusout",function(){el.classList.remove("focus")})}),function(){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(callback,thisArg){thisArg=thisArg||window;for(var i=0;i<this.length;i++)callback.call(thisArg,this[i],i,this)});var callback,isIE11=!!window.MSInputMethodContext&&!!document.documentMode;function showFocusOutline(){document.body.classList.add("enable-focus-styles"),document.body.classList.remove("disable-focus-styles")}function hideFocusOutline(){document.body.classList.add("disable-focus-styles"),document.body.classList.remove("enable-focus-styles")}function scrollToJs(event){event.preventDefault();var moveBack=parseFloat(getComputedStyle(headerContainer,null).height.replace("px",""));-1!==this.getAttribute("href").indexOf("/")&&(window.location=this.getAttribute("href"));var targetElement=document.getElementById(this.getAttribute("href").substr(1));isIE11?window.scrollTo(0,targetElement.offsetTop-moveBack):window.scroll({behavior:"smooth",left:0,top:targetElement.offsetTop-moveBack})}callback=function(){if(document.body){let scrollpos=window.scrollY,header=document.querySelector("header");window.addEventListener("scroll",function(){scrollpos=window.scrollY,scrollpos>100?header.classList.add("header--is-scrolled"):header.classList.remove("header--is-scrolled")});var nav=document.querySelector(".header__navigation"),allToggles=(document.querySelectorAll(".menu-link__trigger--mobile"),document.querySelectorAll(".header--toggle")),navToggle=document.querySelector(".header__navigation--toggle"),closeToggle=document.querySelector(".header__close--toggle"),allElements=document.querySelectorAll(".header--element, .header--toggle");document.querySelector("header.header"),document.body.addEventListener("keydown",showFocusOutline),document.body.addEventListener("mousemove",hideFocusOutline),document.body.addEventListener("mousedown",hideFocusOutline),document.body.addEventListener("mouseup",hideFocusOutline),navToggle.addEventListener("click",function(){allToggles.forEach(function(toggle){toggle.classList.toggle("hide")}),nav.classList.toggle("open"),navToggle.classList.toggle("open"),closeToggle.classList.toggle("show")}),closeToggle.addEventListener("click",function(){allElements.forEach(function(element){element.classList.remove("hide","open")}),closeToggle.classList.remove("show")}),document.querySelectorAll(".menu-link__trigger--mobile").forEach(item=>{item.addEventListener("click",event=>{item.parentElement.classList.toggle("open")})});const linksWithHash=document.querySelectorAll("a[href^='#']");for(let i=0;i<linksWithHash.length;i++)linksWithHash[i].addEventListener("click",scrollToJs)}},["interactive","complete"].indexOf(document.readyState)>=0?callback():document.addEventListener("DOMContentLoaded",callback)}()}(); 2//# sourceURL=https://1187624.fs1.hubspotusercontent-na1.net/hubfs/1187624/hub_generated/module_assets/1/78859228791/1781254535403/module_temp-header.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.