1 |
- import{d as A,_ as C,r as R,c as F,o as B,e as y,T as c,s as L,a as d,b as v,f as r,g as n,h as P,p as E,i as O,j as s,C as V,R as b,F as k,k as e,l as w,m as x,D as $,n as l,q as S,t as q,u as D,v as H}from"./index.394decd7.js";import{A as z}from"./auth.33cd26c9.js";import{r as N,a as U}from"./routes-common.df6bbeff.js";function lt(){import("data:text/javascript,")}const j=A({name:"App"});function M(o,t,a,u,i,pt){const T=R("router-view");return B(),F(T)}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",ut="_btn_t671u_73",rt="_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:ut,moreBtn:rt};const ft=()=>{sessionStorage.removeItem("Authorization")},f=o=>{sessionStorage.setItem("Authorization",o)},_=y({timeout:2e4,timeoutMessage:"\u8BF7\u6C42\u8D85\u65F6"});let I=!1,m;_.interceptors.request.use((o,t)=>{t.hideLoading||(clearTimeout(m),c.loading({message:"\u52A0\u8F7D\u4E2D...",forbidClick:!0,loadingType:"spinner",duration:0})),I=t.initRequest||!1;const a=sessionStorage.getItem("Authorization")||"",u={};return a&&!["/api-auth/usernameLogin","/api-auth/smsLogin","/api-auth/code/sendSms"].includes(o)&&(u.Authorization=a),{url:o,options:{...t,params:L(t.params),headers:{...t.headers,...u}}}},{global:!1});_.interceptors.response.use(async o=>{if(m=setTimeout(()=>{c.clear()},100),o.status>299||o.status<200){clearTimeout(m);const a="\u670D\u52A1\u5668\u9519\u8BEF\uFF0C\u72B6\u6001\u7801"+o.status;throw c(a),new Error(a)}const t=await o.clone().json();if(t.code!==200&&t.errCode!==0){let a=t.msg||t.message||"\u5904\u7406\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5";throw I&&(t.code===403||t.code===401?d():v()),t.code===403||t.code===401||(clearTimeout(m),c(a)),r(),t.code===403&&(a+="403",d(),window.location.href=window.location.origin+window.location.pathname+"#/home-layout-center"),new Error(a)}return o},{global:!1});const st=r();var ct=A({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:o}=this.$route,t=o.userInfo||o.Authorization;if(t&&f(t),!this.loading){if(n.user.status==="init"||n.user.status==="error"){this.loading=!0;try{if(n.orchestraInfo.unionId){const u=await _.post("/api-auth/smsLogin",{requestType:"form",data:{clientId:"student",clientSecret:"student",phone:n.orchestraInfo.phone,token:n.orchestraInfo.token,isSurportRegister:!0}}),{authentication:i}=u.data;f(i.token_type+" "+i.access_token),E({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 u=a.message;u.indexOf("5000")===-1&&u.indexOf("authentication")===-1?v():d()}this.loading=!1}if(n.user.status==="logout")try{const a=this.$route,u={returnUrl:this.$route.path,...this.$route.query};a.meta.isRegister&&(u.isRegister=a.meta.isRegister),this.$router.replace({path:"/home-auth",query:u})}catch{}}}},render(){return s(k,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(b,null,null):null])}});const mt=[{path:"/share-music-sheet",name:"share-music-sheet",component:()=>e(()=>import("./index.e9962f88.js"),["assets/index.e9962f88.js","assets/index.254f2153.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/icon_discount.535f7618.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u5206\u4EAB\u4E50\u66F2"}},{path:"/leaderboard",component:()=>e(()=>import("./index.b714fe96.js"),["assets/index.b714fe96.js","assets/index.237b8a87.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/index.3bbf4ddb.js","assets/index.725eb6f5.css","assets/index.f1b52763.js","assets/index.53cbb04c.css","assets/index.ae00317c.js","assets/index.9d82b1e3.css","assets/use-id.e2f22365.js","assets/use-tab-status.723110ee.js","assets/use-refs.09b2d19c.js","assets/icon_level3.5bff162c.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u66F2\u76EE\u6311\u6218\u6392\u884C\u699C"}}];var _t=[{path:"/",component:z,children:[...N,{path:"/login",name:"login",component:()=>e(()=>import("./login.808888c1.js"),["assets/login.808888c1.js","assets/login.45bf09f9.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.9462d7c5.js","assets/index.935001ee.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.224299a1.js","assets/index.9aecfad8.css","assets/use-id.e2f22365.js","assets/index.1de71727.js","assets/index.0fd2891c.css","assets/index.a9c78aa8.js","assets/index.ed0ac76f.css","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js"]),meta:{isRegister:!1}},{path:"/practiceClass",name:"practiceClass",component:()=>e(()=>import("./index.ab699d43.js"),["assets/index.ab699d43.js","assets/index.21f3b182.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.e6e212d8.js","assets/index.a522005a.css","assets/index.3bbf4ddb.js","assets/index.725eb6f5.css","assets/index.dc786267.js","assets/index.85a0c0a7.css","assets/use-tab-status.723110ee.js","assets/index.4b9edf44.js","assets/index.9bdb045e.css","assets/index.ada5e712.js","assets/index.2544a959.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.224299a1.js","assets/index.9aecfad8.css","assets/use-id.e2f22365.js","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/index.eb3110b4.js","assets/index.7e4a2d88.css","assets/use-refs.09b2d19c.js","assets/icon_teacher.40b6f077.js","assets/organ-search.9a8e75c7.js","assets/organ-search.133b8c72.css","assets/index.dab716ce.js","assets/index.c1ee5538.css"]),meta:{title:"\u966A\u7EC3\u8BFE"}},{path:"/videoDetail",name:"videoDetail",component:()=>e(()=>import("./video-detail.956897d9.js"),["assets/video-detail.956897d9.js","assets/video-detail.f773086f.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.360ebc13.js","assets/index.e6e7e1cb.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/index.dab716ce.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.469423f9.js","assets/icon_music_active.1e7b47ef.js","assets/index.63f283ba.js","assets/index.3f72abd0.css","assets/index.9462d7c5.js","assets/index.935001ee.css","assets/index.6c72fde6.js","assets/index.37f2cda1.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/icon-jiaozi.20e415ca.js","assets/index.e6e212d8.js","assets/index.a522005a.css","assets/orderStatus.535346ee.js","assets/tradeOrder.ba7e9856.js","assets/index.68f32c85.js","assets/index.45d094fa.js","assets/index.20f296a8.css","assets/icon-share.4e09e300.js","assets/index.52a60bda.js","assets/index.f1b52763.js","assets/index.53cbb04c.css","assets/code-down-load.37c8e9cc.js","assets/code-down-load.869d5188.css","assets/logo.bcac726b.js","assets/browser.8379baf6.js","assets/html2canvas.esm.3d083717.js","assets/live-item.d72fb44d.js","assets/live-item.3af230fe.css"]),meta:{title:"\u89C6\u9891\u8BFE"}},{path:"/videoClassDetail",name:"videoClassDetail",component:()=>e(()=>import("./video-class-detail.98b17cde.js"),["assets/video-class-detail.98b17cde.js","assets/video-class-detail.b2370989.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.360ebc13.js","assets/index.e6e7e1cb.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/index.dab716ce.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.469423f9.js","assets/icon_music_active.1e7b47ef.js","assets/index.63f283ba.js","assets/index.3f72abd0.css","assets/index.9462d7c5.js","assets/index.935001ee.css","assets/index.e6e212d8.js","assets/index.a522005a.css","assets/index.f53ab473.js","assets/index.a2c503d8.css","assets/plyr.623e6d1e.js","assets/plyr.732cfe9c.css","assets/index.3bbf4ddb.js","assets/index.725eb6f5.css","assets/index.f1b52763.js","assets/index.53cbb04c.css","assets/index.ae00317c.js","assets/index.9d82b1e3.css","assets/use-id.e2f22365.js","assets/use-tab-status.723110ee.js","assets/use-refs.09b2d19c.js","assets/index.224299a1.js","assets/index.9aecfad8.css","assets/index.dc786267.js","assets/index.85a0c0a7.css","assets/icon_teacher.40b6f077.js","assets/orderStatus.535346ee.js"]),meta:{title:"\u89C6\u9891\u8BFE\u8BE6\u60C5"}},{path:"/liveDetail",name:"liveDetail",component:()=>e(()=>import("./live-detail.b8a538f1.js"),["assets/live-detail.b8a538f1.js","assets/live-detail.7fc5888a.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.f65267e5.js","assets/index.36a08fcf.css","assets/index.f53ab473.js","assets/index.a2c503d8.css","assets/plyr.623e6d1e.js","assets/plyr.732cfe9c.css","assets/index.63f283ba.js","assets/index.3f72abd0.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.9462d7c5.js","assets/index.935001ee.css","assets/index.6c72fde6.js","assets/index.37f2cda1.css","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/icon-jiaozi.20e415ca.js","assets/orderStatus.535346ee.js","assets/index.e6e212d8.js","assets/index.a522005a.css","assets/index.45d094fa.js","assets/index.20f296a8.css","assets/index.52a60bda.js","assets/index.f1b52763.js","assets/index.53cbb04c.css","assets/code-down-load.37c8e9cc.js","assets/code-down-load.869d5188.css","assets/logo.bcac726b.js","assets/browser.8379baf6.js","assets/html2canvas.esm.3d083717.js","assets/live-item.d72fb44d.js","assets/live-item.3af230fe.css","assets/icon-share.4e09e300.js"]),meta:{title:"\u76F4\u64AD\u8BFE\u8BE6\u60C5"}},{path:"/memberActive",name:"memberActive",component:()=>e(()=>import("./member-active.f5ad42fb.js"),["assets/member-active.f5ad42fb.js","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/member-active.module.6c3bcaa4.js","assets/member-active.module.5f209809.css"]),meta:{title:"\u5C0F\u9177Ai\u4F1A\u5458\u5927\u653E\u4EF7"}},{path:"/memberActiveO",name:"memberActiveO",component:()=>e(()=>import("./member-active-o.c45ff7e7.js"),["assets/member-active-o.c45ff7e7.js","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/member-active.module.6c3bcaa4.js","assets/member-active.module.5f209809.css","assets/index.45d094fa.js","assets/index.20f296a8.css"]),meta:{title:"\u5143\u65E6\u72C2\u60F3\u66F2\u5C0F\u9177\u9001\u597D\u793C"}},{path:"/memberRecord",name:"memberRecord",component:()=>e(()=>import("./member-record.02141e99.js"),["assets/member-record.02141e99.js","assets/member-record.88b35423.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.e6e212d8.js","assets/index.a522005a.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.9462d7c5.js","assets/index.935001ee.css","assets/index.cf474e9d.js","assets/index.2ba271cf.css","assets/index.9849c993.js","assets/index.4f250b7f.css","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/index.dc786267.js","assets/index.85a0c0a7.css","assets/use-tab-status.723110ee.js","assets/index.68f32c85.js","assets/hooks.9e5ee122.js","assets/index.44f74499.js","assets/utils.ae753603.js","assets/index.1dcc495a.js"]),meta:{title:"\u8BAD\u7EC3\u7EDF\u8BA1"}},{path:"/tradeRecord",name:"tradeRecord",component:()=>e(()=>import("./index.44542e98.js"),["assets/index.44542e98.js","assets/index.5226d72e.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.3bbf4ddb.js","assets/index.725eb6f5.css","assets/index.f1b52763.js","assets/index.53cbb04c.css","assets/index.ae00317c.js","assets/index.9d82b1e3.css","assets/use-id.e2f22365.js","assets/use-tab-status.723110ee.js","assets/use-refs.09b2d19c.js","assets/index.4b9edf44.js","assets/index.9bdb045e.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.9462d7c5.js","assets/index.935001ee.css","assets/index.cf474e9d.js","assets/index.2ba271cf.css","assets/index.dc786267.js","assets/index.85a0c0a7.css","assets/index.68f32c85.js","assets/tradeOrder.ba7e9856.js","assets/orderStatus.535346ee.js","assets/index.44f74499.js","assets/utils.ae753603.js","assets/index.1dcc495a.js","assets/hooks.9e5ee122.js","assets/index.e6e212d8.js","assets/index.a522005a.css","assets/index.88270f6d.js","assets/index.f60d53fc.css","assets/index.75a0444f.js","assets/index.b9aedd1d.js"]),meta:{title:"\u4EA4\u6613\u8BB0\u5F55"}},{path:"/teacherHome",name:"teacherHome",component:()=>e(()=>import("./teacher-home.6990d25b.js"),["assets/teacher-home.6990d25b.js","assets/teacher-home.f1e55bda.css","assets/teacher-header.module.680b3c7a.js","assets/teacher-header.module.6b126c59.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.e6e212d8.js","assets/index.a522005a.css","assets/index.3bbf4ddb.js","assets/index.725eb6f5.css","assets/index.f1b52763.js","assets/index.53cbb04c.css","assets/index.ae00317c.js","assets/index.9d82b1e3.css","assets/use-id.e2f22365.js","assets/use-tab-status.723110ee.js","assets/use-refs.09b2d19c.js","assets/index.63f283ba.js","assets/index.3f72abd0.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.9462d7c5.js","assets/index.935001ee.css","assets/index.f53ab473.js","assets/index.a2c503d8.css","assets/plyr.623e6d1e.js","assets/plyr.732cfe9c.css","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/index.224299a1.js","assets/index.9aecfad8.css","assets/icon_upload_poster.81da3a98.js","assets/index.1f91b9b7.js","assets/index.e2a2294c.css","assets/index.cf474e9d.js","assets/index.2ba271cf.css","assets/index.d83352a2.js","assets/index.e3b9d8b8.css","assets/utils.ae753603.js","assets/index.dab716ce.js","assets/index.c1ee5538.css","assets/index.4b9edf44.js","assets/index.9bdb045e.css","assets/index.424e7a76.js","assets/index.8158e111.css","assets/orderStatus.535346ee.js","assets/tradeOrder.ba7e9856.js","assets/index.68f32c85.js","assets/index.dc786267.js","assets/index.85a0c0a7.css","assets/video-item.cf39bfa9.js","assets/video-item.69885607.css","assets/index.12f35f00.js","assets/index.41faba44.css","assets/index.ada5e712.js","assets/index.2544a959.css","assets/select-tag.9412794d.js","assets/select-tag.755f8917.css","assets/index.75a0444f.js","assets/index.b9aedd1d.js","assets/index.24fb4ee4.js","assets/index.2fc2f59a.css","assets/index.b91a923c.js","assets/index.2539762b.css","assets/index.926ca9c5.js","assets/index.e164926c.js","assets/music.8e2b5f5b.js","assets/select-subject.2c6b1606.js","assets/organ-search.133b8c72.css","assets/hooks.9e5ee122.js","assets/index.3dfdbf1b.js","assets/index.cdc0469c.css","assets/icon_uploader.ff962490.js","assets/icon-xin.62588855.js","assets/icon_album.ed729d4a.js","assets/icon_album_active.469423f9.js","assets/icon_exquisite.4b18ad76.js","assets/icon_music_active.1e7b47ef.js","assets/icon-play.bc9e7aab.js","assets/index.88270f6d.js","assets/index.f60d53fc.css","assets/index.eb3110b4.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:()=>e(()=>import("./teacher-elegant.1e44553f.js"),["assets/teacher-elegant.1e44553f.js","assets/teacher-elegant.d1ee700a.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.e6e212d8.js","assets/index.a522005a.css","assets/index.ada5e712.js","assets/index.2544a959.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.224299a1.js","assets/index.9aecfad8.css","assets/use-id.e2f22365.js","assets/index.dc786267.js","assets/index.85a0c0a7.css","assets/use-tab-status.723110ee.js","assets/index.3bbf4ddb.js","assets/index.725eb6f5.css","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/organ-search.9a8e75c7.js","assets/organ-search.133b8c72.css","assets/index.dab716ce.js","assets/index.c1ee5538.css","assets/icon_teacher.40b6f077.js","assets/icon_upload_poster.81da3a98.js","assets/bars.4f1962a6.js","assets/hooks.9e5ee122.js"]),meta:{title:"\u8001\u5E08\u98CE\u91C7"}},{path:"/music-upload",component:()=>e(()=>import("./index.5bae33e5.js"),["assets/index.5bae33e5.js","assets/index.fd988807.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.224299a1.js","assets/index.9aecfad8.css","assets/use-id.e2f22365.js","assets/index.3bbf4ddb.js","assets/index.725eb6f5.css","assets/index.dab716ce.js","assets/index.c1ee5538.css","assets/index.4ef31a7f.js","assets/index.5cb54b78.css","assets/index.b91a923c.js","assets/index.2539762b.css","assets/index.cf474e9d.js","assets/index.2ba271cf.css","assets/index.6726afc4.js","assets/index.4ac29d4e.css","assets/index.a9c78aa8.js","assets/index.ed0ac76f.css","assets/index.581d7eef.js","assets/index.f4dc3d44.css","assets/index.24fb4ee4.js","assets/index.2fc2f59a.css","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/checkbox_default.944f238b.js","assets/index.e164926c.js","assets/index.f1b52763.js","assets/index.53cbb04c.css","assets/index.ad0a7ec4.js","assets/index.9db88570.css","assets/index.f264094d.js","assets/index.44658500.css","assets/oss-file-upload.bb3abddd.js","assets/select-tag.9412794d.js","assets/select-tag.755f8917.css","assets/index.75a0444f.js","assets/index.b9aedd1d.js","assets/index.926ca9c5.js","assets/teacherState.c570576c.js","assets/toolsValidate.add49407.js","assets/index.e6e212d8.js","assets/index.a522005a.css","assets/index.4c43caee.js","assets/index.1dcc495a.js"]),meta:{title:"\u4E0A\u4F20\u66F2\u8C31"}},{path:"/teacherFollow",component:()=>e(()=>import("./teacher-follow.b9645ae6.js"),["assets/teacher-follow.b9645ae6.js","assets/teacher-header.module.680b3c7a.js","assets/teacher-header.module.6b126c59.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/index.dc786267.js","assets/index.85a0c0a7.css","assets/use-tab-status.723110ee.js","assets/index.eb3110b4.js","assets/index.7e4a2d88.css","assets/use-refs.09b2d19c.js","assets/index.3bbf4ddb.js","assets/index.725eb6f5.css","assets/icon_teacher.40b6f077.js","assets/index.ada5e712.js","assets/index.2544a959.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.224299a1.js","assets/index.9aecfad8.css","assets/use-id.e2f22365.js","assets/icon-jiaozi.20e415ca.js","assets/index.e6e212d8.js","assets/index.a522005a.css"]),meta:{title:"\u6211\u7684\u5173\u6CE8"}},{path:"/track-review-activity",component:()=>e(()=>import("./index.33e4c758.js"),["assets/index.33e4c758.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.45d094fa.js","assets/index.20f296a8.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.9462d7c5.js","assets/index.935001ee.css","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/share.dd2d0e61.js","assets/music.8e2b5f5b.js","assets/orderStatus.535346ee.js","assets/index.68f32c85.js","assets/icon_teacher.40b6f077.js","assets/index.e6e212d8.js","assets/index.a522005a.css"]),meta:{title:"\u66F2\u76EE\u8BC4\u6D4B\u6D3B\u52A8",isExternal:!0}},{path:"/track-song",component:()=>e(()=>import("./track-song.e2b96550.js"),["assets/track-song.e2b96550.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.e6e212d8.js","assets/index.a522005a.css","assets/index.75a0444f.js","assets/index.b9aedd1d.js","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.9462d7c5.js","assets/index.935001ee.css","assets/index.ae2dd816.js","assets/index.e07367fb.css"]),meta:{title:"\u8BC4\u6D4B\u66F2\u76EE"}}]},{path:"/home-layout",component:ct,children:[{path:"/home-auth",name:"home-auth",component:()=>e(()=>import("./auth-login.d66a1bd6.js"),["assets/auth-login.d66a1bd6.js","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/auth.33cd26c9.js","assets/auth.f09b6d78.css","assets/routes-common.df6bbeff.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-layout-center",name:"home-layout-center",component:()=>e(()=>import("./home-layout-center.a131c5c9.js"),["assets/home-layout-center.a131c5c9.js","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/auth.33cd26c9.js","assets/auth.f09b6d78.css","assets/routes-common.df6bbeff.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-login",name:"home-login",component:()=>e(()=>import("./login.795ae327.js"),["assets/login.795ae327.js","assets/login.196c691a.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.9462d7c5.js","assets/index.935001ee.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.224299a1.js","assets/index.9aecfad8.css","assets/use-id.e2f22365.js","assets/index.1de71727.js","assets/index.0fd2891c.css","assets/index.a9c78aa8.js","assets/index.ed0ac76f.css","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js","assets/index.e6e212d8.js","assets/index.a522005a.css","assets/auth.33cd26c9.js","assets/auth.f09b6d78.css","assets/routes-common.df6bbeff.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home",name:"home",component:()=>e(()=>import("./index.f714ca5a.js"),["assets/index.f714ca5a.js","assets/index.23bb1d2e.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.51d6e761.js","assets/index.ab41a591.css","assets/index.f1b52763.js","assets/index.53cbb04c.css","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/index.3bbf4ddb.js","assets/index.725eb6f5.css","assets/index.ae00317c.js","assets/index.9d82b1e3.css","assets/use-id.e2f22365.js","assets/use-tab-status.723110ee.js","assets/use-refs.09b2d19c.js","assets/icon-xin-active.3d0e362e.js","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.b6ce06cf.js","assets/index.9462d7c5.js","assets/index.935001ee.css","assets/index.dc786267.js","assets/index.85a0c0a7.css","assets/icon-play.bc9e7aab.js","assets/icon_exquisite.4b18ad76.js","assets/icon_album_active.469423f9.js","assets/index.45d094fa.js","assets/index.20f296a8.css","assets/auth.33cd26c9.js","assets/auth.f09b6d78.css","assets/routes-common.df6bbeff.js"])}]},...mt,...U,{path:"/inviteTeacher",name:"inviteTeacher",component:()=>e(()=>import("./index.b22e0f1d.js"),["assets/index.b22e0f1d.js","assets/index.0df43561.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.9462d7c5.js","assets/index.935001ee.css","assets/index.9e0d46e4.js","assets/index.09cb4b8c.css","assets/index.224299a1.js","assets/index.9aecfad8.css","assets/use-id.e2f22365.js","assets/index.a9c78aa8.js","assets/index.ed0ac76f.css","assets/index.24fb4ee4.js","assets/index.2fc2f59a.css","assets/index.b91a923c.js","assets/index.2539762b.css","assets/validate.ba62cd4c.js","assets/icon_teacher.40b6f077.js","assets/icon_checkbox_default.2fe5d57e.js","assets/index.d66a5072.js","assets/index.e6e212d8.js","assets/index.a522005a.css","assets/index.041b3d31.js","assets/index.42306580.css"]),meta:{title:"\u9080\u8BF7\u5B66\u5458"}},{path:"/inviteSuccess",name:"inviteSuccess",component:()=>e(()=>import("./index.9556fd93.js"),["assets/index.9556fd93.js","assets/index.5f37a31b.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/wx_bg.2f1a3efe.js"]),meta:{title:"\u6CE8\u518C\u6210\u529F"}},{path:"/transfer",component:()=>e(()=>import("./transfer.b7358bee.js"),["assets/transfer.b7358bee.js","assets/index.module.8a406a30.js","assets/index.module.af5aaf55.css","assets/wx_bg.2f1a3efe.js","assets/index.394decd7.js","assets/index.90dd4d0d.css"]),meta:{title:"\u9177\u4E50\u79C0\u5B66\u9662"}},{path:"/download",component:()=>e(()=>import("./download.f153235f.js"),["assets/download.f153235f.js","assets/index.module.8a406a30.js","assets/index.module.af5aaf55.css","assets/wx_bg.2f1a3efe.js","assets/index.394decd7.js","assets/index.90dd4d0d.css"])},{path:"/:pathMatch(.*)*",component:()=>e(()=>import("./index.01494e5a.js"),["assets/index.01494e5a.js","assets/index.5361fbba.css","assets/index.394decd7.js","assets/index.90dd4d0d.css","assets/index.ae2dd816.js","assets/index.e07367fb.css","assets/index.e6e212d8.js","assets/index.a522005a.css"]),meta:{title:"404 Not Fund",platform:"STUDENT"}}];const p=w({history:x(),routes:_t});p.beforeEach((o,t,a)=>{const u=o.meta.title;document.title=u||"\u9177\u4E50\u79C0",a()});let g=!1;p.onError(o=>{if(o instanceof Error){const t=o.name.indexOf("chunk"),a=p.currentRoute.value.fullPath;t&&!g&&(g=!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(()=>{r().isApp?l({api:"back"}):(location.hash=a,window.location.reload())}))}});const h=S(G);l({api:"setBarStatus",content:{status:0}});l({api:"backIconChange",content:{backIconHide:!0}});l({api:"getVersion"},o=>{n.version=o.content.version});r().isOrchestraStudent&&(E({api:"getUserAccount"}).then(o=>{const t=o.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}),E({api:"getCache",content:{key:"h5-colexiu-token"}}).then(o=>{const t=o.content;t.value&&q(t.value)}));r().isTeacher?n.platformType="TEACHER":r().isStudent?n.platformType="STUDENT":n.platformType="STUDENT";n.platformType==="TEACHER"?n.platformApi="/api-teacher":n.platformApi="/api-student";D.locale("zh-ch");h.config.globalProperties.$dayjs=D;h.config.globalProperties.$filters=H;h.use(p);h.mount("#app");export{lt as __vite_legacy_guard,_ as a,it as b,ft as r,f as s};
|