diff --git a/magic-editor/src/console/dist/assets/app.a7e930c9.js b/magic-editor/src/console/dist/assets/app.e9d5d532.js similarity index 86% rename from magic-editor/src/console/dist/assets/app.a7e930c9.js rename to magic-editor/src/console/dist/assets/app.e9d5d532.js index 95e7f87c..06ac5f9b 100644 --- a/magic-editor/src/console/dist/assets/app.a7e930c9.js +++ b/magic-editor/src/console/dist/assets/app.e9d5d532.js @@ -1,4 +1,4 @@ -var Fi=Object.defineProperty,ji=Object.defineProperties;var Gi=Object.getOwnPropertyDescriptors;var Vn=Object.getOwnPropertySymbols;var Vi=Object.prototype.hasOwnProperty,Hi=Object.prototype.propertyIsEnumerable;var nn=(e,t,n)=>t in e?Fi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ce=(e,t)=>{for(var n in t||(t={}))Vi.call(t,n)&&nn(e,n,t[n]);if(Vn)for(var n of Vn(t))Hi.call(t,n)&&nn(e,n,t[n]);return e},He=(e,t)=>ji(e,Gi(t));var ft=(e,t,n)=>(nn(e,typeof t!="symbol"?t+"":t,n),n);import{r as T,o as v,c as U,u as k,a as L,F as Z,b as ue,n as de,w as ve,d as ee,e as R,t as G,f as $e,g as P,h as C,i as p,j as an,k as Yi,p as et,l as mt,m as Ki,q as tt,s as xe,v as Ke,x as gt,y as ae,z as J,A as nt,B as it,C as _e,D as se,T as Hn,E as vt,G as we,H as Wi,I as sn,J as qi,K as on,L as Yn,M as lt,N as zi,O as Rt,P as ke,Q as Xi}from"./vue.7304e5c5.js";import{l as Kn,e as We,a as q,R as at,W as Ji,b as Qi,C as Wn,K as ut,c as Et,d as Zi,f as rn,T as ea,t as ta}from"./vendor.5f04ef2d.js";import{a as na}from"./axios.23e7b955.js";const ia={setup(e){let t={};try{parent&&parent.MAGIC_EDITOR_CONFIG&&(t=ce({},parent.MAGIC_EDITOR_CONFIG))}catch{}return window.MAGIC_EDITOR_CONFIG&&(t=ce(ce({},t),window.MAGIC_EDITOR_CONFIG)),t.baseURL="./",t.serverURL="./",t.inJar=!0,(n,i)=>{const a=T("magic-editor");return v(),U(a,{config:k(t)},null,8,["config"])}}};const aa="modulepreload",qn={},sa="./",$=function(t,n){return!n||n.length===0?t():Promise.all(n.map(i=>{if(i=`${sa}${i}`,i in qn)return;qn[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${s}`))return;const o=document.createElement("link");if(o.rel=a?"stylesheet":aa,a||(o.as="script",o.crossOrigin=""),o.href=i,document.head.appendChild(o),a)return new Promise((r,l)=>{o.addEventListener("load",r),o.addEventListener("error",l)})})).then(()=>t())};var H=(e,t)=>{for(const[n,i]of t)e[n]=i;return e};const oa={props:{menus:Array,onDestory:Function,position:Object},data(){return{style:{left:this.position.x+"px",top:this.position.y+"px"}}},mounted(){document.addEventListener("mouseup",this.onMouseup);const e=this.position.x+this.$root.$el.offsetWidth,t=document.querySelector(".magic-editor").getBoundingClientRect();t.x+t.widthe.icon)}}},ra=["onMouseup"],la={key:0,class:"magic-context-menu-icon"};function ua(e,t,n,i,a,s){const o=T("magic-icon");return v(),L("ul",{class:"magic-context-menu none-select",style:$e(a.style)},[(v(!0),L(Z,null,ue(n.menus,(r,l)=>(v(),L("li",{key:l,class:de({divided:r.divided}),onMouseup:ve(()=>{s.onMouseup(),r.onClick&&r.onClick()},["stop"])},[s.hasIcon?(v(),L("span",la,[r.icon?(v(),U(o,{key:0,icon:r.icon,size:"12px"},null,8,["icon"])):ee("",!0)])):ee("",!0),R("label",null,G(r.label),1)],42,ra))),128))],4)}var zn=H(oa,[["render",ua],["__scopeId","data-v-1ef3ef60"]]),ca=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:zn});const _a={props:{title:{type:String,default:"\u63D0\u793A"},ok:{type:String,default:"\u786E\u5B9A"},message:{type:String,required:!0},onClose:{type:Function,default:()=>{}}},setup(e){const t=P(!0);return(n,i)=>{const a=T("magic-button"),s=T("magic-button-group"),o=T("magic-dialog");return v(),U(o,{value:t.value,"onUpdate:value":i[1]||(i[1]=r=>t.value=r),title:e.title,ref:(r,l)=>{l.dialog=r},onClose:i[2]||(i[2]=r=>e.onClose())},{default:C(()=>[R("pre",null,G(e.message),1),p(s,{align:"center",style:{padding:"5px 0"}},{default:C(()=>[p(a,{value:e.ok,type:"active",onOnClick:i[0]||(i[0]=r=>n.$refs.dialog.close())},null,8,["value"])]),_:1})]),_:1},8,["value","title"])}}};var Xn=H(_a,[["__scopeId","data-v-a540702c"]]),pa=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Xn});const da=["innerHTML"],ha={props:{title:{type:String,default:"\u63D0\u793A"},ok:{type:String,default:"\u786E\u5B9A"},cancel:{type:String,default:"\u53D6\u6D88"},message:{type:String,required:!0},success:{type:Function,default:()=>{}},onClose:{type:Function,default:()=>{}}},setup(e){const t=P(!0);return(n,i)=>{const a=T("magic-button"),s=T("magic-button-group"),o=T("magic-dialog");return v(),U(o,{value:t.value,"onUpdate:value":i[2]||(i[2]=r=>t.value=r),title:e.title,ref:(r,l)=>{l.dialog=r},onClose:i[3]||(i[3]=r=>e.onClose())},{default:C(()=>[R("pre",{innerHTML:e.message},null,8,da),p(s,{align:"right",style:{padding:"5px 0"}},{default:C(()=>[p(a,{value:e.ok,type:"active",onOnClick:i[0]||(i[0]=()=>{e.success(),n.$refs.dialog.close()})},null,8,["value"]),p(a,{value:e.cancel,onOnClick:i[1]||(i[1]=r=>n.$refs.dialog.close())},null,8,["value"])]),_:1})]),_:1},8,["value","title"])}}};var Jn=H(ha,[["__scopeId","data-v-bf9f8d80"]]),fa=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Jn});let Qn=null;const Zn=(e,t)=>{const n=document.createElement("div");document.querySelector(".magic-editor .magic-mounts").appendChild(n);const i=an(e,He(ce({},t),{onClose:()=>n.remove()}));Qn(i),i.mount(n)},ge={alert:(e,t,n)=>Zn(Xn,{message:e,title:t,ok:n}),confirm:(e,t,n)=>Zn(Jn,{title:e,message:t,success:n})},ei=(e,t)=>{Qn=t,Object.keys(ge).forEach(n=>e.config.globalProperties[`$${n}`]=ge[n])};var ma=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",install:ei,default:ge});const ga="magic-editor",va="2.0.0",Ea={dev:"vite",build:"vite build"},Ta={axios:"^0.24.0","monaco-editor":"0.29.1",qs:"^6.10.1",vue:"^3.2.21"},ba={"@vitejs/plugin-vue":"^1.9.4",vite:"^2.6.13","@vue/compiler-sfc":"^3.2.21"};var Sa={name:ga,version:va,scripts:Ea,dependencies:Ta,devDependencies:ba};let ti=Sa.version,ya="V"+ti.replace(/\./g,"_");const D={BASE_URL:"",WEBSOCKET_SERVER:"",SERVER_URL:"",AUTO_SAVE:!0,user:null,DECORATION_TIMEOUT:1e4,CHECK_UPDATE:!0,BLOCK_CLOSE:!0,MAGIC_API_VERSION_TEXT:ti,MAGIC_API_VERSION:ya,API_DEFAULT_METHOD:"GET",CLIENT_ID:"none",HEADER_REQUEST_CLIENT_ID:"Magic-Request-Client-Id",HEADER_REQUEST_SCRIPT_ID:"Magic-Request-Script-Id",HEADER_REQUEST_BREAKPOINTS:"Magic-Request-Breakpoints",HEADER_RESPONSE_MAGIC_CONTENT_TYPE:"ma-content-type",HEADER_APPLICATION_STREAM:"application/octet-stream",HEADER_CONTENT_DISPOSITION:"ma-content-disposition",HEADER_MAGIC_TOKEN:"magic-token",HEADER_MAGIC_TOKEN_VALUE:"unauthorization",IGNORE_VERSION:"ignore-version",RECENT_OPENED_TAB:"recent_opened_tab",RECENT_OPENED:"recent_opened",RESPONSE_CODE_DEBUG:1e3,RESPONSE_CODE_SCRIPT_ERROR:-1e3,RESPONSE_NO_PERMISSION:-10,DEFAULT_EXPAND:!0,LOGINED:!1,LOG_MAX_ROWS:1/0,LOCKED:"1",UNLOCK:"0",STORE:{theme:"theme",token:"token"},GLOBAL:{parameters:[],headers:[]},THEME:"default",JDBC_DRIVERS:["com.mysql.jdbc.Driver","com.mysql.cj.jdbc.Driver","oracle.jdbc.driver.OracleDriver","org.postgresql.Driver","com.microsoft.sqlserver.jdbc.SQLServerDriver","com.ibm.db2.jcc.DB2Driver"],DATASOURCE_TYPES:["com.zaxxer.hikari.HikariDataSource","com.alibaba.druid.pool.DruidDataSource","org.apache.tomcat.jdbc.pool.DataSource","org.apache.commons.dbcp2.BasicDataSource"],OPTIONS:[],EDITOR_FONT_FAMILY:'JetBrainsMono, Consolas, "Courier New",monospace, \u5FAE\u8F6F\u96C5\u9ED1',EDITOR_FONT_SIZE:14,VALIDATE_TYPES:[{value:"pass",text:"\u4E0D\u9A8C\u8BC1"},{value:"expression",text:"\u8868\u8FBE\u5F0F\u9A8C\u8BC1"},{value:"pattern",text:"\u6B63\u5219\u9A8C\u8BC1"}],DEFAULT_VALIDATE_TYPE:"pass",REQUEST_PARAMETER_TYPES:[{value:"String",text:"String"},{value:"Boolean",text:"Boolean"},{value:"Integer",text:"Integer"},{value:"Date",text:"Date"},{value:"Double",text:"Double"},{value:"Long",text:"Long"},{value:"Short",text:"Short"},{value:"Float",text:"Float"},{value:"Byte",text:"Byte"},{value:"MultipartFile",text:"MultipartFile"},{value:"MultipartFiles",text:"MultipartFiles"}],GLOBAL_PARAMETER_TYPES:[{value:"String",text:"String"},{value:"Boolean",text:"Boolean"},{value:"Integer",text:"Integer"},{value:"Date",text:"Date"},{value:"Double",text:"Double"},{value:"Long",text:"Long"},{value:"Short",text:"Short"},{value:"Float",text:"Float"},{value:"Byte",text:"Byte"}],DEFAULT_REQUEST_PARAMETER_TYPE:"String",REQUEST_SIMPLE_TYPES:[{value:"String",text:"String"},{value:"Boolean",text:"Boolean"},{value:"Integer",text:"Integer"},{value:"Date",text:"Date"},{value:"Double",text:"Double"},{value:"Long",text:"Long"},{value:"Short",text:"Short"},{value:"Float",text:"Float"},{value:"Byte",text:"Byte"}],DEFAULT_REQUEST_SIMPLE_TYPE:"String",REQUEST_METHODS:[{value:"GET",text:"GET"},{value:"POST",text:"POST"},{value:"PUT",text:"PUT"},{value:"DELETE",text:"DELETE"},{value:"HEAD",text:"HEAD"},{value:"PATCH",text:"PATCH"}],DEFAULT_REQUEST_METHOD:"GET",FUNCTION_RETURN_TYPES:[{value:"java.lang.Number",text:"\u6570\u503C"},{value:"java.lang.String",text:"\u5B57\u7B26\u4E32"},{value:"java.util.Collection",text:"\u96C6\u5408"},{value:"java.util.Map",text:"Map"},{value:"java.lang.Object",text:"Object"}],BODY_DATA_TYPES:[{value:"String",text:"String"},{value:"Integer",text:"Integer"},{value:"Double",text:"Double"},{value:"Long",text:"Long"},{value:"Short",text:"Short"},{value:"Float",text:"Float"},{value:"Byte",text:"Byte"},{value:"Boolean",text:"Boolean"},{value:"Object",text:"Object"},{value:"Array",text:"Array"}],DEFAULT_FUNCTION_RETURN_TYPE:"java.lang.Object",config:{}},ni={};Object.entries({"./components/magic-editor.vue":()=>$(()=>Promise.resolve().then(function(){return io}),void 0),"./components/common/magic-context-menu.vue":()=>$(()=>Promise.resolve().then(function(){return ca}),void 0),"./components/common/magic-empty.vue":()=>$(()=>Promise.resolve().then(function(){return ro}),void 0),"./components/common/magic-loading.vue":()=>$(()=>Promise.resolve().then(function(){return _o}),void 0),"./components/common/magic-monaco-diff-editor.vue":()=>$(()=>Promise.resolve().then(function(){return go}),void 0),"./components/common/magic-monaco-editor.vue":()=>$(()=>Promise.resolve().then(function(){return So}),void 0),"./components/common/magic-resizer.vue":()=>$(()=>Promise.resolve().then(function(){return Ro}),void 0),"./components/panel/magic-cron-info.vue":()=>$(()=>Promise.resolve().then(function(){return xo}),void 0),"./components/panel/magic-function-info.vue":()=>$(()=>Promise.resolve().then(function(){return Do}),void 0),"./components/panel/magic-websocket-info.vue":()=>$(()=>Promise.resolve().then(function(){return Mo}),void 0),"./components/common/data/magic-navbar-item.vue":()=>$(()=>Promise.resolve().then(function(){return jo}),void 0),"./components/common/data/magic-navbar.css":()=>$(()=>Promise.resolve().then(function(){return Vo}),void 0),"./components/common/data/magic-navbar.js":()=>$(()=>Promise.resolve().then(function(){return Wo}),void 0),"./components/common/data/magic-tab.css":()=>$(()=>Promise.resolve().then(function(){return zo}),void 0),"./components/common/data/magic-tab.js":()=>$(()=>Promise.resolve().then(function(){return Jo}),void 0),"./components/common/data/magic-table-column.vue":()=>$(()=>Promise.resolve().then(function(){return Zo}),void 0),"./components/common/data/magic-table.css":()=>$(()=>Promise.resolve().then(function(){return tr}),void 0),"./components/common/data/magic-table.js":()=>$(()=>Promise.resolve().then(function(){return ir}),void 0),"./components/common/data/magic-tree.css":()=>$(()=>Promise.resolve().then(function(){return sr}),void 0),"./components/common/data/magic-tree.js":()=>$(()=>Promise.resolve().then(function(){return rr}),void 0),"./components/common/dialog/magic-alert.vue":()=>$(()=>Promise.resolve().then(function(){return pa}),void 0),"./components/common/dialog/magic-confirm.vue":()=>$(()=>Promise.resolve().then(function(){return fa}),void 0),"./components/common/dialog/magic-dialog.vue":()=>$(()=>Promise.resolve().then(function(){return _r}),void 0),"./components/common/dialog/magic-modal.js":()=>$(()=>Promise.resolve().then(function(){return ma}),void 0),"./components/common/dialog/magic-notify.vue":()=>$(()=>Promise.resolve().then(function(){return vr}),void 0),"./components/common/form/magic-button-group.vue":()=>$(()=>Promise.resolve().then(function(){return br}),void 0),"./components/common/form/magic-button.vue":()=>$(()=>Promise.resolve().then(function(){return Or}),void 0),"./components/common/form/magic-checkbox.vue":()=>$(()=>Promise.resolve().then(function(){return xr}),void 0),"./components/common/form/magic-file.vue":()=>$(()=>Promise.resolve().then(function(){return wr}),void 0),"./components/common/form/magic-input.vue":()=>$(()=>Promise.resolve().then(function(){return Mr}),void 0),"./components/common/form/magic-select.vue":()=>$(()=>Promise.resolve().then(function(){return Vr}),void 0),"./components/common/form/magic-textarea.vue":()=>$(()=>Promise.resolve().then(function(){return Wr}),void 0),"./components/common/icon/magic-avatar-group.vue":()=>$(()=>Promise.resolve().then(function(){return Xr}),void 0),"./components/common/icon/magic-avatar.vue":()=>$(()=>Promise.resolve().then(function(){return el}),void 0),"./components/common/icon/magic-icon.vue":()=>$(()=>Promise.resolve().then(function(){return Yo}),void 0),"./components/common/icon/magic-text-icon.vue":()=>$(()=>Promise.resolve().then(function(){return al}),void 0),"./components/panel/api/magic-api-body.vue":()=>$(()=>Promise.resolve().then(function(){return rl}),void 0),"./components/panel/api/magic-api-description.vue":()=>$(()=>Promise.resolve().then(function(){return ul}),void 0),"./components/panel/api/magic-api-group.vue":()=>$(()=>Promise.resolve().then(function(){return fl}),void 0),"./components/panel/api/magic-api-header.vue":()=>$(()=>Promise.resolve().then(function(){return vl}),void 0),"./components/panel/api/magic-api-info.vue":()=>$(()=>Promise.resolve().then(function(){return Al}),void 0),"./components/panel/api/magic-api-option.vue":()=>$(()=>Promise.resolve().then(function(){return xl}),void 0),"./components/panel/api/magic-api-parameter.vue":()=>$(()=>Promise.resolve().then(function(){return Nl}),void 0),"./components/panel/api/magic-api-path.vue":()=>$(()=>Promise.resolve().then(function(){return kl}),void 0),"./components/panel/api/magic-api-request-body.vue":()=>$(()=>Promise.resolve().then(function(){return $l}),void 0),"./components/panel/api/magic-api-request-structure.vue":()=>$(()=>Promise.resolve().then(function(){return Gl}),void 0),"./components/panel/api/magic-api-response-body.vue":()=>$(()=>Promise.resolve().then(function(){return Kl}),void 0),"./components/panel/api/magic-api-response-header.vue":()=>$(()=>Promise.resolve().then(function(){return zl}),void 0),"./components/panel/api/magic-api-response-structure.vue":()=>$(()=>Promise.resolve().then(function(){return tu}),void 0),"./components/panel/api/magic-api-response.vue":()=>$(()=>Promise.resolve().then(function(){return su}),void 0),"./components/panel/api/magic-global-header.vue":()=>$(()=>Promise.resolve().then(function(){return lu}),void 0),"./components/panel/api/magic-global-parameter.vue":()=>$(()=>Promise.resolve().then(function(){return _u}),void 0),"./components/panel/api/magic-global.vue":()=>$(()=>Promise.resolve().then(function(){return fu}),void 0),"./components/panel/common/magic-panel-common-toolbar.vue":()=>$(()=>Promise.resolve().then(function(){return gu}),void 0),"./components/panel/common/magic-panel-toolbar.vue":()=>$(()=>Promise.resolve().then(function(){return Su}),void 0),"./components/panel/common/magic-resource-choose.vue":()=>$(()=>Promise.resolve().then(function(){return xu}),void 0),"./components/panel/datasource/magic-datasource-datasource.vue":()=>$(()=>Promise.resolve().then(function(){return qu}),void 0),"./components/panel/footer/magic-backup.vue":()=>$(()=>Promise.resolve().then(function(){return nc}),void 0),"./components/panel/footer/magic-debug.vue":()=>$(()=>Promise.resolve().then(function(){return xc}),void 0),"./components/panel/footer/magic-event.vue":()=>$(()=>Promise.resolve().then(function(){return wc}),void 0),"./components/panel/footer/magic-log.vue":()=>$(()=>Promise.resolve().then(function(){return Mc}),void 0),"./components/panel/footer/magic-online.vue":()=>$(()=>Promise.resolve().then(function(){return jc}),void 0),"./components/panel/footer/magic-status-bar.vue":()=>$(()=>Promise.resolve().then(function(){return Wc}),void 0),"./components/panel/footer/magic-todo.vue":()=>$(()=>Promise.resolve().then(function(){return Zc}),void 0),"./components/panel/footer/magic-toolbar.vue":()=>$(()=>Promise.resolve().then(function(){return s_}),void 0),"./components/panel/function/magic-function-parameter.vue":()=>$(()=>Promise.resolve().then(function(){return l_}),void 0),"./components/panel/header/magic-export.vue":()=>$(()=>Promise.resolve().then(function(){return __}),void 0),"./components/panel/header/magic-header.vue":()=>$(()=>Promise.resolve().then(function(){return S_}),void 0),"./components/panel/header/magic-push.vue":()=>$(()=>Promise.resolve().then(function(){return x_}),void 0),"./components/panel/header/magic-search.vue":()=>$(()=>Promise.resolve().then(function(){return M_}),void 0),"./components/panel/header/magic-upload.vue":()=>$(()=>Promise.resolve().then(function(){return B_}),void 0),"./components/panel/main/magic-data-resource.vue":()=>$(()=>Promise.resolve().then(function(){return W_}),void 0),"./components/panel/main/magic-login.vue":()=>$(()=>Promise.resolve().then(function(){return tp}),void 0),"./components/panel/main/magic-main.vue":()=>$(()=>Promise.resolve().then(function(){return mp}),void 0),"./components/panel/main/magic-recent-opened.vue":()=>$(()=>Promise.resolve().then(function(){return yp}),void 0),"./components/panel/main/magic-resource.vue":()=>$(()=>Promise.resolve().then(function(){return kp}),void 0),"./components/panel/main/magic-script-editor.vue":()=>$(()=>Promise.resolve().then(function(){return Gp}),void 0)}).forEach(([e,t])=>ni[e.substring(e.lastIndexOf("/")+1,e.lastIndexOf("."))]=Yi(t));const ln=e=>{let t;Object.entries(ni).forEach(([n,i])=>{e.component(n,i)}),e.config.globalProperties.$contextmenu=n=>{t!=null&&t.unmount(),t=an(zn,{menus:n.menus,position:{x:n.event.clientX,y:n.event.clientY},onDestory:()=>{t&&t.unmount(),t=null}}),ln(t),t.mount(".magic-editor .magic-mounts")},Object.keys(D).forEach(n=>e.config.globalProperties[`$${n}`]=D[n]),ei(e,ln)},ii=an(ia);ii.use(ln);ii.mount("#app");const It={baseURL:"",method:"post",timeout:0,withCredentials:!0,responseType:"json",headers:{"Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(e){return e instanceof FormData?e:Kn.stringify(e,{arrayFormat:"repeat",allowDots:!0})}],paramsSerializer(e){return Kn.stringify(e,{arrayFormat:"repeat",allowDots:!0})}};class Oa{constructor(){ft(this,"successHandle",null);ft(this,"errorHandle",null);ft(this,"endHandle",null);ft(this,"exceptionHandle",(t,n)=>{ge.alert(n,`\u8BF7\u6C42\u51FA\u9519\uFF0C\u5F02\u5E38\u4EE3\u7801(${t})`)})}success(t){return this.successHandle=t,this}exception(t){return this.exceptionHandle=t,this}error(t){return this.errorHandle=t,this}end(t){this.endHandle=t}}class Aa{constructor(){ft(this,"_axios",null);this._axios=na.create(It)}getAxios(){return this._axios}setBaseURL(t){It.baseURL=t}execute(t){let n=ce({baseURL:It.baseURL},t);return n.headers=n.headers||{},n.headers[D.HEADER_MAGIC_TOKEN]=D.HEADER_MAGIC_TOKEN_VALUE,this._axios.request(n)}processError(t){t.response?ge.alert(JSON.stringify(t.response.data||"")||`\u8BF7\u6C42\u51FA\u9519HttpStatus:(${t.response.status})`,`\u8BF7\u6C42\u51FA\u9519HttpStatus:(${t.response.status})`):ge.alert(t.message,"\u8BF7\u6C42\u51FA\u9519"),console.error(t)}sendJson(t,n,i){return this.send(t,JSON.stringify(n),i||{method:"post",headers:{"Content-Type":"application/json"},transformRequest:[]})}sendGet(t,n,i){return i=i||{},i.method="get",this.send(t,n,i)}sendPost(t,n,i){return i=i||{},i.method="post",this.send(t,n,i)}send(t,n,i){let a=i||It||{};a.url=t,(a.method||"").toLowerCase()==="post"?a.data=n:a.params=n,a.baseURL=It.baseURL;let s=new Oa,o=!1,r=(l,u)=>{l instanceof Blob?(o=!0,s.successHandle&&s.successHandle(l,u)):l.code===1?(o=!0,s.successHandle&&s.successHandle(l.data,u)):(l.code===401&&console.log("\u672A\u767B\u5F55"),s.exceptionHandle&&s.exceptionHandle(l.code,l.message,u))};return this.execute(a).then(l=>{let u=l.data,c=l.headers["content-type"]&&l.headers["content-type"].startsWith("application/json");if(u instanceof Blob&&c){let h=new FileReader;h.readAsText(u),h.onload=function(){try{u=JSON.parse(this.result),r(u,l)}catch(m){console.error(m),r(u,l)}};return}r(u,l)}).catch(l=>{typeof s.errorHandle=="function"?s.errorHandle(l.response.data,l.response,l):this.processError(l)}).finally(()=>{typeof s.endHandle=="function"&&s.endHandle(o)}),s}}var K=new Aa;const oe={Alt:512,Ctrl:1024,Shift:2048};new Array(26).fill(0).forEach((e,t)=>oe[String.fromCharCode(65+t)]=65+t);new Array(12).fill(0).forEach((e,t)=>oe[`F${t+1}`]=112+t);const Ht=[],ai=e=>{if(e.keyCode){let t=e.keyCode;t|=e.ctrlKey&&oe.Ctrl||0,t|=e.shiftKey&&oe.Shift||0,t|=e.altKey&&oe.Alt||0,t|=e.metaKey&&oe.Ctrl||0;for(let n=0,i=Ht.length;ndocument.addEventListener("keydown",ai);oe.bind=(e,t,n)=>{un||(un=!0,oe.init()),typeof n=="function"&&Ht.push({target:e,code:t,callback:n})};oe.unbind=()=>{Ht.length=0,document.removeEventListener("keydown",ai),un=!1};var Ra={editor:{base:"vs",rules:[{background:"#ffffff"},{token:"keywords",foreground:"000080",fontStyle:"bold"},{token:"number",foreground:"0000FF"},{token:"keyword",foreground:"000080",fontStyle:"bold"},{token:"string.sql",foreground:"008000"},{token:"tag.sql",foreground:"0033B3"},{token:"attribute.name.sql",foreground:"174AD4"},{token:"attribute.value.sql",foreground:"067D17"},{token:"predefined",foreground:"000000",fontStyle:"italic"},{token:"operator.sql",foreground:"000080",fontStyle:"bold"},{token:"key",foreground:"660E7A"},{token:"string.key.json",foreground:"660E7A"},{token:"string.value.json",foreground:"008000"},{token:"keyword.json",foreground:"0000FF"},{token:"string",foreground:"008000",fontStyle:"bold"},{token:"string.invalid",foreground:"008000",background:"FFCCCC"},{token:"string.escape.invalid",foreground:"008000",background:"FFCCCC"},{token:"string.escape",foreground:"000080",fontStyle:"bold"},{token:"comment",foreground:"808080",fontStyle:"italic"},{token:"comment.doc",foreground:"808080",fontStyle:"italic"},{token:"comment.todo",foreground:"008DDE",fontStyle:"italic"},{token:"string.escape",foreground:"000080"}],colors:{"editor.foreground":"#000000","editor.background":"#ffffff","editorLineNumber.foreground":"#999999","editorGutter.background":"#f0f0f0","editor.lineHighlightBackground":"#FFFAE3","dropdown.background":"#F2F2F2","dropdown.foreground":"#000000","list.activeSelectionBackground":"#1A7DC4","list.activeSelectionForeground":"#ffffff"}}},Ia={editor:{base:"vs-dark",rules:[{foreground:"A9B7C6"},{token:"keywords",foreground:"CC7832",fontStyle:"bold"},{token:"keyword",foreground:"CC7832",fontStyle:"bold"},{token:"number",foreground:"6897BB"},{token:"string",foreground:"6A8759",fontStyle:"bold"},{token:"string.sql",foreground:"6A8759"},{token:"tag.sql",foreground:"E8BF6A"},{token:"attribute.name.sql",foreground:"BABABA"},{token:"attribute.value.sql",foreground:"6A8759"},{token:"predefined.sql",foreground:"A9B7C6",fontStyle:"italic"},{token:"predefined.magicscript",foreground:"A9B7C6",fontStyle:"italic"},{token:"key",foreground:"9876AA"},{token:"string.key.json",foreground:"9876AA"},{token:"string.value.json",foreground:"6A8759"},{token:"keyword.json",foreground:"6897BB"},{token:"operator.sql",foreground:"CC7832",fontStyle:"bold"},{token:"string.invalid",foreground:"008000",background:"FFCCCC"},{token:"string.escape.invalid",foreground:"008000",background:"FFCCCC"},{token:"string.escape",foreground:"000080",fontStyle:"bold"},{token:"comment",foreground:"808080",fontStyle:"italic"},{token:"comment.doc",foreground:"629755",fontStyle:"italic"},{token:"comment.todo",foreground:"A8C023",fontStyle:"italic"},{token:"string.escape",foreground:"CC7832"}],colors:{"editor.background":"#2B2B2B","editorLineNumber.foreground":"#999999","editorGutter.background":"#313335","editor.lineHighlightBackground":"#323232","dropdown.background":"#3C3F41","dropdown.foreground":"#BBBBBB","list.activeSelectionBackground":"#4B6EAF","list.activeSelectionForeground":"#FFFFFF","editorSuggestWidget.selectedBackground":"#113A5C"}},styles:{"main-background-color":"#3C3F41","main-border-color":"#323232","main-color":"#bbb","main-selected-background-color":"#323232","main-hover-background-color":"#353739","main-hover-icon-background-color":"#4C5052","main-selected-color":"#fff","main-icon-color":"#AFB1B3","header-title-color":"#bbb","header-version-color":"#999","header-default-color":"#AFB1B3","empty-background-color":"#282828","empty-key-color":"#489DF6","empty-color":"#A0A0A0","button-hover-background-color":"#365880","button-hover-border-color":"#43688C","button-background-color":"#4C5052","button-border-color":"#5E6060","button-disabled-color":"#5a5a5a","navbar-body-background-color":"#3C3F41","navbar-body-border-color":"#555555","resource-label-color":"#bbb","resource-span-color":"#787878","tree-hover-background-color":"#0d293e","tree-icon-color":"#aeb9c0","table-border-color":"#646464","input-border-color":"#646464","input-foucs-color":"#3D6185","input-background-color":"#45494A","select-background-color":"#3C3F41","select-hover-background-color":"#3C3F41","select-option-background-color":"#3C3F41","select-option-hover-background-color":"#4B6EAF","select-option-border-color":"#808080","data-type-default-color":"#a9b7c6","data-type-string-color":"#6a8759","data-type-integer-color":"#6897bb","data-type-byte-color":"#6897bb","data-type-long-color":"#6897bb","data-type-float-color":"#6897bb","data-type-double-color":"#6897bb","data-type-short-color":"#6897bb","data-type-number-color":"#6897bb","data-type-boolean-color":"#cc7832","data-type-class-color":"#9876aa","data-type-key-color":"#FF8E8E","run-log-background-color":"#2b2b2b","log-level-info":"#ABC023","log-level-error":"#CC666E","log-level-debug":"#299999","log-level-warn":"unset","log-level-trace":"#5394EC","log-color-cyan":"#009191","log-color-link":"#287BDE","todo-color":"#A8C023","debug-line-background-color":"#2D6099","breakpoints-background-color":"#C75450","breakpoint-line-background-color":"#3a2323","select-inputable-background-color":"#45494a","select-inputable-border":"transparent","tab-selected-background-color":"#4E5254","message-em-color":"#68dd9a","checkbox-background-color":"#43494A","checkbox-border-color":"#6B6B6B","checkbox-text-color":"#bbb","checkbox-selected-background-color":"#43494A","checkbox-selected-border-color":"#6B6B6B","toolbox-list-label-color":"#bbb","toolbox-list-span-color":"#787878","toolbox-border-color":"#323232","toolbox-list-hover-background":"#0D293E","toolbox-border-right-color":"#555555","footer-border-color":"#323232","tab-bar-border-color":"#323232","dialog-border-color":"#282828","dialog-shadow-color":"#151515","table-col-border-color":"#333638","table-row-border-color":"#333638","table-hover-background":"#4B6EAF","debug-line-background":"#2D6099","breakpoints-background":"#C75450","breakpoint-line-background":"#3a2323","table-even-background":"#414547","button-disabled-background":"#5A5A5A","toolbox-list-header-icon-color":"#AFB1B3","log-error-color":"#CC666E","text-string-color":"#6A8759","text-number-color":"#6897BB","text-boolean-color":"#CC7832","text-property-color":"#9876aa","text-key-color":"#9876aa","suggest-hover-background":"#113A5C","suggest-hover-color":"#fff","statusbar-em-color":"#68dd9a"}};const Yt={},cn=(e,t)=>{t=t||{};let n=t.editor||{};n.base=n.base||"vs",n.inherit=n.inherit===void 0?!0:n.inherit,n.rules=n.rules||[],n.colors=n.colors||[],We.defineTheme(e,n),Yt[e]=t.styles||{}};function xt(e,t,n,i){if(e&&e.length>0&&n){let a=function(r,l){return r[n].localeCompare(l[n],"zh-CN")},s=[],o=[];e.forEach(r=>{r.folder===!0?(i&&(r[i]=xt(r[i],t,n,i)),s.push(r)):o.push(r)}),s.sort(a),o.sort(a),t===!1&&(s.reverse(),o.reverse()),e.splice(0,e.length,...s.concat(o))}return e}function xa(e){return Array(e).fill(0).map(()=>(Math.random()*16|0).toString(16)).join("")}function Tt(e,t){return t=t||2,(Array(t).join(0)+e).slice(-t)}function Ct(e){if(typeof e=="number"&&(e.toString().length===13?e=new Date(e):e=new Date(e*1e3)),e instanceof Date){var t=e.getMonth()+1,n=e.getDate(),i=e.getHours(),a=e.getMinutes(),s=e.getSeconds();return e.getFullYear()+"-"+Tt(t)+"-"+Tt(n)+" "+Tt(i)+":"+Tt(a)+":"+Tt(s)}return""}function ct(e){return e.replace(/:?\/+/g,t=>t.indexOf(":")>-1?t:"/")}function Ca(e){const t=a=>{if(Array.isArray(a)){let s=a.length,o=100;if(s>o){let r=[];for(let l=0;li(""+(l+c),void 0,JSON.stringify(u),u))});return r}return a.map((r,l)=>i(""+l,void 0,JSON.stringify(r),r))}else return Object.keys(a).map(s=>{const o=a[s];return i(s,void 0,JSON.stringify(o),o)})},n=a=>{try{return JSON.parse(a)}catch{return a}},i=(a,s,o,r)=>{var O;let l=(s||"").startsWith("java.lang"),u,c,h;l?(u=((O=s==null?void 0:s.substring(10))==null?void 0:O.toLowerCase())||typeof r,["integer","double","float","byte","short","long"].indexOf(u)>-1&&(u="number"),u==="class"&&(o=o.substring(1,o.length-1))):(r=r||o&&n(o),!Array.isArray(r)&&typeof r!="object"?(l=!0,u=typeof r):(Array.isArray(r)?(h=`size = ${r.length}`,u="array"):(h=`members = ${r&&Object.keys(r).length}`,u="object"),s=s||(Array.isArray(r)?"Array":typeof r),c=r&&t(r)||[]));let m=r==null&&!l;return m&&(s="null",l=!0,o="null"),{name:a,value:o,data:r,dataType:u,type:s,size:h,isNull:m,folder:!l,opened:!1,children:c}};return e&&e.map(a=>i(a.name,a.type,a.value))||[]}function La(e){const t=["B","KB","MB"];let n=0;for(;n=1024;)e=e/1024,n++;return e=e.toFixed(2),`${e} ${t[n]}`}function qe(e,t){const n=i=>i.filter(a=>a.folder).forEach(a=>{n(a.children||[]),t(a)});n(e||[])}function _n(e,t){let n=document.createElement("a"),i=window.URL.createObjectURL(e);n.href=i,n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(i)}function si(e){try{var t=document.createElement("textarea");return t.style="position:absolute;left:-99999999px",document.body.appendChild(t),t.innerHTML=e,t.readOnly=!1,t.select(),document.execCommand("copy"),!0}catch{return!1}}function Na(e){let t=0;for(let n=0,i=0,a=e.length;no.apply(this,s))}}report(t){try{window._czc.push(["_trackEvent",t,t])}catch{}}send(t,n){this.$emit("message",t,n)}status(t,n){const i=new Date;n===!1&&(t=`${t}`),this.statusLog.value.push({content:t,timestamp:Ct(i)+"."+Tt(i.getMilliseconds(),3)}),this.$emit("status",t)}clearStatusLog(){this.statusLog.value=[]}getStatusLog(){return this.statusLog}}var E=new Pa;const pn={escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,builtinFunctions:[],digits:/[0-9_]+/,binarydigits:/[0-1_]+/,hexdigits:/[[0-9a-fA-F_]+/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/\s+/,"white"],[/```$/,{token:"string",next:"@codeblock"}],[/[a-zA-Z_$][\w$]*[\s]?/,{cases:{"@builtinFunctions":"predefined","~(new|var|if|else|for|in|return|import|break|continue|as|null|true|false|try|catch|finally|async|while|exit|asc|desc|ASC|DESC|assert|let|const|throw)[\\s]?":{token:"keywords"},"~(select|from|left|join|on|and|or|order|by|where|group|having|limit|offset|SELECT|FROM|LEFT|JOIN|ON|AND|OR|ORDER|BY|WHERE|GROUP|HAVING|LIMIT|OFFSET)[\\s]{1}":{token:"keywords"},"@default":"identifier"}}],[/::[a-zA-Z]+/,"keywords"],[/[{}()[\]]/,"@brackets"],[/(@digits)\.(@digits)/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)[lLbBsSdDfFmM]?/,"number"],[/\/\*\**/,"comment","@comment"],[/\/\//,"comment","@commentTodo"],[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@string_multi_embedded",nextEmbedded:"mybatis"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],comment:[[/\*\//,"comment","@popall"],[/\S((TODO)|(todo)|(fixme)|(FIXME))\s+/,"comment"],[/((TODO)|(todo)|(fixme)|(FIXME))\s+[^(*/)]+/,"comment.todo"],[/\S/,"comment"]],commentTodo:[[/^/,"","@popall"],[/\S((TODO)|(todo)|(fixme)|(FIXME))\s+/,"comment"],[/((TODO)|(todo)|(fixme)|(FIXME))[ \t]+[^\n]+/,"comment.todo","@popall"],[/\S/,"comment"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],codeblock:[[/^```$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_multi_embedded:[[/[^"]+/,""],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"root"}]}};let ze={},dn={},Lt=[],hn=[],Kt,fn;const wa=e=>e==="int"||e==="java.lang.Integer"?"java.lang.Integer":e==="string"||e==="java.lang.String"?"java.lang.String":e==="double"||e==="java.lang.Double"?"java.lang.Double":e==="float"||e==="java.lang.Float"?"java.lang.Float":e==="byte"||e==="java.lang.Byte"?"java.lang.Byte":e==="short"||e==="java.lang.Short"?"java.lang.Short":e==="long"||e==="java.lang.Long"?"java.lang.Long":e.indexOf("[]")>-1?"[Ljava.lang.Object;":e||"java.lang.Object",mn=e=>{let t=e.lastIndexOf(".");return t>-1?e.substring(t+1):e},ka=(e,t,n)=>e.length>0&&e[e.length-1].varArgs?n?e.length-1<=t.length:e.length<=t.length:n?e.length-1===t.length:e.length===t.length,Da=function(){return new Promise((e,t)=>{K.sendPost("/classes").success(n=>{ze=n.classes||{},dn=n.extensions||{},hn=n.functions||[],pn.builtinFunctions=hn.map(i=>i.name),q.setMonarchTokensProvider("magicscript",pn),e()}).exception(n=>{t()}).error(n=>{t()})})},$a=()=>new Promise((e,t)=>{K.execute({url:"classes.txt",responseType:"text",method:"get"}).then(n=>{const i=[];n.data.split(` +var Fi=Object.defineProperty,ji=Object.defineProperties;var Gi=Object.getOwnPropertyDescriptors;var Vn=Object.getOwnPropertySymbols;var Vi=Object.prototype.hasOwnProperty,Hi=Object.prototype.propertyIsEnumerable;var nn=(e,t,n)=>t in e?Fi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ce=(e,t)=>{for(var n in t||(t={}))Vi.call(t,n)&&nn(e,n,t[n]);if(Vn)for(var n of Vn(t))Hi.call(t,n)&&nn(e,n,t[n]);return e},He=(e,t)=>ji(e,Gi(t));var ft=(e,t,n)=>(nn(e,typeof t!="symbol"?t+"":t,n),n);import{r as T,o as v,c as U,u as k,a as L,F as Z,b as ue,n as de,w as ve,d as ee,e as R,t as G,f as $e,g as P,h as C,i as p,j as an,k as Yi,p as et,l as mt,m as Ki,q as tt,s as xe,v as Ke,x as gt,y as ae,z as J,A as nt,B as it,C as _e,D as se,T as Hn,E as vt,G as we,H as Wi,I as sn,J as qi,K as on,L as Yn,M as lt,N as zi,O as Rt,P as ke,Q as Xi}from"./vue.7304e5c5.js";import{l as Kn,e as We,a as q,R as at,W as Ji,b as Qi,C as Wn,K as ut,c as Et,d as Zi,f as rn,T as ea,t as ta}from"./vendor.5f04ef2d.js";import{a as na}from"./axios.23e7b955.js";const ia={setup(e){let t={};try{parent&&parent.MAGIC_EDITOR_CONFIG&&(t=ce({},parent.MAGIC_EDITOR_CONFIG))}catch{}return window.MAGIC_EDITOR_CONFIG&&(t=ce(ce({},t),window.MAGIC_EDITOR_CONFIG)),t.baseURL="./",t.serverURL="./",t.inJar=!0,(n,i)=>{const a=T("magic-editor");return v(),U(a,{config:k(t)},null,8,["config"])}}};const aa="modulepreload",qn={},sa="./",$=function(t,n){return!n||n.length===0?t():Promise.all(n.map(i=>{if(i=`${sa}${i}`,i in qn)return;qn[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${i}"]${s}`))return;const o=document.createElement("link");if(o.rel=a?"stylesheet":aa,a||(o.as="script",o.crossOrigin=""),o.href=i,document.head.appendChild(o),a)return new Promise((r,l)=>{o.addEventListener("load",r),o.addEventListener("error",l)})})).then(()=>t())};var H=(e,t)=>{for(const[n,i]of t)e[n]=i;return e};const oa={props:{menus:Array,onDestory:Function,position:Object},data(){return{style:{left:this.position.x+"px",top:this.position.y+"px"}}},mounted(){document.addEventListener("click",this.onMouseup);const e=this.position.x+this.$root.$el.offsetWidth,t=document.querySelector(".magic-editor").getBoundingClientRect();t.x+t.widthe.icon)}}},ra=["onClick"],la={key:0,class:"magic-context-menu-icon"};function ua(e,t,n,i,a,s){const o=T("magic-icon");return v(),L("ul",{class:"magic-context-menu none-select",style:$e(a.style)},[(v(!0),L(Z,null,ue(n.menus,(r,l)=>(v(),L("li",{key:l,class:de({divided:r.divided}),onClick:ve(()=>{s.onMouseup(),r.onClick&&r.onClick()},["stop"])},[s.hasIcon?(v(),L("span",la,[r.icon?(v(),U(o,{key:0,icon:r.icon,size:"12px"},null,8,["icon"])):ee("",!0)])):ee("",!0),R("label",null,G(r.label),1)],10,ra))),128))],4)}var zn=H(oa,[["render",ua],["__scopeId","data-v-8dc00ad0"]]),ca=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:zn});const _a={style:{"white-space":"normal"}},Xn={props:{title:{type:String,default:"\u63D0\u793A"},ok:{type:String,default:"\u786E\u5B9A"},message:{type:String,required:!0},onClose:{type:Function,default:()=>{}}},setup(e){const t=P(!0);return(n,i)=>{const a=T("magic-button"),s=T("magic-button-group"),o=T("magic-dialog");return v(),U(o,{value:t.value,"onUpdate:value":i[1]||(i[1]=r=>t.value=r),title:e.title,ref:(r,l)=>{l.dialog=r},onClose:i[2]||(i[2]=r=>e.onClose())},{default:C(()=>[R("pre",_a,G(e.message),1),p(s,{align:"center",style:{padding:"5px 0"}},{default:C(()=>[p(a,{value:e.ok,type:"active",onOnClick:i[0]||(i[0]=r=>n.$refs.dialog.close())},null,8,["value"])]),_:1})]),_:1},8,["value","title"])}}};var pa=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Xn});const da=["innerHTML"],ha={props:{title:{type:String,default:"\u63D0\u793A"},ok:{type:String,default:"\u786E\u5B9A"},cancel:{type:String,default:"\u53D6\u6D88"},message:{type:String,required:!0},success:{type:Function,default:()=>{}},onClose:{type:Function,default:()=>{}}},setup(e){const t=P(!0);return(n,i)=>{const a=T("magic-button"),s=T("magic-button-group"),o=T("magic-dialog");return v(),U(o,{value:t.value,"onUpdate:value":i[2]||(i[2]=r=>t.value=r),title:e.title,ref:(r,l)=>{l.dialog=r},onClose:i[3]||(i[3]=r=>e.onClose())},{default:C(()=>[R("pre",{innerHTML:e.message},null,8,da),p(s,{align:"right",style:{padding:"5px 0"}},{default:C(()=>[p(a,{value:e.ok,type:"active",onOnClick:i[0]||(i[0]=()=>{e.success(),n.$refs.dialog.close()})},null,8,["value"]),p(a,{value:e.cancel,onOnClick:i[1]||(i[1]=r=>n.$refs.dialog.close())},null,8,["value"])]),_:1})]),_:1},8,["value","title"])}}};var Jn=H(ha,[["__scopeId","data-v-bf9f8d80"]]),fa=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Jn});let Qn=null;const Zn=(e,t)=>{const n=document.createElement("div");document.querySelector(".magic-editor .magic-mounts").appendChild(n);const i=an(e,He(ce({},t),{onClose:()=>n.remove()}));Qn(i),i.mount(n)},ge={alert:(e,t,n)=>Zn(Xn,{message:e,title:t,ok:n}),confirm:(e,t,n)=>Zn(Jn,{title:e,message:t,success:n})},ei=(e,t)=>{Qn=t,Object.keys(ge).forEach(n=>e.config.globalProperties[`$${n}`]=ge[n])};var ma=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",install:ei,default:ge});const ga="magic-editor",va="2.0.0",Ea={dev:"vite",build:"vite build"},Ta={axios:"^0.24.0","monaco-editor":"0.29.1",qs:"^6.10.1",vue:"^3.2.21"},ba={"@vitejs/plugin-vue":"^1.9.4",vite:"^2.6.13","@vue/compiler-sfc":"^3.2.21"};var Sa={name:ga,version:va,scripts:Ea,dependencies:Ta,devDependencies:ba};let ti=Sa.version,ya="V"+ti.replace(/\./g,"_");const D={BASE_URL:"",WEBSOCKET_SERVER:"",SERVER_URL:"",AUTO_SAVE:!0,user:null,DECORATION_TIMEOUT:1e4,CHECK_UPDATE:!0,BLOCK_CLOSE:!0,MAGIC_API_VERSION_TEXT:ti,MAGIC_API_VERSION:ya,API_DEFAULT_METHOD:"GET",CLIENT_ID:"none",HEADER_REQUEST_CLIENT_ID:"Magic-Request-Client-Id",HEADER_REQUEST_SCRIPT_ID:"Magic-Request-Script-Id",HEADER_REQUEST_BREAKPOINTS:"Magic-Request-Breakpoints",HEADER_RESPONSE_MAGIC_CONTENT_TYPE:"ma-content-type",HEADER_APPLICATION_STREAM:"application/octet-stream",HEADER_CONTENT_DISPOSITION:"ma-content-disposition",HEADER_MAGIC_TOKEN:"magic-token",HEADER_MAGIC_TOKEN_VALUE:"unauthorization",IGNORE_VERSION:"ignore-version",RECENT_OPENED_TAB:"recent_opened_tab",RECENT_OPENED:"recent_opened",RESPONSE_CODE_DEBUG:1e3,RESPONSE_CODE_SCRIPT_ERROR:-1e3,RESPONSE_NO_PERMISSION:-10,DEFAULT_EXPAND:!0,LOGINED:!1,LOG_MAX_ROWS:1/0,LOCKED:"1",UNLOCK:"0",STORE:{theme:"theme",token:"token"},GLOBAL:{parameters:[],headers:[]},THEME:"default",JDBC_DRIVERS:["com.mysql.jdbc.Driver","com.mysql.cj.jdbc.Driver","oracle.jdbc.driver.OracleDriver","org.postgresql.Driver","com.microsoft.sqlserver.jdbc.SQLServerDriver","com.ibm.db2.jcc.DB2Driver"],DATASOURCE_TYPES:["com.zaxxer.hikari.HikariDataSource","com.alibaba.druid.pool.DruidDataSource","org.apache.tomcat.jdbc.pool.DataSource","org.apache.commons.dbcp2.BasicDataSource"],OPTIONS:[],EDITOR_FONT_FAMILY:'JetBrainsMono, Consolas, "Courier New",monospace, \u5FAE\u8F6F\u96C5\u9ED1',EDITOR_FONT_SIZE:14,VALIDATE_TYPES:[{value:"pass",text:"\u4E0D\u9A8C\u8BC1"},{value:"expression",text:"\u8868\u8FBE\u5F0F\u9A8C\u8BC1"},{value:"pattern",text:"\u6B63\u5219\u9A8C\u8BC1"}],DEFAULT_VALIDATE_TYPE:"pass",REQUEST_PARAMETER_TYPES:[{value:"String",text:"String"},{value:"Boolean",text:"Boolean"},{value:"Integer",text:"Integer"},{value:"Date",text:"Date"},{value:"Double",text:"Double"},{value:"Long",text:"Long"},{value:"Short",text:"Short"},{value:"Float",text:"Float"},{value:"Byte",text:"Byte"},{value:"MultipartFile",text:"MultipartFile"},{value:"MultipartFiles",text:"MultipartFiles"}],GLOBAL_PARAMETER_TYPES:[{value:"String",text:"String"},{value:"Boolean",text:"Boolean"},{value:"Integer",text:"Integer"},{value:"Date",text:"Date"},{value:"Double",text:"Double"},{value:"Long",text:"Long"},{value:"Short",text:"Short"},{value:"Float",text:"Float"},{value:"Byte",text:"Byte"}],DEFAULT_REQUEST_PARAMETER_TYPE:"String",REQUEST_SIMPLE_TYPES:[{value:"String",text:"String"},{value:"Boolean",text:"Boolean"},{value:"Integer",text:"Integer"},{value:"Date",text:"Date"},{value:"Double",text:"Double"},{value:"Long",text:"Long"},{value:"Short",text:"Short"},{value:"Float",text:"Float"},{value:"Byte",text:"Byte"}],DEFAULT_REQUEST_SIMPLE_TYPE:"String",REQUEST_METHODS:[{value:"GET",text:"GET"},{value:"POST",text:"POST"},{value:"PUT",text:"PUT"},{value:"DELETE",text:"DELETE"},{value:"HEAD",text:"HEAD"},{value:"PATCH",text:"PATCH"}],DEFAULT_REQUEST_METHOD:"GET",FUNCTION_RETURN_TYPES:[{value:"java.lang.Number",text:"\u6570\u503C"},{value:"java.lang.String",text:"\u5B57\u7B26\u4E32"},{value:"java.util.Collection",text:"\u96C6\u5408"},{value:"java.util.Map",text:"Map"},{value:"java.lang.Object",text:"Object"}],BODY_DATA_TYPES:[{value:"String",text:"String"},{value:"Integer",text:"Integer"},{value:"Double",text:"Double"},{value:"Long",text:"Long"},{value:"Short",text:"Short"},{value:"Float",text:"Float"},{value:"Byte",text:"Byte"},{value:"Boolean",text:"Boolean"},{value:"Object",text:"Object"},{value:"Array",text:"Array"}],DEFAULT_FUNCTION_RETURN_TYPE:"java.lang.Object",config:{}},ni={};Object.entries({"./components/magic-editor.vue":()=>$(()=>Promise.resolve().then(function(){return io}),void 0),"./components/common/magic-context-menu.vue":()=>$(()=>Promise.resolve().then(function(){return ca}),void 0),"./components/common/magic-empty.vue":()=>$(()=>Promise.resolve().then(function(){return ro}),void 0),"./components/common/magic-loading.vue":()=>$(()=>Promise.resolve().then(function(){return _o}),void 0),"./components/common/magic-monaco-diff-editor.vue":()=>$(()=>Promise.resolve().then(function(){return go}),void 0),"./components/common/magic-monaco-editor.vue":()=>$(()=>Promise.resolve().then(function(){return So}),void 0),"./components/common/magic-resizer.vue":()=>$(()=>Promise.resolve().then(function(){return Ro}),void 0),"./components/panel/magic-cron-info.vue":()=>$(()=>Promise.resolve().then(function(){return xo}),void 0),"./components/panel/magic-function-info.vue":()=>$(()=>Promise.resolve().then(function(){return Do}),void 0),"./components/panel/magic-websocket-info.vue":()=>$(()=>Promise.resolve().then(function(){return Mo}),void 0),"./components/common/data/magic-navbar-item.vue":()=>$(()=>Promise.resolve().then(function(){return jo}),void 0),"./components/common/data/magic-navbar.css":()=>$(()=>Promise.resolve().then(function(){return Vo}),void 0),"./components/common/data/magic-navbar.js":()=>$(()=>Promise.resolve().then(function(){return Wo}),void 0),"./components/common/data/magic-tab.css":()=>$(()=>Promise.resolve().then(function(){return zo}),void 0),"./components/common/data/magic-tab.js":()=>$(()=>Promise.resolve().then(function(){return Jo}),void 0),"./components/common/data/magic-table-column.vue":()=>$(()=>Promise.resolve().then(function(){return Zo}),void 0),"./components/common/data/magic-table.css":()=>$(()=>Promise.resolve().then(function(){return tr}),void 0),"./components/common/data/magic-table.js":()=>$(()=>Promise.resolve().then(function(){return ir}),void 0),"./components/common/data/magic-tree.css":()=>$(()=>Promise.resolve().then(function(){return sr}),void 0),"./components/common/data/magic-tree.js":()=>$(()=>Promise.resolve().then(function(){return rr}),void 0),"./components/common/dialog/magic-alert.vue":()=>$(()=>Promise.resolve().then(function(){return pa}),void 0),"./components/common/dialog/magic-confirm.vue":()=>$(()=>Promise.resolve().then(function(){return fa}),void 0),"./components/common/dialog/magic-dialog.vue":()=>$(()=>Promise.resolve().then(function(){return _r}),void 0),"./components/common/dialog/magic-modal.js":()=>$(()=>Promise.resolve().then(function(){return ma}),void 0),"./components/common/dialog/magic-notify.vue":()=>$(()=>Promise.resolve().then(function(){return vr}),void 0),"./components/common/form/magic-button-group.vue":()=>$(()=>Promise.resolve().then(function(){return br}),void 0),"./components/common/form/magic-button.vue":()=>$(()=>Promise.resolve().then(function(){return Or}),void 0),"./components/common/form/magic-checkbox.vue":()=>$(()=>Promise.resolve().then(function(){return xr}),void 0),"./components/common/form/magic-file.vue":()=>$(()=>Promise.resolve().then(function(){return wr}),void 0),"./components/common/form/magic-input.vue":()=>$(()=>Promise.resolve().then(function(){return Mr}),void 0),"./components/common/form/magic-select.vue":()=>$(()=>Promise.resolve().then(function(){return Vr}),void 0),"./components/common/form/magic-textarea.vue":()=>$(()=>Promise.resolve().then(function(){return Wr}),void 0),"./components/common/icon/magic-avatar-group.vue":()=>$(()=>Promise.resolve().then(function(){return Xr}),void 0),"./components/common/icon/magic-avatar.vue":()=>$(()=>Promise.resolve().then(function(){return el}),void 0),"./components/common/icon/magic-icon.vue":()=>$(()=>Promise.resolve().then(function(){return Yo}),void 0),"./components/common/icon/magic-text-icon.vue":()=>$(()=>Promise.resolve().then(function(){return al}),void 0),"./components/panel/api/magic-api-body.vue":()=>$(()=>Promise.resolve().then(function(){return rl}),void 0),"./components/panel/api/magic-api-description.vue":()=>$(()=>Promise.resolve().then(function(){return ul}),void 0),"./components/panel/api/magic-api-group.vue":()=>$(()=>Promise.resolve().then(function(){return fl}),void 0),"./components/panel/api/magic-api-header.vue":()=>$(()=>Promise.resolve().then(function(){return vl}),void 0),"./components/panel/api/magic-api-info.vue":()=>$(()=>Promise.resolve().then(function(){return Al}),void 0),"./components/panel/api/magic-api-option.vue":()=>$(()=>Promise.resolve().then(function(){return xl}),void 0),"./components/panel/api/magic-api-parameter.vue":()=>$(()=>Promise.resolve().then(function(){return Nl}),void 0),"./components/panel/api/magic-api-path.vue":()=>$(()=>Promise.resolve().then(function(){return kl}),void 0),"./components/panel/api/magic-api-request-body.vue":()=>$(()=>Promise.resolve().then(function(){return $l}),void 0),"./components/panel/api/magic-api-request-structure.vue":()=>$(()=>Promise.resolve().then(function(){return Gl}),void 0),"./components/panel/api/magic-api-response-body.vue":()=>$(()=>Promise.resolve().then(function(){return Kl}),void 0),"./components/panel/api/magic-api-response-header.vue":()=>$(()=>Promise.resolve().then(function(){return zl}),void 0),"./components/panel/api/magic-api-response-structure.vue":()=>$(()=>Promise.resolve().then(function(){return tu}),void 0),"./components/panel/api/magic-api-response.vue":()=>$(()=>Promise.resolve().then(function(){return su}),void 0),"./components/panel/api/magic-global-header.vue":()=>$(()=>Promise.resolve().then(function(){return lu}),void 0),"./components/panel/api/magic-global-parameter.vue":()=>$(()=>Promise.resolve().then(function(){return _u}),void 0),"./components/panel/api/magic-global.vue":()=>$(()=>Promise.resolve().then(function(){return fu}),void 0),"./components/panel/common/magic-panel-common-toolbar.vue":()=>$(()=>Promise.resolve().then(function(){return gu}),void 0),"./components/panel/common/magic-panel-toolbar.vue":()=>$(()=>Promise.resolve().then(function(){return Su}),void 0),"./components/panel/common/magic-resource-choose.vue":()=>$(()=>Promise.resolve().then(function(){return xu}),void 0),"./components/panel/datasource/magic-datasource-datasource.vue":()=>$(()=>Promise.resolve().then(function(){return qu}),void 0),"./components/panel/footer/magic-backup.vue":()=>$(()=>Promise.resolve().then(function(){return nc}),void 0),"./components/panel/footer/magic-debug.vue":()=>$(()=>Promise.resolve().then(function(){return xc}),void 0),"./components/panel/footer/magic-event.vue":()=>$(()=>Promise.resolve().then(function(){return wc}),void 0),"./components/panel/footer/magic-log.vue":()=>$(()=>Promise.resolve().then(function(){return Mc}),void 0),"./components/panel/footer/magic-online.vue":()=>$(()=>Promise.resolve().then(function(){return jc}),void 0),"./components/panel/footer/magic-status-bar.vue":()=>$(()=>Promise.resolve().then(function(){return Wc}),void 0),"./components/panel/footer/magic-todo.vue":()=>$(()=>Promise.resolve().then(function(){return Zc}),void 0),"./components/panel/footer/magic-toolbar.vue":()=>$(()=>Promise.resolve().then(function(){return s_}),void 0),"./components/panel/function/magic-function-parameter.vue":()=>$(()=>Promise.resolve().then(function(){return l_}),void 0),"./components/panel/header/magic-export.vue":()=>$(()=>Promise.resolve().then(function(){return __}),void 0),"./components/panel/header/magic-header.vue":()=>$(()=>Promise.resolve().then(function(){return S_}),void 0),"./components/panel/header/magic-push.vue":()=>$(()=>Promise.resolve().then(function(){return x_}),void 0),"./components/panel/header/magic-search.vue":()=>$(()=>Promise.resolve().then(function(){return M_}),void 0),"./components/panel/header/magic-upload.vue":()=>$(()=>Promise.resolve().then(function(){return B_}),void 0),"./components/panel/main/magic-data-resource.vue":()=>$(()=>Promise.resolve().then(function(){return W_}),void 0),"./components/panel/main/magic-login.vue":()=>$(()=>Promise.resolve().then(function(){return tp}),void 0),"./components/panel/main/magic-main.vue":()=>$(()=>Promise.resolve().then(function(){return mp}),void 0),"./components/panel/main/magic-recent-opened.vue":()=>$(()=>Promise.resolve().then(function(){return yp}),void 0),"./components/panel/main/magic-resource.vue":()=>$(()=>Promise.resolve().then(function(){return kp}),void 0),"./components/panel/main/magic-script-editor.vue":()=>$(()=>Promise.resolve().then(function(){return Gp}),void 0)}).forEach(([e,t])=>ni[e.substring(e.lastIndexOf("/")+1,e.lastIndexOf("."))]=Yi(t));const ln=e=>{let t;Object.entries(ni).forEach(([n,i])=>{e.component(n,i)}),e.config.globalProperties.$contextmenu=n=>{t!=null&&t.unmount(),t=an(zn,{menus:n.menus,position:{x:n.event.clientX,y:n.event.clientY},onDestory:()=>{t&&t.unmount(),t=null}}),ln(t),t.mount(".magic-editor .magic-mounts")},Object.keys(D).forEach(n=>e.config.globalProperties[`$${n}`]=D[n]),ei(e,ln)},ii=an(ia);ii.use(ln);ii.mount("#app");const It={baseURL:"",method:"post",timeout:0,withCredentials:!0,responseType:"json",headers:{"Content-Type":"application/x-www-form-urlencoded"},transformRequest:[function(e){return e instanceof FormData?e:Kn.stringify(e,{arrayFormat:"repeat",allowDots:!0})}],paramsSerializer(e){return Kn.stringify(e,{arrayFormat:"repeat",allowDots:!0})}};class Oa{constructor(){ft(this,"successHandle",null);ft(this,"errorHandle",null);ft(this,"endHandle",null);ft(this,"exceptionHandle",(t,n)=>{ge.alert(n,`\u8BF7\u6C42\u51FA\u9519\uFF0C\u5F02\u5E38\u4EE3\u7801(${t})`)})}success(t){return this.successHandle=t,this}exception(t){return this.exceptionHandle=t,this}error(t){return this.errorHandle=t,this}end(t){this.endHandle=t}}class Aa{constructor(){ft(this,"_axios",null);this._axios=na.create(It)}getAxios(){return this._axios}setBaseURL(t){It.baseURL=t}execute(t){let n=ce({baseURL:It.baseURL},t);return n.headers=n.headers||{},n.headers[D.HEADER_MAGIC_TOKEN]=D.HEADER_MAGIC_TOKEN_VALUE,this._axios.request(n)}processError(t){t.response?ge.alert(JSON.stringify(t.response.data||"")||`\u8BF7\u6C42\u51FA\u9519HttpStatus:(${t.response.status})`,`\u8BF7\u6C42\u51FA\u9519HttpStatus:(${t.response.status})`):ge.alert(t.message,"\u8BF7\u6C42\u51FA\u9519"),console.error(t)}sendJson(t,n,i){return this.send(t,JSON.stringify(n),i||{method:"post",headers:{"Content-Type":"application/json"},transformRequest:[]})}sendGet(t,n,i){return i=i||{},i.method="get",this.send(t,n,i)}sendPost(t,n,i){return i=i||{},i.method="post",this.send(t,n,i)}send(t,n,i){let a=i||It||{};a.url=t,(a.method||"").toLowerCase()==="post"?a.data=n:a.params=n,a.baseURL=It.baseURL;let s=new Oa,o=!1,r=(l,u)=>{l instanceof Blob?(o=!0,s.successHandle&&s.successHandle(l,u)):l.code===1?(o=!0,s.successHandle&&s.successHandle(l.data,u)):(l.code===401&&console.log("\u672A\u767B\u5F55"),s.exceptionHandle&&s.exceptionHandle(l.code,l.message,u))};return this.execute(a).then(l=>{let u=l.data,c=l.headers["content-type"]&&l.headers["content-type"].startsWith("application/json");if(u instanceof Blob&&c){let h=new FileReader;h.readAsText(u),h.onload=function(){try{u=JSON.parse(this.result),r(u,l)}catch(m){console.error(m),r(u,l)}};return}r(u,l)}).catch(l=>{typeof s.errorHandle=="function"?s.errorHandle(l.response.data,l.response,l):this.processError(l)}).finally(()=>{typeof s.endHandle=="function"&&s.endHandle(o)}),s}}var K=new Aa;const oe={Alt:512,Ctrl:1024,Shift:2048};new Array(26).fill(0).forEach((e,t)=>oe[String.fromCharCode(65+t)]=65+t);new Array(12).fill(0).forEach((e,t)=>oe[`F${t+1}`]=112+t);const Ht=[],ai=e=>{if(e.keyCode){let t=e.keyCode;t|=e.ctrlKey&&oe.Ctrl||0,t|=e.shiftKey&&oe.Shift||0,t|=e.altKey&&oe.Alt||0,t|=e.metaKey&&oe.Ctrl||0;for(let n=0,i=Ht.length;ndocument.addEventListener("keydown",ai);oe.bind=(e,t,n)=>{un||(un=!0,oe.init()),typeof n=="function"&&Ht.push({target:e,code:t,callback:n})};oe.unbind=()=>{Ht.length=0,document.removeEventListener("keydown",ai),un=!1};var Ra={editor:{base:"vs",rules:[{background:"#ffffff"},{token:"keywords",foreground:"000080",fontStyle:"bold"},{token:"number",foreground:"0000FF"},{token:"keyword",foreground:"000080",fontStyle:"bold"},{token:"string.sql",foreground:"008000"},{token:"tag.sql",foreground:"0033B3"},{token:"attribute.name.sql",foreground:"174AD4"},{token:"attribute.value.sql",foreground:"067D17"},{token:"predefined",foreground:"000000",fontStyle:"italic"},{token:"operator.sql",foreground:"000080",fontStyle:"bold"},{token:"key",foreground:"660E7A"},{token:"string.key.json",foreground:"660E7A"},{token:"string.value.json",foreground:"008000"},{token:"keyword.json",foreground:"0000FF"},{token:"string",foreground:"008000",fontStyle:"bold"},{token:"string.invalid",foreground:"008000",background:"FFCCCC"},{token:"string.escape.invalid",foreground:"008000",background:"FFCCCC"},{token:"string.escape",foreground:"000080",fontStyle:"bold"},{token:"comment",foreground:"808080",fontStyle:"italic"},{token:"comment.doc",foreground:"808080",fontStyle:"italic"},{token:"comment.todo",foreground:"008DDE",fontStyle:"italic"},{token:"string.escape",foreground:"000080"}],colors:{"editor.foreground":"#000000","editor.background":"#ffffff","editorLineNumber.foreground":"#999999","editorGutter.background":"#f0f0f0","editor.lineHighlightBackground":"#FFFAE3","dropdown.background":"#F2F2F2","dropdown.foreground":"#000000","list.activeSelectionBackground":"#1A7DC4","list.activeSelectionForeground":"#ffffff"}}},Ia={editor:{base:"vs-dark",rules:[{foreground:"A9B7C6"},{token:"keywords",foreground:"CC7832",fontStyle:"bold"},{token:"keyword",foreground:"CC7832",fontStyle:"bold"},{token:"number",foreground:"6897BB"},{token:"string",foreground:"6A8759",fontStyle:"bold"},{token:"string.sql",foreground:"6A8759"},{token:"tag.sql",foreground:"E8BF6A"},{token:"attribute.name.sql",foreground:"BABABA"},{token:"attribute.value.sql",foreground:"6A8759"},{token:"predefined.sql",foreground:"A9B7C6",fontStyle:"italic"},{token:"predefined.magicscript",foreground:"A9B7C6",fontStyle:"italic"},{token:"key",foreground:"9876AA"},{token:"string.key.json",foreground:"9876AA"},{token:"string.value.json",foreground:"6A8759"},{token:"keyword.json",foreground:"6897BB"},{token:"operator.sql",foreground:"CC7832",fontStyle:"bold"},{token:"string.invalid",foreground:"008000",background:"FFCCCC"},{token:"string.escape.invalid",foreground:"008000",background:"FFCCCC"},{token:"string.escape",foreground:"000080",fontStyle:"bold"},{token:"comment",foreground:"808080",fontStyle:"italic"},{token:"comment.doc",foreground:"629755",fontStyle:"italic"},{token:"comment.todo",foreground:"A8C023",fontStyle:"italic"},{token:"string.escape",foreground:"CC7832"}],colors:{"editor.background":"#2B2B2B","editorLineNumber.foreground":"#999999","editorGutter.background":"#313335","editor.lineHighlightBackground":"#323232","dropdown.background":"#3C3F41","dropdown.foreground":"#BBBBBB","list.activeSelectionBackground":"#4B6EAF","list.activeSelectionForeground":"#FFFFFF","editorSuggestWidget.selectedBackground":"#113A5C"}},styles:{"main-background-color":"#3C3F41","main-border-color":"#323232","main-color":"#bbb","main-selected-background-color":"#323232","main-hover-background-color":"#353739","main-hover-icon-background-color":"#4C5052","main-selected-color":"#fff","main-icon-color":"#AFB1B3","header-title-color":"#bbb","header-version-color":"#999","header-default-color":"#AFB1B3","empty-background-color":"#282828","empty-key-color":"#489DF6","empty-color":"#A0A0A0","button-hover-background-color":"#365880","button-hover-border-color":"#43688C","button-background-color":"#4C5052","button-border-color":"#5E6060","button-disabled-color":"#5a5a5a","navbar-body-background-color":"#3C3F41","navbar-body-border-color":"#555555","resource-label-color":"#bbb","resource-span-color":"#787878","tree-hover-background-color":"#0d293e","tree-icon-color":"#aeb9c0","table-border-color":"#646464","input-border-color":"#646464","input-foucs-color":"#3D6185","input-background-color":"#45494A","select-background-color":"#3C3F41","select-hover-background-color":"#3C3F41","select-option-background-color":"#3C3F41","select-option-hover-background-color":"#4B6EAF","select-option-border-color":"#808080","data-type-default-color":"#a9b7c6","data-type-string-color":"#6a8759","data-type-integer-color":"#6897bb","data-type-byte-color":"#6897bb","data-type-long-color":"#6897bb","data-type-float-color":"#6897bb","data-type-double-color":"#6897bb","data-type-short-color":"#6897bb","data-type-number-color":"#6897bb","data-type-boolean-color":"#cc7832","data-type-class-color":"#9876aa","data-type-key-color":"#FF8E8E","run-log-background-color":"#2b2b2b","log-level-info":"#ABC023","log-level-error":"#CC666E","log-level-debug":"#299999","log-level-warn":"unset","log-level-trace":"#5394EC","log-color-cyan":"#009191","log-color-link":"#287BDE","todo-color":"#A8C023","debug-line-background-color":"#2D6099","breakpoints-background-color":"#C75450","breakpoint-line-background-color":"#3a2323","select-inputable-background-color":"#45494a","select-inputable-border":"transparent","tab-selected-background-color":"#4E5254","message-em-color":"#68dd9a","checkbox-background-color":"#43494A","checkbox-border-color":"#6B6B6B","checkbox-text-color":"#bbb","checkbox-selected-background-color":"#43494A","checkbox-selected-border-color":"#6B6B6B","toolbox-list-label-color":"#bbb","toolbox-list-span-color":"#787878","toolbox-border-color":"#323232","toolbox-list-hover-background":"#0D293E","toolbox-border-right-color":"#555555","footer-border-color":"#323232","tab-bar-border-color":"#323232","dialog-border-color":"#282828","dialog-shadow-color":"#151515","table-col-border-color":"#333638","table-row-border-color":"#333638","table-hover-background":"#4B6EAF","debug-line-background":"#2D6099","breakpoints-background":"#C75450","breakpoint-line-background":"#3a2323","table-even-background":"#414547","button-disabled-background":"#5A5A5A","toolbox-list-header-icon-color":"#AFB1B3","log-error-color":"#CC666E","text-string-color":"#6A8759","text-number-color":"#6897BB","text-boolean-color":"#CC7832","text-property-color":"#9876aa","text-key-color":"#9876aa","suggest-hover-background":"#113A5C","suggest-hover-color":"#fff","statusbar-em-color":"#68dd9a"}};const Yt={},cn=(e,t)=>{t=t||{};let n=t.editor||{};n.base=n.base||"vs",n.inherit=n.inherit===void 0?!0:n.inherit,n.rules=n.rules||[],n.colors=n.colors||[],We.defineTheme(e,n),Yt[e]=t.styles||{}};function xt(e,t,n,i){if(e&&e.length>0&&n){let a=function(r,l){return r[n].localeCompare(l[n],"zh-CN")},s=[],o=[];e.forEach(r=>{r.folder===!0?(i&&(r[i]=xt(r[i],t,n,i)),s.push(r)):o.push(r)}),s.sort(a),o.sort(a),t===!1&&(s.reverse(),o.reverse()),e.splice(0,e.length,...s.concat(o))}return e}function xa(e){return Array(e).fill(0).map(()=>(Math.random()*16|0).toString(16)).join("")}function Tt(e,t){return t=t||2,(Array(t).join(0)+e).slice(-t)}function Ct(e){if(typeof e=="number"&&(e.toString().length===13?e=new Date(e):e=new Date(e*1e3)),e instanceof Date){var t=e.getMonth()+1,n=e.getDate(),i=e.getHours(),a=e.getMinutes(),s=e.getSeconds();return e.getFullYear()+"-"+Tt(t)+"-"+Tt(n)+" "+Tt(i)+":"+Tt(a)+":"+Tt(s)}return""}function ct(e){return e.replace(/:?\/+/g,t=>t.indexOf(":")>-1?t:"/")}function Ca(e){const t=a=>{if(Array.isArray(a)){let s=a.length,o=100;if(s>o){let r=[];for(let l=0;li(""+(l+c),void 0,JSON.stringify(u),u))});return r}return a.map((r,l)=>i(""+l,void 0,JSON.stringify(r),r))}else return Object.keys(a).map(s=>{const o=a[s];return i(s,void 0,JSON.stringify(o),o)})},n=a=>{try{return JSON.parse(a)}catch{return a}},i=(a,s,o,r)=>{var O;let l=(s||"").startsWith("java.lang"),u,c,h;l?(u=((O=s==null?void 0:s.substring(10))==null?void 0:O.toLowerCase())||typeof r,["integer","double","float","byte","short","long"].indexOf(u)>-1&&(u="number"),u==="class"&&(o=o.substring(1,o.length-1))):(r=r||o&&n(o),!Array.isArray(r)&&typeof r!="object"?(l=!0,u=typeof r):(Array.isArray(r)?(h=`size = ${r.length}`,u="array"):(h=`members = ${r&&Object.keys(r).length}`,u="object"),s=s||(Array.isArray(r)?"Array":typeof r),c=r&&t(r)||[]));let m=r==null&&!l;return m&&(s="null",l=!0,o="null"),{name:a,value:o,data:r,dataType:u,type:s,size:h,isNull:m,folder:!l,opened:!1,children:c}};return e&&e.map(a=>i(a.name,a.type,a.value))||[]}function La(e){const t=["B","KB","MB"];let n=0;for(;n=1024;)e=e/1024,n++;return e=e.toFixed(2),`${e} ${t[n]}`}function qe(e,t){const n=i=>i.filter(a=>a.folder).forEach(a=>{n(a.children||[]),t(a)});n(e||[])}function _n(e,t){let n=document.createElement("a"),i=window.URL.createObjectURL(e);n.href=i,n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(i)}function si(e){try{var t=document.createElement("textarea");return t.style="position:absolute;left:-99999999px",document.body.appendChild(t),t.innerHTML=e,t.readOnly=!1,t.select(),document.execCommand("copy"),!0}catch{return!1}}function Na(e){let t=0;for(let n=0,i=0,a=e.length;no.apply(this,s))}}report(t){try{window._czc.push(["_trackEvent",t,t])}catch{}}send(t,n){this.$emit("message",t,n)}status(t,n){const i=new Date;n===!1&&(t=`${t}`),this.statusLog.value.push({content:t,timestamp:Ct(i)+"."+Tt(i.getMilliseconds(),3)}),this.$emit("status",t)}clearStatusLog(){this.statusLog.value=[]}getStatusLog(){return this.statusLog}}var E=new Pa;const pn={escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,builtinFunctions:[],digits:/[0-9_]+/,binarydigits:/[0-1_]+/,hexdigits:/[[0-9a-fA-F_]+/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/\s+/,"white"],[/```$/,{token:"string",next:"@codeblock"}],[/[a-zA-Z_$][\w$]*[\s]?/,{cases:{"@builtinFunctions":"predefined","~(new|var|if|else|for|in|return|import|break|continue|as|null|true|false|try|catch|finally|async|while|exit|asc|desc|ASC|DESC|assert|let|const|throw)[\\s]?":{token:"keywords"},"~(select|from|left|join|on|and|or|order|by|where|group|having|limit|offset|SELECT|FROM|LEFT|JOIN|ON|AND|OR|ORDER|BY|WHERE|GROUP|HAVING|LIMIT|OFFSET)[\\s]{1}":{token:"keywords"},"@default":"identifier"}}],[/::[a-zA-Z]+/,"keywords"],[/[{}()[\]]/,"@brackets"],[/(@digits)\.(@digits)/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)[lLbBsSdDfFmM]?/,"number"],[/\/\*\**/,"comment","@comment"],[/\/\//,"comment","@commentTodo"],[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@string_multi_embedded",nextEmbedded:"mybatis"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],comment:[[/\*\//,"comment","@popall"],[/\S((TODO)|(todo)|(fixme)|(FIXME))\s+/,"comment"],[/((TODO)|(todo)|(fixme)|(FIXME))\s+[^(*/)]+/,"comment.todo"],[/\S/,"comment"]],commentTodo:[[/^/,"","@popall"],[/\S((TODO)|(todo)|(fixme)|(FIXME))\s+/,"comment"],[/((TODO)|(todo)|(fixme)|(FIXME))[ \t]+[^\n]+/,"comment.todo","@popall"],[/\S/,"comment"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],codeblock:[[/^```$/,{token:"string",next:"@pop"}],[/.*$/,"variable.source"]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_multi_embedded:[[/[^"]+/,""],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string_double:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],string_single:[[/[^\\']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"]],string_backtick:[[/\$\{/,{token:"delimiter.bracket",next:"@bracketCounting"}],[/[^\\`$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/`/,"string","@pop"]],bracketCounting:[[/\{/,"delimiter.bracket","@bracketCounting"],[/\}/,"delimiter.bracket","@pop"],{include:"root"}]}};let ze={},dn={},Lt=[],hn=[],Kt,fn;const wa=e=>e==="int"||e==="java.lang.Integer"?"java.lang.Integer":e==="string"||e==="java.lang.String"?"java.lang.String":e==="double"||e==="java.lang.Double"?"java.lang.Double":e==="float"||e==="java.lang.Float"?"java.lang.Float":e==="byte"||e==="java.lang.Byte"?"java.lang.Byte":e==="short"||e==="java.lang.Short"?"java.lang.Short":e==="long"||e==="java.lang.Long"?"java.lang.Long":e.indexOf("[]")>-1?"[Ljava.lang.Object;":e||"java.lang.Object",mn=e=>{let t=e.lastIndexOf(".");return t>-1?e.substring(t+1):e},ka=(e,t,n)=>e.length>0&&e[e.length-1].varArgs?n?e.length-1<=t.length:e.length<=t.length:n?e.length-1===t.length:e.length===t.length,Da=function(){return new Promise((e,t)=>{K.sendPost("/classes").success(n=>{ze=n.classes||{},dn=n.extensions||{},hn=n.functions||[],pn.builtinFunctions=hn.map(i=>i.name),q.setMonarchTokensProvider("magicscript",pn),e()}).exception(n=>{t()}).error(n=>{t()})})},$a=()=>new Promise((e,t)=>{K.execute({url:"classes.txt",responseType:"text",method:"get"}).then(n=>{const i=[];n.data.split(` `).forEach(a=>{const s=a.split(":");s.length===1?i.push(s[0].trim()):i.push(...s[1].split(",").map(o=>s[0]+"."+o.trim()))}),Lt=i,e()}).catch(n=>{t()})}),oi=(e,t)=>Array(t>(e+"").length?t-(""+e).length-1:0).join(0)+e,ri=e=>{let t=[];return e&&(t=e.enums||[],e.superClass&&(t=t.concat(ri(e.superClass)))),t},li=(e,t,n)=>{if(e.insertText=e.name,e.parameters.length>t){let i=[],a=[];for(let s=t;s{Nt[e]=t},gn=e=>{let t=[];if(e){if(t=e.attributes||[],e.superClass&&(t=t.concat(gn(e.superClass))),e.interfaces&&e.interfaces.length>0)for(let n=0,i=e.interfaces.length;n{t=t||0;let n=[],i=(a,s,o)=>{if(a&&a.methods)for(let r=0,l=a.methods.length;r0)for(let a=0,s=e.interfaces.length;adn[e],Ba=e=>{if(!e)throw new Error("className is required");let t=ze[e];if(!t){let n=Lt.findIndex(i=>i===e);t=Lt[n]}return t};async function Fa(e){let t=ze[e];if(t)t=ze[t.className]||t;else try{(await K.execute({url:"/class",data:{className:e}})).data.data.forEach(a=>{ze[a.className]=a}),t=ze[e]}catch{}return t}const ja=()=>hn.map(e=>li(e,0,1)),ui=()=>{if(!Kt&&D.config){let e=D.config;e.autoImportModuleList&&(Kt={},e.autoImportModuleList.forEach(n=>{Kt[n]=n}));let t=["java.util.","java.lang."].concat((e.autoImportPackage||"").replace(/\\s/g,"").replace(/\*/g,"").split(","));fn={},Lt.forEach(n=>{t.forEach(i=>{n.indexOf(i)===0&&n.indexOf(".",i.length)===-1&&(fn[n.substring(n.lastIndexOf(".")+1)]=n)})})}},Ga=()=>(ui(),Kt||{}),Va=()=>(ui(),fn||{}),Ha=()=>Lt;let En;const Ya=e=>{En=e},Ka=e=>En&&En(e),Wa=()=>Object.keys(ze).filter(e=>ze[e].module);let ci;const qa=e=>{ci=e};let _i;const za=e=>{_i=e},Xa=()=>ci,Ja=()=>_i,ne={findEnums:ri,findAttributes:gn,findMethods:vn,findFunction:ja,loadClass:Fa,findClass:Ba,initClasses:Da,initImportClass:$a,getWrapperClass:wa,matchTypes:ka,getAutoImportModule:Ga,getAutoImportClass:Va,getExtension:Ua,getImportClass:Ha,getOnlineFunction:Ka,setupOnlineFunction:Ya,setExtensionAttribute:Ma,getSimpleClass:mn,getDefineModules:Wa,setApiFinder:qa,setFunctionFinder:za,getApiFinder:Xa,getFunctionFinder:Ja};class he extends Error{constructor(t,n){super(t);this.name="ParseException",this.span=n}}class Qa{constructor(t,n,i,a,s,o,r){this.source=t,this.start=n,this.end=i,this.lineNumber=a,this.endLineNumber=s,this.startCol=o,this.endCol=r}}class z{constructor(t,n,i){t instanceof z&&n instanceof z?(this.source=t.source,this.start=t.start,this.end=n.end,this.cachedText=this.source.substring(this.start,this.end)):(this.source=t,this.start=n||0,this.end=i||t.length,this.cachedText=t.substring(this.start,this.end))}getText(){return this.cachedText}getSource(){return this.source}getStart(){return this.start}getEnd(){return this.end}toString(){return"Span [text="+this.getText()+", start="+this.start+", end="+this.end+"]"}inPosition(t){return this.start<=t&&this.end>=t}getLine(){if(this.line!=null)return this.line;let t=this.start;for(;tthis.source.length-1||this.source.charAt(n)===` `);)n++;let i=0,a=t;for(;a>0&&a0,t);else if(this._options.max_preserve_newlines&&n>this._options.max_preserve_newlines&&(n=this._options.max_preserve_newlines),this._options.preserve_newlines&&n>1){this.print_newline(!1,t);for(var o=1;o0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))};ie.prototype.set_mode=function(e){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,e),this._flags=this.create_flags(this._previous_flags,e),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};ie.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===Y.Statement&&ki(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))};ie.prototype.start_of_object_property=function(){return this._flags.parent.mode===Y.ObjectLiteral&&this._flags.mode===Y.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||le(this._flags.last_token,["get","set"]))};ie.prototype.start_of_statement=function(e){var t=!1;return t=t||le(this._flags.last_token,["var","let","const"])&&e.type===S.WORD,t=t||Ue(this._flags.last_token,"do"),t=t||!(this._flags.parent.mode===Y.ObjectLiteral&&this._flags.mode===Y.Statement)&&le(this._flags.last_token,kn)&&!e.newlines,t=t||Ue(this._flags.last_token,"else")&&!(Ue(e,"if")&&!e.comments_before),t=t||this._flags.last_token.type===S.END_EXPR&&(this._previous_flags.mode===Y.ForInitializer||this._previous_flags.mode===Y.Conditional),t=t||this._flags.last_token.type===S.WORD&&this._flags.mode===Y.BlockStatement&&!this._flags.in_case&&!(e.text==="--"||e.text==="++")&&this._last_last_text!=="function"&&e.type!==S.WORD&&e.type!==S.RESERVED,t=t||this._flags.mode===Y.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||le(this._flags.last_token,["get","set"])),t?(this.set_mode(Y.Statement),this.indent(),this.handle_whitespace_and_comments(e,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e,le(e,["do","for","if","while"])),!0):!1};ie.prototype.handle_start_expr=function(e){this.start_of_statement(e)||this.handle_whitespace_and_comments(e);var t=Y.Expression;if(e.text==="["){if(this._flags.last_token.type===S.WORD||this._flags.last_token.text===")"){le(this._flags.last_token,At)&&(this._output.space_before_token=!0),this.print_token(e),this.set_mode(t),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}t=Y.ArrayLiteral,ot(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),Q(this._flags.last_token.type,[S.START_EXPR,S.END_EXPR,S.WORD,S.OPERATOR,S.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===S.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,t=Y.ForInitializer):Q(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,t=Y.Conditional):Q(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&e.whitespace_before===""?this._output.space_before_token=!1:(Q(this._flags.last_token.text,At)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===S.EQUALS||this._flags.last_token.type===S.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e);else if(this._flags.last_token.type===S.WORD){this._output.space_before_token=!1;var n=this._tokens.peek(-3);if(this._options.space_after_named_function&&n){var i=this._tokens.peek(-4);le(n,["async","function"])||n.text==="*"&&le(i,["async","function"])?this._output.space_before_token=!0:this._flags.mode===Y.ObjectLiteral&&(n.text==="{"||n.text===","||n.text==="*"&&(i.text==="{"||i.text===","))&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(e);(this._flags.last_token.type===S.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(Q(this._last_last_text,["function","yield"])||this._flags.mode===Y.ObjectLiteral&&Q(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===S.START_BLOCK?this.print_newline():(this._flags.last_token.type===S.END_EXPR||this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===S.COMMA)&&this.allow_wrap_or_preserved_newline(e,e.newlines),this.print_token(e),this.set_mode(t),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()};ie.prototype.handle_end_expr=function(e){for(;this._flags.mode===Y.Statement;)this.restore_mode();this.handle_whitespace_and_comments(e),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(e,e.text==="]"&&ot(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===S.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(e),this.restore_mode(),ki(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===Y.Conditional&&(this._previous_flags.mode=Y.Expression,this._flags.do_block=!1,this._flags.do_while=!1)};ie.prototype.handle_start_block=function(e){this.handle_whitespace_and_comments(e);var t=this._tokens.peek(),n=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===S.END_EXPR?(this.set_mode(Y.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(Y.BlockStatement):n&&(Q(n.text,[":",","])&&Q(t.type,[S.STRING,S.WORD,S.RESERVED])||Q(t.text,["get","set","..."])&&Q(n.type,[S.WORD,S.RESERVED]))?Q(this._last_last_text,["class","interface"])?this.set_mode(Y.BlockStatement):this.set_mode(Y.ObjectLiteral):this._flags.last_token.type===S.OPERATOR&&(this._flags.last_token.text==="=>"||this._flags.last_token.text==="->")?this.set_mode(Y.BlockStatement):Q(this._flags.last_token.type,[S.EQUALS,S.START_EXPR,S.COMMA,S.OPERATOR])||le(this._flags.last_token,["return","throw","import","default"])?this.set_mode(Y.ObjectLiteral):this.set_mode(Y.BlockStatement);var i=!t.comments_before&&t.text==="}",a=i&&this._flags.last_word==="function"&&this._flags.last_token.type===S.END_EXPR;if(this._options.brace_preserve_inline){var s=0,o=null;this._flags.inline_frame=!0;do if(s+=1,o=this._tokens.peek(s-1),o.newlines){this._flags.inline_frame=!1;break}while(o.type!==S.EOF&&!(o.type===S.END_BLOCK&&o.opened===e))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&e.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==S.OPERATOR&&(a||this._flags.last_token.type===S.EQUALS||le(this._flags.last_token,Zt)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(ot(this._previous_flags.mode)&&(this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.COMMA)&&((this._flags.last_token.type===S.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(e),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==S.OPERATOR&&this._flags.last_token.type!==S.START_EXPR&&(this._flags.last_token.type===S.START_BLOCK&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(e),this.indent(),!i&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()};ie.prototype.handle_end_block=function(e){for(this.handle_whitespace_and_comments(e);this._flags.mode===Y.Statement;)this.restore_mode();var t=this._flags.last_token.type===S.START_BLOCK;this._flags.inline_frame&&!t?this._output.space_before_token=!0:this._options.brace_style==="expand"?t||this.print_newline():t||(ot(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(e)};ie.prototype.handle_word=function(e){if(e.type===S.RESERVED){if(Q(e.text,["set","get"])&&this._flags.mode!==Y.ObjectLiteral)e.type=S.WORD;else if(e.text==="import"&&this._tokens.peek().text==="(")e.type=S.WORD;else if(Q(e.text,["as","from"])&&!this._flags.import_block)e.type=S.WORD;else if(this._flags.mode===Y.ObjectLiteral){var t=this._tokens.peek();t.text===":"&&(e.type=S.WORD)}}if(this.start_of_statement(e)?le(this._flags.last_token,["var","let","const"])&&e.type===S.WORD&&(this._flags.declaration_statement=!0):e.newlines&&!Gt(this._flags.mode)&&(this._flags.last_token.type!==S.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==S.EQUALS&&(this._options.preserve_newlines||!le(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(e),this.print_newline()):this.handle_whitespace_and_comments(e),this._flags.do_block&&!this._flags.do_while)if(Ue(e,"while")){this._output.space_before_token=!0,this.print_token(e),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&Ue(e,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===Y.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&le(e,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(e),this._flags.in_case=!0;return}if((this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.EQUALS||this._flags.last_token.type===S.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e)),Ue(e,"function")){(Q(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(Q(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===S.OPERATOR))&&!this._output.just_added_blankline()&&!e.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD?le(this._flags.last_token,["get","set","new","export"])||le(this._flags.last_token,kn)?this._output.space_before_token=!0:Ue(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===S.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(Gt(this._flags.mode)||ot(this._flags.mode))||this.print_newline(),this.print_token(e),this._flags.last_word=e.text;return}var n="NONE";if(this._flags.last_token.type===S.END_BLOCK?this._previous_flags.inline_frame?n="SPACE":le(e,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&e.newlines?n="NEWLINE":(n="SPACE",this._output.space_before_token=!0):n="NEWLINE":this._flags.last_token.type===S.SEMICOLON&&this._flags.mode===Y.BlockStatement?n="NEWLINE":this._flags.last_token.type===S.SEMICOLON&&Gt(this._flags.mode)||this._flags.last_token.type===S.STRING||this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD||this._flags.last_token.text==="*"&&(Q(this._last_last_text,["function","yield"])||this._flags.mode===Y.ObjectLiteral&&Q(this._last_last_text,["{",","]))?n="SPACE":this._flags.last_token.type===S.START_BLOCK?this._flags.inline_frame?n="SPACE":n="NEWLINE":this._flags.last_token.type===S.END_EXPR&&(this._output.space_before_token=!0,n="NEWLINE"),le(e,At)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?n="SPACE":n="NEWLINE"),le(e,["else","catch","finally"]))if((!(this._flags.last_token.type===S.END_BLOCK&&this._previous_flags.mode===Y.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&e.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var i=this._output.current_line;i.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else n==="NEWLINE"?le(this._flags.last_token,Zt)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&le(e,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==S.END_EXPR?(this._flags.last_token.type!==S.START_EXPR||!le(e,["var","let","const"]))&&this._flags.last_token.text!==":"&&(Ue(e,"if")&&Ue(e.previous,"else")?this._output.space_before_token=!0:this.print_newline()):le(e,At)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&ot(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():n==="SPACE"&&(this._output.space_before_token=!0);e.previous&&(e.previous.type===S.WORD||e.previous.type===S.RESERVED)&&(this._output.space_before_token=!0),this.print_token(e),this._flags.last_word=e.text,e.type===S.RESERVED&&(e.text==="do"?this._flags.do_block=!0:e.text==="if"?this._flags.if_block=!0:e.text==="import"?this._flags.import_block=!0:this._flags.import_block&&Ue(e,"from")&&(this._flags.import_block=!1))};ie.prototype.handle_semicolon=function(e){this.start_of_statement(e)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(e);for(var t=this._tokens.peek();this._flags.mode===Y.Statement&&!(this._flags.if_block&&Ue(t,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(e)};ie.prototype.handle_string=function(e){e.text.startsWith("`")&&e.newlines===0&&e.whitespace_before===""&&(e.previous.text===")"||this._flags.last_token.type===S.WORD)||(this.start_of_statement(e)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(e),this._flags.last_token.type===S.RESERVED||this._flags.last_token.type===S.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR||this._flags.last_token.type===S.EQUALS||this._flags.last_token.type===S.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(e):e.text.startsWith("`")&&this._flags.last_token.type===S.END_EXPR&&(e.previous.text==="]"||e.previous.text===")")&&e.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(e)};ie.prototype.handle_equals=function(e){this.start_of_statement(e)||this.handle_whitespace_and_comments(e),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(e),this._output.space_before_token=!0};ie.prototype.handle_comma=function(e){this.handle_whitespace_and_comments(e,!0),this.print_token(e),this._output.space_before_token=!0,this._flags.declaration_statement?(Gt(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(e)):this._flags.mode===Y.ObjectLiteral||this._flags.mode===Y.Statement&&this._flags.parent.mode===Y.ObjectLiteral?(this._flags.mode===Y.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(e)};ie.prototype.handle_operator=function(e){var t=e.text==="*"&&(le(this._flags.last_token,["function","yield"])||Q(this._flags.last_token.type,[S.START_BLOCK,S.COMMA,S.END_BLOCK,S.SEMICOLON])),n=Q(e.text,["-","+"])&&(Q(this._flags.last_token.type,[S.START_BLOCK,S.START_EXPR,S.EQUALS,S.OPERATOR])||Q(this._flags.last_token.text,At)||this._flags.last_token.text===",");if(!this.start_of_statement(e)){var i=!t;this.handle_whitespace_and_comments(e,i)}if(le(this._flags.last_token,Zt)){this._output.space_before_token=!0,this.print_token(e);return}if(e.text==="*"&&this._flags.last_token.type===S.DOT){this.print_token(e);return}if(e.text==="::"){this.print_token(e);return}if(this._flags.last_token.type===S.OPERATOR&&Q(this._options.operator_position,wi)&&this.allow_wrap_or_preserved_newline(e),e.text===":"&&this._flags.in_case){this.print_token(e),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==S.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var a=!0,s=!0,o=!1;if(e.text===":"?this._flags.ternary_depth===0?a=!1:(this._flags.ternary_depth-=1,o=!0):e.text==="?"&&(this._flags.ternary_depth+=1),!n&&!t&&this._options.preserve_newlines&&Q(e.text,Ft)){var r=e.text===":",l=r&&o,u=r&&!o;switch(this._options.operator_position){case jt.before_newline:this._output.space_before_token=!u,this.print_token(e),(!r||l)&&this.allow_wrap_or_preserved_newline(e),this._output.space_before_token=!0;return;case jt.after_newline:this._output.space_before_token=!0,!r||l?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(e):this._output.space_before_token=!1,this.print_token(e),this._output.space_before_token=!0;return;case jt.preserve_newline:u||this.allow_wrap_or_preserved_newline(e),a=!(this._output.just_added_newline()||u),this._output.space_before_token=a,this.print_token(e),this._output.space_before_token=!0;return}}if(t){this.allow_wrap_or_preserved_newline(e),a=!1;var c=this._tokens.peek();s=c&&Q(c.type,[S.WORD,S.RESERVED])}else e.text==="..."?(this.allow_wrap_or_preserved_newline(e),a=this._flags.last_token.type===S.START_BLOCK,s=!1):(Q(e.text,["--","++","!","~"])||n)&&((this._flags.last_token.type===S.COMMA||this._flags.last_token.type===S.START_EXPR)&&this.allow_wrap_or_preserved_newline(e),a=!1,s=!1,e.newlines&&(e.text==="--"||e.text==="++"||e.text==="~")&&this.print_newline(!1,!0),this._flags.last_token.text===";"&&Gt(this._flags.mode)&&(a=!0),this._flags.last_token.type===S.RESERVED?a=!0:this._flags.last_token.type===S.END_EXPR?a=!(this._flags.last_token.text==="]"&&(e.text==="--"||e.text==="++")):this._flags.last_token.type===S.OPERATOR&&(a=Q(e.text,["--","-","++","+"])&&Q(this._flags.last_token.text,["--","-","++","+"]),Q(e.text,["+","-"])&&Q(this._flags.last_token.text,["--","++"])&&(s=!0)),(this._flags.mode===Y.BlockStatement&&!this._flags.inline_frame||this._flags.mode===Y.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline());this._output.space_before_token=this._output.space_before_token||a,this.print_token(e),this._output.space_before_token=s};ie.prototype.handle_block_comment=function(e,t){if(this._output.raw){this._output.add_raw_token(e),e.directives&&e.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(e.directives){this.print_newline(!1,t),this.print_token(e),e.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!Mt.test(e.text)&&!e.newlines){this._output.space_before_token=!0,this.print_token(e),this._output.space_before_token=!0;return}else this.print_block_commment(e,t)};ie.prototype.print_block_commment=function(e,t){var n=Xs(e.text),i,a=!1,s=!1,o=e.whitespace_before,r=o.length;if(this.print_newline(!1,t),this.print_token_line_indentation(e),this._output.add_token(n[0]),this.print_newline(!1,t),n.length>1){for(n=n.slice(1),a=Js(n,"*"),s=Qs(n,o),a&&(this._flags.alignment=1),i=0;i{Ps();const e="magicscript";q.register({id:e}),q.setLanguageConfiguration(e,{wordPattern:/(-?\d*\.\d\w*)|([^`~!#%^&*()\-=+[{\]}\\|;:'",.<>/?\s]+)/g,brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:q.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:q.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:q.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:q.IndentAction.None,removeText:1}}],comments:{lineComment:"//",blockComment:["/*","*/"]},operators:["<=",">=","==","!=","+","-","*","/","%","&","|","!","&&","||","?",":","++","--","+=","-=","*=","/="],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string.multi"]},{open:"",close:""},{open:"'},{open:"",close:""},{open:"'},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]},{open:"/**",close:" */",notIn:["string"]}]}),q.setMonarchTokensProvider(e,pn),q.registerCompletionItemProvider(e,Is),q.registerFoldingRangeProvider(e,Cs),q.registerSignatureHelpProvider(e,Ls),q.registerHoverProvider(e,Ns),q.registerDocumentFormattingEditProvider(e,{provideDocumentFormattingEdits(t,n,i){return[{text:new ie(t.getValue()).beautify(),range:t.getFullModelRange()}]}})};function ye(e,t,n){var i={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null,binaryType:"blob"};n||(n={});for(var a in i)typeof n[a]!="undefined"?this[a]=n[a]:this[a]=i[a];this.url=e,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var s=this,o,r=!1,l=!1,u=document.createElement("div");u.addEventListener("open",function(h){s.onopen(h)}),u.addEventListener("close",function(h){s.onclose(h)}),u.addEventListener("connecting",function(h){s.onconnecting(h)}),u.addEventListener("message",function(h){s.onmessage(h)}),u.addEventListener("error",function(h){s.onerror(h)}),this.addEventListener=u.addEventListener.bind(u),this.removeEventListener=u.removeEventListener.bind(u),this.dispatchEvent=u.dispatchEvent.bind(u);function c(h,m){var O=document.createEvent("CustomEvent");return O.initCustomEvent(h,!1,!1,m),O}this.open=function(h){if(o=new WebSocket(s.url,t||[]),o.binaryType=this.binaryType,h){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else u.dispatchEvent(c("connecting")),this.reconnectAttempts=0;(s.debug||ye.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",s.url);var m=o,O=setTimeout(function(){(s.debug||ye.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",s.url),l=!0,m.close(),l=!1},s.timeoutInterval);o.onopen=function(b){clearTimeout(O),(s.debug||ye.debugAll)&&console.debug("ReconnectingWebSocket","onopen",s.url),s.protocol=o.protocol,s.readyState=WebSocket.OPEN,s.reconnectAttempts=0;var g=c("open");g.isReconnect=h,h=!1,u.dispatchEvent(g)},o.onclose=function(b){if(clearTimeout(d),o=null,r)s.readyState=WebSocket.CLOSED,u.dispatchEvent(c("close"));else{s.readyState=WebSocket.CONNECTING;var g=c("connecting");g.code=b.code,g.reason=b.reason,g.wasClean=b.wasClean,u.dispatchEvent(g),!h&&!l&&((s.debug||ye.debugAll)&&console.debug("ReconnectingWebSocket","onclose",s.url),u.dispatchEvent(c("close")));var d=s.reconnectInterval*Math.pow(s.reconnectDecay,s.reconnectAttempts);setTimeout(function(){s.reconnectAttempts++,s.open(!0)},d>s.maxReconnectInterval?s.maxReconnectInterval:d)}},o.onmessage=function(b){(s.debug||ye.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",s.url,b.data);var g=c("message");g.data=b.data,u.dispatchEvent(g)},o.onerror=function(b){(s.debug||ye.debugAll)&&console.debug("ReconnectingWebSocket","onerror",s.url,b),u.dispatchEvent(c("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(h){if(o)return(s.debug||ye.debugAll)&&console.debug("ReconnectingWebSocket","send",s.url,h),o.send(h);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(h,m){typeof h=="undefined"&&(h=1e3),r=!0,o&&o.close(h,m)},this.refresh=function(){o&&o.close()}}ye.prototype.onopen=function(e){};ye.prototype.onclose=function(e){};ye.prototype.onconnecting=function(e){};ye.prototype.onmessage=function(e){};ye.prototype.onerror=function(e){};ye.debugAll=!1;ye.CONNECTING=WebSocket.CONNECTING;ye.OPEN=WebSocket.OPEN;ye.CLOSING=WebSocket.CLOSING;ye.CLOSED=WebSocket.CLOSED;function Vt(e){this.listeners={},this.socket=new ye(e),this.socket.onmessage=this.messageReceived,this.socket.onconnecting=()=>{E.status("\u8FDE\u63A5\u8C03\u8BD5\u670D\u52A1\u5668...")},this.socket.onopen=()=>{E.status("\u8FDE\u63A5\u8C03\u8BD5\u670D\u52A1\u5668\u6210\u529F"),E.$emit("ws_open")},this.socket.onclose=()=>{E.status("\u8C03\u8BD5\u670D\u52A1\u5668\u5DF2\u65AD\u5F00"),E.$emit("ws_close")}}Vt.prototype.on=function(e,t){this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t)};Vt.prototype.messageReceived=function(e){let t=e.data,n=t.indexOf(","),i=n===-1?t:t.substring(0,n),a=[];for(;n>-1;){if(t=t.substring(n+1),t.startsWith("[")||t.startsWith("{")){a.push(JSON.parse(t));break}n=t.indexOf(","),a.push(n===-1?t:t.substring(0,n))}E.$emit("ws_"+i,a)};Vt.prototype.send=function(e){this.socket.send(e)};Vt.prototype.close=function(){this.socket.close()};var Re={OPEN:"open",BREAKPOINT:"breakpoint",LOGIN:"login",RESUME_BREAKPOINT:"resume_breakpoint",LOGIN_RESPONSE:"login_response",LOG:"log",LOGS:"logs",EXCEPTION:"exception",USER_LOGIN:"user_login",USER_LOGOUT:"user_logout",GET_ONLINE:"get_online",ONLINE_USERS:"online_users",SET_FILE_ID:"set_file_id",INTO_FILE_ID:"into_file_id"},w={DO_SAVE:"doSave",DO_TEST:"doTest",LOGINED:"logined",LOGOUT:"logout",DO_DOWNLOAD:"do-download",DO_UPLOAD:"do-upload",DO_PUSH:"do-push",DO_RECENT:"do-recent",OPEN:"open",SELECT_NAVBAR_BY_ITEM:"select-navbar-by-item",OPEN_WITH_ID:"open-with-id",OPEN_ITEM:"open-item",DELETE_FILE:"delete-file",DEBUG_CONTINUE:"debug-continue",DEBUG_SETPINTO:"debug-setpinto",SWITCH_THEME:"switch-theme",OPEN_GROUP:"open-group",SWITCH_TOOLBAR:"switch-toolbar",STATUS:"status",MESSAGE:"message",CLOSE:"close",OPEN_EMPTY:"open-empty",LOAD_RESOURCES:"load-resources",DO_SEARCH:"doSearch",NOTIFY:"notify",RELOAD_RESOURCES:"reload-resources",RELOAD_RESOURCES_FINISH:"reload-resources-finish",LOAD_RESOURCES_FINISH:"load-resources-finish"};const Dn="magic-";class eo{constructor(){}set(t,n){(Array.isArray(n)||typeof n=="object")&&(n=JSON.stringify(n)),localStorage.setItem(`${Dn}${t}`,n)}remove(t){localStorage.removeItem(`${Dn}${t}`)}get(t){return localStorage.getItem(`${Dn}${t}`)}}var Ge=new eo;const to=R("div",{class:"magic-mounts"},null,-1),no={props:{config:{type:Object,required:!0}},setup(e){const t=e;Zs(),self.MonacoEnvironment={getWorker:function(d,f){return f==="json"?new Ji:new Qi}},t.config.header=t.config.header||{};const n=P(!1),i=P(null),a=P(null);et("ELEMENT_ROOT",a),et("activateUserFiles",P({}));let s=null;const o=t.config;D.BASE_URL=o.baseURL||"",D.SERVER_URL=o.serverURL||"";let r=`${location.protocol}//${location.host}${location.pathname}`.replace("/index.html","");D.BASE_URL.startsWith("http")?r=D.BASE_URL:D.BASE_URL.startsWith("/")?r=`${location.protocol}/${location.host}${D.BASE_URL}`:r=r+"/"+D.BASE_URL,K.setBaseURL(D.BASE_URL),E.status("\u52A0\u8F7Dclasses\u4FE1\u606F..."),Promise.all([ne.initClasses(),ne.initImportClass()]).then(()=>E.status("classes\u4FE1\u606F\u52A0\u8F7D\u5B8C\u6BD5")).catch(d=>{E.status("classes\u4FE1\u606F\u52A0\u8F7D\u5931\u8D25")}).finally(()=>m);const l=t.config.options||[];et("options",l),l.length===0&&K.sendGet("/options").success(d=>{d.forEach(f=>l.push(f))});const u=()=>{D.LOGINED=!0,s=new Vt(ct(r.replace(/^http/,"ws")+"/console")),xe(()=>i.value.loadResources())};E.$on(w.LOGINED,u);const c=()=>{fetch("https://img.shields.io/maven-metadata/v.json?label=maven-central&metadataUrl=https%3A%2F%2Frepo1.maven.org%2Fmaven2%2Forg%2Fssssssss%2Fmagic-api%2Fmaven-metadata.xml").then(d=>{d.status===200&&d.json().then(f=>{D.config.version!==f.value.replace("v","")?(E.status(`\u7248\u672C\u68C0\u6D4B\u5B8C\u6BD5\uFF0C\u6700\u65B0\u7248\u672C\u4E3A\uFF1A${f.value},\u5EFA\u8BAE\u66F4\u65B0\uFF01\uFF01`),f.value!==Ge.get(D.IGNORE_VERSION)&&E.$emit(w.NOTIFY,{title:"\u66F4\u65B0\u63D0\u793A",icon:"warning",content:`\u68C0\u6D4B\u5230\u5DF2\u6709\u65B0\u7248\u672C${f.value}\uFF0C\u662F\u5426\u66F4\u65B0\uFF1F`,buttons:[{title:"\u66F4\u65B0\u65E5\u5FD7",onClick:()=>{window.open("http://www.ssssssss.org/magic-api/changelog.html")}},{title:"\u4E0D\u518D\u63D0\u9192",onClick:()=>{Ge.set(D.IGNORE_VERSION,f.value)}}]})):E.status("\u7248\u672C\u68C0\u6D4B\u5B8C\u6BD5\uFF0C\u5F53\u524D\u5DF2\u662F\u6700\u65B0\u7248")})})},h=()=>{D.HEADER_MAGIC_TOKEN_VALUE=Ge.get(D.STORE.token)||D.HEADER_MAGIC_TOKEN_VALUE,E.status("\u5C1D\u8BD5\u81EA\u52A8\u767B\u5F55"),K.sendPost("/login").success(d=>{d?(E.status("\u81EA\u52A8\u767B\u5F55\u6210\u529F"),E.$emit(w.LOGINED)):n.value=!0})},m=()=>{typeof hideMaLoading=="function"&&hideMaLoading()},O=()=>{K.execute({url:"/config.json",method:"get"}).then(d=>{if(D.config=d.data,t.config.inJar&&location.href.indexOf(d.data.web)>-1){let f=location.href.substring(0,location.href.indexOf(d.data.web));D.SERVER_URL=ct(f+"/"+(d.data.prefix||""))}if(D.config.version&&D.config.version!==D.MAGIC_API_VERSION_TEXT){const f=`\u68C0\u6D4B\u5230\u524D\u540E\u7AEF\u7248\u672C\u4E0D\u4E00\u81F4\uFF08\u524D\u7AEF\uFF1A${D.MAGIC_API_VERSION_TEXT} \u540E\u7AEF\uFF1A${D.config.version}\uFF09\uFF0C\u8BF7\u68C0\u67E5`;E.status(f,!1),E.$emit(w.NOTIFY,{icon:"error",title:"\u7248\u672C\u68C0\u6D4B",content:f})}m(),h(),t.config.checkUpdate!==!1&&c()}).catch(d=>{console.error(d),m(),ge.alert("\u52A0\u8F7D\u914D\u7F6E\u5931\u8D25","\u52A0\u8F7D\u914D\u7F6E\u5931\u8D25"),E.status("\u52A0\u8F7D\u914D\u7F6E\u5931\u8D25",!1)})},b=()=>{const d=document.body;oe.bind(d,oe.Ctrl|oe.S,()=>E.$emit(w.DO_SAVE,!0)),oe.bind(d,oe.Ctrl|oe.Q,()=>E.$emit(w.DO_TEST)),oe.bind(d,oe.Ctrl|oe.E,()=>E.$emit(w.DO_RECENT)),oe.bind(d,oe.F8,()=>E.$emit(w.DEBUG_CONTINUE)),oe.bind(d,oe.F6,()=>E.$emit(w.DEBUG_SETPINTO)),oe.bind(d,oe.Ctrl|oe.Shift|oe.F,()=>E.$emit(w.DO_SEARCH))};mt(()=>{b()}),Ki(()=>oe.unbind());const g=tt({});return cn("default",Ra),cn("dark",Ia),We.setTheme("default"),Object.keys(o.themes||{}).forEach(d=>{cn(d,o.themes[d])}),E.$on(w.MESSAGE,(d,f)=>{s&&(f?s.send(`${d},${f}`):s.send(d))}),E.$event(Re.OPEN,()=>{D.CLIENT_ID=xa(16),E.send(Re.LOGIN,[D.HEADER_MAGIC_TOKEN_VALUE,D.CLIENT_ID].join(","))}),E.$event(Re.LOGIN_RESPONSE,([d,f])=>{d==="1"&&(D.user=f)}),E.$on(w.LOGOUT,()=>{n.value=!0,s&&s.close(),s=null}),(d,f)=>{const A=T("magic-header"),I=T("magic-main"),y=T("magic-status-bar"),x=T("magic-login"),M=T("magic-notify");return v(),L("div",{class:"magic-editor",style:$e(k(g)),onContextmenu:f[1]||(f[1]=ve(()=>{},["prevent"])),ref:(B,X)=>{X.root=B,a.value=B}},[p(A,{themeStyle:k(g)},null,8,["themeStyle"]),p(I,{ref:(B,X)=>{X.componentMain=B,i.value=B},onOnLoad:O},null,512),p(y,{config:k(o)},null,8,["config"]),p(x,{value:n.value,"onUpdate:value":f[0]||(f[0]=B=>n.value=B)},null,8,["value"]),p(M),to],36)}}};var io=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:no});const ao={class:"magic-empty"},so={props:{text:{type:String,default:"\u65E0\u6570\u636E"}},setup(e){return(t,n)=>(v(),L("div",ao,[R("p",null,G(e.text),1)]))}};var oo=H(so,[["__scopeId","data-v-594aa0b8"]]),ro=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:oo});const lo={class:"icon"},uo={props:{loading:Boolean,loadingText:{type:String,default:"\u52A0\u8F7D\u4E2D..."},style:Object},setup(e){return(t,n)=>{const i=T("magic-icon");return e.loading?(v(),L("div",{key:0,class:"magic-loading",style:$e(e.style)},[R("p",null,[R("span",lo,[p(i,{icon:"refresh",size:"20px"})]),Ke(" "+G(e.loadingText),1)])],4)):gt(t.$slots,"default",{key:1},void 0,!0)}}};var co=H(uo,[["__scopeId","data-v-6d83fffa"]]),_o=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:co});const po={props:{language:{type:String,required:!0},editorConfig:{type:Object,default:{}},value:Array},setup(){return{instance:null,instancePromise:null}},mounted(){this.instance=We.createDiffEditor(this.$refs.editor,He(ce({},this.editorConfig),{enableSplitViewResizing:!1,language:this.language,minimap:{enabled:!1},folding:!1,lineDecorationsWidth:20,wordWrap:"on",fixedOverflowWidgets:!1,fontFamily:D.EDITOR_FONT_FAMILY,fontSize:D.EDITOR_FONT_SIZE,fontLigatures:!0,renderWhitespace:"none",theme:D.THEME,readOnly:this.readonly===!0,value:this.value||"",automaticLayout:!0})),this.instance.setModel({original:We.createModel(this.value[0],this.language),modified:We.createModel(this.value[1],this.language)})},methods:{getEditorDom(){return this.$refs.editor},getInstance(){return this.instance}},watch:{value(e){this.instance.setModel({original:We.createModel(e[0],this.language),modified:We.createModel(e[1],this.language)})}}},ho={class:"magic-monaco-editor",ref:"editor"};function fo(e,t,n,i,a,s){return v(),L("div",ho,null,512)}var mo=H(po,[["render",fo],["__scopeId","data-v-7c84fbe0"]]),go=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:mo});const vo={props:{language:{type:String,required:!0},editorConfig:{type:Object,default:{}},value:String,decorations:Array,readonly:{type:Boolean,default:!1},supportBreakpoint:{type:Boolean,default:!1},matches:String},setup(){return{instance:null,instancePromise:null}},emits:["update:value","change","update:decorations"],mounted(){this.instance=We.create(this.$refs.editor,He(ce({},this.editorConfig),{language:this.language,minimap:{enabled:!1},folding:!0,lineDecorationsWidth:this.supportBreakpoint?35:void 0,wordWrap:"on",fontFamily:D.EDITOR_FONT_FAMILY,fontSize:D.EDITOR_FONT_SIZE,fontLigatures:!0,renderWhitespace:"none",theme:D.THEME,readOnly:this.readonly===!0,value:this.value||"",automaticLayout:!0})),this.instance.onDidChangeModelContent(e=>{this.$emit("update:value",this.instance.getValue()),this.$emit("change")}),this.instance.addAction({id:"editor.action.triggerSuggest.extension",label:"\u89E6\u53D1\u4EE3\u7801\u63D0\u793A",precondition:"!suggestWidgetVisible && !markersNavigationVisible && !parameterHintsVisible && !findWidgetVisible",run:()=>{this.instance.trigger(null,"editor.action.triggerSuggest",{})}}),Wn.registerCommand("editor.action.scrollUp1Line",()=>{this.instance.setScrollTop(this.instance.getScrollTop()-22)}),this.instance.addCommand(ut.Alt|Et.US_SLASH,()=>{let e=this.instance.getAction("editor.action.triggerParameterHints"),t=this.instance.getAction("editor.action.triggerSuggest.extension");e.run().then(()=>{setTimeout(()=>{t.isSupported()&&t.run()},0)})},"!findWidgetVisible && !inreferenceSearchEditor && !editorHasSelection"),this.initKeys(),this.initDecorations()},methods:{getEditorDom(){return this.$refs.editor},match(){this.matches&&xe(()=>{let e=this.instance.getModel().findMatches(this.matches);e&&e.length>0&&this.instance.setSelections(e.map(({range:t})=>({positionColumn:t.endColumn,positionLineNumber:t.endLineNumber,selectionStartColumn:t.startColumn,selectionStartLineNumber:t.startLineNumber})))})},initKeys(){[["editor.action.triggerParameterHints",ut.Alt|Et.US_SLASH],["editor.action.triggerSuggest",ut.Alt|Et.US_SLASH],["toggleSuggestionDetails",ut.Alt|Et.US_SLASH,Zi.deserialize("suggestWidgetVisible && textInputFocus")],["editor.action.formatDocument",ut.CtrlCmd|ut.Alt|Et.KEY_L],["editor.action.marker.nextInFiles",ut.CtrlCmd|Et.F8]].forEach(t=>{var s;let n=t[0];const{handler:i,when:a}=(s=Wn.getCommand(n))!=null?s:{};if(i){let o=rn._coreKeybindings.findIndex(r=>r.command===n);o>0&&rn._coreKeybindings.splice(o,1),this.instance._standaloneKeybindingService.addDynamicKeybinding(n,t[1],i,a||t[2])}}),rn._cachedMergedKeybindings=null},getInstance(){return this.instance},initDecorations(){this.instance.onMouseDown(e=>{if(!e.target.element.classList.contains("codicon")&&e.target.detail&&e.target.detail.offsetX&&e.target.detail.offsetX>=0&&e.target.detail.offsetX<=65){var t=e.target.position.lineNumber;if(this.instance.getModel().getLineContent(t).trim()==="")return;let i=this.instance.getLineDecorations(t).filter(a=>a.options.linesDecorationsClassName==="breakpoints");i&&i.length>0?this.instance.getModel().deltaDecorations([i[0].id],[]):this.instance.getModel().deltaDecorations([],[{range:new at(t,1,t,1),options:{isWholeLine:!0,linesDecorationsClassName:"breakpoints",className:"breakpoint-line"}}]),this.updateDecoration()}})},appendDecoration(e){const t=this.instance.deltaDecorations([],e);return this.updateDecoration(),t},removedDecorations(e){this.instance.deltaDecorations(e,[]),this.updateDecoration()},updateDecoration(){this.$emit("update:decorations",this.instance.getModel().getAllDecorations())}},watch:{value(e){e!==this.instance.getValue()&&(this.instance.setValue(e||""),this.match(),this.$emit("change"))},matches(){this.match()}}},Eo={class:"magic-monaco-editor",ref:"editor"};function To(e,t,n,i,a,s){return v(),L("div",Eo,null,512)}var bo=H(vo,[["render",To],["__scopeId","data-v-319cefd8"]]),So=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:bo});const yo={props:{max:Number,min:Number,direction:String,reverse:{type:Boolean,default:!1}},setup(e){return{style:P({[e.direction==="x"?"width":"height"]:e.min+"px"})}},mounted(){new ResizeObserver(this.updateCss).observe(this.$refs.resizer)},methods:{updateCss(){try{const e=this.$refs.resizer.parentElement;this.$refs.resizer.style.setProperty("--width",e.offsetWidth+"px"),this.$refs.resizer.style.setProperty("--height",e.offsetHeight+"px")}catch{}},mousedown(e){const t=this.direction==="x",n=t?e.clientX:e.clientY,i=e.target.parentElement.getBoundingClientRect();document.onmousemove=a=>{let s=t?i.width:i.height;t?this.reverse?s=n-a.clientX+i.width:s=a.clientX-n+i.width:this.reverse?s=a.clientY-n+i.height:s=n-a.clientY+i.height,s>=this.min&&s<=this.max&&(this.style[t?"width":"height"]=`${s}px`)},document.onmouseup=()=>{document.onmousemove=document.onmouseup=null},e.stopPropagation(),e.preventDefault()}}};function Oo(e,t,n,i,a,s){return v(),L("div",{class:de(`magic-resizer-${this.direction}`),style:$e(i.style)},[gt(e.$slots,"default",{},void 0,!0),R("div",{class:de(["magic-resizer-event",{reverse:n.reverse}]),onMousedown:t[0]||(t[0]=(...o)=>s.mousedown&&s.mousedown(...o)),ref:"resizer"},null,34)],6)}var Ao=H(yo,[["render",Oo],["__scopeId","data-v-7de8c22c"]]),Ro=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ao});const Io={props:{info:Object},setup(e){return(t,n)=>null}};var xo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Io});const $n=e=>(nt("data-v-4b164a55"),e=e(),it(),e),Co={class:"magic-function-info"},Lo=$n(()=>R("label",null,"\u8FD4\u56DE\u503C",-1)),No=$n(()=>R("label",null,"\u51FD\u6570\u540D\u79F0",-1)),Po=$n(()=>R("label",null,"\u51FD\u6570\u8DEF\u5F84",-1)),wo={setup(e){const t=ae("info"),n=[{title:"\u51FD\u6570\u53C2\u6570",component:J("magic-function-parameter")},{title:"\u51FD\u6570\u63CF\u8FF0",component:J("magic-api-description")}];return(i,a)=>{const s=T("magic-select"),o=T("magic-input"),r=T("magic-navbar-item"),l=T("magic-navbar");return v(),L(Z,null,[R("div",Co,[R("form",null,[Lo,p(s,{width:"100px",options:i.$FUNCTION_RETURN_TYPES,"default-select":i.$DEFAULT_FUNCTION_RETURN_TYPE,value:k(t).method,"onUpdate:value":a[0]||(a[0]=u=>k(t).method=u)},null,8,["options","default-select","value"]),No,p(o,{value:k(t).name,"onUpdate:value":a[1]||(a[1]=u=>k(t).name=u),placeholder:"\u8BF7\u8F93\u5165\u51FD\u6570\u540D\u79F0",width:"200px"},null,8,["value"]),Po,p(o,{value:k(t).path,"onUpdate:value":a[2]||(a[2]=u=>k(t).path=u),placeholder:"\u8BF7\u8F93\u5165\u51FD\u6570\u8DEF\u5F84",width:"auto",style:{flex:"1"}},null,8,["value"])])]),p(l,{direction:"horizontal",ref:(u,c)=>{c.navbar=u},style:{flex:"1"},"allow-close":!1},{default:C(()=>[(v(),L(Z,null,ue(n,(u,c)=>p(r,{key:c,title:u.title},{default:C(()=>[(v(),U(J(u.component),{info:k(t)},null,8,["info"]))]),_:2},1032,["title"])),64))]),_:1},512)],64)}}};var ko=H(wo,[["__scopeId","data-v-4b164a55"]]),Do=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ko});const $o={props:{info:Object},setup(e){return(t,n)=>null}};var Mo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:$o});const Uo={class:"magic-navbar-item"},Bo={props:{title:String,style:Object,show:{type:Boolean,default:!0},to:HTMLElement},setup(e){return(t,n)=>(v(),L("div",Uo,[gt(t.$slots,"default",{},void 0,!0)]))}};var Fo=H(Bo,[["__scopeId","data-v-30388e35"]]),jo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Fo}),Go="",Vo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Go});const Ho={props:{icon:String,size:String},setup(e){const n={fontSize:e.size};return(i,a)=>(v(),L("i",{class:de(`magic-icon magic-icon-${e.icon}`),style:n},null,2))}};var Mn=H(Ho,[["__scopeId","data-v-50969699"]]),Yo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Mn}),Ko={props:{direction:{type:String,default:""},reverse:{type:Boolean,default:!1},defaultSelect:{type:Number,default:0},allowClose:{type:Boolean,default:!0},spliter:Boolean,value:Array,to:HTMLElement},setup(e,t){const n=P(e.defaultSelect);return{slots:_e(()=>t.slots.default()[0].children),navbars:_e(()=>t.slots.default()[0].children.flatMap(i=>i.props)),selectIndex:n}},methods:{select(e){this.selectIndex=e}},render(){const e=i=>{const a=parseInt(Math.random()*1e8),s=i.length*6;return se("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:22,height:s},[se("defs",se("path",{id:`path-text-${a}`,d:this.reverse?`M6,0 L6,${s}`:`M14,${s} L14,0`})),se("text",{fill:"var(--main-color)"},se("textPath",{"xlink:href":`#path-text-${a}`},i))])},t=i=>{if(this.spliter&&this.direction==="vertical"&&i.match(/\w/g)){const a=[];let s="",o=1,r;const l=i.split("");for(let u=0,c=l.length;u{const s=[se("div",{class:"magic-navbar-title"},[...t(i.title)])];i.icon&&s.push(se(Mn,{icon:i.icon}));const o=i.style||{};return i.show===!1&&(o.display="none"),se("li",{class:this.selectIndex===a?"selected":"",style:o,onClick:()=>{this.selectIndex===a&&this.allowClose?this.selectIndex=-1:this.selectIndex=a}},s)}))];return this.slots.forEach((i,a)=>{const s=a!==this.selectIndex||i.props.show===!1?{display:"none"}:{};this.to?n.push(se(Hn,{to:this.to},se("div",{class:"magic-navbar-body",style:s},i))):n.push(se("div",{class:"magic-navbar-body",style:s},i))}),se("div",{class:`magic-navbar magic-navbar__${this.direction}`+(this.reverse?" reverse":"")},n)}},Wo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ko}),qo="",zo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:qo}),Xo={props:{tabs:Array,className:String,value:Object,allowClose:{type:Boolean}},emits:["update:value","change","close","item-contextmenu"],setup(e){const t=P({}),n=P({});function i(o,r,l){switch(l){case"dragstart":t.value=o,r.stopPropagation();break;case"dragenter":n.value=o,r.stopPropagation();break;case"dragend":if(t.value!==n.value){const u=e.tabs.indexOf(t.value),c=e.tabs.indexOf(n.value);e.tabs.splice(u,1),e.tabs.splice(c,0,t.value)}n.value={},r.stopPropagation();break;case"dragover":t.value!==n.value&&r.preventDefault();break}}const a=P({});function s(o){let r=o.wheelDelta||o.detail;a.value.value.el.scrollLeft+=r>0?-100:100}return{selectIndex:P(0),draggableItem:t,draggableTargetItem:n,tabDraggable:i,scrollbar:a,scrollbarHandler:s,scrollId:"",scrollItem:P(null)}},mounted(){xe(()=>{this.scrollbar.value.el.addEventListener("DOMMouseScroll",this.scrollbarHandler,!1),this.scrollbar.value.el.addEventListener("mousewheel",this.scrollbarHandler,!1)})},methods:{scrollIntoView(e){this.scrollId="s"+new Date().getTime()+""+parseInt(Math.random()*1e7),this.scrollItem=e,xe(()=>{const t=document.querySelector("#"+this.scrollId);t&&t.scrollIntoView(!0)})}},destroyed(){xe(()=>{this.scrollbar.value.el.removeEventListener("DOMMouseScroll",this.scrollbarHandler),this.scrollbar.value.el.removeEventListener("mousewheel",this.scrollbarHandler)})},render(){const e=this.tabs&&se("ul",this.tabs.map((t,n)=>{const i=[this.$slots.default({tab:t})];return this.allowClose&&i.push(se(Mn,{icon:"close",size:"12px",style:{marginLeft:"5px"},onClick:a=>{this.$emit("close",t),a.stopPropagation(),a.preventDefault()}})),se("li",{class:[this.value===t?"selected":"",t===this.draggableTargetItem?"draggable-target-item":""],id:this.scrollItem===t||this.scrollItem===t.id?this.scrollId:void 0,onClick:a=>{this.value!==t&&(this.$emit("update:value",t),this.$emit("change",t)),a.stopPropagation(),a.preventDefault()},onMousedown:a=>{a.which===2&&this.allowClose&&this.$emit("close",t)},onContextmenu:a=>{this.$emit("item-contextmenu",a,t,n),a.preventDefault()},draggable:!0,onDragenter:a=>this.tabDraggable(t,a,"dragenter"),onDragstart:a=>this.tabDraggable(t,a,"dragstart"),onDragend:a=>this.tabDraggable(t,a,"dragend"),onDragover:a=>this.tabDraggable(t,a,"dragover")},i)}));return this.scrollbar.value=e,se("div",{class:"magic-tab none-select"+(this.className?" "+this.className:"")},e)}},Jo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Xo});const Qo={class:"magic-table-row"},Di={props:{title:String,row:Object,flex:String,width:String,align:String},setup(e){return(t,n)=>(v(),L("div",Qo,[gt(t.$slots,"default",{row:e.row})]))}};var Zo=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Di}),er="",tr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:er}),nr={props:{data:{type:Array,default:[]},width:String,border:{type:Boolean,default:!1}},emits:["clickRow","contextmenu"],render(){const e=this.$slots.default(),t=n=>{n=n||{};let i=[];if(n.width){let a=`width: ${n.width}`;!n.width.endsWith("%")&&!isNaN(n.width)&&(a+="px"),i.push(a),i.push("flex:none")}else n.flex&&i.push(`flex: ${n.flex}`);return n.align&&i.push(`text-align: ${n.align}`),i.join(";")};return se("div",{class:"magic-table"+(this.border?" magic-table__border":"")},[se("div",{class:"magic-table-header none-select"},e.map(n=>se("div",{class:"magic-table-column",style:t(n.props)},n.props.title))),se("div",{class:"magic-table-body",onScroll:n=>{n.target.scrollTop+n.target.offsetHeight+40>=n.target.scrollHeight&&this.$emit("loadNext")}},this.data.map((n,i)=>se(Di,{row:n,onClick:()=>{this.$emit("clickRow",i)}},{default:()=>e.map(a=>se("div",{class:"magic-table-column",onContextmenu:s=>{this.$emit("contextmenu",s,n),s.stopPropagation(),s.preventDefault()},style:t(a.props)},a.children.default({row:n})))})))])}},ir=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:nr}),ar="",sr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ar}),or={props:{data:Array,sort:Boolean,descending:Boolean,filter:String,filterText:Function,selected:Object,draggable:{type:Boolean,default:!1},onMove:{type:Function,defeault:()=>new Promise(e=>e(!0))}},emits:["drag","contextmenu","onMove","itemClick"],setup(e,t){const n=t.emit,i=tt({item:{},itemParent:{},target:{},targetParent:{}});function a(s,o,r,l){function u(){return!(i.item===i.target||i.itemParent===i.target||!i.target.folder&&i.itemParent===i.targetParent)}switch(l){case"dragstart":i.item=o,i.itemParent=s,r.stopPropagation();break;case"dragenter":i.target=o,i.targetParent=s,r.stopPropagation();break;case"dragover":u()&&r.preventDefault();break;case"dragend":if(!u())break;e.onMove(o,i.target||i.targetParent).then(c=>{if(c){const h=i.itemParent||{children:e.data};h.children.splice(h.children.indexOf(o),1),i.target.folder?(i.target.children=i.target.children||[],i.target.children.push(i.item)):(i.targetParent.children=i.targetParent.children||[],i.targetParent.children.push(i.item)),e.sort&&xt(i.target.folder?i.target.children:i.targetParent.children,e.descending,"name"),i.target={},i.targetParent={}}}),r.stopPropagation();break}n("drag",l,i,r)}return e.sort&&(xt(e.data,e.descending,"name","children"),vt(()=>e.data,s=>{xt(e.data,e.descending,"name","children")}),vt(()=>e.descending,s=>{xt(e.data,e.descending,"name","children")})),{draggableItem:i,itemDraggable:a}},data(){return{scrollId:"",scrollItem:P(null)}},methods:{scrollIntoView(e){this.scrollId="s"+new Date().getTime()+""+parseInt(Math.random()*1e7),this.scrollItem=e;const t=n=>{let i=!1;for(const a in n){const s=n[a];if(i=s===e){s.opened!==void 0&&(s.opened=!0);break}else if(s.children&&s.children.length>0&&(i=t(s.children))){s.opened=!0;break}}return i};t(this.data)&&xe(()=>{const n=document.querySelector("#"+this.scrollId);n&&n.scrollIntoView(!0)})}},render(){const e=n=>this.filter?this.filterText(we(n)).indexOf(this.filter)>-1||n.children&&n.children.some(i=>e(i)):!0,t=(n,i,a)=>{const s=a>0?{paddingLeft:`${a*17}px`}:{};return e(i)&&se("li",{onDblclick:o=>{i.folder&&(i.opened=!i.opened),o.stopPropagation(),o.preventDefault()},onClick:o=>{this.$emit("itemClick",i),o.stopPropagation(),o.preventDefault()},onContextmenu:o=>{this.$emit("contextmenu",i,o),o.stopPropagation(),o.preventDefault()},draggable:this.draggable,onDragenter:o=>this.itemDraggable(n,i,o,"dragenter"),onDragstart:o=>this.itemDraggable(n,i,o,"dragstart"),onDragend:o=>this.itemDraggable(n,i,o,"dragend"),onDragover:o=>this.itemDraggable(n,i,o,"dragover")},[se("div",{class:["magic-tree-item",i===this.draggableItem.target?"draggable-target-item":"",i===this.selected?"selected":""],style:s,id:this.scrollItem===i||this.scrollItem===i.id?this.scrollId:void 0},i.folder?this.$slots.folder({item:i}):this.$slots.file({item:i})),i.folder&&i.opened&&se("ul",{class:i.opened&&"opened"||"hide"},i.children&&i.children.map(o=>t(i,o,a+1)))])};return se("div",{class:"magic-tree none-select"},se("ul",{},this.data&&this.data.map(n=>t(null,n,0))))}},rr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:or});const lr=["onMousedown"],ur={props:{value:{type:Boolean,default:!0},className:String,showClose:{type:Boolean,default:!0},shade:{type:Boolean,default:!0},padding:{type:String,default:"5px 10px"},height:{type:String,default:"auto"},width:{type:String,default:"auto"},moveable:{type:Boolean,default:!0},overflow:{type:String,default:"auto"},top:String,maxHeight:String,maxWidth:String,contentHeight:String,title:String,content:String,onClose:Function},emits:["update:value","onClose"],setup(e,{expose:t,emit:n}){const i=e,a=P(i.top||"auto"),s=P("auto"),o=P("relative"),r=P(null);function l(){n("update:value",!1)}const u=()=>{n("close"),typeof i.onClose=="function"&&i.onClose(),l()};let c,h=!1,m,O;function b(y){i.moveable&&(c=y,m=y.target.parentNode.getBoundingClientRect(),O=document.getElementsByClassName("magic-editor")[0].getBoundingClientRect(),h=!0)}function g(y){if(i.moveable&&h){let x=Math.min(Math.max(m.top+(y.pageY-c.pageY),O.y),O.y+O.height-m.height),M=Math.min(Math.max(m.left+(y.pageX-c.pageX),O.x),O.x+O.width-m.width);a.value=x+"px",s.value=M+"px",o.value="absolute"}}let d=!1;const f=()=>{!d&&r.value&&(o.value="absolute",s.value=r.value.getBoundingClientRect().x+"px"),d=!0};i.top&&Wi(f);const A=y=>{i.showClose&&y.keyCode===27&&u()};function I(y){h=!1}return t({close:u}),(y,x)=>{const M=T("magic-icon");return e.value?(v(),U(Hn,{key:0,to:".magic-editor"},[R("div",{class:de(["magic-dialog",(e.shade?"magic-dialog__shade":"")+(e.className?" "+e.className:"")]),tabindex:"1",onMousemove:g,onMouseup:I,onKeydown:A},[R("div",{class:"magic-dialog-main",style:$e({position:o.value,top:a.value,left:s.value,width:e.width,height:e.height,"max-width":e.maxWidth}),ref:(B,X)=>{X.dialog=B,r.value=B}},[R("div",{ref:(B,X)=>{X.title=B},class:de(["magic-dialog-header none-select",{moveable:e.moveable}]),onMousedown:b},[Ke(G(e.title)+" ",1),e.showClose?(v(),L("span",{key:0,onMousedown:ve(u,["stop"])},[p(M,{icon:"close"})],40,lr)):ee("",!0)],34),R("div",{class:"magic-dialog-body",style:$e({padding:e.padding,"max-height":e.maxHeight,height:e.contentHeight,overflow:e.overflow})},[e.content?(v(),L(Z,{key:0},[Ke(G(e.content),1)],64)):gt(y.$slots,"default",{key:1},void 0,!0)],4)],4)],34)])):ee("",!0)}}};var cr=H(ur,[["__scopeId","data-v-cbcc8c70"]]),_r=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:cr});const pr={class:"magic-notify"},dr=["onClick"],hr=["innerHTML"],fr=["innerHTML"],mr={setup(e){const t={error:'',warning:'',info:''},n=tt([]),i=s=>{const o=n.findIndex(r=>s.id===r.id);return o>-1&&n.splice(o,1),!0},a=s=>{s.icon=t[s.icon]||t.info,s.id=parseInt(Math.random()*1e7),n.push(s),s.duration&&setTimeout(()=>i(s),parseInt(s.duration))};return E.$on(w.NOTIFY,a),(s,o)=>{const r=T("magic-icon"),l=T("magic-button"),u=T("magic-button-group");return v(),L("div",pr,[(v(!0),L(Z,null,ue(k(n),(c,h)=>(v(),L("div",{class:"magic-notify-item",key:h},[R("div",{class:"close",onClick:m=>i(c)},[p(r,{icon:"close"})],8,dr),R("h3",null,[(v(),L("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",innerHTML:c.icon},null,8,hr)),Ke(G(c.title),1)]),R("p",{innerHTML:c.content},null,8,fr),c.buttons?(v(),U(u,{key:0},{default:C(()=>[(v(!0),L(Z,null,ue(c.buttons,(m,O)=>(v(),U(l,{key:O,value:m.title,type:"link",onClick:()=>i(c)&&m.onClick()},null,8,["value","onClick"]))),128))]),_:2},1024)):ee("",!0)]))),128))])}}};var gr=H(mr,[["__scopeId","data-v-413b2c61"]]),vr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:gr});const Er={props:{align:{type:String,default:"left"}},setup(e){return(t,n)=>(v(),L("div",{class:de(["magic-button-group",e.align])},[gt(t.$slots,"default",{},void 0,!0)],2))}};var Tr=H(Er,[["__scopeId","data-v-70c60ab6"]]),br=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Tr});const Sr={props:{value:String,type:String},setup(e){return(t,n)=>(v(),L("button",{onClick:n[0]||(n[0]=ve(i=>t.$emit("onClick"),["stop"])),class:de(["magic-button",e.type]),type:"button"},G(e.value),3))}};var yr=H(Sr,[["__scopeId","data-v-2e4c463a"]]),Or=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:yr});const Ar=["checked"],Rr={props:{value:{type:[Number,Boolean],default:()=>!1},checkedHalf:{type:Boolean,default:!1}},setup(e){const t=new Date().getTime()+""+Math.floor(Math.random()*1e3);return(n,i)=>(v(),L("div",{class:"magic-checkbox",onClick:i[1]||(i[1]=ve(a=>n.$emit("click",a),["stop"]))},[R("input",{id:t,ref:(a,s)=>{s.checkbox=a},type:"checkbox",onChange:i[0]||(i[0]=()=>{n.$emit("update:value",n.$refs.checkbox.checked),n.$emit("change",n.$refs.checkbox.checked)}),checked:e.value},null,40,Ar),R("label",{for:t,class:de({checkedHalf:e.checkedHalf&&e.value})},null,2)]))}};var Ir=H(Rr,[["__scopeId","data-v-22b807f1"]]),xr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ir});const Cr={class:"magic-file"},Lr=["accept","multiple"],Nr={props:{value:[Object,String],placeholder:{type:String,default:"\u8BF7\u9009\u62E9\u6587\u4EF6"},accept:String,multiple:{type:Boolean,default:!1},border:{type:Boolean,default:!0}},emits:["update:value"],setup(e,{emit:t}){const n=e,i=P(null),a=P(null),s=()=>{i.value.files[0]&&(a.value=Array.from(i.value.files).map(o=>o.name).join(",")),t("update:value",n.multiple?i.value.files:i.value.files[0])};return(o,r)=>{const l=T("magic-input"),u=T("magic-icon");return v(),L("div",Cr,[R("input",{type:"file",style:{display:"none"},ref:(c,h)=>{h.file=c,i.value=c},onChange:s,accept:e.accept,multiple:e.multiple},null,40,Lr),p(l,{readonly:!0,style:{width:"100%"},placeholder:e.placeholder,onClick:()=>o.$refs.file.click(),value:a.value,border:e.border},null,8,["placeholder","onClick","value","border"]),p(u,{icon:"upload"})])}}};var Pr=H(Nr,[["__scopeId","data-v-5c4a8b85"]]),wr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Pr});const kr=["value","placeholder","readonly","type"],Dr={props:{value:[String,Number,Object],placeholder:String,defaultValue:[String,Number,Object],readonly:{type:Boolean,default:!1},type:{type:String,default:"text"},width:{type:String,default:"100%"},border:{type:Boolean,default:!0}},emits:["update:value"],setup(e,{emit:t}){const n=e;!n.value&&n.defaultValue&&t("update:value",n.defaultValue);const i={width:n.width};return(a,s)=>(v(),L("input",{class:de(["magic-input",{"magic-input__border":e.border}]),value:e.value,placeholder:e.placeholder,readonly:e.readonly,style:i,type:e.type,onInput:s[0]||(s[0]=o=>a.$emit("update:value",o.target.value))},null,42,kr))}};var $r=H(Dr,[["__scopeId","data-v-3a157bc4"]]),Mr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:$r});const Ur={key:0},Br=["placeholder"],Fr=["onClick"],jr={props:{value:[Object,String,Number],options:Array,defaultSelect:[Object,String,Number],width:String,border:{type:Boolean,default:!0},placeholder:String,inputable:{type:Boolean,default:!1}},emits:["update:value","select"],setup(e,{emit:t}){const n=e;document.body.addEventListener("click",()=>a.value=!1);const i=P("-2px"),a=P(!1),s=P("auto"),o=P("0px"),r=_e(()=>{const m=n.options.find(O=>O.value===n.value)||n.options.find(O=>O.value===n.defaultSelect);return m&&m.text||""}),l=m=>{t("update:value",m),t("select",m),a.value=!1},u=ae("ELEMENT_ROOT"),c=(m,O)=>O+m.scrollTop>0?m.scrollTop:m.parentElement?c(m.parentElement,O+m.scrollTop):m.scrollTop,h=(m,O)=>{i.value=-c(m,0)-1+"px",a.value=!0,xe(()=>{o.value=-(window.pageXOffset+1)+"px",s.value=m.clientWidth+"px";let b=O.offsetHeight;O.offsetTop+b+20>u.value.offsetTop+u.value.offsetHeight&&(i.value=-(b+m.offsetHeight)+"px")})};return(m,O)=>(v(),L("div",{class:de([{inputable:e.inputable,border:e.border},"magic-select not-select"]),style:$e({width:e.width}),onClick:O[2]||(O[2]=ve(b=>h(m.$refs.container,m.$refs.selectList),["stop"])),ref:(b,g)=>{g.container=b}},[e.inputable?ee("",!0):(v(),L("span",Ur,G(k(r)),1)),e.inputable?sn((v(),L("input",{key:1,ref:(b,g)=>{g.input=b},"onUpdate:modelValue":O[0]||(O[0]=b=>on(value)?value.value=b:null),autocomplete:"off",type:"text",onInput:O[1]||(O[1]=b=>l(b.target.value)),placeholder:e.placeholder},null,40,Br)),[[qi,e.value]]):ee("",!0),sn(R("ul",{style:$e({width:s.value,marginTop:i.value,marginLeft:o.value}),ref:(b,g)=>{g.selectList=b}},[(v(!0),L(Z,null,ue(e.options,b=>(v(),L("li",{key:b.value,onClick:ve(g=>l(b.value),["stop"])},G(b.text),9,Fr))),128))],4),[[Yn,a.value]])],6))}};var Gr=H(jr,[["__scopeId","data-v-869742dc"]]),Vr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Gr});const Hr=["placeholder","value"],Yr={props:{value:String,placeholder:String},setup(e){return(t,n)=>(v(),L("textarea",{class:"magic-textarea",placeholder:e.placeholder,value:e.value,onInput:n[0]||(n[0]=i=>t.$emit("update:value",i.target.value))},null,40,Hr))}};var Kr=H(Yr,[["__scopeId","data-v-ca6693f6"]]),Wr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Kr});const qr={props:{users:Array,max:Number,size:{type:Number,default:22}},setup(e){const t=e,n=_e(()=>({height:t.size+"px",lineHeight:t.size+"px"})),i=_e(()=>t.users.slice(0,t.max||t.users.length));return(a,s)=>{const o=T("magic-avatar");return t.users&&t.users.length>0?(v(),L("div",{key:0,class:"magic-avatar-group",style:$e(k(n))},[(v(!0),L(Z,null,ue(k(i),(r,l)=>(v(),U(o,{key:l,user:r,size:e.size},null,8,["user","size"]))),128)),t.users.length>k(i).length?(v(),U(o,{key:0,text:`${e.max}+`,size:e.size},null,8,["text","size"])):ee("",!0)],4)):ee("",!0)}}};var zr=H(qr,[["__scopeId","data-v-511f7f80"]]),Xr=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:zr});const Jr=["title"],Qr={props:{user:Object,text:String,size:{type:Number,default:22}},setup(e){const t=e,n=["#1abc9c","#2ecc71","#3498db","#9b59b6","#16a085","#27ae60","#2980b9","#8e44ad","#f1c40f","#e67e22","#e74c3c","#eca0f1","#95a5a6","#f39c12","#d35400","#c0392b","#bdc3c7","#7f8c8d"],i=_e(()=>({width:t.size+"px",height:t.size+"px",lineHeight:t.size+"px",borderRadius:t.size/2+"px",backgroundColor:t.text&&"#bdc3c7"||n[Na(`${t.user.cid}`)%n.length]})),a=_e(()=>t.text||t.user.username.substring(0,1)),s=_e(()=>t.user?`\u7528\u6237\u540D\uFF1A${t.user.username} IP\uFF1A${t.user.ip||"unknown"}`:void 0);return(o,r)=>(v(),L("div",{class:"magic-avatar",style:$e(k(i)),title:k(s)},G(k(a)),13,Jr))}};var Zr=H(Qr,[["__scopeId","data-v-4b5e69aa"]]),el=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Zr});const tl=["width"],nl=["x","fill"],il={props:{icon:String},setup(e){const t=e,n={GET:"#0cbb52",POST:"#FFB400",DELETE:["DEL","#EB2013"],PUT:"#097BED",function:["Fn","#9012FE"],websocket:["WS","#6B6B6B"],task:["TASK","#9012FE"],resource:["RES","#9012FE"]},i=_e(()=>{let a=n[t.icon];const s=a!==void 0&&Array.isArray(a),o=s?a[0]:t.icon,r=o.length*9,l=s?a[1]:a||"var(--main-icon-color)";return{width:r,color:l,text:o}});return(a,s)=>(v(),L("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:k(i).width,height:"12","font-size":"10","font-weight":"bolder","font-family":"inherit"},[R("text",{x:k(i).width/2,y:"8",fill:k(i).color,style:{"dominant-baseline":"middle","text-anchor":"middle"}},G(k(i).text),9,nl)],8,tl))}};var al=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:il});const sl={props:{opened:Object},setup(e){const t=[{title:"Json",icon:"json",component:J("magic-api-request-body")},{title:"\u89C6\u56FE",icon:"structure",component:J("magic-api-request-structure")}];return(n,i)=>{const a=T("magic-navbar-item"),s=T("magic-navbar");return v(),U(s,{spliter:!0,direction:"vertical"},{default:C(()=>[(v(),L(Z,null,ue(t,(o,r)=>p(a,lt({key:r},o),{default:C(()=>[(v(),U(J(o.component)))]),_:2},1040)),64))]),_:1})}}};var ol=H(sl,[["__scopeId","data-v-1e478b66"]]),rl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ol});const ll={setup(e){const t=ae("info");return(n,i)=>{const a=T("magic-textarea");return v(),U(a,{value:k(t).description,"onUpdate:value":i[0]||(i[0]=s=>k(t).description=s)},null,8,["value"])}}};var ul=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ll});const $i=e=>(nt("data-v-430d6958"),e=e(),it(),e),cl={class:"magic-api-group"},_l=$i(()=>R("label",null,"\u5206\u7EC4\u540D\u79F0",-1)),pl=$i(()=>R("label",null,"\u5206\u7EC4\u8DEF\u5F84",-1)),dl={setup(e){const t=ae("info"),n=[{title:"\u8DEF\u5F84\u53D8\u91CF",component:J("magic-api-path")},{title:"\u5206\u7EC4\u9009\u9879",component:J("magic-api-option")}],i=()=>{const a=t.value;K.sendJson("/resource/folder/save",{id:a.id,name:a.name,parentId:a.parentId,type:a.type,path:a.path,paths:a.paths,options:a.options})};return(a,s)=>{const o=T("magic-input"),r=T("magic-button"),l=T("magic-navbar-item"),u=T("magic-navbar");return v(),L(Z,null,[R("div",cl,[R("form",null,[_l,p(o,{value:k(t).name,"onUpdate:value":s[0]||(s[0]=c=>k(t).name=c),placeholder:"\u8BF7\u8F93\u5165\u63A5\u53E3\u540D\u79F0",width:"200px"},null,8,["value"]),pl,p(o,{value:k(t).path,"onUpdate:value":s[1]||(s[1]=c=>k(t).path=c),placeholder:"\u8BF7\u8F93\u5165\u63A5\u53E3\u8DEF\u5F84",width:"auto",style:{flex:"1"}},null,8,["value"]),p(r,{value:"\u4FDD\u5B58",onOnClick:i})])]),p(u,{direction:"horizontal",ref:(c,h)=>{h.navbar=c},style:{flex:"1"},"allow-close":!1},{default:C(()=>[(v(),L(Z,null,ue(n,(c,h)=>p(l,lt({key:h},c),{default:C(()=>[(v(),U(J(c.component)))]),_:2},1040)),64))]),_:1},512)],64)}}};var hl=H(dl,[["__scopeId","data-v-430d6958"]]),fl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:hl});const ml={class:"magic-panel-api"},gl={setup(e){const t=ae("info"),n=P(-1);return(i,a)=>{const s=T("magic-panel-common-toolbar"),o=T("magic-checkbox"),r=T("magic-table-column"),l=T("magic-input"),u=T("magic-select"),c=T("magic-table");return v(),L("div",ml,[p(s,{index:n.value,"onUpdate:index":a[0]||(a[0]=h=>n.value=h),value:k(t).headers},null,8,["index","value"]),p(c,{data:k(t).headers,border:"",onClickRow:a[1]||(a[1]=h=>n.value=h)},{default:C(()=>[p(r,{title:"\u5FC5\u586B",width:"35"},{default:C(({row:h})=>[p(o,{value:h.required,"onUpdate:value":m=>h.required=m},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"Key"},{default:C(({row:h})=>[p(l,{value:h.name,"onUpdate:value":m=>h.name=m,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"Value"},{default:C(({row:h})=>[p(l,{value:h.value,"onUpdate:value":m=>h.value=m,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"\u53C2\u6570\u7C7B\u578B",width:"135"},{default:C(({row:h})=>[p(u,{options:i.$REQUEST_SIMPLE_TYPES,value:h.dataType,"onUpdate:value":m=>h.dataType=m,"default-select":i.$DEFAULT_REQUEST_SIMPLE_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1}),p(r,{title:"\u9ED8\u8BA4\u503C"},{default:C(({row:h})=>[p(l,{value:h.defaultValue,"onUpdate:value":m=>h.defaultValue=m,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"\u9A8C\u8BC1\u65B9\u5F0F",width:"100"},{default:C(({row:h})=>[p(u,{options:i.$VALIDATE_TYPES,value:h.validateType,"onUpdate:value":m=>h.validateType=m,"default-select":i.$DEFAULT_VALIDATE_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1}),p(r,{title:"\u8868\u8FBE\u5F0F\u6216\u6B63\u5219\u8868\u8FBE\u5F0F"},{default:C(({row:h})=>[p(l,{value:h.expression,"onUpdate:value":m=>h.expression=m,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"\u9A8C\u8BC1\u8BF4\u660E"},{default:C(({row:h})=>[p(l,{value:h.error,"onUpdate:value":m=>h.error=m,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"\u63CF\u8FF0",flex:"2"},{default:C(({row:h})=>[p(l,{value:h.description,"onUpdate:value":m=>h.description=m,border:!1},null,8,["value","onUpdate:value"])]),_:1})]),_:1},8,["data"])])}}};var vl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:gl});const Un=e=>(nt("data-v-0aa3270a"),e=e(),it(),e),El={class:"magic-api-info"},Tl=Un(()=>R("label",null,"\u8BF7\u6C42\u65B9\u6CD5",-1)),bl=Un(()=>R("label",null,"\u63A5\u53E3\u540D\u79F0",-1)),Sl=Un(()=>R("label",null,"\u63A5\u53E3\u8DEF\u5F84",-1)),yl={setup(e){const t=ae("info"),n=[{title:"\u8BF7\u6C42\u53C2\u6570",component:J("magic-api-parameter")},{title:"\u8BF7\u6C42Header",component:J("magic-api-header")},{title:"\u8DEF\u5F84\u53D8\u91CF",component:J("magic-api-path")},{title:"\u8BF7\u6C42Body",component:J("magic-api-body")},{title:"\u63A5\u53E3\u9009\u9879",component:J("magic-api-option")},{title:"\u63A5\u53E3\u63CF\u8FF0",component:J("magic-api-description")}];return(i,a)=>{const s=T("magic-select"),o=T("magic-input"),r=T("magic-navbar-item"),l=T("magic-navbar");return v(),L(Z,null,[R("div",El,[R("form",null,[Tl,p(s,{width:"100px",options:i.$REQUEST_METHODS,"default-select":i.$DEFAULT_REQUEST_METHOD,value:k(t).method,"onUpdate:value":a[0]||(a[0]=u=>k(t).method=u)},null,8,["options","default-select","value"]),bl,p(o,{value:k(t).name,"onUpdate:value":a[1]||(a[1]=u=>k(t).name=u),placeholder:"\u8BF7\u8F93\u5165\u63A5\u53E3\u540D\u79F0",width:"200px"},null,8,["value"]),Sl,p(o,{value:k(t).path,"onUpdate:value":a[2]||(a[2]=u=>k(t).path=u),placeholder:"\u8BF7\u8F93\u5165\u63A5\u53E3\u8DEF\u5F84",width:"auto",style:{flex:"1"}},null,8,["value"])])]),p(l,{direction:"horizontal",ref:(u,c)=>{c.navbar=u},style:{flex:"1"},"allow-close":!1},{default:C(()=>[(v(),L(Z,null,ue(n,(u,c)=>p(r,lt({key:c},u),{default:C(()=>[(v(),U(J(u.component)))]),_:2},1040)),64))]),_:1},512)],64)}}};var Ol=H(yl,[["__scopeId","data-v-0aa3270a"]]),Al=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ol});const Rl={class:"magic-panel-api"},Il={setup(e){const t=ae("info"),n=ae("options")||[],i=_e(()=>n.map(o=>({text:o[0],value:o[0],description:o[1],defaultValue:o[2]}))),a=P(-1),s=(o,r)=>{const l=n.find(u=>u[0]===o);l&&(r.description=l[1]||"",r.value=l[2]||"")};return(o,r)=>{const l=T("magic-panel-common-toolbar"),u=T("magic-select"),c=T("magic-table-column"),h=T("magic-input"),m=T("magic-table");return v(),L("div",Rl,[p(l,{index:a.value,"onUpdate:index":r[0]||(r[0]=O=>a.value=O),value:k(t).options},null,8,["index","value"]),p(m,{data:k(t).options,border:"",onClickRow:r[1]||(r[1]=O=>a.value=O)},{default:C(()=>[p(c,{title:"\u952E",width:"20%"},{default:C(({row:O})=>[p(u,{options:k(i),value:O.name,"onUpdate:value":b=>O.name=b,"default-select":o.$DEFAULT_REQUEST_SIMPLE_TYPE,border:!1,inputable:"",onSelect:b=>s(b,O)},null,8,["options","value","onUpdate:value","default-select","onSelect"])]),_:1}),p(c,{title:"\u503C",width:"60%"},{default:C(({row:O})=>[p(h,{value:O.value,"onUpdate:value":b=>O.value=b,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(c,{title:"\u63CF\u8FF0",width:"20%"},{default:C(({row:O})=>[p(h,{value:O.description,"onUpdate:value":b=>O.description=b,border:!1},null,8,["value","onUpdate:value"])]),_:1})]),_:1},8,["data"])])}}};var xl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Il});const Cl={class:"magic-panel-api"},Ll={setup(e){const t=P(-1),n=ae("info");return(i,a)=>{const s=T("magic-panel-common-toolbar"),o=T("magic-checkbox"),r=T("magic-table-column"),l=T("magic-input"),u=T("magic-file"),c=T("magic-select"),h=T("magic-table");return v(),L("div",Cl,[p(s,{index:t.value,"onUpdate:index":a[0]||(a[0]=m=>t.value=m),value:k(n).parameters},null,8,["index","value"]),p(h,{data:k(n).parameters,border:"",onClickRow:a[1]||(a[1]=m=>t.value=m)},{default:C(()=>[p(r,{title:"\u5FC5\u586B",width:"35"},{default:C(({row:m})=>[p(o,{value:m.required,"onUpdate:value":O=>m.required=O},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"Key"},{default:C(({row:m})=>[p(l,{value:m.name,"onUpdate:value":O=>m.name=O,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"Value"},{default:C(({row:m})=>[m.dataType==="MultipartFile"?(v(),U(u,{key:0,value:m.value,"onUpdate:value":O=>m.value=O,border:!1},null,8,["value","onUpdate:value"])):m.dataType==="MultipartFiles"?(v(),U(u,{key:1,value:m.value,"onUpdate:value":O=>m.value=O,border:!1,multiple:""},null,8,["value","onUpdate:value"])):(v(),U(l,{key:2,value:m.value,"onUpdate:value":O=>m.value=O,border:!1},null,8,["value","onUpdate:value"]))]),_:1}),p(r,{title:"\u53C2\u6570\u7C7B\u578B",width:"135"},{default:C(({row:m})=>[p(c,{options:i.$REQUEST_PARAMETER_TYPES,value:m.dataType,"onUpdate:value":O=>m.dataType=O,"default-select":i.$DEFAULT_REQUEST_PARAMETER_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1}),p(r,{title:"\u9ED8\u8BA4\u503C"},{default:C(({row:m})=>[p(l,{value:m.defaultValue,"onUpdate:value":O=>m.defaultValue=O,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"\u9A8C\u8BC1\u65B9\u5F0F",width:"100"},{default:C(({row:m})=>[p(c,{options:i.$VALIDATE_TYPES,value:m.validateType,"onUpdate:value":O=>m.validateType=O,"default-select":i.$DEFAULT_VALIDATE_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1}),p(r,{title:"\u8868\u8FBE\u5F0F\u6216\u6B63\u5219\u8868\u8FBE\u5F0F"},{default:C(({row:m})=>[p(l,{value:m.expression,"onUpdate:value":O=>m.expression=O,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"\u9A8C\u8BC1\u8BF4\u660E"},{default:C(({row:m})=>[p(l,{value:m.error,"onUpdate:value":O=>m.error=O,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"\u63CF\u8FF0",flex:"2"},{default:C(({row:m})=>[p(l,{value:m.description,"onUpdate:value":O=>m.description=O,border:!1},null,8,["value","onUpdate:value"])]),_:1})]),_:1},8,["data"])])}}};var Nl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ll});const Pl={class:"magic-panel-api"},wl={setup(e){const t=P(-1),n=ae("info");return(i,a)=>{const s=T("magic-panel-common-toolbar"),o=T("magic-input"),r=T("magic-table-column"),l=T("magic-select"),u=T("magic-table");return v(),L("div",Pl,[p(s,{index:t.value,"onUpdate:index":a[0]||(a[0]=c=>t.value=c),value:k(n).paths},null,8,["index","value"]),p(u,{data:k(n).paths,border:"",onClickRow:a[1]||(a[1]=c=>t.value=c)},{default:C(()=>[p(r,{title:"Key"},{default:C(({row:c})=>[p(o,{value:c.name,"onUpdate:value":h=>c.name=h,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"Value"},{default:C(({row:c})=>[p(o,{value:c.value,"onUpdate:value":h=>c.value=h,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"\u53C2\u6570\u7C7B\u578B",width:"135"},{default:C(({row:c})=>[p(l,{options:i.$REQUEST_SIMPLE_TYPES,value:c.dataType,"onUpdate:value":h=>c.dataType=h,"default-select":i.$DEFAULT_REQUEST_SIMPLE_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1}),p(r,{title:"\u9A8C\u8BC1\u65B9\u5F0F",width:"100"},{default:C(({row:c})=>[p(l,{options:i.$VALIDATE_TYPES,value:c.validateType,"onUpdate:value":h=>c.validateType=h,"default-select":i.$DEFAULT_VALIDATE_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1}),p(r,{title:"\u8868\u8FBE\u5F0F\u6216\u6B63\u5219\u8868\u8FBE\u5F0F"},{default:C(({row:c})=>[p(o,{value:c.expression,"onUpdate:value":h=>c.expression=h,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"\u9A8C\u8BC1\u8BF4\u660E"},{default:C(({row:c})=>[p(o,{value:c.error,"onUpdate:value":h=>c.error=h,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"\u63CF\u8FF0",flex:"2"},{default:C(({row:c})=>[p(o,{value:c.description,"onUpdate:value":h=>c.description=h,border:!1},null,8,["value","onUpdate:value"])]),_:1})]),_:1},8,["data"])])}}};var kl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:wl});const Dl={setup(e){const t=ae("info"),n=()=>{const i=yi(t.value.requestBody,t.value.requestBodyDefinition);i&&(t.value.requestBodyDefinition=i)};return(i,a)=>{const s=T("magic-monaco-editor");return v(),U(s,{value:k(t).requestBody,"onUpdate:value":a[0]||(a[0]=o=>k(t).requestBody=o),language:"json",onChange:n},null,8,["value"])}}};var $l=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Dl});const Ml=["onClick"],Ul={key:0,align:"center",style:{flex:"1"}},Bl={key:1,align:"center",style:{flex:"1"}},Fl={setup(e){const t=ae("info");let n=[];const i=(r,l)=>{const u={level:l,node:r,name:l===0?"\u6839\u8282\u70B9":r.name,folder:(r==null?void 0:r.dataType)==="Object"||(r==null?void 0:r.dataType)==="Array",display:!0};u.folder&&(u.expand=!0),n.push(u)},a=(r,l)=>{(r||[]).forEach(u=>{i(u,l),a(u.children,l+1)})},s=_e(()=>{var r;return n=[],i(t.value.requestBodyDefinition||{},0),a(((r=t.value.requestBodyDefinition)==null?void 0:r.children)||[],1),n.filter(l=>l.display)}),o=r=>{const l=n.findIndex(c=>c===r),u=r.level;r.expand=!r.expand;for(let c=l+1,h=n.length;cu)m.display=r.expand;else break}};return(r,l)=>{const u=T("magic-icon"),c=T("magic-table-column"),h=T("magic-checkbox"),m=T("magic-select"),O=T("magic-input"),b=T("magic-table");return v(),U(b,{data:k(s),border:""},{default:C(()=>[p(c,{title:"\u5B57\u6BB5"},{default:C(({row:g})=>[R("span",{style:$e({paddingLeft:`${(g.level+(g.folder?0:1))*16}px`}),onClick:d=>o(g)},[g.folder?(v(),U(u,{key:0,icon:g.expand?"arrow-bottom":"arrow-right"},null,8,["icon"])):ee("",!0)],12,Ml),R("span",null,G(g.name||"-"),1)]),_:1}),p(c,{title:"\u5FC5\u586B",width:"35"},{default:C(({row:g})=>[p(h,{value:g.node.required,"onUpdate:value":d=>g.node.required=d},null,8,["value","onUpdate:value"])]),_:1}),p(c,{title:"\u7C7B\u578B",width:"80"},{default:C(({row:g})=>[p(m,{options:r.$BODY_DATA_TYPES,value:g.node.dataType,"onUpdate:value":d=>g.node.dataType=d,border:!1},null,8,["options","value","onUpdate:value"])]),_:1}),p(c,{title:"\u503C",flex:"2"},{default:C(({row:g})=>{var d;return[g.folder?(v(),L("p",Ul,"-")):(v(),L("span",{key:1,class:de(["magic-data-type",(d=g.node.dataType)==null?void 0:d.toLowerCase()])},G(g.node.value),3))]}),_:1}),p(c,{title:"\u9ED8\u8BA4\u503C"},{default:C(({row:g})=>[p(O,{value:g.node.defaultValue,"onUpdate:value":d=>g.node.defaultValue=d,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(c,{title:"\u9A8C\u8BC1\u65B9\u5F0F",width:"100"},{default:C(({row:g})=>[p(m,{options:r.$VALIDATE_TYPES,value:g.node.validateType,"onUpdate:value":d=>g.node.validateType=d,"default-select":r.$DEFAULT_VALIDATE_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1}),p(c,{title:"\u8868\u8FBE\u5F0F\u6216\u6B63\u5219\u8868\u8FBE\u5F0F"},{default:C(({row:g})=>[p(O,{value:g.node.expression,"onUpdate:value":d=>g.node.expression=d,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(c,{title:"\u9A8C\u8BC1\u8BF4\u660E"},{default:C(({row:g})=>[p(O,{value:g.node.error,"onUpdate:value":d=>g.node.error=d,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(c,{title:"\u5B57\u6BB5\u6CE8\u91CA"},{default:C(({row:g})=>[g.name?(v(),U(O,{key:0,value:g.node.description,"onUpdate:value":d=>g.node.description=d,border:!1},null,8,["value","onUpdate:value"])):(v(),L("p",Bl,"-"))]),_:1})]),_:1},8,["data"])}}};var jl=H(Fl,[["__scopeId","data-v-12babf82"]]),Gl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:jl});const Vl=["src"],Hl={setup(e){const t=ae("info"),n=ae("opened"),i=_e(()=>new ie(t.value.responseBody||"").beautify()),a=_e(()=>{if(n.value.responseBlob){const s=n.value.responseHeaders["content-disposition"];if(s){const o=s.replace(/.*filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/,"$1");_n(n.value.responseBlobValue,o);return}return URL.createObjectURL(n.value.responseBlobValue)}});return(s,o)=>{const r=T("magic-monaco-editor"),l=T("magic-empty");return k(n).responseBlob?k(a)?(v(),L("iframe",{key:1,src:k(a)},null,8,Vl)):(v(),U(l,{key:2,text:"\u65E0\u54CD\u5E94Body"})):(v(),U(r,{key:0,value:k(i),"onUpdate:value":o[0]||(o[0]=u=>on(i)?i.value=u:null),language:"json",readonly:!0},null,8,["value"]))}}};var Yl=H(Hl,[["__scopeId","data-v-72af9b10"]]),Kl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Yl});const Wl={setup(e){const t=ae("opened"),n=_e(()=>Object.keys(t.value.responseHeaders||{}).map(i=>({key:i,value:t.value.responseHeaders[i]})));return(i,a)=>{const s=T("magic-table-column"),o=T("magic-table");return v(),U(o,{data:k(n),border:""},{default:C(()=>[p(s,{title:"Key"},{default:C(({row:r})=>[R("span",null,G(r.key),1)]),_:1}),p(s,{title:"Value"},{default:C(({row:r})=>[R("span",null,G(r.value),1)]),_:1})]),_:1},8,["data"])}}};var ql=H(Wl,[["__scopeId","data-v-db168582"]]),zl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ql});const Xl=["onClick"],Jl={key:0,align:"center",style:{flex:"1"}},Ql={key:1,align:"center",style:{flex:"1"}},Zl={setup(e){var l;const t=ae("info"),n=ae("opened");let i=[];const a=(u,c)=>{const h={level:c,node:u,name:c===0?"\u6839\u8282\u70B9":u.name,folder:(u==null?void 0:u.dataType)==="Object"||(u==null?void 0:u.dataType)==="Array",display:!0};h.folder&&(h.expand=!0),i.push(h)},s=(u,c)=>{(u||[]).forEach(h=>{a(h,c),s(h.children,c+1)})},o=u=>{const c=i.findIndex(m=>m===u),h=u.level;u.expand=!u.expand;for(let m=c+1,O=i.length;mh)b.display=u.expand;else break}};s(((l=t.value.responseBodyDefinition)==null?void 0:l.children)||[],1);const r=_e(()=>{var u;return i=[],n.value.responseBlob||(a(t.value.responseBodyDefinition||{},0),s(((u=t.value.responseBodyDefinition)==null?void 0:u.children)||[],1)),i.filter(c=>c.display)});return(u,c)=>{const h=T("magic-icon"),m=T("magic-table-column"),O=T("magic-select"),b=T("magic-input"),g=T("magic-table"),d=T("magic-empty");return k(r).length?(v(),U(g,{key:0,data:k(r),border:""},{default:C(()=>[p(m,{title:"\u5B57\u6BB5"},{default:C(({row:f})=>[R("span",{style:$e({paddingLeft:`${(f.level+(f.folder?0:1))*16}px`}),onClick:A=>o(f)},[f.folder?(v(),U(h,{key:0,icon:f.expand?"arrow-bottom":"arrow-right"},null,8,["icon"])):ee("",!0)],12,Xl),R("span",null,G(f.name||"-"),1)]),_:1}),p(m,{title:"\u7C7B\u578B",width:"80"},{default:C(({row:f})=>[p(O,{options:u.$BODY_DATA_TYPES,value:f.node.dataType,"onUpdate:value":A=>f.node.dataType=A,border:!1},null,8,["options","value","onUpdate:value"])]),_:1}),p(m,{title:"\u503C",flex:"3"},{default:C(({row:f})=>{var A;return[f.folder?(v(),L("p",Jl,"-")):(v(),L("span",{key:1,class:de(["magic-data-type",(A=f.node.dataType)==null?void 0:A.toLowerCase()])},G(f.node.value),3))]}),_:1}),p(m,{title:"\u5B57\u6BB5\u6CE8\u91CA"},{default:C(({row:f})=>[f.name?(v(),U(b,{key:0,value:f.node.description,"onUpdate:value":A=>f.node.description=A,border:!1},null,8,["value","onUpdate:value"])):(v(),L("p",Ql,"-"))]),_:1})]),_:1},8,["data"])):(v(),U(d,{key:1,text:"\u65E0\u54CD\u5E94\u7ED3\u6784"}))}}};var eu=H(Zl,[["__scopeId","data-v-ea08c446"]]),tu=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:eu});const nu={class:"magic-panel-api-response"},iu={props:{opened:Object},setup(e){const t=[{title:"Body",component:J("magic-api-response-body")},{title:"\u54CD\u5E94Header",component:J("magic-api-response-header")},{title:"\u54CD\u5E94\u7ED3\u6784",component:J("magic-api-response-structure")}];return(n,i)=>{const a=T("magic-navbar-item"),s=T("magic-navbar");return v(),L("div",nu,[p(s,{direction:"horizontal",ref:(o,r)=>{r.navbar=o},style:{flex:"1"},"allow-close":!1},{default:C(()=>[(v(),L(Z,null,ue(t,(o,r)=>p(a,{key:r,title:o.title},{default:C(()=>[(v(),U(zi,null,[(v(),U(J(o.component),{opened:e.opened},null,8,["opened"]))],1024))]),_:2},1032,["title"])),64))]),_:1},512)])}}};var au=H(iu,[["__scopeId","data-v-3d951bef"]]),su=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:au});const ou={class:"magic-panel-global"},ru={setup(e){const t=P(D.GLOBAL),n=P(-1);return(i,a)=>{const s=T("magic-panel-common-toolbar"),o=T("magic-input"),r=T("magic-table-column"),l=T("magic-table");return v(),L("div",ou,[p(s,{index:n.value,"onUpdate:index":a[0]||(a[0]=u=>n.value=u),value:t.value.headers},null,8,["index","value"]),p(l,{data:t.value.headers,border:"",onClickRow:a[1]||(a[1]=u=>n.value=u)},{default:C(()=>[p(r,{title:"Key"},{default:C(({row:u})=>[p(o,{value:u.name,"onUpdate:value":c=>u.name=c,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"Value"},{default:C(({row:u})=>[p(o,{value:u.value,"onUpdate:value":c=>u.value=c,border:!1},null,8,["value","onUpdate:value"])]),_:1})]),_:1},8,["data"])])}}};var lu=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ru});const uu={class:"magic-panel-global"},cu={setup(e){const t=P(-1),n=P(D.GLOBAL);return(i,a)=>{const s=T("magic-panel-common-toolbar"),o=T("magic-input"),r=T("magic-table-column"),l=T("magic-file"),u=T("magic-table");return v(),L("div",uu,[p(s,{index:t.value,"onUpdate:index":a[0]||(a[0]=c=>t.value=c),value:n.value.parameters},null,8,["index","value"]),p(u,{data:n.value.parameters,border:"",onClickRow:a[1]||(a[1]=c=>t.value=c)},{default:C(()=>[p(r,{title:"Key"},{default:C(({row:c})=>[p(o,{value:c.name,"onUpdate:value":h=>c.name=h,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(r,{title:"Value"},{default:C(({row:c})=>[c.dataType==="MultipartFile"?(v(),U(l,{key:0,value:c.value,"onUpdate:value":h=>c.value=h,border:!1},null,8,["value","onUpdate:value"])):c.dataType==="MultipartFiles"?(v(),U(l,{key:1,value:c.value,"onUpdate:value":h=>c.value=h,border:!1,multiple:""},null,8,["value","onUpdate:value"])):(v(),U(o,{key:2,value:c.value,"onUpdate:value":h=>c.value=h,border:!1},null,8,["value","onUpdate:value"]))]),_:1})]),_:1},8,["data"])])}}};var _u=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:cu});const pu={class:"magic-global"},du={setup(e){const t=[{title:"\u5168\u5C40\u8BF7\u6C42\u53C2\u6570",component:J("magic-global-parameter")},{title:"\u5168\u5C40\u8BF7\u6C42Header",component:J("magic-global-header")}];return(n,i)=>{const a=T("magic-navbar-item"),s=T("magic-navbar");return v(),L("div",pu,[p(s,{direction:"horizontal",ref:(o,r)=>{r.navbar=o},style:{flex:"1"},"allow-close":!1},{default:C(()=>[(v(),L(Z,null,ue(t,(o,r)=>p(a,lt({key:r},o),{default:C(()=>[(v(),U(J(o.component)))]),_:2},1040)),64))]),_:1},512)])}}};var hu=H(du,[["__scopeId","data-v-03e7bbcc"]]),fu=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:hu});const mu={props:{value:Array,index:Number},emits:["update:index"],setup(e,{emit:t}){const n=e,i=[{title:"\u589E\u52A0\u4E00\u884C",icon:"plus",onClick(){n.value.push({}),t("update:index",n.value.length-1)}},{title:"\u5220\u9664\u4E00\u884C",icon:"minus",onClick(){n.value.length>0&&(n.value.splice(n.index==-1?n.value.length-1:n.index,1),t("update:index",-1))}}];return(a,s)=>{const o=T("magic-panel-toolbar");return v(),U(o,{toolbars:i})}}};var gu=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:mu});const vu={class:"magic-panel-toolbar"},Eu=["title","onClick"],Tu={props:{toolbars:Array},setup(e){return(t,n)=>{const i=T("magic-icon");return v(),L("ul",vu,[(v(!0),L(Z,null,ue(e.toolbars,(a,s)=>(v(),L("li",{key:s,title:a.title,onClick:ve(o=>a.disabled!==!0&&a.onClick(),["stop"]),class:de({disabled:a.disabled})},[p(i,{icon:a.icon},null,8,["icon"])],10,Eu))),128))])}}};var bu=H(Tu,[["__scopeId","data-v-e91df708"]]),Su=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:bu});const yu={class:"magic-resource-choose"},Ou={key:1},Au={key:2},Ru={props:{value:[Array,Object],type:String,single:{type:Boolean,default:()=>!1},file:{type:Boolean,default:()=>!0}},emits:["update:value"],setup(e,{expose:t,emit:n}){const i=e,a=ae("resources"),s=ae("service"),o=P([]),r=()=>{let b=[],g=d=>{d.id.endsWith("-root")?b.push({type:"root",id:d.type}):b.push({type:d.folder?"group":d.type,id:d.id}),d.children&&d.children.filter(f=>f.selected).forEach(f=>g(f))};o.value.filter(d=>d.selected).forEach(d=>g(d)),n("update:value",i.single?b[0]:b)},l=(b,g)=>{let d=[];return b&&b.forEach(f=>{var A;if(f.folder||i.file){if(f.folder)f.icon="list";else{const I=(A=s[g.type])==null?void 0:A.getIcon;f.icon=I&&I(f)||g.icon,f.textIcon=I!==void 0,f.type=g.type}d.push(f)}f.folder&&f.children&&(f.children=l(f.children,g))}),d},u=b=>{let g=b,d=[],f=A=>{A.forEach(I=>{I.id===g?(d.push(I),g=I.parentId||I.groupId,f(o.value)):I.children&&I.children.length>0&&f(I.children)})};return f(o.value),d},c=(b,g)=>{g!==void 0&&(b.selected=g);let d=f=>{f.selected=i.single?!1:b.selected,f.checkedHalf=i.single?!1:!b.selected,f.children&&f.children.forEach(A=>d(A))};b.children&&b.children.forEach(f=>d(f)),b.folder&&(b.checkedHalf=!1),u(b.folder?b.parentId:b.groupId).forEach(f=>{f.selected=i.single?!1:f.children.some(A=>A.selected),f.checkedHalf=i.single?!1:f.children.some(A=>!A.selected||A.checkedHalf)}),i.single?n("update:value",b.selected?b:void 0):r()},h=b=>c(b,!b.selected);return a().filter(b=>!i.type||i.type===b.navbar.type).forEach(b=>{const g=b.navbar.type,d=l(b.tree,b.navbar);d.forEach(f=>{f.folder?f.parentId=g+"-root":f.groupId=g+"-root"}),o.value.push({icon:b.navbar.icon,name:b.navbar.title,iconClass:"root",folder:!0,opened:!0,type:b.navbar.type,id:g+"-root",children:d})}),t({selectAll:b=>qe(o.value,g=>{g.checkedHalf=!1,g.selected=b,g.children&&g.children.forEach(d=>d.selected=b),r()}),expand:b=>qe(o.value,g=>{g.folder&&(g.opened=b)})}),(b,g)=>{const d=T("magic-checkbox"),f=T("magic-icon"),A=T("magic-text-icon"),I=T("magic-tree");return v(),L("div",yu,[p(I,{data:o.value,sort:!1,onItemClick:h},{folder:C(({item:y})=>[p(d,{value:y.selected,"onUpdate:value":x=>y.selected=x,"checked-half":y.checkedHalf,onChange:x=>c(y)},null,8,["value","onUpdate:value","checked-half","onChange"]),y.children&&y.children.length>0?(v(),U(f,{key:0,icon:y.opened?"arrow-bottom":"arrow-right",onClick:ve(x=>y.opened=!y.opened,["stop"])},null,8,["icon","onClick"])):ee("",!0),p(f,{icon:y.icon,class:de(y.iconClass)},null,8,["icon","class"]),R("label",null,G(y.name),1),y.path?(v(),L("span",Ou,"("+G(y.path)+")",1)):ee("",!0)]),file:C(({item:y})=>[p(d,{value:y.selected,"onUpdate:value":x=>y.selected=x,"checked-half":y.checkedHalf,onChange:x=>c(y)},null,8,["value","onUpdate:value","checked-half","onChange"]),y.textIcon?(v(),U(A,{key:0,icon:y.icon},null,8,["icon"])):(v(),U(f,{key:1,icon:y.icon},null,8,["icon"])),R("label",null,G(y.name),1),y.path?(v(),L("span",Au,"("+G(y.path)+")",1)):ee("",!0)]),_:1},8,["data"])])}}};var Iu=H(Ru,[["__scopeId","data-v-7eb90c29"]]),xu=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Iu});const Cu={class:"magic-form-row"},Lu=R("label",null,"\u540D\u79F0",-1),Nu={class:"magic-form-row"},Pu=R("label",null,"Key",-1),wu={class:"magic-form-row"},ku=R("label",null,"URL",-1),Du={class:"magic-form-row"},$u=R("label",null,"\u7528\u6237\u540D",-1),Mu={class:"magic-form-row"},Uu=R("label",null,"\u5BC6\u7801",-1),Bu={class:"magic-form-row"},Fu=R("label",null,"\u9A71\u52A8\u7C7B",-1),ju={class:"magic-form-row"},Gu=R("label",null,"\u7C7B\u578B",-1),Vu={class:"magic-form-row"},Hu=R("label",null,"maxRows",-1),Yu={class:"magic-form-row"},Ku=R("label",null,"\u5176\u5B83\u914D\u7F6E",-1),Wu={props:{info:Object},setup(e){const{info:t}=e,n=P(JSON.stringify(t.properties||{}));return vt(n,i=>{try{t.properties=JSON.parse(i)}catch{t.properties={}}}),(i,a)=>{const s=T("magic-input"),o=T("magic-select"),r=T("magic-monaco-editor");return v(),L(Z,null,[R("div",Cu,[Lu,p(s,{value:e.info.name,"onUpdate:value":a[0]||(a[0]=l=>e.info.name=l),placeholder:"\u6570\u636E\u6E90\u540D\u79F0\uFF0C\u4EC5\u505A\u5C55\u793A\u4F7F\u7528"},null,8,["value"])]),R("div",Nu,[Pu,p(s,{value:e.info.key,"onUpdate:value":a[1]||(a[1]=l=>e.info.key=l),placeholder:"\u6570\u636E\u5E93key\uFF0C\u540E\u7EED\u4EE3\u7801\u4E2D\u4F7F\u7528"},null,8,["value"])]),R("div",wu,[ku,p(s,{value:e.info.url,"onUpdate:value":a[2]||(a[2]=l=>e.info.url=l),placeholder:"\u8BF7\u8F93\u5165jdbcurl\uFF0C\u5982\uFF1Ajdbc:mysql://localhost"},null,8,["value"])]),R("div",Du,[$u,p(s,{value:e.info.username,"onUpdate:value":a[3]||(a[3]=l=>e.info.username=l),placeholder:"\u8BF7\u8F93\u5165\u6570\u636E\u5E93\u7528\u6237\u540D"},null,8,["value"])]),R("div",Mu,[Uu,p(s,{value:e.info.password,"onUpdate:value":a[4]||(a[4]=l=>e.info.password=l),type:"password",placeholder:"\u8BF7\u8F93\u5165\u6570\u636E\u5E93\u5BC6\u7801"},null,8,["value"])]),R("div",Bu,[Fu,p(o,{inputable:"",value:e.info.driverClassName,"onUpdate:value":a[5]||(a[5]=l=>e.info.driverClassName=l),width:"100%",options:i.$JDBC_DRIVERS.map(l=>({text:l,value:l})),placeholder:"\u9A71\u52A8\u7C7B\uFF0C\u53EF\u9009\uFF0C\u5185\u90E8\u81EA\u52A8\u8BC6\u522B\uFF0C\u4E5F\u53EF\u4EE5\u624B\u52A8\u8F93\u5165\u6307\u5B9A"},null,8,["value","options"])]),R("div",ju,[Gu,p(o,{inputable:"",value:e.info.type,"onUpdate:value":a[6]||(a[6]=l=>e.info.type=l),width:"100%",options:i.$DATASOURCE_TYPES.map(l=>({text:l,value:l})),placeholder:"\u6570\u636E\u6E90\u7C7B\u578B\uFF0C\u53EF\u9009\uFF0C\u4E5F\u53EF\u4EE5\u624B\u52A8\u8F93\u5165\u6307\u5B9A"},null,8,["value","options"])]),R("div",Vu,[Hu,p(s,{value:e.info.maxRows,"onUpdate:value":a[7]||(a[7]=l=>e.info.maxRows=l),placeholder:"\u6700\u591A\u8FD4\u56DE\u6761\u6570\uFF0C-1\u672A\u4E0D\u9650\u5236","default-value":-1,type:"number"},null,8,["value"])]),R("div",Yu,[Ku,p(r,{language:"json",value:n.value,"onUpdate:value":a[8]||(a[8]=l=>n.value=l),style:{height:"150px"}},null,8,["value"])])],64)}}};var qu=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Wu});const zu=e=>(nt("data-v-0e33e135"),e=e(),it(),e),Xu={class:"magic-backup"},Ju={class:"magic-backup-diff-container"},Qu={class:"magic-backup-diff-header"},Zu=zu(()=>R("div",null,"\u5F53\u524D\u7248\u672C",-1)),ec={setup(e){const t=P(!0),n=[{icon:"refresh",title:"\u5237\u65B0",onClick(){m()}},{icon:"copy",title:"\u5168\u91CF\u5907\u4EFD",onClick(){K.sendPost("/backup/full").success(()=>{E.status("\u5168\u91CF\u5907\u4EFD\u5B8C\u6BD5"),m()})}}],i=P([]),a=P([]),s=P(!1),o=P(!0),r=P(""),l=P({});let u=!1,c=!1,h;const m=y=>{t.value=!0,K.sendGet("/backups",{timestamp:y}).success(x=>{y?a.value.push(...x):a.value=x,(c=x.length>=100)&&(h=x[x.length-1].createDate),t.value=!1})},O=ae("service"),b=y=>{var x;return y.endsWith("-group")?O[y.replace("-group","")].name+"\u5206\u7EC4":y==="full"?"\u5168\u91CF\u5907\u4EFD":((x=O[y])==null?void 0:x.name)||y};let g=!1;E.$on(w.LOAD_RESOURCES_FINISH,y=>y||m());const d=()=>{c&&!u&&m(h)};mt(()=>{!g&&D.LOGINED&&m(),g=!0});const{proxy:f}=Rt(),A=(y,x)=>{const M=[];x.id!=="full"&&!x.id.endsWith("-group")&&M.push({icon:"difference",label:"\u5BF9\u6BD4\u4E0D\u540C",onClick(){r.value=Ct(x.createDate),s.value=!0,o.value=!0,Promise.all([new Promise(B=>K.sendGet("/backup",{id:x.id,timestamp:x.createDate}).success(X=>B(X))),new Promise(B=>K.sendGet("/resource/file/"+x.id).success(X=>B((X==null?void 0:X.script)||"")))]).then(B=>{l.value=x,o.value=!1,i.value=B}).catch(B=>{console.error(B),s.value=!1})}}),(x.id==="full"||!x.id.endsWith("-group"))&&M.push({icon:"rollback",label:"\u8FD8\u539F\u4FEE\u6539",onClick(){const B=`${x.name}(${Ct(x.createDate)})`;ge.confirm("\u8FD8\u539F\u5907\u4EFD","\u8BE5\u6A21\u5F0F\u662F\u5168\u91CF\u4ECE\u5907\u4EFD\u6587\u4EF6\u4E2D\u8BFB\u53D6\uFF0C\u5E76\u8986\u76D6\u66F4\u65B0\u5F53\u524D\u8D44\u6E90\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F",()=>{K.sendPost("/backup/rollback",{id:x.id,timestamp:x.createDate}).success(X=>{X?(E.report("resource-rollback-full"),E.status(`\u6062\u590D\u300C${B}\u300D\u6210\u529F`),E.$emit(w.LOAD_RESOURCES)):(ge.alert(`\u6062\u590D${B}\u5931\u8D25`),E.status(`\u6062\u590D\u300C${B}\u300D\u5931\u8D25`,!1))})})}}),M.length>0&&f.$contextmenu({event:y,menus:M})},I=()=>{s.value=!1;const y=`${l.value.name}(${Ct(l.value.createDate)})`;K.sendPost("/backup/rollback",{id:l.value.id,timestamp:l.value.createDate}).success(x=>{x?(E.report("resource-rollback"),E.status(`\u6062\u590D\u300C${y}\u300D\u6210\u529F`),E.$emit(w.LOAD_RESOURCES,l.value.type)):(ge.alert(`\u6062\u590D${y}\u5931\u8D25`),E.status(`\u6062\u590D\u300C${y}\u300D\u5931\u8D25`,!1))})};return(y,x)=>{const M=T("magic-panel-toolbar"),B=T("magic-loading"),X=T("magic-table-column"),fe=T("magic-table"),Le=T("magic-empty"),De=T("magic-monaco-diff-editor"),te=T("magic-button"),Oe=T("magic-button-group"),Qe=T("magic-dialog");return v(),L(Z,null,[R("div",Xu,[p(M,{toolbars:n}),R("div",null,[p(B,{loading:t.value},null,8,["loading"]),a.value.length>0?(v(),U(fe,{key:0,data:a.value,border:!0,onContextmenu:A,onLoadNext:d},{default:C(()=>[p(X,{title:"\u8BB0\u5F55\u65F6\u95F4",align:"center",width:"160"},{default:C(({row:Ie})=>[Ke(G(k(Ct)(Ie.createDate)),1)]),_:1}),p(X,{title:"\u7C7B\u578B",align:"center",width:"90"},{default:C(({row:Ie})=>[R("span",null,G(b(Ie.type)),1)]),_:1}),p(X,{title:"\u64CD\u4F5C\u4EBA",align:"center",width:"100"},{default:C(({row:Ie})=>[Ke(G(Ie.createBy||"guest"),1)]),_:1}),p(X,{title:"\u540D\u79F0"},{default:C(({row:Ie})=>[Ke(G(Ie.name),1)]),_:1})]),_:1},8,["data"])):(v(),U(Le,{key:1,text:"\u6682\u65E0\u5386\u53F2\u8BB0\u5F55"}))])]),p(Qe,{value:s.value,"onUpdate:value":x[1]||(x[1]=Ie=>s.value=Ie),title:"\u5386\u53F2\u8BB0\u5F55",width:"80%",maxWidth:"100%",top:"60px",height:"80%",className:"magic-dialog-diff"},{default:C(()=>[R("div",Ju,[R("div",Qu,[R("div",null,G(r.value),1),Zu]),o.value?(v(),U(B,{key:1,loading:o.value},null,8,["loading"])):(v(),U(De,{key:0,value:i.value,"onUpdate:value":x[0]||(x[0]=Ie=>i.value=Ie),language:"magicscript"},null,8,["value"]))]),p(Oe,{align:"right"},{default:C(()=>[p(te,{value:"\u6062\u590D",type:"active",onClick:I})]),_:1})]),_:1},8,["value"])],64)}}};var tc=H(ec,[["__scopeId","data-v-0e33e135"]]),nc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:tc});const rt=e=>(nt("data-v-d6992652"),e=e(),it(),e),ic={class:"magic-debug"},ac={class:"magic-debug-variables"},sc={key:0,viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},oc=rt(()=>R("path",{d:"M201.472 320h-49.6V129.408l-59.2 18.368v-40.32L196.16 70.4h5.312V320z m50.816 320.128H81.024v-33.92l80.832-86.208c6.016-6.656 11.136-12.672 15.36-18.176a133.76 133.76 0 0 0 10.112-15.104 57.728 57.728 0 0 0 5.504-12.8 42.88 42.88 0 0 0 1.6-11.392c0-11.136-2.816-19.84-8.384-26.24-5.632-6.272-13.632-9.472-24.064-9.472a36.224 36.224 0 0 0-15.488 3.2 31.808 31.808 0 0 0-11.328 8.704 39.232 39.232 0 0 0-6.976 13.312 56.32 56.32 0 0 0-2.368 16.832h-49.792c0-11.2 1.984-21.76 6.016-31.744 3.968-9.984 9.792-18.624 17.28-26.112 7.616-7.424 16.704-13.312 27.392-17.664 10.688-4.352 22.784-6.528 36.16-6.528 13.12 0 24.768 1.664 34.88 4.928 10.176 3.2 18.624 7.872 25.536 13.952 6.848 6.08 12.032 13.504 15.616 22.336 3.52 8.768 5.312 18.688 5.312 29.696 0 8.32-1.28 16.384-3.968 24.192-2.56 7.744-6.336 15.552-11.136 23.296a190.08 190.08 0 0 1-17.408 23.68 528.64 528.64 0 0 1-22.784 24.768l-44.096 46.464h107.456v40zM131.456 812.8h26.432c12.608 0 21.888-3.136 27.968-9.408a34.56 34.56 0 0 0 9.088-25.088 38.656 38.656 0 0 0-2.048-12.8 26.304 26.304 0 0 0-16.832-16.704 42.112 42.112 0 0 0-14.912-2.432 41.792 41.792 0 0 0-12.928 1.984 33.664 33.664 0 0 0-10.688 5.568 25.6 25.6 0 0 0-9.856 20.608H78.08a60.8 60.8 0 0 1 6.4-28.032c4.352-8.448 10.176-15.552 17.536-21.44 7.424-5.888 16-10.496 25.984-13.76 9.984-3.2 20.608-4.864 32-4.864 12.544 0 24 1.472 34.368 4.48 10.368 3.072 19.2 7.616 26.688 13.632 7.424 5.952 13.184 13.44 17.28 22.272 4.16 8.896 6.208 19.2 6.208 30.848a52.8 52.8 0 0 1-9.856 30.72 67.968 67.968 0 0 1-28.032 22.976 62.08 62.08 0 0 1 31.488 22.656 61.44 61.44 0 0 1 10.368 35.712 66.56 66.56 0 0 1-25.408 54.336c-7.872 6.208-17.28 10.88-28.032 14.208a121.024 121.024 0 0 1-66.368 0.64 81.92 81.92 0 0 1-27.2-13.248 68.032 68.032 0 0 1-19.2-22.4 66.304 66.304 0 0 1-7.296-32h49.6a29.824 29.824 0 0 0 10.368 22.912 36.48 36.48 0 0 0 11.584 6.592 48.64 48.64 0 0 0 30.4 0 30.336 30.336 0 0 0 19.392-17.792 46.208 46.208 0 0 0-0.256-31.04 28.544 28.544 0 0 0-8.192-11.584 34.304 34.304 0 0 0-12.928-6.592 63.104 63.104 0 0 0-17.088-2.176h-26.432V812.8z",fill:"#9AA7B0"},null,-1)),rc=rt(()=>R("path",{d:"M384 128h512v192H384zM384 768h512v192H384zM384 448h512v192H384z",fill:"#40B6E0","fill-opacity":".7"},null,-1)),lc=[oc,rc],uc={key:1,viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},cc=rt(()=>R("path",{d:"M192 128h640v192H192zM192 384h640v192H192zM192 640h640v192H192z",fill:"#F4AF3D","fill-opacity":".6"},null,-1)),_c=[cc],pc={class:"key"},dc=rt(()=>R("label",{class:"separator"},"=",-1)),hc={key:2,class:"object-type"},fc={key:3,class:"object-type"},mc={key:0,viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},gc=rt(()=>R("path",{d:"M128 128h768v768H128z",fill:"#40B6E0","fill-opacity":".6","p-id":"8251"},null,-1)),vc=rt(()=>R("path",{d:"M691.968 704V422.912l-62.464 15.36L613.12 373.76l102.912-30.72h53.76V704h-77.824z m-284.288 6.144c-95.744 0-158.72-80.384-158.72-184.32V524.8c0-103.936 64.512-185.344 159.744-185.344 94.72 0 158.72 80.384 158.72 184.32V524.8c0 103.936-64 185.344-159.744 185.344z m1.408-71.168c47.616 0 77.824-48.128 77.824-113.152V524.8c0-65.024-31.744-114.176-78.848-114.176S330.24 458.24 330.24 523.776V524.8c0 65.536 31.232 114.176 78.848 114.176z",fill:"#231F20","fill-opacity":".7","p-id":"8252"},null,-1)),Ec=[gc,vc],Tc={key:1,viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},bc=rt(()=>R("path",{d:"M192 128h640v192H192zM192 384h640v192H192zM192 640h640v192H192z",fill:"#F4AF3D","fill-opacity":".6"},null,-1)),Sc=[bc],yc={class:"key"},Oc=rt(()=>R("label",{class:"separator"},"=",-1)),Ac={key:2,class:"object-type"},Rc={setup(e){const t=ae("opened"),n=_e(()=>!t.value.variables),i=P([{title:"\u7EE7\u7EED(F8)",icon:"continue",disabled:n,onClick(){E.$emit(w.DEBUG_CONTINUE)}},{title:"\u5355\u6B65(F6)",icon:"step-over",disabled:n,onClick(){E.$emit(w.DEBUG_SETPINTO)}},{title:"\u5C55\u5F00",icon:"expand-all",disabled:n,onClick:()=>qe(t.value.variables,a=>a.opened=!0)},{title:"\u6298\u53E0",icon:"collapse-all",disabled:n,onClick:()=>qe(t.value.variables,a=>a.opened=!1)}]);return(a,s)=>{const o=T("magic-panel-toolbar"),r=T("magic-icon"),l=T("magic-tree"),u=T("magic-empty");return v(),L("div",ic,[p(o,{toolbars:i.value},null,8,["toolbars"]),R("div",ac,[k(t).variables?(v(),U(l,{key:0,data:k(t).variables},{folder:C(({item:c})=>[p(r,{icon:c.opened?"arrow-bottom":"arrow-right",onClick:ve(h=>c.opened=!c.opened,["stop"])},null,8,["icon","onClick"]),c.dataType==="array"?(v(),L("svg",sc,lc)):(v(),L("svg",uc,_c)),R("label",pc,G(c.name),1),dc,c.size?(v(),L("span",hc,"("+G(c.size)+")",1)):ee("",!0),c.type?(v(),L("span",fc,G(`{${c.type}}`),1)):ee("",!0)]),file:C(({item:c})=>[p(r,{icon:"empty"}),c.dataType==="number"?(v(),L("svg",mc,Ec)):(v(),L("svg",Tc,Sc)),R("label",yc,G(c.name),1),Oc,R("span",{class:de(["magic-data-type",c.dataType])},G(c.value),3),c.type&&!c.isNull?(v(),L("span",Ac," ("+G(c.type)+")",1)):ee("",!0)]),_:1},8,["data"])):(v(),U(u,{key:1,text:"\u6682\u65E0\u53D8\u91CF\u4FE1\u606F"}))])])}}};var Ic=H(Rc,[["__scopeId","data-v-d6992652"]]),xc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ic});const Cc={class:"magic-event"},Lc=["innerHTML"],Nc={setup(e){const t=E.getStatusLog(),n=[{title:"\u6E05\u7A7A",icon:"clear",onClick:()=>{E.clearStatusLog()}}];return(i,a)=>{const s=T("magic-panel-toolbar"),o=T("magic-table-column"),r=T("magic-table");return v(),L("div",Cc,[p(s,{toolbars:n}),p(r,{data:k(t),border:""},{default:C(()=>[p(o,{title:"\u65F6\u95F4",width:"180"},{default:C(({row:l})=>[Ke(G(l.timestamp),1)]),_:1}),p(o,{title:"\u4E8B\u4EF6\u5185\u5BB9"},{default:C(({row:l})=>[R("div",{innerHTML:l.content},null,8,Lc)]),_:1})]),_:1},8,["data"])])}}};var Pc=H(Nc,[["__scopeId","data-v-535abac4"]]),wc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Pc});const kc=["innerHTML"],Dc=["onClick"],$c={setup(e){const t=P([]),n=P(null),{proxy:i}=Rt(),a=o=>{i.$contextmenu({event:o,menus:[{icon:"delete",label:"\u6E05\u7A7A\u65E5\u5FD7",onClick:()=>t.value.splice(0)},{icon:"expand-all",label:"\u5168\u90E8\u5C55\u5F00",onClick:()=>t.value.forEach(r=>r.showMore=!0)},{icon:"collapse-all",label:"\u5168\u90E8\u6536\u7F29",onClick:()=>t.value.forEach(r=>r.showMore=!1)}]})},s=o=>{const r=o.map(l=>{let u=l.replace(/[&<>]/gm,function(h){return h==="&"?"&":h==="<"?"<":h===">"?">":""});u=u.replace(/(\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}.\d{3}\s+)([^\s]+)( --- \[)(.{15})(] )(.{40})/gm,'$1 $2$3$4$5$6'),u=u.replace(/(https?:\/\/[^\s]+)/gm,'$1'),u=u.replace(/(\tat .*\()(.*?:\d+)(\).*?[\r\n])/g,'$1$2$3');let c=l.split(` -`).length;return{html:u,multiple:c>3,lines:c-4,showMore:!1}});r&&(t.value.push(...r),xe(()=>{n.value&&(n.value.scrollTop=n.value.scrollHeight)}))};return E.$event(Re.LOGS,([o])=>s(o)),E.$event(Re.LOG,([o])=>s([o])),(o,r)=>{const l=T("magic-empty");return v(),L("div",{class:"magic-log-wrapper",onContextmenu:r[0]||(r[0]=ve(u=>a(u),["prevent"]))},[!t.value||t.value.length===0?(v(),U(l,{key:0,text:"\u6682\u65E0\u65E5\u5FD7"})):(v(),L("div",{key:1,class:"magic-log",ref:(u,c)=>{c.element=u,n.value=u}},[(v(!0),L(Z,null,ue(t.value,(u,c)=>(v(),L("div",{class:de({multiple:u.multiple,more:u.showMore}),key:"run_log_"+c},[R("pre",{innerHTML:u.html},null,8,kc),u.multiple?(v(),L("span",{key:0,class:"multiple",onClick:h=>u.showMore=!u.showMore},G(u.showMore?"\u70B9\u51FB\u9690\u85CF\u591A\u884C\u65E5\u5FD7":`\u6709 ${u.lines} \u884C\u65E5\u5FD7\u88AB\u9690\u85CF \u70B9\u51FB\u663E\u793A`),9,Dc)):ee("",!0)],2))),128))],512))],32)}}};var Mc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:$c});const Uc={class:"magic-online"},Bc={setup(e){const t=tt([]),n=ae("activateUserFiles"),i=(s,o)=>{const r=t.find(l=>l.cid===s);r&&(Object.values(n.value).forEach(l=>{const u=l.findIndex(c=>c.cid===s);u>-1&&l.splice(u,1)}),n.value[o]=n.value[o]||[],n.value[o].push(r))},a=s=>{t.some(o=>o.cid===s.cid)||t.push(s)};return E.$event(Re.LOGIN_RESPONSE,([s,o])=>{n.value={},t.splice(0,t.length),s==="1"&&(a(o),E.send(Re.GET_ONLINE))}),E.$event(Re.USER_LOGIN,([s])=>{D.CLIENT_ID!==s.cid&&(E.$emit(w.NOTIFY,{title:"\u7528\u6237\u4E0A\u7EBF",content:`\u7528\u6237${s.username}\u5DF2\u4E0A\u7EBF\uFF0CIP:${s.ip}`,duration:3e3}),E.status(`\u7528\u6237${s.username}\u5DF2\u4E0A\u7EBF\uFF0CIP:${s.ip}`)),a(s)}),E.$event(Re.USER_LOGOUT,([s])=>{D.CLIENT_ID!==s.cid&&(E.$emit(w.NOTIFY,{title:"\u7528\u6237\u4E0B\u7EBF",content:`\u7528\u6237${s.username}\u5DF2\u4E0B\u7EBF\uFF0CIP:${s.ip}`,duration:3e3}),E.status(`\u7528\u6237${s.username}\u5DF2\u4E0B\u7EBF\uFF0CIP:${s.ip}`));const o=t.findIndex(r=>r.cid===s.cid);i(s.cid,"0"),o>-1&&t.splice(o,1)}),E.$event(Re.ONLINE_USERS,([s])=>{s.forEach(o=>{D.CLIENT_ID!==o.cid&&(a(o),o.fileId&&i(o.cid,o.fileId))})}),E.$event(Re.INTO_FILE_ID,([s,o])=>i(s,o)),(s,o)=>{const r=T("magic-avatar-group");return v(),L("div",Uc,[p(r,{users:k(t),max:9},null,8,["users"]),R("span",null,"\u5F53\u524D\u5728\u7EBF\uFF1A"+G(k(t).length)+"\u4EBA",1)])}}};var Fc=H(Bc,[["__scopeId","data-v-788b49dc"]]),jc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Fc});const Gc={class:"magic-status-bar"},Vc=["innerHTML"],Hc=["title","onClick"],Yc={props:{config:Object},setup(e){const t=e,n=P(null),i=[{icon:"gitee",title:"Gitee",displayKey:"repo",onClick:()=>window.open("https://gitee.com/ssssssss-team/magic-api")},{icon:"git",title:"Github",displayKey:"repo",onClick:()=>window.open("https://github.com/ssssssss-team/magic-api")},{icon:"qq",title:"\u52A0\u5165QQ\u7FA4",displayKey:"qqGroup",onClick:()=>window.open("https://qm.qq.com/cgi-bin/qm/qr?k=Q6dLmVS8cHwoaaP18A3tteK_o0244e6B&jump_from=webapi")},{icon:"help",title:"\u5E2E\u52A9\u6587\u6863",displayKey:"document",onClick:()=>window.open("https://ssssssss.org/magic-api")}],a=_e(()=>{const o=i.filter(r=>t.config.header[r.displayKey]!==!1);return n.value&&n.value.id&&n.value.username&&o.push({icon:"logout",title:n.value.username,onClick:()=>ge.confirm("\u6CE8\u9500\u767B\u5F55",`\u662F\u5426\u8981\u6CE8\u9500\u767B\u5F55\u300C${n.value.username}\u300D`,()=>K.sendPost("/logout").success(()=>{n.value=null,D.HEADER_MAGIC_TOKEN_VALUE="unauthorization",D.LOGINED=!1,Ge.remove(D.STORE.token),E.$emit(w.LOGOUT),E.status("\u6CE8\u9500\u767B\u5F55\u6210\u529F")}))}),o}),s=P("");return E.$on(w.LOGINED,()=>{E.status("\u83B7\u53D6\u5F53\u524D\u767B\u5F55\u7528\u6237\u4FE1\u606F"),K.send("/user").success(o=>n.value=o)}),E.$on(w.STATUS,o=>s.value=o),(o,r)=>{const l=T("magic-online"),u=T("magic-icon");return v(),L("div",Gc,[R("div",{class:"message",innerHTML:s.value},null,8,Vc),p(l),R("ul",null,[(v(!0),L(Z,null,ue(k(a),(c,h)=>(v(),L("li",{title:c.title,key:h,onClick:ve(c.onClick,["stop"])},[p(u,{icon:c.icon},null,8,["icon"])],8,Hc))),128))])])}}};var Kc=H(Yc,[["__scopeId","data-v-7891cbf6"]]),Wc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Kc});const qc={class:"magic-todo"},zc={key:3},Xc={class:"todo"},Jc={setup(e){const t=P(!0),n=[{icon:"refresh",title:"\u5237\u65B0",onClick(){c()}},{icon:"expand-all",title:"\u5C55\u5F00",onClick:()=>qe(i.value,m=>m.opened=!0)},{icon:"collapse-all",title:"\u6298\u53E0",onClick:()=>qe(i.value,m=>m.opened=!1)}],i=P([]),a=ae("resources"),s={},o=m=>{(m.groupId||m.line)&&E.$emit(w.OPEN_WITH_ID,m.id)},r=(m,O)=>{let b=m.find(g=>g.id===O);if(!b)for(let g=0;g{let O=[];return m.forEach(b=>{b.line>0?O.push(b):b.folder&&b.children&&(b.children=l(b.children),b.children.length&&O.push(b))}),O},u=ae("service"),c=()=>{i.value=[],t.value=!0,K.sendGet("/todo").success(m=>{const O=a();O.forEach(g=>s[g.navbar.type]=g.navbar);let b=!1;m.forEach(g=>{for(let d=0;dg.display).map(g=>({folder:!0,icon:g.navbar.icon,name:g.navbar.title,children:g.tree,root:!0}))),qe(i.value,g=>g.opened=!0)),t.value=!1})};let h=!1;return E.$on(w.LOAD_RESOURCES_FINISH,c),mt(()=>{!h&&D.LOGINED&&c(),h=!0}),(m,O)=>{const b=T("magic-panel-toolbar"),g=T("magic-loading"),d=T("magic-icon"),f=T("magic-text-icon"),A=T("magic-tree"),I=T("magic-empty");return v(),L("div",qc,[p(b,{toolbars:n}),R("div",null,[p(g,{loading:t.value},null,8,["loading"]),i.value.length>0?(v(),U(A,{key:0,data:i.value,onItemClick:o},{folder:C(({item:y})=>[p(d,{icon:y.opened?"arrow-bottom":"arrow-right",onClick:ve(x=>y.opened=!y.opened,["stop"])},null,8,["icon","onClick"]),y.root?(v(),U(d,{key:0,icon:y.icon},null,8,["icon"])):y.icon?(v(),U(f,{key:1,icon:y.icon},null,8,["icon"])):(v(),U(d,{key:2,icon:"list"})),R("label",null,G(y.name),1),y.path?(v(),L("span",zc,"("+G(y.path)+")",1)):ee("",!0)]),file:C(({item:y})=>[p(d),p(d,{icon:"todo"}),R("label",Xc,G(y.text),1)]),_:1},8,["data"])):(v(),U(I,{key:1,text:"\u6682\u65E0TODO\u4E8B\u9879"}))])])}}};var Qc=H(Jc,[["__scopeId","data-v-4bb5213c"]]),Zc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Qc});const e_={class:"magic-toolbar"},t_={class:"magic-toolbar-header"},n_={class:"magic-toolbar-header-buttons"},i_={setup(e){const t=P(null),n=tt([{type:"api",title:"\u63A5\u53E3\u4FE1\u606F",icon:"parameter",component:ke(J("magic-api-info"))},{id:"response",type:"api",title:"\u6267\u884C\u7ED3\u679C",icon:"run",component:ke(J("magic-api-response"))},{id:"debug",type:"api",title:"\u8C03\u8BD5\u4FE1\u606F",icon:"debug-info",component:ke(J("magic-debug"))},{type:"function",title:"\u51FD\u6570\u4FE1\u606F",icon:"parameter",component:ke(J("magic-function-info"))},{type:"group-api",title:"\u63A5\u53E3\u5206\u7EC4",icon:"parameter",component:ke(J("magic-api-group"))},{type:"websocket",title:"WebSocket\u4FE1\u606F",icon:"parameter",component:ke(J("magic-todo"))},{type:"cron",title:"\u5B9A\u65F6\u4EFB\u52A1\u4FE1\u606F",icon:"parameter",component:ke(J("magic-todo"))},{type:"resource",title:"\u8D44\u6E90\u4FE1\u606F",icon:"parameter",component:ke(J("magic-todo"))},{id:"log",title:"\u8FD0\u884C\u65E5\u5FD7",icon:"log",component:ke(J("magic-log"))},{type:"api",title:"\u5168\u5C40\u53C2\u6570",icon:"settings",component:ke(J("magic-global"))},{id:"todo",title:"TODO",icon:"todo",component:ke(J("magic-todo"))},{id:"history",title:"\u5386\u53F2\u8BB0\u5F55",icon:"history",component:ke(J("magic-backup"))},{id:"event",title:"\u4E8B\u4EF6",icon:"event",component:ke(J("magic-event")),style:{float:"right"}}]),i=P({}),a=P({});et("opened",i),et("info",a);const s=o=>{n.forEach(r=>r.show=r.type===void 0||r.type===o),t.value&&t.value.select(n.findIndex(r=>r.show))};return s(""),E.$on(w.OPEN_EMPTY,()=>s("")),E.$on(w.OPEN,o=>{o.responseBlobValue=null,i.value=o,a.value=o.item,s(o.type)}),E.$on(w.OPEN_GROUP,o=>{s("group-"+o.type),a.value=o}),E.$on(w.SWITCH_TOOLBAR,o=>{const r=n.findIndex(l=>l.id===o);r>-1&&t.value.select(r)}),(o,r)=>{const l=T("magic-icon"),u=T("magic-resizer"),c=T("magic-navbar-item"),h=T("magic-navbar");return v(),L("div",e_,[p(h,{direction:"horizontal",ref:(m,O)=>{O.navbar=m,t.value=m}},{default:C(()=>[(v(!0),L(Z,null,ue(k(n),(m,O)=>(v(),U(c,lt({key:O},m),{default:C(()=>[p(u,{direction:"y",max:600,min:250},{default:C(()=>[R("div",t_,[R("label",null,G(m.title),1),R("div",n_,[p(l,{icon:"minimize",size:"14px",title:"\u6700\u5C0F\u5316",onClick:r[0]||(r[0]=b=>t.value.select(-1))})])]),(v(),U(J(m.component)))]),_:2},1024)]),_:2},1040))),128))]),_:1},512)])}}};var a_=H(i_,[["__scopeId","data-v-8958a5f2"]]),s_=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:a_});const o_={class:"magic-panel-function"},r_={props:{info:Object},setup(e){const{info:t}=e,n=P(-1),i=P(we(t.parameters));return(a,s)=>{const o=T("magic-panel-common-toolbar"),r=T("magic-input"),l=T("magic-table-column"),u=T("magic-select"),c=T("magic-table");return v(),L("div",o_,[p(o,{index:n.value,"onUpdate:index":s[0]||(s[0]=h=>n.value=h),value:i.value},null,8,["index","value"]),p(c,{data:i.value,border:"",onClickRow:s[1]||(s[1]=h=>n.value=h)},{default:C(()=>[p(l,{title:"\u53C2\u6570\u540D",width:"20%"},{default:C(({row:h})=>[p(r,{value:h.name,"onUpdate:value":m=>h.name=m,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(l,{title:"\u53C2\u6570\u7C7B\u578B",width:"20%"},{default:C(({row:h})=>[p(u,{options:a.$FUNCTION_RETURN_TYPES,value:h.dataType,"onUpdate:value":m=>h.dataType=m,"default-select":a.$DEFAULT_FUNCTION_RETURN_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1}),p(l,{title:"\u63CF\u8FF0",flex:"1"},{default:C(({row:h})=>[p(r,{value:h.description,"onUpdate:value":m=>h.description=m,border:!1},null,8,["value","onUpdate:value"])]),_:1})]),_:1},8,["data"])])}}};var l_=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:r_});const u_={setup(e){const t=P(!1),n=P([]);E.$on(w.DO_DOWNLOAD,()=>t.value=!0);const i=()=>{n.value.length?K.sendJson("/download",n.value,{method:"post",headers:{"Content-Type":"application/json"},transformRequest:[],responseType:"blob"}).success(a=>{_n(a,"magic-api.zip"),E.status("\u6570\u636E\u5DF2\u5BFC\u51FA\u5B8C\u6BD5"),t.value=!1,E.report("resource-export")}):ge.alert("\u8BF7\u9009\u62E9\u4E4B\u540E\u5728\u8FDB\u884C\u5BFC\u51FA\uFF01")};return(a,s)=>{const o=T("magic-resource-choose"),r=T("magic-button"),l=T("magic-button-group"),u=T("magic-dialog");return v(),U(u,{title:"\u5BFC\u51FA",value:t.value,"onUpdate:value":s[5]||(s[5]=c=>t.value=c),shade:!1,padding:"0",width:"400px",top:"60px",overflow:"hidden"},{default:C(()=>[p(o,{ref:(c,h)=>{h.resource=c},value:n.value,"onUpdate:value":s[0]||(s[0]=c=>n.value=c)},null,8,["value"]),p(l,{align:"right",style:{margin:"5px 0","margin-right":"5px"}},{default:C(()=>[p(r,{value:"\u5C55\u5F00",onOnClick:s[1]||(s[1]=c=>a.$refs.resource.expand(!0))}),p(r,{value:"\u6536\u7F29",onOnClick:s[2]||(s[2]=c=>a.$refs.resource.expand(!1))}),p(r,{value:"\u5168\u9009",onOnClick:s[3]||(s[3]=c=>a.$refs.resource.selectAll(!0))}),p(r,{value:"\u53D6\u6D88\u5168\u9009",onOnClick:s[4]||(s[4]=c=>a.$refs.resource.selectAll(!1))}),p(r,{type:"active",value:"\u5BFC\u51FA",onOnClick:i})]),_:1})]),_:1},8,["value"])}}};var c_=H(u_,[["__scopeId","data-v-17f31570"]]),__=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:c_});const p_={class:"magic-header"},d_={class:"magic-logo"},h_=["title"],f_=["title"],m_={class:"magic-header-title"},g_=["title","onClick"],v_={class:"magic-skin-selector"},E_=["onClick"],T_={props:{title:{type:String,default:"magic-api"},themeStyle:Object},setup(e){const{themeStyle:t}=e,n=D.MAGIC_API_VERSION_TEXT,i=P(!1),a=P({}),s=P("");E.$on(w.OPEN_EMPTY,()=>{s.value="",a.value={}}),E.$on(w.OPEN,u=>{a.value=u,s.value=u.path(),vt(u,()=>{a.value===u&&(s.value=u.path())})});const o=P([{name:"\u8FD0\u884C(Ctrl + Q)",icon:"run",disabled:_e(()=>a.value.runnable!==!0||a.value.running===!0),onClick:()=>E.$emit(w.DO_TEST)},{name:"\u4FDD\u5B58(Ctrl + S)",icon:"save",onClick:()=>E.$emit(w.DO_SAVE,!0)},{name:"\u641C\u7D22(Ctrl + Shift + F)",icon:"search",onClick:()=>E.$emit(w.DO_SEARCH)},{name:"\u4E0A\u4F20",icon:"upload",onClick:()=>E.$emit(w.DO_UPLOAD)},{name:"\u5BFC\u51FA",icon:"download",onClick:()=>E.$emit(w.DO_DOWNLOAD)},{name:"\u63A8\u9001",icon:"push",onClick:()=>E.$emit(w.DO_PUSH)},{name:"\u76AE\u80A4",icon:"skin",onClick:()=>i.value=!i.value},{name:"\u91CD\u65B0\u52A0\u8F7D\u6240\u6709\u6570\u636E",icon:"refresh",onClick:()=>E.$emit(w.RELOAD_RESOURCES)}]),r=u=>{D.THEME=u,E.$emit(w.SWITCH_THEME,u),E.status(`\u5207\u6362\u76AE\u80A4\u81F3\u300C${u}\u300D`),We.setTheme(u),Object.keys(t).forEach(h=>t[h]=void 0);let c=Yt[u];Ge.set(D.STORE.theme,u),Object.keys(c).forEach(h=>t[`--${h}`]=c[h]),i.value=!1},l=Ge.get(D.STORE.theme);return l!==D.THEME&&Yt[l]&&r(l),(u,c)=>{const h=T("magic-icon");return v(),L(Z,null,[R("div",p_,[R("div",d_,[R("label",{title:e.title},G(e.title),9,h_),R("label",{title:k(n)},G(k(n)),9,f_)]),R("div",m_,G(s.value),1),R("ul",null,[(v(!0),L(Z,null,ue(o.value,(m,O)=>(v(),L("li",{key:O,title:m.name,onClick:ve(b=>m.disabled!==!0&&m.onClick(),["stop"]),class:de({disabled:m.disabled===!0})},[p(h,{icon:m.icon},null,8,["icon"])],10,g_))),128))])]),sn(R("div",v_,[R("ul",null,[(v(!0),L(Z,null,ue(Object.keys(k(Yt)),m=>(v(),L("li",{key:"theme_"+m,onClick:O=>r(m)},G(m),9,E_))),128))])],512),[[Yn,i.value]])],64)}}};var b_=H(T_,[["__scopeId","data-v-6bfe1363"]]),S_=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:b_});const Mi=e=>(nt("data-v-32537a17"),e=e(),it(),e),y_={class:"magic-push-form"},O_=Mi(()=>R("label",null,"\u8FDC\u7A0B\u5730\u5740\uFF1A",-1)),A_=Mi(()=>R("label",null,"\u79D8\u94A5\uFF1A",-1)),R_={setup(e){const t=P(!1),n=P([]),i=P("http://host:port/_magic-api-sync"),a=P("123456789");E.$on(w.DO_PUSH,()=>t.value=!0);const s=r=>{K.sendJson("/push",n.value,{method:"post",headers:{"magic-push-target":i.value,"magic-push-secret-key":a.value,"magic-push-mode":r,"Content-Type":"application/json"},transformRequest:[]}).success(()=>{const l=r==="full"?"\u5168\u91CF\u63A8\u9001":"\u589E\u91CF\u63A8\u9001";E.status(l+"\u6210\u529F"),t.value=!1,E.$emit(w.LOAD_RESOURCES),E.report("resource-push")})},o=r=>{n.value.length?r==="full"?ge.confirm("\u8FDC\u7A0B\u63A8\u9001","\u5168\u91CF\u6A21\u5F0F\u63A8\u9001\u65F6\uFF0C\u4EE5\u672C\u5730\u6570\u636E\u4E3A\u51C6\u5168\u91CF\u8986\u76D6\u66F4\u65B0,\u662F\u5426\u7EE7\u7EED\uFF1F",()=>s(r)):s(r):ge.alert("\u8BF7\u9009\u62E9\u4E4B\u540E\u5728\u8FDB\u884C\u63A8\u9001\uFF01")};return(r,l)=>{const u=T("magic-resource-choose"),c=T("magic-input"),h=T("magic-button"),m=T("magic-button-group"),O=T("magic-dialog");return v(),U(O,{title:"\u63A8\u9001",value:t.value,"onUpdate:value":l[7]||(l[7]=b=>t.value=b),shade:!1,padding:"0",width:"400px",top:"60px",overflow:"hidden"},{default:C(()=>[p(u,{ref:(b,g)=>{g.resource=b},value:n.value,"onUpdate:value":l[0]||(l[0]=b=>n.value=b)},null,8,["value"]),R("div",y_,[R("div",null,[O_,p(c,{value:i.value,"onUpdate:value":l[1]||(l[1]=b=>i.value=b)},null,8,["value"])]),R("div",null,[A_,p(c,{value:a.value,"onUpdate:value":l[2]||(l[2]=b=>a.value=b),type:"password"},null,8,["value"])])]),p(m,{align:"right",style:{margin:"5px 0","margin-right":"5px"}},{default:C(()=>[p(h,{value:"\u5168\u9009",onOnClick:l[3]||(l[3]=b=>r.$refs.resource.selectAll(!0))}),p(h,{value:"\u53D6\u6D88\u5168\u9009",onOnClick:l[4]||(l[4]=b=>r.$refs.resource.selectAll(!1))}),p(h,{type:"active",value:"\u589E\u91CF\u63A8\u9001",onOnClick:l[5]||(l[5]=b=>o("increment"))}),p(h,{value:"\u5168\u91CF\u63A8\u9001",onOnClick:l[6]||(l[6]=b=>o("full"))})]),_:1})]),_:1},8,["value"])}}};var I_=H(R_,[["__scopeId","data-v-32537a17"]]),x_=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:I_});const C_={class:"magic-search-result"},L_=["onClick"],N_=["innerHTML"],P_={class:"name"},w_=["textContent"],k_={class:"display-text"},D_={setup(e){const t=P(""),n=P(!1),i=ae("findResource"),a=P([]),s=P({}),o=_e(()=>s.value.name+(s.value.path?`(${s.value.path})`:"")),r=g=>{g.script||K.sendGet(`/resource/file/${g.id}`).success(d=>{g.script=d.script})},l=g=>{s.value=g,r(g),E.$emit(w.OPEN_WITH_ID,g.id),n.value=!1,a.value=[],t.value=""};E.$on(w.DO_SEARCH,()=>{a.value=[],t.value="",n.value=!n.value});let u=null;const c=g=>{const d=[...g.childNodes],f=[];for(;d.length;){const A=d.shift();A.nodeType===A.TEXT_NODE?f.push(A):d.unshift(...A.childNodes)}return f},h=g=>{let d=0;return g.map(f=>{let A=d,I=d+f.wholeText.length;return d=I,{text:f.wholeText,startIdx:A,endIdx:I}})},m=(g,d)=>{const f=[..."[]()?.+*^${}:"].reduce((I,y)=>(I[y]=!0,I),{});d=d.split("").map(I=>f[I]?`\\${I}`:I).join("[\\s\\n]*");const A=new RegExp(d,"gmi");return[...g.matchAll(A)]},O=(g,d,f)=>{for(let A=f.length-1;A>=0;A--){const I=f[A],y=I.index,x=y+I[0].length;for(let M=0;M=x)break;let Le=g[M];const De=Math.max(0,y-X),te=Math.min(fe,x)-X-De;De>0&&(Le=Le.splitText(De)),te{if(!d)return g;const f=document.createElement("div");f.innerHTML=g;const A=c(f),I=h(A),y=I.map(({text:M})=>M).join(""),x=m(y,d);return O(A,I,x),f.innerHTML};return vt(t,g=>{const d=g.trim();clearTimeout(u),d&&(u=setTimeout(()=>{K.send("/search",{keyword:d},{method:"POST"}).success(async f=>{const A=[],I=await ea.getPromise("magicscript");for(let y=0;y0&&(s.value=A[0],r(s.value)),a.value=A})},600))}),(g,d)=>{const f=T("magic-input"),A=T("magic-monaco-editor"),I=T("magic-dialog");return v(),U(I,{title:"\u5168\u5C40\u641C\u7D22",value:n.value,"onUpdate:value":d[1]||(d[1]=y=>n.value=y),shade:!1,padding:"0",width:"700px",top:"60px"},{default:C(()=>[p(f,{value:t.value,"onUpdate:value":d[0]||(d[0]=y=>t.value=y),placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22"},null,8,["value"]),a.value.length>0?(v(),L(Z,{key:0},[R("div",C_,[(v(!0),L(Z,null,ue(a.value,(y,x)=>(v(),L("div",{key:x,class:de(["magic-search-result-item",{selected:s.value===y}]),onClick:M=>l(y)},[R("div",{class:"label",innerHTML:y.text},null,8,N_),R("div",P_,G(y.name),1),R("div",{class:"line",textContent:G(y.line)},null,8,w_)],10,L_))),128))]),R("div",k_,G(k(o)),1),p(A,{readonly:"",value:s.value.script,language:"magicscript",style:{width:"100%",height:"300px"},matches:t.value},null,8,["value","matches"])],64)):ee("",!0)]),_:1},8,["value"])}}};var $_=H(D_,[["__scopeId","data-v-2baa1fdc"]]),M_=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:$_});const U_={setup(e){const t=P(!1),n=P(null),i=a=>{if(n.value){const s=new FormData;s.append("file",n.value,n.value.name),s.append("mode",a);const o=()=>{K.send("/upload",s,{method:"post",headers:{"Content-Type":"multipart/form-data"}}).success(r=>{const l=a==="full"?"\u5168\u91CF\u4E0A\u4F20":"\u589E\u91CF\u4E0A\u4F20";r?(E.status(l+"\u6210\u529F"),t.value=!1,E.$emit(w.LOAD_RESOURCES),E.report(`upload-${a}`)):(E.status(l+"\u5931\u8D25",!1),E.report(`upload-${a}-error`))})};a==="full"?ge.confirm("\u4E0A\u4F20","\u5168\u91CF\u6A21\u5F0F\u4E0A\u4F20\u65F6\uFF0C\u4EE5\u4E0A\u4F20\u7684\u6570\u636E\u4E3A\u51C6\u8FDB\u884C\u8986\u76D6\u66F4\u65B0\u64CD\u4F5C\uFF0C\u53EF\u80FD\u4F1A\u5220\u9664\u5176\u4ED6\u63A5\u53E3
\u5728\u975E\u5168\u91CF\u5BFC\u51FA\u65F6\uFF0C\u5EFA\u8BAE\u4F7F\u7528\u589E\u91CF\u66F4\u65B0\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F",o):o()}};return E.$on(w.DO_UPLOAD,()=>t.value=!0),(a,s)=>{const o=T("magic-file"),r=T("magic-button"),l=T("magic-button-group"),u=T("magic-dialog");return v(),U(u,{title:"\u4E0A\u4F20",value:t.value,"onUpdate:value":s[3]||(s[3]=c=>t.value=c)},{default:C(()=>[p(o,{value:n.value,"onUpdate:value":s[0]||(s[0]=c=>n.value=c),accept:"application/x-zip-compressed"},null,8,["value"]),p(l,{align:"right",style:{"margin-top":"5px"}},{default:C(()=>[p(r,{value:"\u589E\u91CF\u4E0A\u4F20",type:"active",onClick:s[1]||(s[1]=c=>i("increment"))}),p(r,{value:"\u5168\u91CF\u4E0A\u4F20",onClick:s[2]||(s[2]=c=>i("full"))})]),_:1})]),_:1},8,["value"])}}};var B_=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:U_});const F_={class:"magic-data-resource"},j_={class:"magic-data-resource-header"},G_=["title","onClick"],V_={key:1},H_=["onContextmenu"],Y_={props:{type:String,title:String,data:Array},setup(e){const t=e,n=J(`magic-datasource-${t.type}`),i=P(!1),a=P(""),s=P({}),o=P(""),r=P(""),l=P(!0),u=_e(()=>t.data&&t.data.length>0&&t.data[0].children&&t.data[0].children.filter(I=>I.name.indexOf(o.value)>-1||I.key.indexOf(o.value)>-1)||[]),c=ae("service")[t.type],h=[{name:`\u65B0\u5EFA${t.title}`,icon:"plus",onClick:()=>{a.value=`\u521B\u5EFA${t.title}`,r.value="\u521B\u5EFA",s.value={},i.value=!0,l.value=!1}}],m=()=>{c.doTest(s.value)},{proxy:O}=Rt(),b=(I,y)=>{I.groupId=`${t.type}:0`,K.sendJson(`/resource/file/${t.type}/save`,I).success(x=>{if(x){I.id===x?E.report("datasource-save"):E.report("datasource-add"),I.id=x,E.status(`${y}\u6210\u529F`);const M=t.data[0].children.find(B=>B.id===I.id);M?Object.keys(I).forEach(B=>M[B]=I[B]):t.data[0].children.push(I),i.value=!1}else E.status(`${y}\u5931\u8D25`,!1),O.$alert(`${y}\u5931\u8D25`)})},g=()=>{const I=ce({},s.value);b(I,`\u4FDD\u5B58${t.title}\u300C${d(I)}\u300D`)},d=I=>`${I.name}(${I.key})`,f=I=>{const y=t.data[0].children.findIndex(x=>x===I);y>-1&&t.data[0].children.splice(y,1)},A=(I,y)=>{const x=[{label:`\u4FEE\u6539${t.title}`,icon:"update",divided:!0,onClick:()=>{l.value=!0,a.value=`\u4FEE\u6539${t.title}`,r.value="\u4FEE\u6539",i.value=!0,E.status(`\u83B7\u53D6${t.title}\u300C${d(I)}\u300D\u8BE6\u60C5`),K.sendGet(`/resource/file/${I.id}`).success(M=>s.value=M).end(()=>{l.value=!1})}},{label:`\u5220\u9664${t.title}`,icon:"delete",onClick:()=>{O.$confirm(`\u5220\u9664${t.title}`,`\u662F\u5426\u8981\u5220\u9664${t.title}\u300C${d(I)}\u300D`,()=>{K.send("/resource/delete",{id:I.id}).success(M=>{E.status(`\u5220\u9664${t.title}\u300C${d(I)}\u300D${M?"\u6210\u529F":"\u5931\u8D25"}`,M),M?(E.report("datasource-delete"),f(I)):O.$alert(`\u5220\u9664${t.title}\u300C${d(I)}\u300D\u5931\u8D25`)})})}},{label:`\u590D\u5236${t.title}`,icon:"copy",divided:!0,onClick:()=>{K.send(`/resource/file/${I.id}`).success(M=>{M.id=void 0,M.name=M.name+"(\u590D\u5236)",M.key=M.key+"_copy",b(M,`\u590D\u5236${t.title}\u300C${d(M)}\u300D`)})}}];I.lock===D.LOCKED?x.push({label:"\u89E3\u9501",icon:"unlock",onClick:()=>K.sendPost("/resource/unlock",{id:I.id}).success(M=>{E.status(`${t.title}\u300C${d(I)}\u300D\u89E3\u9501${M?"\u6210\u529F":"\u5931\u8D25"}`,M),M&&(I.lock=D.UNLOCK,E.report("resource-unlock"))})}):x.push({label:"\u9501\u5B9A",icon:"lock",onClick:()=>K.sendPost("/resource/lock",{id:I.id}).success(M=>{E.status(`${t.title}\u300C${d(I)}\u300D\u9501\u5B9A${M?"\u6210\u529F":"\u5931\u8D25"}`,M),M&&(I.lock=D.LOCKED,E.report("resource-lock"))})}),O.$contextmenu({menus:x,event:y})};return(I,y)=>{const x=T("magic-icon"),M=T("magic-input"),B=T("magic-empty"),X=T("magic-button"),fe=T("magic-button-group"),Le=T("magic-loading"),De=T("magic-dialog");return v(),L(Z,null,[R("div",F_,[R("div",j_,[R("ul",null,[(v(),L(Z,null,ue(h,(te,Oe)=>(v(),L(Z,{key:Oe},[!te.show||te.show()?(v(),L("li",{key:0,title:te.name||"",onClick:Qe=>te.onClick&&te.onClick(),class:de({separator:te.separator})},[te.separator?ee("",!0):(v(),U(x,{key:0,icon:te.icon},null,8,["icon"]))],10,G_)):ee("",!0)],64))),64))]),p(M,{value:o.value,"onUpdate:value":y[0]||(y[0]=te=>o.value=te),placeholder:"\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22",width:"auto"},null,8,["value"]),p(x,{icon:"search",size:"14px"})]),k(u).length===0?(v(),U(B,{key:0,text:`\u6682\u65E0${e.title}\u4FE1\u606F`},null,8,["text"])):(v(),L("ul",V_,[(v(!0),L(Z,null,ue(k(u),(te,Oe)=>(v(),L("li",{key:Oe,onContextmenu:ve(Qe=>A(te,Qe),["prevent"])},[p(x,{icon:"datasource"}),R("label",null,G(te.name||"\u4E3B\u6570\u636E\u6E90"),1),R("span",null,"("+G(te.key||"default")+")",1),te.lock==="1"?(v(),U(x,{key:0,icon:"lock"})):ee("",!0)],40,H_))),128))]))]),p(De,{value:i.value,"onUpdate:value":y[4]||(y[4]=te=>i.value=te),title:a.value,width:"450px"},{default:C(()=>[p(Le,{loading:l.value,style:{"min-height":"200px"}},{default:C(()=>[(v(),U(J(k(n)),{info:s.value},null,8,["info"])),p(fe,{align:"right",style:{padding:"5px 0"}},{default:C(()=>[p(X,{value:r.value,type:"active",onOnClick:y[1]||(y[1]=te=>g())},null,8,["value"]),p(X,{value:"\u6D4B\u8BD5\u8FDE\u63A5",onOnClick:y[2]||(y[2]=te=>m())}),p(X,{value:"\u53D6\u6D88",onOnClick:y[3]||(y[3]=te=>i.value=!1)})]),_:1})]),_:1},8,["loading"])]),_:1},8,["value","title"])],64)}}};var K_=H(Y_,[["__scopeId","data-v-41719f90"]]),W_=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:K_});const en=e=>(nt("data-v-39f3ed68"),e=e(),it(),e),q_={class:"magic-login"},z_=en(()=>R("label",null,"\u7528\u6237\u540D\uFF1A",-1)),X_=en(()=>R("div",{style:{height:"2px"}},null,-1)),J_=en(()=>R("label",null,"\u5BC6\u7801\uFF1A",-1)),Q_=en(()=>R("div",{style:{height:"2px"}},null,-1)),Z_={props:{value:Boolean},emits:["update:value"],setup(e,{emit:t}){const n=P(""),i=P(""),a=()=>{n.value&&i.value&&K.sendPost("/login",{username:n.value,password:i.value}).success((s,o)=>{s&&(t("update:value",!1),D.HEADER_MAGIC_TOKEN_VALUE=o.headers[D.HEADER_MAGIC_TOKEN],Ge.set(D.STORE.token,D.HEADER_MAGIC_TOKEN_VALUE),E.$emit(w.LOGINED))})};return(s,o)=>{const r=T("magic-input"),l=T("magic-button"),u=T("magic-button-group"),c=T("magic-dialog");return v(),U(c,{title:"\u767B\u5F55",showClose:!1,value:e.value,"onUpdate:value":o[2]||(o[2]=h=>on(value)?value.value=h:null)},{default:C(()=>[R("div",q_,[z_,p(r,{onEnter:a,value:n.value,"onUpdate:value":o[0]||(o[0]=h=>n.value=h)},null,8,["value"]),X_,J_,p(r,{onEnter:a,value:i.value,"onUpdate:value":o[1]||(o[1]=h=>i.value=h),type:"password"},null,8,["value"]),Q_]),p(u,{align:"center"},{default:C(()=>[p(l,{value:"\u767B\u5F55",onOnClick:a})]),_:1})]),_:1},8,["value"])}}};var ep=H(Z_,[["__scopeId","data-v-39f3ed68"]]),tp=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ep});function np(e,t){E.$emit(w.SWITCH_TOOLBAR,"log"),t.headers[D.HEADER_REQUEST_CLIENT_ID]=D.CLIENT_ID,t.headers[D.HEADER_REQUEST_SCRIPT_ID]=e.item.id,t.headers[D.HEADER_MAGIC_TOKEN]=D.HEADER_MAGIC_TOKEN_VALUE,t.headers[D.HEADER_REQUEST_BREAKPOINTS]=(e.decorations||[]).filter(s=>s.options.linesDecorationsClassName==="breakpoints").map(s=>s.range.startLineNumber).join(","),t.responseType="blob",t.validateStatus=()=>!0;let n=0;t.transformResponse=[function(s,o){return n=s.size,o["content-disposition"]?new Promise(r=>r(s)):new Promise(r=>{const l=new FileReader;l.readAsText(s),l.onload=function(){try{r(JSON.parse(this.result))}catch{r(s)}}})}];const i=e.path();E.status(`\u5F00\u59CB\u6D4B\u8BD5\u300C${i}\u300D`);const a=new Date().getTime();K.execute(t).then(s=>s.data.then(o=>{E.status(`\u300C${i}\u300D\u6D4B\u8BD5\u5B8C\u6BD5\uFF0C\u72B6\u6001\uFF1A${s.status} \u5927\u5C0F\uFF1A${La(n)} \u8017\u65F6\uFF1A${new Date().getTime()-a} ms`),e.running=!1,(e.responseBlob=o instanceof Blob)?(e.responseBlobValue=o,e.item.responseBody=null,e.item.responseBodyDefinition=null):(e.item.responseBody=JSON.stringify(o),e.item.responseBodyDefinition=yi(e.item.responseBody,e.item.responseBodyDefinition)),e.responseHeaders=s.headers,xe(()=>E.$emit(w.SWITCH_TOOLBAR,"response"))})).catch(s=>{E.status(`\u8BF7\u6C42\u51FA\u9519\uFF1A\u300C${i}\u300D`,!1),e.running=!1,K.processError(s)}),E.report("api-run")}function ip(e){e.running=!0;const t=e.item,n={baseURL:D.SERVER_URL,url:e.requestPath(),method:t.method,headers:{},responseType:"json",withCredentials:!0},i=s=>s.filter(o=>o.value&&o.value.trim()).forEach(o=>n.url=n.url.replace(new RegExp(`{${o.name}}`,"g"),o.value.trim()));if(e.getGroups().filter(s=>s.paths&&s.paths.length>0).map(s=>s.paths).forEach(s=>i(s)),i(t.paths||[]),n.url.indexOf("{")>-1){ge.alert("\u8BF7\u586B\u5199\u8DEF\u5F84\u53D8\u91CF\u540E\u5728\u6D4B\u8BD5\uFF01"),e.running=!1;return}D.GLOBAL.headers.filter(s=>s.name).forEach(s=>n.headers[s.name]=s.value),t.headers.filter(s=>s.name).forEach(s=>n.headers[s.name]=s.value);const a={};if(D.GLOBAL.parameters.filter(s=>s.name).forEach(s=>a[s.name]=s.value),t.parameters.filter(s=>s.name).forEach(s=>a[s.name]=s.value),Object.values(a).some(s=>s instanceof FileList||s instanceof File)){n.headers["Content-Type"]="multipart/form-data";const s=new FormData;Object.keys(a).forEach(o=>{let r=a[o];r instanceof FileList?Array.from(r).forEach(l=>s.append(o,l,l.name)):r instanceof File?s.append(o,r,r.name):s.append(o,r)}),n.data=s}else{n.headers["Content-Type"]="application/x-www-form-urlencoded",n.method!=="POST"||t.requestBody?n.params=a:n.data=a;try{if(t.requestBody){const s=JSON.parse(t.requestBody);(Array.isArray(s)&&s.length>0||typeof s=="object"&&Object.keys(s).length>0)&&(n.params=a,n.data=t.requestBody,n.headers["Content-Type"]="application/json",n.transformRequest=[])}}catch{e.running=!1,ge.alert("RequestBody \u53C2\u6570\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5\uFF01")}}np(e,n)}var ap={doTest:ip,getIcon:e=>e.method||"GET",runnable:!0,requirePath:!0,name:"\u63A5\u53E3",merge:e=>(e.method=e.method||D.DEFAULT_REQUEST_METHOD,e.parameters=e.parameters||[],e.headers=e.headers||[],e.paths=e.paths||[],e.options=e.options||[],e),processSave:e=>({id:e.id,name:e.name,path:e.path,groupId:e.groupId,lock:e.lock,method:e.method,description:e.description,createBy:e.createBy,createDate:e.createDate,properties:e.properties,script:e.script,responseBody:e.responseBody,responseBodyDefinition:e.responseBodyDefinition,requestBody:e.requestBody,requestBodyDefinition:e.requestBodyDefinition,parameters:e.parameters.filter(t=>t.name),headers:e.headers.filter(t=>t.name),paths:e.paths.filter(t=>t.name),options:e.options.filter(t=>t.name)})},sp={getIcon:e=>"function",name:"\u51FD\u6570",runnable:!1,requirePath:!0,merge:e=>(e.parameters=e.parameters||[],e)},op={getIcon:e=>"websocket",runnable:!1,requirePath:!0,merge:e=>e},rp={getIcon:e=>"task",runnable:!1,requirePath:!1,merge:e=>e},lp={getIcon:e=>"task",runnable:!1,requirePath:!1,merge:e=>e},up={getIcon:e=>"task",runnable:!1,requirePath:!1,merge:e=>e};let Bn;ne.setExtensionAttribute("org.ssssssss.magicapi.modules.SQLModule",()=>{var e;return Bn&&(((e=Bn("datasource")[0])==null?void 0:e.children)||[]).filter(t=>t.key).map(t=>({name:t.key,type:"org.ssssssss.magicapi.modules.SQLModule",comment:t.name}))||[]});var cp={injectResources:e=>Bn=e,doTest:e=>{K.sendJson("/datasource/jdbc/test",e).success(t=>{t==="ok"?ge.alert("\u8FDE\u63A5\u6210\u529F","\u6D4B\u8BD5\u8FDE\u63A5"):ge.alert(`\u8FDE\u63A5\u5931\u8D25\uFF0C\u9519\u8BEF\u539F\u56E0\uFF1A\r +`).length;return{html:u,multiple:c>3,lines:c-4,showMore:!1}});r&&(t.value.push(...r),xe(()=>{n.value&&(n.value.scrollTop=n.value.scrollHeight)}))};return E.$event(Re.LOGS,([o])=>s(o)),E.$event(Re.LOG,([o])=>s([o])),(o,r)=>{const l=T("magic-empty");return v(),L("div",{class:"magic-log-wrapper",onContextmenu:r[0]||(r[0]=ve(u=>a(u),["prevent"]))},[!t.value||t.value.length===0?(v(),U(l,{key:0,text:"\u6682\u65E0\u65E5\u5FD7"})):(v(),L("div",{key:1,class:"magic-log",ref:(u,c)=>{c.element=u,n.value=u}},[(v(!0),L(Z,null,ue(t.value,(u,c)=>(v(),L("div",{class:de({multiple:u.multiple,more:u.showMore}),key:"run_log_"+c},[R("pre",{innerHTML:u.html},null,8,kc),u.multiple?(v(),L("span",{key:0,class:"multiple",onClick:h=>u.showMore=!u.showMore},G(u.showMore?"\u70B9\u51FB\u9690\u85CF\u591A\u884C\u65E5\u5FD7":`\u6709 ${u.lines} \u884C\u65E5\u5FD7\u88AB\u9690\u85CF \u70B9\u51FB\u663E\u793A`),9,Dc)):ee("",!0)],2))),128))],512))],32)}}};var Mc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:$c});const Uc={class:"magic-online"},Bc={setup(e){const t=tt([]),n=ae("activateUserFiles"),i=(s,o)=>{const r=t.find(l=>l.cid===s);r&&(Object.values(n.value).forEach(l=>{const u=l.findIndex(c=>c.cid===s);u>-1&&l.splice(u,1)}),n.value[o]=n.value[o]||[],n.value[o].push(r))},a=s=>{t.some(o=>o.cid===s.cid)||t.push(s)};return E.$event(Re.LOGIN_RESPONSE,([s,o])=>{n.value={},t.splice(0,t.length),s==="1"&&(a(o),E.send(Re.GET_ONLINE))}),E.$event(Re.USER_LOGIN,([s])=>{D.CLIENT_ID!==s.cid&&(E.$emit(w.NOTIFY,{title:"\u7528\u6237\u4E0A\u7EBF",content:`\u7528\u6237${s.username}\u5DF2\u4E0A\u7EBF\uFF0CIP:${s.ip}`,duration:3e3}),E.status(`\u7528\u6237${s.username}\u5DF2\u4E0A\u7EBF\uFF0CIP:${s.ip}`)),a(s)}),E.$event(Re.USER_LOGOUT,([s])=>{D.CLIENT_ID!==s.cid&&(E.$emit(w.NOTIFY,{title:"\u7528\u6237\u4E0B\u7EBF",content:`\u7528\u6237${s.username}\u5DF2\u4E0B\u7EBF\uFF0CIP:${s.ip}`,duration:3e3}),E.status(`\u7528\u6237${s.username}\u5DF2\u4E0B\u7EBF\uFF0CIP:${s.ip}`));const o=t.findIndex(r=>r.cid===s.cid);i(s.cid,"0"),o>-1&&t.splice(o,1)}),E.$event(Re.ONLINE_USERS,([s])=>{s.forEach(o=>{D.CLIENT_ID!==o.cid&&(a(o),o.fileId&&i(o.cid,o.fileId))})}),E.$event(Re.INTO_FILE_ID,([s,o])=>i(s,o)),(s,o)=>{const r=T("magic-avatar-group");return v(),L("div",Uc,[p(r,{users:k(t),max:9},null,8,["users"]),R("span",null,"\u5F53\u524D\u5728\u7EBF\uFF1A"+G(k(t).length)+"\u4EBA",1)])}}};var Fc=H(Bc,[["__scopeId","data-v-788b49dc"]]),jc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Fc});const Gc={class:"magic-status-bar"},Vc=["innerHTML"],Hc=["title","onClick"],Yc={props:{config:Object},setup(e){const t=e,n=P(null),i=[{icon:"gitee",title:"Gitee",displayKey:"repo",onClick:()=>window.open("https://gitee.com/ssssssss-team/magic-api")},{icon:"git",title:"Github",displayKey:"repo",onClick:()=>window.open("https://github.com/ssssssss-team/magic-api")},{icon:"qq",title:"\u52A0\u5165QQ\u7FA4",displayKey:"qqGroup",onClick:()=>window.open("https://qm.qq.com/cgi-bin/qm/qr?k=Q6dLmVS8cHwoaaP18A3tteK_o0244e6B&jump_from=webapi")},{icon:"help",title:"\u5E2E\u52A9\u6587\u6863",displayKey:"document",onClick:()=>window.open("https://ssssssss.org/magic-api")}],a=_e(()=>{const o=i.filter(r=>t.config.header[r.displayKey]!==!1);return n.value&&n.value.id&&n.value.username&&o.push({icon:"logout",title:n.value.username,onClick:()=>ge.confirm("\u6CE8\u9500\u767B\u5F55",`\u662F\u5426\u8981\u6CE8\u9500\u767B\u5F55\u300C${n.value.username}\u300D`,()=>K.sendPost("/logout").success(()=>{n.value=null,D.HEADER_MAGIC_TOKEN_VALUE="unauthorization",D.LOGINED=!1,Ge.remove(D.STORE.token),E.$emit(w.LOGOUT),E.status("\u6CE8\u9500\u767B\u5F55\u6210\u529F")}))}),o}),s=P("");return E.$on(w.LOGINED,()=>{E.status("\u83B7\u53D6\u5F53\u524D\u767B\u5F55\u7528\u6237\u4FE1\u606F"),K.send("/user").success(o=>n.value=o)}),E.$on(w.STATUS,o=>s.value=o),(o,r)=>{const l=T("magic-online"),u=T("magic-icon");return v(),L("div",Gc,[R("div",{class:"message",innerHTML:s.value},null,8,Vc),p(l),R("ul",null,[(v(!0),L(Z,null,ue(k(a),(c,h)=>(v(),L("li",{title:c.title,key:h,onClick:ve(c.onClick,["stop"])},[p(u,{icon:c.icon},null,8,["icon"])],8,Hc))),128))])])}}};var Kc=H(Yc,[["__scopeId","data-v-7891cbf6"]]),Wc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Kc});const qc={class:"magic-todo"},zc={key:3},Xc={class:"todo"},Jc={setup(e){const t=P(!0),n=[{icon:"refresh",title:"\u5237\u65B0",onClick(){c()}},{icon:"expand-all",title:"\u5C55\u5F00",onClick:()=>qe(i.value,m=>m.opened=!0)},{icon:"collapse-all",title:"\u6298\u53E0",onClick:()=>qe(i.value,m=>m.opened=!1)}],i=P([]),a=ae("resources"),s={},o=m=>{(m.groupId||m.line)&&E.$emit(w.OPEN_WITH_ID,m.id)},r=(m,O)=>{let b=m.find(g=>g.id===O);if(!b)for(let g=0;g{let O=[];return m.forEach(b=>{b.line>0?O.push(b):b.folder&&b.children&&(b.children=l(b.children),b.children.length&&O.push(b))}),O},u=ae("service"),c=()=>{i.value=[],t.value=!0,K.sendGet("/todo").success(m=>{const O=a();O.forEach(g=>s[g.navbar.type]=g.navbar);let b=!1;m.forEach(g=>{for(let d=0;dg.display).map(g=>({folder:!0,icon:g.navbar.icon,name:g.navbar.title,children:g.tree,root:!0}))),qe(i.value,g=>g.opened=!0)),t.value=!1})};let h=!1;return E.$on(w.LOAD_RESOURCES_FINISH,c),mt(()=>{!h&&D.LOGINED&&c(),h=!0}),(m,O)=>{const b=T("magic-panel-toolbar"),g=T("magic-loading"),d=T("magic-icon"),f=T("magic-text-icon"),A=T("magic-tree"),I=T("magic-empty");return v(),L("div",qc,[p(b,{toolbars:n}),R("div",null,[p(g,{loading:t.value},null,8,["loading"]),i.value.length>0?(v(),U(A,{key:0,data:i.value,onItemClick:o},{folder:C(({item:y})=>[p(d,{icon:y.opened?"arrow-bottom":"arrow-right",onClick:ve(x=>y.opened=!y.opened,["stop"])},null,8,["icon","onClick"]),y.root?(v(),U(d,{key:0,icon:y.icon},null,8,["icon"])):y.icon?(v(),U(f,{key:1,icon:y.icon},null,8,["icon"])):(v(),U(d,{key:2,icon:"list"})),R("label",null,G(y.name),1),y.path?(v(),L("span",zc,"("+G(y.path)+")",1)):ee("",!0)]),file:C(({item:y})=>[p(d),p(d,{icon:"todo"}),R("label",Xc,G(y.text),1)]),_:1},8,["data"])):(v(),U(I,{key:1,text:"\u6682\u65E0TODO\u4E8B\u9879"}))])])}}};var Qc=H(Jc,[["__scopeId","data-v-4bb5213c"]]),Zc=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Qc});const e_={class:"magic-toolbar"},t_={class:"magic-toolbar-header"},n_={class:"magic-toolbar-header-buttons"},i_={setup(e){const t=P(null),n=tt([{type:"api",title:"\u63A5\u53E3\u4FE1\u606F",icon:"parameter",component:ke(J("magic-api-info"))},{id:"response",type:"api",title:"\u6267\u884C\u7ED3\u679C",icon:"run",component:ke(J("magic-api-response"))},{id:"debug",type:"api",title:"\u8C03\u8BD5\u4FE1\u606F",icon:"debug-info",component:ke(J("magic-debug"))},{type:"function",title:"\u51FD\u6570\u4FE1\u606F",icon:"parameter",component:ke(J("magic-function-info"))},{type:"group-api",title:"\u63A5\u53E3\u5206\u7EC4",icon:"parameter",component:ke(J("magic-api-group"))},{type:"websocket",title:"WebSocket\u4FE1\u606F",icon:"parameter",component:ke(J("magic-todo"))},{type:"cron",title:"\u5B9A\u65F6\u4EFB\u52A1\u4FE1\u606F",icon:"parameter",component:ke(J("magic-todo"))},{type:"resource",title:"\u8D44\u6E90\u4FE1\u606F",icon:"parameter",component:ke(J("magic-todo"))},{id:"log",title:"\u8FD0\u884C\u65E5\u5FD7",icon:"log",component:ke(J("magic-log"))},{type:"api",title:"\u5168\u5C40\u53C2\u6570",icon:"settings",component:ke(J("magic-global"))},{id:"todo",title:"TODO",icon:"todo",component:ke(J("magic-todo"))},{id:"history",title:"\u5386\u53F2\u8BB0\u5F55",icon:"history",component:ke(J("magic-backup"))},{id:"event",title:"\u4E8B\u4EF6",icon:"event",component:ke(J("magic-event")),style:{float:"right"}}]),i=P({}),a=P({});et("opened",i),et("info",a);const s=o=>{n.forEach(r=>r.show=r.type===void 0||r.type===o),t.value&&t.value.select(n.findIndex(r=>r.show))};return s(""),E.$on(w.OPEN_EMPTY,()=>s("")),E.$on(w.OPEN,o=>{o.responseBlobValue=null,i.value=o,a.value=o.item,s(o.type)}),E.$on(w.OPEN_GROUP,o=>{s("group-"+o.type),a.value=o}),E.$on(w.SWITCH_TOOLBAR,o=>{const r=n.findIndex(l=>l.id===o);r>-1&&t.value.select(r)}),(o,r)=>{const l=T("magic-icon"),u=T("magic-resizer"),c=T("magic-navbar-item"),h=T("magic-navbar");return v(),L("div",e_,[p(h,{direction:"horizontal",ref:(m,O)=>{O.navbar=m,t.value=m}},{default:C(()=>[(v(!0),L(Z,null,ue(k(n),(m,O)=>(v(),U(c,lt({key:O},m),{default:C(()=>[p(u,{direction:"y",max:600,min:250},{default:C(()=>[R("div",t_,[R("label",null,G(m.title),1),R("div",n_,[p(l,{icon:"minimize",size:"14px",title:"\u6700\u5C0F\u5316",onClick:r[0]||(r[0]=b=>t.value.select(-1))})])]),(v(),U(J(m.component)))]),_:2},1024)]),_:2},1040))),128))]),_:1},512)])}}};var a_=H(i_,[["__scopeId","data-v-8958a5f2"]]),s_=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:a_});const o_={class:"magic-panel-function"},r_={props:{info:Object},setup(e){const{info:t}=e,n=P(-1),i=P(we(t.parameters));return(a,s)=>{const o=T("magic-panel-common-toolbar"),r=T("magic-input"),l=T("magic-table-column"),u=T("magic-select"),c=T("magic-table");return v(),L("div",o_,[p(o,{index:n.value,"onUpdate:index":s[0]||(s[0]=h=>n.value=h),value:i.value},null,8,["index","value"]),p(c,{data:i.value,border:"",onClickRow:s[1]||(s[1]=h=>n.value=h)},{default:C(()=>[p(l,{title:"\u53C2\u6570\u540D",width:"20%"},{default:C(({row:h})=>[p(r,{value:h.name,"onUpdate:value":m=>h.name=m,border:!1},null,8,["value","onUpdate:value"])]),_:1}),p(l,{title:"\u53C2\u6570\u7C7B\u578B",width:"20%"},{default:C(({row:h})=>[p(u,{options:a.$FUNCTION_RETURN_TYPES,value:h.dataType,"onUpdate:value":m=>h.dataType=m,"default-select":a.$DEFAULT_FUNCTION_RETURN_TYPE,border:!1},null,8,["options","value","onUpdate:value","default-select"])]),_:1}),p(l,{title:"\u63CF\u8FF0",flex:"1"},{default:C(({row:h})=>[p(r,{value:h.description,"onUpdate:value":m=>h.description=m,border:!1},null,8,["value","onUpdate:value"])]),_:1})]),_:1},8,["data"])])}}};var l_=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:r_});const u_={setup(e){const t=P(!1),n=P([]);E.$on(w.DO_DOWNLOAD,()=>t.value=!0);const i=()=>{n.value.length?K.sendJson("/download",n.value,{method:"post",headers:{"Content-Type":"application/json"},transformRequest:[],responseType:"blob"}).success(a=>{_n(a,"magic-api.zip"),E.status("\u6570\u636E\u5DF2\u5BFC\u51FA\u5B8C\u6BD5"),t.value=!1,E.report("resource-export")}):ge.alert("\u8BF7\u9009\u62E9\u4E4B\u540E\u5728\u8FDB\u884C\u5BFC\u51FA\uFF01")};return(a,s)=>{const o=T("magic-resource-choose"),r=T("magic-button"),l=T("magic-button-group"),u=T("magic-dialog");return v(),U(u,{title:"\u5BFC\u51FA",value:t.value,"onUpdate:value":s[5]||(s[5]=c=>t.value=c),shade:!1,padding:"0",width:"400px",top:"60px",overflow:"hidden"},{default:C(()=>[p(o,{ref:(c,h)=>{h.resource=c},value:n.value,"onUpdate:value":s[0]||(s[0]=c=>n.value=c)},null,8,["value"]),p(l,{align:"right",style:{margin:"5px 0","margin-right":"5px"}},{default:C(()=>[p(r,{value:"\u5C55\u5F00",onOnClick:s[1]||(s[1]=c=>a.$refs.resource.expand(!0))}),p(r,{value:"\u6536\u7F29",onOnClick:s[2]||(s[2]=c=>a.$refs.resource.expand(!1))}),p(r,{value:"\u5168\u9009",onOnClick:s[3]||(s[3]=c=>a.$refs.resource.selectAll(!0))}),p(r,{value:"\u53D6\u6D88\u5168\u9009",onOnClick:s[4]||(s[4]=c=>a.$refs.resource.selectAll(!1))}),p(r,{type:"active",value:"\u5BFC\u51FA",onOnClick:i})]),_:1})]),_:1},8,["value"])}}};var c_=H(u_,[["__scopeId","data-v-17f31570"]]),__=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:c_});const p_={class:"magic-header"},d_={class:"magic-logo"},h_=["title"],f_=["title"],m_={class:"magic-header-title"},g_=["title","onClick"],v_={class:"magic-skin-selector"},E_=["onClick"],T_={props:{title:{type:String,default:"magic-api"},themeStyle:Object},setup(e){const{themeStyle:t}=e,n=D.MAGIC_API_VERSION_TEXT,i=P(!1),a=P({}),s=P("");E.$on(w.OPEN_EMPTY,()=>{s.value="",a.value={}}),E.$on(w.OPEN,u=>{a.value=u,s.value=u.path(),vt(u,()=>{a.value===u&&(s.value=u.path())})});const o=P([{name:"\u8FD0\u884C(Ctrl + Q)",icon:"run",disabled:_e(()=>a.value.runnable!==!0||a.value.running===!0),onClick:()=>E.$emit(w.DO_TEST)},{name:"\u4FDD\u5B58(Ctrl + S)",icon:"save",onClick:()=>E.$emit(w.DO_SAVE,!0)},{name:"\u641C\u7D22(Ctrl + Shift + F)",icon:"search",onClick:()=>E.$emit(w.DO_SEARCH)},{name:"\u4E0A\u4F20",icon:"upload",onClick:()=>E.$emit(w.DO_UPLOAD)},{name:"\u5BFC\u51FA",icon:"download",onClick:()=>E.$emit(w.DO_DOWNLOAD)},{name:"\u63A8\u9001",icon:"push",onClick:()=>E.$emit(w.DO_PUSH)},{name:"\u76AE\u80A4",icon:"skin",onClick:()=>i.value=!i.value},{name:"\u91CD\u65B0\u52A0\u8F7D\u6240\u6709\u6570\u636E",icon:"refresh",onClick:()=>E.$emit(w.RELOAD_RESOURCES)}]),r=u=>{D.THEME=u,E.$emit(w.SWITCH_THEME,u),E.status(`\u5207\u6362\u76AE\u80A4\u81F3\u300C${u}\u300D`),We.setTheme(u),Object.keys(t).forEach(h=>t[h]=void 0);let c=Yt[u];Ge.set(D.STORE.theme,u),Object.keys(c).forEach(h=>t[`--${h}`]=c[h]),i.value=!1},l=Ge.get(D.STORE.theme);return l!==D.THEME&&Yt[l]&&r(l),(u,c)=>{const h=T("magic-icon");return v(),L(Z,null,[R("div",p_,[R("div",d_,[R("label",{title:e.title},G(e.title),9,h_),R("label",{title:k(n)},G(k(n)),9,f_)]),R("div",m_,G(s.value),1),R("ul",null,[(v(!0),L(Z,null,ue(o.value,(m,O)=>(v(),L("li",{key:O,title:m.name,onClick:ve(b=>m.disabled!==!0&&m.onClick(),["stop"]),class:de({disabled:m.disabled===!0})},[p(h,{icon:m.icon},null,8,["icon"])],10,g_))),128))])]),sn(R("div",v_,[R("ul",null,[(v(!0),L(Z,null,ue(Object.keys(k(Yt)),m=>(v(),L("li",{key:"theme_"+m,onClick:O=>r(m)},G(m),9,E_))),128))])],512),[[Yn,i.value]])],64)}}};var b_=H(T_,[["__scopeId","data-v-6bfe1363"]]),S_=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:b_});const Mi=e=>(nt("data-v-32537a17"),e=e(),it(),e),y_={class:"magic-push-form"},O_=Mi(()=>R("label",null,"\u8FDC\u7A0B\u5730\u5740\uFF1A",-1)),A_=Mi(()=>R("label",null,"\u79D8\u94A5\uFF1A",-1)),R_={setup(e){const t=P(!1),n=P([]),i=P("http://host:port/_magic-api-sync"),a=P("123456789");E.$on(w.DO_PUSH,()=>t.value=!0);const s=r=>{K.sendJson("/push",n.value,{method:"post",headers:{"magic-push-target":i.value,"magic-push-secret-key":a.value,"magic-push-mode":r,"Content-Type":"application/json"},transformRequest:[]}).success(()=>{const l=r==="full"?"\u5168\u91CF\u63A8\u9001":"\u589E\u91CF\u63A8\u9001";E.status(l+"\u6210\u529F"),t.value=!1,E.$emit(w.LOAD_RESOURCES),E.report("resource-push")})},o=r=>{n.value.length?r==="full"?ge.confirm("\u8FDC\u7A0B\u63A8\u9001","\u5168\u91CF\u6A21\u5F0F\u63A8\u9001\u65F6\uFF0C\u4EE5\u672C\u5730\u6570\u636E\u4E3A\u51C6\u5168\u91CF\u8986\u76D6\u66F4\u65B0,\u662F\u5426\u7EE7\u7EED\uFF1F",()=>s(r)):s(r):ge.alert("\u8BF7\u9009\u62E9\u4E4B\u540E\u5728\u8FDB\u884C\u63A8\u9001\uFF01")};return(r,l)=>{const u=T("magic-resource-choose"),c=T("magic-input"),h=T("magic-button"),m=T("magic-button-group"),O=T("magic-dialog");return v(),U(O,{title:"\u63A8\u9001",value:t.value,"onUpdate:value":l[7]||(l[7]=b=>t.value=b),shade:!1,padding:"0",width:"400px",top:"60px",overflow:"hidden"},{default:C(()=>[p(u,{ref:(b,g)=>{g.resource=b},value:n.value,"onUpdate:value":l[0]||(l[0]=b=>n.value=b)},null,8,["value"]),R("div",y_,[R("div",null,[O_,p(c,{value:i.value,"onUpdate:value":l[1]||(l[1]=b=>i.value=b)},null,8,["value"])]),R("div",null,[A_,p(c,{value:a.value,"onUpdate:value":l[2]||(l[2]=b=>a.value=b),type:"password"},null,8,["value"])])]),p(m,{align:"right",style:{margin:"5px 0","margin-right":"5px"}},{default:C(()=>[p(h,{value:"\u5168\u9009",onOnClick:l[3]||(l[3]=b=>r.$refs.resource.selectAll(!0))}),p(h,{value:"\u53D6\u6D88\u5168\u9009",onOnClick:l[4]||(l[4]=b=>r.$refs.resource.selectAll(!1))}),p(h,{type:"active",value:"\u589E\u91CF\u63A8\u9001",onOnClick:l[5]||(l[5]=b=>o("increment"))}),p(h,{value:"\u5168\u91CF\u63A8\u9001",onOnClick:l[6]||(l[6]=b=>o("full"))})]),_:1})]),_:1},8,["value"])}}};var I_=H(R_,[["__scopeId","data-v-32537a17"]]),x_=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:I_});const C_={class:"magic-search-result"},L_=["onClick"],N_=["innerHTML"],P_={class:"name"},w_=["textContent"],k_={class:"display-text"},D_={setup(e){const t=P(""),n=P(!1),i=ae("findResource"),a=P([]),s=P({}),o=_e(()=>s.value.name+(s.value.path?`(${s.value.path})`:"")),r=g=>{g.script||K.sendGet(`/resource/file/${g.id}`).success(d=>{g.script=d.script})},l=g=>{s.value=g,r(g),E.$emit(w.OPEN_WITH_ID,g.id),n.value=!1,a.value=[],t.value=""};E.$on(w.DO_SEARCH,()=>{a.value=[],t.value="",n.value=!n.value});let u=null;const c=g=>{const d=[...g.childNodes],f=[];for(;d.length;){const A=d.shift();A.nodeType===A.TEXT_NODE?f.push(A):d.unshift(...A.childNodes)}return f},h=g=>{let d=0;return g.map(f=>{let A=d,I=d+f.wholeText.length;return d=I,{text:f.wholeText,startIdx:A,endIdx:I}})},m=(g,d)=>{const f=[..."[]()?.+*^${}:"].reduce((I,y)=>(I[y]=!0,I),{});d=d.split("").map(I=>f[I]?`\\${I}`:I).join("[\\s\\n]*");const A=new RegExp(d,"gmi");return[...g.matchAll(A)]},O=(g,d,f)=>{for(let A=f.length-1;A>=0;A--){const I=f[A],y=I.index,x=y+I[0].length;for(let M=0;M=x)break;let Le=g[M];const De=Math.max(0,y-X),te=Math.min(fe,x)-X-De;De>0&&(Le=Le.splitText(De)),te{if(!d)return g;const f=document.createElement("div");f.innerHTML=g;const A=c(f),I=h(A),y=I.map(({text:M})=>M).join(""),x=m(y,d);return O(A,I,x),f.innerHTML};return vt(t,g=>{const d=g.trim();clearTimeout(u),d&&(u=setTimeout(()=>{K.send("/search",{keyword:d},{method:"POST"}).success(async f=>{const A=[],I=await ea.getPromise("magicscript");for(let y=0;y0&&(s.value=A[0],r(s.value)),a.value=A})},600))}),(g,d)=>{const f=T("magic-input"),A=T("magic-monaco-editor"),I=T("magic-dialog");return v(),U(I,{title:"\u5168\u5C40\u641C\u7D22",value:n.value,"onUpdate:value":d[1]||(d[1]=y=>n.value=y),shade:!1,padding:"0",width:"700px",top:"60px"},{default:C(()=>[p(f,{value:t.value,"onUpdate:value":d[0]||(d[0]=y=>t.value=y),placeholder:"\u8BF7\u8F93\u5165\u5173\u952E\u5B57\u8FDB\u884C\u641C\u7D22"},null,8,["value"]),a.value.length>0?(v(),L(Z,{key:0},[R("div",C_,[(v(!0),L(Z,null,ue(a.value,(y,x)=>(v(),L("div",{key:x,class:de(["magic-search-result-item",{selected:s.value===y}]),onClick:M=>l(y)},[R("div",{class:"label",innerHTML:y.text},null,8,N_),R("div",P_,G(y.name),1),R("div",{class:"line",textContent:G(y.line)},null,8,w_)],10,L_))),128))]),R("div",k_,G(k(o)),1),p(A,{readonly:"",value:s.value.script,language:"magicscript",style:{width:"100%",height:"300px"},matches:t.value},null,8,["value","matches"])],64)):ee("",!0)]),_:1},8,["value"])}}};var $_=H(D_,[["__scopeId","data-v-2baa1fdc"]]),M_=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:$_});const U_={setup(e){const t=P(!1),n=P(null),i=a=>{if(n.value){const s=new FormData;s.append("file",n.value,n.value.name),s.append("mode",a);const o=()=>{K.send("/upload",s,{method:"post",headers:{"Content-Type":"multipart/form-data"}}).success(r=>{const l=a==="full"?"\u5168\u91CF\u4E0A\u4F20":"\u589E\u91CF\u4E0A\u4F20";r?(E.status(l+"\u6210\u529F"),t.value=!1,E.$emit(w.LOAD_RESOURCES),E.report(`upload-${a}`)):(E.status(l+"\u5931\u8D25",!1),E.report(`upload-${a}-error`))})};a==="full"?ge.confirm("\u4E0A\u4F20","\u5168\u91CF\u6A21\u5F0F\u4E0A\u4F20\u65F6\uFF0C\u4EE5\u4E0A\u4F20\u7684\u6570\u636E\u4E3A\u51C6\u8FDB\u884C\u8986\u76D6\u66F4\u65B0\u64CD\u4F5C\uFF0C\u53EF\u80FD\u4F1A\u5220\u9664\u5176\u4ED6\u63A5\u53E3
\u5728\u975E\u5168\u91CF\u5BFC\u51FA\u65F6\uFF0C\u5EFA\u8BAE\u4F7F\u7528\u589E\u91CF\u66F4\u65B0\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F",o):o()}};return E.$on(w.DO_UPLOAD,()=>t.value=!0),(a,s)=>{const o=T("magic-file"),r=T("magic-button"),l=T("magic-button-group"),u=T("magic-dialog");return v(),U(u,{title:"\u4E0A\u4F20",value:t.value,"onUpdate:value":s[3]||(s[3]=c=>t.value=c)},{default:C(()=>[p(o,{value:n.value,"onUpdate:value":s[0]||(s[0]=c=>n.value=c),accept:"application/x-zip-compressed"},null,8,["value"]),p(l,{align:"right",style:{"margin-top":"5px"}},{default:C(()=>[p(r,{value:"\u589E\u91CF\u4E0A\u4F20",type:"active",onClick:s[1]||(s[1]=c=>i("increment"))}),p(r,{value:"\u5168\u91CF\u4E0A\u4F20",onClick:s[2]||(s[2]=c=>i("full"))})]),_:1})]),_:1},8,["value"])}}};var B_=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:U_});const F_={class:"magic-data-resource"},j_={class:"magic-data-resource-header"},G_=["title","onClick"],V_={key:1},H_=["onContextmenu"],Y_={props:{type:String,title:String,data:Array},setup(e){const t=e,n=J(`magic-datasource-${t.type}`),i=P(!1),a=P(""),s=P({}),o=P(""),r=P(""),l=P(!0),u=_e(()=>t.data&&t.data.length>0&&t.data[0].children&&t.data[0].children.filter(I=>I.name.indexOf(o.value)>-1||I.key.indexOf(o.value)>-1)||[]),c=ae("service")[t.type],h=[{name:`\u65B0\u5EFA${t.title}`,icon:"plus",onClick:()=>{a.value=`\u521B\u5EFA${t.title}`,r.value="\u521B\u5EFA",s.value={},i.value=!0,l.value=!1}}],m=()=>{c.doTest(s.value)},{proxy:O}=Rt(),b=(I,y)=>{I.groupId=`${t.type}:0`,K.sendJson(`/resource/file/${t.type}/save`,I).success(x=>{if(x){I.id===x?E.report("datasource-save"):E.report("datasource-add"),I.id=x,E.status(`${y}\u6210\u529F`),t.data[0].children=t.data[0].children||[];const M=t.data[0].children.find(B=>B.id===I.id);M?Object.keys(I).forEach(B=>M[B]=I[B]):t.data[0].children.push(I),i.value=!1}else E.status(`${y}\u5931\u8D25`,!1),O.$alert(`${y}\u5931\u8D25`)})},g=()=>{const I=ce({},s.value);b(I,`\u4FDD\u5B58${t.title}\u300C${d(I)}\u300D`)},d=I=>`${I.name}(${I.key})`,f=I=>{const y=t.data[0].children.findIndex(x=>x===I);y>-1&&t.data[0].children.splice(y,1)},A=(I,y)=>{const x=[{label:`\u4FEE\u6539${t.title}`,icon:"update",divided:!0,onClick:()=>{l.value=!0,a.value=`\u4FEE\u6539${t.title}`,r.value="\u4FEE\u6539",i.value=!0,E.status(`\u83B7\u53D6${t.title}\u300C${d(I)}\u300D\u8BE6\u60C5`),K.sendGet(`/resource/file/${I.id}`).success(M=>s.value=M).end(()=>{l.value=!1})}},{label:`\u5220\u9664${t.title}`,icon:"delete",onClick:()=>{O.$confirm(`\u5220\u9664${t.title}`,`\u662F\u5426\u8981\u5220\u9664${t.title}\u300C${d(I)}\u300D`,()=>{K.send("/resource/delete",{id:I.id}).success(M=>{E.status(`\u5220\u9664${t.title}\u300C${d(I)}\u300D${M?"\u6210\u529F":"\u5931\u8D25"}`,M),M?(E.report("datasource-delete"),f(I)):O.$alert(`\u5220\u9664${t.title}\u300C${d(I)}\u300D\u5931\u8D25`)})})}},{label:`\u590D\u5236${t.title}`,icon:"copy",divided:!0,onClick:()=>{K.send(`/resource/file/${I.id}`).success(M=>{M.id=void 0,M.name=M.name+"(\u590D\u5236)",M.key=M.key+"_copy",b(M,`\u590D\u5236${t.title}\u300C${d(M)}\u300D`)})}}];I.lock===D.LOCKED?x.push({label:"\u89E3\u9501",icon:"unlock",onClick:()=>K.sendPost("/resource/unlock",{id:I.id}).success(M=>{E.status(`${t.title}\u300C${d(I)}\u300D\u89E3\u9501${M?"\u6210\u529F":"\u5931\u8D25"}`,M),M&&(I.lock=D.UNLOCK,E.report("resource-unlock"))})}):x.push({label:"\u9501\u5B9A",icon:"lock",onClick:()=>K.sendPost("/resource/lock",{id:I.id}).success(M=>{E.status(`${t.title}\u300C${d(I)}\u300D\u9501\u5B9A${M?"\u6210\u529F":"\u5931\u8D25"}`,M),M&&(I.lock=D.LOCKED,E.report("resource-lock"))})}),O.$contextmenu({menus:x,event:y})};return(I,y)=>{const x=T("magic-icon"),M=T("magic-input"),B=T("magic-empty"),X=T("magic-button"),fe=T("magic-button-group"),Le=T("magic-loading"),De=T("magic-dialog");return v(),L(Z,null,[R("div",F_,[R("div",j_,[R("ul",null,[(v(),L(Z,null,ue(h,(te,Oe)=>(v(),L(Z,{key:Oe},[!te.show||te.show()?(v(),L("li",{key:0,title:te.name||"",onClick:Qe=>te.onClick&&te.onClick(),class:de({separator:te.separator})},[te.separator?ee("",!0):(v(),U(x,{key:0,icon:te.icon},null,8,["icon"]))],10,G_)):ee("",!0)],64))),64))]),p(M,{value:o.value,"onUpdate:value":y[0]||(y[0]=te=>o.value=te),placeholder:"\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22",width:"auto"},null,8,["value"]),p(x,{icon:"search",size:"14px"})]),k(u).length===0?(v(),U(B,{key:0,text:`\u6682\u65E0${e.title}\u4FE1\u606F`},null,8,["text"])):(v(),L("ul",V_,[(v(!0),L(Z,null,ue(k(u),(te,Oe)=>(v(),L("li",{key:Oe,onContextmenu:ve(Qe=>A(te,Qe),["prevent"])},[p(x,{icon:"datasource"}),R("label",null,G(te.name||"\u4E3B\u6570\u636E\u6E90"),1),R("span",null,"("+G(te.key||"default")+")",1),te.lock==="1"?(v(),U(x,{key:0,icon:"lock"})):ee("",!0)],40,H_))),128))]))]),p(De,{value:i.value,"onUpdate:value":y[4]||(y[4]=te=>i.value=te),title:a.value,width:"450px"},{default:C(()=>[p(Le,{loading:l.value,style:{"min-height":"200px"}},{default:C(()=>[(v(),U(J(k(n)),{info:s.value},null,8,["info"])),p(fe,{align:"right",style:{padding:"5px 0"}},{default:C(()=>[p(X,{value:r.value,type:"active",onOnClick:y[1]||(y[1]=te=>g())},null,8,["value"]),p(X,{value:"\u6D4B\u8BD5\u8FDE\u63A5",onOnClick:y[2]||(y[2]=te=>m())}),p(X,{value:"\u53D6\u6D88",onOnClick:y[3]||(y[3]=te=>i.value=!1)})]),_:1})]),_:1},8,["loading"])]),_:1},8,["value","title"])],64)}}};var K_=H(Y_,[["__scopeId","data-v-79d71f37"]]),W_=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:K_});const en=e=>(nt("data-v-39f3ed68"),e=e(),it(),e),q_={class:"magic-login"},z_=en(()=>R("label",null,"\u7528\u6237\u540D\uFF1A",-1)),X_=en(()=>R("div",{style:{height:"2px"}},null,-1)),J_=en(()=>R("label",null,"\u5BC6\u7801\uFF1A",-1)),Q_=en(()=>R("div",{style:{height:"2px"}},null,-1)),Z_={props:{value:Boolean},emits:["update:value"],setup(e,{emit:t}){const n=P(""),i=P(""),a=()=>{n.value&&i.value&&K.sendPost("/login",{username:n.value,password:i.value}).success((s,o)=>{s&&(t("update:value",!1),D.HEADER_MAGIC_TOKEN_VALUE=o.headers[D.HEADER_MAGIC_TOKEN],Ge.set(D.STORE.token,D.HEADER_MAGIC_TOKEN_VALUE),E.$emit(w.LOGINED))})};return(s,o)=>{const r=T("magic-input"),l=T("magic-button"),u=T("magic-button-group"),c=T("magic-dialog");return v(),U(c,{title:"\u767B\u5F55",showClose:!1,value:e.value,"onUpdate:value":o[2]||(o[2]=h=>on(value)?value.value=h:null)},{default:C(()=>[R("div",q_,[z_,p(r,{onEnter:a,value:n.value,"onUpdate:value":o[0]||(o[0]=h=>n.value=h)},null,8,["value"]),X_,J_,p(r,{onEnter:a,value:i.value,"onUpdate:value":o[1]||(o[1]=h=>i.value=h),type:"password"},null,8,["value"]),Q_]),p(u,{align:"center"},{default:C(()=>[p(l,{value:"\u767B\u5F55",onOnClick:a})]),_:1})]),_:1},8,["value"])}}};var ep=H(Z_,[["__scopeId","data-v-39f3ed68"]]),tp=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:ep});function np(e,t){E.$emit(w.SWITCH_TOOLBAR,"log"),t.headers[D.HEADER_REQUEST_CLIENT_ID]=D.CLIENT_ID,t.headers[D.HEADER_REQUEST_SCRIPT_ID]=e.item.id,t.headers[D.HEADER_MAGIC_TOKEN]=D.HEADER_MAGIC_TOKEN_VALUE,t.headers[D.HEADER_REQUEST_BREAKPOINTS]=(e.decorations||[]).filter(s=>s.options.linesDecorationsClassName==="breakpoints").map(s=>s.range.startLineNumber).join(","),t.responseType="blob",t.validateStatus=()=>!0;let n=0;t.transformResponse=[function(s,o){return n=s.size,o["content-disposition"]?new Promise(r=>r(s)):new Promise(r=>{const l=new FileReader;l.readAsText(s),l.onload=function(){try{r(JSON.parse(this.result))}catch{r(s)}}})}];const i=e.path();E.status(`\u5F00\u59CB\u6D4B\u8BD5\u300C${i}\u300D`);const a=new Date().getTime();K.execute(t).then(s=>s.data.then(o=>{E.status(`\u300C${i}\u300D\u6D4B\u8BD5\u5B8C\u6BD5\uFF0C\u72B6\u6001\uFF1A${s.status} \u5927\u5C0F\uFF1A${La(n)} \u8017\u65F6\uFF1A${new Date().getTime()-a} ms`),e.running=!1,(e.responseBlob=o instanceof Blob)?(e.responseBlobValue=o,e.item.responseBody=null,e.item.responseBodyDefinition=null):(e.item.responseBody=JSON.stringify(o),e.item.responseBodyDefinition=yi(e.item.responseBody,e.item.responseBodyDefinition)),e.responseHeaders=s.headers,xe(()=>E.$emit(w.SWITCH_TOOLBAR,"response"))})).catch(s=>{E.status(`\u8BF7\u6C42\u51FA\u9519\uFF1A\u300C${i}\u300D`,!1),e.running=!1,K.processError(s)}),E.report("api-run")}function ip(e){e.running=!0;const t=e.item,n={baseURL:D.SERVER_URL,url:e.requestPath(),method:t.method,headers:{},responseType:"json",withCredentials:!0},i=s=>s.filter(o=>o.value&&o.value.trim()).forEach(o=>n.url=n.url.replace(new RegExp(`{${o.name}}`,"g"),o.value.trim()));if(e.getGroups().filter(s=>s.paths&&s.paths.length>0).map(s=>s.paths).forEach(s=>i(s)),i(t.paths||[]),n.url.indexOf("{")>-1){ge.alert("\u8BF7\u586B\u5199\u8DEF\u5F84\u53D8\u91CF\u540E\u5728\u6D4B\u8BD5\uFF01"),e.running=!1;return}D.GLOBAL.headers.filter(s=>s.name).forEach(s=>n.headers[s.name]=s.value),t.headers.filter(s=>s.name).forEach(s=>n.headers[s.name]=s.value);const a={};if(D.GLOBAL.parameters.filter(s=>s.name).forEach(s=>a[s.name]=s.value),t.parameters.filter(s=>s.name).forEach(s=>a[s.name]=s.value),Object.values(a).some(s=>s instanceof FileList||s instanceof File)){n.headers["Content-Type"]="multipart/form-data";const s=new FormData;Object.keys(a).forEach(o=>{let r=a[o];r instanceof FileList?Array.from(r).forEach(l=>s.append(o,l,l.name)):r instanceof File?s.append(o,r,r.name):s.append(o,r)}),n.data=s}else{n.headers["Content-Type"]="application/x-www-form-urlencoded",n.method!=="POST"||t.requestBody?n.params=a:n.data=a;try{if(t.requestBody){const s=JSON.parse(t.requestBody);(Array.isArray(s)&&s.length>0||typeof s=="object"&&Object.keys(s).length>0)&&(n.params=a,n.data=t.requestBody,n.headers["Content-Type"]="application/json",n.transformRequest=[])}}catch{e.running=!1,ge.alert("RequestBody \u53C2\u6570\u6709\u8BEF\uFF0C\u8BF7\u68C0\u67E5\uFF01")}}np(e,n)}var ap={doTest:ip,getIcon:e=>e.method||"GET",runnable:!0,requirePath:!0,name:"\u63A5\u53E3",merge:e=>(e.method=e.method||D.DEFAULT_REQUEST_METHOD,e.parameters=e.parameters||[],e.headers=e.headers||[],e.paths=e.paths||[],e.options=e.options||[],e),processSave:e=>({id:e.id,name:e.name,path:e.path,groupId:e.groupId,lock:e.lock,method:e.method,description:e.description,createBy:e.createBy,createDate:e.createDate,properties:e.properties,script:e.script,responseBody:e.responseBody,responseBodyDefinition:e.responseBodyDefinition,requestBody:e.requestBody,requestBodyDefinition:e.requestBodyDefinition,parameters:e.parameters.filter(t=>t.name),headers:e.headers.filter(t=>t.name),paths:e.paths.filter(t=>t.name),options:e.options.filter(t=>t.name)})},sp={getIcon:e=>"function",name:"\u51FD\u6570",runnable:!1,requirePath:!0,merge:e=>(e.parameters=e.parameters||[],e)},op={getIcon:e=>"websocket",runnable:!1,requirePath:!0,merge:e=>e},rp={getIcon:e=>"task",runnable:!1,requirePath:!1,merge:e=>e},lp={getIcon:e=>"task",runnable:!1,requirePath:!1,merge:e=>e},up={getIcon:e=>"task",runnable:!1,requirePath:!1,merge:e=>e};let Bn;ne.setExtensionAttribute("org.ssssssss.magicapi.modules.SQLModule",()=>{var e;return Bn&&(((e=Bn("datasource")[0])==null?void 0:e.children)||[]).filter(t=>t.key).map(t=>({name:t.key,type:"org.ssssssss.magicapi.modules.SQLModule",comment:t.name}))||[]});var cp={injectResources:e=>Bn=e,doTest:e=>{K.sendJson("/datasource/jdbc/test",e).success(t=>{t==="ok"?ge.alert("\u8FDE\u63A5\u6210\u529F","\u6D4B\u8BD5\u8FDE\u63A5"):ge.alert(`\u8FDE\u63A5\u5931\u8D25\uFF0C\u9519\u8BEF\u539F\u56E0\uFF1A\r `+t,"\u6D4B\u8BD5\u8FDE\u63A5")})}};const _p={class:"magic-main"},pp={class:"magic-main-body-wrapper"},dp={class:"magic-main-body"},hp={emits:["onLoad"],setup(e,{expose:t,emit:n}){const i=P(!1),a=P({}),s=P(!0),o=P(null),r=(f,A,I)=>{for(let y=0,x=f.length;y{const A=Object.entries(a.value);for(let I=0,y=A.length;I0)return{item:x[0],type:M[0],name:ct("/"+x.reverse().map(B=>B.name).join("/")),path:ct("/"+x.reverse().map(B=>B.path||"").join("/"))}}});const l=[{type:"api",title:"\u63A5\u53E3",icon:"api"},{type:"function",title:"\u51FD\u6570",icon:"function"},{type:"websocket",title:"WebSocket",icon:"websocket"},{type:"cron",title:"\u5B9A\u65F6\u4EFB\u52A1",icon:"task"},{type:"resource",title:"\u8D44\u6E90\u6587\u4EF6",icon:"resource"}],u={api:ap,function:sp,websocket:op,task:lp,cron:up,resource:rp,datasource:cp};et("service",u),l.map(f=>f.type).forEach(f=>a.value[f]=[]);const c=[{type:"datasource",title:"Datasource",icon:"datasource",name:"\u6570\u636E\u6E90"},{type:"redis",title:"Redis",icon:"redis",name:"Redis\u6570\u636E\u6E90"},{type:"mongo",title:"Mongo",icon:"mongo",name:"Mongo\u6570\u636E\u6E90"},{type:"elasticsearch",title:"ElasticSearch",icon:"elasticsearch",name:"ElasticSearch\u6570\u636E\u6E90"}];c.map(f=>f.type).forEach(f=>a.value[f]=[]),et("resources",()=>{const f=[...l,...c],A=I=>I.length===1&&I[0].id.endsWith(":0")?I[0].children:I;return f.map(I=>({key:I.type,navbar:I,tree:A(JSON.parse(JSON.stringify(a.value[I.type]||[])))}))}),Object.values(u).forEach(f=>f.injectResources&&f.injectResources(A=>a.value[A])),xe(()=>i.value=!0);const h=f=>He(ce({},f.node),{folder:f.node.parentId!==void 0,opened:f.node.parentId!==void 0,children:f.children&&f.children.length?f.children.map(A=>h(A)):void 0}),m=(f,A)=>{var y;s.value=!0,a.value={};const I=f?((y=l.find(x=>x.type===f)||c.find(x=>x.type===f))==null?void 0:y.title)||"":"\u5168\u90E8";E.status(`\u83B7\u53D6${I}\u8D44\u6E90`),K.send("/resource").success(x=>{Object.keys(x).forEach(M=>a.value[M]=x[M].children.map(B=>h(B))),s.value=!1,E.status(`\u83B7\u53D6${I}\u8D44\u6E90\u5B8C\u6BD5`),xe(()=>A())})};E.$on(w.RELOAD_RESOURCES,()=>{s.value=!0,K.sendGet("/reload").success(()=>{E.status("\u91CD\u65B0\u52A0\u8F7D\u8D44\u6E90\u6210\u529F"),m(null,()=>E.$emit(w.RELOAD_RESOURCES_FINISH))}).end(()=>s.value=!1)});const O=f=>m(f,()=>E.$emit(w.LOAD_RESOURCES_FINISH,f));E.$on(w.LOAD_RESOURCES,O),E.$on(w.RELOAD_RESOURCES_FINISH,O);const b=f=>{let A;return Object.values(a.value).some(I=>{const y=[];if(r(I,f,y)){A=y[0];const x=l.findIndex(M=>M.type===y[y.length-1].type);return o.value&&o.value.select(x),!0}return!1}),A};E.$on(w.SELECT_NAVBAR_BY_ITEM,b),E.$on(w.OPEN_WITH_ID,f=>{const A=b(f);A&&E.$emit(w.OPEN_ITEM,A)}),E.$on(w.LOGOUT,()=>a.value={}),t({loadResources:O}),mt(()=>n("onLoad"));let g=0;const d=()=>{if(++g%l.length==0)try{JSON.parse(Ge.get(D.RECENT_OPENED_TAB)||"[]").forEach(f=>{E.$emit(w.OPEN_WITH_ID,f)})}catch(f){console.error(f)}};return(f,A)=>{const I=T("magic-resource"),y=T("magic-loading"),x=T("magic-resizer"),M=T("magic-navbar-item"),B=T("magic-navbar"),X=T("magic-script-editor"),fe=T("magic-toolbar"),Le=T("magic-data-resource"),De=T("magic-search"),te=T("magic-export"),Oe=T("magic-upload"),Qe=T("magic-push"),Ie=T("magic-recent-opened");return v(),L("div",_p,[i.value?(v(),U(B,{key:0,direction:"vertical",to:f.$refs.mrl,ref:(pe,Be)=>{Be.mnl=pe,o.value=pe},spliter:!0},{default:C(()=>[(v(),L(Z,null,ue(l,(pe,Be)=>p(M,lt({key:Be},pe),{default:C(()=>[p(x,{max:600,min:350,direction:"x"},{default:C(()=>[p(y,{loading:s.value},{default:C(()=>[p(I,lt(pe,{data:a.value[pe.type],onClose:A[0]||(A[0]=Fn=>f.$refs.mnl.select(-1)),onOnLoad:d}),null,16,["data"])]),_:2},1032,["loading"])]),_:2},1024)]),_:2},1040)),64))]),_:1},8,["to"])):ee("",!0),R("div",pp,[R("div",dp,[R("div",{ref:(pe,Be)=>{Be.mrl=pe},class:"magic-navbar magic-navbar__vertical"},null,512),p(X),R("div",{ref:(pe,Be)=>{Be.mrr=pe},class:"magic-navbar magic-navbar__vertical reverse"},null,512)]),p(fe)]),p(B,{reverse:!0,"default-select":-1,direction:"vertical",to:f.$refs.mrr,spliter:!0},{default:C(()=>[(v(),L(Z,null,ue(c,(pe,Be)=>p(M,{key:Be,title:pe.title,icon:pe.icon},{default:C(()=>[i.value?(v(),U(x,{key:0,max:320,min:220,direction:"x",reverse:!0},{default:C(()=>[p(y,{loading:s.value},{default:C(()=>[p(Le,{type:pe.type,title:pe.name,data:a.value[pe.type],component:pe.component},null,8,["type","title","data","component"])]),_:2},1032,["loading"])]),_:2},1024)):ee("",!0)]),_:2},1032,["title","icon"])),64))]),_:1},8,["to"]),p(De),p(te),p(Oe),p(Qe),p(Ie)])}}};var fp=H(hp,[["__scopeId","data-v-72678ed5"]]),mp=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:fp});const gp={class:"magic-recent-opened"},vp=["onClick"],Ep={key:1},Tp={key:0,style:{width:"100%",height:"100px"}},bp={setup(e){const t=tt([]),n=P(!1),i=ae("findResource"),a=ae("service");try{JSON.parse(Ge.get(D.RECENT_OPENED)||"[]").forEach(r=>t.push(r))}catch{}const s=_e(()=>t.map(r=>i(r)).filter(r=>r&&a[r.type])),o=r=>{E.$emit(w.OPEN_WITH_ID,r),n.value=!1};return E.$on(w.DO_RECENT,()=>n.value=!n.value),E.$on(w.CLOSE,r=>{if(r.id){const l=t.findIndex(u=>u===r.id);l>-1&&t.splice(l,1),t.unshift(r.id),t.length>20&&t.splice(t.length-1,1),Ge.set(D.RECENT_OPENED,we(t))}}),(r,l)=>{const u=T("magic-text-icon"),c=T("magic-empty"),h=T("magic-dialog");return v(),U(h,{value:n.value,"onUpdate:value":l[0]||(l[0]=m=>n.value=m),title:"\u6700\u8FD1\u6253\u5F00",padding:"0",shade:!1},{default:C(()=>[R("ul",gp,[(v(!0),L(Z,null,ue(k(s),(m,O)=>(v(),L("li",{key:O,onClick:ve(b=>o(m.item.id),["stop"])},[k(a)[m.type]&&k(a)[m.type].getIcon?(v(),U(u,{key:0,icon:k(a)[m.type].getIcon(m.item)},null,8,["icon"])):ee("",!0),R("label",null,G(m.name),1),k(a)[m.type].requirePath&&m.path?(v(),L("span",Ep,"("+G(m.path)+")",1)):ee("",!0)],8,vp))),128))]),k(s).length===0?(v(),L("div",Tp,[p(c,{text:"empty."})])):ee("",!0)]),_:1},8,["value"])}}};var Sp=H(bp,[["__scopeId","data-v-5cd0c142"]]),yp=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Sp});const Ui=e=>(nt("data-v-5bd90c18"),e=e(),it(),e),Op={class:"magic-resource-header"},Ap=["title","onClick"],Rp={key:0},Ip={key:0},xp={class:"magic-create-group"},Cp=Ui(()=>R("label",null,"\u5206\u7EC4\u540D\u79F0\uFF1A",-1)),Lp={key:0},Np=Ui(()=>R("label",null,"\u5206\u7EC4\u8DEF\u5F84\uFF1A",-1)),Pp={props:{type:String,title:String,data:Array},emits:["close","onLoad"],setup(e,{emit:t}){const n=e,i=ae("service")[n.type],a=i.requirePath,s=i.getIcon,o=P(""),r=P(!0),l=P(!1),u=P(""),c=P(null),h=ae("activateUserFiles"),m=_e(()=>r.value?"\u521B\u5EFA":"\u4FEE\u6539"),O=P(!0),b=P({}),g=P({}),d=P(!1),f=P({type:n.type}),A=_e(()=>n.data),I=P([{name:"\u65B0\u5EFA\u5206\u7EC4",icon:"group-add",onClick:()=>{f.value={type:n.type,parentId:"0"},r.value=!0,d.value=!0}},{name:"\u5168\u90E8\u5C55\u5F00",icon:"expand-all",onClick:()=>qe(A.value,N=>N.opened=!0)},{name:"\u5168\u90E8\u6298\u53E0",icon:"collapse-all",onClick:()=>qe(A.value,N=>N.opened=!1)},{name:"\u6309\u5B57\u6BCD\u964D\u5E8F",icon:"descending",show:()=>O.value,onClick:()=>O.value=!1},{name:"\u6309\u5B57\u6BCD\u5347\u5E8F",icon:"ascending",show:()=>!O.value,onClick:()=>O.value=!0},{separator:!0},{name:"\u5B9A\u4F4D\u5F53\u524D\u6587\u4EF6",icon:"position",onClick:()=>{g.value&&b.value&&(E.$emit(w.SELECT_NAVBAR_BY_ITEM,b.value),g.value.scrollIntoView(b.value))}},{name:"\u9690\u85CF",icon:"minimize",onClick:()=>t("close")}]),y=(N,F,V,j,me)=>{me=me||[];let Ve=F.find(Ze=>Ze===N||Ze.id===N);if(Ve)return V.push(Ve.name),me.push(Ve),i.requirePath&&Ve.path&&j.push(Ve.path),Ve;for(let Ze=0,tn=F.length;Ze{const V=[],j=[];y(we(N),we(A.value),V,j);const me=j.length>0?ct(`/${j.join("/")}`):"";return F?me:`/${V.join("/")}${i.requirePath?`(${me})`:""}`},M=N=>x(N),B=[],X=N=>{if(N)if(N.folder)E.$emit(w.OPEN_GROUP,N);else{let F=B.find(V=>V.item==N);F||(F=tt({type:n.type,title:n.title,item:i.merge(N),path:()=>x(N),requestPath:()=>{const V=[];return y(we(N),we(A.value),[],V),ct(`/${V.join("/")}`)},getGroups:()=>{const V=[];return y(we(N),we(A.value),[],[],V),V},getIcon:i.getIcon,runnable:i.runnable,doTest:i.doTest,processSave:i.processSave||(V=>V)}),B.push(F)),E.$emit(w.OPEN,F)}};E.$on(w.OPEN,N=>b.value=N.item),E.$on(w.OPEN_EMPTY,()=>b.value=null);const{proxy:fe}=Rt(),Le=()=>{r.value;const N=ce({},f.value);delete N.children,delete N.opened,delete N.folder,K.sendJson("/resource/folder/save",N).success(F=>{const V=`\u4FDD\u5B58${n.title}\u5206\u7EC4\u300C${x(N)}\u300D`;F?(E.status(`${V}\u6210\u529F`),Oe(He(ce({},we(f.value)),{folder:!0,id:F})),d.value=!1,E.report("group-save")):(E.status("${msg}\u5931\u8D25",!1),fe.$alert("${msg}\u5931\u8D25",`\u4FDD\u5B58${n.title}\u5206\u7EC4`))})},De=(N,F)=>new Promise(V=>K.send("/resource/move",{src:N.id,groupId:F.groupId||F.id}).success(j=>{const me=`\u79FB\u52A8${N.folder?`${n.title}\u5206\u7EC4`:""}\u300C${x(N)}\u300D`;j?(N[N.folder?"parentId":"groupId"]=F.groupId||F.id,E.status(`${me}\u6210\u529F`)):(fe.$alert(`${me}\u5931\u8D25`),E.status(`${me}\u5931\u8D25`,!1)),V(j)})),te=(N,F)=>{F=F||A.value;const V=F.findIndex(j=>j===N||j.id===N.id);V>-1?F.splice(V,1):F.forEach(j=>te(N,j.children||[]))},Oe=(N,F)=>{F=F||A.value||[];const V=F.find(j=>j.id===N.id||N.groupId===j.id);if(V)return V.children=V.children||[],V.opened=!0,V.id===N.id?(V.name=N.name,V.path=N.path,V.parentId=N.parentId):V.children.push(N),!0;if(N.parentId==="0")return F.push(N),!0;{if(F.some(me=>Oe(N,me.children||[])))return!0;const j=N.parentId!==void 0&&F.find(me=>me.id===N.parentId);if(j)return j.children.push(N),!0}return!1};E.$on(w.OPEN_ITEM,N=>{const F=we(A.value);F&&X(y(we(N),F,[],[]))});const Qe=(N,F)=>{if(N&&F){const V=[];N.folder?(V.push.apply(V,[{label:`\u65B0\u5EFA${n.title}`,icon:"plus",onClick(){const j={groupId:N.id,name:"\u672A\u5B9A\u4E49\u540D\u79F0",script:"hello",path:i.requirePath?"":void 0};Oe(j),X(j)}},{label:"\u65B0\u5EFA\u5206\u7EC4",icon:"group-add",onClick(){r.value=!0,f.value={parentId:N.id,type:n.type},d.value=!0}},{label:"\u4FEE\u6539\u5206\u7EC4",icon:"update",onClick(){r.value=!1,f.value=ce({},N),d.value=!0}},{label:"\u590D\u5236\u5206\u7EC4",icon:"copy",onClick(){u.value=N.id,l.value=!0}},{label:"\u5220\u9664\u5206\u7EC4",icon:"delete",onClick(){fe.$confirm("\u5220\u9664\u5206\u7EC4",`\u662F\u5426\u8981\u5220\u9664\u5206\u7EC4\u300C${x(N)}\u300D`,()=>{N.id?K.send("/resource/delete",{id:N.id}).success(j=>{j?(E.status(`\u5220\u9664${n.title}\u5206\u7EC4\u300C${x(N)}\u300D\u6210\u529F`),te(N)):(fe.$alert(`\u5220\u9664${n.title}\u5206\u7EC4\u300C${x(N)}\u300D\u5931\u8D25`),E.status(`\u5220\u9664${n.title}\u5206\u7EC4\u300C${x(N)}\u300D\u5931\u8D25`,!1),E.report("group-delete"))}):te(N)})}},{label:"\u5BFC\u51FA",icon:"download",onClick(){K.send(`/download?groupId=${N.id}`,null,{headers:{"Content-Type":"application/json"},responseType:"blob"}).success(j=>{_n(j,`${N.name}.zip`),E.$emit("status",`\u5206\u7EC4\u300C${N.name}\u300D\u76F8\u5173${n.title}\u5DF2\u5BFC\u51FA`),E.report("group-export")})}}]),N.parentId!=="0"&&V.push({label:"\u79FB\u52A8\u5230\u6839\u8282\u70B9",icon:"move",onClick(){fe.$confirm("\u79FB\u52A8\u5206\u7EC4",`\u662F\u5426\u8981\u5C06\u5206\u7EC4\u300C${x(N)}\u300D\u79FB\u52A8\u81F3\u6839\u8282\u70B9`,()=>{K.send("/resource/move",{src:N.id,groupId:"0"}).success(j=>{j?(E.status(`\u79FB\u52A8${n.title}\u5206\u7EC4\u300C${x(N)}\u300D\u81F3\u6839\u8282\u70B9\u6210\u529F`),N.parentId="0",te(N),Oe(N),E.report("group-move")):(fe.$alert(`\u79FB\u52A8${n.title}\u5206\u7EC4\u300C${x(N)}\u300D\u81F3\u6839\u8282\u70B9\u5931\u8D25`),E.status(`\u79FB\u52A8${n.title}\u5206\u7EC4\u300C${x(N)}\u300D\u81F3\u6839\u8282\u70B9\u5931\u8D25`,!1))})})}})):(V.push.apply(V,[{label:`\u590D\u5236${n.title}`,icon:"copy",divided:!0,onClick:()=>{K.send(`/resource/file/${N.id}`).success(j=>{j.id=`copy${parseInt(Math.random()*1e10)}`,j.name=j.name+"(\u590D\u5236)",i.requirePath&&(j.path=j.path+"_copy"),Oe(j),X(j)})}}]),i.requirePath&&(n.type==="api"&&V.push({label:"\u590D\u5236\u8DEF\u5F84",icon:"copy",onClick:()=>{let j=x(N,!0);j&&(j=ct(D.SERVER_URL+"/"+j),si(j)?E.status(`${n.title}\u8DEF\u5F84\u300C${j}\u300D\u590D\u5236\u6210\u529F`):E.status(`${n.title}\u8DEF\u5F84\u300C${j}\u300D\u590D\u5236\u5931\u8D25\uFF0C\u8BF7\u624B\u52A8\u590D\u5236`))}}),V.push.apply(V,[{label:"\u590D\u5236\u76F8\u5BF9\u8DEF\u5F84",icon:"copy",divided:!0,onClick:()=>{const j=x(N,!0);j&&(si(j)?E.status(`${n.title}\u76F8\u5BF9\u8DEF\u5F84\u300C${j}\u300D\u590D\u5236\u6210\u529F`):E.status(`${n.title}\u76F8\u5BF9\u8DEF\u5F84\u300C${j}\u300D\u590D\u5236\u5931\u8D25\uFF0C\u8BF7\u624B\u52A8\u590D\u5236`))}}]),N.lock===D.LOCKED?V.push({label:"\u89E3\u9501",icon:"unlock",onClick:()=>K.sendPost("/resource/unlock",{id:N.id}).success(j=>{E.status(`${n.title}\u300C${x(N)}\u300D\u89E3\u9501${j?"\u6210\u529F":"\u5931\u8D25"}`,j),j&&(N.lock=D.UNLOCK,E.report("resource-unlock"))})}):V.push({label:"\u9501\u5B9A",icon:"lock",onClick:()=>K.sendPost("/resource/lock",{id:N.id}).success(j=>{E.status(`${n.title}\u300C${x(N)}\u300D\u9501\u5B9A${j?"\u6210\u529F":"\u5931\u8D25"}`,j),j&&(N.lock=D.LOCKED,E.report("resource-lock"))})})),V.push.apply(V,[{label:"\u5237\u65B0",icon:"refresh"},{label:"\u5220\u9664",icon:"delete",onClick:()=>{const j=`\u5220\u9664${n.title}\u300C${x(N)}\u300D`;fe.$confirm(`\u5220\u9664${n.title}`,`\u662F\u5426\u8981\u5220\u9664${n.title}\u300C${x(N)}\u300D`,()=>{N.id&&!N.id.startsWith("copy")?K.send("/resource/delete",{id:N.id}).success(me=>{me?(E.status(`${j}\u6210\u529F`),te(N),E.$emit(w.DELETE_FILE,N),E.report("resource-delete")):(E.status(`${j}\u5931\u8D25`,!1),fe.$alert(`${j}\u5931\u8D25`))}):(E.status(`${j}\u6210\u529F`),te(N),E.$emit(w.DELETE_FILE,N))})}}])),fe.$contextmenu({menus:V,event:F})}},Ie=N=>{fe.$contextmenu({event:N,menus:I.value.slice(0,5).filter(F=>!F.show||F.show()).map(F=>({icon:F.icon,label:F.name,onClick:F.onClick}))})};let pe=null;const Be=()=>{c.value&&K.sendPost("/resource/folder/copy",{src:u.value,target:c.value.id.endsWith("-root")?"0":c.value.id}).success(N=>{pe=N,l.value=!1,E.$emit(w.LOAD_RESOURCES)})},Fn=ae("findResource");return E.$on(w.LOAD_RESOURCES_FINISH,()=>{pe&&xe(()=>{const N=Fn(pe);E.$emit(w.SELECT_NAVBAR_BY_ITEM,N.item),E.$emit(w.OPEN_GROUP,N.item)})}),mt(()=>t("onLoad")),(N,F)=>{const V=T("magic-icon"),j=T("magic-input"),me=T("magic-empty"),Ve=T("magic-text-icon"),Ze=T("magic-avatar-group"),tn=T("magic-tree"),Pe=T("magic-button"),jn=T("magic-button-group"),Gn=T("magic-dialog"),Bi=T("magic-resource-choose");return v(),L("div",{class:"magic-resource",onContextmenu:F[10]||(F[10]=ve(W=>Ie(W),["prevent"]))},[R("div",Op,[p(V,{icon:"search",size:"14px"}),p(j,{value:o.value,"onUpdate:value":F[0]||(F[0]=W=>o.value=W),placeholder:"\u8F93\u5165\u5173\u952E\u5B57\u641C\u7D22",width:"auto"},null,8,["value"]),R("ul",null,[(v(!0),L(Z,null,ue(I.value,(W,ht)=>(v(),L(Z,{key:ht},[!W.show||W.show()?(v(),L("li",{key:0,title:W.name||"",onClick:Vp=>W.onClick&&W.onClick(),class:de({separator:W.separator})},[W.separator?ee("",!0):(v(),U(V,{key:0,icon:W.icon},null,8,["icon"]))],10,Ap)):ee("",!0)],64))),128))])]),!e.data||e.data.length===0?(v(),U(me,{key:0,text:`\u6682\u65E0${e.title}\u4FE1\u606F`},null,8,["text"])):(v(),U(tn,{key:1,ref:(W,ht)=>{ht.treeObj=W,g.value=W},data:k(A),onItemClick:X,onContextmenu:Qe,draggable:!0,sort:!0,descending:O.value,onMove:De,filter:o.value,"filter-text":M,selected:b.value},{folder:C(({item:W})=>[p(V,{icon:W.opened?"arrow-bottom":"arrow-right",onClick:ve(ht=>W.opened=!W.opened,["stop"])},null,8,["icon","onClick"]),p(V,{icon:"list"}),R("label",null,G(W.name),1),k(a)&&W.path?(v(),L("span",Rp,"("+G(W.path)+")",1)):ee("",!0)]),file:C(({item:W})=>[p(Ve,{icon:k(s)(W)},null,8,["icon"]),R("label",null,G(W.name),1),k(a)&&W.path?(v(),L("span",Ip,"("+G(W.path)+")",1)):ee("",!0),W.lock==="1"?(v(),U(V,{key:1,icon:"lock"})):ee("",!0),p(Ze,{users:k(h)[W.id]||[],max:3,size:20},null,8,["users"])]),_:1},8,["data","descending","filter","selected"])),p(Gn,{title:`${k(m)}${e.title}\u5206\u7EC4`,value:d.value,"onUpdate:value":F[5]||(F[5]=W=>d.value=W)},{default:C(()=>[R("ul",xp,[R("li",null,[Cp,p(j,{value:f.value.name,"onUpdate:value":F[1]||(F[1]=W=>f.value.name=W),placeholder:`\u8BF7\u8F93\u5165${e.title}\u5206\u7EC4\u540D\u79F0`},null,8,["value","placeholder"])]),k(a)?(v(),L("li",Lp,[Np,p(j,{value:f.value.path,"onUpdate:value":F[2]||(F[2]=W=>f.value.path=W),placeholder:`\u8BF7\u8F93\u5165${e.title}\u5206\u7EC4\u8DEF\u5F84`},null,8,["value","placeholder"])])):ee("",!0)]),p(jn,{align:"right",style:{padding:"5px 0"}},{default:C(()=>[p(Pe,{value:k(m),type:"active",onOnClick:F[3]||(F[3]=W=>Le())},null,8,["value"]),p(Pe,{value:"\u53D6\u6D88",onOnClick:F[4]||(F[4]=W=>d.value=!1)})]),_:1})]),_:1},8,["title","value"]),p(Gn,{value:l.value,"onUpdate:value":F[9]||(F[9]=W=>l.value=W),title:"\u590D\u5236\u5206\u7EC4",shade:!1,padding:"0",width:"400px",overflow:"hidden"},{default:C(()=>[p(Bi,{ref:(W,ht)=>{ht.chooseGroup=W},value:c.value,"onUpdate:value":F[6]||(F[6]=W=>c.value=W),file:!1,type:e.type,single:!0},null,8,["value","type"]),p(jn,{align:"right",style:{"margin-right":"5px","margin-bottom":"5px"}},{default:C(()=>[p(Pe,{value:"\u5C55\u5F00",onOnClick:F[7]||(F[7]=W=>N.$refs.chooseGroup.expand(!0))}),p(Pe,{value:"\u6536\u7F29",onOnClick:F[8]||(F[8]=W=>N.$refs.chooseGroup.expand(!1))}),p(Pe,{type:"active",value:"\u590D\u5236",onOnClick:Be})]),_:1})]),_:1},8,["value"])],32)}}};var wp=H(Pp,[["__scopeId","data-v-5bd90c18"]]),kp=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:wp});const Dp={class:"magic-script-editor"},$p={key:0,class:"magic-empty-container"},Mp=Xi('

\u4FDD\u5B58Ctrl + S
\u6D4B\u8BD5Ctrl + Q
\u4EE3\u7801\u63D0\u793AAlt + /
\u6062\u590D\u65AD\u70B9F8
\u6B65\u8FDBF6
\u4EE3\u7801\u683C\u5F0F\u5316Ctrl + Alt + L
\u6700\u8FD1\u6253\u5F00Ctrl + E

',1),Up=[Mp],Bp={key:0},Fp={emits:["onLoad"],setup(e,{emit:t}){const{proxy:n}=Rt(),i=tt([]),a=P({}),s=P(!0),o=P(null),r=P(null),l=ae("activateUserFiles"),u={String:"java.lang.String",Integer:"java.lang.Integer",Double:"java.lang.Double",Long:"java.lang.Long",Byte:"java.lang.Byte",Short:"java.lang.Short",Float:"java.lang.Float",MultipartFile:"org.springframework.web.multipart.MultipartFile",MultipartFiles:"java.util.List"};Xt.setEnvironment(()=>{var A;const g={},d=(A=a.value)==null?void 0:A.item,f=I=>I&&Array.isArray(I)&&I.forEach(y=>{y&&typeof y.name=="string"&&y.dataType&&(g[y.name]=u[y.dataType]||"java.lang.Object")});return d&&(f(d==null?void 0:d.parameters),f(d==null?void 0:d.paths)),g});const c=g=>{let d=i.findIndex(f=>f===g);if(i.splice(d,1),g===a.value){let f=i.length;d0&&E.$emit(w.OPEN,i[d-1])}E.$emit(w.CLOSE,g.item),i.length===0&&(E.$emit(w.OPEN_EMPTY),a.value={})};vt(i,g=>{Ge.set(D.RECENT_OPENED_TAB,g.filter(d=>{var f;return(f=d.item)==null?void 0:f.id}).map(d=>d.item.id))}),E.$event(Re.EXCEPTION,([[g,d,f]])=>{var A,I;if(((I=(A=a.value)==null?void 0:A.item)==null?void 0:I.id)===g){const y=new at(f[0],f[2],f[1],f[3]+1),x=o.value.getInstance(),M=x.deltaDecorations([],[{range:y,options:{hoverMessage:{value:d},inlineClassName:"squiggly-error"}}]);x.revealRangeInCenter(y),x.focus(),D.DECORATION_TIMEOUT>=0&&setTimeout(()=>x.deltaDecorations(M,[]),D.DECORATION_TIMEOUT)}}),E.$on(w.LOGOUT,()=>[...i].forEach(g=>c(g))),E.$on(w.DELETE_FILE,g=>{const d=i.findIndex(f=>f.item===g);d>-1&&c(i[d])}),E.$on(w.RELOAD_RESOURCES_FINISH,()=>{i.filter(g=>g.item&&g.item.id).forEach(g=>K.sendGet(`/resource/file/${g.item.id}`).success(d=>{E.status(`\u83B7\u53D6${g.title}\u300C${g.path()}\u300D\u8BE6\u60C5\u6210\u529F`),Object.keys(d).forEach(f=>g.item[f]=d[f])}))}),E.$event(Re.LOGIN_RESPONSE,()=>{var g;a.value&&E.send(Re.SET_FILE_ID,((g=a.value.item)==null?void 0:g.id)||"0")}),E.$on(w.OPEN,g=>{let d=i.find(f=>f.item===g.item||f.item.id&&f.item.id===g.item.id);E.send(Re.SET_FILE_ID,g.item.id||"0"),d?(a.value=d,s.value=!1):(i.push(g),a.value=g,g.item.id&&!g.item.script?(s.value=!0,K.sendGet(`/resource/file/${g.item.id}`).success(f=>{E.status(`\u83B7\u53D6${g.title}\u300C${g.path()}\u300D\u8BE6\u60C5\u6210\u529F`),Object.keys(f).forEach(A=>g.item[A]=f[A]),g.tmpScript=f.script,s.value=!1})):s.value=!1),a.value.decorations&&a.value.decorations.length>0&&xe(()=>{const f=we(a.value.decorations);a.value.debugDecorations=o.value.appendDecoration(f).map((A,I)=>{var y;return((y=f[I].options)==null?void 0:y.className)==="debug-line"?A:null}).filter(A=>A!==null)||[]}),xe(()=>r.value&&r.value.scrollIntoView(g))});const h=g=>{const d=a.value;if(d&&d.item){const f=a.value.processSave(d.item);return Object.keys(f).forEach(A=>d.item[A]=f[A]),K.sendJson(`/resource/file/${a.value.type}/save?auto=${g?0:1}`,f).success(A=>{A?(E.status(`\u4FDD\u5B58${d.title}\u300C${d.path()}\u300D\u6210\u529F`),d.tmpScript=f.script,d.item.id!==A?E.report("script-add"):E.report("script-save"),d.item.id=A):(E.status(`\u4FDD\u5B58${d.title}\u300C${d.path()}\u300D\u5931\u8D25`,!1),n.$alert(`\u4FDD\u5B58${d.title}\u300C${d.path()}\u300D\u5931\u8D25`))})}},m=()=>a.value.doTest(a.value);E.$on(w.DO_SAVE,h),E.$on(w.DO_TEST,()=>{const g=a.value;g&&g.item&&g.runnable&&g.doTest&&g.running!==!0&&(D.AUTO_SAVE&&g.item.lock!=="1"?h().end(d=>d&&m()):m())}),E.$event(Re.BREAKPOINT,([g,{range:d,variables:f}])=>{var A,I;if(E.status("\u8FDB\u5165\u65AD\u70B9.."),((I=(A=a.value)==null?void 0:A.item)==null?void 0:I.id)!==g){const y=i.find(x=>x.item.id===g);y&&E.$emit(w.OPEN,y)}xe(()=>{a.value.variables=Ca(f),a.value.debuging=!0,a.value.debugDecorations=[o.value.appendDecoration([{range:new at(d[0],1,d[0],1),options:{isWholeLine:!0,inlineClassName:"debug-line",className:"debug-line"}}])],E.$emit(w.SWITCH_TOOLBAR,"debug")}),E.report("debug-in")});const O=g=>{if(a.value.debuging){o.value.removedDecorations(a.value.debugDecorations),a.value.debuging=!1,a.value.variables=null;const d=(a.value.decorations||[]).filter(f=>f.options.linesDecorationsClassName==="breakpoints").map(f=>f.range.startLineNumber).join("|");E.send(Re.RESUME_BREAKPOINT,[a.value.item.id,g===!0?"1":"0",d].join(","))}};E.$on(w.DEBUG_CONTINUE,O),E.$on(w.DEBUG_SETPINTO,()=>O(!0));const b=(g,d,f)=>{const A=[{label:"\u5173\u95ED",divided:!0,onClick(){c(d)}},{label:"\u5173\u95ED\u5176\u4ED6",divided:!0,onClick(){[...i].forEach((I,y)=>y!=f&&c(I))}},{label:"\u5173\u95ED\u5DE6\u4FA7",onClick(){[...i].forEach((I,y)=>yy>f&&c(I))}},{label:"\u5168\u90E8\u5173\u95ED",onClick(){[...i].forEach(I=>c(I))}}];n.$contextmenu({menus:A,event:g})};return mt(()=>t("onLoad")),(g,d)=>{const f=T("magic-text-icon"),A=T("magic-icon"),I=T("magic-avatar-group"),y=T("magic-tab"),x=T("magic-monaco-editor"),M=T("magic-loading");return v(),L("div",Dp,[k(i).length===0?(v(),L("div",$p,Up)):(v(),L(Z,{key:1},[p(y,{value:a.value,"onUpdate:value":d[0]||(d[0]=B=>a.value=B),tabs:k(i),className:"magic-script-tab",ref:(B,X)=>{X.tab=B,r.value=B},"allow-close":!0,onClose:c,onChange:d[1]||(d[1]=B=>k(E).$emit("open",B)),onItemContextmenu:b},{default:C(({tab:B})=>[p(f,{icon:B.getIcon(B.item)},null,8,["icon"]),Ke(G(B.item.name),1),B.item.script!==B.tmpScript?(v(),L("span",Bp,"*")):ee("",!0),B.item.lock===g.$LOCKED?(v(),U(A,{key:1,icon:"lock"})):ee("",!0),p(I,{users:k(l)[B.item.id]||[],max:3,size:20},null,8,["users"])]),_:1},8,["value","tabs"]),p(M,{loading:s.value},{default:C(()=>[p(x,{ref:(B,X)=>{X.editor=B,o.value=B},value:a.value.item.script,"onUpdate:value":d[2]||(d[2]=B=>a.value.item.script=B),decorations:a.value.decorations,"onUpdate:decorations":d[3]||(d[3]=B=>a.value.decorations=B),language:"magicscript","support-breakpoint":!0},null,8,["value","decorations"])]),_:1},8,["loading"])],64))])}}};var jp=H(Fp,[["__scopeId","data-v-8e6e14de"]]),Gp=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:jp}); diff --git a/magic-editor/src/console/dist/assets/index.ce7703d2.js b/magic-editor/src/console/dist/assets/index.dd6bc269.js similarity index 92% rename from magic-editor/src/console/dist/assets/index.ce7703d2.js rename to magic-editor/src/console/dist/assets/index.dd6bc269.js index 158d83f0..48c02590 100644 --- a/magic-editor/src/console/dist/assets/index.ce7703d2.js +++ b/magic-editor/src/console/dist/assets/index.dd6bc269.js @@ -1 +1 @@ -import"./app.a7e930c9.js";import"./vue.7304e5c5.js";import"./vendor.5f04ef2d.js";import"./axios.23e7b955.js";const s=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerpolicy&&(r.referrerPolicy=e.referrerpolicy),e.crossorigin==="use-credentials"?r.credentials="include":e.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(e){if(e.ep)return;e.ep=!0;const r=n(e);fetch(e.href,r)}};s(); +import"./app.e9d5d532.js";import"./vue.7304e5c5.js";import"./vendor.5f04ef2d.js";import"./axios.23e7b955.js";const s=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))i(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&i(o)}).observe(document,{childList:!0,subtree:!0});function n(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerpolicy&&(r.referrerPolicy=e.referrerpolicy),e.crossorigin==="use-credentials"?r.credentials="include":e.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(e){if(e.ep)return;e.ep=!0;const r=n(e);fetch(e.href,r)}};s(); diff --git a/magic-editor/src/console/dist/assets/style.079cdc93.css b/magic-editor/src/console/dist/assets/style.079cdc93.css new file mode 100644 index 00000000..90c9d97a --- /dev/null +++ b/magic-editor/src/console/dist/assets/style.079cdc93.css @@ -0,0 +1 @@ +html,body,#app{width:100%;height:100%;margin:0!important}@font-face{font-family:JetBrainsMono;src:url(./JetBrainsMono-Regular.bceff071.woff2) format("woff2");font-weight:100;font-style:normal}.magic-editor{width:100%;height:100%;overflow:auto;display:flex;flex-direction:column;position:relative;min-width:1200px;min-height:600px;font-size:12px;letter-spacing:0px;background-color:var(--main-background-color);cursor:default;color:var(--main-color);outline:0;--main-color: #000;--main-background-color: #f2f2f2;--main-border-color: #cdcdcd;--main-hover-background-color: #d9d9d9;--main-hover-icon-background-color: #d9d9d9;--main-selected-background-color: #bdbdbd;--main-selected-color: #000;--main-icon-color: #6e6e6e;--navbar-body-background-color: #fff;--navbar-body-border-color: #c0c0c0;--header-title-color: #000;--header-default-color: #6e6e6e;--empty-background-color: #b6b6b6;--empty-color: #505050;--empty-key-color: #5263a0;--tree-hover-background-color: #d4d4d4;--tree-icon-color: #aeb9c0;--table-border-color: #bdbdbd;--input-border-color: #bdbdbd;--input-background-color: #fff;--input-focus-color: #0784de;--dialog-border-color: #707070;--dialog-shadow-color: #cfcfcf;--button-border-color: #adadad;--button-background-color: #e3e3e3;--button-hover-border-color: #99a0a5;--button-hover-background-color: #e3f1fa;--button-disabled-color: #bdbdbd;--select-background-color: #e3e3e3;--select-hover-background-color: #e3f1fa;--select-option-background-color: #fff;--select-option-border-color: #808080;--select-option-hover-background-color: #1a7dc4;--select-option-hover-color: #fff;--select-inputable-background-color: #fff;--tab-selected-background-color: #fff;--icon-debug-color: #59A869;--icon-step-color: #389FD6;--data-type-default-color: #000;--data-type-string-color: #008000;--data-type-integer-color: #0000ff;--data-type-number-color: #0000ff;--data-type-byte-color: #0000ff;--data-type-long-color: #0000ff;--data-type-float-color: #0000ff;--data-type-double-color: #0000ff;--data-type-short-color: #0000ff;--data-type-boolean-color: #000080;--data-type-class-color: #660e7a;--data-type-key-color: #AC0039;--breakpoints-background-color: #db5860;--debug-line-background-color: #2154A6;--breakpoint-line-background-color: #FAEAE6;--run-log-background-color: #fff;--log-color-info: #00cd00;--log-color-warn: #A66F00;--log-color-debug: #00cccc;--log-color-error: #cd0000;--log-color-trace: #0000EE;--log-color-cyan: #00CCCC;--log-color-link: #006DCC;--todo-color: #008dde;--message-em-color: #007F31;--checkbox-background-color: #fff;--checkbox-text-color: #fff;--checkbox-border-color: #b0b0b0;--checkbox-selected-boder-color: #4F9EE3;--checkbox-selected-background-color: #4F9EE3;--resource-label-color: #000;--resource-span-color: #999;--scollbar-color: rgba(170, 170, 170, .7);--scollbar-background: rgba(194, 194, 194, .1);--scollbar-thumb-background: rgba(170, 170, 170, .4);--scollbar-thumb-hover-background: rgba(170, 170, 170, .7);--scollbar-scrollbar-corner-background: rgba(194, 194, 194, .1)}.magic-editor,.magic-editor .monaco-editor,.magic-log pre{font-family:"JetBrainsMono","Consolas","Courier New","\5fae\8f6f\96c5\9ed1"}.magic-editor *{box-sizing:border-box;padding:0;margin:0}.magic-editor .none-select{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-khtml-user-select:none;user-select:none}.magic-editor ul{list-style:none;margin:0;padding:0}.magic-editor *{scrollbar-color:var(--scollbar-thumb-background) var(--scollbar-thumb-background);scrollbar-track-color:var(--scollbar-thumb-background);-ms-scrollbar-track-color:var(--scollbar-thumb-background);scrollbar-width:thin}.magic-editor *::-webkit-scrollbar{width:5px;height:5px;background:var(--scollbar-background)}.magic-editor *::-webkit-scrollbar-thumb{border-radius:3px;background:var(--scollbar-thumb-background)}.magic-editor *::-webkit-scrollbar-thumb:hover{background:var(--scollbar-thumb-hover-background)}.magic-editor *::-webkit-scrollbar-corner{background:var(--scollbar-scrollbar-corner-background)}.magic-header .magic-logo,.magic-dialog .magic-dialog-header{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA/1BMVEUIfPoENm0CHz8CIUMAAAAAAwYqKioaGhoQEBAsLCwQEBAJCQkrKysDAwMCAgL6+vr19fUWFhaJiYn8/PylpaWAgID8/PxmZmYSEhLk5ORJSUnLy8vk5OSgoKAFBQXk5OS7u7upqakmJiaqqqqDg4Pp6em5ubmQkJBNTU3x8fF4eHjn5+cBAQE5OTlwcHDm5uafn5/Nzc1+fn6lpaX09PTs7OwpKSk5OTn8/PwsLCz5+flHR0fV1dVsbGzY2NhwcHAMDAzu7u5gYGAMDAwJCQkAAAAHBwcGBgYHBwcEBAQHBwcGBgZtbGyvrq5ERERLSkp5eHgvLy8CIkQABAgABw6+8utZAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UIFBENHjcTIfEAAACNSURBVBjTY2DAAIxMSIAZKMDEggRYwQJs7CwcnFws3Dy8EAE+fgFBIWERFlExcYiAhLCklLSMrJy8giJEQElYWUVVTV1DU0tbByygK6ynb2BoZGxiKmwGFjC3sLSytrG1s3dwdILY4szi4urm7uHJ4uXNitUdPr5g4AcX8A8Ag0CES9G0BAUjgRBMzwMA2+sWGs+mksMAAAAuelRYdGRhdGU6Y3JlYXRlAAAImTMyMDLUNbDQNTIIMbC0MjS2MjbQNrCwMjAAAEGIBQ9X33PQAAAALnpUWHRkYXRlOm1vZGlmeQAACJkzMjAy1DWw0DUyCDGwtDI0tjI20DawsDIwAABBiAUPfuDbWAAAAABJRU5ErkJggg==)}.magic-data-type{color:var(--data-type-default-color)}.magic-data-type.string{color:var(--data-type-string-color);font-weight:bold}.magic-data-type.integer{color:var(--data-type-integer-color)}.magic-data-type.number{color:var(--data-type-number-color)}.magic-data-type.double{color:var(--data-type-double-color)}.magic-data-type.float{color:var(--data-type-float-color)}.magic-data-type.short{color:var(--data-type-short-color)}.magic-data-type.long{color:var(--data-type-long-color)}.magic-data-type.byte{color:var(--data-type-byte-color)}.magic-data-type.boolean{color:var(--data-type-boolean-color);font-weight:bold}.magic-data-type.class{color:var(--data-type-class-color)}.magic-icon.magic-icon-difference{color:#389fd6!important}.magic-status-bar .message em,.magic-event em{color:var(--message-em-color);font-style:normal;font-weight:bold}.magic-editor .magic-monaco-editor[data-mode-id=magicscript] .monaco-editor .margin-view-overlays .codicon-folding-expanded,.magic-editor .magic-monaco-editor[data-mode-id=magicscript] .monaco-editor .margin-view-overlays .codicon-folding-collapsed{margin-left:12px!important}.magic-context-menu[data-v-8dc00ad0]{position:fixed;z-index:10;background-color:var(--main-background-color);border:1px solid var(--main-border-color)}.magic-context-menu li[data-v-8dc00ad0]{height:24px;line-height:24px;padding:0 10px;cursor:pointer;display:flex}.magic-context-menu li>*[data-v-8dc00ad0]{cursor:pointer;word-break:keep-all}.magic-context-menu li.divided[data-v-8dc00ad0]{border-bottom:1px solid var(--main-border-color)}.magic-context-menu .magic-context-menu-icon[data-v-8dc00ad0]{display:inline-block;text-align:center;margin-right:5px;width:13px}.magic-context-menu li[data-v-8dc00ad0]:hover{background-color:var(--select-option-hover-background-color);color:var(--select-option-hover-color)}.magic-context-menu li[data-v-8dc00ad0]:hover .magic-icon{color:var(--select-option-hover-color)}.magic-dialog[data-v-bf9f8d80] .magic-dialog-body>pre{white-space:normal}@font-face{font-family:"magic-iconfont";src:url(./iconfont.c1c53300.ttf?t=1641003183544) format("truetype")}.magic-icon{font-family:"magic-iconfont"!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.magic-icon-difference:before{content:"\e603"}.magic-icon-watch:before{content:"\e60e"}.magic-icon-rollback:before{content:"\e613"}.magic-icon-eye:before{content:"\e614"}.magic-icon-debug-array:before{content:"\e604"}.magic-icon-debug-number:before{content:"\e605"}.magic-icon-debug-normal:before{content:"\e60c"}.magic-icon-empty:before{content:"\e644"}.magic-icon-structure:before{content:"\e672"}.magic-icon-json:before{content:"\e882"}.magic-icon-api:before{content:"\e75a"}.magic-icon-mongo:before{content:"\e63e"}.magic-icon-redis:before{content:"\e669"}.magic-icon-function:before{content:"\e62d"}.magic-icon-task:before{content:"\e620"}.magic-icon-elasticsearch:before{content:"\eb85"}.magic-icon-resource:before{content:"\e712"}.magic-icon-websocket:before{content:"\e6a6"}.magic-icon-descending:before{content:"\e69d"}.magic-icon-ascending:before{content:"\e69e"}.magic-icon-expand-all:before{content:"\e612"}.magic-icon-collapse-all:before{content:"\e611"}.magic-icon-group-add:before{content:"\e610"}.magic-icon-arrow-bottom-up:before{content:"\efae"}.magic-icon-options:before{content:"\e60f"}.magic-icon-debug-info:before{content:"\efa1"}.magic-icon-run:before{content:"\e626"}.magic-icon-parameter:before{content:"\e6e9"}.magic-icon-list:before{content:"\e679"}.magic-icon-arrow-right:before{content:"\e600"}.magic-icon-arrow-bottom:before{content:"\efa2"}.magic-icon-script:before{content:"\e61d"}.magic-icon-clear:before{content:"\e673"}.magic-icon-continue:before{content:"\e663"}.magic-icon-format:before{content:"\e6c1"}.magic-icon-git:before{content:"\e64a"}.magic-icon-gitee:before{content:"\e6d6"}.magic-icon-delete:before{content:"\e607"}.magic-icon-help:before{content:"\e60d"}.magic-icon-qq:before{content:"\e635"}.magic-icon-skin:before{content:"\e606"}.magic-icon-close:before{content:"\e652"}.magic-icon-save:before{content:"\e66c"}.magic-icon-minimize:before{content:"\e707"}.magic-icon-log:before{content:"\efac"}.magic-icon-history:before{content:"\e668"}.magic-icon-step-over:before{content:"\e7b2"}.magic-icon-star:before{content:"\e601"}.magic-icon-unfold:before{content:"\e732"}.magic-icon-fold:before{content:"\e66b"}.magic-icon-settings:before{content:"\e786"}.magic-icon-minus:before{content:"\e68a"}.magic-icon-plus:before{content:"\e621"}.magic-icon-refresh:before{content:"\e747"}.magic-icon-search:before{content:"\e608"}.magic-icon-upload:before{content:"\e658"}.magic-icon-download:before{content:"\e659"}.magic-icon-datasource:before{content:"\e615"}.magic-icon-table:before{content:"\e619"}.magic-icon-logout:before{content:"\e65a"}.magic-icon-copy:before{content:"\ec7a"}.magic-icon-move:before{content:"\e727"}.magic-icon-update:before{content:"\e7e4"}.magic-icon-push:before{content:"\e79d"}.magic-icon-todo:before{content:"\e602"}.magic-icon-event:before{content:"\e664"}.magic-icon-collapse:before{content:"\e609"}.magic-icon-expand-copy:before{content:"\efad"}.magic-icon-primary:before{content:"\e60a"}.magic-icon-lock:before{content:"\e64f"}.magic-icon-unlock:before{content:"\e783"}.magic-icon-position:before{content:"\e60b"}.magic-empty[data-v-594aa0b8]{width:100%;height:100%;position:relative}.magic-empty p[data-v-594aa0b8]{text-align:center;width:100%;height:24px;line-height:24px;top:50%;position:relative;margin-top:-12px}.magic-loading[data-v-6d83fffa]{width:100%;height:100%;position:relative;top:0;left:0}.magic-loading p[data-v-6d83fffa]{position:absolute;text-align:center;width:100%;top:50%;margin-top:-20px}.magic-loading .icon[data-v-6d83fffa]{width:20px;margin:0 auto;animation:rotate-6d83fffa 1s linear infinite;display:block}@keyframes rotate-6d83fffa{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.magic-monaco-editor[data-v-7c84fbe0]{flex:1;overflow:hidden}.magic-monaco-editor[data-v-319cefd8]{flex:1;overflow:hidden}.magic-monaco-editor[data-v-319cefd8] .breakpoints{background:var(--breakpoints-background-color);width:10px!important;height:10px!important;right:0px!important;margin-left:12px;top:5px;border-radius:5px}.magic-monaco-editor[data-v-319cefd8] .debug-line{background:var(--debug-line-background-color);color:#fff!important}.magic-monaco-editor[data-v-319cefd8] .breakpoint-line{background:var(--breakpoint-line-background-color)}.magic-resizer-x[data-v-7de8c22c],.magic-resizer-y[data-v-7de8c22c]{display:flex;position:relative;overflow:hidden;transition:none}.magic-resizer-event[data-v-7de8c22c]{position:absolute;z-index:20;--width: 100%;--height: 100%}.magic-resizer-event[data-v-7de8c22c]:after{content:" ";position:fixed;z-index:9999}.magic-resizer-x .magic-resizer-event[data-v-7de8c22c]{width:15px;height:100%;right:-15px;cursor:col-resize}.magic-resizer-x .magic-resizer-event[data-v-7de8c22c]:after{width:10px;height:var(--height)}.magic-resizer-x .magic-resizer-event.reverse[data-v-7de8c22c]{right:unset;left:-5px}.magic-resizer-x[data-v-7de8c22c]{height:100%}.magic-resizer-y .magic-resizer-event[data-v-7de8c22c]{height:10px;width:100%;top:-5px;cursor:row-resize}.magic-resizer-y .magic-resizer-event[data-v-7de8c22c]:after{height:10px;width:var(--width)}.magic-function-info[data-v-4b164a55]{display:flex;flex-direction:column}.magic-function-info form[data-v-4b164a55]{display:flex;padding:5px}.magic-function-info form label[data-v-4b164a55]{display:inline-block;width:75px;height:22px;line-height:22px;font-weight:400;text-align:right;padding:0 5px}.magic-navbar[data-v-4b164a55]{flex-direction:column;overflow:hidden}.magic-navbar[data-v-4b164a55] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-4b164a55] .magic-navbar-body,.magic-navbar[data-v-4b164a55] .magic-navbar-item{width:100%;height:100%}.magic-navbar-item[data-v-30388e35]{height:100%;width:100%}.magic-navbar{display:flex;background-color:var(--main-background-color);transition:.3s}.magic-navbar .magic-navbar-body{background-color:var(--navbar-body-background-color);overflow:auto}.magic-navbar .magic-navbar-header li:hover{background-color:var(--main-hover-background-color)}.magic-navbar .magic-navbar-header li.selected{background-color:var(--main-selected-background-color);color:var(--main-selected-color)}.magic-navbar .magic-navbar-header li.selected svg text{fill:var(--main-selected-color)}.magic-navbar .magic-navbar-header li svg text{letter-spacing:0px;font-size:10px}.magic-navbar__vertical.reverse{flex-direction:row-reverse}.magic-navbar__vertical .magic-navbar-header li{display:flex;flex-direction:column;align-items:center;overflow:hidden;padding:8px 3px;cursor:pointer;border-bottom:1px solid var(--main-border-color)}.magic-navbar__vertical .magic-navbar-header{width:22px;height:100%;letter-spacing:2px;text-align:center;padding:0;border-right:1px solid var(--main-border-color)}.magic-navbar__vertical.reverse .magic-navbar-header{border-left:1px solid var(--main-border-color);border-right:none}.magic-navbar__vertical.reverse .magic-navbar-header li{display:flex;flex-direction:column-reverse}.magic-navbar__vertical .magic-navbar-header li{line-height:14px;word-break:break-all}.magic-navbar__vertical .magic-navbar-body{flex:1}.magic-navbar__vertical .magic-navbar-body{border-right:1px solid var(--navbar-body-border-color)}.magic-navbar__vertical.reverse .magic-navbar-body{border-left:1px solid var(--navbar-body-border-color);border-right:none}.magic-navbar__horizontal>ul{width:100%}.magic-navbar__horizontal>ul li{display:inline-flex;flex-direction:row-reverse;padding:0 8px;height:24px;line-height:24px;cursor:pointer;color:var(--main-color)}.magic-navbar__horizontal>ul li i{padding:0 2px}.magic-navbar__horizontal>ul{border-top:1px solid var(--main-border-color)}.magic-navbar.magic-navbar__vertical .magic-navbar-title{padding-bottom:4px}.magic-navbar.magic-navbar__vertical.reverse .magic-navbar-title{padding-top:4px;padding-bottom:0}.magic-icon[data-v-50969699]{color:var(--main-icon-color)}.magic-tab{width:100%;overflow:hidden;flex-wrap:nowrap;white-space:nowrap;transition:.3s}.magic-tab ul{overflow-x:auto}.magic-tab ul li{display:inline-block;cursor:pointer;padding:0 10px;height:24px;line-height:24px}.magic-tab ul li.selected,.magic-tab ul li:hover,.magic-tab.magic-script-tab ul li.selected:hover,.magic-tab ul li.draggable-target-item{background-color:var(--main-hover-background-color)}.magic-tab.magic-script-tab{border-bottom:1px solid var(--main-border-color);height:30px;position:absolute}.magic-tab.magic-script-tab ul li{height:30px;line-height:30px;border-bottom:3px solid transparent}.magic-tab.magic-script-tab ul li.selected{border-bottom-color:#4083c9;background-color:var(--tab-selected-background-color)}.magic-table{display:flex;flex-direction:column;box-sizing:border-box}.magic-table .magic-table-body{flex:1;overflow:auto}.magic-table .magic-table-header,.magic-table .magic-table-body .magic-table-row{display:flex;height:24px;line-height:24px;border-bottom:1px solid var(--main-border-color)}.magic-table .magic-table-body .magic-table-row:hover{background-color:var(--main-hover-background-color)}.magic-table .magic-table-column{flex:1}.magic-table .magic-table-column .magic-select{width:100%}.magic-table__border .magic-table-body .magic-table-row{border-bottom:1px solid var(--table-border-color)}.magic-table__border .magic-table-body .magic-table-row .magic-table-column:not(:last-child){border-right:1px solid var(--table-border-color)}.magic-tree{position:relative;overflow:auto}.magic-tree>ul{position:absolute;top:0;left:0}.magic-tree .magic-tree-item{height:20px;line-height:20px;transition:.3s;word-break:break-all;white-space:nowrap}.magic-tree .magic-tree-item:hover,.magic-tree .magic-tree-item.selected,.magic-tree .magic-tree-item.draggable-target-item{background-color:var(--tree-hover-background-color)}.magic-tree .magic-tree-item .magic-icon{color:var(--tree-icon-color);padding-right:2px;font-size:14px}.magic-tree ul{max-height:99999px;min-width:100%}.magic-tree li{white-space:nowrap;word-break:break-all}.magic-tree .hide{opacity:0;max-height:0;position:relative}.magic-tree .magic-icon-datasource:not(.root){color:#089910}.magic-dialog[data-v-cbcc8c70]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:999999;text-align:center}.magic-dialog__shade[data-v-cbcc8c70]{background-color:#0000004d}.magic-dialog[data-v-cbcc8c70]:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.magic-dialog-main[data-v-cbcc8c70]{background:var(--main-background-color);border:1px solid var(--dialog-border-color);display:inline-block;vertical-align:middle;position:relative;min-width:250px;box-shadow:0 0 8px var(--dialog-shadow-color);max-width:800px;color:var(--main-color);transition:none}.magic-dialog-header[data-v-cbcc8c70]{height:30px;line-height:30px;padding-left:30px;padding-right:75px;background-position:7px 7px;background-repeat:no-repeat;text-align:left}.magic-dialog-header.moveable[data-v-cbcc8c70]{cursor:move}.magic-dialog-header span[data-v-cbcc8c70]{display:inline-block;width:30px;position:absolute;right:0;text-align:center;cursor:pointer;font-size:12px;height:30px;line-height:30px}.magic-dialog-header span[data-v-cbcc8c70]:hover{background-color:#e81123}.magic-dialog-header span:hover .magic-icon[data-v-cbcc8c70]{color:#fff}.magic-dialog-body[data-v-cbcc8c70]{text-align:left;word-break:break-word}.magic-dialog[data-v-cbcc8c70] .magic-loading{min-width:200px;min-height:200px}.magic-notify[data-v-413b2c61]{position:absolute;right:40px;bottom:65px;transition:.5s}.magic-notify .magic-notify-item[data-v-413b2c61]{background-color:var(--main-background-color);padding:5px;position:relative;border-radius:2px;border:1px solid var(--main-border-color);max-width:280px;box-shadow:0 0 8px var(--dialog-shadow-color)}.magic-notify .magic-notify-item[data-v-413b2c61]:not(:first-child){margin-top:5px}.magic-notify .magic-notify-item .magic-icon-close[data-v-413b2c61]{font-size:12px}.magic-notify .magic-notify-item .close[data-v-413b2c61]{position:absolute;top:2px;right:2px;display:none}.magic-notify .magic-notify-item h3[data-v-413b2c61]{font-size:12px;height:20px;line-height:20px;display:flex;align-items:center}.magic-notify .magic-notify-item h3 svg[data-v-413b2c61]{vertical-align:middle;margin-right:2px}.magic-notify .magic-notify-item:hover .close[data-v-413b2c61]{display:block}.magic-notify .magic-notify-item p[data-v-413b2c61]{padding:5px 5px 5px 16px}.magic-notify .magic-notify-item .magic-button-group[data-v-413b2c61]{padding-left:11px}.magic-button-group[data-v-70c60ab6] .magic-button:not(:last-child){margin-right:10px}.magic-button-group.right[data-v-70c60ab6]{text-align:right}.magic-button-group.left[data-v-70c60ab6]{text-align:left}.magic-button-group.center[data-v-70c60ab6]{text-align:center}.magic-button[data-v-2e4c463a]{height:22px;line-height:22px;background-color:var(--button-background-color);text-align:center;padding:0 15px;border:1px solid var(--button-border-color);outline:0;cursor:pointer;color:var(--main-color)}.magic-button.link[data-v-2e4c463a]{background-color:transparent;color:var(--log-color-link);border:none;padding:0 5px}.magic-button.active[data-v-2e4c463a],.magic-button[data-v-2e4c463a]:hover:not(.link){background-color:var(--button-hover-background-color);border-color:var(--button-hover-border-color)}.magic-checkbox[data-v-22b807f1]{width:100%;height:100%;text-align:center;display:inline-block}.magic-checkbox input[data-v-22b807f1]{display:none}.magic-checkbox input+label[data-v-22b807f1]{position:relative;color:#c9c9c9;font-size:12px;height:24px;line-height:24px;width:24px;user-select:none;display:inline-block}.magic-checkbox input+label[data-v-22b807f1]:after{display:inline-block;background-color:var(--checkbox-background-color);border:1px solid var(--checkbox-border-color);content:"";width:16px;height:16px;line-height:16px;position:absolute;top:2px;left:3px;text-align:center;font-size:12px;color:var(--checkbox-text-color)}.magic-checkbox input:checked+label[data-v-22b807f1]:after{content:"\2714";background-color:var(--checkbox-selected-background-color);border-color:var(--checkbox-selected-border-color)}.magic-checkbox input+label.checkedHalf[data-v-22b807f1]:after{content:"\2501"}.magic-file[data-v-5c4a8b85]{width:100%;position:relative}.magic-file .magic-icon[data-v-5c4a8b85]{position:absolute;right:3px;top:3px;height:16px;line-height:16px}.magic-input[data-v-3a157bc4]{height:22px;line-height:22px;border-radius:0;outline:0;border:1px solid transparent;margin:0;padding:0 0 0 5px;background-color:var(--input-background-color);color:var(--mian-color)}.magic-input[data-v-3a157bc4]:focus{border-color:var(--input-focus-color)}.magic-input__border[data-v-3a157bc4]{border-color:var(--input-border-color)}.magic-input[data-v-3a157bc4]::-webkit-outer-spin-button,.magic-input[data-v-3a157bc4]::-webkit-inner-spin-button{-webkit-appearance:none}.magic-input[type=number][data-v-3a157bc4]{-moz-appearance:textfield}.magic-select[data-v-869742dc]{position:relative;display:inline-block;background:var(--select-background-color);height:22px;line-height:22px;width:80px;font-size:12px;text-align:left}.magic-select.inputable[data-v-869742dc]{background:var(--select-inputable-background-color);border-color:var(--select-inputable-border-color)}.magic-select.border[data-v-869742dc]{border:1px solid var(--input-border-color)}.magic-select input[data-v-869742dc]{background:none;border:none;height:22px;line-height:22px;border-radius:0;outline:0;padding-left:5px;width:100%;color:var(--main-color)}.magic-select span[data-v-869742dc]{height:22px;line-height:22px;border-radius:0;outline:0;padding-left:5px}.magic-select[data-v-869742dc]:hover:not(.inputable){background:var(--select-hover-background-color)}.magic-select[data-v-869742dc]:after{content:"\efa2";font-family:"magic-iconfont";position:absolute;right:5px;top:0px}.magic-select ul[data-v-869742dc]{display:block;position:fixed;z-index:10;background:var(--select-option-background-color);border:1px solid var(--select-option-border-color);margin-top:-2px;padding:0;box-sizing:content-box;margin-left:-1px}.magic-select ul li[data-v-869742dc]{padding:0 5px;width:100%!important;height:22px;text-overflow:ellipsis;word-break:keep-all;text-align:left}.magic-select ul li[data-v-869742dc]:hover{background:var(--select-option-hover-background-color);color:var(--select-option-hover-color)}.magic-textarea[data-v-ca6693f6]{line-height:22px;border-radius:0;outline:0;border:1px solid var(--input-border-color);resize:none;background:var(--input-background-color);color:var(--input-color);width:100%;height:100%}.magic-textarea[data-v-ca6693f6]:focus{border-color:var(--input-focus-color)}.magic-avatar-group[data-v-511f7f80]{display:inline-block;height:22px;line-height:22px}.magic-avatar-group .magic-avatar[data-v-511f7f80]{position:relative;margin-left:-5px}.magic-avatar[data-v-4b5e69aa]{color:#fff;display:inline-block;text-align:center}.magic-navbar[data-v-1e478b66]{width:100%;height:100%}.magic-navbar[data-v-1e478b66] .magic-navbar-body{border-right:none;width:100%;height:100%;display:flex}.magic-navbar[data-v-1e478b66] .magic-navbar-item>*{width:100%;height:100%}.magic-api-group[data-v-430d6958]{display:flex;flex-direction:column}.magic-api-group form[data-v-430d6958]{display:flex;padding:5px}.magic-api-group form label[data-v-430d6958]{display:inline-block;width:75px;height:22px;line-height:22px;font-weight:400;text-align:right;padding:0 5px}.magic-api-group+.magic-navbar[data-v-430d6958]{flex-direction:column;overflow:hidden}.magic-api-group+.magic-navbar[data-v-430d6958] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-430d6958] .magic-navbar-body,.magic-navbar[data-v-430d6958] .magic-navbar-item{width:100%;height:100%}.magic-api-group>form .magic-button[data-v-430d6958]{margin-left:10px}.magic-api-info[data-v-0aa3270a]{display:flex;flex-direction:column}.magic-api-info form[data-v-0aa3270a]{display:flex;padding:5px}.magic-api-info form label[data-v-0aa3270a]{display:inline-block;width:75px;height:22px;line-height:22px;font-weight:400;text-align:right;padding:0 5px}.magic-api-info+.magic-navbar[data-v-0aa3270a]{flex-direction:column;overflow:hidden}.magic-api-info+.magic-navbar[data-v-0aa3270a] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-0aa3270a] .magic-navbar-body,.magic-navbar[data-v-0aa3270a] .magic-navbar-item{width:100%;height:100%}.magic-table[data-v-12babf82]{flex:1}.magic-table[data-v-12babf82] .magic-table-column{display:flex}.magic-data-type[data-v-12babf82]{display:inline-block;width:0;padding:0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:center}iframe[data-v-72af9b10]{width:100%;height:100%;border:0}.magic-table[data-v-db168582]{flex:1}.magic-table span[data-v-db168582]{padding:0 5px}.magic-table[data-v-ea08c446]{flex:1}.magic-table[data-v-ea08c446] .magic-table-column{display:flex}.magic-data-type[data-v-ea08c446]{display:inline-block;width:0;padding:0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.magic-panel-api-response[data-v-3d951bef]{width:100%;height:100%;display:flex;flex-direction:column}.magic-panel-api-response[data-v-3d951bef] .magic-navbar__horizontal>ul{border-top:none;border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-3d951bef]{flex-direction:column;width:100%;height:100%}.magic-panel-api-response[data-v-3d951bef] .magic-navbar .magic-navbar-body,.magic-panel-api-response[data-v-3d951bef] .magic-navbar .magic-navbar-item{width:100%;height:100%}.magic-panel-api-response[data-v-3d951bef] .magic-navbar .magic-navbar-item{display:flex}.magic-global[data-v-03e7bbcc]{display:flex;flex-direction:column;flex:1;width:100%;height:100%}.magic-global>.magic-navbar[data-v-03e7bbcc]{flex-direction:column;overflow:hidden}.magic-global>.magic-navbar[data-v-03e7bbcc] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-03e7bbcc] .magic-navbar-body,.magic-navbar[data-v-03e7bbcc] .magic-navbar-item{width:100%;height:100%}.magic-global .magic-panel-global[data-v-03e7bbcc]{display:flex;width:100%;height:100%}.magic-global[data-v-03e7bbcc] .magic-panel-global>div{flex:1}.magic-panel-toolbar[data-v-e91df708]{width:24px;border-right:1px solid var(--main-border-color);height:100%;text-align:center}.magic-panel-toolbar li[data-v-e91df708]{cursor:pointer;border-radius:2px;width:18px;height:18px;line-height:18px;margin:3px}.magic-panel-toolbar li[data-v-e91df708]:not(.disabled):hover{background-color:var(--main-hover-icon-background-color)}.magic-panel-toolbar li.disabled i[data-v-e91df708]{color:var(--button-disabled-color)}.magic-resource-choose[data-v-7eb90c29]{max-height:400px;overflow:auto}.magic-resource-choose .magic-tree[data-v-7eb90c29]{margin-bottom:5px;min-height:300px}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-icon.root{color:var(--main-icon-color)}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-checkbox{display:inline;margin-right:3px}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-checkbox input+label{width:12px!important;height:12px!important}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-tree-item{padding-left:5px}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-checkbox input+label:after{width:12px!important;height:12px!important;line-height:12px!important;top:0!important;left:0!important}.magic-resource-choose[data-v-7eb90c29] .magic-tree label{color:var(--resource-label-color)}.magic-resource-choose[data-v-7eb90c29] .magic-tree span{color:var(--resource-span-color)}.magic-backup[data-v-0e33e135]{display:flex;flex:1;height:100%}.magic-backup>div[data-v-0e33e135]{background-color:var(--navbar-body-background-color);flex:1;overflow:hidden;position:relative;height:100%}.magic-backup .magic-table[data-v-0e33e135]{height:100%;position:absolute;width:100%}.magic-backup[data-v-0e33e135] .magic-table-row .magic-table-column:last-child,.magic-backup[data-v-0e33e135] .magic-table-header .magic-table-column:last-child{padding-left:5px}.magic-backup-diff-container[data-v-0e33e135]{width:100%;height:100%;display:flex;flex-direction:column}.magic-backup-diff-container .magic-backup-diff-header[data-v-0e33e135]{height:30px;line-height:30px;display:flex}.magic-backup-diff-container .magic-backup-diff-header>div[data-v-0e33e135]{flex:1}.magic-backup-diff-container .magic-backup-diff-header>div[data-v-0e33e135]:last-child{text-align:right}.magic-dialog-diff .magic-dialog-main{display:inline-flex;flex-direction:column}.magic-dialog-diff .magic-dialog-main .magic-dialog-body{flex:1;display:flex;flex-direction:column}.magic-panel-toolbar[data-v-d6992652] .magic-icon-continue{color:var(--icon-debug-color)}.magic-panel-toolbar[data-v-d6992652] .magic-icon-step-over{color:var(--icon-step-color)}.magic-debug[data-v-d6992652]{display:flex;flex:1}.magic-debug .magic-debug-variables[data-v-d6992652]{flex:1;background-color:var(--navbar-body-background-color);position:relative;overflow:auto}.magic-debug[data-v-d6992652] .magic-tree{position:absolute;width:100%;height:100%}.magic-debug[data-v-d6992652] .magic-tree .magic-tree-item{height:auto}.magic-debug .object-type[data-v-d6992652]{color:var(--resource-span-color)}.magic-debug label.key[data-v-d6992652]{color:var(--data-type-key-color);padding-left:3px}.magic-debug label.separator[data-v-d6992652]{padding:0 5px}.magic-debug svg[data-v-d6992652]{display:inline-block;width:16px;height:16px;vertical-align:middle}.magic-event[data-v-535abac4],.magic-event[data-v-535abac4] .magic-table{width:100%;height:100%;display:flex}.magic-event[data-v-535abac4] .magic-table .magic-table-header{display:none}.magic-event[data-v-535abac4] .magic-table .magic-table-row{border-right:1px solid var(--main-border-color)}.magic-event[data-v-535abac4] .magic-table .magic-table-column{padding-left:5px}.magic-log-wrapper{position:relative;overflow:auto;width:100%;height:100%;background:var(--run-log-background-color)}.magic-log{position:absolute;font-size:13.5px;height:100%;padding:5px}.magic-log>div{width:100%}.magic-log>div pre{line-height:20px;width:100%}.magic-log>div.multiple pre{max-height:60px;overflow:hidden}.magic-log>div.multiple.more pre{max-height:none}.magic-log span.multiple{opacity:.5;font-size:13px;text-decoration:underline;cursor:pointer}.magic-log pre span.log-INFO{color:var(--log-color-info)}.magic-log pre span.log-DEBUG{color:var(--log-color-debug)}.magic-log pre span.log-ERROR{color:var(--log-color-error)}.magic-log pre span.log-WARN{color:var(--log-color-warn)}.magic-log pre span.log-TRACE{color:var(--log-color-trace)}.magic-log pre span.log-cyan{color:var(--log-color-cyan)}.magic-log pre a.log-link{color:var(--log-color-link)}.magic-online[data-v-788b49dc]{height:30px;line-height:30px;float:right;padding-left:10px;max-width:500px}.magic-online>span[data-v-788b49dc]{padding-left:5px}.magic-status-bar[data-v-7891cbf6]{height:30px;line-height:30px;display:flex;background-color:var(--main-background-color);padding-left:24px}.magic-status-bar .message[data-v-7891cbf6]{flex:1}.magic-status-bar ul[data-v-7891cbf6]{float:right;display:inline-flex;align-items:center;padding-right:2px}.magic-status-bar ul li[data-v-7891cbf6]{cursor:pointer;padding:0 4px;height:20px;line-height:20px;border-radius:3px}.magic-status-bar ul li .magic-icon[data-v-7891cbf6]{height:20px;line-height:20px}.magic-status-bar ul li[data-v-7891cbf6]:hover{background-color:var(--main-hover-icon-background-color)}.magic-todo[data-v-4bb5213c]{display:flex;flex:1}.magic-todo div[data-v-4bb5213c]{background-color:var(--navbar-body-background-color);flex:1;overflow:hidden;position:relative}.magic-todo div[data-v-4bb5213c] .magic-tree{width:100%;height:100%;position:absolute;overflow:auto}.magic-todo div[data-v-4bb5213c] .magic-tree label{color:var(--resource-label-color)}.magic-todo div[data-v-4bb5213c] .magic-tree label.todo{font-style:italic;color:var(--todo-color)}.magic-todo div[data-v-4bb5213c] .magic-tree span{color:var(--resource-span-color)}.magic-toolbar .magic-navbar[data-v-8958a5f2]{flex-direction:column-reverse}.magic-toolbar-header[data-v-8958a5f2]{height:26px;line-height:26px;border-bottom:1px solid var(--main-border-color);border-top:1px solid var(--main-border-color);background-color:var(--main-background-color)}.magic-toolbar-header label[data-v-8958a5f2]{display:inline-block;padding-left:10px}.magic-toolbar .magic-resizer-y[data-v-8958a5f2]{flex-direction:column}.magic-toolbar-header-buttons[data-v-8958a5f2]{float:right;margin-right:5px;vertical-align:middle;display:flex;align-items:center;height:26px}.magic-toolbar-header-buttons .magic-icon[data-v-8958a5f2]{display:inline-block;cursor:pointer;padding:0 2px;height:18px;line-height:18px;border-radius:3px;z-index:99999}.magic-toolbar-header-buttons .magic-icon[data-v-8958a5f2]:hover{background-color:var(--main-hover-icon-background-color)}.magic-toolbar .magic-navbar[data-v-8958a5f2] .magic-navbar-body{background-color:var(--main-background-color)}.magic-panel-api,.magic-panel-function,.magic-event{display:flex;width:100%;height:100%}.magic-panel-api>div,.magic-panel-function>div,.magic-event>div{flex:1}.magic-dialog[data-v-17f31570] .magic-dialog-body{overflow:hidden}.magic-header[data-v-6bfe1363]{height:30px;line-height:30px;background-color:var(--main-background-color);border-bottom:1px solid var(--main-border-color);display:flex;color:var(--header-default-color)}.magic-header .magic-logo[data-v-6bfe1363]{float:left;font-weight:700;font-size:0;letter-spacing:0;background-repeat:no-repeat;background-position:4px 7px;padding-left:25px;color:var(--header-title-color)}.magic-header .magic-logo label[data-v-6bfe1363]{font-size:16px;display:inline-block;margin-right:5px;text-align:left;font-weight:400}.magic-header .magic-logo label[data-v-6bfe1363]:last-child{font-size:12px}.magic-header ul[data-v-6bfe1363]{float:right}.magic-header ul li[data-v-6bfe1363]{cursor:pointer;height:30px;text-align:center;display:inline-flex;align-items:center}.magic-header ul li .magic-icon[data-v-6bfe1363]{padding:0 4px;height:22px;line-height:22px;border-radius:4px}.magic-header ul li.disabled i[data-v-6bfe1363]{color:var(--button-disabled-color)}.magic-header ul li:not(.disabled) .magic-icon[data-v-6bfe1363]:hover{background-color:var(--main-hover-icon-background-color)}.magic-header ul li:not(.disabled) i.magic-icon-run[data-v-6bfe1363],.magic-header ul li i.magic-icon-push[data-v-6bfe1363]{color:#59a869}.magic-header-title[data-v-6bfe1363]{flex:1;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.magic-skin-selector[data-v-6bfe1363]{position:absolute;top:30px;right:30px;z-index:20;background-color:var(--main-background-color);border:1px solid var(--main-border-color);border-top:none}.magic-skin-selector ul li[data-v-6bfe1363]{height:24px;line-height:24px;text-align:center;cursor:pointer;padding:2px 5px}.magic-skin-selector ul li[data-v-6bfe1363]:not(:last-child){border-bottom:1px solid var(--main-border-color)}.magic-skin-selector ul li[data-v-6bfe1363]:hover{background-color:var(--main-hover-background-color)}.magic-dialog[data-v-32537a17] .magic-dialog-body{overflow:hidden}.magic-push-form[data-v-32537a17]{padding:0 10px}.magic-push-form>div[data-v-32537a17]{display:flex;margin-top:5px}.magic-push-form label[data-v-32537a17]{width:80px;text-align:right;display:inline-block}.magic-push-form[data-v-32537a17] .magic-input{width:auto!important;flex:1}.magic-search-result[data-v-2baa1fdc]{overflow:auto;max-height:200px;background-color:var(--navbar-body-background-color)}.magic-search-result .magic-search-result-item[data-v-2baa1fdc]{display:flex;padding:0 5px;line-height:20px}.magic-search-result .magic-search-result-item[data-v-2baa1fdc]:hover,.magic-search-result .magic-search-result-item.selected[data-v-2baa1fdc]{background-color:var(--tree-hover-background-color)}.magic-search-result .magic-search-result-item .label[data-v-2baa1fdc]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.magic-search-result .magic-search-result-item .label[data-v-2baa1fdc] .keyword{background:#FFDE7B;color:#000}.magic-search-result-item .name[data-v-2baa1fdc],.magic-search-result-item .line[data-v-2baa1fdc]{color:var(--resource-span-color)}.magic-search-result .magic-search-result-item .line[data-v-2baa1fdc]{padding-left:5px}.display-text[data-v-2baa1fdc]{padding:0 10px;height:30px;line-height:30px;border-top:1px solid var(--main-border-color);border-bottom:1px solid var(--main-border-color)}.magic-data-resource[data-v-79d71f37]{display:flex;flex-direction:column;flex:1;width:100%}.magic-data-resource .magic-data-resource-header[data-v-79d71f37]{height:24px;line-height:24px;display:flex;background-color:var(--main-background-color);border-bottom:1px solid var(--main-border-color);padding-left:3px}.magic-data-resource .magic-data-resource-header input[data-v-79d71f37]{flex:1;border:none;background:none;height:24px;line-height:24px}.magic-data-resource .magic-data-resource-header ul[data-v-79d71f37]{display:inline-flex;align-items:center}.magic-data-resource .magic-data-resource-header ul li[data-v-79d71f37]{display:inline-block;cursor:pointer;padding:0 3px;height:20px;line-height:20px;border-radius:3px}.magic-data-resource .magic-data-resource-header ul li.separator[data-v-79d71f37]{background-color:var(--main-border-color);width:1px;border-radius:0;padding:0;margin:0 4px}.magic-data-resource .magic-data-resource-header ul li[data-v-79d71f37]:hover{background:var(--main-hover-icon-background-color)}.magic-data-resource>ul li[data-v-79d71f37]{line-height:22px;padding-left:10px}.magic-data-resource>ul li[data-v-79d71f37]:hover{background-color:var(--tree-hover-background-color)}.magic-data-resource>ul li .magic-icon[data-v-79d71f37]{padding-right:2px;font-size:14px}.magic-data-resource>ul li label[data-v-79d71f37]{color:var(--resource-label-color)}.magic-data-resource>ul li span[data-v-79d71f37]{color:var(--resource-span-color);display:inline-block;height:22px;line-height:22px}.magic-data-resource>ul li .magic-icon-datasource[data-v-79d71f37]{color:#089910}.magic-editor .magic-form-row{display:flex;margin-bottom:5px}.magic-editor .magic-form-row label{margin-right:5px;display:inline-block;width:60px;text-align:right;height:22px;line-height:22px}label[data-v-39f3ed68]{width:60px;text-align:right;display:inline-block}.magic-login[data-v-39f3ed68] .magic-input{width:auto!important}.magic-main[data-v-72678ed5]{flex:1;display:flex;border-bottom:1px solid var(--main-border-color);height:0;width:100%}.magic-main-body-wrapper[data-v-72678ed5]{display:flex;flex:1;flex-direction:column}.magic-main-body[data-v-72678ed5]{display:flex;flex:1;overflow:hidden}.magic-toolbar[data-v-72678ed5] .magic-resizer-y .magic-resizer-event{top:auto}ul[data-v-5cd0c142]{max-width:400px;max-height:600px;overflow:auto}ul li[data-v-5cd0c142]:hover{background-color:var(--tree-hover-background-color)}ul li[data-v-5cd0c142]{height:20px;line-height:20px;transition:.3s;word-break:break-all;white-space:nowrap}ul li label[data-v-5cd0c142]{color:var(--resource-label-color)}ul li span[data-v-5cd0c142]{color:var(--resource-span-color)}.magic-dialog-main[data-v-5cd0c142] .magic-dialog-body{padding:0}.magic-resource[data-v-5bd90c18]{display:flex;flex-direction:column;flex:1;width:100%}.magic-resource .magic-resource-header[data-v-5bd90c18]{height:24px;line-height:24px;display:flex;background-color:var(--main-background-color);border-bottom:1px solid var(--main-border-color)}.magic-resource .magic-resource-header input[data-v-5bd90c18]{flex:1;border:none;background:none;height:24px;line-height:24px}.magic-resource .magic-resource-header ul[data-v-5bd90c18]{display:inline-flex;align-items:center}.magic-resource .magic-resource-header ul li[data-v-5bd90c18]{display:inline-block;cursor:pointer;padding:0 3px;height:20px;line-height:20px;border-radius:3px}.magic-resource .magic-resource-header ul li.separator[data-v-5bd90c18]{background-color:var(--main-border-color);width:1px;border-radius:0;padding:0;margin:0 4px}.magic-resource .magic-resource-header ul li[data-v-5bd90c18]:hover{background:var(--main-hover-icon-background-color)}.magic-resource .magic-tree label[data-v-5bd90c18]{color:var(--resource-label-color)}.magic-resource .magic-tree span[data-v-5bd90c18]{color:var(--resource-span-color)}.magic-resource .magic-tree .magic-icon-lock[data-v-5bd90c18]{color:var(--resource-label-color);margin-left:5px}.magic-resource>.magic-tree[data-v-5bd90c18]{flex:1;overflow:auto}.magic-create-group li[data-v-5bd90c18]{display:flex;height:26px;line-height:26px}.magic-create-group li input[data-v-5bd90c18]{flex:1}.magic-resource[data-v-5bd90c18] .magic-avatar-group{margin-left:5px}.magic-script-editor[data-v-8e6e14de]{flex:1;display:flex;flex-direction:column;overflow:auto;position:relative}.magic-empty-container[data-v-8e6e14de]{flex:1;position:relative;width:100%;height:100%;background:var(--empty-background-color)}.magic-hot-key[data-v-8e6e14de]{position:absolute;top:50%;margin-top:-105px;text-align:center;color:var(--empty-color);font-size:16px;width:100%}.magic-hot-key p[data-v-8e6e14de]{display:inline-block;text-align:left;line-height:30px}.magic-hot-key p em[data-v-8e6e14de]{margin-left:15px;font-style:normal;color:var(--empty-key-color)}.magic-monaco-editor[data-v-8e6e14de]{position:absolute;top:30px;bottom:0;left:0;right:0}.magic-script-editor[data-v-8e6e14de] .magic-avatar-group{margin-left:5px}.monaco-editor{font-family:-apple-system,BlinkMacSystemFont,"Segoe WPC","Segoe UI","HelveticaNeue-Light",system-ui,"Ubuntu","Droid Sans",sans-serif;--monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace}.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{position:absolute!important;top:0;height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%)}.monaco-editor.hc-black{-ms-high-contrast-adjust:none}@media screen and (-ms-high-contrast:active){.monaco-editor.vs .view-overlays .current-line,.monaco-editor.vs-dark .view-overlays .current-line{border-color:windowtext!important;border-left:0;border-right:0}.monaco-editor.vs .cursor,.monaco-editor.vs-dark .cursor{background-color:windowtext!important}.monaco-editor.vs .dnd-target,.monaco-editor.vs-dark .dnd-target{border-color:windowtext!important}.monaco-editor.vs .selected-text,.monaco-editor.vs-dark .selected-text{background-color:highlight!important}.monaco-editor.vs .view-line,.monaco-editor.vs-dark .view-line{-ms-high-contrast-adjust:none}.monaco-editor.vs .view-line span,.monaco-editor.vs-dark .view-line span{color:windowtext!important}.monaco-editor.vs .view-line span.inline-selected-text,.monaco-editor.vs-dark .view-line span.inline-selected-text{color:highlighttext!important}.monaco-editor.vs .view-overlays,.monaco-editor.vs-dark .view-overlays{-ms-high-contrast-adjust:none}.monaco-editor.vs .selectionHighlight,.monaco-editor.vs-dark .selectionHighlight,.monaco-editor.vs .wordHighlight,.monaco-editor.vs-dark .wordHighlight,.monaco-editor.vs .wordHighlightStrong,.monaco-editor.vs-dark .wordHighlightStrong,.monaco-editor.vs .reference-decoration,.monaco-editor.vs-dark .reference-decoration{border:2px dotted highlight!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs .rangeHighlight,.monaco-editor.vs-dark .rangeHighlight{background:transparent!important;border:1px dotted activeborder!important;box-sizing:border-box}.monaco-editor.vs .bracket-match,.monaco-editor.vs-dark .bracket-match{border-color:windowtext!important;background:transparent!important}.monaco-editor.vs .findMatch,.monaco-editor.vs-dark .findMatch,.monaco-editor.vs .currentFindMatch,.monaco-editor.vs-dark .currentFindMatch{border:2px dotted activeborder!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs .find-widget,.monaco-editor.vs-dark .find-widget{border:1px solid windowtext}.monaco-editor.vs .monaco-list .monaco-list-row,.monaco-editor.vs-dark .monaco-list .monaco-list-row{-ms-high-contrast-adjust:none;color:windowtext!important}.monaco-editor.vs .monaco-list .monaco-list-row.focused,.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused{color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs .monaco-list .monaco-list-row:hover,.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover{background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-editor.vs .monaco-scrollable-element>.scrollbar,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar{-ms-high-contrast-adjust:none;background:background!important;border:1px solid windowtext;box-sizing:border-box}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider{background:windowtext!important}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider:hover,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider:hover{background:highlight!important}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active{background:highlight!important}.monaco-editor.vs .decorationsOverviewRuler,.monaco-editor.vs-dark .decorationsOverviewRuler{opacity:0}.monaco-editor.vs .minimap,.monaco-editor.vs-dark .minimap{display:none}.monaco-editor.vs .squiggly-d-error,.monaco-editor.vs-dark .squiggly-d-error{background:transparent!important;border-bottom:4px double #E47777}.monaco-editor.vs .squiggly-c-warning,.monaco-editor.vs-dark .squiggly-c-warning{border-bottom:4px double #71B771}.monaco-editor.vs .squiggly-b-info,.monaco-editor.vs-dark .squiggly-b-info{border-bottom:4px double #71B771}.monaco-editor.vs .squiggly-a-hint,.monaco-editor.vs-dark .squiggly-a-hint{border-bottom:4px double #6c6c6c}.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{-ms-high-contrast-adjust:none;color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label{-ms-high-contrast-adjust:none;background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-diff-editor.vs .diffOverviewRuler,.monaco-diff-editor.vs-dark .diffOverviewRuler{display:none}.monaco-editor.vs .line-insert,.monaco-editor.vs-dark .line-insert,.monaco-editor.vs .line-delete,.monaco-editor.vs-dark .line-delete{background:transparent!important;border:1px solid highlight!important;box-sizing:border-box}.monaco-editor.vs .char-insert,.monaco-editor.vs-dark .char-insert,.monaco-editor.vs .char-delete,.monaco-editor.vs-dark .char-delete{background:transparent!important}}.monaco-aria-container{position:absolute;left:-999em}::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{position:relative;overflow:visible;-webkit-text-size-adjust:100%}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent}.monaco-editor .inputarea.ime-input{z-index:10}.monaco-editor .margin-view-overlays .line-numbers{font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default;height:100%}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-mouse-cursor-text{cursor:text}.vs-dark .mac .monaco-mouse-cursor-text,.hc-black .mac .monaco-mouse-cursor-text,.vs-dark.mac .monaco-mouse-cursor-text,.hc-black.mac .monaco-mouse-cursor-text{cursor:-webkit-image-set(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=) 1x,url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC) 2x) 5 8,text}.monaco-editor .view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr{position:absolute}.monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:rgba(0,0,0,0);transition:opacity .1s linear}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:#ddd 0 6px 6px -6px inset}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:#ddd 6px 0 6px -6px inset}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{box-shadow:#ddd 6px 6px 6px -6px inset}.vs .monaco-scrollable-element>.scrollbar>.slider{background:rgba(100,100,100,.4)}.vs-dark .monaco-scrollable-element>.scrollbar>.slider{background:rgba(121,121,121,.4)}.hc-black .monaco-scrollable-element>.scrollbar>.slider{background:rgba(111,195,223,.6)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:rgba(100,100,100,.7)}.hc-black .monaco-scrollable-element>.scrollbar>.slider:hover{background:rgba(111,195,223,.8)}.monaco-scrollable-element>.scrollbar>.slider.active{background:rgba(0,0,0,.6)}.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active{background:rgba(191,191,191,.4)}.hc-black .monaco-scrollable-element>.scrollbar>.slider.active{background:rgba(111,195,223,1)}.vs-dark .monaco-scrollable-element .shadow.top{box-shadow:none}.vs-dark .monaco-scrollable-element .shadow.left{box-shadow:#000 6px 0 6px -6px inset}.vs-dark .monaco-scrollable-element .shadow.top.left{box-shadow:#000 6px 6px 6px -6px inset}.hc-black .monaco-scrollable-element .shadow.top{box-shadow:none}.hc-black .monaco-scrollable-element .shadow.left{box-shadow:none}.hc-black .monaco-scrollable-element .shadow.top.left{box-shadow:none}.monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .margin-view-overlays .cgmr{position:absolute;display:flex;align-items:center;justify-content:center}.monaco-editor .lines-content .core-guide{position:absolute}.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .mtkz{display:inline-block}.monaco-editor .lines-decorations{position:absolute;top:0;background:white}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}.monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover:hover .minimap-slider{opacity:1}.monaco-editor .minimap.slider-mouseover .minimap-slider.active{opacity:1}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{position:absolute;left:-6px;width:6px}.monaco-editor.no-minimap-shadow .minimap-shadow-visible{position:absolute;left:-1px;width:1px}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{position:absolute;top:0}.monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px}.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{box-sizing:border-box;background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:rgba(0,0,0,.03)}.monaco-diff-editor.vs-dark .diffOverview{background:rgba(255,255,255,.01)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar{background:rgba(0,0,0,0)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar{background:rgba(0,0,0,0)}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:rgba(171,171,171,.4)}.modified-in-monaco-diff-editor.hc-black .slider.active{background:none}.monaco-editor .insert-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-diff-editor .delete-sign{font-size:11px!important;opacity:.7!important;display:flex!important;align-items:center}.monaco-editor.hc-black .insert-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .delete-sign{opacity:1}.monaco-editor .inline-deleted-margin-view-zone{text-align:right}.monaco-editor .inline-added-margin-view-zone{text-align:right}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}:root{--sash-size: 4px}.monaco-sash{position:absolute;z-index:35;touch-action:none}.monaco-sash.disabled{pointer-events:none}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.vertical{cursor:ew-resize;top:0;width:var(--sash-size);height:100%}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:var(--sash-size)}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:" ";height:calc(var(--sash-size) * 2);width:calc(var(--sash-size) * 2);z-index:100;display:block;cursor:all-scroll;position:absolute}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--sash-size) * -.5);top:calc(var(--sash-size) * -1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{left:calc(var(--sash-size) * -.5);bottom:calc(var(--sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{top:calc(var(--sash-size) * -.5);left:calc(var(--sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{top:calc(var(--sash-size) * -.5);right:calc(var(--sash-size) * -1)}.monaco-sash:before{content:"";pointer-events:none;position:absolute;width:100%;height:100%;transition:background-color .1s ease-out;background:transparent}.monaco-sash.vertical:before{width:var(--sash-hover-size);left:calc(50% - (var(--sash-hover-size) / 2))}.monaco-sash.horizontal:before{height:var(--sash-hover-size);top:calc(50% - (var(--sash-hover-size) / 2))}.monaco-sash.debug{background:cyan}.monaco-sash.debug.disabled{background:rgba(0,255,255,.2)}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block}.monaco-diff-editor .diff-review{position:absolute;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-diff-editor .diff-review-spacer>.codicon{font-size:9px!important}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}.monaco-action-bar{white-space:nowrap;height:100%}.monaco-action-bar .actions-container{display:flex;margin:0 auto;padding:0;height:100%;width:100%;align-items:center}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar .action-item{display:block;align-items:center;justify-content:center;cursor:pointer;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar .action-item .icon,.monaco-action-bar .action-item .codicon{display:block}.monaco-action-bar .action-item .codicon{display:flex;align-items:center;width:16px;height:16px}.monaco-action-bar .action-label{font-size:11px;padding:3px;border-radius:5px}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:before,.monaco-action-bar .action-item.disabled .action-label:hover{opacity:.4}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{display:block;border-bottom:1px solid #bbb;padding-top:1px;margin-left:.8em;margin-right:.8em}.monaco-action-bar .action-item .action-label.separator{width:1px;height:16px;margin:5px 4px!important;cursor:default;min-width:1px;padding:0;background-color:#bbb}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{overflow:hidden;flex:1;max-width:170px;min-width:60px;display:flex;align-items:center;justify-content:center;margin-right:10px}.monaco-action-bar .action-item.action-dropdown-item{display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-label{margin-right:1px}@font-face{font-family:"codicon";font-display:block;src:url(./codicon.d86f69b1.ttf) format("truetype")}.codicon[class*=codicon-]{font:normal normal normal 16px/1 codicon;display:inline-block;text-decoration:none;text-rendering:auto;text-align:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;user-select:none;-webkit-user-select:none;-ms-user-select:none}.codicon-wrench-subaction{opacity:.5}@keyframes codicon-spin{to{transform:rotate(360deg)}}.codicon-sync.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-gear.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.context-view{position:absolute;z-index:2500}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;z-index:2500;color:inherit}.context-view .monaco-menu{min-width:130px}.monaco-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-single,.monaco-list.selection-multiple{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute;z-index:1000}.monaco-list-type-filter{display:flex;align-items:center;position:absolute;border-radius:2px;padding:0 3px;max-width:calc(100% - 10px);text-overflow:ellipsis;overflow:hidden;text-align:right;box-sizing:border-box;cursor:all-scroll;font-size:13px;line-height:18px;height:20px;z-index:1;top:4px}.monaco-list-type-filter.dragging{transition:top .2s,left .2s}.monaco-list-type-filter.ne{right:4px}.monaco-list-type-filter.nw{left:4px}.monaco-list-type-filter>.controls{display:flex;align-items:center;box-sizing:border-box;transition:width .2s;width:0}.monaco-list-type-filter.dragging>.controls,.monaco-list-type-filter:hover>.controls{width:36px}.monaco-list-type-filter>.controls>*{border:none;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;background:none;width:16px;height:16px;flex-shrink:0;margin:0;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.monaco-list-type-filter>.controls>.filter{margin-left:4px}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}.monaco-list-type-filter{cursor:grab}.monaco-list-type-filter.dragging{cursor:grabbing}.monaco-split-view2{position:relative;width:100%;height:100%}.monaco-split-view2>.sash-container{position:absolute;width:100%;height:100%;pointer-events:none}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:initial}.monaco-split-view2>.monaco-scrollable-element{width:100%;height:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{width:100%;height:100%;white-space:nowrap;position:relative}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{white-space:initial;position:absolute}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{content:" ";position:absolute;top:0;left:0;z-index:5;pointer-events:none;background-color:var(--separator-border)}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}.monaco-table{display:flex;flex-direction:column;position:relative;height:100%;width:100%;white-space:nowrap}.monaco-table>.monaco-split-view2{border-bottom:1px solid transparent}.monaco-table>.monaco-list{flex:1}.monaco-table-tr{display:flex;height:100%}.monaco-table-th{width:100%;height:100%;font-weight:bold;overflow:hidden;text-overflow:ellipsis}.monaco-table-th,.monaco-table-td{box-sizing:border-box;flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{content:"";position:absolute;left:calc(var(--sash-size) / 2);width:0;border-left:1px solid transparent}.monaco-table>.monaco-split-view2,.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-tl-row{display:flex;height:100%;align-items:center;position:relative}.monaco-tl-indent{height:100%;position:absolute;top:0;left:16px;pointer-events:none}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{display:inline-block;box-sizing:border-box;height:100%;border-left:1px solid transparent}.monaco-tl-indent>.indent-guide{transition:border-color .1s linear}.monaco-tl-twistie,.monaco-tl-contents{height:100%}.monaco-tl-twistie{font-size:10px;text-align:right;padding-right:6px;flex-shrink:0;width:16px;display:flex!important;align-items:center;justify-content:center;transform:translate(3px)}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie:before{border-radius:20px}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{animation:codicon-spin 1.25s steps(30) infinite}.quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight,.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight,.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight,.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight,.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.monaco-keybinding>.monaco-keybinding-key{background-color:#ddd6;border:solid 1px rgba(204,204,204,.4);border-bottom-color:#bbb6;box-shadow:inset 0 -1px #bbb6;color:#555}.hc-black .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:solid 1px rgb(111,195,223);box-shadow:none;color:#fff}.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:#8080802b;border:solid 1px rgba(51,51,51,.6);border-bottom-color:#4449;box-shadow:inset 0 -1px #4449;color:#ccc}.monaco-text-button{box-sizing:border-box;display:flex;width:100%;padding:4px;text-align:center;cursor:pointer;justify-content:center;align-items:center}.monaco-text-button:focus{outline-offset:2px!important}.monaco-text-button:hover{text-decoration:none!important}.monaco-button.disabled:focus,.monaco-button.disabled{opacity:.4!important;cursor:default}.monaco-text-button>.codicon{margin:0 .2em;color:inherit!important}.monaco-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown>.monaco-dropdown-button{margin-left:1px}.monaco-description-button{flex-direction:column}.monaco-description-button .monaco-button-label{font-weight:500}.monaco-description-button .monaco-button-description{font-style:italic}.monaco-count-badge{padding:3px 6px;border-radius:11px;font-size:11px;min-width:18px;min-height:18px;line-height:11px;font-weight:normal;text-align:center;display:inline-block;box-sizing:border-box}.monaco-count-badge.long{padding:2px 3px;border-radius:2px;min-height:auto;line-height:normal}.monaco-progress-container{width:100%;height:5px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:5px;position:absolute;left:0;display:none}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{animation-name:progress;animation-duration:4s;animation-iteration-count:infinite;animation-timing-function:linear;transform:translate(0)}@keyframes progress{0%{transform:translate(0) scaleX(1)}50%{transform:translate(2500%) scaleX(3)}to{transform:translate(4900%) scaleX(1)}}.quick-input-widget{position:absolute;width:600px;z-index:2000;padding:0 1px 1px;left:50%;margin-left:-300px}.quick-input-titlebar{display:flex;align-items:center}.quick-input-left-action-bar{display:flex;margin-left:4px;flex:1}.quick-input-title{padding:3px 0;text-align:center;text-overflow:ellipsis;overflow:hidden}.quick-input-right-action-bar{display:flex;margin-right:4px;flex:1}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:center;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px}.quick-input-header .quick-input-description{margin:4px 2px}.quick-input-header{display:flex;padding:6px 6px 0;margin-bottom:-2px}.quick-input-widget.hidden-input .quick-input-header{padding:0;margin-bottom:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;position:absolute;right:4px;display:flex;align-items:center}.quick-input-count .monaco-count-badge{vertical-align:middle;padding:2px 4px;border-radius:2px;min-height:auto;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{font-size:11px;padding:0 6px;display:flex;height:27.5px;align-items:center}.quick-input-message{margin-top:-1px;padding:5px 5px 2px;overflow-wrap:break-word}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-progress.monaco-progress-container,.quick-input-progress.monaco-progress-container .progress-bit{height:2px}.quick-input-list{line-height:22px;margin-top:6px}.quick-input-widget.hidden-input .quick-input-list{margin-top:0}.quick-input-list .monaco-list{overflow:hidden;max-height:440px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;overflow:hidden;display:flex;height:100%;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-width:1px;border-top-style:solid}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{overflow:hidden;display:flex;height:100%;flex:1}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-rows{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%;flex:1;margin-left:5px}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{display:flex;align-items:center}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;line-height:normal;text-overflow:ellipsis;overflow:hidden}.quick-input-list .monaco-highlighted-label .highlight{font-weight:bold}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:8px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:0 2px 2px}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px}.quick-input-list .quick-input-list-entry-action-bar{margin-right:4px}.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}.monaco-inputbox{position:relative;display:block;padding:0;box-sizing:border-box;font-size:inherit}.monaco-inputbox.idle{border:1px solid transparent}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px}.monaco-inputbox>.ibwrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.ibwrapper>.input{display:inline-block;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;-ms-overflow-style:none;scrollbar-width:none;outline:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}.monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:left center;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;line-height:inherit!important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;flex-shrink:0}.monaco-icon-label>.monaco-icon-label-container{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{white-space:nowrap}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{font-style:italic}.monaco-icon-label.deprecated{text-decoration:line-through;opacity:.66}.monaco-icon-label.italic:after{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;margin:auto 16px 0 5px;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}.monaco-keybinding{display:flex;align-items:center;line-height:10px}.monaco-keybinding>.monaco-keybinding-key{display:inline-block;border-style:solid;border-width:1px;border-radius:3px;vertical-align:middle;font-size:11px;padding:3px 5px;margin:0 2px}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}.monaco-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{box-sizing:border-box}.monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px;z-index:10000}.monaco-editor .monaco-editor-overlaymessage.below{padding-bottom:0;padding-top:8px;z-index:10000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:fadeIn .15s ease-out}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:fadeOut .1s ease-out}.monaco-editor .monaco-editor-overlaymessage .message{padding:1px 4px}.monaco-editor .monaco-editor-overlaymessage .anchor{width:0!important;height:0!important;border-color:transparent;border-style:solid;z-index:1000;border-width:8px;position:absolute}.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,.monaco-editor .monaco-editor-overlaymessage.below .anchor.below{display:none}.monaco-editor .monaco-editor-overlaymessage.below .anchor.top{display:inherit;top:-8px}.monaco-editor .contentWidgets .codicon-light-bulb,.monaco-editor .contentWidgets .codicon-lightbulb-autofix{display:flex;align-items:center;justify-content:center}.monaco-editor .contentWidgets .codicon-light-bulb:hover,.monaco-editor .contentWidgets .codicon-lightbulb-autofix:hover{cursor:pointer}.monaco-editor .codelens-decoration{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .codelens-decoration>span,.monaco-editor .codelens-decoration>a{user-select:none;-webkit-user-select:none;-ms-user-select:none;white-space:nowrap;vertical-align:sub}.monaco-editor .codelens-decoration>a{text-decoration:none}.monaco-editor .codelens-decoration>a:hover{cursor:pointer}.monaco-editor .codelens-decoration .codicon{vertical-align:middle;color:currentColor!important}.monaco-editor .codelens-decoration>a:hover .codicon:before{cursor:pointer}@keyframes fadein{0%{opacity:0;visibility:visible}to{opacity:1}}.monaco-editor .codelens-decoration.fadein{animation:fadein .1s linear}.monaco-editor .goto-definition-link{text-decoration:underline;cursor:pointer}.monaco-editor .peekview-widget .head{box-sizing:border-box;display:flex}.monaco-editor .peekview-widget .head .peekview-title{display:flex;align-items:center;font-size:13px;margin-left:20px;min-width:0}.monaco-editor .peekview-widget .head .peekview-title.clickable{cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){font-size:.9em;margin-left:.5em}.monaco-editor .peekview-widget .head .peekview-title .meta{white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .dirname{white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty):before{content:"-";padding:0 .3em}.monaco-editor .peekview-widget .head .peekview-actions{flex:1;text-align:right;padding-right:2px}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar{display:inline-block}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container{height:100%}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{margin-right:4px}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon{color:inherit!important}.monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-top-style:solid;border-bottom-style:solid;border-top-width:0;border-bottom-width:0;position:relative}.monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{cursor:pointer;height:100%;display:flex;align-items:center;justify-content:center}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.monaco-action-bar .action-item.menu-entry .action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-action-bar .action-item.menu-entry .action-label{background-image:var(--menu-entry-icon-light)}.vs-dark .monaco-action-bar .action-item.menu-entry .action-label,.hc-black .monaco-action-bar .action-item.menu-entry .action-label{background-image:var(--menu-entry-icon-dark)}.monaco-dropdown-with-default{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label{background-image:var(--menu-entry-icon-light)}.vs-dark .monaco-dropdown-with-default>.action-container.menu-entry>.action-label,.hc-black .monaco-dropdown-with-default>.action-container.menu-entry>.action-label{background-image:var(--menu-entry-icon-dark)}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-top-width:1px;border-bottom-width:1px}.monaco-editor .reference-zone-widget .inline{display:inline-block;vertical-align:top}.monaco-editor .reference-zone-widget .messages{height:100%;width:100%;text-align:center;padding:3em 0}.monaco-editor .reference-zone-widget .ref-tree{line-height:23px}.monaco-editor .reference-zone-widget .ref-tree .reference{text-overflow:ellipsis;overflow:hidden}.monaco-editor .reference-zone-widget .ref-tree .reference-file{display:inline-flex;width:100%;height:100%}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file{color:inherit!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-right:12px;margin-left:auto}.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file{font-weight:bold}.monaco-hover{cursor:default;position:absolute;overflow:hidden;z-index:50;user-select:text;-webkit-user-select:text;-ms-user-select:text;box-sizing:initial;animation:fadein .1s linear;line-height:1.5em}.monaco-hover.hidden{display:none}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:500px;word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-hover p,.monaco-hover .code,.monaco-hover ul{margin:8px 0}.monaco-hover code{font-family:var(--monaco-monospace-font)}.monaco-hover hr{box-sizing:border-box;border-left:0px;border-right:0px;margin:4px -8px -4px;height:1px}.monaco-hover p:first-child,.monaco-hover .code:first-child,.monaco-hover ul:first-child{margin-top:0}.monaco-hover p:last-child,.monaco-hover .code:last-child,.monaco-hover ul:last-child{margin-bottom:0}.monaco-hover ul{padding-left:20px}.monaco-hover ol{padding-left:20px}.monaco-hover li>p{margin-bottom:0}.monaco-hover li>ul{margin-top:0}.monaco-hover code{border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:pre-wrap}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px}.monaco-hover .hover-row.status-bar .actions .action-container{margin-right:16px;cursor:pointer}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-hover .hover-contents a.code-link:hover,.monaco-hover .hover-contents a.code-link{color:inherit}.monaco-hover .hover-contents a.code-link:before{content:"("}.monaco-hover .hover-contents a.code-link:after{content:")"}.monaco-hover .hover-contents a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{margin-bottom:4px;display:inline-block}.monaco-hover-content .action-container a{-webkit-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{pointer-events:none;opacity:.4;cursor:default}.colorpicker-widget{height:190px;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .colorpicker-hover:focus{outline:none}.colorpicker-header{display:flex;height:24px;position:relative;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-header .picked-color{width:216px;line-height:24px;cursor:pointer;color:#fff;flex:1;text-align:center}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{width:74px;z-index:inherit;cursor:pointer}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{overflow:hidden;height:150px;position:relative;min-width:220px;flex:1}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{width:9px;height:9px;margin:-5px 0 0 -5px;border:1px solid rgb(255,255,255);border-radius:100%;box-shadow:0 0 2px #000c;position:absolute}.colorpicker-body .strip{width:25px;height:150px}.colorpicker-body .hue-strip{position:relative;margin-left:8px;cursor:grab;background:linear-gradient(to bottom,#ff0000 0%,#ffff00 17%,#00ff00 33%,#00ffff 50%,#0000ff 67%,#ff00ff 83%,#ff0000 100%)}.colorpicker-body .opacity-strip{position:relative;margin-left:8px;cursor:grab;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-body .strip.grabbing{cursor:grabbing}.colorpicker-body .slider{position:absolute;top:0;left:-2px;width:calc(100% + 4px);height:4px;box-sizing:border-box;border:1px solid rgba(255,255,255,.71);box-shadow:0 0 1px #000000d9}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}.monaco-editor .peekview-widget .head .peekview-title .severity-icon{display:inline-block;vertical-align:text-top;margin-right:4px}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{opacity:.6;font-style:italic}.monaco-editor .marker-widget .title{display:inline-block;padding-right:5px}.monaco-editor .marker-widget .descriptioncontainer{position:absolute;white-space:pre;user-select:text;-webkit-user-select:text;-ms-user-select:text;padding:8px 12px 0 20px}.monaco-editor .marker-widget .descriptioncontainer .message{display:flex;flex-direction:column}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message .source,.monaco-editor .marker-widget .descriptioncontainer .message span.code{opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link{opacity:.6;color:inherit}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before{content:"("}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after{content:")"}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under}.monaco-editor .marker-widget .descriptioncontainer .filename{cursor:pointer}.monaco-editor .snippet-placeholder{min-width:2px;outline-style:solid;outline-width:1px}.monaco-editor .finish-snippet-placeholder{outline-style:solid;outline-width:1px}.monaco-editor .suggest-widget{width:430px;z-index:40;display:flex;flex-direction:column}.monaco-editor .suggest-widget.message{flex-direction:row;align-items:center}.monaco-editor .suggest-widget,.monaco-editor .suggest-details{flex:0 1 auto;width:100%;border-style:solid;border-width:1px}.monaco-editor.hc-black .suggest-widget,.monaco-editor.hc-black .suggest-details{border-width:2px}.monaco-editor .suggest-widget .suggest-status-bar{box-sizing:border-box;display:none;flex-flow:row nowrap;justify-content:space-between;width:100%;font-size:80%;padding:0 4px;border-top:1px solid transparent;overflow:hidden}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar{display:flex}.monaco-editor .suggest-widget .suggest-status-bar .left{padding-right:8px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{opacity:.5;color:inherit}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label{margin-right:0}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:", ";margin-right:.3em}.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:100%}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget>.tree{height:100%;width:100%}.monaco-editor .suggest-widget .monaco-list{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{display:flex;-mox-box-sizing:border-box;box-sizing:border-box;padding-right:10px;background-repeat:no-repeat;background-position:2px 2px;white-space:nowrap;cursor:pointer;touch-action:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;overflow:hidden;padding-left:2px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{display:flex;overflow:hidden;text-overflow:ellipsis;white-space:pre;justify-content:space-between}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{display:flex}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight{font-weight:bold}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:before{color:inherit;opacity:1;font-size:14px;cursor:pointer}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close{position:absolute;top:6px;right:2px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover{opacity:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{opacity:.7}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label{overflow:hidden;text-overflow:ellipsis;opacity:.6}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label{margin-left:12px;opacity:.4;font-size:85%;line-height:initial;text-overflow:ellipsis;overflow:hidden;align-self:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{font-size:85%;margin-left:1.1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{display:none}.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:calc(100% - 26px)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left{flex-shrink:1;flex-grow:1;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label{flex-shrink:0}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label{max-width:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label{flex-shrink:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{overflow:hidden;flex-shrink:4;max-width:70%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:inline-block;position:absolute;right:10px;width:18px;height:18px;visibility:hidden}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none!important}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:inline-block}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:hover>.contents>.main>.right>.readMore{visibility:visible}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated{opacity:.66;text-decoration:unset}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container{text-decoration:line-through}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label:before{height:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{display:block;height:16px;width:16px;margin-left:2px;background-repeat:no-repeat;background-size:80%;background-position:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon{display:flex;align-items:center;margin-right:4px}.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon:before{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{margin:0 0 0 .3em;border:.1em solid #000;width:.7em;height:.7em;display:inline-block}.monaco-editor .suggest-details-container{z-index:41}.monaco-editor .suggest-details{display:flex;flex-direction:column;cursor:default}.monaco-editor .suggest-details.no-docs{display:none}.monaco-editor .suggest-details>.monaco-scrollable-element{flex:1}.monaco-editor .suggest-details>.monaco-scrollable-element>.body{box-sizing:border-box;height:100%;width:100%}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type{flex:2;overflow:hidden;text-overflow:ellipsis;opacity:.7;white-space:pre;margin:0 24px 0 0;padding:4px 0 12px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap{white-space:normal;word-break:break-all}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs{margin:0;padding:4px 5px;white-space:pre-wrap}.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs{margin-right:24px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs{padding:0;white-space:initial;min-height:calc(1rem + 8px)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child{margin-top:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child{margin-bottom:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon{vertical-align:sub}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty{display:none}.monaco-editor .suggest-details code{border-radius:3px;padding:0 .4em}.monaco-editor .suggest-details ul{padding-left:20px}.monaco-editor .suggest-details ol{padding-left:20px}.monaco-editor .suggest-details p code{font-family:var(--monaco-monospace-font)}.monaco-editor .suggest-preview-additional-widget{white-space:nowrap}.monaco-editor .suggest-preview-additional-widget .content-spacer{color:transparent;white-space:pre}.monaco-editor .suggest-preview-additional-widget .button{display:inline-block;cursor:pointer;text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-hidden{opacity:0;font-size:0}.monaco-editor .ghost-text-decoration{font-style:italic}.monaco-editor .suggest-preview-text{font-style:italic}.monaco-editor.vs .dnd-target{border-right:2px dotted black;color:#fff}.monaco-editor.vs-dark .dnd-target{border-right:2px dotted #AEAFAD;color:#51504f}.monaco-editor.hc-black .dnd-target{border-right:2px dotted #fff;color:#000}.monaco-editor.mouse-default .view-lines,.monaco-editor.vs-dark.mac.mouse-default .view-lines,.monaco-editor.hc-black.mac.mouse-default .view-lines{cursor:default}.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines,.monaco-editor.hc-black.mac.mouse-copy .view-lines{cursor:copy}.monaco-custom-checkbox{margin-left:2px;float:left;cursor:pointer;overflow:hidden;opacity:.7;width:20px;height:20px;border:1px solid transparent;padding:1px;box-sizing:border-box;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-custom-checkbox:hover,.monaco-custom-checkbox.checked{opacity:1}.hc-black .monaco-custom-checkbox{background:none}.hc-black .monaco-custom-checkbox:hover{background:none}.monaco-custom-checkbox.monaco-simple-checkbox{height:18px;width:18px;border:1px solid transparent;border-radius:3px;margin-right:9px;margin-left:0;padding:0;opacity:1;background-size:16px!important}.monaco-custom-checkbox.monaco-simple-checkbox:not(.checked):before{visibility:hidden}.monaco-editor .find-widget{position:absolute;z-index:35;height:33px;overflow:hidden;line-height:19px;transition:transform .2s linear;padding:0 4px;box-sizing:border-box;transform:translateY(calc(-100% - 10px))}.monaco-editor .find-widget textarea{margin:0}.monaco-editor .find-widget.hiddenEditor{display:none}.monaco-editor .find-widget.replaceToggled>.replace-part{display:flex}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-editor .find-widget .monaco-inputbox .input{background-color:transparent;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{margin:4px 0 0 17px;font-size:12px;display:flex}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-top:2px;padding-bottom:2px}.monaco-editor .find-widget>.find-part .find-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget>.replace-part .replace-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget .monaco-findInput{vertical-align:middle;display:flex;flex:1}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element{width:100%}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical{opacity:0}.monaco-editor .find-widget .matchesCount{display:flex;flex:initial;margin:0 0 0 3px;padding:2px 0 0 2px;height:25px;vertical-align:middle;box-sizing:border-box;text-align:center;line-height:23px}.monaco-editor .find-widget .button{width:16px;height:16px;padding:3px;border-radius:5px;flex:initial;margin-left:3px;background-position:center center;background-repeat:no-repeat;cursor:pointer;display:flex;align-items:center;justify-content:center}.monaco-editor .find-widget .codicon-find-selection{width:22px;height:22px;padding:3px;border-radius:5px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{width:auto;padding:1px 6px;top:-1px}.monaco-editor .find-widget .button.toggle{position:absolute;top:0;left:3px;width:18px;height:100%;border-radius:0;box-sizing:border-box}.monaco-editor .find-widget .button.toggle.disabled{display:none}.monaco-editor .find-widget .disabled{opacity:.3;cursor:default}.monaco-editor .find-widget>.replace-part{display:none}.monaco-editor .find-widget>.replace-part>.monaco-findInput{position:relative;display:flex;vertical-align:middle;flex:auto;flex-grow:0;flex-shrink:0}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.monaco-editor .find-widget.reduced-find-widget .matchesCount{display:none}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls{display:none}.monaco-editor .findMatch{animation-duration:0;animation-name:inherit!important}.monaco-editor .find-widget .monaco-sash{left:0!important}.monaco-editor.hc-black .find-widget .button:before{position:relative;top:1px;left:2px}.monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:rgba(253,255,0,.8)}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:rgba(253,255,0,.8)}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:rgba(255,255,255,.44)}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:rgba(255,255,255,.44)}99%{background:transparent}}.monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-editor .margin-view-overlays .codicon-folding-collapsed{cursor:pointer;opacity:0;transition:opacity .5s;display:flex;align-items:center;justify-content:center;font-size:140%;margin-left:2px}.monaco-editor .margin-view-overlays:hover .codicon,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons{opacity:1}.monaco-editor .inline-folded:after{color:gray;margin:.1em .2em 0;content:"\22ef";display:inline;line-height:1em;cursor:pointer}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-decoration:underline;text-underline-position:under}.monaco-editor .detected-link-active{cursor:pointer}.monaco-editor .parameter-hints-widget{z-index:10;display:flex;flex-direction:column;line-height:1.5em}.monaco-editor .parameter-hints-widget>.phwrapper{max-width:440px;display:flex;flex-direction:row}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.visible{transition:left .05s ease-in-out}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul{margin:8px 0}.monaco-editor .parameter-hints-widget .monaco-scrollable-element,.monaco-editor .parameter-hints-widget .body{display:flex;flex:1;flex-direction:column;min-height:100%}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs.empty{display:none}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:initial}.monaco-editor .parameter-hints-widget .docs .markdown-docs code{font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .docs .code{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs code{border-radius:3px;padding:0 .4em}.monaco-editor .parameter-hints-widget .controls{display:none;flex-direction:column;align-items:center;min-width:22px;justify-content:flex-end}.monaco-editor .parameter-hints-widget.multiple .controls{display:flex;padding:0 2px}.monaco-editor .parameter-hints-widget.multiple .button{width:16px;height:16px;background-repeat:no-repeat;cursor:pointer}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{text-align:center;height:12px;line-height:12px;opacity:.5;font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .signature .parameter.active{font-weight:bold;text-decoration:underline}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:bold;margin-right:.5em}.monaco-editor .rename-box{z-index:100;color:inherit}.monaco-editor .rename-box.preview{padding:3px 3px 0}.monaco-editor .rename-box .rename-input{padding:3px;width:calc(100% - 6px)}.monaco-editor .rename-box .rename-label{display:none;opacity:.8}.monaco-editor .rename-box.preview .rename-label{display:inherit}.monaco-editor .accessibilityHelpWidget{padding:10px;vertical-align:middle;overflow:scroll}.monaco-editor .iPadShowKeyboard{width:58px;min-width:0;height:36px;min-height:0;margin:0;padding:0;position:absolute;resize:none;overflow:hidden;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjNDI0MjQyIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #F6F6F6;border-radius:4px}.monaco-editor.vs-dark .iPadShowKeyboard{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjQzVDNUM1Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #252526}.monaco-editor .tokens-inspect-widget{z-index:50;user-select:text;-webkit-user-select:text;-ms-user-select:text;padding:10px}.tokens-inspect-separator{height:1px;border:0}.monaco-editor .tokens-inspect-widget .tm-token{font-family:var(--monaco-monospace-font)}.monaco-editor .tokens-inspect-widget .tm-token-length{font-weight:normal;font-size:60%;float:right}.monaco-editor .tokens-inspect-widget .tm-metadata-table{width:100%}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)} diff --git a/magic-editor/src/console/dist/assets/style.3babd529.css b/magic-editor/src/console/dist/assets/style.3babd529.css deleted file mode 100644 index 58b9e35b..00000000 --- a/magic-editor/src/console/dist/assets/style.3babd529.css +++ /dev/null @@ -1 +0,0 @@ -html,body,#app{width:100%;height:100%;margin:0!important}@font-face{font-family:JetBrainsMono;src:url(./JetBrainsMono-Regular.bceff071.woff2) format("woff2");font-weight:100;font-style:normal}.magic-editor{width:100%;height:100%;overflow:auto;display:flex;flex-direction:column;position:relative;min-width:1200px;min-height:600px;font-size:12px;letter-spacing:0px;background-color:var(--main-background-color);cursor:default;color:var(--main-color);outline:0;--main-color: #000;--main-background-color: #f2f2f2;--main-border-color: #cdcdcd;--main-hover-background-color: #d9d9d9;--main-hover-icon-background-color: #d9d9d9;--main-selected-background-color: #bdbdbd;--main-selected-color: #000;--main-icon-color: #6e6e6e;--navbar-body-background-color: #fff;--navbar-body-border-color: #c0c0c0;--header-title-color: #000;--header-default-color: #6e6e6e;--empty-background-color: #b6b6b6;--empty-color: #505050;--empty-key-color: #5263a0;--tree-hover-background-color: #d4d4d4;--tree-icon-color: #aeb9c0;--table-border-color: #bdbdbd;--input-border-color: #bdbdbd;--input-background-color: #fff;--input-focus-color: #0784de;--dialog-border-color: #707070;--dialog-shadow-color: #cfcfcf;--button-border-color: #adadad;--button-background-color: #e3e3e3;--button-hover-border-color: #99a0a5;--button-hover-background-color: #e3f1fa;--button-disabled-color: #bdbdbd;--select-background-color: #e3e3e3;--select-hover-background-color: #e3f1fa;--select-option-background-color: #fff;--select-option-border-color: #808080;--select-option-hover-background-color: #1a7dc4;--select-option-hover-color: #fff;--select-inputable-background-color: #fff;--tab-selected-background-color: #fff;--icon-debug-color: #59A869;--icon-step-color: #389FD6;--data-type-default-color: #000;--data-type-string-color: #008000;--data-type-integer-color: #0000ff;--data-type-number-color: #0000ff;--data-type-byte-color: #0000ff;--data-type-long-color: #0000ff;--data-type-float-color: #0000ff;--data-type-double-color: #0000ff;--data-type-short-color: #0000ff;--data-type-boolean-color: #000080;--data-type-class-color: #660e7a;--data-type-key-color: #AC0039;--breakpoints-background-color: #db5860;--debug-line-background-color: #2154A6;--breakpoint-line-background-color: #FAEAE6;--run-log-background-color: #fff;--log-color-info: #00cd00;--log-color-warn: #A66F00;--log-color-debug: #00cccc;--log-color-error: #cd0000;--log-color-trace: #0000EE;--log-color-cyan: #00CCCC;--log-color-link: #006DCC;--todo-color: #008dde;--message-em-color: #007F31;--checkbox-background-color: #fff;--checkbox-text-color: #fff;--checkbox-border-color: #b0b0b0;--checkbox-selected-boder-color: #4F9EE3;--checkbox-selected-background-color: #4F9EE3;--resource-label-color: #000;--resource-span-color: #999;--scollbar-color: rgba(170, 170, 170, .7);--scollbar-background: rgba(194, 194, 194, .1);--scollbar-thumb-background: rgba(170, 170, 170, .4);--scollbar-thumb-hover-background: rgba(170, 170, 170, .7);--scollbar-scrollbar-corner-background: rgba(194, 194, 194, .1)}.magic-editor,.magic-editor .monaco-editor,.magic-log pre{font-family:"JetBrainsMono","Consolas","Courier New","\5fae\8f6f\96c5\9ed1"}.magic-editor *{box-sizing:border-box;padding:0;margin:0}.magic-editor .none-select{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-khtml-user-select:none;user-select:none}.magic-editor ul{list-style:none;margin:0;padding:0}.magic-editor *{scrollbar-color:var(--scollbar-thumb-background) var(--scollbar-thumb-background);scrollbar-track-color:var(--scollbar-thumb-background);-ms-scrollbar-track-color:var(--scollbar-thumb-background);scrollbar-width:thin}.magic-editor *::-webkit-scrollbar{width:5px;height:5px;background:var(--scollbar-background)}.magic-editor *::-webkit-scrollbar-thumb{border-radius:3px;background:var(--scollbar-thumb-background)}.magic-editor *::-webkit-scrollbar-thumb:hover{background:var(--scollbar-thumb-hover-background)}.magic-editor *::-webkit-scrollbar-corner{background:var(--scollbar-scrollbar-corner-background)}.magic-header .magic-logo,.magic-dialog .magic-dialog-header{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAA/1BMVEUIfPoENm0CHz8CIUMAAAAAAwYqKioaGhoQEBAsLCwQEBAJCQkrKysDAwMCAgL6+vr19fUWFhaJiYn8/PylpaWAgID8/PxmZmYSEhLk5ORJSUnLy8vk5OSgoKAFBQXk5OS7u7upqakmJiaqqqqDg4Pp6em5ubmQkJBNTU3x8fF4eHjn5+cBAQE5OTlwcHDm5uafn5/Nzc1+fn6lpaX09PTs7OwpKSk5OTn8/PwsLCz5+flHR0fV1dVsbGzY2NhwcHAMDAzu7u5gYGAMDAwJCQkAAAAHBwcGBgYHBwcEBAQHBwcGBgZtbGyvrq5ERERLSkp5eHgvLy8CIkQABAgABw6+8utZAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UIFBENHjcTIfEAAACNSURBVBjTY2DAAIxMSIAZKMDEggRYwQJs7CwcnFws3Dy8EAE+fgFBIWERFlExcYiAhLCklLSMrJy8giJEQElYWUVVTV1DU0tbByygK6ynb2BoZGxiKmwGFjC3sLSytrG1s3dwdILY4szi4urm7uHJ4uXNitUdPr5g4AcX8A8Ag0CES9G0BAUjgRBMzwMA2+sWGs+mksMAAAAuelRYdGRhdGU6Y3JlYXRlAAAImTMyMDLUNbDQNTIIMbC0MjS2MjbQNrCwMjAAAEGIBQ9X33PQAAAALnpUWHRkYXRlOm1vZGlmeQAACJkzMjAy1DWw0DUyCDGwtDI0tjI20DawsDIwAABBiAUPfuDbWAAAAABJRU5ErkJggg==)}.magic-data-type{color:var(--data-type-default-color)}.magic-data-type.string{color:var(--data-type-string-color);font-weight:bold}.magic-data-type.integer{color:var(--data-type-integer-color)}.magic-data-type.number{color:var(--data-type-number-color)}.magic-data-type.double{color:var(--data-type-double-color)}.magic-data-type.float{color:var(--data-type-float-color)}.magic-data-type.short{color:var(--data-type-short-color)}.magic-data-type.long{color:var(--data-type-long-color)}.magic-data-type.byte{color:var(--data-type-byte-color)}.magic-data-type.boolean{color:var(--data-type-boolean-color);font-weight:bold}.magic-data-type.class{color:var(--data-type-class-color)}.magic-icon.magic-icon-difference{color:#389fd6!important}.magic-status-bar .message em,.magic-event em{color:var(--message-em-color);font-style:normal;font-weight:bold}.magic-editor .magic-monaco-editor[data-mode-id=magicscript] .monaco-editor .margin-view-overlays .codicon-folding-expanded,.magic-editor .magic-monaco-editor[data-mode-id=magicscript] .monaco-editor .margin-view-overlays .codicon-folding-collapsed{margin-left:12px!important}.magic-context-menu[data-v-1ef3ef60]{position:fixed;z-index:10;background-color:var(--main-background-color);border:1px solid var(--main-border-color)}.magic-context-menu li[data-v-1ef3ef60]{height:24px;line-height:24px;padding:0 10px;cursor:pointer;display:flex}.magic-context-menu li>*[data-v-1ef3ef60]{cursor:pointer;word-break:keep-all}.magic-context-menu li.divided[data-v-1ef3ef60]{border-bottom:1px solid var(--main-border-color)}.magic-context-menu .magic-context-menu-icon[data-v-1ef3ef60]{display:inline-block;text-align:center;margin-right:5px;width:13px}.magic-context-menu li[data-v-1ef3ef60]:hover{background-color:var(--select-option-hover-background-color);color:var(--select-option-hover-color)}.magic-context-menu li[data-v-1ef3ef60]:hover .magic-icon{color:var(--select-option-hover-color)}.magic-dialog[data-v-a540702c] .magic-dialog-body>pre{white-space:normal}.magic-dialog[data-v-bf9f8d80] .magic-dialog-body>pre{white-space:normal}@font-face{font-family:"magic-iconfont";src:url(./iconfont.c1c53300.ttf?t=1641003183544) format("truetype")}.magic-icon{font-family:"magic-iconfont"!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.magic-icon-difference:before{content:"\e603"}.magic-icon-watch:before{content:"\e60e"}.magic-icon-rollback:before{content:"\e613"}.magic-icon-eye:before{content:"\e614"}.magic-icon-debug-array:before{content:"\e604"}.magic-icon-debug-number:before{content:"\e605"}.magic-icon-debug-normal:before{content:"\e60c"}.magic-icon-empty:before{content:"\e644"}.magic-icon-structure:before{content:"\e672"}.magic-icon-json:before{content:"\e882"}.magic-icon-api:before{content:"\e75a"}.magic-icon-mongo:before{content:"\e63e"}.magic-icon-redis:before{content:"\e669"}.magic-icon-function:before{content:"\e62d"}.magic-icon-task:before{content:"\e620"}.magic-icon-elasticsearch:before{content:"\eb85"}.magic-icon-resource:before{content:"\e712"}.magic-icon-websocket:before{content:"\e6a6"}.magic-icon-descending:before{content:"\e69d"}.magic-icon-ascending:before{content:"\e69e"}.magic-icon-expand-all:before{content:"\e612"}.magic-icon-collapse-all:before{content:"\e611"}.magic-icon-group-add:before{content:"\e610"}.magic-icon-arrow-bottom-up:before{content:"\efae"}.magic-icon-options:before{content:"\e60f"}.magic-icon-debug-info:before{content:"\efa1"}.magic-icon-run:before{content:"\e626"}.magic-icon-parameter:before{content:"\e6e9"}.magic-icon-list:before{content:"\e679"}.magic-icon-arrow-right:before{content:"\e600"}.magic-icon-arrow-bottom:before{content:"\efa2"}.magic-icon-script:before{content:"\e61d"}.magic-icon-clear:before{content:"\e673"}.magic-icon-continue:before{content:"\e663"}.magic-icon-format:before{content:"\e6c1"}.magic-icon-git:before{content:"\e64a"}.magic-icon-gitee:before{content:"\e6d6"}.magic-icon-delete:before{content:"\e607"}.magic-icon-help:before{content:"\e60d"}.magic-icon-qq:before{content:"\e635"}.magic-icon-skin:before{content:"\e606"}.magic-icon-close:before{content:"\e652"}.magic-icon-save:before{content:"\e66c"}.magic-icon-minimize:before{content:"\e707"}.magic-icon-log:before{content:"\efac"}.magic-icon-history:before{content:"\e668"}.magic-icon-step-over:before{content:"\e7b2"}.magic-icon-star:before{content:"\e601"}.magic-icon-unfold:before{content:"\e732"}.magic-icon-fold:before{content:"\e66b"}.magic-icon-settings:before{content:"\e786"}.magic-icon-minus:before{content:"\e68a"}.magic-icon-plus:before{content:"\e621"}.magic-icon-refresh:before{content:"\e747"}.magic-icon-search:before{content:"\e608"}.magic-icon-upload:before{content:"\e658"}.magic-icon-download:before{content:"\e659"}.magic-icon-datasource:before{content:"\e615"}.magic-icon-table:before{content:"\e619"}.magic-icon-logout:before{content:"\e65a"}.magic-icon-copy:before{content:"\ec7a"}.magic-icon-move:before{content:"\e727"}.magic-icon-update:before{content:"\e7e4"}.magic-icon-push:before{content:"\e79d"}.magic-icon-todo:before{content:"\e602"}.magic-icon-event:before{content:"\e664"}.magic-icon-collapse:before{content:"\e609"}.magic-icon-expand-copy:before{content:"\efad"}.magic-icon-primary:before{content:"\e60a"}.magic-icon-lock:before{content:"\e64f"}.magic-icon-unlock:before{content:"\e783"}.magic-icon-position:before{content:"\e60b"}.magic-empty[data-v-594aa0b8]{width:100%;height:100%;position:relative}.magic-empty p[data-v-594aa0b8]{text-align:center;width:100%;height:24px;line-height:24px;top:50%;position:relative;margin-top:-12px}.magic-loading[data-v-6d83fffa]{width:100%;height:100%;position:relative;top:0;left:0}.magic-loading p[data-v-6d83fffa]{position:absolute;text-align:center;width:100%;top:50%;margin-top:-20px}.magic-loading .icon[data-v-6d83fffa]{width:20px;margin:0 auto;animation:rotate-6d83fffa 1s linear infinite;display:block}@keyframes rotate-6d83fffa{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.magic-monaco-editor[data-v-7c84fbe0]{flex:1;overflow:hidden}.magic-monaco-editor[data-v-319cefd8]{flex:1;overflow:hidden}.magic-monaco-editor[data-v-319cefd8] .breakpoints{background:var(--breakpoints-background-color);width:10px!important;height:10px!important;right:0px!important;margin-left:12px;top:5px;border-radius:5px}.magic-monaco-editor[data-v-319cefd8] .debug-line{background:var(--debug-line-background-color);color:#fff!important}.magic-monaco-editor[data-v-319cefd8] .breakpoint-line{background:var(--breakpoint-line-background-color)}.magic-resizer-x[data-v-7de8c22c],.magic-resizer-y[data-v-7de8c22c]{display:flex;position:relative;overflow:hidden;transition:none}.magic-resizer-event[data-v-7de8c22c]{position:absolute;z-index:20;--width: 100%;--height: 100%}.magic-resizer-event[data-v-7de8c22c]:after{content:" ";position:fixed;z-index:9999}.magic-resizer-x .magic-resizer-event[data-v-7de8c22c]{width:15px;height:100%;right:-15px;cursor:col-resize}.magic-resizer-x .magic-resizer-event[data-v-7de8c22c]:after{width:10px;height:var(--height)}.magic-resizer-x .magic-resizer-event.reverse[data-v-7de8c22c]{right:unset;left:-5px}.magic-resizer-x[data-v-7de8c22c]{height:100%}.magic-resizer-y .magic-resizer-event[data-v-7de8c22c]{height:10px;width:100%;top:-5px;cursor:row-resize}.magic-resizer-y .magic-resizer-event[data-v-7de8c22c]:after{height:10px;width:var(--width)}.magic-function-info[data-v-4b164a55]{display:flex;flex-direction:column}.magic-function-info form[data-v-4b164a55]{display:flex;padding:5px}.magic-function-info form label[data-v-4b164a55]{display:inline-block;width:75px;height:22px;line-height:22px;font-weight:400;text-align:right;padding:0 5px}.magic-navbar[data-v-4b164a55]{flex-direction:column;overflow:hidden}.magic-navbar[data-v-4b164a55] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-4b164a55] .magic-navbar-body,.magic-navbar[data-v-4b164a55] .magic-navbar-item{width:100%;height:100%}.magic-navbar-item[data-v-30388e35]{height:100%;width:100%}.magic-navbar{display:flex;background-color:var(--main-background-color);transition:.3s}.magic-navbar .magic-navbar-body{background-color:var(--navbar-body-background-color);overflow:auto}.magic-navbar .magic-navbar-header li:hover{background-color:var(--main-hover-background-color)}.magic-navbar .magic-navbar-header li.selected{background-color:var(--main-selected-background-color);color:var(--main-selected-color)}.magic-navbar .magic-navbar-header li.selected svg text{fill:var(--main-selected-color)}.magic-navbar .magic-navbar-header li svg text{letter-spacing:0px;font-size:10px}.magic-navbar__vertical.reverse{flex-direction:row-reverse}.magic-navbar__vertical .magic-navbar-header li{display:flex;flex-direction:column;align-items:center;overflow:hidden;padding:8px 3px;cursor:pointer;border-bottom:1px solid var(--main-border-color)}.magic-navbar__vertical .magic-navbar-header{width:22px;height:100%;letter-spacing:2px;text-align:center;padding:0;border-right:1px solid var(--main-border-color)}.magic-navbar__vertical.reverse .magic-navbar-header{border-left:1px solid var(--main-border-color);border-right:none}.magic-navbar__vertical.reverse .magic-navbar-header li{display:flex;flex-direction:column-reverse}.magic-navbar__vertical .magic-navbar-header li{line-height:14px;word-break:break-all}.magic-navbar__vertical .magic-navbar-body{flex:1}.magic-navbar__vertical .magic-navbar-body{border-right:1px solid var(--navbar-body-border-color)}.magic-navbar__vertical.reverse .magic-navbar-body{border-left:1px solid var(--navbar-body-border-color);border-right:none}.magic-navbar__horizontal>ul{width:100%}.magic-navbar__horizontal>ul li{display:inline-flex;flex-direction:row-reverse;padding:0 8px;height:24px;line-height:24px;cursor:pointer;color:var(--main-color)}.magic-navbar__horizontal>ul li i{padding:0 2px}.magic-navbar__horizontal>ul{border-top:1px solid var(--main-border-color)}.magic-navbar.magic-navbar__vertical .magic-navbar-title{padding-bottom:4px}.magic-navbar.magic-navbar__vertical.reverse .magic-navbar-title{padding-top:4px;padding-bottom:0}.magic-icon[data-v-50969699]{color:var(--main-icon-color)}.magic-tab{width:100%;overflow:hidden;flex-wrap:nowrap;white-space:nowrap;transition:.3s}.magic-tab ul{overflow-x:auto}.magic-tab ul li{display:inline-block;cursor:pointer;padding:0 10px;height:24px;line-height:24px}.magic-tab ul li.selected,.magic-tab ul li:hover,.magic-tab.magic-script-tab ul li.selected:hover,.magic-tab ul li.draggable-target-item{background-color:var(--main-hover-background-color)}.magic-tab.magic-script-tab{border-bottom:1px solid var(--main-border-color);height:30px;position:absolute}.magic-tab.magic-script-tab ul li{height:30px;line-height:30px;border-bottom:3px solid transparent}.magic-tab.magic-script-tab ul li.selected{border-bottom-color:#4083c9;background-color:var(--tab-selected-background-color)}.magic-table{display:flex;flex-direction:column;box-sizing:border-box}.magic-table .magic-table-body{flex:1;overflow:auto}.magic-table .magic-table-header,.magic-table .magic-table-body .magic-table-row{display:flex;height:24px;line-height:24px;border-bottom:1px solid var(--main-border-color)}.magic-table .magic-table-body .magic-table-row:hover{background-color:var(--main-hover-background-color)}.magic-table .magic-table-column{flex:1}.magic-table .magic-table-column .magic-select{width:100%}.magic-table__border .magic-table-body .magic-table-row{border-bottom:1px solid var(--table-border-color)}.magic-table__border .magic-table-body .magic-table-row .magic-table-column:not(:last-child){border-right:1px solid var(--table-border-color)}.magic-tree{position:relative;overflow:auto}.magic-tree>ul{position:absolute;top:0;left:0}.magic-tree .magic-tree-item{height:20px;line-height:20px;transition:.3s;word-break:break-all;white-space:nowrap}.magic-tree .magic-tree-item:hover,.magic-tree .magic-tree-item.selected,.magic-tree .magic-tree-item.draggable-target-item{background-color:var(--tree-hover-background-color)}.magic-tree .magic-tree-item .magic-icon{color:var(--tree-icon-color);padding-right:2px;font-size:14px}.magic-tree ul{max-height:99999px;min-width:100%}.magic-tree li{white-space:nowrap;word-break:break-all}.magic-tree .hide{opacity:0;max-height:0;position:relative}.magic-tree .magic-icon-datasource:not(.root){color:#089910}.magic-dialog[data-v-cbcc8c70]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:999999;text-align:center}.magic-dialog__shade[data-v-cbcc8c70]{background-color:#0000004d}.magic-dialog[data-v-cbcc8c70]:before{content:"";display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.magic-dialog-main[data-v-cbcc8c70]{background:var(--main-background-color);border:1px solid var(--dialog-border-color);display:inline-block;vertical-align:middle;position:relative;min-width:250px;box-shadow:0 0 8px var(--dialog-shadow-color);max-width:800px;color:var(--main-color);transition:none}.magic-dialog-header[data-v-cbcc8c70]{height:30px;line-height:30px;padding-left:30px;padding-right:75px;background-position:7px 7px;background-repeat:no-repeat;text-align:left}.magic-dialog-header.moveable[data-v-cbcc8c70]{cursor:move}.magic-dialog-header span[data-v-cbcc8c70]{display:inline-block;width:30px;position:absolute;right:0;text-align:center;cursor:pointer;font-size:12px;height:30px;line-height:30px}.magic-dialog-header span[data-v-cbcc8c70]:hover{background-color:#e81123}.magic-dialog-header span:hover .magic-icon[data-v-cbcc8c70]{color:#fff}.magic-dialog-body[data-v-cbcc8c70]{text-align:left;word-break:break-word}.magic-dialog[data-v-cbcc8c70] .magic-loading{min-width:200px;min-height:200px}.magic-notify[data-v-413b2c61]{position:absolute;right:40px;bottom:65px;transition:.5s}.magic-notify .magic-notify-item[data-v-413b2c61]{background-color:var(--main-background-color);padding:5px;position:relative;border-radius:2px;border:1px solid var(--main-border-color);max-width:280px;box-shadow:0 0 8px var(--dialog-shadow-color)}.magic-notify .magic-notify-item[data-v-413b2c61]:not(:first-child){margin-top:5px}.magic-notify .magic-notify-item .magic-icon-close[data-v-413b2c61]{font-size:12px}.magic-notify .magic-notify-item .close[data-v-413b2c61]{position:absolute;top:2px;right:2px;display:none}.magic-notify .magic-notify-item h3[data-v-413b2c61]{font-size:12px;height:20px;line-height:20px;display:flex;align-items:center}.magic-notify .magic-notify-item h3 svg[data-v-413b2c61]{vertical-align:middle;margin-right:2px}.magic-notify .magic-notify-item:hover .close[data-v-413b2c61]{display:block}.magic-notify .magic-notify-item p[data-v-413b2c61]{padding:5px 5px 5px 16px}.magic-notify .magic-notify-item .magic-button-group[data-v-413b2c61]{padding-left:11px}.magic-button-group[data-v-70c60ab6] .magic-button:not(:last-child){margin-right:10px}.magic-button-group.right[data-v-70c60ab6]{text-align:right}.magic-button-group.left[data-v-70c60ab6]{text-align:left}.magic-button-group.center[data-v-70c60ab6]{text-align:center}.magic-button[data-v-2e4c463a]{height:22px;line-height:22px;background-color:var(--button-background-color);text-align:center;padding:0 15px;border:1px solid var(--button-border-color);outline:0;cursor:pointer;color:var(--main-color)}.magic-button.link[data-v-2e4c463a]{background-color:transparent;color:var(--log-color-link);border:none;padding:0 5px}.magic-button.active[data-v-2e4c463a],.magic-button[data-v-2e4c463a]:hover:not(.link){background-color:var(--button-hover-background-color);border-color:var(--button-hover-border-color)}.magic-checkbox[data-v-22b807f1]{width:100%;height:100%;text-align:center;display:inline-block}.magic-checkbox input[data-v-22b807f1]{display:none}.magic-checkbox input+label[data-v-22b807f1]{position:relative;color:#c9c9c9;font-size:12px;height:24px;line-height:24px;width:24px;user-select:none;display:inline-block}.magic-checkbox input+label[data-v-22b807f1]:after{display:inline-block;background-color:var(--checkbox-background-color);border:1px solid var(--checkbox-border-color);content:"";width:16px;height:16px;line-height:16px;position:absolute;top:2px;left:3px;text-align:center;font-size:12px;color:var(--checkbox-text-color)}.magic-checkbox input:checked+label[data-v-22b807f1]:after{content:"\2714";background-color:var(--checkbox-selected-background-color);border-color:var(--checkbox-selected-border-color)}.magic-checkbox input+label.checkedHalf[data-v-22b807f1]:after{content:"\2501"}.magic-file[data-v-5c4a8b85]{width:100%;position:relative}.magic-file .magic-icon[data-v-5c4a8b85]{position:absolute;right:3px;top:3px;height:16px;line-height:16px}.magic-input[data-v-3a157bc4]{height:22px;line-height:22px;border-radius:0;outline:0;border:1px solid transparent;margin:0;padding:0 0 0 5px;background-color:var(--input-background-color);color:var(--mian-color)}.magic-input[data-v-3a157bc4]:focus{border-color:var(--input-focus-color)}.magic-input__border[data-v-3a157bc4]{border-color:var(--input-border-color)}.magic-input[data-v-3a157bc4]::-webkit-outer-spin-button,.magic-input[data-v-3a157bc4]::-webkit-inner-spin-button{-webkit-appearance:none}.magic-input[type=number][data-v-3a157bc4]{-moz-appearance:textfield}.magic-select[data-v-869742dc]{position:relative;display:inline-block;background:var(--select-background-color);height:22px;line-height:22px;width:80px;font-size:12px;text-align:left}.magic-select.inputable[data-v-869742dc]{background:var(--select-inputable-background-color);border-color:var(--select-inputable-border-color)}.magic-select.border[data-v-869742dc]{border:1px solid var(--input-border-color)}.magic-select input[data-v-869742dc]{background:none;border:none;height:22px;line-height:22px;border-radius:0;outline:0;padding-left:5px;width:100%;color:var(--main-color)}.magic-select span[data-v-869742dc]{height:22px;line-height:22px;border-radius:0;outline:0;padding-left:5px}.magic-select[data-v-869742dc]:hover:not(.inputable){background:var(--select-hover-background-color)}.magic-select[data-v-869742dc]:after{content:"\efa2";font-family:"magic-iconfont";position:absolute;right:5px;top:0px}.magic-select ul[data-v-869742dc]{display:block;position:fixed;z-index:10;background:var(--select-option-background-color);border:1px solid var(--select-option-border-color);margin-top:-2px;padding:0;box-sizing:content-box;margin-left:-1px}.magic-select ul li[data-v-869742dc]{padding:0 5px;width:100%!important;height:22px;text-overflow:ellipsis;word-break:keep-all;text-align:left}.magic-select ul li[data-v-869742dc]:hover{background:var(--select-option-hover-background-color);color:var(--select-option-hover-color)}.magic-textarea[data-v-ca6693f6]{line-height:22px;border-radius:0;outline:0;border:1px solid var(--input-border-color);resize:none;background:var(--input-background-color);color:var(--input-color);width:100%;height:100%}.magic-textarea[data-v-ca6693f6]:focus{border-color:var(--input-focus-color)}.magic-avatar-group[data-v-511f7f80]{display:inline-block;height:22px;line-height:22px}.magic-avatar-group .magic-avatar[data-v-511f7f80]{position:relative;margin-left:-5px}.magic-avatar[data-v-4b5e69aa]{color:#fff;display:inline-block;text-align:center}.magic-navbar[data-v-1e478b66]{width:100%;height:100%}.magic-navbar[data-v-1e478b66] .magic-navbar-body{border-right:none;width:100%;height:100%;display:flex}.magic-navbar[data-v-1e478b66] .magic-navbar-item>*{width:100%;height:100%}.magic-api-group[data-v-430d6958]{display:flex;flex-direction:column}.magic-api-group form[data-v-430d6958]{display:flex;padding:5px}.magic-api-group form label[data-v-430d6958]{display:inline-block;width:75px;height:22px;line-height:22px;font-weight:400;text-align:right;padding:0 5px}.magic-api-group+.magic-navbar[data-v-430d6958]{flex-direction:column;overflow:hidden}.magic-api-group+.magic-navbar[data-v-430d6958] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-430d6958] .magic-navbar-body,.magic-navbar[data-v-430d6958] .magic-navbar-item{width:100%;height:100%}.magic-api-group>form .magic-button[data-v-430d6958]{margin-left:10px}.magic-api-info[data-v-0aa3270a]{display:flex;flex-direction:column}.magic-api-info form[data-v-0aa3270a]{display:flex;padding:5px}.magic-api-info form label[data-v-0aa3270a]{display:inline-block;width:75px;height:22px;line-height:22px;font-weight:400;text-align:right;padding:0 5px}.magic-api-info+.magic-navbar[data-v-0aa3270a]{flex-direction:column;overflow:hidden}.magic-api-info+.magic-navbar[data-v-0aa3270a] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-0aa3270a] .magic-navbar-body,.magic-navbar[data-v-0aa3270a] .magic-navbar-item{width:100%;height:100%}.magic-table[data-v-12babf82]{flex:1}.magic-table[data-v-12babf82] .magic-table-column{display:flex}.magic-data-type[data-v-12babf82]{display:inline-block;width:0;padding:0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;text-align:center}iframe[data-v-72af9b10]{width:100%;height:100%;border:0}.magic-table[data-v-db168582]{flex:1}.magic-table span[data-v-db168582]{padding:0 5px}.magic-table[data-v-ea08c446]{flex:1}.magic-table[data-v-ea08c446] .magic-table-column{display:flex}.magic-data-type[data-v-ea08c446]{display:inline-block;width:0;padding:0 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.magic-panel-api-response[data-v-3d951bef]{width:100%;height:100%;display:flex;flex-direction:column}.magic-panel-api-response[data-v-3d951bef] .magic-navbar__horizontal>ul{border-top:none;border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-3d951bef]{flex-direction:column;width:100%;height:100%}.magic-panel-api-response[data-v-3d951bef] .magic-navbar .magic-navbar-body,.magic-panel-api-response[data-v-3d951bef] .magic-navbar .magic-navbar-item{width:100%;height:100%}.magic-panel-api-response[data-v-3d951bef] .magic-navbar .magic-navbar-item{display:flex}.magic-global[data-v-03e7bbcc]{display:flex;flex-direction:column;flex:1;width:100%;height:100%}.magic-global>.magic-navbar[data-v-03e7bbcc]{flex-direction:column;overflow:hidden}.magic-global>.magic-navbar[data-v-03e7bbcc] .magic-navbar-header{border-bottom:1px solid var(--main-border-color)}.magic-navbar[data-v-03e7bbcc] .magic-navbar-body,.magic-navbar[data-v-03e7bbcc] .magic-navbar-item{width:100%;height:100%}.magic-global .magic-panel-global[data-v-03e7bbcc]{display:flex;width:100%;height:100%}.magic-global[data-v-03e7bbcc] .magic-panel-global>div{flex:1}.magic-panel-toolbar[data-v-e91df708]{width:24px;border-right:1px solid var(--main-border-color);height:100%;text-align:center}.magic-panel-toolbar li[data-v-e91df708]{cursor:pointer;border-radius:2px;width:18px;height:18px;line-height:18px;margin:3px}.magic-panel-toolbar li[data-v-e91df708]:not(.disabled):hover{background-color:var(--main-hover-icon-background-color)}.magic-panel-toolbar li.disabled i[data-v-e91df708]{color:var(--button-disabled-color)}.magic-resource-choose[data-v-7eb90c29]{max-height:400px;overflow:auto}.magic-resource-choose .magic-tree[data-v-7eb90c29]{margin-bottom:5px;min-height:300px}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-icon.root{color:var(--main-icon-color)}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-checkbox{display:inline;margin-right:3px}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-checkbox input+label{width:12px!important;height:12px!important}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-tree-item{padding-left:5px}.magic-resource-choose .magic-tree[data-v-7eb90c29] .magic-checkbox input+label:after{width:12px!important;height:12px!important;line-height:12px!important;top:0!important;left:0!important}.magic-resource-choose[data-v-7eb90c29] .magic-tree label{color:var(--resource-label-color)}.magic-resource-choose[data-v-7eb90c29] .magic-tree span{color:var(--resource-span-color)}.magic-backup[data-v-0e33e135]{display:flex;flex:1;height:100%}.magic-backup>div[data-v-0e33e135]{background-color:var(--navbar-body-background-color);flex:1;overflow:hidden;position:relative;height:100%}.magic-backup .magic-table[data-v-0e33e135]{height:100%;position:absolute;width:100%}.magic-backup[data-v-0e33e135] .magic-table-row .magic-table-column:last-child,.magic-backup[data-v-0e33e135] .magic-table-header .magic-table-column:last-child{padding-left:5px}.magic-backup-diff-container[data-v-0e33e135]{width:100%;height:100%;display:flex;flex-direction:column}.magic-backup-diff-container .magic-backup-diff-header[data-v-0e33e135]{height:30px;line-height:30px;display:flex}.magic-backup-diff-container .magic-backup-diff-header>div[data-v-0e33e135]{flex:1}.magic-backup-diff-container .magic-backup-diff-header>div[data-v-0e33e135]:last-child{text-align:right}.magic-dialog-diff .magic-dialog-main{display:inline-flex;flex-direction:column}.magic-dialog-diff .magic-dialog-main .magic-dialog-body{flex:1;display:flex;flex-direction:column}.magic-panel-toolbar[data-v-d6992652] .magic-icon-continue{color:var(--icon-debug-color)}.magic-panel-toolbar[data-v-d6992652] .magic-icon-step-over{color:var(--icon-step-color)}.magic-debug[data-v-d6992652]{display:flex;flex:1}.magic-debug .magic-debug-variables[data-v-d6992652]{flex:1;background-color:var(--navbar-body-background-color);position:relative;overflow:auto}.magic-debug[data-v-d6992652] .magic-tree{position:absolute;width:100%;height:100%}.magic-debug[data-v-d6992652] .magic-tree .magic-tree-item{height:auto}.magic-debug .object-type[data-v-d6992652]{color:var(--resource-span-color)}.magic-debug label.key[data-v-d6992652]{color:var(--data-type-key-color);padding-left:3px}.magic-debug label.separator[data-v-d6992652]{padding:0 5px}.magic-debug svg[data-v-d6992652]{display:inline-block;width:16px;height:16px;vertical-align:middle}.magic-event[data-v-535abac4],.magic-event[data-v-535abac4] .magic-table{width:100%;height:100%;display:flex}.magic-event[data-v-535abac4] .magic-table .magic-table-header{display:none}.magic-event[data-v-535abac4] .magic-table .magic-table-row{border-right:1px solid var(--main-border-color)}.magic-event[data-v-535abac4] .magic-table .magic-table-column{padding-left:5px}.magic-log-wrapper{position:relative;overflow:auto;width:100%;height:100%;background:var(--run-log-background-color)}.magic-log{position:absolute;font-size:13.5px;height:100%;padding:5px}.magic-log>div{width:100%}.magic-log>div pre{line-height:20px;width:100%}.magic-log>div.multiple pre{max-height:60px;overflow:hidden}.magic-log>div.multiple.more pre{max-height:none}.magic-log span.multiple{opacity:.5;font-size:13px;text-decoration:underline;cursor:pointer}.magic-log pre span.log-INFO{color:var(--log-color-info)}.magic-log pre span.log-DEBUG{color:var(--log-color-debug)}.magic-log pre span.log-ERROR{color:var(--log-color-error)}.magic-log pre span.log-WARN{color:var(--log-color-warn)}.magic-log pre span.log-TRACE{color:var(--log-color-trace)}.magic-log pre span.log-cyan{color:var(--log-color-cyan)}.magic-log pre a.log-link{color:var(--log-color-link)}.magic-online[data-v-788b49dc]{height:30px;line-height:30px;float:right;padding-left:10px;max-width:500px}.magic-online>span[data-v-788b49dc]{padding-left:5px}.magic-status-bar[data-v-7891cbf6]{height:30px;line-height:30px;display:flex;background-color:var(--main-background-color);padding-left:24px}.magic-status-bar .message[data-v-7891cbf6]{flex:1}.magic-status-bar ul[data-v-7891cbf6]{float:right;display:inline-flex;align-items:center;padding-right:2px}.magic-status-bar ul li[data-v-7891cbf6]{cursor:pointer;padding:0 4px;height:20px;line-height:20px;border-radius:3px}.magic-status-bar ul li .magic-icon[data-v-7891cbf6]{height:20px;line-height:20px}.magic-status-bar ul li[data-v-7891cbf6]:hover{background-color:var(--main-hover-icon-background-color)}.magic-todo[data-v-4bb5213c]{display:flex;flex:1}.magic-todo div[data-v-4bb5213c]{background-color:var(--navbar-body-background-color);flex:1;overflow:hidden;position:relative}.magic-todo div[data-v-4bb5213c] .magic-tree{width:100%;height:100%;position:absolute;overflow:auto}.magic-todo div[data-v-4bb5213c] .magic-tree label{color:var(--resource-label-color)}.magic-todo div[data-v-4bb5213c] .magic-tree label.todo{font-style:italic;color:var(--todo-color)}.magic-todo div[data-v-4bb5213c] .magic-tree span{color:var(--resource-span-color)}.magic-toolbar .magic-navbar[data-v-8958a5f2]{flex-direction:column-reverse}.magic-toolbar-header[data-v-8958a5f2]{height:26px;line-height:26px;border-bottom:1px solid var(--main-border-color);border-top:1px solid var(--main-border-color);background-color:var(--main-background-color)}.magic-toolbar-header label[data-v-8958a5f2]{display:inline-block;padding-left:10px}.magic-toolbar .magic-resizer-y[data-v-8958a5f2]{flex-direction:column}.magic-toolbar-header-buttons[data-v-8958a5f2]{float:right;margin-right:5px;vertical-align:middle;display:flex;align-items:center;height:26px}.magic-toolbar-header-buttons .magic-icon[data-v-8958a5f2]{display:inline-block;cursor:pointer;padding:0 2px;height:18px;line-height:18px;border-radius:3px;z-index:99999}.magic-toolbar-header-buttons .magic-icon[data-v-8958a5f2]:hover{background-color:var(--main-hover-icon-background-color)}.magic-toolbar .magic-navbar[data-v-8958a5f2] .magic-navbar-body{background-color:var(--main-background-color)}.magic-panel-api,.magic-panel-function,.magic-event{display:flex;width:100%;height:100%}.magic-panel-api>div,.magic-panel-function>div,.magic-event>div{flex:1}.magic-dialog[data-v-17f31570] .magic-dialog-body{overflow:hidden}.magic-header[data-v-6bfe1363]{height:30px;line-height:30px;background-color:var(--main-background-color);border-bottom:1px solid var(--main-border-color);display:flex;color:var(--header-default-color)}.magic-header .magic-logo[data-v-6bfe1363]{float:left;font-weight:700;font-size:0;letter-spacing:0;background-repeat:no-repeat;background-position:4px 7px;padding-left:25px;color:var(--header-title-color)}.magic-header .magic-logo label[data-v-6bfe1363]{font-size:16px;display:inline-block;margin-right:5px;text-align:left;font-weight:400}.magic-header .magic-logo label[data-v-6bfe1363]:last-child{font-size:12px}.magic-header ul[data-v-6bfe1363]{float:right}.magic-header ul li[data-v-6bfe1363]{cursor:pointer;height:30px;text-align:center;display:inline-flex;align-items:center}.magic-header ul li .magic-icon[data-v-6bfe1363]{padding:0 4px;height:22px;line-height:22px;border-radius:4px}.magic-header ul li.disabled i[data-v-6bfe1363]{color:var(--button-disabled-color)}.magic-header ul li:not(.disabled) .magic-icon[data-v-6bfe1363]:hover{background-color:var(--main-hover-icon-background-color)}.magic-header ul li:not(.disabled) i.magic-icon-run[data-v-6bfe1363],.magic-header ul li i.magic-icon-push[data-v-6bfe1363]{color:#59a869}.magic-header-title[data-v-6bfe1363]{flex:1;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.magic-skin-selector[data-v-6bfe1363]{position:absolute;top:30px;right:30px;z-index:20;background-color:var(--main-background-color);border:1px solid var(--main-border-color);border-top:none}.magic-skin-selector ul li[data-v-6bfe1363]{height:24px;line-height:24px;text-align:center;cursor:pointer;padding:2px 5px}.magic-skin-selector ul li[data-v-6bfe1363]:not(:last-child){border-bottom:1px solid var(--main-border-color)}.magic-skin-selector ul li[data-v-6bfe1363]:hover{background-color:var(--main-hover-background-color)}.magic-dialog[data-v-32537a17] .magic-dialog-body{overflow:hidden}.magic-push-form[data-v-32537a17]{padding:0 10px}.magic-push-form>div[data-v-32537a17]{display:flex;margin-top:5px}.magic-push-form label[data-v-32537a17]{width:80px;text-align:right;display:inline-block}.magic-push-form[data-v-32537a17] .magic-input{width:auto!important;flex:1}.magic-search-result[data-v-2baa1fdc]{overflow:auto;max-height:200px;background-color:var(--navbar-body-background-color)}.magic-search-result .magic-search-result-item[data-v-2baa1fdc]{display:flex;padding:0 5px;line-height:20px}.magic-search-result .magic-search-result-item[data-v-2baa1fdc]:hover,.magic-search-result .magic-search-result-item.selected[data-v-2baa1fdc]{background-color:var(--tree-hover-background-color)}.magic-search-result .magic-search-result-item .label[data-v-2baa1fdc]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.magic-search-result .magic-search-result-item .label[data-v-2baa1fdc] .keyword{background:#FFDE7B;color:#000}.magic-search-result-item .name[data-v-2baa1fdc],.magic-search-result-item .line[data-v-2baa1fdc]{color:var(--resource-span-color)}.magic-search-result .magic-search-result-item .line[data-v-2baa1fdc]{padding-left:5px}.display-text[data-v-2baa1fdc]{padding:0 10px;height:30px;line-height:30px;border-top:1px solid var(--main-border-color);border-bottom:1px solid var(--main-border-color)}.magic-data-resource[data-v-41719f90]{display:flex;flex-direction:column;flex:1;width:100%}.magic-data-resource .magic-data-resource-header[data-v-41719f90]{height:24px;line-height:24px;display:flex;background-color:var(--main-background-color);border-bottom:1px solid var(--main-border-color);padding-left:3px}.magic-data-resource .magic-data-resource-header input[data-v-41719f90]{flex:1;border:none;background:none;height:24px;line-height:24px}.magic-data-resource .magic-data-resource-header ul[data-v-41719f90]{display:inline-flex;align-items:center}.magic-data-resource .magic-data-resource-header ul li[data-v-41719f90]{display:inline-block;cursor:pointer;padding:0 3px;height:20px;line-height:20px;border-radius:3px}.magic-data-resource .magic-data-resource-header ul li.separator[data-v-41719f90]{background-color:var(--main-border-color);width:1px;border-radius:0;padding:0;margin:0 4px}.magic-data-resource .magic-data-resource-header ul li[data-v-41719f90]:hover{background:var(--main-hover-icon-background-color)}.magic-data-resource>ul li[data-v-41719f90]{line-height:22px;padding-left:10px}.magic-data-resource>ul li[data-v-41719f90]:hover{background-color:var(--tree-hover-background-color)}.magic-data-resource>ul li .magic-icon[data-v-41719f90]{padding-right:2px;font-size:14px}.magic-data-resource>ul li label[data-v-41719f90]{color:var(--resource-label-color)}.magic-data-resource>ul li span[data-v-41719f90]{color:var(--resource-span-color);display:inline-block;height:22px;line-height:22px}.magic-data-resource>ul li .magic-icon-datasource[data-v-41719f90]{color:#089910}.magic-editor .magic-form-row{display:flex;margin-bottom:5px}.magic-editor .magic-form-row label{margin-right:5px;display:inline-block;width:60px;text-align:right;height:22px;line-height:22px}label[data-v-39f3ed68]{width:60px;text-align:right;display:inline-block}.magic-login[data-v-39f3ed68] .magic-input{width:auto!important}.magic-main[data-v-72678ed5]{flex:1;display:flex;border-bottom:1px solid var(--main-border-color);height:0;width:100%}.magic-main-body-wrapper[data-v-72678ed5]{display:flex;flex:1;flex-direction:column}.magic-main-body[data-v-72678ed5]{display:flex;flex:1;overflow:hidden}.magic-toolbar[data-v-72678ed5] .magic-resizer-y .magic-resizer-event{top:auto}ul[data-v-5cd0c142]{max-width:400px;max-height:600px;overflow:auto}ul li[data-v-5cd0c142]:hover{background-color:var(--tree-hover-background-color)}ul li[data-v-5cd0c142]{height:20px;line-height:20px;transition:.3s;word-break:break-all;white-space:nowrap}ul li label[data-v-5cd0c142]{color:var(--resource-label-color)}ul li span[data-v-5cd0c142]{color:var(--resource-span-color)}.magic-dialog-main[data-v-5cd0c142] .magic-dialog-body{padding:0}.magic-resource[data-v-5bd90c18]{display:flex;flex-direction:column;flex:1;width:100%}.magic-resource .magic-resource-header[data-v-5bd90c18]{height:24px;line-height:24px;display:flex;background-color:var(--main-background-color);border-bottom:1px solid var(--main-border-color)}.magic-resource .magic-resource-header input[data-v-5bd90c18]{flex:1;border:none;background:none;height:24px;line-height:24px}.magic-resource .magic-resource-header ul[data-v-5bd90c18]{display:inline-flex;align-items:center}.magic-resource .magic-resource-header ul li[data-v-5bd90c18]{display:inline-block;cursor:pointer;padding:0 3px;height:20px;line-height:20px;border-radius:3px}.magic-resource .magic-resource-header ul li.separator[data-v-5bd90c18]{background-color:var(--main-border-color);width:1px;border-radius:0;padding:0;margin:0 4px}.magic-resource .magic-resource-header ul li[data-v-5bd90c18]:hover{background:var(--main-hover-icon-background-color)}.magic-resource .magic-tree label[data-v-5bd90c18]{color:var(--resource-label-color)}.magic-resource .magic-tree span[data-v-5bd90c18]{color:var(--resource-span-color)}.magic-resource .magic-tree .magic-icon-lock[data-v-5bd90c18]{color:var(--resource-label-color);margin-left:5px}.magic-resource>.magic-tree[data-v-5bd90c18]{flex:1;overflow:auto}.magic-create-group li[data-v-5bd90c18]{display:flex;height:26px;line-height:26px}.magic-create-group li input[data-v-5bd90c18]{flex:1}.magic-resource[data-v-5bd90c18] .magic-avatar-group{margin-left:5px}.magic-script-editor[data-v-8e6e14de]{flex:1;display:flex;flex-direction:column;overflow:auto;position:relative}.magic-empty-container[data-v-8e6e14de]{flex:1;position:relative;width:100%;height:100%;background:var(--empty-background-color)}.magic-hot-key[data-v-8e6e14de]{position:absolute;top:50%;margin-top:-105px;text-align:center;color:var(--empty-color);font-size:16px;width:100%}.magic-hot-key p[data-v-8e6e14de]{display:inline-block;text-align:left;line-height:30px}.magic-hot-key p em[data-v-8e6e14de]{margin-left:15px;font-style:normal;color:var(--empty-key-color)}.magic-monaco-editor[data-v-8e6e14de]{position:absolute;top:30px;bottom:0;left:0;right:0}.magic-script-editor[data-v-8e6e14de] .magic-avatar-group{margin-left:5px}.monaco-editor{font-family:-apple-system,BlinkMacSystemFont,"Segoe WPC","Segoe UI","HelveticaNeue-Light",system-ui,"Ubuntu","Droid Sans",sans-serif;--monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace}.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{stroke-width:1.2px}.monaco-hover p{margin:0}.monaco-aria-container{position:absolute!important;top:0;height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%)}.monaco-editor.hc-black{-ms-high-contrast-adjust:none}@media screen and (-ms-high-contrast:active){.monaco-editor.vs .view-overlays .current-line,.monaco-editor.vs-dark .view-overlays .current-line{border-color:windowtext!important;border-left:0;border-right:0}.monaco-editor.vs .cursor,.monaco-editor.vs-dark .cursor{background-color:windowtext!important}.monaco-editor.vs .dnd-target,.monaco-editor.vs-dark .dnd-target{border-color:windowtext!important}.monaco-editor.vs .selected-text,.monaco-editor.vs-dark .selected-text{background-color:highlight!important}.monaco-editor.vs .view-line,.monaco-editor.vs-dark .view-line{-ms-high-contrast-adjust:none}.monaco-editor.vs .view-line span,.monaco-editor.vs-dark .view-line span{color:windowtext!important}.monaco-editor.vs .view-line span.inline-selected-text,.monaco-editor.vs-dark .view-line span.inline-selected-text{color:highlighttext!important}.monaco-editor.vs .view-overlays,.monaco-editor.vs-dark .view-overlays{-ms-high-contrast-adjust:none}.monaco-editor.vs .selectionHighlight,.monaco-editor.vs-dark .selectionHighlight,.monaco-editor.vs .wordHighlight,.monaco-editor.vs-dark .wordHighlight,.monaco-editor.vs .wordHighlightStrong,.monaco-editor.vs-dark .wordHighlightStrong,.monaco-editor.vs .reference-decoration,.monaco-editor.vs-dark .reference-decoration{border:2px dotted highlight!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs .rangeHighlight,.monaco-editor.vs-dark .rangeHighlight{background:transparent!important;border:1px dotted activeborder!important;box-sizing:border-box}.monaco-editor.vs .bracket-match,.monaco-editor.vs-dark .bracket-match{border-color:windowtext!important;background:transparent!important}.monaco-editor.vs .findMatch,.monaco-editor.vs-dark .findMatch,.monaco-editor.vs .currentFindMatch,.monaco-editor.vs-dark .currentFindMatch{border:2px dotted activeborder!important;background:transparent!important;box-sizing:border-box}.monaco-editor.vs .find-widget,.monaco-editor.vs-dark .find-widget{border:1px solid windowtext}.monaco-editor.vs .monaco-list .monaco-list-row,.monaco-editor.vs-dark .monaco-list .monaco-list-row{-ms-high-contrast-adjust:none;color:windowtext!important}.monaco-editor.vs .monaco-list .monaco-list-row.focused,.monaco-editor.vs-dark .monaco-list .monaco-list-row.focused{color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs .monaco-list .monaco-list-row:hover,.monaco-editor.vs-dark .monaco-list .monaco-list-row:hover{background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-editor.vs .monaco-scrollable-element>.scrollbar,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar{-ms-high-contrast-adjust:none;background:background!important;border:1px solid windowtext;box-sizing:border-box}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider{background:windowtext!important}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider:hover,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider:hover{background:highlight!important}.monaco-editor.vs .monaco-scrollable-element>.scrollbar>.slider.active,.monaco-editor.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active{background:highlight!important}.monaco-editor.vs .decorationsOverviewRuler,.monaco-editor.vs-dark .decorationsOverviewRuler{opacity:0}.monaco-editor.vs .minimap,.monaco-editor.vs-dark .minimap{display:none}.monaco-editor.vs .squiggly-d-error,.monaco-editor.vs-dark .squiggly-d-error{background:transparent!important;border-bottom:4px double #E47777}.monaco-editor.vs .squiggly-c-warning,.monaco-editor.vs-dark .squiggly-c-warning{border-bottom:4px double #71B771}.monaco-editor.vs .squiggly-b-info,.monaco-editor.vs-dark .squiggly-b-info{border-bottom:4px double #71B771}.monaco-editor.vs .squiggly-a-hint,.monaco-editor.vs-dark .squiggly-a-hint{border-bottom:4px double #6c6c6c}.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label{-ms-high-contrast-adjust:none;color:highlighttext!important;background-color:highlight!important}.monaco-editor.vs .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label,.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:hover .action-label{-ms-high-contrast-adjust:none;background:transparent!important;border:1px solid highlight;box-sizing:border-box}.monaco-diff-editor.vs .diffOverviewRuler,.monaco-diff-editor.vs-dark .diffOverviewRuler{display:none}.monaco-editor.vs .line-insert,.monaco-editor.vs-dark .line-insert,.monaco-editor.vs .line-delete,.monaco-editor.vs-dark .line-delete{background:transparent!important;border:1px solid highlight!important;box-sizing:border-box}.monaco-editor.vs .char-insert,.monaco-editor.vs-dark .char-insert,.monaco-editor.vs .char-delete,.monaco-editor.vs-dark .char-delete{background:transparent!important}}.monaco-aria-container{position:absolute;left:-999em}::-ms-clear{display:none}.monaco-editor .editor-widget input{color:inherit}.monaco-editor{position:relative;overflow:visible;-webkit-text-size-adjust:100%}.monaco-editor .overflow-guard{position:relative;overflow:hidden}.monaco-editor .view-overlays{position:absolute;top:0}.monaco-editor .inputarea{min-width:0;min-height:0;margin:0;padding:0;position:absolute;outline:none!important;resize:none;border:none;overflow:hidden;color:transparent;background-color:transparent}.monaco-editor .inputarea.ime-input{z-index:10}.monaco-editor .margin-view-overlays .line-numbers{font-variant-numeric:tabular-nums;position:absolute;text-align:right;display:inline-block;vertical-align:middle;box-sizing:border-box;cursor:default;height:100%}.monaco-editor .relative-current-line-number{text-align:left;display:inline-block;width:100%}.monaco-editor .margin-view-overlays .line-numbers.lh-odd{margin-top:1px}.monaco-mouse-cursor-text{cursor:text}.vs-dark .mac .monaco-mouse-cursor-text,.hc-black .mac .monaco-mouse-cursor-text,.vs-dark.mac .monaco-mouse-cursor-text,.hc-black.mac .monaco-mouse-cursor-text{cursor:-webkit-image-set(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAL0lEQVQoz2NgCD3x//9/BhBYBWdhgFVAiVW4JBFKGIa4AqD0//9D3pt4I4tAdAMAHTQ/j5Zom30AAAAASUVORK5CYII=) 1x,url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAAz0lEQVRIx2NgYGBY/R8I/vx5eelX3n82IJ9FxGf6tksvf/8FiTMQAcAGQMDvSwu09abffY8QYSAScNk45G198eX//yev73/4///701eh//kZSARckrNBRvz//+8+6ZohwCzjGNjdgQxkAg7B9WADeBjIBqtJCbhRA0YNoIkBSNmaPEMoNmA0FkYNoFKhapJ6FGyAH3nauaSmPfwI0v/3OukVi0CIZ+F25KrtYcx/CTIy0e+rC7R1Z4KMICVTQQ14feVXIbR695u14+Ir4gwAAD49E54wc1kWAAAAAElFTkSuQmCC) 2x) 5 8,text}.monaco-editor .view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line{display:block;position:absolute;left:0;top:0;box-sizing:border-box}.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both{border-right:0}.monaco-editor .lines-content .cdr{position:absolute}.monaco-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.monaco-scrollable-element>.visible{opacity:1;background:rgba(0,0,0,0);transition:opacity .1s linear}.monaco-scrollable-element>.invisible{opacity:0;pointer-events:none}.monaco-scrollable-element>.invisible.fade{transition:opacity .8s linear}.monaco-scrollable-element>.shadow{position:absolute;display:none}.monaco-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:#ddd 0 6px 6px -6px inset}.monaco-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:#ddd 6px 0 6px -6px inset}.monaco-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.monaco-scrollable-element>.shadow.top.left{box-shadow:#ddd 6px 6px 6px -6px inset}.vs .monaco-scrollable-element>.scrollbar>.slider{background:rgba(100,100,100,.4)}.vs-dark .monaco-scrollable-element>.scrollbar>.slider{background:rgba(121,121,121,.4)}.hc-black .monaco-scrollable-element>.scrollbar>.slider{background:rgba(111,195,223,.6)}.monaco-scrollable-element>.scrollbar>.slider:hover{background:rgba(100,100,100,.7)}.hc-black .monaco-scrollable-element>.scrollbar>.slider:hover{background:rgba(111,195,223,.8)}.monaco-scrollable-element>.scrollbar>.slider.active{background:rgba(0,0,0,.6)}.vs-dark .monaco-scrollable-element>.scrollbar>.slider.active{background:rgba(191,191,191,.4)}.hc-black .monaco-scrollable-element>.scrollbar>.slider.active{background:rgba(111,195,223,1)}.vs-dark .monaco-scrollable-element .shadow.top{box-shadow:none}.vs-dark .monaco-scrollable-element .shadow.left{box-shadow:#000 6px 0 6px -6px inset}.vs-dark .monaco-scrollable-element .shadow.top.left{box-shadow:#000 6px 6px 6px -6px inset}.hc-black .monaco-scrollable-element .shadow.top{box-shadow:none}.hc-black .monaco-scrollable-element .shadow.left{box-shadow:none}.hc-black .monaco-scrollable-element .shadow.top.left{box-shadow:none}.monaco-editor .glyph-margin{position:absolute;top:0}.monaco-editor .margin-view-overlays .cgmr{position:absolute;display:flex;align-items:center;justify-content:center}.monaco-editor .lines-content .core-guide{position:absolute}.monaco-editor.no-user-select .lines-content,.monaco-editor.no-user-select .view-line,.monaco-editor.no-user-select .view-lines{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .view-lines{white-space:nowrap}.monaco-editor .view-line{position:absolute;width:100%}.monaco-editor .mtkz{display:inline-block}.monaco-editor .lines-decorations{position:absolute;top:0;background:white}.monaco-editor .margin-view-overlays .cldr{position:absolute;height:100%}.monaco-editor .margin-view-overlays .cmdr{position:absolute;left:0;width:100%;height:100%}.monaco-editor .minimap.slider-mouseover .minimap-slider{opacity:0;transition:opacity .1s linear}.monaco-editor .minimap.slider-mouseover:hover .minimap-slider{opacity:1}.monaco-editor .minimap.slider-mouseover .minimap-slider.active{opacity:1}.monaco-editor .minimap-shadow-hidden{position:absolute;width:0}.monaco-editor .minimap-shadow-visible{position:absolute;left:-6px;width:6px}.monaco-editor.no-minimap-shadow .minimap-shadow-visible{position:absolute;left:-1px;width:1px}.monaco-editor .overlayWidgets{position:absolute;top:0;left:0}.monaco-editor .view-ruler{position:absolute;top:0}.monaco-editor .scroll-decoration{position:absolute;top:0;left:0;height:6px}.monaco-editor .lines-content .cslr{position:absolute}.monaco-editor .top-left-radius{border-top-left-radius:3px}.monaco-editor .bottom-left-radius{border-bottom-left-radius:3px}.monaco-editor .top-right-radius{border-top-right-radius:3px}.monaco-editor .bottom-right-radius{border-bottom-right-radius:3px}.monaco-editor.hc-black .top-left-radius{border-top-left-radius:0}.monaco-editor.hc-black .bottom-left-radius{border-bottom-left-radius:0}.monaco-editor.hc-black .top-right-radius{border-top-right-radius:0}.monaco-editor.hc-black .bottom-right-radius{border-bottom-right-radius:0}.monaco-editor .cursors-layer{position:absolute;top:0}.monaco-editor .cursors-layer>.cursor{position:absolute;overflow:hidden}.monaco-editor .cursors-layer.cursor-smooth-caret-animation>.cursor{transition:all 80ms}.monaco-editor .cursors-layer.cursor-block-outline-style>.cursor{box-sizing:border-box;background:transparent!important;border-style:solid;border-width:1px}.monaco-editor .cursors-layer.cursor-underline-style>.cursor{border-bottom-width:2px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}.monaco-editor .cursors-layer.cursor-underline-thin-style>.cursor{border-bottom-width:1px;border-bottom-style:solid;background:transparent!important;box-sizing:border-box}@keyframes monaco-cursor-smooth{0%,20%{opacity:1}60%,to{opacity:0}}@keyframes monaco-cursor-phase{0%,20%{opacity:1}90%,to{opacity:0}}@keyframes monaco-cursor-expand{0%,20%{transform:scaleY(1)}80%,to{transform:scaleY(0)}}.cursor-smooth{animation:monaco-cursor-smooth .5s ease-in-out 0s 20 alternate}.cursor-phase{animation:monaco-cursor-phase .5s ease-in-out 0s 20 alternate}.cursor-expand>.cursor{animation:monaco-cursor-expand .5s ease-in-out 0s 20 alternate}.monaco-diff-editor .diffOverview{z-index:9}.monaco-diff-editor .diffOverview .diffViewport{z-index:10}.monaco-diff-editor.vs .diffOverview{background:rgba(0,0,0,.03)}.monaco-diff-editor.vs-dark .diffOverview{background:rgba(255,255,255,.01)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar{background:rgba(0,0,0,0)}.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar{background:rgba(0,0,0,0)}.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar{background:none}.monaco-scrollable-element.modified-in-monaco-diff-editor .slider{z-index:10}.modified-in-monaco-diff-editor .slider.active{background:rgba(171,171,171,.4)}.modified-in-monaco-diff-editor.hc-black .slider.active{background:none}.monaco-editor .insert-sign,.monaco-diff-editor .insert-sign,.monaco-editor .delete-sign,.monaco-diff-editor .delete-sign{font-size:11px!important;opacity:.7!important;display:flex!important;align-items:center}.monaco-editor.hc-black .insert-sign,.monaco-diff-editor.hc-black .insert-sign,.monaco-editor.hc-black .delete-sign,.monaco-diff-editor.hc-black .delete-sign{opacity:1}.monaco-editor .inline-deleted-margin-view-zone{text-align:right}.monaco-editor .inline-added-margin-view-zone{text-align:right}.monaco-editor .view-zones .view-lines .view-line span{display:inline-block}.monaco-editor .margin-view-zones .lightbulb-glyph:hover{cursor:pointer}:root{--sash-size: 4px}.monaco-sash{position:absolute;z-index:35;touch-action:none}.monaco-sash.disabled{pointer-events:none}.monaco-sash.mac.vertical{cursor:col-resize}.monaco-sash.vertical.minimum{cursor:e-resize}.monaco-sash.vertical.maximum{cursor:w-resize}.monaco-sash.mac.horizontal{cursor:row-resize}.monaco-sash.horizontal.minimum{cursor:s-resize}.monaco-sash.horizontal.maximum{cursor:n-resize}.monaco-sash.disabled{cursor:default!important;pointer-events:none!important}.monaco-sash.vertical{cursor:ew-resize;top:0;width:var(--sash-size);height:100%}.monaco-sash.horizontal{cursor:ns-resize;left:0;width:100%;height:var(--sash-size)}.monaco-sash:not(.disabled)>.orthogonal-drag-handle{content:" ";height:calc(var(--sash-size) * 2);width:calc(var(--sash-size) * 2);z-index:100;display:block;cursor:all-scroll;position:absolute}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.start,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.end{cursor:nwse-resize}.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)>.orthogonal-drag-handle.end,.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)>.orthogonal-drag-handle.start{cursor:nesw-resize}.monaco-sash.vertical>.orthogonal-drag-handle.start{left:calc(var(--sash-size) * -.5);top:calc(var(--sash-size) * -1)}.monaco-sash.vertical>.orthogonal-drag-handle.end{left:calc(var(--sash-size) * -.5);bottom:calc(var(--sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.start{top:calc(var(--sash-size) * -.5);left:calc(var(--sash-size) * -1)}.monaco-sash.horizontal>.orthogonal-drag-handle.end{top:calc(var(--sash-size) * -.5);right:calc(var(--sash-size) * -1)}.monaco-sash:before{content:"";pointer-events:none;position:absolute;width:100%;height:100%;transition:background-color .1s ease-out;background:transparent}.monaco-sash.vertical:before{width:var(--sash-hover-size);left:calc(50% - (var(--sash-hover-size) / 2))}.monaco-sash.horizontal:before{height:var(--sash-hover-size);top:calc(50% - (var(--sash-hover-size) / 2))}.monaco-sash.debug{background:cyan}.monaco-sash.debug.disabled{background:rgba(0,255,255,.2)}.monaco-sash.debug:not(.disabled)>.orthogonal-drag-handle{background:red}.monaco-diff-editor .diff-review-line-number{text-align:right;display:inline-block}.monaco-diff-editor .diff-review{position:absolute;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-diff-editor .diff-review-summary{padding-left:10px}.monaco-diff-editor .diff-review-shadow{position:absolute}.monaco-diff-editor .diff-review-row{white-space:pre}.monaco-diff-editor .diff-review-table{display:table;min-width:100%}.monaco-diff-editor .diff-review-row{display:table-row;width:100%}.monaco-diff-editor .diff-review-spacer{display:inline-block;width:10px;vertical-align:middle}.monaco-diff-editor .diff-review-spacer>.codicon{font-size:9px!important}.monaco-diff-editor .diff-review-actions{display:inline-block;position:absolute;right:10px;top:2px}.monaco-diff-editor .diff-review-actions .action-label{width:16px;height:16px;margin:2px 0}.monaco-action-bar{white-space:nowrap;height:100%}.monaco-action-bar .actions-container{display:flex;margin:0 auto;padding:0;height:100%;width:100%;align-items:center}.monaco-action-bar.vertical .actions-container{display:inline-block}.monaco-action-bar .action-item{display:block;align-items:center;justify-content:center;cursor:pointer;position:relative}.monaco-action-bar .action-item.disabled{cursor:default}.monaco-action-bar .action-item .icon,.monaco-action-bar .action-item .codicon{display:block}.monaco-action-bar .action-item .codicon{display:flex;align-items:center;width:16px;height:16px}.monaco-action-bar .action-label{font-size:11px;padding:3px;border-radius:5px}.monaco-action-bar .action-item.disabled .action-label,.monaco-action-bar .action-item.disabled .action-label:before,.monaco-action-bar .action-item.disabled .action-label:hover{opacity:.4}.monaco-action-bar.vertical{text-align:left}.monaco-action-bar.vertical .action-item{display:block}.monaco-action-bar.vertical .action-label.separator{display:block;border-bottom:1px solid #bbb;padding-top:1px;margin-left:.8em;margin-right:.8em}.monaco-action-bar .action-item .action-label.separator{width:1px;height:16px;margin:5px 4px!important;cursor:default;min-width:1px;padding:0;background-color:#bbb}.secondary-actions .monaco-action-bar .action-label{margin-left:6px}.monaco-action-bar .action-item.select-container{overflow:hidden;flex:1;max-width:170px;min-width:60px;display:flex;align-items:center;justify-content:center;margin-right:10px}.monaco-action-bar .action-item.action-dropdown-item{display:flex}.monaco-action-bar .action-item.action-dropdown-item>.action-label{margin-right:1px}@font-face{font-family:"codicon";font-display:block;src:url(./codicon.d86f69b1.ttf) format("truetype")}.codicon[class*=codicon-]{font:normal normal normal 16px/1 codicon;display:inline-block;text-decoration:none;text-rendering:auto;text-align:center;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;user-select:none;-webkit-user-select:none;-ms-user-select:none}.codicon-wrench-subaction{opacity:.5}@keyframes codicon-spin{to{transform:rotate(360deg)}}.codicon-sync.codicon-modifier-spin,.codicon-loading.codicon-modifier-spin,.codicon-gear.codicon-modifier-spin,.codicon-notebook-state-executing.codicon-modifier-spin{animation:codicon-spin 1.5s steps(30) infinite}.codicon-modifier-disabled{opacity:.4}.codicon-loading,.codicon-tree-item-loading:before{animation-duration:1s!important;animation-timing-function:cubic-bezier(.53,.21,.29,.67)!important}.context-view{position:absolute;z-index:2500}.context-view.fixed{all:initial;font-family:inherit;font-size:13px;position:fixed;z-index:2500;color:inherit}.context-view .monaco-menu{min-width:130px}.monaco-list{position:relative;height:100%;width:100%;white-space:nowrap}.monaco-list.mouse-support{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-list>.monaco-scrollable-element{height:100%}.monaco-list-rows{position:relative;width:100%;height:100%}.monaco-list.horizontal-scrolling .monaco-list-rows{width:auto;min-width:100%}.monaco-list-row{position:absolute;box-sizing:border-box;overflow:hidden;width:100%}.monaco-list.mouse-support .monaco-list-row{cursor:pointer;touch-action:none}.monaco-list-row.scrolling{display:none!important}.monaco-list.element-focused,.monaco-list.selection-single,.monaco-list.selection-multiple{outline:0!important}.monaco-drag-image{display:inline-block;padding:1px 7px;border-radius:10px;font-size:12px;position:absolute;z-index:1000}.monaco-list-type-filter{display:flex;align-items:center;position:absolute;border-radius:2px;padding:0 3px;max-width:calc(100% - 10px);text-overflow:ellipsis;overflow:hidden;text-align:right;box-sizing:border-box;cursor:all-scroll;font-size:13px;line-height:18px;height:20px;z-index:1;top:4px}.monaco-list-type-filter.dragging{transition:top .2s,left .2s}.monaco-list-type-filter.ne{right:4px}.monaco-list-type-filter.nw{left:4px}.monaco-list-type-filter>.controls{display:flex;align-items:center;box-sizing:border-box;transition:width .2s;width:0}.monaco-list-type-filter.dragging>.controls,.monaco-list-type-filter:hover>.controls{width:36px}.monaco-list-type-filter>.controls>*{border:none;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;background:none;width:16px;height:16px;flex-shrink:0;margin:0;padding:0;display:flex;align-items:center;justify-content:center;cursor:pointer}.monaco-list-type-filter>.controls>.filter{margin-left:4px}.monaco-list-type-filter-message{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;padding:40px 1em 1em;text-align:center;white-space:normal;opacity:.7;pointer-events:none}.monaco-list-type-filter-message:empty{display:none}.monaco-list-type-filter{cursor:grab}.monaco-list-type-filter.dragging{cursor:grabbing}.monaco-split-view2{position:relative;width:100%;height:100%}.monaco-split-view2>.sash-container{position:absolute;width:100%;height:100%;pointer-events:none}.monaco-split-view2>.sash-container>.monaco-sash{pointer-events:initial}.monaco-split-view2>.monaco-scrollable-element{width:100%;height:100%}.monaco-split-view2>.monaco-scrollable-element>.split-view-container{width:100%;height:100%;white-space:nowrap;position:relative}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view{white-space:initial;position:absolute}.monaco-split-view2>.monaco-scrollable-element>.split-view-container>.split-view-view:not(.visible){display:none}.monaco-split-view2.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view{width:100%}.monaco-split-view2.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view{height:100%}.monaco-split-view2.separator-border>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{content:" ";position:absolute;top:0;left:0;z-index:5;pointer-events:none;background-color:var(--separator-border)}.monaco-split-view2.separator-border.horizontal>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:100%;width:1px}.monaco-split-view2.separator-border.vertical>.monaco-scrollable-element>.split-view-container>.split-view-view:not(:first-child):before{height:1px;width:100%}.monaco-table{display:flex;flex-direction:column;position:relative;height:100%;width:100%;white-space:nowrap}.monaco-table>.monaco-split-view2{border-bottom:1px solid transparent}.monaco-table>.monaco-list{flex:1}.monaco-table-tr{display:flex;height:100%}.monaco-table-th{width:100%;height:100%;font-weight:bold;overflow:hidden;text-overflow:ellipsis}.monaco-table-th,.monaco-table-td{box-sizing:border-box;flex-shrink:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{content:"";position:absolute;left:calc(var(--sash-size) / 2);width:0;border-left:1px solid transparent}.monaco-table>.monaco-split-view2,.monaco-table>.monaco-split-view2 .monaco-sash.vertical:before{transition:border-color .2s ease-out}.monaco-tl-row{display:flex;height:100%;align-items:center;position:relative}.monaco-tl-indent{height:100%;position:absolute;top:0;left:16px;pointer-events:none}.hide-arrows .monaco-tl-indent{left:12px}.monaco-tl-indent>.indent-guide{display:inline-block;box-sizing:border-box;height:100%;border-left:1px solid transparent}.monaco-tl-indent>.indent-guide{transition:border-color .1s linear}.monaco-tl-twistie,.monaco-tl-contents{height:100%}.monaco-tl-twistie{font-size:10px;text-align:right;padding-right:6px;flex-shrink:0;width:16px;display:flex!important;align-items:center;justify-content:center;transform:translate(3px)}.monaco-tl-contents{flex:1;overflow:hidden}.monaco-tl-twistie:before{border-radius:20px}.monaco-tl-twistie.collapsed:before{transform:rotate(-90deg)}.monaco-tl-twistie.codicon-tree-item-loading:before{animation:codicon-spin 1.25s steps(30) infinite}.quick-input-widget{font-size:13px}.quick-input-widget .monaco-highlighted-label .highlight,.quick-input-widget .monaco-highlighted-label .highlight{color:#0066bf}.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight,.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight{color:#9dddff}.vs-dark .quick-input-widget .monaco-highlighted-label .highlight,.vs-dark .quick-input-widget .monaco-highlighted-label .highlight{color:#0097fb}.hc-black .quick-input-widget .monaco-highlighted-label .highlight,.hc-black .quick-input-widget .monaco-highlighted-label .highlight{color:#f38518}.monaco-keybinding>.monaco-keybinding-key{background-color:#ddd6;border:solid 1px rgba(204,204,204,.4);border-bottom-color:#bbb6;box-shadow:inset 0 -1px #bbb6;color:#555}.hc-black .monaco-keybinding>.monaco-keybinding-key{background-color:transparent;border:solid 1px rgb(111,195,223);box-shadow:none;color:#fff}.vs-dark .monaco-keybinding>.monaco-keybinding-key{background-color:#8080802b;border:solid 1px rgba(51,51,51,.6);border-bottom-color:#4449;box-shadow:inset 0 -1px #4449;color:#ccc}.monaco-text-button{box-sizing:border-box;display:flex;width:100%;padding:4px;text-align:center;cursor:pointer;justify-content:center;align-items:center}.monaco-text-button:focus{outline-offset:2px!important}.monaco-text-button:hover{text-decoration:none!important}.monaco-button.disabled:focus,.monaco-button.disabled{opacity:.4!important;cursor:default}.monaco-text-button>.codicon{margin:0 .2em;color:inherit!important}.monaco-button-dropdown{display:flex;cursor:pointer}.monaco-button-dropdown>.monaco-dropdown-button{margin-left:1px}.monaco-description-button{flex-direction:column}.monaco-description-button .monaco-button-label{font-weight:500}.monaco-description-button .monaco-button-description{font-style:italic}.monaco-count-badge{padding:3px 6px;border-radius:11px;font-size:11px;min-width:18px;min-height:18px;line-height:11px;font-weight:normal;text-align:center;display:inline-block;box-sizing:border-box}.monaco-count-badge.long{padding:2px 3px;border-radius:2px;min-height:auto;line-height:normal}.monaco-progress-container{width:100%;height:5px;overflow:hidden}.monaco-progress-container .progress-bit{width:2%;height:5px;position:absolute;left:0;display:none}.monaco-progress-container.active .progress-bit{display:inherit}.monaco-progress-container.discrete .progress-bit{left:0;transition:width .1s linear}.monaco-progress-container.discrete.done .progress-bit{width:100%}.monaco-progress-container.infinite .progress-bit{animation-name:progress;animation-duration:4s;animation-iteration-count:infinite;animation-timing-function:linear;transform:translate(0)}@keyframes progress{0%{transform:translate(0) scaleX(1)}50%{transform:translate(2500%) scaleX(3)}to{transform:translate(4900%) scaleX(1)}}.quick-input-widget{position:absolute;width:600px;z-index:2000;padding:0 1px 1px;left:50%;margin-left:-300px}.quick-input-titlebar{display:flex;align-items:center}.quick-input-left-action-bar{display:flex;margin-left:4px;flex:1}.quick-input-title{padding:3px 0;text-align:center;text-overflow:ellipsis;overflow:hidden}.quick-input-right-action-bar{display:flex;margin-right:4px;flex:1}.quick-input-right-action-bar>.actions-container{justify-content:flex-end}.quick-input-titlebar .monaco-action-bar .action-label.codicon{background-position:center;background-repeat:no-repeat;padding:2px}.quick-input-description{margin:6px}.quick-input-header .quick-input-description{margin:4px 2px}.quick-input-header{display:flex;padding:6px 6px 0;margin-bottom:-2px}.quick-input-widget.hidden-input .quick-input-header{padding:0;margin-bottom:0}.quick-input-and-message{display:flex;flex-direction:column;flex-grow:1;min-width:0;position:relative}.quick-input-check-all{align-self:center;margin:0}.quick-input-filter{flex-grow:1;display:flex;position:relative}.quick-input-box{flex-grow:1}.quick-input-widget.show-checkboxes .quick-input-box,.quick-input-widget.show-checkboxes .quick-input-message{margin-left:5px}.quick-input-visible-count{position:absolute;left:-10000px}.quick-input-count{align-self:center;position:absolute;right:4px;display:flex;align-items:center}.quick-input-count .monaco-count-badge{vertical-align:middle;padding:2px 4px;border-radius:2px;min-height:auto;line-height:normal}.quick-input-action{margin-left:6px}.quick-input-action .monaco-text-button{font-size:11px;padding:0 6px;display:flex;height:27.5px;align-items:center}.quick-input-message{margin-top:-1px;padding:5px 5px 2px;overflow-wrap:break-word}.quick-input-message>.codicon{margin:0 .2em;vertical-align:text-bottom}.quick-input-progress.monaco-progress-container{position:relative}.quick-input-progress.monaco-progress-container,.quick-input-progress.monaco-progress-container .progress-bit{height:2px}.quick-input-list{line-height:22px;margin-top:6px}.quick-input-widget.hidden-input .quick-input-list{margin-top:0}.quick-input-list .monaco-list{overflow:hidden;max-height:440px}.quick-input-list .quick-input-list-entry{box-sizing:border-box;overflow:hidden;display:flex;height:100%;padding:0 6px}.quick-input-list .quick-input-list-entry.quick-input-list-separator-border{border-top-width:1px;border-top-style:solid}.quick-input-list .monaco-list-row[data-index="0"] .quick-input-list-entry.quick-input-list-separator-border{border-top-style:none}.quick-input-list .quick-input-list-label{overflow:hidden;display:flex;height:100%;flex:1}.quick-input-list .quick-input-list-checkbox{align-self:center;margin:0}.quick-input-list .quick-input-list-rows{overflow:hidden;text-overflow:ellipsis;display:flex;flex-direction:column;height:100%;flex:1;margin-left:5px}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows{margin-left:10px}.quick-input-widget .quick-input-list .quick-input-list-checkbox{display:none}.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox{display:inline}.quick-input-list .quick-input-list-rows>.quick-input-list-row{display:flex;align-items:center}.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label,.quick-input-list .quick-input-list-rows>.quick-input-list-row .monaco-icon-label .monaco-icon-label-container>.monaco-icon-name-container{flex:1}.quick-input-list .quick-input-list-rows>.quick-input-list-row .codicon[class*=codicon-]{vertical-align:text-bottom}.quick-input-list .quick-input-list-rows .monaco-highlighted-label span{opacity:1}.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding{margin-right:8px}.quick-input-list .quick-input-list-label-meta{opacity:.7;line-height:normal;text-overflow:ellipsis;overflow:hidden}.quick-input-list .monaco-highlighted-label .highlight{font-weight:bold}.quick-input-list .quick-input-list-entry .quick-input-list-separator{margin-right:8px}.quick-input-list .quick-input-list-entry-action-bar{display:flex;flex:0;overflow:visible}.quick-input-list .quick-input-list-entry-action-bar .action-label{display:none}.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon{margin-right:4px;padding:0 2px 2px}.quick-input-list .quick-input-list-entry-action-bar{margin-top:1px}.quick-input-list .quick-input-list-entry-action-bar{margin-right:4px}.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label{display:flex}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator{color:inherit}.quick-input-list .monaco-list-row.focused .monaco-keybinding-key{background:none}.monaco-inputbox{position:relative;display:block;padding:0;box-sizing:border-box;font-size:inherit}.monaco-inputbox.idle{border:1px solid transparent}.monaco-inputbox>.ibwrapper>.input,.monaco-inputbox>.ibwrapper>.mirror{padding:4px}.monaco-inputbox>.ibwrapper{position:relative;width:100%;height:100%}.monaco-inputbox>.ibwrapper>.input{display:inline-block;box-sizing:border-box;width:100%;height:100%;line-height:inherit;border:none;font-family:inherit;font-size:inherit;resize:none;color:inherit}.monaco-inputbox>.ibwrapper>input{text-overflow:ellipsis}.monaco-inputbox>.ibwrapper>textarea.input{display:block;-ms-overflow-style:none;scrollbar-width:none;outline:none}.monaco-inputbox>.ibwrapper>textarea.input::-webkit-scrollbar{display:none}.monaco-inputbox>.ibwrapper>textarea.input.empty{white-space:nowrap}.monaco-inputbox>.ibwrapper>.mirror{position:absolute;display:inline-block;width:100%;top:0;left:0;box-sizing:border-box;white-space:pre-wrap;visibility:hidden;word-wrap:break-word}.monaco-inputbox-container{text-align:right}.monaco-inputbox-container .monaco-inputbox-message{display:inline-block;overflow:hidden;text-align:left;width:100%;box-sizing:border-box;padding:.4em;font-size:12px;line-height:17px;margin-top:-1px;word-wrap:break-word}.monaco-inputbox .monaco-action-bar{position:absolute;right:2px;top:4px}.monaco-inputbox .monaco-action-bar .action-item{margin-left:2px}.monaco-inputbox .monaco-action-bar .action-item .codicon{background-repeat:no-repeat;width:16px;height:16px}.monaco-icon-label{display:flex;overflow:hidden;text-overflow:ellipsis}.monaco-icon-label:before{background-size:16px;background-position:left center;background-repeat:no-repeat;padding-right:6px;width:16px;height:22px;line-height:inherit!important;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:top;flex-shrink:0}.monaco-icon-label>.monaco-icon-label-container{min-width:0;overflow:hidden;text-overflow:ellipsis;flex:1}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name{color:inherit;white-space:pre}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-name-container>.label-name>.label-separator{margin:0 2px;opacity:.5}.monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.7;margin-left:.5em;font-size:.9em;white-space:pre}.monaco-icon-label.nowrap>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{white-space:nowrap}.vs .monaco-icon-label>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{opacity:.95}.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.italic>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{font-style:italic}.monaco-icon-label.deprecated{text-decoration:line-through;opacity:.66}.monaco-icon-label.italic:after{font-style:italic}.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-name-container>.label-name,.monaco-icon-label.strikethrough>.monaco-icon-label-container>.monaco-icon-description-container>.label-description{text-decoration:line-through}.monaco-icon-label:after{opacity:.75;font-size:90%;font-weight:600;margin:auto 16px 0 5px;text-align:center}.monaco-list:focus .selected .monaco-icon-label,.monaco-list:focus .selected .monaco-icon-label:after{color:inherit!important}.monaco-list-row.focused.selected .label-description,.monaco-list-row.selected .label-description{opacity:.8}.monaco-keybinding{display:flex;align-items:center;line-height:10px}.monaco-keybinding>.monaco-keybinding-key{display:inline-block;border-style:solid;border-width:1px;border-radius:3px;vertical-align:middle;font-size:11px;padding:3px 5px;margin:0 2px}.monaco-keybinding>.monaco-keybinding-key:first-child{margin-left:0}.monaco-keybinding>.monaco-keybinding-key:last-child{margin-right:0}.monaco-keybinding>.monaco-keybinding-key-separator{display:inline-block}.monaco-keybinding>.monaco-keybinding-key-chord-separator{width:6px}.monaco-editor .selection-anchor{background-color:#007acc;width:2px!important}.monaco-editor .bracket-match{box-sizing:border-box}.monaco-editor .monaco-editor-overlaymessage{padding-bottom:8px;z-index:10000}.monaco-editor .monaco-editor-overlaymessage.below{padding-bottom:0;padding-top:8px;z-index:10000}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.monaco-editor .monaco-editor-overlaymessage.fadeIn{animation:fadeIn .15s ease-out}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.monaco-editor .monaco-editor-overlaymessage.fadeOut{animation:fadeOut .1s ease-out}.monaco-editor .monaco-editor-overlaymessage .message{padding:1px 4px}.monaco-editor .monaco-editor-overlaymessage .anchor{width:0!important;height:0!important;border-color:transparent;border-style:solid;z-index:1000;border-width:8px;position:absolute}.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,.monaco-editor .monaco-editor-overlaymessage.below .anchor.below{display:none}.monaco-editor .monaco-editor-overlaymessage.below .anchor.top{display:inherit;top:-8px}.monaco-editor .contentWidgets .codicon-light-bulb,.monaco-editor .contentWidgets .codicon-lightbulb-autofix{display:flex;align-items:center;justify-content:center}.monaco-editor .contentWidgets .codicon-light-bulb:hover,.monaco-editor .contentWidgets .codicon-lightbulb-autofix:hover{cursor:pointer}.monaco-editor .codelens-decoration{overflow:hidden;display:inline-block;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .codelens-decoration>span,.monaco-editor .codelens-decoration>a{user-select:none;-webkit-user-select:none;-ms-user-select:none;white-space:nowrap;vertical-align:sub}.monaco-editor .codelens-decoration>a{text-decoration:none}.monaco-editor .codelens-decoration>a:hover{cursor:pointer}.monaco-editor .codelens-decoration .codicon{vertical-align:middle;color:currentColor!important}.monaco-editor .codelens-decoration>a:hover .codicon:before{cursor:pointer}@keyframes fadein{0%{opacity:0;visibility:visible}to{opacity:1}}.monaco-editor .codelens-decoration.fadein{animation:fadein .1s linear}.monaco-editor .goto-definition-link{text-decoration:underline;cursor:pointer}.monaco-editor .peekview-widget .head{box-sizing:border-box;display:flex}.monaco-editor .peekview-widget .head .peekview-title{display:flex;align-items:center;font-size:13px;margin-left:20px;min-width:0}.monaco-editor .peekview-widget .head .peekview-title.clickable{cursor:pointer}.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty){font-size:.9em;margin-left:.5em}.monaco-editor .peekview-widget .head .peekview-title .meta{white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .dirname{white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty):before{content:"-";padding:0 .3em}.monaco-editor .peekview-widget .head .peekview-actions{flex:1;text-align:right;padding-right:2px}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar{display:inline-block}.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar,.monaco-editor .peekview-widget .head .peekview-actions>.monaco-action-bar>.actions-container{height:100%}.monaco-editor .peekview-widget>.body{border-top:1px solid;position:relative}.monaco-editor .peekview-widget .head .peekview-title .codicon{margin-right:4px}.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon{color:inherit!important}.monaco-editor .zone-widget{position:absolute;z-index:10}.monaco-editor .zone-widget .zone-widget-container{border-top-style:solid;border-bottom-style:solid;border-top-width:0;border-bottom-width:0;position:relative}.monaco-dropdown{height:100%;padding:0}.monaco-dropdown>.dropdown-label{cursor:pointer;height:100%;display:flex;align-items:center;justify-content:center}.monaco-dropdown>.dropdown-label>.action-label.disabled{cursor:default}.monaco-dropdown-with-primary{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-primary>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-primary>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.monaco-action-bar .action-item.menu-entry .action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-action-bar .action-item.menu-entry .action-label{background-image:var(--menu-entry-icon-light)}.vs-dark .monaco-action-bar .action-item.menu-entry .action-label,.hc-black .monaco-action-bar .action-item.menu-entry .action-label{background-image:var(--menu-entry-icon-dark)}.monaco-dropdown-with-default{display:flex!important;flex-direction:row;border-radius:5px}.monaco-dropdown-with-default>.action-container>.action-label{margin-right:0}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label.icon{width:16px;height:16px;background-repeat:no-repeat;background-position:50%;background-size:16px}.monaco-dropdown-with-default>.action-container.menu-entry>.action-label{background-image:var(--menu-entry-icon-light)}.vs-dark .monaco-dropdown-with-default>.action-container.menu-entry>.action-label,.hc-black .monaco-dropdown-with-default>.action-container.menu-entry>.action-label{background-image:var(--menu-entry-icon-dark)}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label .codicon[class*=codicon-]{font-size:12px;padding-left:0;padding-right:0;line-height:16px;margin-left:-3px}.monaco-dropdown-with-default>.dropdown-action-container>.monaco-dropdown>.dropdown-label>.action-label{display:block;background-size:16px;background-position:center center;background-repeat:no-repeat}.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget{border-top-width:1px;border-bottom-width:1px}.monaco-editor .reference-zone-widget .inline{display:inline-block;vertical-align:top}.monaco-editor .reference-zone-widget .messages{height:100%;width:100%;text-align:center;padding:3em 0}.monaco-editor .reference-zone-widget .ref-tree{line-height:23px}.monaco-editor .reference-zone-widget .ref-tree .reference{text-overflow:ellipsis;overflow:hidden}.monaco-editor .reference-zone-widget .ref-tree .reference-file{display:inline-flex;width:100%;height:100%}.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file{color:inherit!important}.monaco-editor .reference-zone-widget .ref-tree .reference-file .count{margin-right:12px;margin-left:auto}.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file{font-weight:bold}.monaco-hover{cursor:default;position:absolute;overflow:hidden;z-index:50;user-select:text;-webkit-user-select:text;-ms-user-select:text;box-sizing:initial;animation:fadein .1s linear;line-height:1.5em}.monaco-hover.hidden{display:none}.monaco-hover .hover-contents:not(.html-hover-contents){padding:4px 8px}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents){max-width:500px;word-wrap:break-word}.monaco-hover .markdown-hover>.hover-contents:not(.code-hover-contents) hr{min-width:100%}.monaco-hover p,.monaco-hover .code,.monaco-hover ul{margin:8px 0}.monaco-hover code{font-family:var(--monaco-monospace-font)}.monaco-hover hr{box-sizing:border-box;border-left:0px;border-right:0px;margin:4px -8px -4px;height:1px}.monaco-hover p:first-child,.monaco-hover .code:first-child,.monaco-hover ul:first-child{margin-top:0}.monaco-hover p:last-child,.monaco-hover .code:last-child,.monaco-hover ul:last-child{margin-bottom:0}.monaco-hover ul{padding-left:20px}.monaco-hover ol{padding-left:20px}.monaco-hover li>p{margin-bottom:0}.monaco-hover li>ul{margin-top:0}.monaco-hover code{border-radius:3px;padding:0 .4em}.monaco-hover .monaco-tokenized-source{white-space:pre-wrap}.monaco-hover .hover-row.status-bar{font-size:12px;line-height:22px}.monaco-hover .hover-row.status-bar .actions{display:flex;padding:0 8px}.monaco-hover .hover-row.status-bar .actions .action-container{margin-right:16px;cursor:pointer}.monaco-hover .hover-row.status-bar .actions .action-container .action .icon{padding-right:4px}.monaco-hover .markdown-hover .hover-contents .codicon{color:inherit;font-size:inherit;vertical-align:middle}.monaco-hover .hover-contents a.code-link:hover,.monaco-hover .hover-contents a.code-link{color:inherit}.monaco-hover .hover-contents a.code-link:before{content:"("}.monaco-hover .hover-contents a.code-link:after{content:")"}.monaco-hover .hover-contents a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under}.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span{margin-bottom:4px;display:inline-block}.monaco-hover-content .action-container a{-webkit-user-select:none;user-select:none}.monaco-hover-content .action-container.disabled{pointer-events:none;opacity:.4;cursor:default}.colorpicker-widget{height:190px;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .colorpicker-hover:focus{outline:none}.colorpicker-header{display:flex;height:24px;position:relative;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-header .picked-color{width:216px;line-height:24px;cursor:pointer;color:#fff;flex:1;text-align:center}.colorpicker-header .picked-color.light{color:#000}.colorpicker-header .original-color{width:74px;z-index:inherit;cursor:pointer}.colorpicker-body{display:flex;padding:8px;position:relative}.colorpicker-body .saturation-wrap{overflow:hidden;height:150px;position:relative;min-width:220px;flex:1}.colorpicker-body .saturation-box{height:150px;position:absolute}.colorpicker-body .saturation-selection{width:9px;height:9px;margin:-5px 0 0 -5px;border:1px solid rgb(255,255,255);border-radius:100%;box-shadow:0 0 2px #000c;position:absolute}.colorpicker-body .strip{width:25px;height:150px}.colorpicker-body .hue-strip{position:relative;margin-left:8px;cursor:grab;background:linear-gradient(to bottom,#ff0000 0%,#ffff00 17%,#00ff00 33%,#00ffff 50%,#0000ff 67%,#ff00ff 83%,#ff0000 100%)}.colorpicker-body .opacity-strip{position:relative;margin-left:8px;cursor:grab;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMTZEaa/1AAAAHUlEQVQYV2PYvXu3JAi7uLiAMaYAjAGTQBPYLQkAa/0Zef3qRswAAAAASUVORK5CYII=);background-size:9px 9px;image-rendering:pixelated}.colorpicker-body .strip.grabbing{cursor:grabbing}.colorpicker-body .slider{position:absolute;top:0;left:-2px;width:calc(100% + 4px);height:4px;box-sizing:border-box;border:1px solid rgba(255,255,255,.71);box-shadow:0 0 1px #000000d9}.colorpicker-body .strip .overlay{height:150px;pointer-events:none}.monaco-editor .peekview-widget .head .peekview-title .severity-icon{display:inline-block;vertical-align:text-top;margin-right:4px}.monaco-editor .marker-widget{text-overflow:ellipsis;white-space:nowrap}.monaco-editor .marker-widget>.stale{opacity:.6;font-style:italic}.monaco-editor .marker-widget .title{display:inline-block;padding-right:5px}.monaco-editor .marker-widget .descriptioncontainer{position:absolute;white-space:pre;user-select:text;-webkit-user-select:text;-ms-user-select:text;padding:8px 12px 0 20px}.monaco-editor .marker-widget .descriptioncontainer .message{display:flex;flex-direction:column}.monaco-editor .marker-widget .descriptioncontainer .message .details{padding-left:6px}.monaco-editor .marker-widget .descriptioncontainer .message .source,.monaco-editor .marker-widget .descriptioncontainer .message span.code{opacity:.6}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link{opacity:.6;color:inherit}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before{content:"("}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after{content:")"}.monaco-editor .marker-widget .descriptioncontainer .message a.code-link>span{text-decoration:underline;border-bottom:1px solid transparent;text-underline-position:under}.monaco-editor .marker-widget .descriptioncontainer .filename{cursor:pointer}.monaco-editor .snippet-placeholder{min-width:2px;outline-style:solid;outline-width:1px}.monaco-editor .finish-snippet-placeholder{outline-style:solid;outline-width:1px}.monaco-editor .suggest-widget{width:430px;z-index:40;display:flex;flex-direction:column}.monaco-editor .suggest-widget.message{flex-direction:row;align-items:center}.monaco-editor .suggest-widget,.monaco-editor .suggest-details{flex:0 1 auto;width:100%;border-style:solid;border-width:1px}.monaco-editor.hc-black .suggest-widget,.monaco-editor.hc-black .suggest-details{border-width:2px}.monaco-editor .suggest-widget .suggest-status-bar{box-sizing:border-box;display:none;flex-flow:row nowrap;justify-content:space-between;width:100%;font-size:80%;padding:0 4px;border-top:1px solid transparent;overflow:hidden}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar{display:flex}.monaco-editor .suggest-widget .suggest-status-bar .left{padding-right:8px}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label{opacity:.5;color:inherit}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label{margin-right:0}.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label:after{content:", ";margin-right:.3em}.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:100%}.monaco-editor .suggest-widget>.message{padding-left:22px}.monaco-editor .suggest-widget>.tree{height:100%;width:100%}.monaco-editor .suggest-widget .monaco-list{user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row{display:flex;-mox-box-sizing:border-box;box-sizing:border-box;padding-right:10px;background-repeat:no-repeat;background-position:2px 2px;white-space:nowrap;cursor:pointer;touch-action:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents{flex:1;height:100%;overflow:hidden;padding-left:2px}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main{display:flex;overflow:hidden;text-overflow:ellipsis;white-space:pre;justify-content:space-between}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{display:flex}.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight{font-weight:bold}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:before{color:inherit;opacity:1;font-size:14px;cursor:pointer}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close{position:absolute;top:6px;right:2px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover{opacity:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{opacity:.7}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label{overflow:hidden;text-overflow:ellipsis;opacity:.6}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label{margin-left:12px;opacity:.4;font-size:85%;line-height:initial;text-overflow:ellipsis;overflow:hidden;align-self:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{font-size:85%;margin-left:1.1em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label{display:none}.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label{display:inline}.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label{width:calc(100% - 26px)}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left{flex-shrink:1;flex-grow:1;overflow:hidden}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label{flex-shrink:0}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label{max-width:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label{flex-shrink:1}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right{overflow:hidden;flex-shrink:4;max-width:70%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:inline-block;position:absolute;right:10px;width:18px;height:18px;visibility:hidden}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none!important}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore{display:inline-block}.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,.monaco-editor .suggest-widget.docs-below .monaco-list .monaco-list-row>.contents>.main>.right>.readMore{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row:hover>.contents>.main>.right>.readMore{visibility:visible}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated{opacity:.66;text-decoration:unset}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container{text-decoration:line-through}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label:before{height:100%}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon{display:block;height:16px;width:16px;margin-left:2px;background-repeat:no-repeat;background-size:80%;background-position:center}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon{display:flex;align-items:center;margin-right:4px}.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon:before{display:none}.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan{margin:0 0 0 .3em;border:.1em solid #000;width:.7em;height:.7em;display:inline-block}.monaco-editor .suggest-details-container{z-index:41}.monaco-editor .suggest-details{display:flex;flex-direction:column;cursor:default}.monaco-editor .suggest-details.no-docs{display:none}.monaco-editor .suggest-details>.monaco-scrollable-element{flex:1}.monaco-editor .suggest-details>.monaco-scrollable-element>.body{box-sizing:border-box;height:100%;width:100%}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type{flex:2;overflow:hidden;text-overflow:ellipsis;opacity:.7;white-space:pre;margin:0 24px 0 0;padding:4px 0 12px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap{white-space:normal;word-break:break-all}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs{margin:0;padding:4px 5px;white-space:pre-wrap}.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs{margin-right:24px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs{padding:0;white-space:initial;min-height:calc(1rem + 8px)}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty){padding:4px 5px}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child{margin-top:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child{margin-bottom:0}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code{white-space:pre-wrap;word-wrap:break-word}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon{vertical-align:sub}.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty{display:none}.monaco-editor .suggest-details code{border-radius:3px;padding:0 .4em}.monaco-editor .suggest-details ul{padding-left:20px}.monaco-editor .suggest-details ol{padding-left:20px}.monaco-editor .suggest-details p code{font-family:var(--monaco-monospace-font)}.monaco-editor .suggest-preview-additional-widget{white-space:nowrap}.monaco-editor .suggest-preview-additional-widget .content-spacer{color:transparent;white-space:pre}.monaco-editor .suggest-preview-additional-widget .button{display:inline-block;cursor:pointer;text-decoration:underline;text-underline-position:under}.monaco-editor .ghost-text-hidden{opacity:0;font-size:0}.monaco-editor .ghost-text-decoration{font-style:italic}.monaco-editor .suggest-preview-text{font-style:italic}.monaco-editor.vs .dnd-target{border-right:2px dotted black;color:#fff}.monaco-editor.vs-dark .dnd-target{border-right:2px dotted #AEAFAD;color:#51504f}.monaco-editor.hc-black .dnd-target{border-right:2px dotted #fff;color:#000}.monaco-editor.mouse-default .view-lines,.monaco-editor.vs-dark.mac.mouse-default .view-lines,.monaco-editor.hc-black.mac.mouse-default .view-lines{cursor:default}.monaco-editor.mouse-copy .view-lines,.monaco-editor.vs-dark.mac.mouse-copy .view-lines,.monaco-editor.hc-black.mac.mouse-copy .view-lines{cursor:copy}.monaco-custom-checkbox{margin-left:2px;float:left;cursor:pointer;overflow:hidden;opacity:.7;width:20px;height:20px;border:1px solid transparent;padding:1px;box-sizing:border-box;user-select:none;-webkit-user-select:none;-ms-user-select:none}.monaco-custom-checkbox:hover,.monaco-custom-checkbox.checked{opacity:1}.hc-black .monaco-custom-checkbox{background:none}.hc-black .monaco-custom-checkbox:hover{background:none}.monaco-custom-checkbox.monaco-simple-checkbox{height:18px;width:18px;border:1px solid transparent;border-radius:3px;margin-right:9px;margin-left:0;padding:0;opacity:1;background-size:16px!important}.monaco-custom-checkbox.monaco-simple-checkbox:not(.checked):before{visibility:hidden}.monaco-editor .find-widget{position:absolute;z-index:35;height:33px;overflow:hidden;line-height:19px;transition:transform .2s linear;padding:0 4px;box-sizing:border-box;transform:translateY(calc(-100% - 10px))}.monaco-editor .find-widget textarea{margin:0}.monaco-editor .find-widget.hiddenEditor{display:none}.monaco-editor .find-widget.replaceToggled>.replace-part{display:flex}.monaco-editor .find-widget.visible{transform:translateY(0)}.monaco-editor .find-widget .monaco-inputbox.synthetic-focus{outline:1px solid -webkit-focus-ring-color;outline-offset:-1px}.monaco-editor .find-widget .monaco-inputbox .input{background-color:transparent;min-height:0}.monaco-editor .find-widget .monaco-findInput .input{font-size:13px}.monaco-editor .find-widget>.find-part,.monaco-editor .find-widget>.replace-part{margin:4px 0 0 17px;font-size:12px;display:flex}.monaco-editor .find-widget>.find-part .monaco-inputbox,.monaco-editor .find-widget>.replace-part .monaco-inputbox{min-height:25px}.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-right:22px}.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.find-part .monaco-inputbox>.ibwrapper>.mirror,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.input,.monaco-editor .find-widget>.replace-part .monaco-inputbox>.ibwrapper>.mirror{padding-top:2px;padding-bottom:2px}.monaco-editor .find-widget>.find-part .find-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget>.replace-part .replace-actions{height:25px;display:flex;align-items:center}.monaco-editor .find-widget .monaco-findInput{vertical-align:middle;display:flex;flex:1}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element{width:100%}.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical{opacity:0}.monaco-editor .find-widget .matchesCount{display:flex;flex:initial;margin:0 0 0 3px;padding:2px 0 0 2px;height:25px;vertical-align:middle;box-sizing:border-box;text-align:center;line-height:23px}.monaco-editor .find-widget .button{width:16px;height:16px;padding:3px;border-radius:5px;flex:initial;margin-left:3px;background-position:center center;background-repeat:no-repeat;cursor:pointer;display:flex;align-items:center;justify-content:center}.monaco-editor .find-widget .codicon-find-selection{width:22px;height:22px;padding:3px;border-radius:5px}.monaco-editor .find-widget .button.left{margin-left:0;margin-right:3px}.monaco-editor .find-widget .button.wide{width:auto;padding:1px 6px;top:-1px}.monaco-editor .find-widget .button.toggle{position:absolute;top:0;left:3px;width:18px;height:100%;border-radius:0;box-sizing:border-box}.monaco-editor .find-widget .button.toggle.disabled{display:none}.monaco-editor .find-widget .disabled{opacity:.3;cursor:default}.monaco-editor .find-widget>.replace-part{display:none}.monaco-editor .find-widget>.replace-part>.monaco-findInput{position:relative;display:flex;vertical-align:middle;flex:auto;flex-grow:0;flex-shrink:0}.monaco-editor .find-widget>.replace-part>.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.monaco-editor .find-widget.reduced-find-widget .matchesCount{display:none}.monaco-editor .find-widget.narrow-find-widget{max-width:257px!important}.monaco-editor .find-widget.collapsed-find-widget{max-width:170px!important}.monaco-editor .find-widget.collapsed-find-widget .button.previous,.monaco-editor .find-widget.collapsed-find-widget .button.next,.monaco-editor .find-widget.collapsed-find-widget .button.replace,.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,.monaco-editor .find-widget.collapsed-find-widget>.find-part .monaco-findInput .controls{display:none}.monaco-editor .findMatch{animation-duration:0;animation-name:inherit!important}.monaco-editor .find-widget .monaco-sash{left:0!important}.monaco-editor.hc-black .find-widget .button:before{position:relative;top:1px;left:2px}.monaco-findInput{position:relative}.monaco-findInput .monaco-inputbox{font-size:13px;width:100%}.monaco-findInput>.controls{position:absolute;top:3px;right:2px}.vs .monaco-findInput.disabled{background-color:#e1e1e1}.vs-dark .monaco-findInput.disabled{background-color:#333}.monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-0 .1s linear 0s}.monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-1 .1s linear 0s}.hc-black .monaco-findInput.highlight-0 .controls,.vs-dark .monaco-findInput.highlight-0 .controls{animation:monaco-findInput-highlight-dark-0 .1s linear 0s}.hc-black .monaco-findInput.highlight-1 .controls,.vs-dark .monaco-findInput.highlight-1 .controls{animation:monaco-findInput-highlight-dark-1 .1s linear 0s}@keyframes monaco-findInput-highlight-0{0%{background:rgba(253,255,0,.8)}to{background:transparent}}@keyframes monaco-findInput-highlight-1{0%{background:rgba(253,255,0,.8)}99%{background:transparent}}@keyframes monaco-findInput-highlight-dark-0{0%{background:rgba(255,255,255,.44)}to{background:transparent}}@keyframes monaco-findInput-highlight-dark-1{0%{background:rgba(255,255,255,.44)}99%{background:transparent}}.monaco-editor .margin-view-overlays .codicon-folding-expanded,.monaco-editor .margin-view-overlays .codicon-folding-collapsed{cursor:pointer;opacity:0;transition:opacity .5s;display:flex;align-items:center;justify-content:center;font-size:140%;margin-left:2px}.monaco-editor .margin-view-overlays:hover .codicon,.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons{opacity:1}.monaco-editor .inline-folded:after{color:gray;margin:.1em .2em 0;content:"\22ef";display:inline;line-height:1em;cursor:pointer}.monaco-editor .detected-link,.monaco-editor .detected-link-active{text-decoration:underline;text-underline-position:under}.monaco-editor .detected-link-active{cursor:pointer}.monaco-editor .parameter-hints-widget{z-index:10;display:flex;flex-direction:column;line-height:1.5em}.monaco-editor .parameter-hints-widget>.phwrapper{max-width:440px;display:flex;flex-direction:row}.monaco-editor .parameter-hints-widget.multiple{min-height:3.3em;padding:0}.monaco-editor .parameter-hints-widget.visible{transition:left .05s ease-in-out}.monaco-editor .parameter-hints-widget p,.monaco-editor .parameter-hints-widget ul{margin:8px 0}.monaco-editor .parameter-hints-widget .monaco-scrollable-element,.monaco-editor .parameter-hints-widget .body{display:flex;flex:1;flex-direction:column;min-height:100%}.monaco-editor .parameter-hints-widget .signature{padding:4px 5px}.monaco-editor .parameter-hints-widget .docs{padding:0 10px 0 5px;white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs.empty{display:none}.monaco-editor .parameter-hints-widget .docs .markdown-docs{white-space:initial}.monaco-editor .parameter-hints-widget .docs .markdown-docs code{font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .docs .code{white-space:pre-wrap}.monaco-editor .parameter-hints-widget .docs code{border-radius:3px;padding:0 .4em}.monaco-editor .parameter-hints-widget .controls{display:none;flex-direction:column;align-items:center;min-width:22px;justify-content:flex-end}.monaco-editor .parameter-hints-widget.multiple .controls{display:flex;padding:0 2px}.monaco-editor .parameter-hints-widget.multiple .button{width:16px;height:16px;background-repeat:no-repeat;cursor:pointer}.monaco-editor .parameter-hints-widget .button.previous{bottom:24px}.monaco-editor .parameter-hints-widget .overloads{text-align:center;height:12px;line-height:12px;opacity:.5;font-family:var(--monaco-monospace-font)}.monaco-editor .parameter-hints-widget .signature .parameter.active{font-weight:bold;text-decoration:underline}.monaco-editor .parameter-hints-widget .documentation-parameter>.parameter{font-weight:bold;margin-right:.5em}.monaco-editor .rename-box{z-index:100;color:inherit}.monaco-editor .rename-box.preview{padding:3px 3px 0}.monaco-editor .rename-box .rename-input{padding:3px;width:calc(100% - 6px)}.monaco-editor .rename-box .rename-label{display:none;opacity:.8}.monaco-editor .rename-box.preview .rename-label{display:inherit}.monaco-editor .accessibilityHelpWidget{padding:10px;vertical-align:middle;overflow:scroll}.monaco-editor .iPadShowKeyboard{width:58px;min-width:0;height:36px;min-height:0;margin:0;padding:0;position:absolute;resize:none;overflow:hidden;background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjNDI0MjQyIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #F6F6F6;border-radius:4px}.monaco-editor.vs-dark .iPadShowKeyboard{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCA1MyAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+CjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDguMDM2NCA0LjAxMDQySDQuMDA3NzlMNC4wMDc3OSAzMi4wMjg2SDQ4LjAzNjRWNC4wMTA0MlpNNC4wMDc3OSAwLjAwNzgxMjVDMS43OTcyMSAwLjAwNzgxMjUgMC4wMDUxODc5OSAxLjc5OTg0IDAuMDA1MTg3OTkgNC4wMTA0MlYzMi4wMjg2QzAuMDA1MTg3OTkgMzQuMjM5MiAxLjc5NzIxIDM2LjAzMTIgNC4wMDc3OSAzNi4wMzEySDQ4LjAzNjRDNTAuMjQ3IDM2LjAzMTIgNTIuMDM5IDM0LjIzOTIgNTIuMDM5IDMyLjAyODZWNC4wMTA0MkM1Mi4wMzkgMS43OTk4NCA1MC4yNDcgMC4wMDc4MTI1IDQ4LjAzNjQgMC4wMDc4MTI1SDQuMDA3NzlaTTguMDEwNDIgOC4wMTMwMkgxMi4wMTNWMTIuMDE1Nkg4LjAxMDQyVjguMDEzMDJaTTIwLjAxODIgOC4wMTMwMkgxNi4wMTU2VjEyLjAxNTZIMjAuMDE4MlY4LjAxMzAyWk0yNC4wMjA4IDguMDEzMDJIMjguMDIzNFYxMi4wMTU2SDI0LjAyMDhWOC4wMTMwMlpNMzYuMDI4NiA4LjAxMzAySDMyLjAyNlYxMi4wMTU2SDM2LjAyODZWOC4wMTMwMlpNNDAuMDMxMiA4LjAxMzAySDQ0LjAzMzlWMTIuMDE1Nkg0MC4wMzEyVjguMDEzMDJaTTE2LjAxNTYgMTYuMDE4Mkg4LjAxMDQyVjIwLjAyMDhIMTYuMDE1NlYxNi4wMTgyWk0yMC4wMTgyIDE2LjAxODJIMjQuMDIwOFYyMC4wMjA4SDIwLjAxODJWMTYuMDE4MlpNMzIuMDI2IDE2LjAxODJIMjguMDIzNFYyMC4wMjA4SDMyLjAyNlYxNi4wMTgyWk00NC4wMzM5IDE2LjAxODJWMjAuMDIwOEgzNi4wMjg2VjE2LjAxODJINDQuMDMzOVpNMTIuMDEzIDI0LjAyMzRIOC4wMTA0MlYyOC4wMjZIMTIuMDEzVjI0LjAyMzRaTTE2LjAxNTYgMjQuMDIzNEgzNi4wMjg2VjI4LjAyNkgxNi4wMTU2VjI0LjAyMzRaTTQ0LjAzMzkgMjQuMDIzNEg0MC4wMzEyVjI4LjAyNkg0NC4wMzM5VjI0LjAyMzRaIiBmaWxsPSIjQzVDNUM1Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDAiPgo8cmVjdCB3aWR0aD0iNTMiIGhlaWdodD0iMzYiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==) center center no-repeat;border:4px solid #252526}.monaco-editor .tokens-inspect-widget{z-index:50;user-select:text;-webkit-user-select:text;-ms-user-select:text;padding:10px}.tokens-inspect-separator{height:1px;border:0}.monaco-editor .tokens-inspect-widget .tm-token{font-family:var(--monaco-monospace-font)}.monaco-editor .tokens-inspect-widget .tm-token-length{font-weight:normal;font-size:60%;float:right}.monaco-editor .tokens-inspect-widget .tm-metadata-table{width:100%}.monaco-editor .tokens-inspect-widget .tm-metadata-value{font-family:var(--monaco-monospace-font);text-align:right}.monaco-editor .tokens-inspect-widget .tm-token-type{font-family:var(--monaco-monospace-font)} diff --git a/magic-editor/src/console/dist/index.html b/magic-editor/src/console/dist/index.html index d61b8c10..63da8431 100644 --- a/magic-editor/src/console/dist/index.html +++ b/magic-editor/src/console/dist/index.html @@ -23,12 +23,12 @@ @keyframes stretch {0% {transform: scale(1);}25% {transform: scale(1.2);}50% {transform: scale(1);}100% {transform: scale(1);}} @keyframes blink-loading {0% {opacity: 1;}50% {opacity: 0.5;}100% {opacity: 1;}} - + - - + +