import{c as w,q as y,bc as C,D as B,e as V,W as $}from"./howhlbef.js";import{_ as v}from"./nmarkdown.vue-h4mq92u9.js";import{k as P,N as a,a0 as o,R as n,a1 as r,V as i,a6 as m,X as l,U as D,ac as F,a2 as I,a7 as L,F as T}from"./vendor/json-editor-vue-gplv2x2n.js";const q={"text-xl":""},E={flex:"~ gap2 wrap"},U=P({__name:"LaunchPage",props:{name:{},icon:{},title:{},description:{},actions:{}},emits:["action"],setup(_,{emit:p}){const d=_,u=p;function f(e,s){y("launch-page",{pageName:d.name}),e.handle?.(),u("action",s)}return(e,s)=>{const k=C,g=v,N=B,b=V,h=$,x=w;return n(),a(x,null,{default:o(()=>[r(h,{flex:"~ col gap2",mxa:"","min-w-100":"","items-center":"",p6:""},{default:o(()=>[r(k,{mb2:"","text-5xl":"",icon:e.icon||e.icon,title:e.title},null,8,["icon","title"]),i("h1",q,m(e.title),1),e.description?(n(),a(g,{key:0,mb2:"","mt--1":"","text-center":"","text-base":"",op50:"",markdown:e.description},null,8,["markdown"])):l("",!0),i("div",E,[(n(!0),D(T,null,F(e.actions,(t,c)=>(n(),a(b,I({key:c,n:"solid primary",disabled:t.pending,to:t.src,target:t.src?"_blank":void 0,ref_for:!0},t.attrs,{onClick:G=>f(t,c)}),{default:o(()=>[t.pending?(n(),a(N,{key:0,icon:"carbon-circle-dash","animate-spin":""})):l("",!0),L(" "+m(t.label),1)]),_:2},1040,["disabled","to","target","onClick"]))),128))])]),_:1})]),_:1})}}});export{U as _};
