import{r as m}from"./vendor-react-Dvs43sk9.js";import{V as n}from"./vendor-ux-5OlTXZBe.js";import{ac as p,_ as l,ae as c,e as u}from"./index-Cq3xfsOS.js";import{a as x,b as d}from"./domain-action-card-CXIxAIsm.js";import{j as t,ak as k,b1 as f,aX as h}from"./vendor-mui-core-CnXrAOs3.js";import"./vendor-utils-cJEl_UEd.js";import"./vendor-hooks-CjESGRlR.js";import"./lottie-web-4koyQiv_.js";import"./vendor-arcblock-CqplRmyi.js";import"./useSetState-DFuQZPPV.js";import"./permission-CPpfaEat.js";import"./session-BYq9-2GE.js";import"./useAsyncRetry-DwwEjrjs.js";import"./useAsync-cZ_FPf9k.js";import"./confirm-D_oS4C5N.js";import"./index-DBs9Ljax.js";import"./actions-DqoNrBDK.js";import"./delete-confirm-DwFvaC6s.js";import"./click-to-copy-CzGMi2Jw.js";import"./useAsync-BcVLpt2E.js";import"./index-DTj7lG0j.js";import"./util-B1w9UqzK.js";import"./engine-DXhw4g-J.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};
