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