1 |
- import{d as E,_ as L,r as P,o as O,c as V,b as i,s as r,a as I,e as w,f as T,g as f,h as m,p as g,i as u,C as R,R as D,F as C,j as $,T as c,k,l as x,m as d,n as b,q as n,t as q,u as S,v as z,D as N,w as H,x as y,y as U}from"./index.6b776f4b.js";function gt(){import("data:text/javascript,")}const j=E({name:"App"});function M(o,t,e,a,s,ft){const B=P("router-view");return O(),V(B)}var G=L(j,[["render",M]]);const W="_error_l30mv_1",J="_info_l30mv_9";var K={error:W,info:J};const Q=i();var X=E({name:"Auth",data(){return{loading:!1}},computed:{isExternal(){return this.$route.meta.isExternal&&!Q.isStudent||!1},isNeedView(){return r.user.status==="login"||this.$route.path==="/login"||this.isExternal}},mounted(){!this.isExternal&&this.setAuth()},methods:{async setAuth(){const{query:o}=this.$route,t=o.userInfo||o.Authorization;if(t&&I(t),!this.loading){if(r.user.status==="init"||r.user.status==="error"){this.loading=!0;try{let e=await w.get("/api-student/student/queryUserInfo",{initRequest:!0});T(e.data)}catch(e){const a=e.message;a.indexOf("403")===-1&&a.indexOf("authentication")===-1?f():m()}this.loading=!1}if(r.user.status==="logout")if(i().isApp)g({api:"login"});else try{const e=this.$route,a={returnUrl:this.$route.path,...this.$route.query};e.meta.isRegister&&(a.isRegister=e.meta.isRegister),this.$router.replace({path:"/login",query:a})}catch{}}}},render(){return u(C,null,[r.user.status==="error"?u("div",{class:K.error},[u(R,{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?u(D,null,null):null])}});const Y="_error_t671u_1",Z="_info_t671u_9",tt="_login_t671u_27",et="_loginCenter_t671u_34",ot="_userInfo_t671u_38",rt="_img_t671u_41",nt="_name_t671u_47",at="_tips_t671u_54",ut="_logo_t671u_57",it="_text_t671u_60",st="_phone_t671u_66",ct="_btnGroup_t671u_73",lt="_btn_t671u_73",mt="_moreBtn_t671u_87";var _t={error:Y,info:Z,login:tt,loginCenter:et,userInfo:ot,img:rt,name:nt,tips:at,logo:ut,text:it,phone:st,btnGroup:ct,btn:lt,moreBtn:mt};const vt=()=>{sessionStorage.removeItem("Authorization")},A=o=>{sessionStorage.setItem("Authorization",o)},_=$({timeout:2e4,timeoutMessage:"\u8BF7\u6C42\u8D85\u65F6"});let F=!1,l;_.interceptors.request.use((o,t)=>{t.hideLoading||(clearTimeout(l),c.loading({message:"\u52A0\u8F7D\u4E2D...",forbidClick:!0,loadingType:"spinner",duration:0})),F=t.initRequest||!1;const e=sessionStorage.getItem("Authorization")||"",a={};return e&&!["/api-auth/usernameLogin","/api-auth/smsLogin","/api-auth/code/sendSms"].includes(o)&&(a.Authorization=e),{url:o,options:{...t,params:k(t.params),headers:{...t.headers,...a}}}},{global:!1});_.interceptors.response.use(async o=>{if(l=setTimeout(()=>{c.clear()},100),o.status>299||o.status<200){clearTimeout(l);const e="\u670D\u52A1\u5668\u9519\u8BEF\uFF0C\u72B6\u6001\u7801"+o.status;throw c(e),new Error(e)}const t=await o.clone().json();if(t.code!==200&&t.errCode!==0){let e=t.msg||t.message||"\u5904\u7406\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5";throw F&&(t.code===403||t.code===401?m():f()),t.code===403||t.code===401||(clearTimeout(l),c(e)),i(),t.code===403&&(e+="403",m(),window.location.href=window.location.origin+window.location.pathname+"#/home-layout-center"),new Error(e)}return o},{global:!1});const pt=i();var ht=E({name:"Auth-loayout",data(){return{loading:!1}},computed:{isExternal(){return this.$route.meta.isExternal&&!pt.isStudent||!1},isNeedView(){return r.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(),r.orchestraInfo.unionId||x()},methods:{async setAuth(){const{query:o}=this.$route,t=o.userInfo||o.Authorization;if(t&&A(t),!this.loading){if(r.user.status==="init"||r.user.status==="error"){this.loading=!0;try{if(r.orchestraInfo.unionId){const a=await _.post("/api-auth/smsLogin",{requestType:"form",data:{clientId:"student",clientSecret:"student",phone:r.orchestraInfo.phone,token:r.orchestraInfo.token,isSurportRegister:!0}}),{authentication:s}=a.data;A(s.token_type+" "+s.access_token),d({api:"setCache",content:{key:"h5-colexiu-token",value:s.token_type+" "+s.access_token}})}const e=await _.get("/api-student/student/queryUserInfo",{initRequest:!0,requestType:"form"});T(e.data)}catch(e){const a=e.message;a.indexOf("5000")===-1&&a.indexOf("authentication")===-1?f():m()}this.loading=!1}if(r.user.status==="logout")try{const e=this.$route,a={returnUrl:this.$route.path,...this.$route.query};e.meta.isRegister&&(a.isRegister=e.meta.isRegister),this.$router.replace({path:"/home-auth",query:a})}catch{}}}},render(){return u(C,null,[r.user.status==="error"?u("div",{class:_t.error},[u(R,{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?u(D,null,null):null])}});const dt=[{path:"/share-music-sheet",name:"share-music-sheet",component:()=>n(()=>import("./index.7cee6d29.js"),["assets/index.7cee6d29.js","assets/index.254f2153.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.c3591af3.js","assets/icon_discount.535f7618.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u5206\u4EAB\u4E50\u66F2"}},{path:"/leaderboard",component:()=>n(()=>import("./index.4a08c490.js"),["assets/index.4a08c490.js","assets/index.237b8a87.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/index.998c3386.js","assets/index.725eb6f5.css","assets/index.570314c1.js","assets/index.53cbb04c.css","assets/index.21339447.js","assets/index.9d82b1e3.css","assets/use-id.40b6af6b.js","assets/use-tab-status.ad41a764.js","assets/use-refs.a68d4385.js","assets/icon_level3.5bff162c.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u66F2\u76EE\u6311\u6218\u6392\u884C\u699C"}}];var Et=[{path:"/",component:X,children:[...b,{path:"/login",name:"login",component:()=>n(()=>import("./login.f939fa76.js"),["assets/login.f939fa76.js","assets/login.45bf09f9.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.aa464e80.js","assets/index.935001ee.css","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.ef17e812.js","assets/index.9aecfad8.css","assets/use-id.40b6af6b.js","assets/index.efc5d7ae.js","assets/index.0fd2891c.css","assets/index.6bbd549f.js","assets/index.ed0ac76f.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js"]),meta:{isRegister:!1}},{path:"/practiceClass",name:"practiceClass",component:()=>n(()=>import("./index.dd5a4020.js"),["assets/index.dd5a4020.js","assets/index.21f3b182.css","assets/index.33f0ddb9.js","assets/index.ff32357b.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.f0306d29.js","assets/index.3d59d650.css","assets/use-height.c83159bc.js","assets/index.998c3386.js","assets/index.725eb6f5.css","assets/index.9b1da5d2.js","assets/index.85a0c0a7.css","assets/use-tab-status.ad41a764.js","assets/index.1d37754d.js","assets/index.9bdb045e.css","assets/index.1c64afe2.js","assets/index.f693b37f.css","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.ef17e812.js","assets/index.9aecfad8.css","assets/use-id.40b6af6b.js","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/index.069e2fb8.js","assets/index.7e4a2d88.css","assets/use-refs.a68d4385.js","assets/icon_teacher.40b6f077.js","assets/organ-search.97411f26.js","assets/select-subject.5e7efcef.css","assets/index.beb9a25a.js","assets/index.c1ee5538.css"]),meta:{title:"\u966A\u7EC3\u8BFE"}},{path:"/videoDetail",name:"videoDetail",component:()=>n(()=>import("./video-detail.78f0831c.js"),["assets/video-detail.78f0831c.js","assets/video-detail.f773086f.css","assets/index.4a637b5e.js","assets/index.e6e7e1cb.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/index.beb9a25a.js","assets/index.c1ee5538.css","assets/bars.82474962.js","assets/icon_album_active.ce98b2a8.js","assets/icon_music_active.3b316ab8.js","assets/index.cdcb8b18.js","assets/index.3f72abd0.css","assets/index.aa464e80.js","assets/index.935001ee.css","assets/index.bf2a894b.js","assets/index.37f2cda1.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/icon-jiaozi.20e415ca.js","assets/index.33f0ddb9.js","assets/index.ff32357b.css","assets/index.f0306d29.js","assets/index.3d59d650.css","assets/use-height.c83159bc.js","assets/orderStatus.d66eca14.js","assets/tradeOrder.021d4979.js","assets/index.e6c57a63.js","assets/index.5070a0ba.js","assets/index.20f296a8.css","assets/icon-share.324bceb0.js","assets/index.f8224084.js","assets/index.570314c1.js","assets/index.53cbb04c.css","assets/code-down-load.ece1391b.js","assets/code-down-load.d633cf34.css","assets/logo.bcac726b.js","assets/browser.ff6962bf.js","assets/live-item.07457117.js","assets/live-item.3af230fe.css"]),meta:{title:"\u89C6\u9891\u8BFE"}},{path:"/videoClassDetail",name:"videoClassDetail",component:()=>n(()=>import("./video-class-detail.429b9f74.js"),["assets/video-class-detail.429b9f74.js","assets/video-class-detail.b2370989.css","assets/index.4a637b5e.js","assets/index.e6e7e1cb.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/index.beb9a25a.js","assets/index.c1ee5538.css","assets/bars.82474962.js","assets/icon_album_active.ce98b2a8.js","assets/icon_music_active.3b316ab8.js","assets/index.cdcb8b18.js","assets/index.3f72abd0.css","assets/index.aa464e80.js","assets/index.935001ee.css","assets/index.33f0ddb9.js","assets/index.ff32357b.css","assets/index.f0306d29.js","assets/index.3d59d650.css","assets/use-height.c83159bc.js","assets/index.1032b0ae.js","assets/index.a2c503d8.css","assets/plyr.623e6d1e.js","assets/plyr.732cfe9c.css","assets/index.998c3386.js","assets/index.725eb6f5.css","assets/index.570314c1.js","assets/index.53cbb04c.css","assets/index.21339447.js","assets/index.9d82b1e3.css","assets/use-id.40b6af6b.js","assets/use-tab-status.ad41a764.js","assets/use-refs.a68d4385.js","assets/index.ef17e812.js","assets/index.9aecfad8.css","assets/index.9b1da5d2.js","assets/index.85a0c0a7.css","assets/icon_teacher.40b6f077.js","assets/orderStatus.d66eca14.js"]),meta:{title:"\u89C6\u9891\u8BFE\u8BE6\u60C5"}},{path:"/liveDetail",name:"liveDetail",component:()=>n(()=>import("./live-detail.54921068.js"),["assets/live-detail.54921068.js","assets/live-detail.1c14417f.css","assets/index.b068f0f0.js","assets/index.36a08fcf.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.1032b0ae.js","assets/index.a2c503d8.css","assets/plyr.623e6d1e.js","assets/plyr.732cfe9c.css","assets/index.cdcb8b18.js","assets/index.3f72abd0.css","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.aa464e80.js","assets/index.935001ee.css","assets/index.bf2a894b.js","assets/index.37f2cda1.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/icon-jiaozi.20e415ca.js","assets/orderStatus.d66eca14.js","assets/index.33f0ddb9.js","assets/index.ff32357b.css","assets/index.f0306d29.js","assets/index.3d59d650.css","assets/use-height.c83159bc.js","assets/index.5070a0ba.js","assets/index.20f296a8.css","assets/index.f8224084.js","assets/index.570314c1.js","assets/index.53cbb04c.css","assets/code-down-load.ece1391b.js","assets/code-down-load.d633cf34.css","assets/logo.bcac726b.js","assets/browser.ff6962bf.js","assets/live-item.07457117.js","assets/live-item.3af230fe.css","assets/icon-share.324bceb0.js"]),meta:{title:"\u76F4\u64AD\u8BFE\u8BE6\u60C5"}},{path:"/memberActive",name:"memberActive",component:()=>n(()=>import("./member-active.6901544b.js"),["assets/member-active.6901544b.js","assets/member-active.02366b40.css","assets/index.6b776f4b.js","assets/index.f8405903.css"]),meta:{title:"\u5C0F\u9177Ai\u4F1A\u5458\u5927\u653E\u4EF7"}},{path:"/memberRecord",name:"memberRecord",component:()=>n(()=>import("./member-record.99627fe0.js"),["assets/member-record.99627fe0.js","assets/member-record.88b35423.css","assets/index.33f0ddb9.js","assets/index.ff32357b.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.f0306d29.js","assets/index.3d59d650.css","assets/use-height.c83159bc.js","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.aa464e80.js","assets/index.935001ee.css","assets/index.cb54f81c.js","assets/index.2ba271cf.css","assets/index.db6936ba.js","assets/index.4f250b7f.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/index.9b1da5d2.js","assets/index.85a0c0a7.css","assets/use-tab-status.ad41a764.js","assets/index.e6c57a63.js","assets/hooks.ad006126.js","assets/index.cd21c278.js","assets/utils.98263d8b.js","assets/index.e13f12a0.js"]),meta:{title:"\u8BAD\u7EC3\u7EDF\u8BA1"}},{path:"/tradeRecord",name:"tradeRecord",component:()=>n(()=>import("./index.e25e5e50.js"),["assets/index.e25e5e50.js","assets/index.5226d72e.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.998c3386.js","assets/index.725eb6f5.css","assets/index.570314c1.js","assets/index.53cbb04c.css","assets/index.21339447.js","assets/index.9d82b1e3.css","assets/use-id.40b6af6b.js","assets/use-tab-status.ad41a764.js","assets/use-refs.a68d4385.js","assets/index.1d37754d.js","assets/index.9bdb045e.css","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.aa464e80.js","assets/index.935001ee.css","assets/index.cb54f81c.js","assets/index.2ba271cf.css","assets/index.9b1da5d2.js","assets/index.85a0c0a7.css","assets/index.e6c57a63.js","assets/tradeOrder.021d4979.js","assets/orderStatus.d66eca14.js","assets/index.cd21c278.js","assets/utils.98263d8b.js","assets/index.e13f12a0.js","assets/hooks.ad006126.js"]),meta:{title:"\u4EA4\u6613\u8BB0\u5F55"}},{path:"/teacherHome",name:"teacherHome",component:()=>n(()=>import("./teacher-home.2a0e151a.js"),["assets/teacher-home.2a0e151a.js","assets/teacher-home.f1e55bda.css","assets/teacher-header.module.374e6712.js","assets/teacher-header.module.6b126c59.css","assets/index.33f0ddb9.js","assets/index.ff32357b.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.f0306d29.js","assets/index.3d59d650.css","assets/use-height.c83159bc.js","assets/index.998c3386.js","assets/index.725eb6f5.css","assets/index.570314c1.js","assets/index.53cbb04c.css","assets/index.21339447.js","assets/index.9d82b1e3.css","assets/use-id.40b6af6b.js","assets/use-tab-status.ad41a764.js","assets/use-refs.a68d4385.js","assets/index.cdcb8b18.js","assets/index.3f72abd0.css","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.aa464e80.js","assets/index.935001ee.css","assets/index.1032b0ae.js","assets/index.a2c503d8.css","assets/plyr.623e6d1e.js","assets/plyr.732cfe9c.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/index.ef17e812.js","assets/index.9aecfad8.css","assets/icon_upload_poster.81da3a98.js","assets/index.9e1efdae.js","assets/index.4f3cb17e.css","assets/index.cb54f81c.js","assets/index.2ba271cf.css","assets/index.beb9a25a.js","assets/index.c1ee5538.css","assets/utils.98263d8b.js","assets/index.1d37754d.js","assets/index.9bdb045e.css","assets/index.8e00d08c.js","assets/index.8158e111.css","assets/orderStatus.d66eca14.js","assets/tradeOrder.021d4979.js","assets/index.e6c57a63.js","assets/index.9b1da5d2.js","assets/index.85a0c0a7.css","assets/video-item.fffaf2b7.js","assets/video-item.69885607.css","assets/index.b225e885.js","assets/index.9bccce42.css","assets/index.1c64afe2.js","assets/index.f693b37f.css","assets/select-tag.12a89705.js","assets/select-tag.755f8917.css","assets/index.46520b6f.js","assets/index.7b4b6592.js","assets/index.2fc2f59a.css","assets/index.bebc33d1.js","assets/index.2539762b.css","assets/index.926ca9c5.js","assets/index.6b2308b1.js","assets/index.module.7b815a85.js","assets/index.module.3eb65b4d.css","assets/music.35746cdc.js","assets/index.c3591af3.js","assets/select-subject.8730d66c.js","assets/select-subject.5e7efcef.css","assets/hooks.ad006126.js","assets/index.7d6320b9.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.069e2fb8.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:()=>n(()=>import("./teacher-elegant.469de942.js"),["assets/teacher-elegant.469de942.js","assets/teacher-elegant.d1ee700a.css","assets/index.33f0ddb9.js","assets/index.ff32357b.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.f0306d29.js","assets/index.3d59d650.css","assets/use-height.c83159bc.js","assets/index.1c64afe2.js","assets/index.f693b37f.css","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.ef17e812.js","assets/index.9aecfad8.css","assets/use-id.40b6af6b.js","assets/index.9b1da5d2.js","assets/index.85a0c0a7.css","assets/use-tab-status.ad41a764.js","assets/index.998c3386.js","assets/index.725eb6f5.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/organ-search.97411f26.js","assets/select-subject.5e7efcef.css","assets/index.beb9a25a.js","assets/index.c1ee5538.css","assets/icon_teacher.40b6f077.js","assets/icon_upload_poster.81da3a98.js","assets/bars.82474962.js","assets/hooks.ad006126.js"]),meta:{title:"\u8001\u5E08\u98CE\u91C7"}},{path:"/music-upload",component:()=>n(()=>import("./index.d0ef373c.js"),["assets/index.d0ef373c.js","assets/index.fd988807.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.ef17e812.js","assets/index.9aecfad8.css","assets/use-id.40b6af6b.js","assets/index.998c3386.js","assets/index.725eb6f5.css","assets/index.beb9a25a.js","assets/index.c1ee5538.css","assets/index.f8d8ddc0.js","assets/index.5cb54b78.css","assets/index.bebc33d1.js","assets/index.2539762b.css","assets/index.cb54f81c.js","assets/index.2ba271cf.css","assets/index.3c35af68.js","assets/index.f5591219.css","assets/index.6bbd549f.js","assets/index.ed0ac76f.css","assets/index.bfc369cc.js","assets/index.f4dc3d44.css","assets/index.7b4b6592.js","assets/index.2fc2f59a.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/checkbox_default.8d9b037b.js","assets/index.6b2308b1.js","assets/index.570314c1.js","assets/index.53cbb04c.css","assets/index.bf33b691.js","assets/index.9db88570.css","assets/index.87f67876.js","assets/index.b0d5b748.css","assets/select-tag.12a89705.js","assets/select-tag.755f8917.css","assets/index.46520b6f.js","assets/index.926ca9c5.js","assets/teacherState.5cee83cd.js","assets/toolsValidate.add49407.js","assets/index.e13f12a0.js","assets/index.3c6f4cc2.js"]),meta:{title:"\u4E0A\u4F20\u66F2\u8C31"}},{path:"/teacherFollow",component:()=>n(()=>import("./teacher-follow.cbf74a91.js"),["assets/teacher-follow.cbf74a91.js","assets/teacher-header.module.374e6712.js","assets/teacher-header.module.6b126c59.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/index.9b1da5d2.js","assets/index.85a0c0a7.css","assets/use-tab-status.ad41a764.js","assets/index.069e2fb8.js","assets/index.7e4a2d88.css","assets/use-refs.a68d4385.js","assets/index.998c3386.js","assets/index.725eb6f5.css","assets/icon_teacher.40b6f077.js","assets/index.1c64afe2.js","assets/index.f693b37f.css","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.ef17e812.js","assets/index.9aecfad8.css","assets/use-id.40b6af6b.js","assets/icon-jiaozi.20e415ca.js"]),meta:{title:"\u6211\u7684\u5173\u6CE8"}},{path:"/track-review-activity",component:()=>n(()=>import("./index.6071664f.js"),["assets/index.6071664f.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/index.5070a0ba.js","assets/index.20f296a8.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.aa464e80.js","assets/index.935001ee.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/share.809e59ee.js","assets/music.35746cdc.js","assets/index.c3591af3.js","assets/orderStatus.d66eca14.js","assets/index.e6c57a63.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u66F2\u76EE\u8BC4\u6D4B\u6D3B\u52A8",isExternal:!0}},{path:"/track-song",component:()=>n(()=>import("./track-song.2cb24474.js"),["assets/track-song.2cb24474.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/index.33f0ddb9.js","assets/index.ff32357b.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.f0306d29.js","assets/index.3d59d650.css","assets/use-height.c83159bc.js","assets/index.46520b6f.js","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.aa464e80.js","assets/index.935001ee.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/index.c3591af3.js"]),meta:{title:"\u8BC4\u6D4B\u66F2\u76EE"}}]},{path:"/home-layout",component:ht,children:[{path:"/home-auth",name:"home-auth",component:()=>n(()=>import("./auth-login.23a2a09a.js"),["assets/auth-login.23a2a09a.js","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/logo.bcac726b.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-layout-center",name:"home-layout-center",component:()=>n(()=>import("./home-layout-center.d6d78403.js"),["assets/home-layout-center.d6d78403.js","assets/index.6b776f4b.js","assets/index.f8405903.css"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-login",name:"home-login",component:()=>n(()=>import("./login.0d6db5fa.js"),["assets/login.0d6db5fa.js","assets/login.196c691a.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.aa464e80.js","assets/index.935001ee.css","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.ef17e812.js","assets/index.9aecfad8.css","assets/use-id.40b6af6b.js","assets/index.efc5d7ae.js","assets/index.0fd2891c.css","assets/index.6bbd549f.js","assets/index.ed0ac76f.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js","assets/index.33f0ddb9.js","assets/index.ff32357b.css","assets/index.f0306d29.js","assets/index.3d59d650.css","assets/use-height.c83159bc.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home",name:"home",component:()=>n(()=>import("./index.d0c7c1d4.js"),["assets/index.d0c7c1d4.js","assets/index.23bb1d2e.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.5bdad675.js","assets/index.ab41a591.css","assets/index.570314c1.js","assets/index.53cbb04c.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css","assets/index.998c3386.js","assets/index.725eb6f5.css","assets/index.21339447.js","assets/index.9d82b1e3.css","assets/use-id.40b6af6b.js","assets/use-tab-status.ad41a764.js","assets/use-refs.a68d4385.js","assets/icon-xin-active.3d0e362e.js","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.aa464e80.js","assets/index.935001ee.css","assets/index.9b1da5d2.js","assets/index.85a0c0a7.css","assets/icon-play.bc9e7aab.js","assets/icon_exquisite.69e33c80.js","assets/icon_album_active.ce98b2a8.js","assets/index.5070a0ba.js","assets/index.20f296a8.css"])}]},...dt,...q,{path:"/inviteTeacher",name:"inviteTeacher",component:()=>n(()=>import("./index.6b930d45.js"),["assets/index.6b930d45.js","assets/index.0df43561.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.aa464e80.js","assets/index.935001ee.css","assets/index.7486196c.js","assets/index.09cb4b8c.css","assets/index.ef17e812.js","assets/index.9aecfad8.css","assets/use-id.40b6af6b.js","assets/index.6bbd549f.js","assets/index.ed0ac76f.css","assets/index.7b4b6592.js","assets/index.2fc2f59a.css","assets/index.bebc33d1.js","assets/index.2539762b.css","assets/validate.ba62cd4c.js","assets/icon_teacher.40b6f077.js","assets/icon_checkbox_default.2fe5d57e.js","assets/index.3110c9b6.js","assets/index.c3591af3.js","assets/index.33f0ddb9.js","assets/index.ff32357b.css","assets/index.f0306d29.js","assets/index.3d59d650.css","assets/use-height.c83159bc.js"]),meta:{title:"\u9080\u8BF7\u5B66\u5458"}},{path:"/inviteSuccess",name:"inviteSuccess",component:()=>n(()=>import("./index.195e3463.js"),["assets/index.195e3463.js","assets/index.5f37a31b.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/wx_bg.3aa8574a.js"]),meta:{title:"\u6CE8\u518C\u6210\u529F"}},{path:"/transfer",component:()=>n(()=>import("./transfer.23850ed9.js"),["assets/transfer.23850ed9.js","assets/index.module.d7fec199.js","assets/index.module.7282ad9a.css","assets/wx_bg.3aa8574a.js","assets/index.6b776f4b.js","assets/index.f8405903.css"]),meta:{title:"\u9177\u4E50\u79C0\u5B66\u9662"}},{path:"/download",component:()=>n(()=>import("./download.4ab519bd.js"),["assets/download.4ab519bd.js","assets/index.module.d7fec199.js","assets/index.module.7282ad9a.css","assets/wx_bg.3aa8574a.js","assets/index.6b776f4b.js","assets/index.f8405903.css"])},{path:"/:pathMatch(.*)*",component:()=>n(()=>import("./index.81794191.js"),["assets/index.81794191.js","assets/index.5361fbba.css","assets/index.6b776f4b.js","assets/index.f8405903.css","assets/index.7cc0b0e7.js","assets/index.e07367fb.css"]),meta:{title:"404 Not Fund",platform:"STUDENT"}}];const p=S({history:z(),routes:Et});p.beforeEach((o,t,e)=>{const a=o.meta.title;document.title=a||"\u9177\u4E50\u79C0",e()});let v=!1;p.onError(o=>{if(o instanceof Error){const t=o.name.indexOf("chunk"),e=p.currentRoute.value.fullPath;t&&!v&&(v=!0,N.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(()=>{i().isApp?g({api:"back"}):(location.hash=e,window.location.reload())}))}});const h=H(G);g({api:"getVersion"},o=>{r.version=o.content.version});i().isOrchestraStudent&&(d({api:"getUserAccount"}).then(o=>{const t=o.content;r.orchestraInfo.token=t.token.split(" ")[1],r.orchestraInfo.phone=t.phone,r.orchestraInfo.nickname=t.nickname,r.orchestraInfo.avatar=t.avatar,r.orchestraInfo.unionId=t.unionId||0}),d({api:"getCache",content:{key:"h5-colexiu-token"}}).then(o=>{const t=o.content;t.value&&I(t.value)}));i().isTeacher?r.platformType="TEACHER":i().isStudent?r.platformType="STUDENT":r.platformType="STUDENT";r.platformType==="TEACHER"?r.platformApi="/api-teacher":r.platformApi="/api-student";y.locale("zh-ch");h.config.globalProperties.$dayjs=y;h.config.globalProperties.$filters=U;h.use(p);h.mount("#app");export{gt as __vite_legacy_guard,_ as a,_t as b,vt as r,A as s};
|