import{r as m}from"./vendor-react-DX7tU9aY.js";import{W as n}from"./vendor-ux-Dl3wVbv_.js";import{V as l,W as p,a1 as c,o as u}from"./index-Ca33rdd_.js";import{a as x,b as d}from"./domain-action-card-ugKl692S.js";import{j as t,al as k,b3 as f,b4 as h}from"./vendor-mui-core-D7t4vMS5.js";import"./vendor-utils-BzQg432x.js";import"./vendor-hooks-DAZ1H6Va.js";import"./vendor-arcblock-ivFYo5vP.js";import"./useSetState-CUbypYGT.js";import"./permission-DhyiLNfC.js";import"./session-lE2gmzzF.js";import"./useAsyncRetry-B-Txlvk6.js";import"./useAsync-DfiOQMQ_.js";import"./confirm-DQYDHHdS.js";import"./index-DBs9Ljax.js";import"./actions-Dktj9pEF.js";import"./delete-confirm-CpaOkuin.js";import"./click-to-copy-RBTqACSW.js";import"./use-mobile-DgmmfWdl.js";import"./useAsync-CkKfnulP.js";import"./index-CxOxF1pg.js";import"./util-ad0rjUA1.js";import"./engine-L1SEogaX.js";function H(){const{blocklet:o,actions:{updateBlockletDomainAliases:i}}=l(),{inService:r}=p(),{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{H as default};
