1import{X as e,Z as t,c as n,et as r,l as i,n as a,p as o}from"./loader-circle-DDE4Av0a.js";import{o as s}from"./PlanTripModal-Cmlqqokb.js";import{r as c}from"./Footer-39HO02xI.js";import{t as l}from"./useAuth-B_YgBXSI.js";var u=r(t(),1);function d(t){let r=i(),a=(0,u.useRef)(void 0);return n(r.stores.location,n=>{let i=t?.select?t.select(n):n;if(t?.structuralSharing??r.options.defaultStructuralSharing){let t=e(a.current,i);return a.current=t,t}return i})}var f=a(`log-out`,[[`path`,{d:`m16 17 5-5-5-5`,key:`1bji2h`}],[`path`,{d:`M21 12H9`,key:`dn1m92`}],[`path`,{d:`M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4`,key:`1uf3rs`}]]),p=a(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),m=o(),h=[{to:`/`,label:`Home`},{to:`/passport-checkout`,label:`Passport`},{to:`/trips`,label:`Military Escapes`},{to:`/flight-alerts`,label:`Flight Alerts`},{to:`/gear`,label:`Gear`},{to:`/library`,label:`Library`},{to:`/sitrep`,label:`Sit Rep`},{to:`/ecosystem`,label:`Ecosystem`}];function g(){let e=d({select:e=>e.pathname}),[t,n]=(0,u.useState)(!1),{user:r,signOut:i}=l();return(0,m.jsxs)(`header`,{className:`fixed top-0 left-0 right-0 z-50 bg-background/95 backdrop-blur-sm border-b border-border`,children:[(0,m.jsxs)(`div`,{className:`container mx-auto px-4 py-2 flex items-center justify-between`,children:[(0,m.jsx)(s,{to:`/`,"aria-label":`Tactical Traveler Club home`,children:(0,m.jsx)(`img`,{src:c,alt:`Tactical Traveler Club`,className:`h-12 md:h-14 object-contain`,width:200,height:56,decoding:`async`})}),(0,m.jsxs)(`nav`,{className:`hidden md:flex items-center gap-5`,"aria-label":`Primary`,children:[h.filter(t=>t.to!==e).map(e=>(0,m.jsx)(s,{to:e.to,className:`text-sm font-medium text-foreground/90 hover:text-primary transition-colors px-1 py-0.5`,children:e.label},e.to)),(0,m.jsx)(s,{to:`/auth`,className:`text-sm font-medium text-foreground/90 hover:text-primary transition-colors px-1 py-0.5`,children:`Access Booking`}),r&&(0,m.jsx)(`button`,{onClick:()=>i(),"aria-label":`Sign out`,title:`Sign out`,className:`text-sm text-foreground/80 hover:text-primary transition-colors inline-flex items-center gap-1 p-1`,children:(0,m.jsx)(f,{className:`w-4 h-4`})})]}),(0,m.jsx)(`button`,{className:`md:hidden p-2 text-foreground hover:text-primary`,onClick:()=>n(!t),"aria-label":`Toggle menu`,"aria-expanded":t,children:(0,m.jsx)(p,{className:`w-5 h-5`})})]}),t&&(0,m.jsx)(`nav`,{className:`md:hidden border-t border-border bg-background`,"aria-label":`Mobile`,children:(0,m.jsxs)(`div`,{className:`container mx-auto px-4 py-3 flex flex-col gap-3`,children:[h.map(e=>(0,m.jsx)(s,{to:e.to,onClick:()=>n(!1),className:`text-sm font-medium text-foreground hover:text-primary transition-colors py-2`,children:e.label},e.to)),(0,m.jsx)(s,{to:`/auth`,onClick:()=>n(!1),className:`text-sm font-medium text-foreground py-2`,children:`Access Booking`}),r&&(0,m.jsxs)(`button`,{onClick:()=>{i(),n(!1)},className:`text-left text-sm text-muted-foreground py-1 inline-flex items-center gap-2`,children:[(0,m.jsx)(f,{className:`w-4 h-4`}),` Sign out`]})]})})]})}export{g as t};
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.