1function navbarInnerDropdowns(t){var o=this;this.container=document.querySelector(t),this.root=this.container.querySelector(".navRoot"),this.primaryNav=this.root.querySelector(".navSection.primary"),this.primaryNavItem=this.root.querySelector(".navSection.primary .rootLink:last-child"),this.secondaryNavItem=this.root.querySelector(".navSection.secondary .rootLink:first-child"),this.checkCollision(),window.addEventListener("load",this.checkCollision.bind(this)),window.addEventListener("resize",this.checkCollision.bind(this)),this.container.classList.add("noDropdownTransition"),this.dropdownBackground=this.container.querySelector(".dropdownBackground"),this.dropdownBackgroundAlt=this.container.querySelector(".alternateBackground"),this.dropdownContainer=this.container.querySelector(".dropdownContainer"),this.dropdownArrow=this.container.querySelector(".dropdownArrow"),this.dropdownRoots=Strut.queryArray(".hasDropdown",this.root),this.dropdownSections=Strut.queryArray(".dropdownSection",this.container).map(function(t){return{el:t,name:t.getAttribute("data-dropdown"),content:t.querySelector(".dropdownContent")}});var n=window.PointerEvent?{end:"pointerup",enter:"pointerenter",leave:"pointerleave"}
1:{end:"touchend",enter:"mouseenter",leave:"mouseleave"};this.dropdownRoots.forEach(function(t,e){t.addEventListener(n.end,function(n){n.preventDefault(),n.stopPropagation(),o.toggleDropdown(t)}),t.addEventListener(n.enter,function(n){"touch"!=n.pointerType&&(o.stopCloseTimeout(),o.openDropdown(t))}),t.addEventListener(n.leave,function(t){"touch"!=t.pointerType&&o.startCloseTimeout()})}),this.dropdownContainer.addEventListener(n.end,function(t){t.stopPropagation()}),this.dropdownContainer.addEventListener(n.enter,function(t){"touch"!=t.pointerType&&o.stopCloseTimeout()}),this.dropdownContainer.addEventListener(n.leave,function(t){"touch"!=t.pointerType&&o.startCloseTimeout()}),document.body.addEventListener(n.end,function(t){Strut.touch.isDragging||o.closeDropdown()})}function navbarInnerPopup(t){var o=this,n=Strut.touch.isSupported?"touchend":"click";this.activeClass="globalPopupActive",this.root=document.querySelector(t),this.link=this.root.querySelector(".rootLink"),this.popup=this.root.querySelector(".popup"),this.closeButton=this.root.querySelector(".popupCloseButton"),this.link.addEventListener(n,function(t){t.stopPropagation(),o.togglePopup()}),this.popup.addEventListener(n,function(t){t.stopPropagation()}),this.closeButton&&this.closeButton.addEventListener(n,function(t){o.closeAllPopups(),$("body").css("overflow","auto")}),document.body.addEventListener(n,function(t){Strut.touch.isDragging||o.closeAllPopups()},!1)}(function(){window.$&&window.$.ajaxPrefilter&&$(function(){return $.ajaxPrefilter(function(t,o,n){var e,i;return e=(i=$("meta[name=csrf-token]"))?i.attr("content"):"",n.setRequestHeader("x-stp-csrf-token",e)})})}).call(this),function(){function t(t,o,n,e){t.addEventListener("click",function(t){!function(t,o,n){"Analytics"in window&&(n?window.Analytics[t](o,{source:n}):window.Analytics[t](o))}(o,n,e)})}var o="data-analytics-action",n="data-analytics-modal";document.addEventListener("DOMContentLoaded",function(){var e;(function(){var n=document.querySelectorAll("["+o+"]");[].slice.call(n).forEach(function(n){t(n,"action",n.getAttribute(o),n.getAttribute("data-action-source"))})})(),e=document.querySelectorAll("["+n+"]"),[].slice.call(e).forEach(function(o){t(o,"modal",o.getAttribute(n),o.getAttribute("data-modal-source"))})})}();var Strut={random:function(t,o){return Math.random()*(o-t)+t},arrayRandom:function(t){return t[Math.floor(Math.random()*t.length)]},interpolate:function(t,o,n){return t*(1-n)+o*n},rangePosition:function(t,o,n){return(n-t)/(o-t)},clamp:function(t,o,n){return Math.max(Math.min(t,n),o)},queryArray:function(t,o){return o||(o=document.body),Array.prototype.slice.call(o.querySelectorAll(t))},ready:function(t){"loading"!==document.readyState?t():document.addEventListener("DOMContentLoaded",t)}};Strut.isRetina=window.devicePixelRatio>1.3,Strut.mobileViewportWidth=670,Strut.isMobileViewport=window.innerWidth<Strut.mobileViewportWidth,window.addEventListener("resize",function(){Strut.isMobileViewport=window.innerWidth<Strut.mobileViewportWidth}),Strut.touch={isSupported:"ontouchstart"in window||navigator.maxTouchPoints,isDragging:!1},document.addEventListener("DOMContentLoaded",function(){document.body.addEventListener("touchmove",function(){Strut.touch.isDragging=!0}),document.body.addEventListener("touchstart",function(){Strut.touch.isDragging=!1})}),Strut.load={images:function(t,o){"string"==typeof t&&(t=[t]);var n=-t.length;t.forEach(function(t){var e=new Image;e.src=t,e.onload=function(){0==++n&&o&&o()}})},css:function(t,o){var n=document.createElement("link"),e=(window.readConfig("strut_files")||{})[t];if(!e)throw new Error('CSS file "'+t+'" not found in strut_files config');n.href=e,n.rel="stylesheet",document.head.appendChild(n),o&&(n.onload=o)},js:function(t,o){var n=document.createElement("script"),e=(window.readConfig("strut_files")||{})[t];if(!e)throw new Error('Javascript file "'+t+'" not found in strut_files config');n.src=e,document.head.appendChild(n),o&&(n.onload=o)}},Strut.supports={es6:function(){try{return new Function("(a = 0) => a"),!0}catch(t){return!1}}(),pointerEvents:function(){var t=document.createElement("a").style;return t.cssText="pointer-events:auto","auto"===t.pointerEvents}(),positionSticky:function(){var t="position:",o="sticky",n=document.createElement("a").style,e=" -webkit- -moz- -o- -ms- ".split(" ");return n.cssText=t+e.join(o+";"+t).slice(0,-9),-1!==n.position.indexOf(o)}(),masks:!/MSIE|Trident|Edge/i.test(navigator.userAgent)},navbarInnerDropdowns.prototype.checkCollision=function(){var t=this;if(!Strut.isMobileViewport)if(1==t.compact){var o=document.body.clientWidth,n=t.primaryNav.getBoundingClientRect();n.left+n.width/2>o/2&&(t.container.classList.remove("compact"),t.compact=!1)}else{var e=t.primaryNavItem.getBoundingClientRect(),i=t.secondaryNavItem.getBoundingClientRect();e.right>i.left&&(t.container.classList.add("compact"),t.compact=!0)}},navbarInnerDropdowns.prototype.openDropdown=function(t){var o=this;if(this.activeDropdown!==t){this.container.classList.add("overlayActive"),this.container.classList.add("dropdownActive"),this.activeDropdown=t,this.dropdownRoots.forEac
1h(function(t,o){t.classList.remove("active")}),t.classList.add("active");var n,e,i,r=t.getAttribute("data-dropdown"),a="left";this.dropdownSections.forEach(function(t){t.el.classList.remove("active"),t.el.classList.remove("left"),t.el.classList.remove("right"),t.name==r?(t.el.classList.add("active"),a="right",n=t.content.offsetWidth,e=t.content.offsetHeight,i=t.content):t.el.classList.add(a)});var s=n/520,c=e/400,d=t.getBoundingClientRect(),u=d.left+d.width/2-n/2;u=Math.round(Math.max(u,10)),clearTimeout(this.disableTransitionTimeout),this.enableTransitionTimeout=setTimeout(function(){o.container.classList.remove("noDropdownTransition")},50),this.dropdownBackground.style.transform="translateX("+u+"px) scaleX("+s+") scaleY("+c+")",this.dropdownContainer.style.transform="translateX("+u+"px)",this.dropdownContainer.style.width=n+"px",this.dropdownContainer.style.height=e+"px";var l=Math.round(d.left+d.width/2);this.dropdownArrow.style.transform="translateX("+l+"px) rotate(45deg)";var p=i.children[0].offsetHeight/c;this.dropdownBackgroundAlt.style.transform="translateY("+p+"px)"}},navbarInnerDropdowns.prototype.closeDropdown=function(){var t=this;this.activeDropdown&&(this.dropdownRoots.forEach(function(t,o){t.classList.remove("active")}),clearTimeout(this.enableTransitionTimeout),this.disableTransitionTimeout=setTimeout(function(){t.container.classList.add("noDropdownTransition")},50),this.container.classList.remove("overlayActive"),this.container.classList.remove("dropdownActive"),this.activeDropdown=void 0)},navbarInnerDropdowns.prototype.toggleDropdown=function(t){this.activeDropdown===t?this.closeDropdown():this.openDropdown(t)},navbarInnerDropdowns.prototype.startCloseTimeout=function(){var t=this;t.closeDropdownTimeout=setTimeout(function(){t.closeDropdown()},50)},navbarInnerDropdowns.prototype.stopCloseTimeout=function(){clearTimeout(this.closeDropdownTimeout)},navbarInnerPopup.prototype.togglePopup=function(){var t=this.root.classList.contains(this.activeClass);$("body").css("overflow",t?"auto":"hidden"),this.closeAllPopups(!0),t||this.root.classList.add(this.activeClass)},navbarInnerPopup.prototype.closeAllPopups=function(t){for(var o=document.getElementsByClassName(this.activeClass),n=0;n<o.length;n++)o[n].classList.remove(this.activeClass)},Strut.supports.pointerEvents||Strut.load.css("v3/shared/navigation_ie10.css"),Strut.ready(function(){new navbarInnerDropdowns(".navbarInner"),new navbarInnerPopup(".navbarInner .navSection.mobile")}); 2//# sourceURL=https://142366814.fs1.hubspotusercontent-eu1.net/hubfs/142366814/hub_generated/template_assets/1/78036617680/1776159824033/template_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.