import{d as w,eA as A,eB as B,r as b,H as D,b as t,c as p,w as a,ev as i,eC as v,u as n,cx as N,a$ as y,bu as $,f as o,ez as L,I as m,ar as V,eD as E,ex as g,bw as R,v as k,eE as T,eF as M,e as x,a as q}from"./outputWidgets.108432da.js";import{p as z,w as F,k as H,s as P,a as W,b as j,v as G,c as J,d as K}from"./icons.9db31d3d.js";import{_ as O}from"./logo.084e5d7c.js";import{B as Q}from"./BaseLayout.b47b7084.js";import{N as U}from"./NavbarControls.c1229bc2.js";import{c as X}from"./index.459c94be.js";import"./workspaces.60095db4.js";import"./runnerData.2d2c2e52.js";import"./url.42281f8e.js";import"./record.15041cf5.js";import"./pubsub.98ab975f.js";import"./asyncComputed.9818a09a.js";import"./envVars.be0f1165.js";import"./index.dc3329a0.js";import"./SaveButton.vue_vue_type_script_setup_true_lang.fde99114.js";import"./ant-design.4dbd5b92.js";import"./index.a196927e.js";import"./Modal.efcd7ec2.js";import"./Typography.6afbacd7.js";import"./Link.7230a499.js";import"./Base.f7c93d8e.js";import"./index.f1594c4d.js";import"./popupNotifcation.41cdedf1.js";import"./index.3d290fbb.js";import"./Text.1a62e50a.js";import"./DocsButton.vue_vue_type_script_setup_true_lang.c535f159.js";import"./Paragraph.d17409a8.js";import"./ArrowRightOutlined.08fa31dd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="c797b489-2116-4a35-82f5-e64e18b5d4f2",e._sentryDebugIdIdentifier="sentry-dbid-c797b489-2116-4a35-82f5-e64e18b5d4f2")}catch{}})();const Y={key:0,class:"collapsible"},Z={key:1,class:"collapsible"},ee=w({__name:"Sidebar",setup(e){var h;const s=A(),d=B(),l=b((h=d.name)!=null?h:"forms"),r=b(!1),f=()=>{r.value=!r.value},C=D(()=>[{name:"Project",children:[{name:"Stages",icon:z,path:"stages"},{name:"Workflow",icon:F,path:"workflow"},{name:"Threads",icon:H,path:"kanban"}]},{name:"Settings",children:[{name:"Style",icon:P,path:"style"},{name:"Sidebar",icon:W,path:"sidebar"},{name:"Requirements",icon:j,path:"requirements"},{name:"Env Vars",icon:G,path:"env-vars"}]}]),S=_=>{s.push(_.path),l.value=_.path};return(_,le)=>(t(),p(n(R),{"inline-collapsed":r.value,style:{display:"flex","flex-direction":"column"}},{default:a(()=>[(t(!0),i(y,null,v(C.value,u=>(t(),p(n(N),{key:u.name,title:u.name},{default:a(()=>[(t(!0),i(y,null,v(u.children,c=>(t(),p(n($),{key:c.name,role:"button",tabindex:"0",onClick:pe=>S(c)},{icon:a(()=>[o(m,{class:L({active:l.value===c.path}),path:c.icon,width:"18",height:"18"},null,8,["class","path"])]),default:a(()=>[V(E(c.name),1)]),_:2},1032,["onClick"]))),128))]),_:2},1032,["title"]))),128)),r.value?(t(),i("div",Y,[o(m,{path:n(J),onClick:f},null,8,["path"])])):g("",!0),r.value?g("",!0):(t(),i("div",Z,[o(m,{path:n(K),onClick:f},null,8,["path"])]))]),_:1},8,["inline-collapsed"]))}});const te=k(ee,[["__scopeId","data-v-4aaf506f"]]);const ae={},I=e=>(T("data-v-81cd596e"),e=e(),M(),e),oe={class:"logo"},se=I(()=>x("img",{src:O,alt:"Abstra cloud logo"},null,-1)),ne=I(()=>x("span",null," Abstra ",-1)),re=[se,ne];function ce(e,s){return t(),i("div",oe,re)}const ie=k(ae,[["render",ce],["__scopeId","data-v-81cd596e"]]),ze=w({__name:"Workspace",setup(e){return(s,d)=>{const l=q("router-view");return t(),p(Q,{"full-canvas":""},{navbar:a(()=>[o(n(X),{style:{padding:"5px 25px"}},{title:a(()=>[o(ie)]),extra:a(()=>[o(U,{"show-github-stars":"","show-v-s-code-button":""})]),_:1})]),sidebar:a(()=>[o(te,{class:"sidebar"})]),content:a(()=>[o(l)]),_:1})}}});export{ze as default};
//# sourceMappingURL=Workspace.0a26f690.js.map
