const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./vue-router-BQ6kViA5.js","./vue-lxu90ABC.js"])))=>i.map(i=>d[i]);
var R=Object.defineProperty;var A=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var E=(o,e,t)=>e in o?R(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,d=(o,e)=>{for(var t in e||(e={}))h.call(e,t)&&E(o,t,e[t]);if(A)for(var t of A(e))x.call(e,t)&&E(o,t,e[t]);return o};var l=(o,e,t)=>new Promise((p,r)=>{var i=a=>{try{n(t.next(a))}catch(m){r(m)}},_=a=>{try{n(t.throw(a))}catch(m){r(m)}},n=a=>a.done?p(a.value):Promise.resolve(a.value).then(i,_);n((t=t.apply(o,e)).next())});import{_ as w}from"./monaco-editor-B5WUUp7a.js";import{useRoute as P}from"./vue-router-BQ6kViA5.js";import"./element-plus-ciXMzd3x.js";import"./vxe-Cxl6Y1mN.js";import{j as g,S as V,m as S,_ as T,w as k,A as B,d as D}from"./Editor-CuHU2UOb-CNnJYpWJ.js";import{a as I,n as y,l as O,E as j}from"./utils-D4ljs0Zz.js";import{s as L}from"./@vueuse-CAg6njPM.js";import{d as z,az as C,e as H,K,O as N,P as b,o as q,h as F}from"./vue-lxu90ABC.js";import"./lodash-es-BL-d_OSa.js";import"./@element-plus-icons-vue-F28aem0n.js";import"./shared-DgX_DHMy.js";import"./dayjs-DO-COJPZ.js";import"./html2canvas-CIV5arX1.js";import"./mockjs-CAmsTtoR.js";import"./marked-BQZxLJfc.js";const ne=z({__name:"page",setup(o){return l(this,null,function*(){let e,t;const p=new g(V(y)),r=([e,t]=C(()=>p.getExtension().catch(()=>null)),e=yield e,t(),e),i=S({loading:O,notify:y,useTitle:L,alert:I,access:r==null?void 0:r.access}),_=r?([e,t]=C(()=>new j(r).load()),e=yield e,t(),e):{},{__BASE_PATH__:n="/"}=r||{},{provider:a,onReady:m}=T({mode:k.Runtime,service:p,materialPath:n,adapter:d(d({},i),_.adapter),dependencies:{Vue:()=>w(()=>import("./vue-lxu90ABC.js").then(s=>s.aA),[],import.meta.url),VueRouter:()=>w(()=>import("./vue-router-BQ6kViA5.js"),__vite__mapDeps([0,1]),import.meta.url)}}),f=P(),c=H(),u=F();return m(()=>l(null,null,function*(){const s=u==null?void 0:u.appContext.app;s&&(s.use(B),s.use(a),c.value=yield a.getRenderComponent(f.params.id.toString(),v=>{D(s,f,v)}))})),(s,v)=>c.value?(q(),K(b(c.value),{key:0})):N("",!0)})}});export{ne as default};
