import{d as h,eA as v,H as k,b as t,ev as u,u as e,c as s,ex as w,e as x,w as n,ew as C,bg as I,ar as f,aD as D,eC as N,f as c,eD as T,I as B,v as H}from"./outputWidgets.74b0761d.js";import{g as V}from"./api.4eab114f.js";import{a as z}from"./asyncComputed.fbb4ba44.js";import{P as A}from"./PlayerNavbar.cb89c7f6.js";import{e as F}from"./icons.fd5c09b0.js";import"./index.16665973.js";import"./index.f98927c8.js";import{A as _}from"./index.0327679a.js";import{T as y}from"./Typography.5e0282a3.js";import{C as S}from"./Card.967eb2c9.js";import"./runnerData.1309ae56.js";import"./url.0584bb06.js";import"./index.3d4fca98.js";import"./pubsub.4c1d9617.js";import"./repository.b87482a1.js";import"./ArrowRightOutlined.08fa31dd.js";import"./Base.4463d78c.js";import"./Link.f1c82f1d.js";import"./Paragraph.5d2768c0.js";import"./Text.b007494b.js";import"./Title.a6d4b5b0.js";import"./TabPane.8b1f794d.js";import"./hasIn.d2130316.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new Error().stack;i&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[i]="5cdebebe-b396-4288-a3ce-6d5de1104d85",a._sentryDebugIdIdentifier="sentry-dbid-5cdebebe-b396-4288-a3ce-6d5de1104d85")}catch{}})();const E={class:"page"},L=h({__name:"Home",setup(a){const i=v(),{result:r,loading:g}=z(V),m=k(()=>{var o,p;return(p=(o=r.value)==null?void 0:o.sidebar.filter(d=>d.visible))!=null?p:[]}),b=o=>{i.push({path:`/${o}`})};return(o,p)=>{var d;return t(),u("div",E,[e(r)?(t(),s(A,{key:0,"runner-data":e(r),"hide-sidebar":""},null,8,["runner-data"])):w("",!0),x("div",{class:"container",style:C({backgroundColor:(d=e(r))==null?void 0:d.theme})},[e(g)?(t(),s(e(I),{key:0})):m.value.length===0?(t(),s(e(y),{key:1,type:"secondary",style:{"font-size":"18px"}},{default:n(()=>[f(" There are no public forms available ")]),_:1})):(t(),s(e(_),{key:2,vertical:"",gap:"large",style:{padding:"120px 0"}},{default:n(()=>[(t(!0),u(D,null,N(m.value,l=>(t(),s(e(S),{key:l.id,class:"form-card",onClick:P=>b(l.path)},{default:n(()=>[c(e(_),{gap:"large",align:"center",justify:"space-between"},{default:n(()=>[c(e(y),{style:{"font-size":"18px","font-weight":"500"}},{default:n(()=>[f(T(l.name),1)]),_:2},1024),c(B,{path:e(F),fill:"#000",width:"20"},null,8,["path"])]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1}))],4)])}}});const de=H(L,[["__scopeId","data-v-556afd7c"]]);export{de as default};
//# sourceMappingURL=Home.83377bb0.js.map
