2 lines
38 KiB
JavaScript
2 lines
38 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const a of r)if(a.type==="childList")for(const m of a.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&n(m)}).observe(document,{childList:!0,subtree:!0});function o(r){const a={};return r.integrity&&(a.integrity=r.integrity),r.referrerpolicy&&(a.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?a.credentials="include":r.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(r){if(r.ep)return;r.ep=!0;const a=o(r);fetch(r.href,a)}})();String.prototype.fetchValue=function(e){return this.split(".").reduce((t,o)=>t==null?void 0:t[o],e||{})};String.prototype.resolveObject=function(e){const[t,...o]=this.split(".").reverse();return o.reduce((n,r)=>({[r]:n}),{[t]:e})};String.prototype.fileLinkTransfer=function(){if(this)return"/file-bucket/"+this};File.prototype.fileLinkTransfer=function(){if(this)return URL.createObjectURL(this)};Number.prototype.formatFileSize=function(e=2,t="string"){if(isNaN(this))return this;const o=["B","KB","MB","GB","TB"];let n=this,r=0;for(;n>1024&&r<o.length-1;)n=n/1024,r++;return t==="object"?{value:n.toFixed(e),unit:o[r]}:n.toFixed(e)+o[r]};Date.prototype.format=function(e){const t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length)));for(const o in t)new RegExp("("+o+")").test(e)&&(e=e.replace(RegExp.$1,RegExp.$1.length===1?t[o]:("00"+t[o]).substr((""+t[o]).length)));return e};Date.prototype.toTypeStr=function(e,t){typeof e=="string"&&(t=e,e=void 0);const o=(e||new Date().getTime())-this.getTime();return o<60*1e3?"\u521A\u521A":o<60*60*1e3?Math.floor(o/(60*1e3))+"\u5206\u949F\u524D":o<24*60*60*1e3?Math.floor(o/(60*60*1e3))+"\u5C0F\u65F6\u524D":o<48*60*60*1e3?"\u6628\u5929":this.format(t||"yyyy-MM-dd hh:mm")};Array.generate=function(e=0,t){const o=[];if(t){let n=0;for(;n<e;)o.push(t(n++))}return o};Array.prototype.toTree=function({key:e="id",parentKey:t="pid",childKey:o="children"}={}){var p,d;const n=this,r={};let a=this.length;for(;a--;)r[n[a][e]]=n[a];const m=[],s=n.length;for(;++a<s;){const g=n[a],v=g[t];r[v]?((d=(p=r[v])[o])!=null||(p[o]=[]),r[v][o].push(g)):m.push(g)}return{map:r,tree:m}};const A={IMG({target:e}){e.src=e.className.includes("avatar")?"/logo.svg":"/default.svg"}};document.addEventListener("error",e=>{var t;return(t=A[e.target.tagName])==null?void 0:t.call(A,e)},!0);const T=e=>{if(!e)return;const t=o=>""+o;return{get(o,n){try{return JSON.parse(e.getItem(t(o)))||n}catch{return n}},save(o,n){if(n==null)return this.remove(o);e.setItem(t(o),JSON.stringify(n))},keys(){return Object.keys(e)},remove(o){e.removeItem(t(o))},clear(){e.clear()}}},E={image:{icon:"i-tupiao",color:"#ff6a4d",name:"\u56FE\u7247\u6587\u4EF6",accept:"image/*"},audio:{icon:"i-yinyue",color:"#9660f5",name:"\u97F3\u9891\u6587\u4EF6",accept:"audio/*"},video:{icon:"i-shipin",color:"#55d1e0",name:"\u89C6\u9891\u6587\u4EF6",accept:"video/*"},ppt:{icon:"i-ppt",color:"#ff9357",name:"\u6F14\u793A\u6587\u7A3F",accept:"application/vnd.ms-powerpoint"},pptx:{icon:"i-pptx",color:"#ff9357",name:"\u6F14\u793A\u6587\u7A3F",accept:"application/vnd.openxmlformats-officedocument.presentationml.presentation"},xls:{icon:"i-xls",color:"#28c17a",name:"\u8868\u683C\u6587\u4EF6",accept:"application/vnd.ms-excel"},xlsx:{icon:"i-xlsx",color:"#28c17a",name:"\u8868\u683C\u6587\u4EF6",accept:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"},pdf:{icon:"i-pdf",color:"#ff738e",name:"\u6587\u672C\u6587\u4EF6",accept:"application/pdf"},doc:{icon:"i-doc",color:"#39afff",name:"\u6587\u672C\u6587\u4EF6",accept:"application/msword"},docx:{icon:"i-docx",color:"#39afff",name:"\u6587\u672C\u6587\u4EF6",accept:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"},folder:{icon:"i-wenjianjia",color:"#ffd94a",name:"\u6587\u4EF6\u5939",accept:""}};function I(e){if(!!e){for(const t in E)if(e.startsWith(E[t].accept.replace(/\*$/,"")))return t}}function c({accepts:e=[],multiple:t=!1}={}){return c.el||(c.el=document.createElement("input"),c.el.type="file"),new Promise(o=>{c.el.setAttribute("accept",(e!=null&&e.length?e:Object.keys(E)).map(n=>E[n].accept).join(" , ")),c.el.setAttribute("multiple",t),c.el.onchange=()=>{o([...c.el.files]),c.el.value=null},c.el.click()})}async function h(e,t){if(!e)return;const o=await fetch(e).then(n=>{if(n.status===200)return n.arrayBuffer();throw Error("\u6587\u4EF6\u4E0B\u8F7D\u51FA\u9519")});h.el||(h.el=document.createElement("a")),h.el.download=t||"",h.el.href=URL.createObjectURL(new Blob([o])),h.el.click()}const u=T(localStorage),w=window.axios.create({baseURL:"",timeout:1e4});w.interceptors.request.use(e=>{const t=u.get("token");if(t&&(e.headers.Authorization=t),e.formData){e.headers["Content-Type"]="multipart/form-data;",e.data=new FormData;for(const o in e.formData)e.data.append(o,e.formData[o])}return e},e=>{throw e});w.interceptors.response.use(({data:e,status:t,config:o})=>{if([201,200].includes(t)&&(e.code===0||o.noCatch))return e;throw new Error(e.msg)},e=>{throw e});const l=async e=>{try{return await w(e)}catch(t){let o;throw t.response&&(t.response.data.code===401&&(u.clear(),location.href="/"),o=t.response.data.msg),e.noNotify||window.ELEMENT.Message.error(o||t.message||"\u7CFB\u7EDF\u7E41\u5FD9\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5\uFF01"),new Error(t)}},D="modulepreload",O=function(e,t){return new URL(e,t).href},y={},i=function(t,o,n){return!o||o.length===0?t():Promise.all(o.map(r=>{if(r=O(r,n),r in y)return;y[r]=!0;const a=r.endsWith(".css"),m=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${m}`))return;const s=document.createElement("link");if(s.rel=a?"stylesheet":D,a||(s.as="script",s.crossOrigin=""),s.href=r,document.head.appendChild(s),a)return new Promise((p,d)=>{s.addEventListener("load",p),s.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t())},_={template:"<KeepAlive><RouterView /></KeepAlive>"},P=[{path:"electronic-textbook",meta:{title:"\u7535\u5B50\u5316\u6559\u6750",icon:"i-xitongguanli"},component:()=>i(()=>import("./index.2efd60e5.js"),["index.2efd60e5.js","index.6c8d65e2.css","vueComponentNormalizer.9ef17bb1.js"],import.meta.url)},{path:"system",meta:{title:"\u7CFB\u7EDF\u7BA1\u7406",icon:"i-xitongguanli"},component:_,children:[{path:"user",meta:{title:"\u7528\u6237\u7BA1\u7406"},component:()=>i(()=>import("./index.90352ff6.js"),["index.90352ff6.js","index.56eac716.css","SearchTreeMenu.db7e3694.css","ActionBar.f9e04dd2.css","QueryInput.7bc78197.css","TableLayout.6296ef0f.css","DialogLayout.11655234.css","vueComponentNormalizer.9ef17bb1.js","QueryInput.7afa399e.js","FormLayout.c7820bdd.js","TableLayout.05a39499.js","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","user.529e3486.js","org.c2b47d31.js","role.e124e505.js"],import.meta.url)},{path:"org",meta:{title:"\u7EC4\u7EC7\u673A\u6784\u7BA1\u7406"},component:()=>i(()=>import("./index.baa4b7a3.js"),["index.baa4b7a3.js","TableLayout.6296ef0f.css","DialogLayout.11655234.css","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","QueryInput.7bc78197.css","ActionBar.1725b1a3.js","vueComponentNormalizer.9ef17bb1.js","FormLayout.c7820bdd.js","SearchTreeMenu.cf3d6165.js","org.c2b47d31.js"],import.meta.url)},{path:"role",meta:{title:"\u89D2\u8272\u7BA1\u7406"},component:()=>i(()=>import("./index.a506bf89.js"),["index.a506bf89.js","index.bf24d501.css","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","TableLayout.6296ef0f.css","DialogLayout.11655234.css","QueryInput.7bc78197.css","ActionBar.1725b1a3.js","vueComponentNormalizer.9ef17bb1.js","FormLayout.c7820bdd.js","TableLayout.05a39499.js","DialogLayout.e3af3567.js","SearchTreeMenu.cf3d6165.js","role.e124e505.js","user.529e3486.js"],import.meta.url)},{path:"electronic-textbook-manage",meta:{title:"\u624B\u518C\u7BA1\u7406",icon:"i-xitongguanli"},component:()=>i(()=>import("./index.667d115a.js"),["index.667d115a.js","index.471f1c08.css","vueComponentNormalizer.9ef17bb1.js"],import.meta.url)}]},{path:"resource",meta:{title:"\u8D44\u6E90\u7BA1\u7406",icon:"i-zaixiankecheng"},component:_,children:[{path:"resource-manage",meta:{title:"\u8D44\u6E90\u7BA1\u7406"},component:()=>i(()=>import("./index.0fd7ef2b.js"),["index.0fd7ef2b.js","index.1d3c6214.css","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","DialogLayout.11655234.css","TableLayout.6296ef0f.css","QueryInput.7bc78197.css","vueComponentNormalizer.9ef17bb1.js","TableLayout.05a39499.js","SearchTreeMenu.cf3d6165.js","QueryInput.7afa399e.js","clickoutside.4750c6ee.js"],import.meta.url)},{path:"resource-share",meta:{title:"\u8D44\u6E90\u5206\u4EAB"},component:()=>i(()=>import("./index.23c82297.js"),["index.23c82297.js","index.c5d666a4.css","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","DialogLayout.11655234.css","TableLayout.6296ef0f.css","QueryInput.7bc78197.css","vueComponentNormalizer.9ef17bb1.js","TableLayout.05a39499.js","QueryInput.7afa399e.js","clickoutside.4750c6ee.js"],import.meta.url)}]},{path:"online-course",meta:{title:"\u5728\u7EBF\u6388\u8BFE",icon:"i-zaixianjiaoxue"},component:_,children:[{path:"course-manage",meta:{title:"\u8BFE\u7A0B\u7BA1\u7406"},component:()=>i(()=>import("./index.5ed2a233.js"),["index.5ed2a233.js","index.9706fae9.css","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","DialogLayout.11655234.css","TableLayout.6296ef0f.css","QueryInput.7bc78197.css","vueComponentNormalizer.9ef17bb1.js","TableLayout.05a39499.js","SearchTreeMenu.cf3d6165.js","QueryInput.7afa399e.js","online-course.ea64e478.js","data-report.1a365133.js","index.70d38b82.js"],import.meta.url)},{path:"my-course",meta:{title:"\u6211\u7684\u8BFE\u7A0B"},component:()=>i(()=>import("./index.5e3f11c1.js"),["index.5e3f11c1.js","index.5e300020.css","QueryInput.7bc78197.css","vueComponentNormalizer.9ef17bb1.js","my-course.a3711b76.js","data-report.1a365133.js","index.70d38b82.js","QueryInput.7afa399e.js"],import.meta.url)},{path:"class-notes",meta:{title:"\u8BFE\u5802\u7B14\u8BB0"},component:()=>i(()=>import("./index.1cfd4531.js"),["index.1cfd4531.js","index.593aa49c.css","rich-text-editor.3ce9cac2.js","rich-text-editor.79e8f191.css","vueComponentNormalizer.9ef17bb1.js","utils.068fedb0.js","data-report.1a365133.js","index.70d38b82.js"],import.meta.url)},{path:"online-FAQ",meta:{title:"\u5728\u7EBF\u7B54\u7591"},component:()=>i(()=>import("./index.4246cbc4.js"),["index.4246cbc4.js","index.69e06f8c.css","ActionBar.f9e04dd2.css","DialogLayout.11655234.css","QueryInput.7bc78197.css","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","vueComponentNormalizer.9ef17bb1.js","user.529e3486.js","QueryInput.7afa399e.js","utils.068fedb0.js","rich-text-editor.3ce9cac2.js","rich-text-editor.79e8f191.css","data-report.1a365133.js","index.70d38b82.js"],import.meta.url)},{path:"live-lectures",meta:{title:"\u76F4\u64AD\u6388\u8BFE"},component:()=>i(()=>import("./index.6e49d02f.js"),["index.6e49d02f.js","index.402d8413.css","QueryInput.7bc78197.css","TableLayout.6296ef0f.css","QueryInput.7afa399e.js","vueComponentNormalizer.9ef17bb1.js","TableLayout.05a39499.js","live-manage.8235aa57.js","data-report.1a365133.js","index.70d38b82.js"],import.meta.url)},{path:"live-in-class",meta:{title:"\u76F4\u64AD\u4E0A\u8BFE"},component:()=>i(()=>import("./index.d38487a4.js"),["index.d38487a4.js","index.83b38f22.css","QueryInput.7bc78197.css","TableLayout.6296ef0f.css","QueryInput.7afa399e.js","vueComponentNormalizer.9ef17bb1.js","TableLayout.05a39499.js","live-student.aec0e85f.js","data-report.1a365133.js","index.70d38b82.js"],import.meta.url)}]},{path:"assessment-evaluation",meta:{title:"\u8BFE\u7A0B\u8003\u6838",icon:"i-kaoheceping"},component:_,children:[{path:"question-bank-manage",meta:{title:"\u9898\u5E93\u7BA1\u7406"},component:()=>i(()=>import("./index.e52bb004.js"),["index.e52bb004.js","index.0c29f644.css","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","TableLayout.6296ef0f.css","DialogLayout.11655234.css","QueryInput.7bc78197.css","gyStyle.a4df0706.css","vueComponentNormalizer.9ef17bb1.js","FormLayout.c7820bdd.js","TableLayout.05a39499.js","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","SearchTreeMenu.cf3d6165.js","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js","QueryInput.7afa399e.js","questions.7b4fcf73.js","xlsx.db07aefa.js"],import.meta.url)},{path:"examination-paper-manage",meta:{title:"\u8BD5\u5377\u7BA1\u7406"},component:()=>i(()=>import("./index.9d05d1a0.js"),["index.9d05d1a0.js","index.0c29f644.css","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","TableLayout.6296ef0f.css","DialogLayout.11655234.css","QueryInput.7bc78197.css","gyStyle.a4df0706.css","vueComponentNormalizer.9ef17bb1.js","FormLayout.c7820bdd.js","TableLayout.05a39499.js","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","SearchTreeMenu.cf3d6165.js","paper.f38f6971.js","exam.b89e27c3.js","QueryInput.7afa399e.js","PaperClassifySelector.496f2459.js","ExercisePerviewPaper.d6f9cd34.js","ExercisePerviewPaper.8e37b607.css","QuestionsList.4ae2bac5.js","QuestionsList.54d973dd.css","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js"],import.meta.url)},{path:"exam-arrangement",meta:{title:"\u8003\u8BD5\u5B89\u6392"},component:()=>i(()=>import("./index.5a9e63fb.js"),["index.5a9e63fb.js","index.fcae50d5.css","ActionBar.f9e04dd2.css","DialogLayout.11655234.css","SearchTreeMenu.db7e3694.css","TableLayout.6296ef0f.css","QueryInput.7bc78197.css","vueComponentNormalizer.9ef17bb1.js","FormLayout.c7820bdd.js","TableLayout.05a39499.js","SearchTreeMenu.cf3d6165.js","exam.b89e27c3.js","QueryInput.7afa399e.js"],import.meta.url)},{path:"human-evaluation",meta:{title:"\u4EBA\u5DE5\u8BC4\u5377"},component:()=>i(()=>import("./index.ddb2a1b1.js"),["index.ddb2a1b1.js","index.72c376a6.css","ActionBar.f9e04dd2.css","DialogLayout.11655234.css","SearchTreeMenu.db7e3694.css","gyStyle.a4df0706.css","TableLayout.6296ef0f.css","QueryInput.7bc78197.css","vueComponentNormalizer.9ef17bb1.js","FormLayout.c7820bdd.js","TableLayout.05a39499.js","QueryInput.7afa399e.js","humanEval.323dd8af.js"],import.meta.url)},{path:"simulation-test",meta:{title:"\u6A21\u62DF\u8003\u8BD5"},component:()=>i(()=>import("./index.a8e61ab2.js"),["index.a8e61ab2.js","index.a4f3e52e.css","ActionBar.f9e04dd2.css","DialogLayout.11655234.css","SearchTreeMenu.db7e3694.css","gyStyle.a4df0706.css","TableLayout.6296ef0f.css","QueryInput.7bc78197.css","vueComponentNormalizer.9ef17bb1.js","FormLayout.c7820bdd.js","TableLayout.05a39499.js","QueryInput.7afa399e.js","onlineTest.d650e810.js","paper.f38f6971.js","data-report.1a365133.js","index.70d38b82.js"],import.meta.url)},{path:"online-test",meta:{title:"\u5728\u7EBF\u8003\u8BD5"},component:()=>i(()=>import("./index.0d08833d.js"),["index.0d08833d.js","index.41e73620.css","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","gyStyle.a4df0706.css","TableLayout.6296ef0f.css","DialogLayout.11655234.css","QueryInput.7bc78197.css","vueComponentNormalizer.9ef17bb1.js","FormLayout.c7820bdd.js","TableLayout.05a39499.js","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","QueryInput.7afa399e.js","onlineTest.d650e810.js"],import.meta.url)},{path:"wrong-topic-consolidate",meta:{title:"\u9519\u9898\u5DE9\u56FA"},component:()=>i(()=>import("./index.d462c08d.js"),["index.d462c08d.js","index.ebb776b9.css","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","gyStyle.a4df0706.css","TableLayout.6296ef0f.css","DialogLayout.11655234.css","QueryInput.7bc78197.css","vueComponentNormalizer.9ef17bb1.js","FormLayout.c7820bdd.js","TableLayout.05a39499.js","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","QueryInput.7afa399e.js","mistake.821630f8.js","data-report.1a365133.js","index.70d38b82.js"],import.meta.url)}]},{path:"evaluation",meta:{title:"\u7EFC\u5408\u8BC4\u4EF7",icon:"i-pingjia"},component:_,children:[{path:"student-evaluation",meta:{title:"\u5B66\u5458\u8BC4\u4EF7"},component:()=>i(()=>import("./index.0c9165ec.js"),["index.0c9165ec.js","index.10c55d71.css","index.f55d88c9.js","index.9145d306.css","vueComponentNormalizer.9ef17bb1.js"],import.meta.url)},{path:"evaluation-setting",meta:{title:"\u8BC4\u4EF7\u8BBE\u7F6E"},component:()=>i(()=>import("./index.3cfa184d.js"),["index.3cfa184d.js","index.6ecdb8d4.css","index.f55d88c9.js","index.9145d306.css","vueComponentNormalizer.9ef17bb1.js","role.e124e505.js"],import.meta.url)},{path:"my-evaluation",meta:{title:"\u6211\u7684\u8BC4\u4EF7"},component:()=>i(()=>import("./index.a9367bb3.js"),["index.a9367bb3.js","index.e0f63d00.css","index.f55d88c9.js","index.9145d306.css","vueComponentNormalizer.9ef17bb1.js"],import.meta.url)}]}];function F(){const e=t=>{const o=[];for(const n of t){const r={name:n.path,label:n.meta.title};n.children&&n.children.length?r.children=e(n.children):r.children=[],o.push(r)}return o};return e(P)}const R={"course-manage":[{path:"course-evaluate/:courseId",meta:{title:"\u8BFE\u7A0B\u8BC4\u4EF7"},component:()=>i(()=>import("./index.16a4813d.js"),["index.16a4813d.js","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","DialogLayout.11655234.css","QueryInput.7bc78197.css","gyStyle.a4df0706.css","TableLayout.6296ef0f.css","vueComponentNormalizer.9ef17bb1.js","TableLayout.05a39499.js","my-course.a3711b76.js"],import.meta.url)},{path:"course-comment/:courseId",meta:{title:"\u8BFE\u7A0B\u8BC4\u8BBA"},component:()=>i(()=>import("./index.9dd48832.js"),["index.9dd48832.js","course-disscuss.4aaeee1b.js","course-disscuss.db9c8ad8.css","my-course.a3711b76.js","vueComponentNormalizer.9ef17bb1.js"],import.meta.url)},{path:"add-coures",meta:{title:"\u6DFB\u52A0\u8BFE\u7A0B"},component:()=>i(()=>import("./index.e2af31e4.js"),["index.e2af31e4.js","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","TableLayout.6296ef0f.css","DialogLayout.11655234.css","QueryInput.7bc78197.css","gyStyle.a4df0706.css","online-course.ea64e478.js","add-course.6aeff1b9.js","add-course.4b40ab05.css","org.c2b47d31.js","vueComponentNormalizer.9ef17bb1.js","TableLayout.05a39499.js","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","Preview.1248e311.js","Preview.d24ffafb.css","data-report.1a365133.js","index.70d38b82.js","my-course.a3711b76.js","button-selft.87bbc4e0.js","button-selft.ad30105c.css","utils.068fedb0.js","PaperSelectQuestionTable.45cbe4d9.js","PaperSelectQuestionTable.8e89d183.css","questions.7b4fcf73.js","QuestionDifficultyLevelSelector.9fe5a513.js","QuestionListPreview.baa07396.js","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js","course-disscuss.4aaeee1b.js","course-disscuss.db9c8ad8.css"],import.meta.url)},{path:"edit-coures/:courseId",meta:{title:"\u7F16\u8F91\u8BFE\u7A0B"},component:()=>i(()=>import("./index.e2af31e4.js"),["index.e2af31e4.js","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","TableLayout.6296ef0f.css","DialogLayout.11655234.css","QueryInput.7bc78197.css","gyStyle.a4df0706.css","online-course.ea64e478.js","add-course.6aeff1b9.js","add-course.4b40ab05.css","org.c2b47d31.js","vueComponentNormalizer.9ef17bb1.js","TableLayout.05a39499.js","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","Preview.1248e311.js","Preview.d24ffafb.css","data-report.1a365133.js","index.70d38b82.js","my-course.a3711b76.js","button-selft.87bbc4e0.js","button-selft.ad30105c.css","utils.068fedb0.js","PaperSelectQuestionTable.45cbe4d9.js","PaperSelectQuestionTable.8e89d183.css","questions.7b4fcf73.js","QuestionDifficultyLevelSelector.9fe5a513.js","QuestionListPreview.baa07396.js","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js","course-disscuss.4aaeee1b.js","course-disscuss.db9c8ad8.css"],import.meta.url)}],"my-course":[{path:"course-study/:courseId",meta:{title:"\u8BFE\u7A0B\u5B66\u4E60"},component:()=>i(()=>import("./index.456f5e6e.js"),["index.456f5e6e.js","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","TableLayout.6296ef0f.css","DialogLayout.11655234.css","QueryInput.7bc78197.css","gyStyle.a4df0706.css","online-course.ea64e478.js","add-course.6aeff1b9.js","add-course.4b40ab05.css","org.c2b47d31.js","vueComponentNormalizer.9ef17bb1.js","TableLayout.05a39499.js","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","Preview.1248e311.js","Preview.d24ffafb.css","data-report.1a365133.js","index.70d38b82.js","my-course.a3711b76.js","button-selft.87bbc4e0.js","button-selft.ad30105c.css","utils.068fedb0.js","PaperSelectQuestionTable.45cbe4d9.js","PaperSelectQuestionTable.8e89d183.css","questions.7b4fcf73.js","QuestionDifficultyLevelSelector.9fe5a513.js","QuestionListPreview.baa07396.js","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js","course-disscuss.4aaeee1b.js","course-disscuss.db9c8ad8.css"],import.meta.url)},{path:"course-exercies",meta:{title:"\u8BFE\u540E\u4E60\u9898"},component:()=>i(()=>import("./course-exercises.cec6b97c.js"),["course-exercises.cec6b97c.js","course-exercises.67658af8.css","gyStyle.a4df0706.css","index.624497d8.js","index.93eadc68.css","onlineTest.d650e810.js","humanEval.323dd8af.js","AQCard.8a0f8a13.js","AQCard.05076a74.css","vueComponentNormalizer.9ef17bb1.js","QuestionsList.4ae2bac5.js","QuestionsList.54d973dd.css","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js","my-course.a3711b76.js"],import.meta.url)}],"question-bank-manage":[{path:"add-modify-question/:questionId?",meta:{title:"\u6DFB\u52A0\u8BD5\u9898"},component:()=>i(()=>import("./index.ac303511.js"),["index.ac303511.js","index.0c8819e3.css","gyStyle.a4df0706.css","SearchTreeMenu.db7e3694.css","TableLayout.6296ef0f.css","DialogLayout.11655234.css","QueryInput.7bc78197.css","ActionBar.f9e04dd2.css","questions.7b4fcf73.js","ActionBar.1725b1a3.js","vueComponentNormalizer.9ef17bb1.js","QuestionDifficultyLevelSelector.9fe5a513.js","questionInfoMapJsonTrans.58e126b5.js","xlsx.db07aefa.js"],import.meta.url)}],"examination-paper-manage":[{path:"add-modify-paper",meta:{title:"\u6DFB\u52A0\u8BD5\u5377"},component:()=>i(()=>import("./index.c2cec918.js"),["index.c2cec918.js","gyStyle.a4df0706.css","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","TableLayout.6296ef0f.css","DialogLayout.11655234.css","QueryInput.7bc78197.css","QuestionListPreview.baa07396.js","vueComponentNormalizer.9ef17bb1.js","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js","PaperClassifySelector.496f2459.js","paper.f38f6971.js","PaperSelectQuestionTable.45cbe4d9.js","PaperSelectQuestionTable.8e89d183.css","questions.7b4fcf73.js","QuestionDifficultyLevelSelector.9fe5a513.js","TableLayout.05a39499.js","onlineTest.d650e810.js"],import.meta.url)},{path:"add-modify-paper/:paperId?",meta:{title:"\u7F16\u8F91\u8BD5\u5377"},component:()=>i(()=>import("./index.c2cec918.js"),["index.c2cec918.js","gyStyle.a4df0706.css","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","TableLayout.6296ef0f.css","DialogLayout.11655234.css","QueryInput.7bc78197.css","QuestionListPreview.baa07396.js","vueComponentNormalizer.9ef17bb1.js","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js","PaperClassifySelector.496f2459.js","paper.f38f6971.js","PaperSelectQuestionTable.45cbe4d9.js","PaperSelectQuestionTable.8e89d183.css","questions.7b4fcf73.js","QuestionDifficultyLevelSelector.9fe5a513.js","TableLayout.05a39499.js","onlineTest.d650e810.js"],import.meta.url)}],"exam-arrangement":[{path:"add-modify-exam",meta:{title:"\u53D1\u5E03\u8003\u8BD5"},component:()=>i(()=>import("./index.f4970ef5.js"),["index.f4970ef5.js","index.71f43bba.css","gyStyle.a4df0706.css","ActionBar.f9e04dd2.css","DialogLayout.11655234.css","SearchTreeMenu.db7e3694.css","TableLayout.6296ef0f.css","QueryInput.7bc78197.css","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","vueComponentNormalizer.9ef17bb1.js","exam.b89e27c3.js","FormLayout.c7820bdd.js","TableLayout.05a39499.js","QueryInput.7afa399e.js","paper.f38f6971.js","StudentsSelector.46fe11f3.js","StudentsSelector.40d0c907.css","QuestionListPreview.baa07396.js","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js"],import.meta.url)},{path:"add-modify-exam/:examId?",meta:{title:"\u7F16\u8F91\u8003\u8BD5"},component:()=>i(()=>import("./index.f4970ef5.js"),["index.f4970ef5.js","index.71f43bba.css","gyStyle.a4df0706.css","ActionBar.f9e04dd2.css","DialogLayout.11655234.css","SearchTreeMenu.db7e3694.css","TableLayout.6296ef0f.css","QueryInput.7bc78197.css","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","vueComponentNormalizer.9ef17bb1.js","exam.b89e27c3.js","FormLayout.c7820bdd.js","TableLayout.05a39499.js","QueryInput.7afa399e.js","paper.f38f6971.js","StudentsSelector.46fe11f3.js","StudentsSelector.40d0c907.css","QuestionListPreview.baa07396.js","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js"],import.meta.url)},{path:"add-modify-exam/:examId?/:type?",meta:{title:"\u590D\u5236\u8003\u8BD5"},component:()=>i(()=>import("./index.f4970ef5.js"),["index.f4970ef5.js","index.71f43bba.css","gyStyle.a4df0706.css","ActionBar.f9e04dd2.css","DialogLayout.11655234.css","SearchTreeMenu.db7e3694.css","TableLayout.6296ef0f.css","QueryInput.7bc78197.css","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","vueComponentNormalizer.9ef17bb1.js","exam.b89e27c3.js","FormLayout.c7820bdd.js","TableLayout.05a39499.js","QueryInput.7afa399e.js","paper.f38f6971.js","StudentsSelector.46fe11f3.js","StudentsSelector.40d0c907.css","QuestionListPreview.baa07396.js","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js"],import.meta.url)}],"online-test":[{path:"begin-online-exam/:studentExamId",meta:{title:"\u5728\u7EBF\u8003\u8BD5"},component:()=>i(()=>import("./index.624497d8.js"),["index.624497d8.js","index.93eadc68.css","gyStyle.a4df0706.css","onlineTest.d650e810.js","humanEval.323dd8af.js","AQCard.8a0f8a13.js","AQCard.05076a74.css","vueComponentNormalizer.9ef17bb1.js","QuestionsList.4ae2bac5.js","QuestionsList.54d973dd.css","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js"],import.meta.url)}],"simulation-test":[{path:"add-sim-test/:paperId?",meta:{title:"\u65B0\u5EFA\u8003\u8BD5"},component:()=>i(()=>import("./index.a2ec58d5.js"),["index.a2ec58d5.js","gyStyle.a4df0706.css","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","TableLayout.6296ef0f.css","DialogLayout.11655234.css","QueryInput.7bc78197.css","index.c2cec918.js","QuestionListPreview.baa07396.js","vueComponentNormalizer.9ef17bb1.js","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js","PaperClassifySelector.496f2459.js","paper.f38f6971.js","PaperSelectQuestionTable.45cbe4d9.js","PaperSelectQuestionTable.8e89d183.css","questions.7b4fcf73.js","QuestionDifficultyLevelSelector.9fe5a513.js","TableLayout.05a39499.js","onlineTest.d650e810.js"],import.meta.url)}],"human-evaluation":[{path:"eval-details/:examId?",meta:{title:"\u4EBA\u5458\u8BC4\u5377"},component:()=>i(()=>import("./index.0c44352c.js"),["index.0c44352c.js","index.0a12cf7f.css","ActionBar.f9e04dd2.css","SearchTreeMenu.db7e3694.css","gyStyle.a4df0706.css","TableLayout.6296ef0f.css","DialogLayout.11655234.css","QueryInput.7bc78197.css","vueComponentNormalizer.9ef17bb1.js","FormLayout.c7820bdd.js","TableLayout.05a39499.js","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","QueryInput.7afa399e.js","humanEval.323dd8af.js","ExercisePerviewPaper.d6f9cd34.js","ExercisePerviewPaper.8e37b607.css","QuestionsList.4ae2bac5.js","QuestionsList.54d973dd.css","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js","onlineTest.d650e810.js"],import.meta.url)},{path:"begin-eval/:studentExamId?",meta:{title:"\u5F00\u59CB\u5224\u5377"},component:()=>i(()=>import("./index.624497d8.js"),["index.624497d8.js","index.93eadc68.css","gyStyle.a4df0706.css","onlineTest.d650e810.js","humanEval.323dd8af.js","AQCard.8a0f8a13.js","AQCard.05076a74.css","vueComponentNormalizer.9ef17bb1.js","QuestionsList.4ae2bac5.js","QuestionsList.54d973dd.css","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js"],import.meta.url)}],"wrong-topic-consolidate":[{path:"mistake-again/:classifyId/:mode?",meta:{title:"\u9519\u9898\u5DE9\u56FA"},component:()=>i(()=>import("./index.113aaa63.js"),["index.113aaa63.js","index.b3c76749.css","gyStyle.a4df0706.css","ActionBar.f9e04dd2.css","QuestionsList.4ae2bac5.js","QuestionsList.54d973dd.css","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js","vueComponentNormalizer.9ef17bb1.js","mistake.821630f8.js","AQCard.8a0f8a13.js","AQCard.05076a74.css","ActionBar.1725b1a3.js"],import.meta.url)},{path:"history-exam-priview/:studentExamId",meta:{title:"\u8BD5\u5377\u9884\u89C8"},component:()=>i(()=>import("./index.624497d8.js"),["index.624497d8.js","index.93eadc68.css","gyStyle.a4df0706.css","onlineTest.d650e810.js","humanEval.323dd8af.js","AQCard.8a0f8a13.js","AQCard.05076a74.css","vueComponentNormalizer.9ef17bb1.js","QuestionsList.4ae2bac5.js","QuestionsList.54d973dd.css","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js"],import.meta.url)}],"live-lectures":[{path:"live-editor",meta:{title:"\u65B0\u5EFA\u76F4\u64AD"},component:()=>i(()=>import("./index.bff3c656.js"),["index.bff3c656.js","index.9aa689ff.css","gyStyle.a4df0706.css","QueryInput.7bc78197.css","SearchTreeMenu.db7e3694.css","ActionBar.f9e04dd2.css","DialogLayout.11655234.css","TableLayout.6296ef0f.css","live-manage.8235aa57.js","button-selft.87bbc4e0.js","button-selft.ad30105c.css","vueComponentNormalizer.9ef17bb1.js","my-course.a3711b76.js","StudentsSelector.46fe11f3.js","StudentsSelector.40d0c907.css","DialogLayout.e3af3567.js","ActionBar.1725b1a3.js","exam.b89e27c3.js","QueryInput.7afa399e.js","PaperSelectQuestionTable.45cbe4d9.js","PaperSelectQuestionTable.8e89d183.css","questions.7b4fcf73.js","QuestionDifficultyLevelSelector.9fe5a513.js","TableLayout.05a39499.js","QuestionListPreview.baa07396.js","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js","utils.068fedb0.js"],import.meta.url)},{path:"live-play",meta:{title:"\u8FDB\u884C\u76F4\u64AD"},component:()=>i(()=>import("./index.14f2277d.js"),["index.14f2277d.js","index.7c9780be.css","gy.srs.sdk.2df62181.js","gy.srs.a1080737.css","live-student.aec0e85f.js","vueComponentNormalizer.9ef17bb1.js","live-manage.8235aa57.js"],import.meta.url)}],"live-in-class":[{path:"live-watch",meta:{title:"\u89C2\u770B\u76F4\u64AD"},component:()=>i(()=>import("./index.ecd37fd2.js"),["index.ecd37fd2.js","index.37445d9f.css","gy.srs.sdk.2df62181.js","gy.srs.a1080737.css","live-student.aec0e85f.js","vueComponentNormalizer.9ef17bb1.js"],import.meta.url)},{path:"live-watch/answering",meta:{title:"\u76F4\u64AD\u7EC3\u4E60\u9898"},component:()=>i(()=>import("./index.f856ca90.js"),["index.f856ca90.js","index.00fb47d4.css","gyStyle.a4df0706.css","live-student.aec0e85f.js","index.624497d8.js","index.93eadc68.css","onlineTest.d650e810.js","humanEval.323dd8af.js","AQCard.8a0f8a13.js","AQCard.05076a74.css","vueComponentNormalizer.9ef17bb1.js","QuestionsList.4ae2bac5.js","QuestionsList.54d973dd.css","QuestionItem.1944680c.js","QuestionItem.304950a3.css","questionInfoMapJsonTrans.58e126b5.js"],import.meta.url)}],user:[{path:"batch-add",meta:{title:"\u6279\u91CF\u6DFB\u52A0"},component:()=>i(()=>import("./index.4730507c.js"),["index.4730507c.js","index.33b83220.css","xlsx.db07aefa.js","org.c2b47d31.js","role.e124e505.js","user.529e3486.js","vueComponentNormalizer.9ef17bb1.js"],import.meta.url)}]},f=new window.VueRouter({mode:"hash",base:"/",routes:[{path:"/login",meta:{noToken:!0},component:()=>i(()=>import("./index.88364f10.js"),["index.88364f10.js","index.c357f30c.css","package.3367ca0a.js","vueComponentNormalizer.9ef17bb1.js"],import.meta.url)},{path:"/register",meta:{noToken:!0},component:()=>i(()=>import("./index.58088463.js"),["index.58088463.js","index.318f92ba.css","package.3367ca0a.js","user.529e3486.js","org.c2b47d31.js","vueComponentNormalizer.9ef17bb1.js"],import.meta.url)},{path:"/404",meta:{noToken:!0},component:()=>i(()=>import("./index.440732ba.js"),["index.440732ba.js","index.31e68358.css","vueComponentNormalizer.9ef17bb1.js"],import.meta.url)},{path:"/entry",meta:{noToken:!0},component:()=>i(()=>import("./index.97da6707.js"),["index.97da6707.js","index.31addd92.css","HeadLayout.d9a9c266.js","HeadLayout.8db1abec.css","package.3367ca0a.js","vueComponentNormalizer.9ef17bb1.js"],import.meta.url)}]}),L={path:"/",meta:{title:"\u9996\u9875"},component:()=>i(()=>import("./index.b2b8f47c.js"),["index.b2b8f47c.js","index.8ff275da.css","HeadLayout.d9a9c266.js","HeadLayout.8db1abec.css","package.3367ca0a.js","vueComponentNormalizer.9ef17bb1.js","index.70d38b82.js"],import.meta.url),children:[{path:"/",meta:{title:"\u6570\u636E\u7EDF\u8BA1"},component:()=>i(()=>import("./index.a97a7ed3.js"),["index.a97a7ed3.js","index.4e0d39bc.css","vueComponentNormalizer.9ef17bb1.js","index.70d38b82.js"],import.meta.url)}]};function V(){const e=u.get("module");if(!e)return;const t=r=>{const a=[],m=[];for(const s of r)if(e.includes(s.path)){const p={name:s.path,label:s.meta.title,icon:s.meta.icon};if(s.children&&s.children.length){const d=t(s.children);a.push({...s,children:d.routeList}),p.children=d.menuList}else a.push(s),R[s.path]&&a.push({path:s.path,meta:s.meta,component:_,children:R[s.path]});m.push(p)}return{routeList:a,menuList:m}},{routeList:o,menuList:n}=t(P);u.save("menu",n),L.children.push(...o),f.addRoutes([L,{path:"*",redirect:"/404"}])}V();f.beforeEach((e,t,o)=>{console.log(e,t,"xxx",f,f.currentRoute.path),e.meta.noToken||u.get("token","").startsWith("Bearer ")?o():o("/login")});const N=(e,t)=>l({url:"/system/login",method:"post",data:{username:e,password:t}}),x=e=>l({url:"/system/checkAdminPassword",params:{password:e}}),b=(e,t)=>l({url:"/resource/upload",method:"post",timeout:0,...t,formData:{...t==null?void 0:t.data,file:e}}),z=()=>l({url:"system/feature",method:"get"}),j=e=>l({url:"resource/classify",method:"post",data:e}),B=e=>l({url:"resource/pagingDis",method:"get",params:e}),q=e=>l({url:"resource/discussion",method:"post",data:e}),W=e=>l({url:"resource/discussion/"+e,method:"delete"}),Q=e=>l({url:"resource/createResource",method:"post",data:e}),G=e=>l({url:"resource/createFolder",method:"post",data:e}),H=e=>l({url:"resource/classify/"+e,method:"delete"}),J=({id:e,...t})=>l({url:"resource/classify/"+e,method:"patch",data:t}),Z=()=>l({url:"resource/classify",method:"get"}),Y=e=>l({url:"resource",method:"get",params:e}),k=e=>l({url:"resource/findOne/"+e,method:"get"}),K=()=>l({url:"resource/findAllFolder",method:"get"}),X=(e,t)=>l({url:"resource/rename/"+e,method:"patch",data:{name:t}}),ee=(e,t)=>l({url:"resource/updateClassify",method:"patch",data:{ids:e,classifyIds:t.toString(),classifyId:t[t.length-1]}}),te=(e,t)=>l({url:"resource/updatePath",method:"patch",data:{ids:e,path:t}}),oe=e=>l({url:"resource/"+e,method:"delete"}),re=e=>l({url:"resource/fileConver/"+e,timeout:0,method:"patch"}),$={user:void 0,isOpenWin:location.hash.includes("win=1"),statistic_tab_active:0,upload_dialog:{visible:!1,form_data:void 0,tasks:[]},update_password_dialog:{visible:!1},resource_preview_dialog:{visible:!1,resource:null},class_notes_dialog:{visible:!1},online_FAQ_Dialog:{visible:!1}},M={setUser(e){!e||u.save("user",this.user=e)},setToken(e){!e||u.save("token",this.token="Bearer "+e)},async logout(e){e&&await this.$confirm("\u5C06\u8981\u9000\u51FA\u767B\u5F55\uFF0C\u662F\u5426\u7EE7\u7EED\uFF1F","\u9000\u51FA\u63D0\u793A",{type:"warning"}),u.clear(),window.location.reload()},showUpdatePasswordDialog(){this.update_password_dialog.visible=!0},showUploadDialog(e){this.upload_dialog.visible=!0,this.upload_dialog.form_data=e},showClassNotesDialog(){this.class_notes_dialog.visible=!0},showOnlineFaqDialog(){this.online_FAQ_Dialog.visible=!0},async showResourcePreviewDialog(e){if(!e)return;let t=e.id?e:null;if(!t){const{data:o}=await k(e);t=o}this.resource_preview_dialog.resource=t,this.resource_preview_dialog.visible=!0},async upload(){const e=await c(),t=[];for(const o of e){const n=o.name;if(o.size>1024*1024*500)return window.ELEMENT.Message.error(`\u6587\u4EF6\u3010${o.name}\u3011\u4F53\u79EF\u8FC7\u5927\uFF0C\u4E0A\u4F20\u5931\u8D25`);const r=I(o.type);if(!r)return window.ELEMENT.Message.error(`\u6587\u4EF6\u3010${o.name}\u3011\u7684\u683C\u5F0F\u6682\u4E0D\u652F\u6301`);t.push({name:n,file:o,size:o.size,status:0,progress:0,type:r})}Promise.allSettled(t.map(async(o,n)=>{o.onUploadProgress=({loaded:r,total:a})=>{o.progress=r/a*100|0};try{o.id=new Date().getTime()+Math.random().toString().substring(3,8),this.upload_dialog.tasks.push(o),o.status=1,o.abortCtrl=new AbortController,await b(o.file,{data:this.upload_dialog.form_data,signal:o.abortCtrl.signal,onUploadProgress:o.onUploadProgress}),o.status=2,this.$emit("onUploadSuccess",{task:o,index:n,tasks:t})}catch(r){throw o.status=3,o.error=r,this.$emit("onUploadError",o),r}})).then(()=>{this.$emit("onUploadEnd",t)})},async inputCheckAdminPassword(e="\u91CD\u8981\u63D0\u793A"){const{value:t}=await this.$prompt("\u8BF7\u8F93\u5165\u8D85\u7EA7\u7BA1\u7406\u5458\u5BC6\u7801",e,{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",inputType:"password",inputPattern:/^(?![0-9]+$)(?![a-zA-Z]+$)[a-zA-Z0-9]{6,12}$/,inputPlaceholder:"\u8BF7\u8F93\u5165",inputErrorMessage:"\u5BC6\u7801\u8F93\u5165\u4E0D\u5408\u6CD5\uFF0C\u82E5\u662F\u521D\u59CB\u5BC6\u7801\u8BF7\u4FEE\u6539\u540E\u518D\u8BD5"});return x(t)}},S=new window.Vue({data:$,methods:M,created(){this.setUser(u.get("user"))},computed:{ws(){return this.__WS__||(this.__WS__=window.io("",{transports:["websocket"],auth:{token:u.get("token")}})),this.__WS__}}});const C=new Vue;window.addEventListener("message",async e=>{e.data.type==="confim"&&await U(e),console.log(e,"aaaaaaaaaaaaaaaaaaaa")});async function U(e){C.$confirm(e.data.title,"\u64CD\u4F5C\u63D0\u793A",{type:"warning"}).then(()=>{console.log(e),e.source.postMessage({status:!0,id:e.data.id},"*")}).catch(()=>{e.source.postMessage({status:!1,id:e.data.id},"*")})}window.Vue.prototype.$ELEMENT={size:"small",zIndex:99};window.Vue.prototype.$store=S;new window.Vue({router:f,render:e=>e("RouterView")}).$mount("#app");export{E as A,re as B,i as _,u as a,l as b,F as c,Z as d,Y as e,z as f,c as g,H as h,V as i,j,J as k,N as l,K as m,te as n,Q as o,ee as p,oe as q,G as r,X as s,h as t,b as u,W as v,B as w,q as x,k as y,I as z};
|