import{d as h,eA as v,H as k,b as t,ev as f,u as e,c as s,ex as w,e as x,w as n,ew as C,bg as I,ar as u,aD as D,eC as N,f as c,eD as T,I as B,v as H}from"./outputWidgets.66cb3323.js";import{g as V}from"./api.8cd7eeba.js";import{a as z}from"./asyncComputed.e916adae.js";import{P as A}from"./PlayerNavbar.afc576c9.js";import{e as F}from"./icons.bf22aa40.js";import"./index.7bcada14.js";import"./index.9cb65de1.js";import{A as _}from"./index.c07575ec.js";import{T as y}from"./Typography.2ce150f4.js";import{C as S}from"./Card.5f80e3a2.js";import"./runnerData.a18d3892.js";import"./url.50176a21.js";import"./index.b5362490.js";import"./pubsub.19cef690.js";import"./repository.b216f28e.js";import"./ArrowRightOutlined.08fa31dd.js";import"./Base.e0db6d09.js";import"./Link.71607fd1.js";import"./Paragraph.de06c047.js";import"./Text.86e9a2de.js";import"./Title.dfc9c803.js";import"./TabPane.b9680160.js";import"./hasIn.cda4df71.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]="7f641f07-eb87-4a35-90d0-18a60ec249b5",a._sentryDebugIdIdentifier="sentry-dbid-7f641f07-eb87-4a35-90d0-18a60ec249b5")}catch{}})();const E={class:"page"},L=h({__name:"Home",setup(a){const i=v(),{result:r,loading:g}=z(V),m=k(()=>{var o,l;return(l=(o=r.value)==null?void 0:o.sidebar.filter(p=>p.visible))!=null?l:[]}),b=o=>{i.push({path:`/${o}`})};return(o,l)=>{var p;return t(),f("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:(p=e(r))==null?void 0:p.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(()=>[u(" There are no public forms available ")]),_:1})):(t(),s(e(_),{key:2,vertical:"",gap:"large",style:{padding:"120px 0"}},{default:n(()=>[(t(!0),f(D,null,N(m.value,d=>(t(),s(e(S),{key:d.id,class:"form-card",onClick:P=>b(d.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(()=>[u(T(d.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 pe=H(L,[["__scopeId","data-v-556afd7c"]]);export{pe as default};
//# sourceMappingURL=Home.7f6f5a9f.js.map
