import{u as A,a as w,c as D,i as e,b as a,A as r,d as E,e as F,t as n,f as L}from"./main-B-KzsHRi.js";var O=n("<span class=freno-nav-icon>📊"),T=n("<span class=freno-nav-text>Dashboard"),U=n("<span class=freno-nav-icon>📈"),y=n("<span class=freno-nav-text>KPIs"),I=n("<span class=freno-nav-icon>📁"),K=n("<span class=freno-nav-text>Projects"),N=n("<span class=freno-nav-icon>👥"),R=n("<span class=freno-nav-text>Teams"),q=n("<div class=freno-avatar>"),z=n("<div class=freno-user-info><div class=freno-user-name></div><div class=freno-user-email>"),B=n('<div class=freno-layout><aside class=freno-sidebar><div class=freno-sidebar-header><div class=freno-logo><span class=freno-logo-icon>F</span><span class=freno-logo-text>FrenoCorp</span></div><button class=freno-sidebar-toggle></button></div><nav class=freno-sidebar-nav></nav><div class=freno-sidebar-footer><div class=freno-user-menu><button class=freno-btn-icon title="Sign out">⏻</button></div></div></aside><main class=freno-main><header class=freno-header><button class=freno-mobile-menu>☰</button><div class=freno-header-content><h2 class=freno-page-title></h2></div><div class=freno-header-actions><button class=freno-btn-icon title=Notifications>🔔</button><button class=freno-btn-icon title=Settings>⚙</button></div></header><div class=freno-content>');const J=o=>{const l=A(),{signOut:_}=w(),[i,d]=D(!0);return(()=>{var f=B(),c=f.firstChild,u=c.firstChild,g=u.firstChild,p=g.nextSibling,s=u.nextSibling,x=s.nextSibling,v=x.firstChild,h=v.firstChild,C=c.nextSibling,b=C.firstChild,$=b.firstChild,k=$.nextSibling,S=k.firstChild,P=b.nextSibling;return p.$$click=()=>d(!i()),e(p,()=>i()?"◀":"▶"),e(s,a(r,{href:"/dashboard",class:"freno-nav-link",end:!0,get children(){return[O(),T()]}}),null),e(s,a(r,{href:"/kpi",class:"freno-nav-link",get children(){return[U(),y()]}}),null),e(s,a(r,{href:"/projects",class:"freno-nav-link",get children(){return[I(),K()]}}),null),e(s,a(r,{href:"/teams",class:"freno-nav-link",get children(){return[N(),R()]}}),null),e(v,a(r,{href:"/profile",class:"freno-user-link",get children(){return[(()=>{var t=q();return e(t,()=>l().user?.name?.charAt(0)?.toUpperCase()||"U"),t})(),(()=>{var t=z(),m=t.firstChild,j=m.nextSibling;return e(m,()=>l().user?.name||"User"),e(j,()=>l().user?.email),t})()]}}),h),E(h,"click",_,!0),$.$$click=()=>d(!i()),e(S,G),e(P,()=>o.children),F(()=>c.classList.toggle("freno-sidebar-collapsed",!i())),f})()};function G(){const o=window.location.pathname;return{"/dashboard":"Dashboard","/kpi":"KPI Dashboard","/projects":"Projects","/projects/new":"New Project","/profile":"Profile","/teams":"Teams"}[o]||"FrenoCorp"}L(["click"]);export{J as AppLayout};
//# sourceMappingURL=AppLayout-Bi8iHstr.js.map
