import{d as y,h as a,j as o,A as w,o as n,i as r,k as i,t as m,p as l,m as C,n as B,ay as V,v as $,F as v,V as P,bZ as F,a6 as I,_ as L,at as T}from"./CAAfHP_R.js";import{_ as j}from"./Cd70Y59n.js";const A={"text-xl":""},D={flex:"~ gap2 wrap"},S=y({__name:"LaunchPage",props:{name:{},icon:{},title:{},description:{},actions:{}},emits:["action"],setup(_,{emit:p}){const d=_,u=p;function f(e,s){P("launch-page",{pageName:d.name}),e.handle?.(),u("action",s)}return(e,s)=>{const k=F,g=j,h=I,b=L,N=T,x=w;return n(),a(x,null,{default:o(()=>[r(N,{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",A,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",D,[(n(!0),C(v,null,B(e.actions,(t,c)=>(n(),a(b,V({key:c,n:"solid primary",disabled:t.pending,to:t.src,target:t.src?"_blank":void 0,ref_for:!0},t.attrs,{onClick:E=>f(t,c)}),{default:o(()=>[t.pending?(n(),a(h,{key:0,icon:"carbon-circle-dash","animate-spin":""})):l("",!0),$(" "+m(t.label),1)]),_:2},1040,["disabled","to","target","onClick"]))),128))])]),_:1})]),_:1})}}});export{S as _};
