1function clearSelectPlaceholders(){document.querySelectorAll("select").forEach(select=>{const placeholder=select.querySelector("option:first-child");placeholder&&!placeholder.value&&(placeholder.text=""),select.classList.add("form-select-fix")})}document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll("header.header ul li.hs-menu-depth-1 > a").forEach(function(link){var text=Array.from(link.childNodes).filter(function(n){return 3===n.nodeType}).map(function(n){return n.textContent.trim()}).join("");link.setAttribute("data-text",text)})}),document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".hs-menu-wrapper li").forEach(li=>{const link=li.querySelector("a");if(link){const className=link.textContent.trim().toLowerCase().replace(/\s+/g,"-").replace(/\//g,"-").replace(/&/g,"").replace(/[()]/g,"");li.classList.add(className)}});let lastScrollTop=0;const header=document.querySelector("header.header--hide");function setHeaderSpacerHeight(){const stickyHeader=document.querySelector("header:not(.header--static)"),headerSpacer=document.querySelector(".header-spacer");if(stickyHeader&&headerSpacer){const headerHeight=stickyHeader.offsetHeight;headerSpacer.style.height=`${headerHeight}px`}}function slideUp(element,duration=300){element.style.transitionProperty="height, margin, padding",element.style.transitionDuration=duration+"ms",element.style.boxSizing="border-box",element.style.height=element.offsetHeight+"px",element.offsetHeight,element.style.overflow="hidden",element.style.height=0,element.style.paddingTop=0,element.style.paddingBottom=0,element.style.marginTop=0,element.style.marginBottom=0,window.setTimeout(()=>{element.style.display="none",element.removeAttribute("style")},duration)}window.addEventListener("scroll",function(){if(!header)return;let scrollValue=window.scrollY||document.documentElement.scrollTop;const headerHeight=header.offsetHeight;scrollValue>headerHeight?document.body.classList.add("fix-header"):document.body.classList.remove("fix-header"),scrollValue>lastScrollTop&&scrollValue>headerHeight?header.classList.add("header-up"):header.classList.remove("header-up"),lastScrollTop=scrollValue<=0?0:scrollValue}),setHeaderSpacerHeight(),window.addEventListener("resize",setHeaderSpacerHeight);const headerRow=document.querySelector(".header__lower .row");if(headerRow){headerRow.insertAdjacentHTML("beforeend",'<button class="mainnav-mobile-trigger hamburger hamburger--squeeze"\n type="button"\n aria-label="Toggle navigation"\n aria-expanded="false">
1\n <span class="hamburger-container">\n <span></span><span></span><span></span>\n <span></span><span></span><span></span>\n </span>\n </button>');const mobileTrigger=document.querySelector(".mainnav-mobile-trigger"),navHolder=document.querySelector(".nav-holder");if(mobileTrigger&&navHolder){mobileTrigger.addEventListener("click",function(){const isOpen=navHolder.classList.toggle("slide-open");document.body.classList.toggle("mobile-open"),mobileTrigger.classList.toggle("is-active"),mobileTrigger.setAttribute("aria-expanded",isOpen)}),mobileTrigger.addEventListener("keydown",function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.target.click())})}function toggleSubmenu(trigger,submenu){const isOpen=submenu.classList.toggle("slide-open");trigger.setAttribute("aria-expanded",isOpen),submenu.setAttribute("aria-hidden",!isOpen)}function moveFocus(currentItem,direction){const items=Array.from(currentItem.parentElement.children),index=items.indexOf(currentItem);let newIndex;newIndex="next"===direction?(index+1)%items.length:(index-1+items.length)%items.length;const newLink=items[newIndex].querySelector("a, button");newLink&&newLink.focus()}document.querySelectorAll(".header__lower li.hs-item-has-children").forEach((item,index)=>{const link=item.querySelector(":scope > a"),submenu=item.querySelector(":scope > .hs-menu-children-wrapper");if(!link||!submenu)return;const trigger=document.createElement("button");trigger.className="child-trigger",trigger.type="button",trigger.setAttribute("aria-expanded","false");const submenuId=`submenu-${index}`;submenu.id=submenuId,trigger.setAttribute("aria-controls",submenuId),submenu.setAttribute("aria-hidden","true"),trigger.innerHTML='\n <span class="visually-hidden">Toggle submenu</span>\n <svg width="10" height="6" viewBox="0 0 10 6" fill="none">\n <path d="M9.13862 0.195262C9.39897 0.455612 9.39897 0.878272 9.13862 1.13862L5.13862 5.13862C4.87827 5.39897 4.45561 5.39897 4.19526 5.13862L0.195264 1.13862C-0.0650861 0.878272 -0.0650861 0.455611 0.195264 0.195262C0.455613 -0.0650878 0.878273 -0.0650877 1.13862 0.195262L4.66694 3.72358L8.19526 0.195262C8.45561 -0.0650874 8.87827 -0.0650874 9.13862 0.195262Z" fill="#212121"/>\n </svg>\n ',link.after(trigger),trigger.addEventListener("click",()=>toggleSubmenu(trigger,submenu)),trigger.addEventListener("keydown",e=>function(e,trigger,submenu){switch(e.key){case"Enter":case" ":e.preventDefault(),toggleSubmenu(trigger,submenu);break;case"Escape":submenu.classList.remove("slide-open"),trigger.setAttribute("aria-expanded","false"),submenu.setAttribute("aria-hidden","true"),trigger.focus();break;case"ArrowRight":moveFocus(trigger.closest("li"),"next");break;case"ArrowLeft":moveFocus(trigger.closest("li"),"prev")}}(e,trigger,submenu))}),document.addEventListener("click",function(e){e.target.closest(".header__lower")||(document.querySelectorAll(".child-trigger").forEach(trigger=>{trigger.setAttribute("aria-expanded","false")}),document.querySelectorAll(".hs-menu-children-wrapper").forEach(menu=>{menu.classList.remove("slide-open"),menu.setAttribute("aria-hidden","true")}))})}const modals=document.querySelectorAll(".mfp-hide");if(modals.length){document.body.insertAdjacentHTML("beforeend",'<div class="modal-mask"></div>');const modalMask=document.querySelector(".modal-mask");modals.forEach(modal=>{modal.classList.add("custom-modal"),modal.insertAdjacentHTML("beforeend",'<div class="modal-close">Ã</div>')}),document.querySelectorAll(".mfp").forEach(trigger=>{trigger.addEventListener("click",function(e){e.preventDefault();const target=document.querySelector(this.getAttribute("href"));target&&(target.style.display="block",modalMask.style.display="block")})}),document.addEventListener("click",function(e){(e.target.classList.contains("modal-mask")||e.target.classList.contains("modal-close"))&&document.querySelectorAll(".custom-modal, .modal-mask").forEach(el=>el.style.display="none")})}function toggleLabelFocus(element){const label=function(element){const fieldWrapper=element.closest('[data-hsfc-id$="Field"]');return fieldWrapper?fieldWrapper.querySelector('[data-hsfc-id="FieldLabel"]'):element.closest(".hs-form-field")?.querySelector("label")||element.parentElement?.parentElement?.querySelector("label")||null}(element);label&&label.classList.toggle("labelfocus",""!==element.value.trim())}function _onInputChange(){toggleLabelFocus(this)}function _onDropdownSelect(event){const wrapper=event.target.closest('[data-hsfc-id$="Field"]');if(!wrapper)return;const displayInput=wrapper.querySelector(".hsfc-TextInput--button");displayInput&&setTimeout(function(){toggleLabelFocus(displayInput)},0)}function initFormHandlers(){[...document.querySelectorAll(".form-innerLabel .hs-form .hs-input"),...document.querySelectorAll('.form-innerLabel .hsfc-TextInput:not([role="searchbox"]):not([type="hidden"]):not([readonly]),.form-innerLabel .hsfc-TextareaInput')].forEac
1h(function(input){input.removeEventListener("keyup",_onInputChange),input.removeEventListener("input",_onInputChange),input.removeEventListener("focus",_onInputChange),input.removeEventListener("change",_onInputChange),input.addEventListener("keyup",_onInputChange),input.addEventListener("input",_onInputChange),input.addEventListener("focus",_onInputChange),input.addEventListener("change",_onInputChange),toggleLabelFocus(input)}),document.querySelectorAll(".form-innerLabel .hsfc-DropdownOptions__List__ListItem").forEach(function(option){option.removeEventListener("click",_onDropdownSelect),option.addEventListener("click",_onDropdownSelect)})}function initSelectLabels(){document.querySelectorAll(".hs-fieldtype-select select.hs-input").forEach(function(select){if(!select.dataset.labelInit){select.dataset.labelInit="1";var label=select.closest(".hs-form-field").querySelector("label");label&&(select.classList.add("form-select-fix"),select.addEventListener("blur",function(){select.value&&""!==select.value||label.classList.remove("labelfocus")}),select.addEventListener("change",function(){select.value&&""!==select.value?label.classList.add("labelfocus"):label.classList.remove("labelfocus")}),select.value&&""!==select.value&&label.classList.add("labelfocus"))}})}document.querySelectorAll(".dot-toggle").forEach(toggle=>{toggle.addEventListener("click",function(){const dotItem=this.closest(".dot-item"),parent=dotItem.parentElement,dotSelector=dotItem.dataset.dot;parent.querySelectorAll(".dot-item").forEach(item=>item.classList.remove("active")),dotItem.classList.add("active"),parent.querySelectorAll(".acc-body").forEach(body=>body.classList.remove("acc-body"));const body=this.nextElementSibling;body&&body.classList.add("acc-body"),dotSelector&&document.querySelectorAll(dotSelector).forEach(dot=>{dot.parentElement.querySelectorAll(".active-dot").forEach(sib=>sib.classList.remove("active-dot")),dot.classList.add("active-dot")})})}),document.querySelectorAll(".accordion-button").forEach(button=>{button.addEventListener("click",function(){const item=this.closest(".accordion-item"),parent=item.parentElement,content=item.querySelector(".accordion-content"),isOpen=item.classList.contains("open");parent.querySelectorAll(".accordion-item").forEach(other=>{if(other!==item){other.classList.remove("open");const otherContent=other.querySelector(".accordion-content");otherContent&&slideUp(otherContent,250)}}),isOpen?(item.classList.remove("open"),content&&slideUp(content,250)):(item.classList.add("open"),content&&function(element,duration=300){element.style.removeProperty("display");let display=window.getComputedStyle(element).display;"none"===display&&(display="block"),element.style.display=display;const height=element.offsetHeight;element.style.overflow="hidden",element.style.height=0,element.style.paddingTop=0,element.style.paddingBottom=0,element.style.marginTop=0,element.style.marginBottom=0,element.offsetHeight,element.style.transitionProperty="height, margin, padding",element.style.transitionDuration=duration+"ms",element.style.height=height+"px",window.setTimeout(()=>{element.style.removeProperty("height"),element.style.removeProperty("overflow"),element.style.removeProperty("transition-property"),element.style.removeProperty("transition-duration")},duration)}(content,250))})}),window.addEventListener("message",function(e){e.data&&"hsFormCallback"===e.data.type&&"onFormReady"===e.data.eventName&&initSelectLabels()}),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",initSelectLabels):initSelectLabels();new MutationObserver(function(mutations){mutations.some(function(m){return"childList"===m.type&&m.addedNodes.length>0})&&(initFormHandlers(),initSelectLabels())}).observe(document.body,{childList:!0,subtree:!0}),window.addEventListener("message",function(event){"hsFormCallback"===event.data.type&&"onFormReady"===event.data.eventName&&initFormHandlers()}),initFormHandlers()}),function(){var overlay=document.createElement("div");function showOverlay(){var tallest,header=document.querySelector(".header"),headerBottom=header?header.getBoundingClientRect().bottom:0,tallestHeight=(tallest=0,document.querySelectorAll(".hs-menu-children-wrapper, .header__language-switcher-menu:not([hidden])").forEach(function(submenu){var height=submenu.offsetHeight;height>tallest&&(tallest=height)}),tallest);overlay.style.setProperty("--submenu-height",headerBottom+tallestHeight+25+"px"),overlay.classList.add("is-active")}function hideOverlay(){var anyNavOpen=Array.from(document.querySelectorAll("header .hs-menu-depth-1.hs-item-has-children")).some(function(item){return item.matches(":hover")||item.contains(document.activeElement)}),anyLangOpen=Array.from(document.querySelectorAll(".header__language-switcher")).some(function(switcher){return switcher.matches(":hover")||switcher.contains(document.activeElement)});anyNavOpen||anyLangOpen||overlay.classList.remove("is-active")}overlay.classList.add("nav-overlay"),document.body.appendChild(overlay);var _navHoverTimer=null,_activeNavItem=null;document.querySelectorAll("header .hs-menu-depth-1.hs-item-has-children").forEach(function(item){item.querySelector(".hs-menu-children-wrapper");item.addEventListener("mouseenter",function(){clearTimeout(_navHoverTimer),_navHoverTimer=setTimeout(function(){_activeNavItem&&_activeNavItem!==item&&_activeNavItem.classList.remove("nav-open"),item.classList.add("nav-open"),_activeNavItem=item,showOverlay()},150)}),item.addEventListener("mouseleave",function(){clearTimeout(_navHoverTimer),_navHoverTimer=setTimeout(function(){item.classList.remove("nav-open"),_activeNavItem===item&&(_activeNavItem=null),hideOverlay()},150)}),item.addEventListener("focusin",function(){_activeNavItem&&_activeNavItem!==item&&_activeNavItem.classList.remove("nav-open"),item.classList.add("nav-open"),_activeNavItem=item,showOverlay()}),item.addEventListener("focusout",function(){setTimeout(function(){item.classList.remove("nav-open"),_activeNavItem===item&&(_activeNavItem=null),hideOverlay()},0)}),item.addEventListener("keydown",function(e){if("Escape"===e.key){item.classList.remove("nav-open"),_activeNavItem===item&&(_activeNavItem=null),overlay.classList.remove("is-active");var trigger=item.querySelector(":scope > a");trigger&&trigger.focus()}})})}(),window.addEventListener("message",event=>{"hsFormCallback"===event.data.type&&"onFormReady"===event.data.eventName&&clearSelectPlaceholders()}),document.addEventListener("change",function(e){e.target.closest("form")&&clearSelectPlaceholders()}),window.addEventListener("message",event=>{"hsFormCallback"===event.data.type&&"onFormReady"===event.data.eventName&&document.querySelectorAll("select").forEach(select=>{const clearPlaceholder=()=>{setTimeout(()=>{const placeholder=select.querySelector("option:first-child");placeholder&&!placeholder.value&&(placeholder.text=""),select.classList.add("form-select-fix")},50)};clearPlaceholder(),select.addEventListener("change",clearPlaceholder),select.addEventListener("blur",clearPlaceholder)})}); 2//# sourceURL=https://8595762.fs1.hubspotusercontent-na1.net/hubfs/8595762/hub_generated/template_assets/1/209205859425/1790719395135/template_main_v2.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.