import{D as h,j as t,aY as u,aT as f,at as g,ak as j}from"./vendor-mui-core-CnXrAOs3.js";import{c as S,N as y,e as E,S as N}from"./index-sNHCLgAE.js";import{C as P}from"./config-space-zpk7zMxf.js";import{H as b}from"./addon-b88MM48E.js";import{P as W,L as v}from"./vendor-arcblock-CuFtPveO.js";import{u as L,W as k}from"./wizard-components-BJpLH2_r.js";import"./vendor-react-Dvs43sk9.js";import"./vendor-ux-IiQnod3w.js";import"./vendor-utils-cJEl_UEd.js";import"./vendor-hooks-CjESGRlR.js";import"./lottie-web-4koyQiv_.js";import"./spaces-B0p4-23K.js";import"./api-Btn0Tp3W.js";import"./question-mark-circle.svg-B4stD6SS.js";import"./get-safe-url-DpalOXcM.js";import"./use-server-logo-n_aaKVoZ.js";import"./server-logo-notext.svg-CKQB0tIp.js";import"./use-mobile-maRlSUwU.js";function Q(){const s=h(),a=`${S.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(y,{children:t.jsxs(P,{children:[t.jsx(u,{styles:w}),t.jsx(C,{children:t.jsx(v,{locale:"zh",loading:!1,blockletMeta:{...e,title:E.getDisplayName({...o,meta:e})},navLogo:m,pcWidth:"80%",style:{height:"100%"},logoUrl:n,useOfSkeleton:!1,extraNav:null,headerEndAddons:t.jsx(b,{SessionContext:N,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{Q as default};
