import{g as h}from"./api.81454d28.js";import{a as k}from"./asyncComputed.d7d35a9b.js";import{F as w}from"./PhArrowSquareOut.vue.3874f694.js";import{d as v,eK as x,J as C,b as t,ew as u,u as e,c as i,w as r,ex as F,bh as I,as as f,aE as D,eF as H,f as d,eH as T,x as z}from"./outputWidgets.eb68177a.js";import"./index.bb8858c2.js";import"./index.1579fc05.js";import{A as _}from"./index.c8945831.js";import{a as y}from"./Base.20dd2a14.js";import{C as B}from"./Card.c49c4ced.js";import"./index.5efb03fa.js";import"./fetch.48bfa89a.js";import"./pubsub.bf42621d.js";import"./runnerData.fcb41115.js";import"./url.1bbc2ec6.js";import"./Link.59e40dde.js";import"./Paragraph.fd20e99e.js";import"./Text.accbe772.js";import"./Title.59fcdfbb.js";import"./TabPane.cc10803f.js";import"./hasIn.5508971f.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[s]="63945a23-e3ea-4443-a239-81c3ab36fc22",a._sentryDebugIdIdentifier="sentry-dbid-63945a23-e3ea-4443-a239-81c3ab36fc22")}catch{}})();const E=v({__name:"Home",setup(a){const s=x(),{result:c,loading:b}=k(h),m=C(()=>{var o,p;return(p=(o=c.value)==null?void 0:o.sidebar.filter(n=>n.visible))!=null?p:[]}),g=o=>{s.push({path:`/${o}`})};return(o,p)=>{var n;return t(),u("div",{class:"container",style:F({backgroundColor:(n=e(c))==null?void 0:n.theme})},[e(b)?(t(),i(e(I),{key:0})):m.value.length===0?(t(),i(e(y),{key:1,type:"secondary",style:{"font-size":"18px"}},{default:r(()=>[f(" There are no public forms available ")]),_:1})):(t(),i(e(_),{key:2,vertical:"",gap:"large",class:"cards-container"},{default:r(()=>[(t(!0),u(D,null,H(m.value,l=>(t(),i(e(B),{key:l.id,class:"form-card",onClick:S=>g(l.path)},{default:r(()=>[d(e(_),{gap:"large",align:"center",justify:"space-between"},{default:r(()=>[d(e(y),{style:{"font-size":"18px","font-weight":"500"}},{default:r(()=>[f(T(l.name),1)]),_:2},1024),d(e(w),{color:"#000",width:"20"})]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1}))],4)}}});const ee=z(E,[["__scopeId","data-v-9cbd9cb0"]]);export{ee as default};
//# sourceMappingURL=Home.d521aeec.js.map
