import{d as w,s as y,bj as C,E as $,f as B,U as V}from"./nqd95jrf.js";import{_ as P}from"./nmarkdown.vue-lym2fx3e.js";import{k as v,M as a,$ as o,Q as t,a0 as c,U as i,a5 as m,W as l,S as E,ab as F,a1 as I,a6 as L,F as M}from"./vendor/json-editor-vue-fw81xiot.js";const S={"text-xl":""},T={flex:"~ gap2 wrap"},Q=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 k=C,g=P,b=$,h=B,N=V,x=w;return t(),a(x,null,{default:o(()=>[c(N,{flex:"~ col gap2",mxa:"","min-w-100":"","items-center":"",p6:""},{default:o(()=>[c(k,{mb2:"","text-5xl":"",icon:e.icon||e.icon,title:e.title},null,8,["icon","title"]),i("h1",S,m(e.title),1),e.description?(t(),a(g,{key:0,mb2:"","mt--1":"","text-center":"","text-base":"",op50:"",markdown:e.description},null,8,["markdown"])):l("",!0),i("div",T,[(t(!0),E(M,null,F(e.actions,(n,r)=>(t(),a(h,I({key:r,n:"solid primary",disabled:n.pending,to:n.src,target:n.src?"_blank":void 0,ref_for:!0},n.attrs,{onClick:U=>f(n,r)}),{default:o(()=>[n.pending?(t(),a(b,{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{Q as _};
