1 |
- import{d as D,_ as F,r as B,c as L,o as O,e as P,T as _,s as V,a as f,b as T,f as s,g as n,h as k,p as h,i as w,j as c,C as b,R as x,F as S,k as t,l as $,m as q,D as z,n as p,q as H,t as N,u as I,v as g,w as A,x as U,y as j}from"./ResizeObserver.es.b7226882.js";import{A as M}from"./auth.9a0890d5.js";import{r as G,a as W}from"./routes-common.9824e3db.js";function gt(){import("data:text/javascript,")}const J=D({name:"App"});function K(a,e,o,u,r,i){const y=B("router-view");return O(),L(y)}var Q=F(J,[["render",K]]);const X="_error_t671u_1",Y="_info_t671u_9",Z="_login_t671u_27",tt="_loginCenter_t671u_34",et="_userInfo_t671u_38",ot="_img_t671u_41",at="_name_t671u_47",nt="_tips_t671u_54",ut="_logo_t671u_57",rt="_text_t671u_60",it="_phone_t671u_66",st="_btnGroup_t671u_73",ct="_btn_t671u_73",mt="_moreBtn_t671u_87";var _t={error:X,info:Y,login:Z,loginCenter:tt,userInfo:et,img:ot,name:at,tips:nt,logo:ut,text:rt,phone:it,btnGroup:st,btn:ct,moreBtn:mt};const Dt=()=>{sessionStorage.removeItem("Authorization")},v=a=>{sessionStorage.setItem("Authorization",a)},d=P({timeout:2e4,timeoutMessage:"\u8BF7\u6C42\u8D85\u65F6"});let R=!1,l;d.interceptors.request.use((a,e)=>{e.hideLoading||(clearTimeout(l),_.loading({message:"\u52A0\u8F7D\u4E2D...",forbidClick:!0,loadingType:"spinner",duration:0})),R=e.initRequest||!1;const o=sessionStorage.getItem("Authorization")||"",u={};return o&&!["/api-auth/usernameLogin","/api-auth/smsLogin","/api-auth/code/sendSms"].includes(a)&&(u.Authorization=o),{url:a,options:{...e,params:V(e.params),headers:{...e.headers,...u}}}},{global:!1});d.interceptors.response.use(async a=>{if(l=setTimeout(()=>{_.clear()},100),a.status>299||a.status<200){clearTimeout(l);const o="\u670D\u52A1\u5668\u9519\u8BEF\uFF0C\u72B6\u6001\u7801"+a.status;throw _(o),new Error(o)}const e=await a.clone().json();if(e.code!==200&&e.errCode!==0){let o=e.msg||e.message||"\u5904\u7406\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5";throw R&&(e.code===403||e.code===401?f():T()),e.code===403||e.code===401||(clearTimeout(l),_(o)),s(),e.code===403&&(o+="403",f(),window.location.href=window.location.origin+window.location.pathname+"#/home-layout-center"),new Error(o)}return a},{global:!1});const pt=s();var lt=D({name:"Auth-loayout",data(){return{loading:!1}},computed:{isExternal(){return this.$route.meta.isExternal&&!pt.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||k()},methods:{async setAuth(){const{query:a}=this.$route,e=a.userInfo||a.Authorization;if(e&&v(e),!this.loading){if(n.user.status==="init"||n.user.status==="error"){this.loading=!0;try{if(n.orchestraInfo.unionId){const u=await d.post("/api-auth/smsLogin",{requestType:"form",data:{clientId:"student",clientSecret:"student",phone:n.orchestraInfo.phone,token:n.orchestraInfo.token,isSurportRegister:!0}}),{authentication:r}=u.data;v(r.token_type+" "+r.access_token),h({api:"setCache",content:{key:"h5-colexiu-token",value:r.token_type+" "+r.access_token}})}const o=await d.get("/api-student/student/queryUserInfo",{initRequest:!0,requestType:"form"});w(o.data)}catch(o){const u=o.message;u.indexOf("5000")===-1&&u.indexOf("authentication")===-1?T():f()}this.loading=!1}if(n.user.status==="logout")try{const o=this.$route,u={returnUrl:this.$route.path,...this.$route.query};o.meta.isRegister&&(u.isRegister=o.meta.isRegister),this.$router.replace({path:"/home-auth",query:u})}catch{}}}},render(){return c(S,null,[n.user.status==="error"?c("div",{class:_t.error},[c(b,{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?c(x,null,null):null])}});const ht=[{path:"/share-music-sheet",name:"share-music-sheet",component:()=>t(()=>import("./index.ebed669b.js"),["assets/index.ebed669b.js","assets/index.90ec5e63.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/icon_discount.535f7618.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u5206\u4EAB\u4E50\u66F2"}},{path:"/leaderboard",component:()=>t(()=>import("./index.21fb6da7.js"),["assets/index.21fb6da7.js","assets/index.237b8a87.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/index.f6c44874.js","assets/index.725eb6f5.css","assets/index.cf00521e.js","assets/index.d40c6f71.css","assets/index.dc988884.js","assets/index.9d82b1e3.css","assets/use-id.5d5e6e63.js","assets/use-tab-status.db1f6d2e.js","assets/use-refs.428b450a.js","assets/icon_level3.5bff162c.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u66F2\u76EE\u6311\u6218\u6392\u884C\u699C"}}];var dt=[{path:"/",component:M,children:[...G,{path:"/login",name:"login",component:()=>t(()=>import("./login.7246a672.js"),["assets/login.7246a672.js","assets/login.45bf09f9.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.9269bf1e.js","assets/index.935001ee.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.021f1c7b.js","assets/index.9aecfad8.css","assets/use-id.5d5e6e63.js","assets/index.a18d8199.js","assets/index.790dec85.css","assets/index.af733095.js","assets/index.ed0ac76f.css","assets/index.4b0dea7c.js","assets/index.bfb43d3b.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js"]),meta:{isRegister:!1}},{path:"/practiceClass",name:"practiceClass",component:()=>t(()=>import("./index.f3eecb2a.js"),["assets/index.f3eecb2a.js","assets/index.21f3b182.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/index.f6c44874.js","assets/index.725eb6f5.css","assets/index.9fec2202.js","assets/index.85a0c0a7.css","assets/use-tab-status.db1f6d2e.js","assets/index.06142038.js","assets/index.9bdb045e.css","assets/index.521acd0b.js","assets/index.4f0dde34.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.021f1c7b.js","assets/index.9aecfad8.css","assets/use-id.5d5e6e63.js","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/organ-search.59e9ff38.js","assets/organ-search.133b8c72.css","assets/index.ed3a5560.js","assets/index.c1ee5538.css"]),meta:{title:"\u8DA3\u7EA0\u8BFE"}},{path:"/videoDetail",name:"videoDetail",component:()=>t(()=>import("./video-detail.996c5efe.js"),["assets/video-detail.996c5efe.js","assets/video-detail.f773086f.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.54d01dd3.js","assets/index.d28e4cfd.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/index.ed3a5560.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.cb923735.js","assets/icon_music_active.f55820b3.js","assets/index.a841fff0.js","assets/index.3f72abd0.css","assets/index.9269bf1e.js","assets/index.935001ee.css","assets/index.c1be15b1.js","assets/index.a3b5798b.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/orderStatus.1ca966f0.js","assets/tradeOrder.b3e670b0.js","assets/index.0b42adfa.js","assets/index.a4ca5d1f.css","assets/index.1eaf642c.js","assets/icon-share.4e09e300.js","assets/index.0b85a0cc.js","assets/index.cf00521e.js","assets/index.d40c6f71.css","assets/code-down-load.95f00a21.js","assets/code-down-load.37bada6b.css","assets/logo.bcac726b.js","assets/browser.b3690ea1.js","assets/html2canvas.esm.3d083717.js","assets/live-item.77220bb5.js","assets/live-item.3af230fe.css"]),meta:{title:"\u89C6\u9891\u8BFE"}},{path:"/videoClassDetail",name:"videoClassDetail",component:()=>t(()=>import("./video-class-detail.58c66a7b.js"),["assets/video-class-detail.58c66a7b.js","assets/video-class-detail.6b48da0f.css","assets/plyr.69d0e46c.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.54d01dd3.js","assets/index.d28e4cfd.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/index.ed3a5560.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.cb923735.js","assets/icon_music_active.f55820b3.js","assets/index.a841fff0.js","assets/index.3f72abd0.css","assets/index.9269bf1e.js","assets/index.935001ee.css","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/index.2476b303.js","assets/index.2a0c2b6f.css","assets/tcplayer.v4.8.0.min.aee5aab1.js","assets/index.f6c44874.js","assets/index.725eb6f5.css","assets/index.cf00521e.js","assets/index.d40c6f71.css","assets/index.dc988884.js","assets/index.9d82b1e3.css","assets/use-id.5d5e6e63.js","assets/use-tab-status.db1f6d2e.js","assets/use-refs.428b450a.js","assets/index.021f1c7b.js","assets/index.9aecfad8.css","assets/index.9fec2202.js","assets/index.85a0c0a7.css","assets/icon_teacher.40b6f077.js","assets/orderStatus.1ca966f0.js","assets/index.0b42adfa.js","assets/index.a4ca5d1f.css","assets/index.1eaf642c.js"]),meta:{title:"\u89C6\u9891\u8BFE\u8BE6\u60C5"}},{path:"/liveDetail",name:"liveDetail",component:()=>t(()=>import("./live-detail.0868611f.js"),["assets/live-detail.0868611f.js","assets/live-detail.7fc5888a.css","assets/plyr.69d0e46c.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.11374099.js","assets/index.c4bfaf86.css","assets/index.2476b303.js","assets/index.2a0c2b6f.css","assets/tcplayer.v4.8.0.min.aee5aab1.js","assets/index.a841fff0.js","assets/index.3f72abd0.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.9269bf1e.js","assets/index.935001ee.css","assets/index.c1be15b1.js","assets/index.a3b5798b.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/orderStatus.1ca966f0.js","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/index.0b42adfa.js","assets/index.a4ca5d1f.css","assets/index.1eaf642c.js","assets/index.0b85a0cc.js","assets/index.cf00521e.js","assets/index.d40c6f71.css","assets/code-down-load.95f00a21.js","assets/code-down-load.37bada6b.css","assets/logo.bcac726b.js","assets/browser.b3690ea1.js","assets/html2canvas.esm.3d083717.js","assets/live-item.77220bb5.js","assets/live-item.3af230fe.css","assets/icon-share.4e09e300.js","assets/tradeOrder.b3e670b0.js"]),meta:{title:"\u76F4\u64AD\u8BFE\u8BE6\u60C5"}},{path:"/groupDetail",name:"groupDetail",component:()=>t(()=>import("./group-detail.0346a957.js"),["assets/group-detail.0346a957.js","assets/group-detail.9db96c15.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.a841fff0.js","assets/index.3f72abd0.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.9269bf1e.js","assets/index.935001ee.css","assets/index.c1be15b1.js","assets/index.a3b5798b.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/orderStatus.1ca966f0.js","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/index.0b42adfa.js","assets/index.a4ca5d1f.css","assets/index.1eaf642c.js","assets/index.0b85a0cc.js","assets/index.cf00521e.js","assets/index.d40c6f71.css","assets/code-down-load.95f00a21.js","assets/code-down-load.37bada6b.css","assets/logo.bcac726b.js","assets/browser.b3690ea1.js","assets/html2canvas.esm.3d083717.js","assets/live-item.77220bb5.js","assets/live-item.3af230fe.css","assets/icon-share.4e09e300.js","assets/tradeOrder.b3e670b0.js","assets/index.58e0f077.js","assets/index.32117a44.css"]),meta:{title:"\u5C0F\u7EC4\u8BFE\u8BE6\u60C5"}},{path:"/memberActive",name:"memberActive",component:()=>t(()=>import("./member-active.9acbd08b.js"),["assets/member-active.9acbd08b.js","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.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:()=>t(()=>import("./member-active-o.f0cc8f02.js"),["assets/member-active-o.f0cc8f02.js","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/member-active.module.6c3bcaa4.js","assets/member-active.module.5f209809.css","assets/index.0b42adfa.js","assets/index.a4ca5d1f.css","assets/index.1eaf642c.js"]),meta:{title:"\u5143\u65E6\u72C2\u60F3\u66F2\u5C0F\u9177\u9001\u597D\u793C"}},{path:"/memberRecord",name:"memberRecord",component:()=>t(()=>import("./member-record.c8c9239f.js"),["assets/member-record.c8c9239f.js","assets/member-record.88b35423.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.9269bf1e.js","assets/index.935001ee.css","assets/index.77fc1df7.js","assets/index.cdc43d10.css","assets/index.023f50db.js","assets/index.4f250b7f.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/index.9fec2202.js","assets/index.85a0c0a7.css","assets/use-tab-status.db1f6d2e.js","assets/index.bd8c6150.js","assets/hooks.a4ed20cb.js","assets/index.685bede6.js","assets/utils.db47622f.js","assets/index.e7e9e267.js"]),meta:{title:"\u7EC3\u4E60\u7EDF\u8BA1"}},{path:"/tradeRecord",name:"tradeRecord",component:()=>t(()=>import("./index.c6ed7d42.js"),["assets/index.c6ed7d42.js","assets/index.5226d72e.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.f6c44874.js","assets/index.725eb6f5.css","assets/index.cf00521e.js","assets/index.d40c6f71.css","assets/index.dc988884.js","assets/index.9d82b1e3.css","assets/use-id.5d5e6e63.js","assets/use-tab-status.db1f6d2e.js","assets/use-refs.428b450a.js","assets/index.06142038.js","assets/index.9bdb045e.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.9269bf1e.js","assets/index.935001ee.css","assets/index.77fc1df7.js","assets/index.cdc43d10.css","assets/index.9fec2202.js","assets/index.85a0c0a7.css","assets/index.bd8c6150.js","assets/tradeOrder.b3e670b0.js","assets/orderStatus.1ca966f0.js","assets/index.685bede6.js","assets/utils.db47622f.js","assets/index.e7e9e267.js","assets/hooks.a4ed20cb.js","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/index.1743594f.js","assets/index.f60d53fc.css","assets/index.1eaf642c.js"]),meta:{title:"\u4EA4\u6613\u8BB0\u5F55"}},{path:"/teacherHome",name:"teacherHome",component:()=>t(()=>import("./teacher-home.952aba14.js"),["assets/teacher-home.952aba14.js","assets/teacher-home.8e4dece6.css","assets/vip_default.7099e014.js","assets/icon_video.f8e50d61.js","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/index.f6c44874.js","assets/index.725eb6f5.css","assets/index.cf00521e.js","assets/index.d40c6f71.css","assets/index.dc988884.js","assets/index.9d82b1e3.css","assets/use-id.5d5e6e63.js","assets/use-tab-status.db1f6d2e.js","assets/use-refs.428b450a.js","assets/index.016ea0b0.js","assets/index.e2a2294c.css","assets/index.77fc1df7.js","assets/index.cdc43d10.css","assets/index.0809e001.js","assets/index.e3b9d8b8.css","assets/utils.db47622f.js","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/index.ed3a5560.js","assets/index.c1ee5538.css","assets/index.06142038.js","assets/index.9bdb045e.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.9269bf1e.js","assets/index.935001ee.css","assets/index.8d0ef866.js","assets/index.8158e111.css","assets/orderStatus.1ca966f0.js","assets/tradeOrder.b3e670b0.js","assets/index.9fec2202.js","assets/index.85a0c0a7.css","assets/index.1eaf642c.js","assets/icon_teacher.40b6f077.js","assets/hooks.a4ed20cb.js","assets/index.021f1c7b.js","assets/index.9aecfad8.css","assets/index.89aec646.js","assets/index.a789e82c.css","assets/index.deda73db.js","assets/index.9bccce42.css","assets/index.521acd0b.js","assets/index.4f0dde34.css","assets/select-tag.09b8e6bc.js","assets/select-tag.755f8917.css","assets/index.1799aedf.js","assets/index.2fc2f59a.css","assets/index.b1e15d61.js","assets/index.2539762b.css","assets/index.926ca9c5.js","assets/index.5f9ef71b.js","assets/music.e5884c70.js","assets/index.f4934f0d.js","assets/index.cdc0469c.css","assets/icon_uploader.21a85a4d.js","assets/icon-xin.797feb04.js","assets/icon_album.4957b8e0.js","assets/icon_album_active.cb923735.js","assets/icon_exquisite.01ddc5aa.js","assets/icon_music_active.f55820b3.js","assets/icon-play.bc9e7aab.js","assets/index.1743594f.js","assets/index.f60d53fc.css"]),meta:{title:"\u8001\u5E08\u4E3B\u9875"}},{path:"/teacherElegant",name:"teacherElegant",component:()=>t(()=>import("./teacher-elegant.8b065312.js"),["assets/teacher-elegant.8b065312.js","assets/teacher-elegant.6d39d0bb.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/index.521acd0b.js","assets/index.4f0dde34.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.021f1c7b.js","assets/index.9aecfad8.css","assets/use-id.5d5e6e63.js","assets/index.9fec2202.js","assets/index.85a0c0a7.css","assets/use-tab-status.db1f6d2e.js","assets/index.f6c44874.js","assets/index.725eb6f5.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/organ-search.59e9ff38.js","assets/organ-search.133b8c72.css","assets/index.ed3a5560.js","assets/index.c1ee5538.css","assets/icon_teacher.40b6f077.js","assets/icon_upload_poster.81da3a98.js","assets/bars.4f1962a6.js","assets/hooks.a4ed20cb.js"]),meta:{title:"\u8001\u5E08\u98CE\u91C7"}},{path:"/teacher-style",name:"teacher-style",component:()=>t(()=>import("./index.6c90eeb3.js"),["assets/index.6c90eeb3.js","assets/index.8c028066.css","assets/plyr.69d0e46c.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/icon_upload_poster.81da3a98.js","assets/index.1743594f.js","assets/index.f60d53fc.css","assets/index.1eaf642c.js","assets/icon_video.f8e50d61.js","assets/index.2476b303.js","assets/index.2a0c2b6f.css","assets/tcplayer.v4.8.0.min.aee5aab1.js"]),meta:{title:"\u4E2A\u4EBA\u98CE\u91C7"}},{path:"/music-upload",component:()=>t(()=>import("./index.d52b0276.js"),["assets/index.d52b0276.js","assets/index.a648bae7.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.021f1c7b.js","assets/index.9aecfad8.css","assets/use-id.5d5e6e63.js","assets/index.ed3a5560.js","assets/index.c1ee5538.css","assets/index.83925f29.js","assets/index.5cb54b78.css","assets/index.b1e15d61.js","assets/index.2539762b.css","assets/index.9269bf1e.js","assets/index.935001ee.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/index.cf00521e.js","assets/index.d40c6f71.css","assets/index.e4fc81ba.js","assets/index.9db88570.css","assets/index.52126c22.js","assets/index.a3b0db98.css","assets/toolsValidate.add49407.js","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/index.1799aedf.js","assets/index.2fc2f59a.css","assets/index.926ca9c5.js","assets/index.5f9ef71b.js","assets/index.74da9726.js","assets/index.338894a2.css","assets/plyr.min.0a479001.js","assets/index.016a5975.js"]),meta:{title:"\u4E0A\u4F20\u66F2\u8C31"}},{path:"/teacherFollow",component:()=>t(()=>import("./teacher-follow.5a17b6b2.js"),["assets/teacher-follow.5a17b6b2.js","assets/teacher-follow.7ae1e062.css","assets/vip_default.7099e014.js","assets/icon_video.f8e50d61.js","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/index.9fec2202.js","assets/index.85a0c0a7.css","assets/use-tab-status.db1f6d2e.js","assets/icon_teacher.40b6f077.js","assets/index.521acd0b.js","assets/index.4f0dde34.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.021f1c7b.js","assets/index.9aecfad8.css","assets/use-id.5d5e6e63.js","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/index.1743594f.js","assets/index.f60d53fc.css","assets/index.1eaf642c.js"]),meta:{title:"\u6211\u7684\u5173\u6CE8"}},{path:"/track-review-activity",component:()=>t(()=>import("./index.e8c83b77.js"),["assets/index.e8c83b77.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.0b42adfa.js","assets/index.a4ca5d1f.css","assets/index.1eaf642c.js","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.9269bf1e.js","assets/index.935001ee.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/share.3859aca0.js","assets/music.e5884c70.js","assets/orderStatus.1ca966f0.js","assets/index.bd8c6150.js","assets/icon_teacher.40b6f077.js","assets/index.969bba7f.js","assets/index.62a411a4.css"]),meta:{title:"\u66F2\u76EE\u8BC4\u6D4B\u6D3B\u52A8",isExternal:!0}},{path:"/track-song",component:()=>t(()=>import("./track-song.d4c1446b.js"),["assets/track-song.d4c1446b.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/index.1eaf642c.js","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.9269bf1e.js","assets/index.935001ee.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css"]),meta:{title:"\u8BC4\u6D4B\u66F2\u76EE"}},{path:"/discount-card",component:()=>t(()=>import("./index.6ff7dc9f.js"),["assets/index.6ff7dc9f.js","assets/index.df73cc8b.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/icon_student.c3c58354.js","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/index.1743594f.js","assets/index.f60d53fc.css","assets/index.1eaf642c.js","assets/tradeOrder.b3e670b0.js","assets/orderStatus.1ca966f0.js"]),meta:{title:"\u7545\u5B66\u5361"}},{path:"/double12Active",component:()=>t(()=>import("./index.bfa24948.js"),["assets/index.bfa24948.js","assets/index.1d40158d.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/tradeOrder.b3e670b0.js","assets/orderStatus.1ca966f0.js","assets/index.bd8c6150.js"]),meta:{title:"\u53CC\u5341\u4E8C\u9650\u65F6\u7279\u60E0"}}]},{path:"/home-layout",component:lt,children:[{path:"/home-auth",name:"home-auth",component:()=>t(()=>import("./auth-login.407f0753.js"),["assets/auth-login.407f0753.js","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/auth.9a0890d5.js","assets/auth.f09b6d78.css","assets/routes-common.9824e3db.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-layout-center",name:"home-layout-center",component:()=>t(()=>import("./home-layout-center.164c63cc.js"),["assets/home-layout-center.164c63cc.js","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/auth.9a0890d5.js","assets/auth.f09b6d78.css","assets/routes-common.9824e3db.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-login",name:"home-login",component:()=>t(()=>import("./login.39a91bec.js"),["assets/login.39a91bec.js","assets/login.196c691a.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.9269bf1e.js","assets/index.935001ee.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.021f1c7b.js","assets/index.9aecfad8.css","assets/use-id.5d5e6e63.js","assets/index.a18d8199.js","assets/index.790dec85.css","assets/index.af733095.js","assets/index.ed0ac76f.css","assets/index.4b0dea7c.js","assets/index.bfb43d3b.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/auth.9a0890d5.js","assets/auth.f09b6d78.css","assets/routes-common.9824e3db.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home",name:"home",component:()=>t(()=>import("./index.5f609a17.js"),["assets/index.5f609a17.js","assets/index.23bb1d2e.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.6e0aa015.js","assets/index.ab41a591.css","assets/index.cf00521e.js","assets/index.d40c6f71.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/index.f6c44874.js","assets/index.725eb6f5.css","assets/index.dc988884.js","assets/index.9d82b1e3.css","assets/use-id.5d5e6e63.js","assets/use-tab-status.db1f6d2e.js","assets/use-refs.428b450a.js","assets/icon-xin-active.3d0e362e.js","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.b6ce06cf.js","assets/index.9269bf1e.js","assets/index.935001ee.css","assets/index.9fec2202.js","assets/index.85a0c0a7.css","assets/icon-play.bc9e7aab.js","assets/icon_exquisite.01ddc5aa.js","assets/icon_album_active.cb923735.js","assets/index.0b42adfa.js","assets/index.a4ca5d1f.css","assets/index.1eaf642c.js","assets/auth.9a0890d5.js","assets/auth.f09b6d78.css","assets/routes-common.9824e3db.js"])}]},...ht,...W,{path:"/inviteTeacher",name:"inviteTeacher",component:()=>t(()=>import("./index.03c462ff.js"),["assets/index.03c462ff.js","assets/index.55a6b229.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.9269bf1e.js","assets/index.935001ee.css","assets/index.40f703b6.js","assets/index.09cb4b8c.css","assets/index.021f1c7b.js","assets/index.9aecfad8.css","assets/use-id.5d5e6e63.js","assets/index.af733095.js","assets/index.ed0ac76f.css","assets/index.1799aedf.js","assets/index.2fc2f59a.css","assets/index.b1e15d61.js","assets/index.2539762b.css","assets/validate.ba62cd4c.js","assets/icon_teacher.40b6f077.js","assets/icon_checkbox.808b953c.js","assets/icon_checkbox_default.256c0849.js","assets/index.3a3292e3.js","assets/index.969bba7f.js","assets/index.62a411a4.css","assets/index.4b0dea7c.js","assets/index.bfb43d3b.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/index.a2367ee9.js","assets/index.42306580.css"]),meta:{title:"\u9080\u8BF7\u5B66\u5458"}},{path:"/inviteSuccess",name:"inviteSuccess",component:()=>t(()=>import("./index.2210a7fc.js"),["assets/index.2210a7fc.js","assets/index.4857380d.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/wx_bg.2f1a3efe.js"]),meta:{title:"\u6CE8\u518C\u6210\u529F"}},{path:"/transfer",component:()=>t(()=>import("./transfer.aab676f8.js"),["assets/transfer.aab676f8.js","assets/index.module.8a289a7a.js","assets/index.module.74660575.css","assets/wx_bg.2f1a3efe.js","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css"]),meta:{title:"\u9177\u4E50\u79C0\u5B66\u9662"}},{path:"/download",component:()=>t(()=>import("./download.7ba755ed.js"),["assets/download.7ba755ed.js","assets/index.module.8a289a7a.js","assets/index.module.74660575.css","assets/wx_bg.2f1a3efe.js","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css"])},{path:"/:pathMatch(.*)*",component:()=>t(()=>import("./index.5a460eb3.js"),["assets/index.5a460eb3.js","assets/index.5361fbba.css","assets/ResizeObserver.es.b7226882.js","assets/ResizeObserver.es.cfa7e25e.css","assets/index.20c0f4c5.js","assets/index.e07367fb.css","assets/index.969bba7f.js","assets/index.62a411a4.css"]),meta:{title:"404 Not Fund",platform:"STUDENT"}}];const E=$({history:q(),routes:dt,scrollBehavior(){return{left:0,top:0}}});E.beforeEach((a,e,o)=>{const u=a.meta.title;document.title=u||"\u9177\u4E50\u79C0",o()});let C=!1;E.onError(a=>{if(a instanceof Error){const e=a.name.indexOf("chunk"),o=E.currentRoute.value.fullPath;e&&!C&&(C=!0,z.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(()=>{s().isApp?p({api:"back"}):(location.hash=o,window.location.reload())}))}});window.ResizeObserver===void 0&&(window.ResizeObserver=H);const m=N(Q),Et=async()=>{n.sourcType="kt",await h({api:"getUserAccount"}).then(async a=>{const e=a.content;console.log(e,"orchestra");const{data:o}=await j.post("/api-auth/smsLogin",{requestType:"form",data:{clientId:"student",clientSecret:"student",phone:e.phone,isSurportRegister:!0,token:e.token.split(" ")[1]}}),{authentication:u}=o;I(u.token_type+" "+u.access_token)})},ft=async()=>{p({api:"setBarStatus",content:{status:0}}),p({api:"backIconChange",content:{backIconHide:!0}}),p({api:"getVersion"},r=>{n.version=r.content.version}),s().isOrchestraStudent&&(h({api:"getUserAccount"}).then(r=>{const i=r.content;n.orchestraInfo.token=i.token.split(" ")[1],n.orchestraInfo.phone=i.phone,n.orchestraInfo.nickname=i.nickname,n.orchestraInfo.avatar=i.avatar,n.orchestraInfo.unionId=i.unionId||0}),h({api:"getCache",content:{key:"h5-colexiu-token"}}).then(r=>{const i=r.content;i.value&&I(i.value)}));const a=g.parse(location.search),e=g.parse(location.hash.split("?")[1]),o=a.source||e.source||"",u=a.Authorization||e.Authorization||"";o==="kt"&&(u?n.sourcType="kt":await Et()),s().isTeacher?n.platformType="TEACHER":s().isStudent?n.platformType="STUDENT":n.platformType="STUDENT",n.platformType==="TEACHER"?n.platformApi="/api-teacher":n.platformApi="/api-student",A.locale("zh-ch"),m.config.globalProperties.$dayjs=A,m.config.globalProperties.$filters=U,m.use(E),m.mount("#app")};ft();export{gt as __vite_legacy_guard,d as a,_t as b,Dt as r,v as s};
|