import{W as g}from"./Watermark.b53c8fd9.js";import{i as h}from"./metadata.97c76d2d.js";import{F as k}from"./PhArrowSquareOut.vue.33a16968.js";import{d as b,eN as w,f as x,u as e,o,V as m,b as r,w as s,R as v,c as p,aw as u,cS as f,aI as C,eD as D,c_ as _,eE as I,eA as V,Y as F}from"./vue-router.a333e065.js";import{u as N}from"./workspaceStore.bf1a2ac5.js";import"./index.dff0e71d.js";import{C as S}from"./Card.30555f3f.js";import"./router.c605742c.js";import"./PhCheckCircle.vue.f4992773.js";import"./PhKanban.vue.36dae975.js";import"./PhWebhooksLogo.vue.73a957f5.js";import"./api.3bef6029.js";import"./runnerData.38462a80.js";import"./url.30f67d32.js";import"./TabPane.4cf5b1ee.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="66663a82-c0b3-4aab-9470-b7725a5fc544",t._sentryDebugIdIdentifier="sentry-dbid-66663a82-c0b3-4aab-9470-b7725a5fc544")}catch{}})();const T={key:0,class:"home-container"},z=b({__name:"Home",setup(t){const n=w(),c=N(),l=x(()=>{var a;return((a=c.state.workspace)==null?void 0:a.sidebar.filter(d=>d.id!=="home"))||[]}),y=a=>{n.push({path:`/${a}`})};return(a,d)=>e(c).state.workspace?(o(),m("div",T,[r(e(_),{vertical:"",gap:"large",class:"cards-container"},{default:s(()=>[l.value.length===0?(o(),p(e(f),{key:0,type:"secondary",style:{"font-size":"18px"}},{default:s(()=>[u(" There are no forms available for you. ")]),_:1})):(o(!0),m(C,{key:1},D(l.value,i=>(o(),p(e(S),{key:i.id,class:"form-card",onClick:B=>y(i.path)},{default:s(()=>[r(e(_),{gap:"large",align:"center",justify:"space-between"},{default:s(()=>[(o(),p(I(e(h)(i.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),r(e(f),{style:{"font-size":"18px","font-weight":"500"}},{default:s(()=>[u(V(i.name),1)]),_:2},1024),r(e(k),{size:"20"})]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1}),r(g,{class:"watermark","page-id":"home",locale:e(c).state.workspace.language},null,8,["locale"])])):v("",!0)}});const O=F(z,[["__scopeId","data-v-2ee244f8"]]);export{O as default};
//# sourceMappingURL=Home.25a6c513.js.map
