import{g as _}from"./api.bc8b8d53.js";import{i as g}from"./metadata.a2280914.js";import{a as h}from"./asyncComputed.e188c84d.js";import{W as b}from"./WidgetsFrame.4914fd38.js";import{F as k}from"./PhArrowSquareOut.vue.40da27c6.js";import{d as w,f7 as x,y as v,u as e,b as o,c as n,w as a,eX as C,cS as c,am as f,cY as u,eV as F,f2 as D,f as d,f3 as I,f4 as V,ay as T,E as B}from"./outputWidgets.abde7be7.js";import"./index.d7be0126.js";import{C as E}from"./Card.562cc5dd.js";import"./index.1a93e2de.js";import"./fetch.3b6246ff.js";import"./pubsub.7f579dee.js";import"./runnerData.ab456c17.js";import"./url.578d50c3.js";import"./PhCheckCircle.vue.9630c7d1.js";import"./PhKanban.vue.918adea5.js";import"./PhScroll.vue.90c26429.js";import"./PhWebhooksLogo.vue.68b418b3.js";import"./TabPane.7e495c62.js";import"./hasIn.b8f131ab.js";import"./PlusOutlined.cf52d035.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},i=new Error().stack;i&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[i]="e595d5ef-d6de-48d3-84e4-00a250a91195",r._sentryDebugIdIdentifier="sentry-dbid-e595d5ef-d6de-48d3-84e4-00a250a91195")}catch{}})();const H=w({__name:"Home",setup(r){const i=x(),{result:t}=h(_),l=v(()=>{var s,m;return(m=(s=t.value)==null?void 0:s.sidebar)!=null?m:[]}),y=s=>{i.push({path:`/${s}`})};return(s,m)=>e(t)?(o(),n(b,{key:0,class:"runner","main-color":e(t).mainColor,theme:e(t).theme,"font-family":e(t).fontFamily},{default:a(()=>[l.value.length===0?(o(),n(e(c),{key:0,type:"secondary",style:{"font-size":"18px"}},{default:a(()=>[f(" There is no public form available for you here. ")]),_:1})):(o(),n(e(u),{key:1,vertical:"",gap:"large",class:"cards-container"},{default:a(()=>[(o(!0),F(T,null,D(l.value,p=>(o(),n(e(E),{key:p.id,class:"form-card",onClick:N=>y(p.path)},{default:a(()=>[d(e(u),{gap:"large",align:"center",justify:"space-between"},{default:a(()=>[(o(),n(I(e(g)(p.type)),{style:{"flex-shrink":"0",width:"22px",height:"18px"}})),d(e(c),{style:{"font-size":"18px","font-weight":"500"}},{default:a(()=>[f(V(p.name),1)]),_:2},1024),d(e(k),{color:"#000",width:"20"})]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1}))]),_:1},8,["main-color","theme","font-family"])):C("",!0)}});const ee=B(H,[["__scopeId","data-v-7d0e0e50"]]);export{ee as default};
//# sourceMappingURL=Home.d6187533.js.map
