import{r as m}from"./vendor-react-CTtPmzVP.js";import{V as n}from"./vendor-ux-DfSgTRg5.js";import{Y as p,Z as l,ag as c,q as u}from"./index-BHa1_Bjz.js";import{a as x,b as d}from"./domain-action-card-BzceZepB.js";import{j as t,ak as k,b6 as f,aZ as h}from"./vendor-mui-core-DnR6WYuU.js";import"./vendor-utils-drLlzTVq.js";import"./vendor-hooks-cYMUGE4V.js";import"./lottie-web-4koyQiv_.js";import"./vendor-arcblock-CPCSE54a.js";import"./useSetState-L-f8mSga.js";import"./permission-HtrJm1h2.js";import"./session-Cm8j8XeZ.js";import"./useAsyncRetry--1T7wYe2.js";import"./useAsync-xXSiXzwr.js";import"./confirm-DTx9f3Ke.js";import"./index-DBs9Ljax.js";import"./actions-Dfiiwkit.js";import"./delete-confirm-HiRqbh9-.js";import"./click-to-copy-B2HIKJMV.js";import"./useAsync-VEqKX7rF.js";import"./index-BP_Fl0Mu.js";import"./util-DIVJQVg1.js";import"./engine-BzngvK61.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};
