import{_ as n}from"./Card.vue_vue_type_script_setup_true_lang.1703796278973.js";import{M as r}from"./index.17037962789732.js";import{g as p,l as c,i as f}from"./license.1703796278973.js";import{d as l,k as u,p as _,o as d,c as w,u as g}from"./vue.1703796278973.js";import"./index.1703796278973308.js";import"./index.170379627897334.js";import"./index.170379627897319.js";import"./index.170379627897327.js";import"./index.vue_vue_type_script_setup_true_name_PermissionButton_lang.1703796278973.js";import"./index.170379627897320.js";import"./index.170379627897315.js";import"./index.170379627897321.js";import"./permission.1703796278973.js";import"./index.170379627897314.js";import"./index.1703796278973310.js";import"./index.17037962789739.js";import"./_plugin-vue_export-helper.1703796278973.js";import"./index.17037962789733.js";import"./dayjs.min.1703796278973.js";import"./isArray.1703796278973.js";import"./editor.api.1703796278973.js";import"./preload-helper.1703796278973.js";import"./monaco.contribution.1703796278973.js";import"./system.1703796278973.js";import"./comm.1703796278973.js";import"./index.170379627897332.js";import"./index.170379627897333.js";import"./default.1703796278973.js";import"./consts.1703796278973.js";import"./404.1703796278973.js";const V=l({__name:"index",setup(h){let o=u();const e=t=>{t?a(t):r.error("请配置License")},s=async()=>{const t=await p();t.status===200&&(o.value=t.result)},a=async t=>{if((await c(t)).status===200){r.success("配置成功");const i=await f();i.status===200&&!i.result.length?window.location.href="/#/init-home":window.location.href="/"}};return _(()=>{s()}),(t,m)=>(d(),w(n,{infoData:g(o),onSaveData:e},null,8,["infoData"]))}});export{V as default};
