1import{u as M,a as O,ab as P,a3 as R,a2 as T}from"./DiZhURkQ.js";import V from"./BKk8Wn2G.js";import{c as z,B as F,C as H,k as d,I as n,J as t,u as r,N as m,F as v,W as p,L as l,G as $,O as f,a3 as G,M as h,Q as b,R as N}from"./wbHSvHwd.js";import"./Cmf1JQZp.js";import"./CbOuAyOP.js";const W={class:"header__inner"},A={class:"header__sidenav","data-lenis-prevent":""},E={key:0,class:"header__sidenav__main"},J={key:1,class:"header__sidenav__primary"},Q={key:2,class:"header__sidenav__secondary"},U={key:3,class:"header__sidenav__tertiary"},I={__name:"HeaderInner",setup(j){const o=M(),s=O(),g=z(null),x=()=>{if(g.value){const a=g.value.getBoundingClientRect(),c=window.innerWidth-a.right;g.value.style.setProperty("--nav-distance-right",`${c}px`)}},S=a=>{(!a||a&&!a.classList.contains("header__toggle"))&&document.body.classList.remove("nav-opened")},w=a=>{a&&!a.target.classList.contains("header__toggle")&&document.body.classList.remove("nav-opened")},B=()=>{document.body.classList.contains("nav-opened")||x()};F(()=>{x(),o.$on("resize-debounce",B),o.$on("onCloseNav",S)}),H(()=>{o.$off("resize-debounce",B),o.$off("onCloseNav",S)});const k=d(()=>s.value.globalInfos?s.value.globalInfos.headerNav.navigation:null),C=d(()=>s.value.globalInfos?s.value.globalInfos.primaryBurgerNav.navigation:null),y=d(()=>s.value.globalInfos?s.value.globalInfos.secondaryBurgerNav.navigation:null),D=d(()=>s.value.globalInfos?s.value.globalInfos.tertiaryBurgerNav.navigation:null),u=d(()=>{var a,c;return((c=(a=o==null?void 0:o.$viewport)==null?void 0:a.width)==null?void 0:c.value)>900});return(a,c)=>{const _=R,L=V,i=T;return n(),t("div",W,[r(k)&&r(s)?(n(),t("nav",{key:0,ref_key:"nav",ref:g,class:"header__nav"},[m("ul",null,[(n(!0),t(v,null,p(r(k),e=>(n(),t("li",null,[l(_,$({ref_for:!0},e,{tracking:{event:"menu",click_url:e.url||e.uri,click_text:e.label||e.title,menu_item_parent:"self",menu_style:r(u)?"desktop":"mobile",nav_type:"Main Navigation"}}),null,16,["tracking"])]))),256))])],512)):f("",!0),l(L),G((n(),t("nav",A,[l(L,{class:"header__sidenav__tools"}),r(k)?(n(),t("ul",E,[(n(!0),t(v,null,p(r(k),e=>(n(),t("li",null,[l(_,$({ref_for:!0},e,{tracking:{event:"menu",click_url:e.url||e.uri,click_text:e.label||e.title,menu_item_parent:"self",menu_style:r(u)?"desktop":"mobile",nav_type:"Side Navigation - Main"}}),null,16,["tracking"])]))),256))])):f("",!0),r(C)?(n(),t("ul",J,[(n(!0),t(v,null,p(r(C),e=>(n(),t("li",null,[l(_,{url:e.url,tracking:{event:"menu",click_url:e.url||e.uri,click_text:e.label||e.title,menu_item_parent:"self",menu_style:r(u)?"desktop":"mobile",nav_type:"Side Navigation - Primary"}},{default:h(()=>[m("span",null,[l(i),b(" "+N(e.title)+" ",1),l(i)])]),_:2},1032,["url","tracking"])]))),256))])):f("",!0),r(y)?(n(),t("ul",Q,[(n(!0),t(v,null,p(r(y),e=>(n(),t("li",null,[l(_,{url:e.url,tracking:{event:"menu",click_url:e.url||e.uri,click_text:e.label||e.title,menu_item_parent:"self",menu_style:r(u)?"desktop":"mobile",nav_type:"Side Navigation - Secondary"}},{default:h(()=>[m("span",null,[l(i),b(" "+N(e.title)+" ",1),l(i)])]),_:2},1032,["url","tracking"])]))),256))])):f("",!0),r(y)?(n(),t("ul",U,[(n(!0),t(v,null,p(r(D),e=>(n(),t("li",null,[l(_,{url:e.url,tracking:{event:"menu",click_url:e.url||e.uri,click_text:e.label||e.title,menu_item_parent:"self",menu_style:r(u)?"desktop":"mobile",nav_type:"Side Navigation - Tertiary"}},{default:h(()=>[m("span",null,[l(i),b(" "+N(e.title)+" ",1),l(i)])]),_:2},1032,["url","tracking"])]))),256))])):f("",!0)])),[[r(P),e=>{w(e)}]])])}}};export{I as default};
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.