import{_ as v}from"./CYtbVgsc.js";import{a as g}from"./DCp3GJQW.js";import{c as h}from"./m0N__S0x.js";import{l as k,ac as w,i as e,f as s,F as x,V as C,a5 as l,a0 as t,k as c,ah as i,W as N,j as B,e as L,N as r,ad as V}from"./D7LY3N47.js";import{_ as y}from"./DlAUqK2U.js";import"./DL7l9XXk.js";import"./DqW9UKXb.js";const R={class:"app-shell"},S={class:"sidebar"},T={class:"nav-icon","aria-hidden":"true"},D={class:"main"},F={class:"topbar"},j=["title"],z={class:"cwd-value"},A={class:"content"},E=k({__name:"default",setup(I){const d=w(),_=V(),n=L(()=>_.public.aidevCwd),u=[{to:"/",label:"Dashboard",icon:"◇"},{to:"/config",label:"Config",icon:"⚙"},{to:"/schedule",label:"Schedule",icon:"⏱"},{to:"/logs",label:"Logs",icon:"≡"},{to:"/tasks",label:"Tasks",icon:"☰"},{to:"/run",label:"Run",icon:"▶"}];function p(){h(),d.replace("/login")}return(m,o)=>{const f=v,b=g;return r(),e("div",R,[s("aside",S,[o[0]||(o[0]=s("div",{class:"brand"},[s("span",{class:"brand-mark"},"aidev"),s("span",{class:"brand-sub"},"dashboard")],-1)),s("nav",null,[(r(),e(x,null,C(u,a=>c(f,{key:a.to,to:a.to,class:"nav-link","active-class":"nav-link--active"},{default:i(()=>[s("span",T,t(a.icon),1),s("span",null,t(a.label),1)]),_:2},1032,["to"])),64))])]),s("div",D,[s("header",F,[s("div",{class:"cwd",title:l(n)},[o[1]||(o[1]=s("span",{class:"cwd-label"},"cwd",-1)),s("code",z,t(l(n)||"—"),1)],8,j),c(b,{size:"sm",color:"gray",variant:"ghost",onClick:p},{default:i(()=>[...o[2]||(o[2]=[B(" Logout ",-1)])]),_:1})]),s("main",A,[N(m.$slots,"default",{},void 0,!0)])])])}}}),K=y(E,[["__scopeId","data-v-6cf41085"]]);export{K as default};
