import{r as m}from"./vendor-react-CTtPmzVP.js";import{V as n}from"./vendor-ux-DMZIE6wA.js";import{Y as p,Z as l,ag as c,q as u}from"./index-DwyzCfdd.js";import{a as x,b as d}from"./domain-action-card-BB0jQwcH.js";import{j as t,ak as k,b6 as f,aZ as h}from"./vendor-mui-core-DnR6WYuU.js";import"./vendor-utils-D5UG1a5Y.js";import"./vendor-hooks-BZ19vVZ7.js";import"./lottie-web-4koyQiv_.js";import"./vendor-arcblock-DkdOhPyM.js";import"./useSetState-L-f8mSga.js";import"./permission-C0bmOzVj.js";import"./session-Des-0R_y.js";import"./useAsyncRetry-BnuUJFwY.js";import"./useAsync-CxjyODHb.js";import"./confirm-Bpit6U3-.js";import"./index-DBs9Ljax.js";import"./actions-Dfiiwkit.js";import"./delete-confirm-L0HXJtqt.js";import"./click-to-copy-CwdgHxjB.js";import"./useAsync-CgTefzpB.js";import"./index-CaTDaKrX.js";import"./util-DXf_zMuU.js";import"./engine-DWk3y4cO.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};
