import{W as g}from"./Watermark.ef8364ea.js";import{i as b}from"./metadata.8dc4f573.js";import{F as h}from"./PhArrowSquareOut.vue.5299d2c7.js";import{d as k,ek as w,f as x,u as e,W as m,b as o,w as r,R as v,o as s,c as p,ax as u,d1 as f,aJ as C,e9 as D,d9 as _,ea as I,e6 as F,$ as T}from"./vue-router.2175af64.js";import{u as W}from"./workspaceStore.d0364043.js";import"./index.a374f939.js";import{C as z}from"./Card.e8e29a1c.js";import"./PhBug.vue.03b8d41c.js";import"./PhCheckCircle.vue.5f84018f.js";import"./PhKanban.vue.2e9223b7.js";import"./PhWebhooksLogo.vue.39736b9f.js";import"./url.bfee0c48.js";import"./TabPane.ecb5d5c2.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]="5b30f376-0d63-4059-b7c8-2ab4aeb4e888",t._sentryDebugIdIdentifier="sentry-dbid-5b30f376-0d63-4059-b7c8-2ab4aeb4e888")}catch{}})();const B={key:0,class:"home-container"},H=k({__name:"Home",setup(t){const n=w(),c=W(),d=x(()=>{var a;return((a=c.state.workspace)==null?void 0:a.sidebar.filter(l=>l.id!=="home"))||[]}),y=a=>{n.push({path:`/${a}`})};return(a,l)=>e(c).state.workspace?(s(),m("div",B,[o(e(_),{vertical:"",gap:"large",class:"cards-container"},{default:r(()=>[d.value.length===0?(s(),p(e(f),{key:0,type:"secondary",style:{"font-size":"18px"}},{default:r(()=>[u(" There are no forms available for you. ")]),_:1})):(s(!0),m(C,{key:1},D(d.value,i=>(s(),p(e(z),{key:i.id,class:"form-card",onClick:N=>y(i.path)},{default:r(()=>[o(e(_),{gap:"large",align:"center",justify:"space-between"},{default:r(()=>[(s(),p(I(e(b)(i.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),o(e(f),{style:{"font-size":"18px","font-weight":"500"}},{default:r(()=>[u(F(i.name),1)]),_:2},1024),o(e(h),{size:"20"})]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1}),o(g,{class:"watermark","page-id":"home",locale:e(c).state.workspace.language},null,8,["locale"])])):v("",!0)}});const M=T(H,[["__scopeId","data-v-2ee244f8"]]);export{M as default};
//# sourceMappingURL=Home.7e2cbc41.js.map
