import{b as e,d as t,f as n,g as r,h as i,i as a,l as o,m as s,n as c,o as l,p as u,s as d,v as f,x as p,y as m}from"./app-CKOenY1V.js";var h={class:`admin-shell`},g={"aria-label":`Admin navigation`},_={class:`admin-main`},v={class:`admin-topbar`},y={class:`admin-content`},b={__name:`AdminLayout`,setup(b){let x=f(!1),S=a(),C=[[`Dashboard`,`admin.dashboard`,`/admin/dashboard`],[`Appointments`,`admin.appointments`,`/admin/appointments`],[`Calendar`,`admin.calendar`,`/admin/calendar`],[`Availability`,`admin.availability`,`/admin/availability`],[`Clients`,`admin.clients`,`/admin/clients`],[`Services`,`admin.services`,`/admin/services`],[`Tax Insights`,`admin.insights`,`/admin/tax-insights`],[`Settings`,`admin.settings`,`/admin/settings`]],w=e=>S.url.startsWith(e);return(a,f)=>(u(),o(`div`,h,[d(`button`,{class:e([`admin-overlay`,{visible:x.value}]),"aria-label":`Close navigation`,onClick:f[0]||=e=>x.value=!1},null,2),d(`aside`,{class:e([`admin-sidebar`,{open:x.value}])},[n(m(c),{href:`/`,class:`admin-brand`},{default:r(()=>[...f[3]||=[d(`span`,null,`TGS`,-1),d(`small`,null,[t(`Tax & General`),d(`br`),t(`Services`)],-1)]]),_:1}),d(`nav`,g,[(u(),o(l,null,s(C,([i,a,o])=>n(m(c),{key:o,href:o,class:e([`nav-link`,{active:w(o)}]),onClick:f[1]||=e=>x.value=!1},{default:r(()=>[t(p(i),1)]),_:2},1032,[`href`,`class`])),64))]),n(m(c),{href:`/`,class:`admin-exit`},{default:r(()=>[...f[4]||=[t(`← View website`,-1)]]),_:1})],2),d(`main`,_,[d(`header`,v,[d(`button`,{class:`menu-button`,"aria-label":`Open navigation`,onClick:f[2]||=e=>x.value=!0},`☰`),f[5]||=d(`div`,null,[d(`p`,null,`Tax & General Services`),d(`strong`,null,`Administration`)],-1),f[6]||=d(`div`,{class:`admin-avatar`},`A`,-1)]),d(`section`,y,[i(a.$slots,`default`)])])]))}};export{b as t};