import{g as h}from"./api.699355f9.js";import{a as k}from"./asyncComputed.b227690c.js";import{F as w}from"./PhArrowSquareOut.vue.0e8f16db.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 a,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.2c936b33.js";import"./index.8bb82a9c.js";import"./index.a4c707aa.js";import{A as _}from"./index.18754ce2.js";import{a as y}from"./Base.7b44942c.js";import{C as B}from"./Card.f5aa52bb.js";import"./index.1a150dc1.js";import"./fetch.5fc14eb3.js";import"./pubsub.4c454988.js";import"./runnerData.02c403dc.js";import"./url.a282f1d5.js";import"./Link.bdb77d32.js";import"./Paragraph.51f31516.js";import"./Text.a2f30647.js";import"./Title.6affb5db.js";import"./TabPane.339a4539.js";import"./hasIn.85b27717.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new Error().stack;s&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[s]="83d2640c-9803-46ce-b68b-71de9bdc9111",o._sentryDebugIdIdentifier="sentry-dbid-83d2640c-9803-46ce-b68b-71de9bdc9111")}catch{}})();const E=v({__name:"Home",setup(o){const s=x(),{result:p,loading:g}=k(h),m=C(()=>{var r,c;return(c=(r=p.value)==null?void 0:r.sidebar.filter(n=>n.visible))!=null?c:[]}),b=r=>{s.push({path:`/${r}`})};return(r,c)=>{var n;return t(),u("div",{class:"container",style:F({backgroundColor:(n=e(p))==null?void 0:n.theme})},[e(g)?(t(),i(e(I),{key:0})):m.value.length===0?(t(),i(e(y),{key:1,type:"secondary",style:{"font-size":"18px"}},{default:a(()=>[f(" There are no public forms available ")]),_:1})):(t(),i(e(_),{key:2,vertical:"",gap:"large",style:{padding:"120px 0"}},{default:a(()=>[(t(!0),u(D,null,H(m.value,l=>(t(),i(e(B),{key:l.id,class:"form-card",onClick:S=>b(l.path)},{default:a(()=>[d(e(_),{gap:"large",align:"center",justify:"space-between"},{default:a(()=>[d(e(y),{style:{"font-size":"18px","font-weight":"500"}},{default:a(()=>[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-420f3514"]]);export{ee as default};
//# sourceMappingURL=Home.043666c6.js.map
