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