import{D as h,j as t,bq as u,aT as f,at as g,ak as j}from"./vendor-mui-core-DnR6WYuU.js";import{c as y,N as S,q as b,l as E}from"./index-BZxsCCR_.js";import{C as N}from"./config-space-LrsWMRQl.js";import{H as P}from"./addon-eWPw19hG.js";import{P as W,L as v}from"./vendor-arcblock-CIBaEWEy.js";import{u as L,W as k}from"./wizard-components-Brz3KBMW.js";import"./vendor-react-CTtPmzVP.js";import"./vendor-ux-DTEmWsko.js";import"./vendor-utils-CxWN1dT3.js";import"./vendor-hooks-qxhUUbW5.js";import"./lottie-web-4koyQiv_.js";import"./spaces-DBCz6tUn.js";import"./api-FQQlzPOP.js";import"./question-mark-circle.svg-CByEVDhb.js";import"./get-safe-url-D4mirsKD.js";import"./use-server-logo-Cv1kAPgB.js";import"./server-logo-notext.svg-xZ-i1SpD.js";import"./use-mobile-BINJTzMb.js";function Y(){const s=h(),a=`${y.WELLKNOWN_SERVICE_PATH_PREFIX}/setup`,{meta:e,blocklet:o,launcherSession:r,steps:i,stepIndex:l,totalSteps:p,logoUrl:n,logo:m,t:d,onNext:c,onPrevious:x}=L(a);return t.jsx(W,{steps:p,children:t.jsx(S,{children:t.jsxs(N,{children:[t.jsx(u,{styles:w}),t.jsx(C,{children:t.jsx(v,{locale:"zh",loading:!1,blockletMeta:{...e,title:b.getDisplayName({...o,meta:e})},navLogo:m,pcWidth:"80%",style:{height:"100%"},logoUrl:n,useOfSkeleton:!1,extraNav:null,headerEndAddons:t.jsx(P,{SessionContext:E,sessionManagerProps:{disableLogout:!0}}),theme:s,launchingText:d("setup.title"),children:t.jsx(k,{blocklet:o,stepIndex:l,steps:i,onNext:c,onPrevious:x,launcherSession:r})})})]})})})}const w=f`
  html,
  body,
  #app,
  #app > .wrapper {
    height: 100%;
  }
`,C=g(j)`
  /* display: flex;
  min-width: 0;
  flex: 1 1 0; */
  height: 100%;

  & .layout-content {
    min-width: 0;
    flex: 1 1 0;
  }

  & .ll-header {
    @media (max-width: 960px) {
      padding: 0 12px;
    }
  }
`;export{Y as default};
