import{b as u}from"/build/_shared/chunk-3X23XH62.js";import"/build/_shared/chunk-URNZPFSF.js";import{a as g}from"/build/_shared/chunk-W35ZGJOG.js";import{a as w,b as x}from"/build/_shared/chunk-KTCKOGJM.js";import{F as f,J as m,M as p,v as d}from"/build/_shared/chunk-C3GUTQLB.js";import{D as s,q as i,s as a,v as c,z as l}from"/build/_shared/chunk-UT3CV7CR.js";import{d as n}from"/build/_shared/chunk-G5WX4PPA.js";var o=n(s()),h=({data:t})=>t!=null&&t.action?{title:`${t.action.title} | Runnable`}:{title:"Runnable"};function y(){let{namespace:t,action:r,actionId:e}=l();return r?(0,o.jsxs)(g,{title:["Actions",r.title],animationKey:i().pathname,children:[(0,o.jsxs)(m,{spacing:6,alignItems:"flex-start",children:[(0,o.jsx)(p,{as:"h2",size:"xl",children:r.title}),(0,o.jsx)(f,{children:r.description}),(0,o.jsx)(d,{size:"md",height:"48px",width:"200px",variant:"ghost",border:"2px",borderColor:"teal.500",as:c,colorScheme:"teal",to:u(`/actions/${t}.${e}/workflows/new`),children:"New"})]}),(0,o.jsx)(a,{})]}):(0,o.jsxs)("div",{children:["Cannot find action ",e]})}export{w as CatchBoundary,x as ErrorBoundary,y as default,h as meta};
