1import{P as e,j as t,k as n,l as a}from"./headlessui.esm.12a303ec.js";import{r as o}from"./ChevronUpIcon.8bf05be2.js";import{g as s,c as l,u as r,e as i}from"./index.441c06ad.js";import{p as c,b as u,d,r as p,o as f,c as v,w as g,g as y,i as m,e as x,t as _,m as k,G as b,n as h,j as w,v as M,ap as P,h as j,F as C,x as N}from"./vendor.ddbd020e.js";const B={name:"SideNavigationDisclosure",components:{ChevronUpIcon:o,Popover:e,PopoverButton:t,PopoverGroup:n,PopoverPanel:a},inheritAttrs:!1,props:{title:{type:String,default:""},link:{type:String,default:""},isExternal:{type:Boolean,default:!1},isButton:{type:Boolean,default:!1},content:{type:Array,default:()=>[]}},setup(){const e=s(),{setLoading:t}=e,n=d(null);return{buttonRef:n,openMenu:e=>{var t;e&&(null==(t=n.value)||t.el.click())},closeMenu:e=>{var t;e&&(null==(t=n.value)||t.el.click())},setLoading:(e,n)=>{t(e),"function"==typeof n&&n()}}}};c("data-v-7b995ab0");const I={class:"flex border-gray-100"},L=["onMouseenter"],D=["href"],G={class:"rounded-lg shadow-lg ring-1 ring-black ring-opacity-5 overflow-hidden"},S={class:"relative grid gap-2 bg-white px-5 py-6"},T=["href"];u(),B.render=function(e,t,n,a,o,s){const l=p("router-link"),r=p("ChevronUpIcon"),i=p("PopoverButton"),c=p("PopoverPanel"),u=p("Popover"),d=p("PopoverGroup"),N=p("ClientOnly");return f(),v(N,null,{default:g((()=>[y(u,{class:h(["relative focus-visible:ring-opacity-75 mx-2",{"mr-0":n.content.length>0}])},{default:g((()=>[m("div",I,[y(d,null,{default:g((()=>[y(u,{class:"text-[16px] font-medium focus:outline-none"},{default:g((({open:o,close:s})=>[m("div",{class:"nav_items",onMouseenter:e=>n.content.length>0&&a.openMenu(!o)},[n.isExternal?(f(),x("a",{key:0,href:n.link,target:"_blank"},_(n.title),9,D)):n.isButton?(f(),x("a",k({key:1,role:"button"},e.$attrs),_(n.title),17)):(f(),v(l,{key:2,to:n.link,onClick:t[0]||(t[0]=e=>a.setLoading(n.link))},{default:g((()=>[b(_(n.title),1)])),_:1},8,["to"])),y(i,{ref:"buttonRef",class:h(["focus-visible:outline-none",o?"text-gray-500":""])},{default:g((()=>[w(y(r,{class:h([o?"transform rotate-180":"","w-[22px]"])},null,8,["class"]),[[M,n.content.length>0]])])),_:2},1032,["class"])],40,L),y(P,{"enter-active-class":"transition ease-out duration-200","enter-from-class":"opacity-0 translate-y-1","enter-to-class":"opacity-100 translate-y-0","leave-active-class":"transition ease-in duration-150","leave-from-class":"opacity-100 translate-y-0","leave-to-class":"opacity-0 translate-y-1"},{default:g((()=>[y(c,{class:"absolute z-10 mt-2 transform w-screen max-w-xs ml-0 left-2/3 -translate-x-1/2",onMouseenter:e=>a.openMenu(!o),onMouseleave:e=>a.closeMenu(o)},{default:g((()=>[m("div",G,[m("div",S,[(f(!0),x(C,null,j(n.content,(e=>(f(),x("div",{key:e.nc_id,class:"-m-3 p-3 rounded-lg hover:bg-gray-50"},[e.is_external?(f(),x("a",{key:0,href:e.nc_url,class:"flex justify-between w-full px-4 py-2 leading-5 text-left",target:"_blank"},_(e.nc_name),9,T)):(f(),v(l,{key:1,to:e.nc_url,class:"flex justify-between w-full px-4 py-2 leading-5 text-left",onClick:t=>a.setLoading(e.nc_url,s)},{default:g((()=>[b(_(e.nc_name),1)])),_:2},1032,["to","onClick"]))])))),128))])])])),_:2},1032,["onMouseenter","onMouseleave"])])),_:2},1024)])),_:1})])),_:1})])])),_:1},8,["class"])])),_:1})},B.__scopeId="data-v-7b995ab0";const U={name:"TopNavigation",components:{TopNavigationDisclosure:B},setup(){l();const e=r(),t=i();return{isLoggedIn:N((()=>t.isLoggedIn)),companyConfig:e.config,headerNavigations:e.headerNavigations}}},A={class:"hidden xl:flex flex-wrap m-auto"};U.render=function(e,t,n,a,o,s){const l=p("TopNavigationDisclosure");return f(),x("nav",A,[(f(!0),x(C,null,j(a.headerNavigations,(e=>(f(),v(l,{key:e.nt_id,title:e.nt_name,link:e.nt_url,content:e.contents,"is-external":e.is_external},null,8,["title","link","content","is-external"])))),128))])};export{U 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.