(()=>{document.addEventListener("DOMContentLoaded",(function(){document.documentElement.classList.remove("no-js")}));const e=document.getElementById("mobile-menu-toggle-checkbox"),t=document.querySelectorAll(".js-scrollable"),o=matchMedia("(hover: hover) and (pointer: fine) and (min-width: 1024px)");function n(){!0===e.checked&(e.checked=!1)}o.matches&&n(),o.addEventListener("change",(e=>{e.matches&&n()}));const c=document.querySelector(".back-to-top-button");window.onscroll=function(){const e=window.scrollY,t=document.querySelector(".footer").getBoundingClientRect(),o=t.top=0;var n;e>800&!o?((n=c).style.opacity=1,n.style.visibility="visible"):(e=>{e.style.opacity=0,e.style.visibility="hidden"})(c)};const i=document.querySelectorAll(".js-acc-toggle-checkbox");function d(){const e=document.querySelector("#wpbar"),t=document.querySelector(".site-header"),o=document.querySelector(".js-crt-promo"),n=document.querySelector(".jump-nav"),c=document.querySelector(".content-block-menu"),i=document.querySelector(".js-in-page-nav.is--sticky");let d=0;const l=e=>{e&(e.style.top=d+"px",d+=e.offsetHeight)};l(e),l(t),l(n),o&(window.innerWidth<=767&&o.classList.contains("is--top-position-mobile")||window.innerWidth>=768&&o.classList.contains("is--top-position-desktop"))?l(o):o&&o.style.top&&(o.style.top=""),l(c),l(i)}function l(){d()}i&&i.length&&i.forEach((e=>{const t=e.getAttribute("id");e.addEventListener("click",(()=>{e.checked?document.querySelector('label[for="'+t+'"').setAttribute("aria-expanded","true"):document.querySelector('label[for="'+t+'"').setAttribute("aria-expanded","false")}))})),t.forEach((e=>{e.clientWidth>=e.scrollWidth&e.classList.add("is-aligned")})),d(),[window.matchMedia("(max-width: 650px)"),window.matchMedia("(min-width: 651px) and (max-width: 781px)"),window.matchMedia("(min-width: 782px)")].forEach((e=>e.addEventListener("change",l)));const s=window.innerWidth-document.documentElement.clientWidth;document.documentElement.style.setProperty("--scrollbar-width",`${s}px`)})(); 15x5l