import{d as w,s as y,bj as C,E as B,f as V,U as $}from"./h48l6b7a.js";import{_ as P}from"./nmarkdown.vue-ffthu1ys.js";import{l as v,N as a,a0 as o,R as t,a1 as c,V as i,a6 as m,X as l,U as E,ac as F,a2 as I,a7 as L,F as T}from"./vendor/json-editor-vue-hrh84odz.js";const U={"text-xl":""},j={flex:"~ gap2 wrap"},S=v({__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 g=C,k=P,N=B,b=V,h=$,x=w;return t(),a(x,null,{default:o(()=>[c(h,{flex:"~ col gap2",mxa:"","min-w-100":"","items-center":"",p6:""},{default:o(()=>[c(g,{mb2:"","text-5xl":"",icon:e.icon||e.icon,title:e.title},null,8,["icon","title"]),i("h1",U,m(e.title),1),e.description?(t(),a(k,{key:0,mb2:"","mt--1":"","text-center":"","text-base":"",op50:"",markdown:e.description},null,8,["markdown"])):l("",!0),i("div",j,[(t(!0),E(T,null,F(e.actions,(n,r)=>(t(),a(b,I({key:r,n:"solid primary",disabled:n.pending,to:n.src,target:n.src?"_blank":void 0,ref_for:!0},n.attrs,{onClick:D=>f(n,r)}),{default:o(()=>[n.pending?(t(),a(N,{key:0,icon:"carbon-circle-dash","animate-spin":""})):l("",!0),L(" "+m(n.label),1)]),_:2},1040,["disabled","to","target","onClick"]))),128))])]),_:1})]),_:1})}}});export{S as _};
