import{r as m}from"./vendor-react-CTtPmzVP.js";import{V as n}from"./vendor-ux-DjXlxcvL.js";import{Y as p,Z as l,ag as c,q as u}from"./index-BEfIUbZC.js";import{a as x,b as d}from"./domain-action-card-nuzd77mn.js";import{j as t,ak as k,b6 as f,aZ as h}from"./vendor-mui-core-CKKG_1TN.js";import"./vendor-utils-CUs2ebe7.js";import"./vendor-hooks-DQAdyHrE.js";import"./lottie-web-4koyQiv_.js";import"./vendor-arcblock-BCP2x3BR.js";import"./useSetState-L-f8mSga.js";import"./permission-CeqEAPPT.js";import"./session-Cin9Rizr.js";import"./useAsyncRetry-B_bXUXWM.js";import"./useAsync-D6IP8T2e.js";import"./confirm-D6AvlbAp.js";import"./index-DBs9Ljax.js";import"./actions-m1acuA78.js";import"./delete-confirm-BLy-Oo1o.js";import"./click-to-copy-Dk6ZAJOw.js";import"./useAsync-D0xh4Var.js";import"./index-BSZ3mQac.js";import"./util-CMCJQTXJ.js";import"./engine-DOYgeVKF.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};
