(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{2821:(e,r,s)=>{"use strict";s.d(r,{A:()=>t});let t=function(){for(var e,r,s=0,t="",a=arguments.length;s<a;s++)(e=arguments[s])&&(r=function e(r){var s,t,a="";if("string"==typeof r||"number"==typeof r)a+=r;else if("object"==typeof r)if(Array.isArray(r)){var n=r.length;for(s=0;s<n;s++)r[s]&&(t=e(r[s]))&&(a&&(a+=" "),a+=t)}else for(t in r)r[t]&&(a&&(a+=" "),a+=t);return a}(e))&&(t&&(t+=" "),t+=r);return t}},13673:()=>{},16078:(e,r,s)=>{Promise.resolve().then(s.t.bind(s,13673,23)),Promise.resolve().then(s.bind(s,61871))},20063:(e,r,s)=>{"use strict";var t=s(47260);s.o(t,"usePathname")&&s.d(r,{usePathname:function(){return t.usePathname}}),s.o(t,"useRouter")&&s.d(r,{useRouter:function(){return t.useRouter}}),s.o(t,"useSearchParams")&&s.d(r,{useSearchParams:function(){return t.useSearchParams}})},61871:(e,r,s)=>{"use strict";s.d(r,{Sidebar:()=>o});var t=s(95155),a=s(52619),n=s.n(a),i=s(20063),l=s(2821);let c=[{href:"/",label:"Dashboard",icon:"◧"},{href:"/timeline",label:"Timeline",icon:"☰"},{href:"/projects",label:"Projects",icon:"▦"},{href:"/sessions",label:"Sessions",icon:"⌘"},{href:"/analytics",label:"Analytics",icon:"⌁"}];function o(){let e=(0,i.usePathname)();return(0,t.jsxs)("aside",{className:"w-56 shrink-0 border-r border-surface-2 bg-surface-0 flex flex-col sticky top-0 h-screen self-start",children:[(0,t.jsxs)("div",{className:"px-5 border-b border-surface-2 h-[72px] flex flex-col justify-center",children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-1.5 leading-none",children:[(0,t.jsx)("span",{className:"text-primary text-base",children:"◧"}),(0,t.jsxs)("span",{className:"text-lg font-bold tracking-tight",children:[(0,t.jsx)("span",{className:"text-ink-dim",children:"Agent"}),(0,t.jsx)("span",{className:"text-primary",children:"Graphed"})]})]}),(0,t.jsx)("div",{className:"text-[10px] uppercase tracking-wider text-ink-mute mt-1.5",children:"See your AI work"})]}),(0,t.jsx)("nav",{className:"px-2 py-3 flex-1 flex flex-col gap-0.5",children:c.map(r=>{let s="/"===r.href?"/"===e:e.startsWith(r.href);return(0,t.jsxs)(n(),{href:r.href,className:(0,l.A)("flex items-center gap-3 px-3 py-2 rounded text-[13px] transition-colors",s?"bg-surface-2 text-primary border-l-2 border-primary -ml-px":"text-ink-dim hover:text-ink hover:bg-surface-1"),children:[(0,t.jsx)("span",{className:"text-base w-4 text-center opacity-80",children:r.icon}),(0,t.jsx)("span",{children:r.label})]},r.href)})}),(0,t.jsx)("div",{className:"px-2 py-3 border-t border-surface-2",children:(0,t.jsxs)(n(),{href:"/settings",className:(0,l.A)("flex items-center gap-3 px-3 py-2 rounded text-[13px] transition-colors",e.startsWith("/settings")?"bg-surface-2 text-primary border-l-2 border-primary -ml-px":"text-ink-dim hover:text-ink hover:bg-surface-1"),children:[(0,t.jsx)("span",{className:"text-base w-4 text-center opacity-80",children:"⚙"}),(0,t.jsx)("span",{children:"Settings"})]})})]})}}},e=>{e.O(0,[978,619,441,255,358],()=>e(e.s=16078)),_N_E=e.O()}]);