PageSourceSearch

https://www.grantthornton.com.au/dist/v2/js-v2/nav-v3.db40143905df2a46f87bdcfa10189654.js

js grantthornton.com.au collected 2026-09-25 14:20:18 UTC 42,381 bytes, 16 lines download raw bytes

1GT.MegaMenuV3=function(){const l={isDesktop:GT.isDesktopView(),closeTimers:[],activeMenuTier2:null,globalSearchMouseDismissReadyAt:0,searchFocusTimeout:null},s={html:document.firstElementChild,header:GT.headerElm,headerMenu:document.querySelector(".header-menu"),linkLv1:document.querySelectorAll(".nav-link, .global-search__toggle, .global-reach__toggle"),closeMegaIcons:document.querySelectorAll(".close-mega__menu"),toggleButtons:document.querySelectorAll(".mega__level--3__toggle")},c={TRIGGER:150,SCROLL:600,SEARCH_FOCUS:500},d={promoteArticle(){const e=document.querySelector(".mega__level--3.open");e&&(e.querySelectorAll(".article-tile").forEach(e=>{if(e){const t=e.querySelector(".article-tile__header"),n=e.querySelector(".article-tile__content-container");e.style.height=t.getBoundingClientRect().height+n.getBoundingClientRect().height+"px"}}),setTimeout(()=>GT.clampArticle(!0),200))},resetTabIndexes(e,t){e.forEach(e=>e.setAttribute("tabindex",t))},setAriaExpanded(e,t){e.classList.contains("nav-link--dropdown")&&e.setAttribute("aria-expanded",t)}},u={clearGlobalSearchFocusTimer(){l.searchFocusTimeout&&(clearTimeout(l.searchFocusTimeout),l.searchFocusTimeout=null)},isSearchDismissHoldActive(){const e=document.querySelector(".global-search");var t=document.querySelector(".global-search-area.bleed.open");return s.html.classList.contains("global-search--opening")||e?.classList.contains("open")||!!t},closeSecondary(e,t){s.html.classList.contains("global-reach--opening")||s.header.querySelector(".menu-link.open")||!s.html.classList.contains("opening-header-overlay")||GT.SearchOverlayV3?.isBlockingDismiss?.()&&!GT.SearchOverlayV3?.wasSearchDismissed?.()&&u.isSearchDismissHoldActive()||t&&Date.now()<l.globalSearchMouseDismissReadyAt&&u.isSearchDismissHoldActive()||(u.clearGlobalSearchFocusTimer(),s.html.classList.contains("opening-mobile-menu")&&!l.isDesktop||(s.html.classList.remove("opening-megamenu","global-search--opening","show-extra-menu","global-reach--opening"),l.isDesktop&&s.html.classList.remove("opening-mobile-menu","opening-mobile-search")),s.html.classList.contains("opening-mobile-menu")||GT.Overlays.hideHeaderOverlay(),l.globalSearchMouseDismissReadyAt=0,l.closeTimers.push(setTimeout(()=>{s.html.classList.contains("global-reach--opening")||s.header.querySelector(".bleed.trigger-animation")?.classList.remove("trigger-animation")},80)),s.header.querySelectorAll(".bleed.open, .bleed .open").forEach(e=>{!e.classList.contains("bleed")&&e.querySelector("li:not(.mega-link--level-2-placeholder) > a.mega-link--level-3.selected")||(e.classList.remove("open"),d.resetTabIndexes(e.querySelectorAll("a"),-1),e.querySelectorAll(".mega__level--2-group").forEach(e=>{e.removeAttribute("tabindex"),"true"===e.getAttribute("aria-expanded")&&e.setAttribute("aria-expanded","false")}))}),s.linkLv1.forEach(e=>{e.classList.remove("open"),e.removeAttribute("tabindex"),d.setAriaExpanded(e,"false")}),s.header.querySelectorAll(".mega__level--2.open").forEach(e=>{e.classList.remove("open")}),s.header.style.setProperty("--bleed-height",0),e||s.header.classList.remove("show-background"))},openSecondary(t){if(!s.html.classList.contains("global-reach--opening")){GT.preventHeaderFromFlickeringWhileBodyHeightIsChanging(),s.html.classList.add("opening-megamenu"),GT.Overlays.showHeaderOverlay(),l.closeTimers.forEach(clearTimeout),u.resetExtraMenus(t);const e=s.header.querySelectorAll(".bleed");e.forEach(e=>{u.handleBleedItem(e,t)}),setTimeout(()=>d.promoteArticle(),100)}},handleBleedItem(e,t){e.classList.remove("open"),e.getAttribute("data-content")===t&&u.setupActiveBleed(e)},setupActiveBleed(e){var t=e.querySelector(".bleed-container").offsetHeight;l.activeMenuTier2=e,s.header.style.setProperty("--bleed-height",(GT.wHeight<t&&l.isDesktop?GT.wHeight:t)+"px"),e.classList.add("open"),setTimeout(()=>e.classList.add("trigger-animation"),c.TRIGGER),u.setupBleedAccessibility(e),setTimeout(()=>{s.header.classList.add("show-background")},600)},setupBleedAccessibility(e){e.querySelectorAll(".bleed-container ul").forEach(e=>
1{e.removeAttribute("role"),e.querySelectorAll("li").forEach(e=>{e.removeAttribute("role")})}),l.isDesktop?(d.resetTabIndexes(e.querySelectorAll("a"),0),e.querySelector(".mega__level--2-group .first-level")&&e.querySelectorAll(".bleed-container ul").forEach(e=>{e.setAttribute("role","none"),e.querySelectorAll("li").forEach(e=>{e.setAttribute("role","none")})})):(e.querySelectorAll(".mega__level--2-group").forEach(e=>{e.setAttribute("tabindex",0)}),e.querySelectorAll("a.mega-link--level-2, .bleed-container .group-title a.first-level").forEach(e=>e.removeAttribute("tabindex")))},resetExtraMenus(e){const t=document.querySelector(".menu-link"),n=(t?.classList.contains("open")&&(t.classList.remove("open"),t.querySelector("button.nav-link")?.blur()),document.querySelector(".global-search-area.bleed"));e=e&&n?.getAttribute("data-content")===e;const a=document.querySelector(".global-search");a&&!e&&(a.classList.remove("open"),a.querySelector('input[name="q"]')?.blur(),s.html.classList.remove("global-search--opening"))},markGlobalSearchMouseDismissHold(){l.globalSearchMouseDismissReadyAt=Date.now()+800}},a={handleNavOpenEvents(e){const t=e.target;var n=t.closest(".global-search__toggle");const a=document.querySelector(".global-search"),o=a?.querySelector('input[name="q"]');if(t.classList.contains("open"))"click"===e.type&&u.closeSecondary();else if((n||l.isDesktop||t.closest(".global-reach__toggle"))&&!l.isDesktop||u.closeSecondary(!0,!0),this.classList.contains("nav-link--dropdown")&&"false"===this.getAttribute("aria-expanded")&&!(n&&"click"!==e.type||s.html.classList.contains("global-reach--opening"))){const r=this,i=()=>{r.classList.add("open"),u.openSecondary(r.getAttribute("data-open")),r.setAttribute("aria-expanded","true")};n&&o?(GT.SearchOverlayV3.triggerInitializeSearchOverlay(),GT.SearchOverlayV3.callbackInitializeSearchOverlay(function(){GT.SearchOverlayV3?.wasSearchDismissed?.()||(i(),u.clearGlobalSearchFocusTimer(),l.searchFocusTimeout=setTimeout(()=>{l.searchFocusTimeout=null,GT.SearchOverlayV3?.wasSearchDismissed?.()||o.focus()},c.SEARCH_FOCUS))})):i(),l.isDesktop||setTimeout(()=>{t.scrollIntoView({behavior:"auto",block:"nearest",inline:"start"})},c.SCROLL),GT.isMobileCached||(d.resetTabIndexes(s.linkLv1,-1),this.removeAttribute("tabindex"))}},keypressNav(e){const t={Tab:()=>a.handleTabKey(e),Escape:()=>a.handleEscapeKey(e)}[e.key];t&&t()},handleTabKey(e){if(!GT.isMobileCached){const n=e.currentTarget;n.classList.contains("nav-link")&&a.handleNavLinkTab(e,n);var t=n.closest(".bleed.open");t&&a.handleBleedTab(e,n,t),n.classList.contains("global-search__toggle")&&"true"===n.getAttribute("aria-expanded")&&a.handleSearchTab(e)}},handleNavLinkTab(e,t){e.shiftKey?a.handleShiftTabNav(e,t):"true"===t.getAttribute("aria-expanded")&&a.handleForwardTabNav(e,t)},handleShiftTabNav(e,t){if(e.preventDefault(),"true"===t.getAttribute("aria-expanded")){e=t.getAttribute("data-open");const a=document.querySelector(`.bleed.open[data-content="${e}"]`),o=a?.querySelectorAll(".mega-link, span.first-level, input, a, button");if(o?.length)return d.resetTabIndexes(o,0),void o[o.length-1]?.focus()}const n=t.closest("li").previousElementSibling;(n?n.querySelector(".nav-link--dropdown, .nav-link"):document.querySelector("header .desktop-logo"))?.focus()},handleForwardTabNav(e,t){e.preventDefault();e=t.getAttribute("data-open");const n=document.querySelector(`.bleed.open[data-content="${e}"]`),a=n?.querySelectorAll(".mega-link, span.first-level, input, a, button");a?.forEach(e=>e.setAttribute("tabindex",0)),a?.[0]?.focus()},handleBleedTab(e,t,n){n=n.querySelectorAll('a, button, [tabindex="0"]'),n=n?.[n.length-1];n&&t===n&&!e.shiftKey&&(e.preventDefault(),a.focusOnNavDropdown(t))},handleSearchTab(e){e.preventDefault();const t=document.querySelector(".global-search"),n=t?.querySelector("#searchField");if(e.shiftKey){e=t?.querySelectorAll(".search-overlay__contents a");const a=e?.[e.length-1];(a||n)?.focus()}else n?.focus()},handleEscapeKey(e){if(GT.isDesktopView()&&GT.SearchOverlayV3?.isSearchPanelShowing?.()&&GT.SearchOverlayV3?.closeSearchOverlay)e.preventDefault(),GT.SearchOverlayV3.closeSearchOverlay();else{const t=e.currentTarget;
1var e=t.closest(".nav-link--dropdown");const n=e||document.querySelector(`.nav-link--dropdown[data-open="${t.closest(".bleed")?.getAttribute("data-content")}"]`);n&&(e=s.headerMenu?.querySelectorAll(".mega-link, .mega-link--level-2, .first-level, input, a, button"),d.resetTabIndexes(e,-1),u.closeSecondary(),n.focus())}},focusOnNavDropdown(e){const t=e.closest(".bleed"),n=(t.querySelectorAll(".mega-link, .first-level, input, a")?.forEach(e=>{e.setAttribute("tabindex",-1)}),e.closest(".bleed").closest("li")?.querySelector(".nav-link--dropdown"));n?.focus()}};function e(){s.linkLv1.forEach(e=>{l.isDesktop?(e.removeEventListener("click",a.handleNavOpenEvents),e.removeEventListener("mouseenter",a.handleNavOpenEvents),GT.isTouchDevice||"undefined"!=typeof isNav31||e.addEventListener("mouseenter",a.handleNavOpenEvents),e.addEventListener("keydown",a.keypressNav)):(e.removeEventListener("mouseenter",a.handleNavOpenEvents),e.removeEventListener("click",a.handleNavOpenEvents)),e.addEventListener("click",a.handleNavOpenEvents)}),document.querySelectorAll(".header-menu-wrapper .mega-link, .header-menu-wrapper .first-level, button").forEach(e=>e.addEventListener("keydown",a.keypressNav)),s.closeMegaIcons.forEach(e=>{e.addEventListener("click",()=>{document.querySelector(".nav-link.open")?.focus(),u.closeSecondary()}),e.addEventListener("keydown",a.keypressNav)}),document.querySelectorAll(".mega-wrapper .article-tile").forEach(e=>e.addEventListener("keydown",a.keypressNav)),l.isDesktop&&(document.addEventListener("mouseup",e=>{s.header.contains(e.target)||e.target.classList.contains("nav-link--dropdown")||!l.isDesktop||u.closeSecondary();const t=document.querySelector(".header-lang");t&&!t.contains(e.target)&&t.classList.remove("open")}),s.header&&s.header.querySelector(".main-header")?.addEventListener("mouseleave",()=>{l.isDesktop&&u.closeSecondary(!1,!0)}))}return{init:function(){GT.windowResizeFncList.desktopMegaMenuV3=()=>{l.isDesktop=GT.isDesktopView(),u.closeSecondary(),e(),d.promoteArticle()},e(),s.toggleButtons.forEach(a=>{a.addEventListener("click",e=>{const t=a.previousElementSibling;if(t&&(!e.key||"Enter"===e.key)){t.classList.toggle("open");const n=t.classList.contains("open");a.setAttribute("aria-expanded",n),setTimeout(()=>{u.setupActiveBleed(t.closest(".bleed")),n?t.querySelector("li:not(.mega-link--level-2-placeholder) > a").focus():t.previousElementSibling.scrollIntoView({behavior:"auto",block:"nearest"})},600)}})})},closeSecondary:u.closeSecondary,clearGlobalSearchFocusTimer:u.clearGlobalSearchFocusTimer,markGlobalSearchMouseDismissHold:u.markGlobalSearchMouseDismissHold}},GT.domContentLoadedFncList.push(()=>{GT.MegaMenuV3=GT.MegaMenuV3(),GT.MegaMenuV3.init()}),GT.MobileMenuV3=function(){if("undefined"!=typeof isNav3){let i=GT.headerElm.querySelectorAll(".menu-toggle"),l=document.firstElementChild;const t=GT.headerElm.querySelector('.global-search input[name="q"]'),h="opening-megamenu",m="opening-mobile-menu",g="opening-mobile-search",e=GT.headerElm.querySelector(".primary-menu"),p=e?.querySelector("a, button");function s(){const e=document.createElement("input");e.style="position: absolute; top: 0; left: 0; opacity: 0; height:0;",t.parentNode.insertBefore(e,t.nextSibling),setTimeout(e=>{t.focus()},500),setTimeout(()=>{e.remove()},1e3)}function c(e=!0){const t=l.querySelector(".primary-menu");t&&(e?t.setAttribute("role","none"):t.removeAttribute("role"))}function r(){setTimeout(()=>{const e=GT.headerElm.querySelector(".bleed.open");e&&GT.headerElm.style.setProperty("--bleed-height",e.querySelector(".bleed-container").offsetHeight+"px")},300)}function d(){GT.headerElm.querySelectorAll(".nav-link--dropdown.open, .bleed.open, .bleed .open").forEach(e=>{e.classList.contains("nav-link--dropdown")&&e.setAttribute("aria-expanded",!1),e.classList.remove("open")}),GT.headerElm.querySelectorAll(".bleed [tabindex='0']").forEach(e=>{e.removeAttribute("tabindex"),"true"==e.getAttribute("aria-expanded")&&e.setAttribute("aria-expanded","false")})}function a(e){const t=e.target,n=t.closest(".mega__level--2"),a=n.classList.contains("open"),o=GT.headerElm.querySelectorAll(".mega__level--2.open");
1o.forEach(e=>{e.classList.remove("open")}),setTimeout(()=>{t.scrollIntoView({behavior:"auto",block:"nearest",inline:"start"}),o.forEach(e=>{e.querySelector(".mega__level--3__listing")?.classList.remove("open")})},350),a?t.setAttribute("aria-expanded",!1):(t.setAttribute("aria-expanded",!0),n.querySelectorAll(".mega__level--3__listing a").forEach(e=>{e.removeAttribute("tabindex")}),n.classList.add("open"),e=n.querySelector(".mega__content--listing").offsetHeight,n.querySelector(".mega__level--3__listing")?.classList.add("open"),n.style.setProperty("--lv3-height",e+"px")),r(t)}function u(){const n=GT.isDesktopView();GT.headerElm.querySelectorAll(".mega__level--2-group").forEach(e=>{const t=e.querySelector("a");e.removeAttribute("role"),e.removeAttribute("tabindex"),t&&(t.removeAttribute("tabindex"),t.removeAttribute("aria-hidden"),e.removeAttribute("aria-label"),e.removeAttribute("aria-expanded")),n||(e.setAttribute("role","button"),t&&(t.setAttribute("tabindex",-1),t.setAttribute("aria-hidden","true"),e.setAttribute("aria-label",t.textContent.trim()),e.setAttribute("aria-expanded",!1))),e.dataset.setEvent||(e.addEventListener("click",e=>{a(e)}),e.addEventListener("keydown",e=>{"Enter"===e.key&&a(e)}),e.dataset.setEvent=!0)})}i.forEach(e=>{e.addEventListener("click",e=>{const t=e.target.closest(".menu-toggle");e=t.closest(".mobile-search-toggle");const n=l.querySelector(".onpage-navigation");function a(){return l.classList.contains("opening-megamenu")}var o,r=a();i.forEach(e=>e.setAttribute("aria-expanded",!1)),n?.classList.contains("expanded")&&(l.classList.remove("showing-overlay"),n.classList.remove("expanded")),e?(e=e,r?(d(),l.classList.contains(g)?(c(!1),l.classList.remove(h,m),setTimeout(()=>{l.classList.remove(g)},250),GT.disableDetectScrollUpOrDown=!1):l.classList.contains(m)&&(GT.SearchOverlayV3.triggerInitializeSearchOverlay(),c(),l.classList.add(g),e.setAttribute("aria-expanded",!0),s())):(GT.SearchOverlayV3.triggerInitializeSearchOverlay(),l.classList.add(h,m,g),c(),s(),GT.disableDetectScrollUpOrDown=!0,e.setAttribute("aria-expanded",!0))):(e=t,o=r,c(!1),o?l.classList.contains(g)?(l.classList.add("closing"),setTimeout(()=>{l.classList.remove("closing"),l.classList.remove(g),GT.headerElm.querySelector(".global-search")?.classList.remove("open")},700),e.setAttribute("aria-expanded",!0),p?.focus()):(l.classList.remove(h,m),d(),GT.disableDetectScrollUpOrDown=!1):(l.classList.add(h,m),GT.disableDetectScrollUpOrDown=!0,e.setAttribute("aria-expanded",!0),setTimeout(()=>{p?.focus()},500)),u()),r?setTimeout(()=>{a()||GT.Overlays.hideHeaderOverlay()},100):GT.Overlays.showHeaderOverlay()})}),GT.windowResizeFncList.mobileMenuV3=()=>{u()}}},GT.domContentLoadedFncList.push(function(){GT.MobileMenuV3()}),GT.PrimaryMenuV3=function(){if("undefined"!=typeof isNav3){const l=document.documentElement,n=[];GT.triggerFnListAfterMainLogoLoaded.prepareSubMenuLink=e,document.addEventListener("click",e=>{const t=document.querySelector(".onpage-navigation");e.target&&!e.target.closest(".onpage-navigation")&&(e.target.closest(".nav3")||l.classList.contains("global-reach--opening")||(document.querySelectorAll("ul.list--mega.level-1 .menu-link").forEach(e=>e.classList.remove("open")),"searchField"===e.target.id||document.querySelector(".global-search.search-open")||GT.Overlays.hideHeaderOverlay(),t?.classList.contains("expanded")&&GT.OnPageNavigation?.closeOnPageNav()),l.classList.contains("show-extra-menu")&&!e.target.closest(".extra-menu")&&GT.headerElm.querySelector(".extra-menu .button-nav__link")?.click())});{let a=document.querySelector(".global-search"),e=a?.querySelector(".header-search__icon"),t=a?.querySelector(".header-search__close");GT.isIOS()?e?.addEventListener("touchstart",function(e){let t=this,n=document.querySelector(".menu-toggle");n.classList.contains("open")&&n.click(),setTimeout(function(){a.classList.toggle("search-open"),a.closest(".main-header").classList.toggle("search-open"),a.classList.contains("search-open")?GT.Overlays.showHeaderOverlay():GT.Overlays.hideHeaderOverlay(),t.addEventListener("touchend",function(e){let t=a.querySelector('input[name="q"]');a.classList.contains("search-open")?(t.setAttribute("autofocus","autofocus"),t.focu
1s()):t.blur()})},100)}):e?.addEventListener("click",function(e){if(GT.isMobile()||GT.isMobileView()){let e=document.querySelector(".menu-toggle");e.classList.contains("open")&&e.click(),setTimeout(function(){if(a.classList.toggle("search-open"),a.closest(".main-header").classList.toggle("search-open"),a.classList.contains("search-open")){let e=a.querySelector('input[name="q"]');e.setAttribute("autofocus","autofocus"),e.focus(),GT.Overlays.showHeaderOverlay()}else GT.Overlays.hideHeaderOverlay()},100)}});e?.addEventListener("click",function(e){(GT.isLargeDesktopView()||!GT.isMobileView()&&(e.currentTarget||e.target)?.closest(".global-search.open"))&&document.querySelector(".header-search__form")?.submit()}),t?.addEventListener("click",function(e){(GT.isMobile()||GT.isMobileView())&&a.classList.contains("search-open")&&(a.classList.remove("search-open"),a.closest(".main-header").classList.remove("search-open"),GT.Overlays.hideHeaderOverlay())})}function e(e){let o=document.querySelector(".main-header"),t=o.querySelectorAll(".level-1 > li:not(.extra-menu):not(.hide-webex)"),r=!1,i=[];o.querySelectorAll(".extra-menu .menu-link").forEach(e=>{e.remove()}),GT.hideHyperLinkAnimation(),t.forEach(function(e){e.classList.remove("extra")}),e&&o.querySelector(".extra-menu")?.remove(),GT.isDesktopView()&&GT.checkElmVisible(".level-1 > li:not(.extra-menu):not(.hide-webex)",{callback:e=>{i.push(e),n.forEach(e=>{clearTimeout(e)}),n.push(setTimeout(()=>{let n=i.length;if(r=!1,t.forEach(function(e,t){t>=n&&(e.classList.add("extra"),r=!0)}),r){GT.hideHyperLinkAnimation();let t="";o.querySelectorAll("li.extra").forEach(function(e){t+=`<li>${e.innerHTML}</li>`});const e=`
2                <div class="menu-link extra-menu">
3                    <button class="button-nav__link nav-link" aria-expanded="false" aria-label="${o.dataset.morelabel}">
4                        <svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" viewBox="0 0 100 100">
5                            <path d="M49.5,44.6c-2.9,0-5.3,2.4-5.3,5.3c0,2.9,2.4,5.3,5.3,5.3c2.9,0,5.3-2.4,5.3-5.3C54.8,47,52.4,44.6,49.5,44.6z"/>
6                            <path d="M73.3,44.6c-2.9,0-5.3,2.4-5.3,5.3c0,2.9,2.4,5.3,5.3,5.3c2.9,0,5.3-2.4,5.3-5.3C78.6,47,76.2,44.6,73.3,44.6z"/>
7                            <path d="M25.8,44.6c-2.9,0-5.4,2.4-5.4,5.3c0,2.9,2.4,5.3,5.4,5.3c2.9,0,5.4-2.4,5.4-5.3C31.1,47,28.7,44.6,25.8,44.6z"/>
8                        </svg>
9                    </button>
10                    <div class="bs-hider"></div>
11                    <ul class="sub-menu">${t}</ul>
12                </div>`,a=(o.querySelector(".primary-menu").insertAdjacentHTML("beforeend",e),o.querySelector(".extra-menu"));document.querySelector("ul.list--mega.level-1 .menu-link")?.addEventListener("click",function(t){if(!l.classList.contains("global-reach--opening")){GT.MegaMenuV3.closeSecondary();let e=this.querySelector(".button-nav__link");var n=[a.querySelector(".button-nav__link"),...a.querySelectorAll(".sub-menu a, .sub-menu button")];this.classList.contains("open")?t.target&&!t.target.closest(".sub-menu")&&(this.classList.remove("open"),e?.setAttribute("aria-expanded",!1),GT.Overlays.hideHeaderOverlay(),GT.unloopFocus(n),document.documentElement.classList.remove("show-extra-menu")):(GT.hideHyperLinkAnimation(),this.classList.add("open"),e?.setAttribute("aria-expanded",!0),GT.Overlays.showHeaderOverlay(),document.documentElement.classList.add("show-extra-menu"),GT.loopFocus(this.querySelector(".sub-menu"),n))}})}},50))}})}GT.windowResizeFncList.prepareSubMenuLink=function(){e(!0),l.classList.contains("show-extra-menu")&&(l.classList.remove("show-extra-menu"),GT.Overlays.hideHeaderOverlay())},document.addEventListener("keydown",e=>{"Escape"===e.key&&GT.isDesktopView()&&(l.classList.contains("opening-megamenu")&&GT.MegaMenuV3.closeSecondary(),l.classList.contains("show-extra-menu")&&GT.headerElm.querySelector(".extra-menu .button-nav__link")?.click())})}},GT.domContentLoadedFncList.push(function(){GT.PrimaryMenuV3()}),GT.Reach=function(){let i=!1,d=document.firstElementChild,u=document.querySelector(".global-reach");if(u){let t=GT.headerElm.querySelector(".global-reach__toggle"),l=u.querySelector(".global-reach__close"),e=document.querySelector(".global-site-cta--desktop"),s,n=600,c=GT.isDesktopView(),a=800,o=0,r=!1;if(!(t="undefined"==typeof isNav3?GT.isMobileView()?GT.headerElm.querySelector(".global-toggle-m"):GT.headerElm.querySelector(".global-reach__toggle"):t).dataset.inited){t.dataset.inited=!0,e?.addEventListener("keydown",v),GT.headerElm.querySelectorAll(".header-menu-mobile .nav-toggle, .global-reach .nav-level-toggle").forEach(e
12=>{e.addEventListener("click",()=>{u.classList.contains("open")&&setTimeout(()=>{u.querySelectorAll(".reach-region-selector button.active, .reach-region-selector .global-reach__list.active").forEach(e=>e.classList.remove("active"))},n)})});const y=GT.headerElm.querySelector(".main-header");function h(e){"Escape"!=e.key||!d.classList.contains("global-reach--opening")||d.classList.contains("lang-dropdown--opening")||r||t.click()}function m(){GT.isMobileCached&&(u.querySelector(".global-reach__tabs").setAttribute("role","navigation"),u.querySelector(".reach-region-selector").removeAttribute("role")),s.forEach(e=>{const t=e.closest("ul");GT.isMobileCached?(e.setAttribute("tabindex",0),e.setAttribute("aria-expanded",!1),e.removeAttribute("role"),t.removeAttribute("role"),t.querySelector(".global-reach__list").removeAttribute("role")):(e.setAttribute("role","tab"),e.setAttribute("aria-selected",!1),e.removeAttribute("aria-expanded"),e.setAttribute("tabindex",-1),t.setAttribute("role","tablist"),t.querySelector(".global-reach__list").setAttribute("role","tabpanel"),e.classList.contains("active")&&(e.setAttribute("tabindex",0),e.setAttribute("aria-selected",!0),setTimeout(()=>{TabPanelActionHandler(e.closest("ul"))},500)))})}function g(e){GT.isTouchDevice&&d.classList.contains("global-reach--opening")&&(r||e.target.closest(".global-reach")||e.target.closest(".header-utils-wrap")||t.click())}GT.headerElm.addEventListener("click",e=>{GT.isDesktopView()&&g(e)}),y?.addEventListener("click",e=>{GT.isDesktopView()||g(e)}),u.addEventListener("mouseleave",e=>{!GT.isTouchDevice&&GT.isDesktopView()&&d.classList.contains("global-reach--opening")&&!r&&Date.now()>=o&&(e.relatedTarget&&u.contains(e.relatedTarget)||t.click())}),t.addEventListener("click",function(e){e.preventDefault(),(c=GT.isDesktopView())&&GT.headerElm.querySelector(".header-group-btn.open")?.click(),u.classList.contains("open")?r||(document.querySelectorAll(".header-logo, .header-menu-mobile").forEach(e=>{e.removeAttribute("aria-hidden")}),u.classList.remove("open"),t.setAttribute("aria-expanded",!1),u.setAttribute("aria-hidden",!0),o=0,p(),window.removeEventListener("keydown",h)):(window.addEventListener("keydown",h),u.removeAttribute("aria-hidden"),t.setAttribute("aria-expanded",!0),document.querySelectorAll(".header-logo, .header-menu-mobile").forEach(e=>{e.setAttribute("aria-hidden",!0)}),i?(b(),m()):(GT.headerElm.classList.add("fetching"),r=!0,i=!0,u.querySelectorAll(".global-reach__close, .nav-level-toggle").forEach(e=>{e.addEventListener("click",()=>{d.classList.contains("lang-dropdown--opening")&&d.classList.remove("lang-dropdown--opening"),document.querySelectorAll(".header-logo, .header-menu-mobile").forEach(e=>{e.removeAttribute("aria-hidden")}),u.classList.remove("open"),u.setAttribute("aria-hidden",!0),t.setAttribute("aria-expanded",!1),p()})}),(httpService=new HttpService).getHtmlContent(globalReachLink,null,{"Content-type":"application/x-www-form-urlencoded"},!0).then(e=>{let t=document.querySelector(".mobile__global--level-1 .list");t&&t.classList.remove("hide"),u.querySelector("#global-reach-regions").insertAdjacentHTML("beforeend",`
13                            <div class="global-reach__content">
14                                ${e}
15                            </div>
16                        `),GT.hideHyperLinkAnimation(),b(),setTimeout(function(){(s=document.querySelectorAll(".reach-region-selector li button")).forEach(e=>{e.addEventListener("click",v),e.addEventListener("keydown",v)}),c&&s[0].click(),m(),GT.GTMGlobal.megaMenu()},100)}).catch(e=>{i=!1}).finally(()=>{r=!1,GT.headerElm.classList.remove("fetching")})),p(!0),o=Date.now()+a,setTimeout(function(){l?.focus(),document.querySelectorAll(".global-reach__list a").forEach(e=>{let n=e.closest("li");e.addEventListener("keydown",function(t){if("Tab"==t.key&&!t.shiftKey&&!n.nextElementSibling&&c){t.preventDefault();let e=document.querySelector(".global-site-cta--desktop");e?e.focus():l?.focus()}})})},1e3))})}function p(e){c&&(e?("undefined"!=typeof isNav3&&GT.Overlays.showHeaderOverlay(),GT.headerElm.querySelector(".menu-link.open")?.classList.remove("open"),u.querySelector(".reach-region-selector button")?.click()):(GT.preventHeaderFromFlickeringWhileBodyHeightIsChanging(),GT.headerElm.style.setProperty("--globalreach-height",0),u.classList.remove("trigger-animation"),GT.MegaMenuV3.closeSecondary())),document.documentElement.classList.remove("show-extra-menu"),e?(d.classList.add("global-reach--opening"),d.classList.contains("lang-dropdown--opening")&&d.querySelector(".header-lang__select")?.click()):(d.classList.remove("global-reach--opening"),d.classList.contains("opening-mobile-menu")||GT.Overlays.hideHeaderOverlay(),setTimeout(e=>{t?.focus()},1e3))}function b(){GT.headerElm.style.setProperty("--globalreach-height",(u.querySelector(".global-reach__list.active ul")?.offsetHeight||0)+"px"),u.classList.add("open"),setTimeout(()=>{u.classList.add("trigger-animation")},c?n:0)}function v(e){if("Tab"!=e.key&&e.preventDefault(),"Tab"==e.key&&c){const n=e.target;var t=u.querySelectorAll(".global-reach__list.active .local-site-link");const a=t[0],o=t[t.length-1];e.shiftKey?n.closest(".global-site-cta--desktop")&&(e.preventDefault(),o&&o.focus()):"false"==n.getAttribute("aria-selected")?(e.preventDefault(),a&&a.focus()):n.closest(".global-site-cta--desktop")&&(e.preventDefault(),l?.focus())}if(!e.keyCode||"Enter"==e.key||" "==e.key){GT.hideHyperLinkAnimation();const r=e.target,i=r.dataset.tab;r.classList.contains("active")?c||(r.classList.remove("active"),document.querySelector(".global-reach .global-reach__list.active")?.classList.remove("active"),GT.headerElm.style.setProperty("--globalreach-height",0),r.setAttribute("aria-expanded",!1)):(s.forEach(e
16=>{e.setAttribute("aria-selected",!1)}),GT.isMobileCached?(s.forEach(e=>{e.setAttribute("aria-expanded",!1)}),r.setAttribute("aria-expanded",!0)):(s.forEach(e=>{e.removeAttribute("aria-expanded"),e.setAttribute("tabindex",-1)}),r.setAttribute("tabindex",0),r.setAttribute("aria-selected",!0)),s.forEach(e=>{e.classList.remove("active")}),r.classList.add("active"),document.querySelectorAll(".global-reach .global-reach__list").forEach(e=>{e.classList.remove("active"),e.querySelectorAll("a")?.forEach(e=>{e.setAttribute("tabindex",-1)}),e.classList.contains(i)&&(e.classList.add("active"),e.querySelectorAll("a")?.forEach(e=>{e.setAttribute("tabindex",0)}),b())}),c||setTimeout(()=>{r.scrollIntoView({behavior:"auto",block:"nearest",inline:"start"})},400))}}GT.windowResizeFncList.globalReach=function(){d.classList.contains("global-reach--opening")&&t.click(),"undefined"==typeof isNav3&&(t=GT.isMobileView()?GT.headerElm.querySelector(".global-toggle-m"):GT.headerElm.querySelector(".global-reach__toggle"))}}},GT.domContentLoadedFncList.push(function(){GT.Reach()}),GT.SearchOverlayV3=function(){let f=document.firstElementChild,e=document.querySelector(".btn-search"),L=e?.querySelector(".global-search__toggle"),S=document.querySelector(".global-search");if(S){let e=S.querySelector(".header-search__form"),t=S.querySelector(".search-overlay__modal"),o=e.querySelector('input[name="q"]'),r=S.querySelector(".header-search__icon"),n=S.querySelector('form.header-search__form input[name="search-submit__button"]'),a=null,i=null,l=S.querySelector(".search-overlay__contents"),s=o.getAttribute("disabled-searchoverlay"),c=o.getAttribute("disabled-popularsearch"),d=o.getAttribute("disable-previoussearch"),u=null,h="",m=!1,g=!1;const N=document.querySelector(".global-search-area .bleed-wrapper"),I=3,P=600;let p=new HttpService,b=null,v=[],y=0,T=!1;return s&&"true"!=s.toLowerCase()&&(S.addEventListener("keydown",e=>{var{key:t,target:n}=e;if("Tab"===t&&GT.isDesktopView()&&(n===o||n===r))if(e.preventDefault(),n===o)e.shiftKey?L?.focus():r.focus();else if(e.shiftKey)o.focus();else{const a=S.querySelector(".search-overlay__contents a");(a||L)?.focus()}"Escape"===t&&A()&&(e.preventDefault(),e.stopPropagation(),GT.isScreenReader=!0,F())}),o.addEventListener("input",GT.debounce(function(){var e;(e=o.value.trim()).length>=I?(M(!0),D(encodeURIComponent(e)),h=e):(l.classList.remove("show"),GT.headerElm.classList.remove("show-background"),function(t){var n=v.slice();for(let e=v.length=0;e<n.length;e++)clearTimeout(n[e]);const a=y+=1;return new Promise(e=>{setTimeout(()=>e(a),t?P:0)})}(!0).then(e=>{e===y&&((_()||null==a)&&(null==u||u.length<=0)?(H(!1),G(null,e)):G(()=>{l.innerHTML=a,w(),GT.headerElm.style.setProperty("--bleed-height",N.offsetHeight+"px"),H(!0)},e))}))},500)),r.addEventListener("click",function(e){o.value.length<=0?o.focus():n.click()}),e.addEventListener("submit",e=>{if(!q()){let e=o.value;if(null==e||e.trim().length<=0)return!1;GT.processSearchKeywordBeforeSubmit(e.trim(),u,6),dataLayer.push({event:"global_search",eventAction:"navigation_search",eventLabel:e})}})),{triggerInitializeSearchOverlay:function(){var t;if(x(),H(!1),m||(document.firstElementChild.classList.add("opening-header-overlay"),M(!0),g=!0,w(),(t=this.value?.trim()||"").length>=I?t!=h.trim()?(h=t,D(encodeURIComponent(t))):(i&&(l.innerHTML=i),x(),H(!0)):(null!=a&&0<a.length||null!=u&&0<u.length)&&H(!0),m=!0),_())o.value.length<I&&(null==u||u.length<=0)&&H(!1),g&&(M(!1),E());else if(null==a||a.length<=0){let e=o.getAttribute("data-endpoint-popularsearch");null==e||e.length<=0?g&&(M(!1),E()):(e=O(e),t=GT.Cookies.getCookie("recentIds"),e+="&recentIds="+t,p.getHtmlContent(e,null,{"Content-type":"application/x-www-form-urlencoded"},!0).then(e=>{k()&&(null==e.trim()||e.trim().length<=0?u?H(!0):H(!1):(a=e,l.innerHTML=e,w(),C(),H(!0)))}).catch(()=>{M(!1),E()}).finally(()=>{GT.headerElm.style.setProperty("--bleed-height",N.offsetHeight+"px"),setTimeout(()=>{M(!1),E(),k()&&(b?.(),l.classList.add("show"))},P)}))}else M(!1),E(),k()&&(GT.headerElm.style.setProperty("--bleed-height",N.offsetHeight+"px"),b?.())},callbackInitializeSearchOverlay:function(e){b=e},closeSearchOverlay:F,isBlockingDismiss:function(){return g},wasSearchDismissed:function(){return T},isSearchPanelShowing:A,shouldKeepSearchOpen:k};function G(e,t){if(t===y){const a=y;var t=setTimeout(()=>{a===y&&GT.headerElm.classList.add("show-background")},2*P),n=setTimeout(()=>{a===y&&(l.classList.add("show"),e&&e())},P);v.push(n,t)}}function E(){g=!1}function A(){return(!f.classList.contains("opening-megamenu")||!document.querySelector(".header-menu .bleed.open:not(.global-search-area)"))&&(S.classList.contains("open")||f.classList.contains("global-search--opening")||f.classList.contains("opening-mobile-search")||!!document.querySelector(".global-search-area.bleed.open"))}function k(){return!T&&A()}function w(){if(!q()){let a=e.getAttribute("action");var o=t.getAttribute("previous-search-title"),r=JSON.parse(localStorage.getItem("user_previous_searches"));if(null!=r&&0<r.length){u=r;let t='<div class="popular-search__container">',e=(t=(t+='    <h3 id="previous-search-heading" class="gt-small-title heavy search-panel__title">'+o+"</h3>")+'    <div class="search-panel__details">'+'        <ul class="search-suggestion__list" aria-labelledby="previous-search-heading">',[].forEach.call(r,function(e){t+='<li><a href="'+a+"?q="+encodeURIComponent(e)+'" title="'+e+'">'+e.replace(/(<([^>]+)>)/gi,"")+"</a></li>"}),t=(t+="        </ul>")+"    </div>"+"</div>",document.getElementById("previous-search__container")),n=(null!=e&&e.remove(),document.createElement("div"));n.id="previous-search__container",n.className="search-contents__container",n.innerHTML=t,l.insertBefore(n,l.firstChild)}}}function q(){return!d||"true"==d.toLowerCase()}function _(){return!c||"true"==c.toLowerCase()}function x(){document.querySelector(".global-reach.open")||(T=!1,S.classList.contains("open")||(S.querySelectorAll("input, a, button").forEach(e
16=>{e.removeAttribute("tabindex")}),S.classList.add("open")),GT.isDesktopView()&&(f.classList.add("global-search--opening"),GT.MegaMenuV3?.markGlobalSearchMouseDismissHold?.()))}function H(e){e&&setTimeout(e=>{GT.GTMGlobal.globalSearch()},100)}function M(t){if(t)GT.headerElm.classList.add("fetching"),S.setAttribute("aria-busy","true"),GT.announceArea&&(GT.announceArea.innerText=GT.announceArea.dataset.loadingText);else if(GT.headerElm.classList.remove("fetching"),S.setAttribute("aria-busy","false"),GT.announceArea){let e=document.querySelector(".global-search .results-search__container");t=e?.querySelector(".search-results__title, .search-panel__title");GT.announceArea.innerText=GT.announceArea.dataset.loadingFinishedText+". "+(t?.textContent||"")}}function O(e){return e.replace(/\s/gi,"+").replace(/\%20/gi,"+").replace(/\%(3C|3E)/gi,function(e,t){return encodeURI("%")+t})}function D(e){let t=o.getAttribute("data-endpoint-searchsuggestion");if(!(null==t||t.length<=0)){t=O(t+=e),l.classList.remove("show"),GT.headerElm.classList.remove("show-background");var n=v.slice();for(let e=v.length=0;e<n.length;e++)clearTimeout(n[e]);const a=y+=1;p.getHtmlContent(t,null,{"Content-type":"application/x-www-form-urlencoded"},!0).then(e=>{a===y&&k()&&(null==e.trim()||e.trim().length<=0?H(!1):(i=e,l.innerHTML=e,x(),C(),H(!0)))}).catch(()=>{if(a===y){l.classList.add("show");var e=a;if(e===y){const t=y;e=setTimeout(()=>{t===y&&GT.headerElm.classList.add("show-background")},P);v.push(e)}}}).finally(()=>{a===y&&(M(!1),k()&&(GT.headerElm.style.setProperty("--bleed-height",N.offsetHeight+"px"),G(null,a)))})}}function C(){const n=[".recently-visited__container",".search-contents__container.popular-search__container",".results-search__container.has-search__results",".popular-search__container.results-search__container"],e=document.querySelectorAll(".search-suggestion__list a, .search-results__list a");e.forEach(t=>{if(!t.closest("li").nextElementSibling){let e=t.closest("#previous-search__container");(e=e||n.map(e=>t.closest(e)).find(e=>null!==e))&&!e.nextElementSibling&&t.addEventListener("keydown",e=>{"Tab"!==e.key&&9!==e.keyCode||e.shiftKey||!GT.isDesktopView()||(e.preventDefault(),L?.focus())})}})}function V(){const e=document.querySelector(".btn-search .global-search__toggle")||document.querySelector(".global-search__toggle");e&&(e.removeAttribute("tabindex"),e.focus())}function F(){T=!0,GT.MegaMenuV3?.clearGlobalSearchFocusTimer?.(),S.classList.remove("open"),S.querySelectorAll("input, a, button").forEach(e=>{e.setAttribute("tabindex",-1)}),GT.isDesktopView()&&(GT.MegaMenuV3.closeSecondary(),setTimeout(()=>V(),0))}}},GT.domContentLoadedFncList.push(function(){GT.SearchOverlayV3=GT.SearchOverlayV3()}),GT.TopBannerMessageForNoStickyHeader=function(e){var t=!$("header").data("sticky"),n=e[0];function a(){!$(n).find(".header-message-top-banner-wrapper").length||$(window).width()<961||$(".insight-page").find(".breadcrumbs").css("padding-top","30px")}$(document).ready(function(){t&&(window.onscroll=function(){a()},window.onwheel=function(){a()},window.onresize=function(){a()},a())})},GT.UtilityNavigation=function(e){let s=document.firstElementChild;document.querySelectorAll(".header-lang").forEach(a=>{{var o=a;const r=o.querySelector(".header-lang__select"),i=o.querySelectorAll(".header-lang__dropdown a"),l=i.length;let e=e=>{"Escape"==e.key&&r&&(r.focus(),r.click()),"Tab"==e.key&&t()},t=(GT.loopFocusByArrowKey(i),()=>{o.classList.remove("open"),r?.setAttribute("aria-expanded","false"),document.querySelectorAll(".header-logo, .header-menu-mobile").forEach(e=>{e.removeAttribute("aria-hidden")}),window.removeEventListener("keydown",e),"undefined"!=typeof isNav3&&s.classList.remove("lang-dropdown--opening")}),n=()=>{o.classList.contains("open")||o.closest(".global-reach")||!s.classList.contains("global-reach--opening")||"undefined"!=typeof isNav3&&s.querySelector(".global-reach__toggle")?.click(),document.querySelectorAll(".header-lang.open").forEach(e=>{e!==o&&(e.classList.remove("open"),e.querySelector(".header-lang__select")?.setAttribute("aria-expanded","fal
16se"))}),o.classList.toggle("open"),"undefined"!=typeof isNav3&&s.classList.toggle("lang-dropdown--opening"),o.classList.contains("open")?(GT.hideHyperLinkAnimation(),r?.setAttribute("aria-expanded","true"),setTimeout(()=>{o.classList.contains("header-util-item")&&!GT.isDesktopView()?document.querySelector(".header-lang__close")?.focus():l&&i[0].focus()},1e3),document.querySelectorAll(".header-logo, .header-menu-mobile").forEach(e=>{e.setAttribute("aria-hidden",!0)}),window.addEventListener("keydown",e)):t()};r&&(r.addEventListener("click",()=>n()),l&&i[l-1].addEventListener("keydown",e=>{"Tab"!=e.key||e.shiftKey||(e.preventDefault(),r.focus())}),o.classList.contains("header-util-item")&&s.querySelector(".header-lang__mobile-panel .header-lang__close")?.addEventListener("click",()=>{n(),r.focus()}))}})},GT.isNav3=!0,GT.Initiator=function(e){var t=e.settings&&e.settings.nojquery?document.querySelectorAll(e.test):$(e.test);try{t.length&&e.constr&&new e.constr(t,e)}catch(e){console.warn(e)}},GT.domContentLoadedFncList.push(function(){GT.Cookies=new GTCookies,GT.Cookies.cookieNotify(),GT.GTObjects=[{constr:GT.FakeHyperlink,test:"[data-anchor]"},{constr:GT.UtilityNavigation,test:".header-utils",settings:{}}],GT.GTObjects.map(GT.Initiator)}
16),GT.freezeVp=function(e){e.preventDefault()},window.addEventListener("DOMContentLoaded",function(){function t(){setTimeout(function(){Object.keys(GT.triggerFnListAfterMainLogoLoaded).forEach(function(e){GT.triggerFnListAfterMainLogoLoaded[e]()}),setTimeout(function(){GT.headerContainerElm&&(requestAnimationFrame(()=>{GT.headerElmHeight=GT.headerContainerElm.clientHeight}),requestAnimationFrame(()=>{document.documentElement.style.setProperty("--header-height",GT.headerElmHeight+"px")}),requestAnimationFrame(()=>{var e=(GT.topBannerMsgElm?.clientHeight||0)+(GT.countryPreselectionElm?.clientHeight||0),t=GT.mainHeaderElm?.clientHeight||0;const n=document.documentElement.style;n.setProperty("--top-banner-msg-height",e+"px"),n.setProperty("--main-header-height",t+"px"),n.setProperty("--scrollbar-width",GT.scrollbarWidth+"px"),n.setProperty("--window-height",GT.wHeight+"px"),GT.mainHeaderElmHeight=t}))},50)})}GT.headerElm=document.querySelector("header"),GT.headerElm&&(GT.headerContainerElm=GT.headerElm.querySelector(".header-container")||GT.headerElm.closest(".campaign-header")?.querySelector(".container"),GT.topBannerMsgElm=document.querySelector(".header-message-top-banner-wrapper"),GT.countryPreselectionElm=document.querySelector(".country-preselection")),GT.mainHeaderElm=document.querySelector(".main-header"),requestAnimationFrame(()=>{GT.wHeight=window.innerHeight,GT.wWidth=window.innerWidth,GT.bodyWidth=document.body.clientWidth,GT.scrollbarWidth=GT.wWidth-GT.bodyWidth}),GT.announceArea=document.querySelector(".announce-area"),requestAnimationFrame(()=>{initTabPanelActionHandler()}),"undefined"==typeof isV1GT&&(GT.isTouchDevice=GT.isTouchDeviceFn(),GT.domContentLoadedFncList.forEach(function(e){try{requestAnimationFrame(()=>{e()})}catch(e){console.log(e)}})),requestAnimationFrame(()=>{let e=document.querySelector(".desktop-logo img");e?(e.onload=function(){t()},e.onerror=function(){t()},e.complete&&t()):t()})});let isOrientationChange=!1;window.screen.orientation?window.screen.orientation.addEventListener("change",function(){isOrientationChange=!0}):window.addEventListener("orientationchange",function(){isOrientationChange=!0}),GT.recalculateHeaderHeight=function(e=500){setTimeout(function(){var e=0,e=(e+=GT.topBannerMsgElm?GT.topBannerMsgElm.clientHeight:0)+(GT.countryPreselectionElm?GT.countryPreselectionElm.clientHeight:0);GT.mainHeaderElmHeight=GT.mainHeaderElm?GT.mainHeaderElm.clientHeight:0,GT.headerElm&&GT.headerContainerElm&&(GT.stickyHeaderOffsetTop=GT.headerElm.firstElementChild.offsetHeight-(GT.isMobileView()?64:88),GT.headerElmHeight=GT.headerContainerElm.clientHeight),document.documentElement.style.setProperty("--top-banner-msg-height",e+"px"),document.documentElement.style.setProperty("--main-header-height",GT.mainHeaderElmHeight+"px"),document.documentElement.style.setProperty("--header-height",GT.headerElmHeight+"px")},e)},window.addEventListener("resize",function(){GT.wHeight=window.innerHeight,GT.wWidth=window.innerWidth,GT.bodyWidth=document.body.clientWidth,GT.scrollbarWidth=GT.wWidth-GT.bodyWidth,requestAnimationFrame(()=>{document.documentElement.style.setProperty("--scrollbar-width",GT.scrollbarWidth+"px"),document.documentElement.style.setProperty("--window-height",GT.wHeight+"px")}),GT.recalculateHeaderHeight(),GT.isMobileCached=GT.isMobile(),GT.isMobileCached&&!isOrientationChange||GT.hideHyperLinkAnimation&&GT.hideHyperLinkAnimation()}),window.addEventListener("resize",GT.debounce(function(){GT.isMobileCached&&!isOrientationChange||(GT.hideHyperLinkAnimation&&GT.hideHyperLinkAnimation(),GT.isTouchDevice=GT.isTouchDeviceFn(),Object.keys(GT.windowResizeFncList).forEach(function(e){"function"==typeof GT.windowResizeFncList[e]&&GT.windowResizeFncList[e]()}),GT.recalculateHeaderHeight()),isOrientationChange=!1},250)),document.addEventListener("touchmove",function(t){Object.keys(GT.touchMoveFncList).forEach(function(e){GT.touchMoveFncList[e](t)})},{passive:!1});

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.