import{r as m}from"./vendor-react-CUXIiAnY.js";import{V as n}from"./vendor-ux-r9bApERu.js";import{ac as p,_ as l,ae as c,e as u}from"./index-DY2wgD65.js";import{a as x,b as d}from"./domain-action-card-T3DMiJ6y.js";import{j as t,ak as k,b1 as f,aX as h}from"./vendor-mui-core-BPQ6AEW_.js";import"./vendor-utils-BgSaqjGx.js";import"./vendor-hooks-PN9SWiQm.js";import"./lottie-web-4koyQiv_.js";import"./vendor-arcblock-D8WYBDYe.js";import"./useSetState-cWrp7qoX.js";import"./permission-D8tLXhxc.js";import"./session-f4MooMkP.js";import"./useAsyncRetry-LJm0Fhbe.js";import"./useAsync-BCC9JxQR.js";import"./confirm-B8poMcDB.js";import"./index-DBs9Ljax.js";import"./actions-DhSvOHy-.js";import"./delete-confirm-CP7dMVbK.js";import"./click-to-copy-BuSTGPjJ.js";import"./useAsync-P_Velqz1.js";import"./index-ySP_m_Ux.js";import"./util-lUirhe3W.js";import"./engine-B4EBuR9s.js";function z(){const{blocklet:o,actions:{updateBlockletDomainAliases:i}}=p(),{inService:r}=l(),{t:e}=n(),a=m.useMemo(()=>{let s=!0;return c(o)&&(s=s&&r),s},[r,o]);return t.jsxs(k,{component:f,sx:{gap:3,maxWidth:820},children:[t.jsxs(t.Fragment,{children:[u.isAccessible(o.status)===!1&&t.jsx(h,{severity:"warning",children:e("blocklet.router.noRunning")}),a&&t.jsx(x,{blocklet:o,updateBlockletDomainAliases:i,connectDomainProps:{shouldCheckDomain:!0}})]}),t.jsx(d,{showAllDomains:!0,updateBlockletDomainAliases:i})]})}export{z as default};
