import{g as _}from"./api.2418387e.js";import{W as g}from"./Watermark.d47c9511.js";import{i as h}from"./metadata.3e87581a.js";import{a as k}from"./asyncComputed.7b5c3427.js";import{W as w}from"./WidgetsFrame.ff15d6d6.js";import{F as b}from"./PhArrowSquareOut.vue.0479da5c.js";import{d as x,eM as v,f as C,u as e,o as s,c,w as a,ew as D,b as n,cO as d,as as f,eu as F,eD as I,cW as u,eE as W,eA as E,aE as T,S as V}from"./vue-router.74c693f1.js";import"./index.e175b626.js";import{C as z}from"./Card.e642dff5.js";import"./router.1b9ffe64.js";import"./runnerData.91386489.js";import"./url.8b7ee03b.js";import"./PhCheckCircle.vue.970d6f97.js";import"./PhKanban.vue.b54530a2.js";import"./PhScroll.vue.9a674589.js";import"./PhWebhooksLogo.vue.ea04f3c9.js";import"./TabPane.bfa47506.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new Error().stack;i&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[i]="4a6f9001-1973-48a4-89e8-7542f7962535",o._sentryDebugIdIdentifier="sentry-dbid-4a6f9001-1973-48a4-89e8-7542f7962535")}catch{}})();const B=x({__name:"Home",setup(o){const i=v(),{result:t}=k(_),p=C(()=>{var r;return((r=t.value)==null?void 0:r.sidebar.filter(l=>l.id!=="home"))||[]}),y=r=>{i.push({path:`/${r}`})};return(r,l)=>e(t)?(s(),c(w,{key:0,class:"home-container","main-color":e(t).mainColor,theme:e(t).theme,"font-family":e(t).fontFamily},{default:a(()=>[n(e(u),{vertical:"",gap:"large",class:"cards-container"},{default:a(()=>[p.value.length===0?(s(),c(e(d),{key:0,type:"secondary",style:{"font-size":"18px"}},{default:a(()=>[f(" There are no forms available for you. ")]),_:1})):(s(!0),F(T,{key:1},I(p.value,m=>(s(),c(e(z),{key:m.id,class:"form-card",onClick:H=>y(m.path)},{default:a(()=>[n(e(u),{gap:"large",align:"center",justify:"space-between"},{default:a(()=>[(s(),c(W(e(h)(m.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),n(e(d),{style:{"font-size":"18px","font-weight":"500"}},{default:a(()=>[f(E(m.name),1)]),_:2},1024),n(e(b),{size:"20"})]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1}),n(g,{class:"watermark","page-id":"home"})]),_:1},8,["main-color","theme","font-family"])):D("",!0)}});const Y=V(B,[["__scopeId","data-v-3386a4b2"]]);export{Y as default};
//# sourceMappingURL=Home.904af58d.js.map
