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