index.87ef10a9.js 26 KB

12
  1. import{d as g,_ as C,r as R,c as B,o as F,e as y,T as c,s as L,a as h,b as A,f as u,g as n,h as P,p as d,i as O,j as s,C as V,R as k,F as w,k as o,l as b,m as x,D as $,n as v,q as S,t as q,u as T,v as z}from"./index.e6d6174e.js";import{A as H}from"./auth.5a63a717.js";import{r as N,a as U}from"./routes-common.786ac133.js";function lt(){import("data:text/javascript,")}const j=g({name:"App"});function M(e,t,a,r,i,pt){const I=R("router-view");return F(),B(I)}var G=C(j,[["render",M]]);const W="_error_t671u_1",J="_info_t671u_9",K="_login_t671u_27",Q="_loginCenter_t671u_34",X="_userInfo_t671u_38",Y="_img_t671u_41",Z="_name_t671u_47",tt="_tips_t671u_54",et="_logo_t671u_57",ot="_text_t671u_60",at="_phone_t671u_66",nt="_btnGroup_t671u_73",rt="_btn_t671u_73",ut="_moreBtn_t671u_87";var it={error:W,info:J,login:K,loginCenter:Q,userInfo:X,img:Y,name:Z,tips:tt,logo:et,text:ot,phone:at,btnGroup:nt,btn:rt,moreBtn:ut};const ft=()=>{sessionStorage.removeItem("Authorization")},E=e=>{sessionStorage.setItem("Authorization",e)},_=y({timeout:2e4,timeoutMessage:"\u8BF7\u6C42\u8D85\u65F6"});let D=!1,m;_.interceptors.request.use((e,t)=>{t.hideLoading||(clearTimeout(m),c.loading({message:"\u52A0\u8F7D\u4E2D...",forbidClick:!0,loadingType:"spinner",duration:0})),D=t.initRequest||!1;const a=sessionStorage.getItem("Authorization")||"",r={};return a&&!["/api-auth/usernameLogin","/api-auth/smsLogin","/api-auth/code/sendSms"].includes(e)&&(r.Authorization=a),{url:e,options:{...t,params:L(t.params),headers:{...t.headers,...r}}}},{global:!1});_.interceptors.response.use(async e=>{if(m=setTimeout(()=>{c.clear()},100),e.status>299||e.status<200){clearTimeout(m);const a="\u670D\u52A1\u5668\u9519\u8BEF\uFF0C\u72B6\u6001\u7801"+e.status;throw c(a),new Error(a)}const t=await e.clone().json();if(t.code!==200&&t.errCode!==0){let a=t.msg||t.message||"\u5904\u7406\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5";throw D&&(t.code===403||t.code===401?h():A()),t.code===403||t.code===401||(clearTimeout(m),c(a)),u(),t.code===403&&(a+="403",h(),window.location.href=window.location.origin+window.location.pathname+"#/home-layout-center"),new Error(a)}return e},{global:!1});const st=u();var ct=g({name:"Auth-loayout",data(){return{loading:!1}},computed:{isExternal(){return this.$route.meta.isExternal&&!st.isStudent||!1},isNeedView(){return n.user.status==="login"||this.$route.path==="/home-auth"||this.$route.path==="/home-login"||this.$route.path==="/home-layout-center"||this.isExternal}},mounted(){!this.isExternal&&this.setAuth(),n.orchestraInfo.unionId||P()},methods:{async setAuth(){const{query:e}=this.$route,t=e.userInfo||e.Authorization;if(t&&E(t),!this.loading){if(n.user.status==="init"||n.user.status==="error"){this.loading=!0;try{if(n.orchestraInfo.unionId){const r=await _.post("/api-auth/smsLogin",{requestType:"form",data:{clientId:"student",clientSecret:"student",phone:n.orchestraInfo.phone,token:n.orchestraInfo.token,isSurportRegister:!0}}),{authentication:i}=r.data;E(i.token_type+" "+i.access_token),d({api:"setCache",content:{key:"h5-colexiu-token",value:i.token_type+" "+i.access_token}})}const a=await _.get("/api-student/student/queryUserInfo",{initRequest:!0,requestType:"form"});O(a.data)}catch(a){const r=a.message;r.indexOf("5000")===-1&&r.indexOf("authentication")===-1?A():h()}this.loading=!1}if(n.user.status==="logout")try{const a=this.$route,r={returnUrl:this.$route.path,...this.$route.query};a.meta.isRegister&&(r.isRegister=a.meta.isRegister),this.$router.replace({path:"/home-auth",query:r})}catch{}}}},render(){return s(w,null,[n.user.status==="error"?s("div",{class:it.error},[s(V,{type:"notFond",classImgSize:"CERT",tips:"\u52A0\u8F7D\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5",buttonText:"\u91CD\u65B0\u52A0\u8F7D",plain:!0,onClick:this.setAuth},null)]):this.isNeedView?s(k,null,null):null])}});const mt=[{path:"/share-music-sheet",name:"share-music-sheet",component:()=>o(()=>import("./index.ded265a9.js"),["assets/index.ded265a9.js","assets/index.254f2153.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/icon_discount.535f7618.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u5206\u4EAB\u4E50\u66F2"}},{path:"/leaderboard",component:()=>o(()=>import("./index.6362c707.js"),["assets/index.6362c707.js","assets/index.237b8a87.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.67c54471.js","assets/index.e07367fb.css","assets/index.9093bc60.js","assets/index.725eb6f5.css","assets/index.b4a53c6a.js","assets/index.53cbb04c.css","assets/index.54627972.js","assets/index.9d82b1e3.css","assets/use-id.f239f36f.js","assets/use-tab-status.e9ba8498.js","assets/use-refs.eb803454.js","assets/icon_level3.5bff162c.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u66F2\u76EE\u6311\u6218\u6392\u884C\u699C"}}];var _t=[{path:"/",component:H,children:[...N,{path:"/login",name:"login",component:()=>o(()=>import("./login.10a8ed75.js"),["assets/login.10a8ed75.js","assets/login.45bf09f9.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.4aea64de.js","assets/index.935001ee.css","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.17d70acf.js","assets/index.9aecfad8.css","assets/use-id.f239f36f.js","assets/index.31319b59.js","assets/index.0fd2891c.css","assets/index.83d3716a.js","assets/index.ed0ac76f.css","assets/index.67c54471.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js"]),meta:{isRegister:!1}},{path:"/practiceClass",name:"practiceClass",component:()=>o(()=>import("./index.160d0017.js"),["assets/index.160d0017.js","assets/index.21f3b182.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.045f03fd.js","assets/index.ff32357b.css","assets/index.d8c651bf.js","assets/index.3d59d650.css","assets/use-height.8140ea04.js","assets/index.9093bc60.js","assets/index.725eb6f5.css","assets/index.f904775d.js","assets/index.85a0c0a7.css","assets/use-tab-status.e9ba8498.js","assets/index.8ec5fd1e.js","assets/index.9bdb045e.css","assets/index.c42f80e3.js","assets/index.d21b37d5.css","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.17d70acf.js","assets/index.9aecfad8.css","assets/use-id.f239f36f.js","assets/index.67c54471.js","assets/index.e07367fb.css","assets/index.9fec9f0d.js","assets/index.7e4a2d88.css","assets/use-refs.eb803454.js","assets/icon_teacher.40b6f077.js","assets/organ-search.02ca21ae.js","assets/organ-search.133b8c72.css","assets/index.05f2b7dd.js","assets/index.c1ee5538.css"]),meta:{title:"\u966A\u7EC3\u8BFE"}},{path:"/videoDetail",name:"videoDetail",component:()=>o(()=>import("./video-detail.3a7ec0f2.js"),["assets/video-detail.3a7ec0f2.js","assets/video-detail.f773086f.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.43f63892.js","assets/index.e6e7e1cb.css","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.67c54471.js","assets/index.e07367fb.css","assets/index.05f2b7dd.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.ce98b2a8.js","assets/icon_music_active.3b316ab8.js","assets/index.884a0e76.js","assets/index.3f72abd0.css","assets/index.4aea64de.js","assets/index.935001ee.css","assets/index.af98ec6d.js","assets/index.37f2cda1.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/icon-jiaozi.20e415ca.js","assets/index.045f03fd.js","assets/index.ff32357b.css","assets/index.d8c651bf.js","assets/index.3d59d650.css","assets/use-height.8140ea04.js","assets/orderStatus.fea01d83.js","assets/tradeOrder.d6463377.js","assets/index.68f32c85.js","assets/index.b0eda115.js","assets/index.20f296a8.css","assets/icon-share.4e09e300.js","assets/index.88fe9143.js","assets/index.b4a53c6a.js","assets/index.53cbb04c.css","assets/code-down-load.3acfa024.js","assets/code-down-load.2a8c2e98.css","assets/logo.bcac726b.js","assets/browser.8379baf6.js","assets/html2canvas.esm.3d083717.js","assets/live-item.7738586b.js","assets/live-item.3af230fe.css"]),meta:{title:"\u89C6\u9891\u8BFE"}},{path:"/videoClassDetail",name:"videoClassDetail",component:()=>o(()=>import("./video-class-detail.7845e97a.js"),["assets/video-class-detail.7845e97a.js","assets/video-class-detail.b2370989.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.43f63892.js","assets/index.e6e7e1cb.css","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.67c54471.js","assets/index.e07367fb.css","assets/index.05f2b7dd.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.ce98b2a8.js","assets/icon_music_active.3b316ab8.js","assets/index.884a0e76.js","assets/index.3f72abd0.css","assets/index.4aea64de.js","assets/index.935001ee.css","assets/index.045f03fd.js","assets/index.ff32357b.css","assets/index.d8c651bf.js","assets/index.3d59d650.css","assets/use-height.8140ea04.js","assets/index.4a53da74.js","assets/index.a2c503d8.css","assets/plyr.623e6d1e.js","assets/plyr.732cfe9c.css","assets/index.9093bc60.js","assets/index.725eb6f5.css","assets/index.b4a53c6a.js","assets/index.53cbb04c.css","assets/index.54627972.js","assets/index.9d82b1e3.css","assets/use-id.f239f36f.js","assets/use-tab-status.e9ba8498.js","assets/use-refs.eb803454.js","assets/index.17d70acf.js","assets/index.9aecfad8.css","assets/index.f904775d.js","assets/index.85a0c0a7.css","assets/icon_teacher.40b6f077.js","assets/orderStatus.fea01d83.js"]),meta:{title:"\u89C6\u9891\u8BFE\u8BE6\u60C5"}},{path:"/liveDetail",name:"liveDetail",component:()=>o(()=>import("./live-detail.efd4a8f4.js"),["assets/live-detail.efd4a8f4.js","assets/live-detail.1c14417f.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.80fb0739.js","assets/index.36a08fcf.css","assets/index.4a53da74.js","assets/index.a2c503d8.css","assets/plyr.623e6d1e.js","assets/plyr.732cfe9c.css","assets/index.884a0e76.js","assets/index.3f72abd0.css","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.4aea64de.js","assets/index.935001ee.css","assets/index.af98ec6d.js","assets/index.37f2cda1.css","assets/index.67c54471.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/icon-jiaozi.20e415ca.js","assets/orderStatus.fea01d83.js","assets/index.045f03fd.js","assets/index.ff32357b.css","assets/index.d8c651bf.js","assets/index.3d59d650.css","assets/use-height.8140ea04.js","assets/index.b0eda115.js","assets/index.20f296a8.css","assets/index.88fe9143.js","assets/index.b4a53c6a.js","assets/index.53cbb04c.css","assets/code-down-load.3acfa024.js","assets/code-down-load.2a8c2e98.css","assets/logo.bcac726b.js","assets/browser.8379baf6.js","assets/html2canvas.esm.3d083717.js","assets/live-item.7738586b.js","assets/live-item.3af230fe.css","assets/icon-share.4e09e300.js"]),meta:{title:"\u76F4\u64AD\u8BFE\u8BE6\u60C5"}},{path:"/memberActive",name:"memberActive",component:()=>o(()=>import("./member-active.01b814e4.js"),["assets/member-active.01b814e4.js","assets/member-active.02366b40.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css"]),meta:{title:"\u5C0F\u9177Ai\u4F1A\u5458\u5927\u653E\u4EF7"}},{path:"/memberRecord",name:"memberRecord",component:()=>o(()=>import("./member-record.38285e6e.js"),["assets/member-record.38285e6e.js","assets/member-record.88b35423.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.045f03fd.js","assets/index.ff32357b.css","assets/index.d8c651bf.js","assets/index.3d59d650.css","assets/use-height.8140ea04.js","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.4aea64de.js","assets/index.935001ee.css","assets/index.bcc8eff6.js","assets/index.2ba271cf.css","assets/index.c3601b28.js","assets/index.4f250b7f.css","assets/index.67c54471.js","assets/index.e07367fb.css","assets/index.f904775d.js","assets/index.85a0c0a7.css","assets/use-tab-status.e9ba8498.js","assets/index.68f32c85.js","assets/hooks.00b5b341.js","assets/index.27ea524d.js","assets/utils.5fa3f1eb.js","assets/index.00bf6672.js"]),meta:{title:"\u8BAD\u7EC3\u7EDF\u8BA1"}},{path:"/tradeRecord",name:"tradeRecord",component:()=>o(()=>import("./index.1ca5022d.js"),["assets/index.1ca5022d.js","assets/index.5226d72e.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.9093bc60.js","assets/index.725eb6f5.css","assets/index.b4a53c6a.js","assets/index.53cbb04c.css","assets/index.54627972.js","assets/index.9d82b1e3.css","assets/use-id.f239f36f.js","assets/use-tab-status.e9ba8498.js","assets/use-refs.eb803454.js","assets/index.8ec5fd1e.js","assets/index.9bdb045e.css","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.4aea64de.js","assets/index.935001ee.css","assets/index.bcc8eff6.js","assets/index.2ba271cf.css","assets/index.f904775d.js","assets/index.85a0c0a7.css","assets/index.68f32c85.js","assets/tradeOrder.d6463377.js","assets/orderStatus.fea01d83.js","assets/index.27ea524d.js","assets/utils.5fa3f1eb.js","assets/index.00bf6672.js","assets/hooks.00b5b341.js"]),meta:{title:"\u4EA4\u6613\u8BB0\u5F55"}},{path:"/teacherHome",name:"teacherHome",component:()=>o(()=>import("./teacher-home.9d03264f.js"),["assets/teacher-home.9d03264f.js","assets/teacher-home.f1e55bda.css","assets/teacher-header.module.374e6712.js","assets/teacher-header.module.6b126c59.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.045f03fd.js","assets/index.ff32357b.css","assets/index.d8c651bf.js","assets/index.3d59d650.css","assets/use-height.8140ea04.js","assets/index.9093bc60.js","assets/index.725eb6f5.css","assets/index.b4a53c6a.js","assets/index.53cbb04c.css","assets/index.54627972.js","assets/index.9d82b1e3.css","assets/use-id.f239f36f.js","assets/use-tab-status.e9ba8498.js","assets/use-refs.eb803454.js","assets/index.884a0e76.js","assets/index.3f72abd0.css","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.4aea64de.js","assets/index.935001ee.css","assets/index.4a53da74.js","assets/index.a2c503d8.css","assets/plyr.623e6d1e.js","assets/plyr.732cfe9c.css","assets/index.67c54471.js","assets/index.e07367fb.css","assets/index.17d70acf.js","assets/index.9aecfad8.css","assets/icon_upload_poster.81da3a98.js","assets/index.33f2da56.js","assets/index.e2a2294c.css","assets/index.bcc8eff6.js","assets/index.2ba271cf.css","assets/index.cdab6a82.js","assets/index.e3b9d8b8.css","assets/utils.5fa3f1eb.js","assets/index.05f2b7dd.js","assets/index.c1ee5538.css","assets/index.8ec5fd1e.js","assets/index.9bdb045e.css","assets/index.36f208b2.js","assets/index.8158e111.css","assets/orderStatus.fea01d83.js","assets/tradeOrder.d6463377.js","assets/index.68f32c85.js","assets/index.f904775d.js","assets/index.85a0c0a7.css","assets/video-item.589f57ee.js","assets/video-item.69885607.css","assets/index.7d22abf0.js","assets/index.9bccce42.css","assets/index.c42f80e3.js","assets/index.d21b37d5.css","assets/select-tag.3f6ab952.js","assets/select-tag.755f8917.css","assets/index.684ca989.js","assets/index.3d7e5752.js","assets/index.2fc2f59a.css","assets/index.d92a5aca.js","assets/index.2539762b.css","assets/index.926ca9c5.js","assets/index.c67b3500.js","assets/index.module.7b815a85.js","assets/index.module.3eb65b4d.css","assets/music.ce788382.js","assets/select-subject.5521b320.js","assets/organ-search.133b8c72.css","assets/hooks.00b5b341.js","assets/index.311acfa6.js","assets/index.cdc0469c.css","assets/icon_uploader.9f387137.js","assets/icon-xin.df8ab2d7.js","assets/icon_album.fa329df6.js","assets/icon_album_active.ce98b2a8.js","assets/icon_exquisite.69e33c80.js","assets/icon_music_active.3b316ab8.js","assets/icon-play.bc9e7aab.js","assets/index.9fec9f0d.js","assets/index.7e4a2d88.css","assets/icon_teacher.40b6f077.js","assets/icon-jiaozi.20e415ca.js"]),meta:{title:"\u8001\u5E08\u4E3B\u9875"}},{path:"/teacherElegant",name:"teacherElegant",component:()=>o(()=>import("./teacher-elegant.b176e715.js"),["assets/teacher-elegant.b176e715.js","assets/teacher-elegant.d1ee700a.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.045f03fd.js","assets/index.ff32357b.css","assets/index.d8c651bf.js","assets/index.3d59d650.css","assets/use-height.8140ea04.js","assets/index.c42f80e3.js","assets/index.d21b37d5.css","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.17d70acf.js","assets/index.9aecfad8.css","assets/use-id.f239f36f.js","assets/index.f904775d.js","assets/index.85a0c0a7.css","assets/use-tab-status.e9ba8498.js","assets/index.9093bc60.js","assets/index.725eb6f5.css","assets/index.67c54471.js","assets/index.e07367fb.css","assets/organ-search.02ca21ae.js","assets/organ-search.133b8c72.css","assets/index.05f2b7dd.js","assets/index.c1ee5538.css","assets/icon_teacher.40b6f077.js","assets/icon_upload_poster.81da3a98.js","assets/bars.4f1962a6.js","assets/hooks.00b5b341.js"]),meta:{title:"\u8001\u5E08\u98CE\u91C7"}},{path:"/music-upload",component:()=>o(()=>import("./index.22b14c25.js"),["assets/index.22b14c25.js","assets/index.fd988807.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.17d70acf.js","assets/index.9aecfad8.css","assets/use-id.f239f36f.js","assets/index.9093bc60.js","assets/index.725eb6f5.css","assets/index.05f2b7dd.js","assets/index.c1ee5538.css","assets/index.cbc70232.js","assets/index.5cb54b78.css","assets/index.d92a5aca.js","assets/index.2539762b.css","assets/index.bcc8eff6.js","assets/index.2ba271cf.css","assets/index.3dbd60dd.js","assets/index.f5591219.css","assets/index.83d3716a.js","assets/index.ed0ac76f.css","assets/index.68e8d63d.js","assets/index.f4dc3d44.css","assets/index.3d7e5752.js","assets/index.2fc2f59a.css","assets/index.67c54471.js","assets/index.e07367fb.css","assets/checkbox_default.8d9b037b.js","assets/index.c67b3500.js","assets/index.b4a53c6a.js","assets/index.53cbb04c.css","assets/index.4324e3af.js","assets/index.9db88570.css","assets/index.80eb2440.js","assets/index.b0d5b748.css","assets/select-tag.3f6ab952.js","assets/select-tag.755f8917.css","assets/index.684ca989.js","assets/index.926ca9c5.js","assets/teacherState.c60b6196.js","assets/toolsValidate.add49407.js","assets/index.41be4a84.js","assets/index.00bf6672.js"]),meta:{title:"\u4E0A\u4F20\u66F2\u8C31"}},{path:"/teacherFollow",component:()=>o(()=>import("./teacher-follow.c2bd3f67.js"),["assets/teacher-follow.c2bd3f67.js","assets/teacher-header.module.374e6712.js","assets/teacher-header.module.6b126c59.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.67c54471.js","assets/index.e07367fb.css","assets/index.f904775d.js","assets/index.85a0c0a7.css","assets/use-tab-status.e9ba8498.js","assets/index.9fec9f0d.js","assets/index.7e4a2d88.css","assets/use-refs.eb803454.js","assets/index.9093bc60.js","assets/index.725eb6f5.css","assets/icon_teacher.40b6f077.js","assets/index.c42f80e3.js","assets/index.d21b37d5.css","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.17d70acf.js","assets/index.9aecfad8.css","assets/use-id.f239f36f.js","assets/icon-jiaozi.20e415ca.js"]),meta:{title:"\u6211\u7684\u5173\u6CE8"}},{path:"/track-review-activity",component:()=>o(()=>import("./index.2b68281a.js"),["assets/index.2b68281a.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.b0eda115.js","assets/index.20f296a8.css","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.4aea64de.js","assets/index.935001ee.css","assets/index.67c54471.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/share.57719e8d.js","assets/music.ce788382.js","assets/orderStatus.fea01d83.js","assets/index.68f32c85.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u66F2\u76EE\u8BC4\u6D4B\u6D3B\u52A8",isExternal:!0}},{path:"/track-song",component:()=>o(()=>import("./track-song.477a00c5.js"),["assets/track-song.477a00c5.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.045f03fd.js","assets/index.ff32357b.css","assets/index.d8c651bf.js","assets/index.3d59d650.css","assets/use-height.8140ea04.js","assets/index.684ca989.js","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.4aea64de.js","assets/index.935001ee.css","assets/index.67c54471.js","assets/index.e07367fb.css"]),meta:{title:"\u8BC4\u6D4B\u66F2\u76EE"}}]},{path:"/home-layout",component:ct,children:[{path:"/home-auth",name:"home-auth",component:()=>o(()=>import("./auth-login.26807b7e.js"),["assets/auth-login.26807b7e.js","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.67c54471.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/auth.5a63a717.js","assets/auth.f09b6d78.css","assets/routes-common.786ac133.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-layout-center",name:"home-layout-center",component:()=>o(()=>import("./home-layout-center.8021fda7.js"),["assets/home-layout-center.8021fda7.js","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/auth.5a63a717.js","assets/auth.f09b6d78.css","assets/routes-common.786ac133.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-login",name:"home-login",component:()=>o(()=>import("./login.57083421.js"),["assets/login.57083421.js","assets/login.196c691a.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.4aea64de.js","assets/index.935001ee.css","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.17d70acf.js","assets/index.9aecfad8.css","assets/use-id.f239f36f.js","assets/index.31319b59.js","assets/index.0fd2891c.css","assets/index.83d3716a.js","assets/index.ed0ac76f.css","assets/index.67c54471.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js","assets/index.045f03fd.js","assets/index.ff32357b.css","assets/index.d8c651bf.js","assets/index.3d59d650.css","assets/use-height.8140ea04.js","assets/auth.5a63a717.js","assets/auth.f09b6d78.css","assets/routes-common.786ac133.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home",name:"home",component:()=>o(()=>import("./index.c7ff8714.js"),["assets/index.c7ff8714.js","assets/index.23bb1d2e.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.77ef0efc.js","assets/index.ab41a591.css","assets/index.b4a53c6a.js","assets/index.53cbb04c.css","assets/index.67c54471.js","assets/index.e07367fb.css","assets/index.9093bc60.js","assets/index.725eb6f5.css","assets/index.54627972.js","assets/index.9d82b1e3.css","assets/use-id.f239f36f.js","assets/use-tab-status.e9ba8498.js","assets/use-refs.eb803454.js","assets/icon-xin-active.3d0e362e.js","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.4aea64de.js","assets/index.935001ee.css","assets/index.f904775d.js","assets/index.85a0c0a7.css","assets/icon-play.bc9e7aab.js","assets/icon_exquisite.69e33c80.js","assets/icon_album_active.ce98b2a8.js","assets/index.b0eda115.js","assets/index.20f296a8.css","assets/auth.5a63a717.js","assets/auth.f09b6d78.css","assets/routes-common.786ac133.js"])}]},...mt,...U,{path:"/inviteTeacher",name:"inviteTeacher",component:()=>o(()=>import("./index.d5eef257.js"),["assets/index.d5eef257.js","assets/index.0df43561.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.4aea64de.js","assets/index.935001ee.css","assets/index.af99cf22.js","assets/index.09cb4b8c.css","assets/index.17d70acf.js","assets/index.9aecfad8.css","assets/use-id.f239f36f.js","assets/index.83d3716a.js","assets/index.ed0ac76f.css","assets/index.3d7e5752.js","assets/index.2fc2f59a.css","assets/index.d92a5aca.js","assets/index.2539762b.css","assets/validate.ba62cd4c.js","assets/icon_teacher.40b6f077.js","assets/icon_checkbox_default.2fe5d57e.js","assets/index.62005a6f.js","assets/index.045f03fd.js","assets/index.ff32357b.css","assets/index.d8c651bf.js","assets/index.3d59d650.css","assets/use-height.8140ea04.js"]),meta:{title:"\u9080\u8BF7\u5B66\u5458"}},{path:"/inviteSuccess",name:"inviteSuccess",component:()=>o(()=>import("./index.d9d67509.js"),["assets/index.d9d67509.js","assets/index.5f37a31b.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/wx_bg.3aa8574a.js"]),meta:{title:"\u6CE8\u518C\u6210\u529F"}},{path:"/transfer",component:()=>o(()=>import("./transfer.a38f3277.js"),["assets/transfer.a38f3277.js","assets/index.module.d7fec199.js","assets/index.module.7282ad9a.css","assets/wx_bg.3aa8574a.js","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css"]),meta:{title:"\u9177\u4E50\u79C0\u5B66\u9662"}},{path:"/download",component:()=>o(()=>import("./download.e8772196.js"),["assets/download.e8772196.js","assets/index.module.d7fec199.js","assets/index.module.7282ad9a.css","assets/wx_bg.3aa8574a.js","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css"])},{path:"/:pathMatch(.*)*",component:()=>o(()=>import("./index.3e0e8624.js"),["assets/index.3e0e8624.js","assets/index.5361fbba.css","assets/index.e6d6174e.js","assets/index.0cc6b6d8.css","assets/index.67c54471.js","assets/index.e07367fb.css"]),meta:{title:"404 Not Fund",platform:"STUDENT"}}];const p=b({history:x(),routes:_t});p.beforeEach((e,t,a)=>{const r=e.meta.title;document.title=r||"\u9177\u4E50\u79C0",a()});let f=!1;p.onError(e=>{if(e instanceof Error){const t=e.name.indexOf("chunk"),a=p.currentRoute.value.fullPath;t&&!f&&(f=!0,$.alert({title:"\u66F4\u65B0\u63D0\u793A",message:"APP\u6709\u66F4\u65B0\u8BF7\u70B9\u51FB\u786E\u5B9A\u5237\u65B0\u9875\u9762?",confirmButtonColor:"var(--van-primary)"}).then(()=>{u().isApp?v({api:"back"}):(location.hash=a,window.location.reload())}))}});const l=S(G);v({api:"getVersion"},e=>{n.version=e.content.version});u().isOrchestraStudent&&(d({api:"getUserAccount"}).then(e=>{const t=e.content;n.orchestraInfo.token=t.token.split(" ")[1],n.orchestraInfo.phone=t.phone,n.orchestraInfo.nickname=t.nickname,n.orchestraInfo.avatar=t.avatar,n.orchestraInfo.unionId=t.unionId||0}),d({api:"getCache",content:{key:"h5-colexiu-token"}}).then(e=>{const t=e.content;t.value&&q(t.value)}));u().isTeacher?n.platformType="TEACHER":u().isStudent?n.platformType="STUDENT":n.platformType="STUDENT";n.platformType==="TEACHER"?n.platformApi="/api-teacher":n.platformApi="/api-student";T.locale("zh-ch");l.config.globalProperties.$dayjs=T;l.config.globalProperties.$filters=z;l.use(p);l.mount("#app");export{lt as __vite_legacy_guard,_ as a,it as b,ft as r,E as s};