index.1ee2d5e6.js 29 KB

1
  1. import{d as I,_ as F,r as B,c as L,o as O,e as P,T as _,s as k,a as f,b as C,f as s,g as n,h as V,p as h,i as w,j as c,C as b,R as x,F as S,k as e,l as $,m as q,D as z,n as p,q as H,t as N,u as D,v as g,w as A,x as U,y as j}from"./ResizeObserver.es.39b48a47.js";import{A as M}from"./auth.6996b3a7.js";import{r as G,a as W}from"./routes-common.b13b2b40.js";function gt(){import("data:text/javascript,")}const J=I({name:"App"});function K(a,t,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 It=()=>{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,t)=>{t.hideLoading||(clearTimeout(l),_.loading({message:"\u52A0\u8F7D\u4E2D...",forbidClick:!0,loadingType:"spinner",duration:0})),R=t.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:{...t,params:k(t.params),headers:{...t.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 t=await a.clone().json();if(t.code!==200&&t.errCode!==0){let o=t.msg||t.message||"\u5904\u7406\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5";throw R&&(t.code===403||t.code===401?f():C()),t.code===403||t.code===401||(clearTimeout(l),_(o)),s(),t.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=I({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||V()},methods:{async setAuth(){const{query:a}=this.$route,t=a.userInfo||a.Authorization;if(t&&v(t),!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?C():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:()=>e(()=>import("./index.170ec309.js"),["assets/index.170ec309.js","assets/index.90ec5e63.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.db115763.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.30013120.js"),["assets/index.30013120.js","assets/index.237b8a87.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/index.608320e9.js","assets/index.725eb6f5.css","assets/index.0e35d2fb.js","assets/index.53cbb04c.css","assets/index.5d4d28cc.js","assets/index.9d82b1e3.css","assets/use-id.b004ff17.js","assets/use-tab-status.bcc0c503.js","assets/use-refs.07204da6.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:()=>e(()=>import("./login.113c6622.js"),["assets/login.113c6622.js","assets/login.45bf09f9.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.9f5e14d1.js","assets/index.935001ee.css","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.428ab1a8.js","assets/index.9aecfad8.css","assets/use-id.b004ff17.js","assets/index.3efa3471.js","assets/index.790dec85.css","assets/index.16ffd6ad.js","assets/index.ed0ac76f.css","assets/index.a250ad5f.js","assets/index.bfb43d3b.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js"]),meta:{isRegister:!1}},{path:"/practiceClass",name:"practiceClass",component:()=>e(()=>import("./index.cf379d18.js"),["assets/index.cf379d18.js","assets/index.21f3b182.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/index.608320e9.js","assets/index.725eb6f5.css","assets/index.6c529ad4.js","assets/index.85a0c0a7.css","assets/use-tab-status.bcc0c503.js","assets/index.b6a283d2.js","assets/index.9bdb045e.css","assets/index.e10a1ae2.js","assets/index.4f0dde34.css","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.428ab1a8.js","assets/index.9aecfad8.css","assets/use-id.b004ff17.js","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/index.6a000ecc.js","assets/index.7e4a2d88.css","assets/use-refs.07204da6.js","assets/icon_teacher.40b6f077.js","assets/organ-search.31aca7ed.js","assets/organ-search.133b8c72.css","assets/index.34ac729a.js","assets/index.c1ee5538.css"]),meta:{title:"\u8DA3\u7EA0\u8BFE"}},{path:"/videoDetail",name:"videoDetail",component:()=>e(()=>import("./video-detail.688869a4.js"),["assets/video-detail.688869a4.js","assets/video-detail.f773086f.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.a177d001.js","assets/index.d28e4cfd.css","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/index.34ac729a.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.cb923735.js","assets/icon_music_active.f55820b3.js","assets/index.f11db230.js","assets/index.3f72abd0.css","assets/index.9f5e14d1.js","assets/index.935001ee.css","assets/index.4c32c83c.js","assets/index.a3b5798b.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/orderStatus.fbc0ddaf.js","assets/tradeOrder.c5307744.js","assets/index.b1c0c586.js","assets/index.a4ca5d1f.css","assets/index.dc19bc54.js","assets/icon-share.4e09e300.js","assets/index.6f45cb15.js","assets/index.0e35d2fb.js","assets/index.53cbb04c.css","assets/code-down-load.a26a0d5d.js","assets/code-down-load.37bada6b.css","assets/logo.bcac726b.js","assets/browser.1f070884.js","assets/html2canvas.esm.3d083717.js","assets/live-item.f6fa9064.js","assets/live-item.3af230fe.css"]),meta:{title:"\u89C6\u9891\u8BFE"}},{path:"/videoClassDetail",name:"videoClassDetail",component:()=>e(()=>import("./video-class-detail.675885fb.js"),["assets/video-class-detail.675885fb.js","assets/video-class-detail.6b48da0f.css","assets/plyr.732cfe9c.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.a177d001.js","assets/index.d28e4cfd.css","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/index.34ac729a.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.cb923735.js","assets/icon_music_active.f55820b3.js","assets/index.f11db230.js","assets/index.3f72abd0.css","assets/index.9f5e14d1.js","assets/index.935001ee.css","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/index.1aca6fb4.js","assets/index.3a30c3e5.css","assets/tcplayer.v4.8.0.min.3b1de996.js","assets/index.608320e9.js","assets/index.725eb6f5.css","assets/index.0e35d2fb.js","assets/index.53cbb04c.css","assets/index.5d4d28cc.js","assets/index.9d82b1e3.css","assets/use-id.b004ff17.js","assets/use-tab-status.bcc0c503.js","assets/use-refs.07204da6.js","assets/index.428ab1a8.js","assets/index.9aecfad8.css","assets/index.6c529ad4.js","assets/index.85a0c0a7.css","assets/icon_teacher.40b6f077.js","assets/orderStatus.fbc0ddaf.js","assets/index.b1c0c586.js","assets/index.a4ca5d1f.css","assets/index.dc19bc54.js"]),meta:{title:"\u89C6\u9891\u8BFE\u8BE6\u60C5"}},{path:"/liveDetail",name:"liveDetail",component:()=>e(()=>import("./live-detail.e3c28bb0.js"),["assets/live-detail.e3c28bb0.js","assets/live-detail.7fc5888a.css","assets/plyr.732cfe9c.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.b6be6dac.js","assets/index.c4bfaf86.css","assets/index.1aca6fb4.js","assets/index.3a30c3e5.css","assets/tcplayer.v4.8.0.min.3b1de996.js","assets/index.f11db230.js","assets/index.3f72abd0.css","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.9f5e14d1.js","assets/index.935001ee.css","assets/index.4c32c83c.js","assets/index.a3b5798b.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/orderStatus.fbc0ddaf.js","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/index.b1c0c586.js","assets/index.a4ca5d1f.css","assets/index.dc19bc54.js","assets/index.6f45cb15.js","assets/index.0e35d2fb.js","assets/index.53cbb04c.css","assets/code-down-load.a26a0d5d.js","assets/code-down-load.37bada6b.css","assets/logo.bcac726b.js","assets/browser.1f070884.js","assets/html2canvas.esm.3d083717.js","assets/live-item.f6fa9064.js","assets/live-item.3af230fe.css","assets/icon-share.4e09e300.js","assets/tradeOrder.c5307744.js"]),meta:{title:"\u76F4\u64AD\u8BFE\u8BE6\u60C5"}},{path:"/memberActive",name:"memberActive",component:()=>e(()=>import("./member-active.7f19725a.js"),["assets/member-active.7f19725a.js","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.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.b0d7e26d.js"),["assets/member-active-o.b0d7e26d.js","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/member-active.module.6c3bcaa4.js","assets/member-active.module.5f209809.css","assets/index.b1c0c586.js","assets/index.a4ca5d1f.css","assets/index.dc19bc54.js"]),meta:{title:"\u5143\u65E6\u72C2\u60F3\u66F2\u5C0F\u9177\u9001\u597D\u793C"}},{path:"/memberRecord",name:"memberRecord",component:()=>e(()=>import("./member-record.dc194e34.js"),["assets/member-record.dc194e34.js","assets/member-record.88b35423.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.9f5e14d1.js","assets/index.935001ee.css","assets/index.b8eefd8d.js","assets/index.2ba271cf.css","assets/index.5416c7b0.js","assets/index.4f250b7f.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/index.6c529ad4.js","assets/index.85a0c0a7.css","assets/use-tab-status.bcc0c503.js","assets/index.07111672.js","assets/hooks.6df65925.js","assets/index.c1da7507.js","assets/utils.eda083a9.js","assets/index.6617ac99.js"]),meta:{title:"\u7EC3\u4E60\u7EDF\u8BA1"}},{path:"/tradeRecord",name:"tradeRecord",component:()=>e(()=>import("./index.bb59b7ea.js"),["assets/index.bb59b7ea.js","assets/index.5226d72e.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.608320e9.js","assets/index.725eb6f5.css","assets/index.0e35d2fb.js","assets/index.53cbb04c.css","assets/index.5d4d28cc.js","assets/index.9d82b1e3.css","assets/use-id.b004ff17.js","assets/use-tab-status.bcc0c503.js","assets/use-refs.07204da6.js","assets/index.b6a283d2.js","assets/index.9bdb045e.css","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.9f5e14d1.js","assets/index.935001ee.css","assets/index.b8eefd8d.js","assets/index.2ba271cf.css","assets/index.6c529ad4.js","assets/index.85a0c0a7.css","assets/index.07111672.js","assets/tradeOrder.c5307744.js","assets/orderStatus.fbc0ddaf.js","assets/index.c1da7507.js","assets/utils.eda083a9.js","assets/index.6617ac99.js","assets/hooks.6df65925.js","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/index.e90d2179.js","assets/index.f60d53fc.css","assets/index.dc19bc54.js"]),meta:{title:"\u4EA4\u6613\u8BB0\u5F55"}},{path:"/teacherHome",name:"teacherHome",component:()=>e(()=>import("./teacher-home.2c718a29.js"),["assets/teacher-home.2c718a29.js","assets/teacher-home.8e4dece6.css","assets/vip_default.ded3438c.js","assets/icon_video.60a71a50.js","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/index.608320e9.js","assets/index.725eb6f5.css","assets/index.0e35d2fb.js","assets/index.53cbb04c.css","assets/index.5d4d28cc.js","assets/index.9d82b1e3.css","assets/use-id.b004ff17.js","assets/use-tab-status.bcc0c503.js","assets/use-refs.07204da6.js","assets/index.5fcaa617.js","assets/index.e2a2294c.css","assets/index.b8eefd8d.js","assets/index.2ba271cf.css","assets/index.78ed3721.js","assets/index.e3b9d8b8.css","assets/utils.eda083a9.js","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/index.34ac729a.js","assets/index.c1ee5538.css","assets/index.b6a283d2.js","assets/index.9bdb045e.css","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.9f5e14d1.js","assets/index.935001ee.css","assets/index.c88884de.js","assets/index.8158e111.css","assets/orderStatus.fbc0ddaf.js","assets/tradeOrder.c5307744.js","assets/index.6c529ad4.js","assets/index.85a0c0a7.css","assets/index.dc19bc54.js","assets/index.6a000ecc.js","assets/index.7e4a2d88.css","assets/icon_teacher.40b6f077.js","assets/hooks.6df65925.js","assets/index.428ab1a8.js","assets/index.9aecfad8.css","assets/index.0962fc25.js","assets/index.a789e82c.css","assets/index.1f05bcbc.js","assets/index.9bccce42.css","assets/index.e10a1ae2.js","assets/index.4f0dde34.css","assets/select-tag.c133608d.js","assets/select-tag.755f8917.css","assets/index.0a093430.js","assets/index.2fc2f59a.css","assets/index.3c44a6d7.js","assets/index.2539762b.css","assets/index.926ca9c5.js","assets/index.a256e876.js","assets/music.27f3de35.js","assets/select-subject.5a3e156f.js","assets/organ-search.133b8c72.css","assets/index.fbd2c321.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.e90d2179.js","assets/index.f60d53fc.css"]),meta:{title:"\u8001\u5E08\u4E3B\u9875"}},{path:"/teacherElegant",name:"teacherElegant",component:()=>e(()=>import("./teacher-elegant.1ac77ba5.js"),["assets/teacher-elegant.1ac77ba5.js","assets/teacher-elegant.6d39d0bb.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/index.e10a1ae2.js","assets/index.4f0dde34.css","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.428ab1a8.js","assets/index.9aecfad8.css","assets/use-id.b004ff17.js","assets/index.6c529ad4.js","assets/index.85a0c0a7.css","assets/use-tab-status.bcc0c503.js","assets/index.608320e9.js","assets/index.725eb6f5.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/organ-search.31aca7ed.js","assets/organ-search.133b8c72.css","assets/index.34ac729a.js","assets/index.c1ee5538.css","assets/icon_teacher.40b6f077.js","assets/icon_upload_poster.81da3a98.js","assets/bars.4f1962a6.js","assets/hooks.6df65925.js"]),meta:{title:"\u8001\u5E08\u98CE\u91C7"}},{path:"/teacher-style",name:"teacher-style",component:()=>e(()=>import("./index.9e7c3822.js"),["assets/index.9e7c3822.js","assets/index.8c028066.css","assets/plyr.732cfe9c.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/icon_upload_poster.81da3a98.js","assets/index.e90d2179.js","assets/index.f60d53fc.css","assets/index.dc19bc54.js","assets/icon_video.60a71a50.js","assets/index.1aca6fb4.js","assets/index.3a30c3e5.css","assets/tcplayer.v4.8.0.min.3b1de996.js"]),meta:{title:"\u4E2A\u4EBA\u98CE\u91C7"}},{path:"/music-upload",component:()=>e(()=>import("./index.ff265843.js"),["assets/index.ff265843.js","assets/index.a648bae7.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.428ab1a8.js","assets/index.9aecfad8.css","assets/use-id.b004ff17.js","assets/index.34ac729a.js","assets/index.c1ee5538.css","assets/index.bb84a3aa.js","assets/index.5cb54b78.css","assets/index.3c44a6d7.js","assets/index.2539762b.css","assets/index.9f5e14d1.js","assets/index.935001ee.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/index.0e35d2fb.js","assets/index.53cbb04c.css","assets/index.fe852f14.js","assets/index.9db88570.css","assets/index.c6490fa7.js","assets/index.a3b0db98.css","assets/toolsValidate.add49407.js","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/index.0a093430.js","assets/index.2fc2f59a.css","assets/index.926ca9c5.js","assets/index.a256e876.js","assets/index.e86fcc87.js","assets/index.ba6c5ff6.css","assets/plyr.min.0a479001.js","assets/index.45e4ca3e.js"]),meta:{title:"\u4E0A\u4F20\u66F2\u8C31"}},{path:"/teacherFollow",component:()=>e(()=>import("./teacher-follow.e5371450.js"),["assets/teacher-follow.e5371450.js","assets/teacher-follow.7ae1e062.css","assets/vip_default.ded3438c.js","assets/icon_video.60a71a50.js","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/index.6c529ad4.js","assets/index.85a0c0a7.css","assets/use-tab-status.bcc0c503.js","assets/index.6a000ecc.js","assets/index.7e4a2d88.css","assets/use-refs.07204da6.js","assets/icon_teacher.40b6f077.js","assets/index.e10a1ae2.js","assets/index.4f0dde34.css","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.428ab1a8.js","assets/index.9aecfad8.css","assets/use-id.b004ff17.js","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/index.e90d2179.js","assets/index.f60d53fc.css","assets/index.dc19bc54.js"]),meta:{title:"\u6211\u7684\u5173\u6CE8"}},{path:"/track-review-activity",component:()=>e(()=>import("./index.c2d43c6b.js"),["assets/index.c2d43c6b.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.b1c0c586.js","assets/index.a4ca5d1f.css","assets/index.dc19bc54.js","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.9f5e14d1.js","assets/index.935001ee.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/share.098d3d09.js","assets/music.27f3de35.js","assets/orderStatus.fbc0ddaf.js","assets/index.07111672.js","assets/icon_teacher.40b6f077.js","assets/index.970ad07b.js","assets/index.62a411a4.css"]),meta:{title:"\u66F2\u76EE\u8BC4\u6D4B\u6D3B\u52A8",isExternal:!0}},{path:"/track-song",component:()=>e(()=>import("./track-song.e06923df.js"),["assets/track-song.e06923df.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/index.dc19bc54.js","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.9f5e14d1.js","assets/index.935001ee.css","assets/index.fcbcb027.js","assets/index.e07367fb.css"]),meta:{title:"\u8BC4\u6D4B\u66F2\u76EE"}},{path:"/discount-card",component:()=>e(()=>import("./index.94950e41.js"),["assets/index.94950e41.js","assets/index.f14a5774.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/icon_student.c3c58354.js","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/index.e90d2179.js","assets/index.f60d53fc.css","assets/index.dc19bc54.js","assets/tradeOrder.c5307744.js","assets/orderStatus.fbc0ddaf.js"]),meta:{title:"\u7545\u5B66\u5361"}},{path:"/double12Active",component:()=>e(()=>import("./index.1fbb50fa.js"),["assets/index.1fbb50fa.js","assets/index.1d40158d.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/tradeOrder.c5307744.js","assets/orderStatus.fbc0ddaf.js","assets/index.07111672.js"]),meta:{title:"\u53CC\u5341\u4E8C\u9650\u65F6\u7279\u60E0"}}]},{path:"/home-layout",component:lt,children:[{path:"/home-auth",name:"home-auth",component:()=>e(()=>import("./auth-login.7f7e9c40.js"),["assets/auth-login.7f7e9c40.js","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/auth.6996b3a7.js","assets/auth.f09b6d78.css","assets/routes-common.b13b2b40.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-layout-center",name:"home-layout-center",component:()=>e(()=>import("./home-layout-center.ac64193f.js"),["assets/home-layout-center.ac64193f.js","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/auth.6996b3a7.js","assets/auth.f09b6d78.css","assets/routes-common.b13b2b40.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-login",name:"home-login",component:()=>e(()=>import("./login.5497f1f1.js"),["assets/login.5497f1f1.js","assets/login.196c691a.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.9f5e14d1.js","assets/index.935001ee.css","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.428ab1a8.js","assets/index.9aecfad8.css","assets/use-id.b004ff17.js","assets/index.3efa3471.js","assets/index.790dec85.css","assets/index.16ffd6ad.js","assets/index.ed0ac76f.css","assets/index.a250ad5f.js","assets/index.bfb43d3b.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/auth.6996b3a7.js","assets/auth.f09b6d78.css","assets/routes-common.b13b2b40.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home",name:"home",component:()=>e(()=>import("./index.d31c699e.js"),["assets/index.d31c699e.js","assets/index.23bb1d2e.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.d3f6a1c6.js","assets/index.ab41a591.css","assets/index.0e35d2fb.js","assets/index.53cbb04c.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/index.608320e9.js","assets/index.725eb6f5.css","assets/index.5d4d28cc.js","assets/index.9d82b1e3.css","assets/use-id.b004ff17.js","assets/use-tab-status.bcc0c503.js","assets/use-refs.07204da6.js","assets/icon-xin-active.3d0e362e.js","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.b6ce06cf.js","assets/index.9f5e14d1.js","assets/index.935001ee.css","assets/index.6c529ad4.js","assets/index.85a0c0a7.css","assets/icon-play.bc9e7aab.js","assets/icon_exquisite.01ddc5aa.js","assets/icon_album_active.cb923735.js","assets/index.b1c0c586.js","assets/index.a4ca5d1f.css","assets/index.dc19bc54.js","assets/auth.6996b3a7.js","assets/auth.f09b6d78.css","assets/routes-common.b13b2b40.js"])}]},...ht,...W,{path:"/inviteTeacher",name:"inviteTeacher",component:()=>e(()=>import("./index.8aac3959.js"),["assets/index.8aac3959.js","assets/index.c5faf9ad.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.9f5e14d1.js","assets/index.935001ee.css","assets/index.db115763.js","assets/index.09cb4b8c.css","assets/index.428ab1a8.js","assets/index.9aecfad8.css","assets/use-id.b004ff17.js","assets/index.16ffd6ad.js","assets/index.ed0ac76f.css","assets/index.0a093430.js","assets/index.2fc2f59a.css","assets/index.3c44a6d7.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.a0f53d9f.js","assets/index.970ad07b.js","assets/index.62a411a4.css","assets/index.a250ad5f.js","assets/index.bfb43d3b.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/index.e4b33a43.js","assets/index.42306580.css"]),meta:{title:"\u9080\u8BF7\u5B66\u5458"}},{path:"/inviteSuccess",name:"inviteSuccess",component:()=>e(()=>import("./index.538fccd3.js"),["assets/index.538fccd3.js","assets/index.4857380d.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/wx_bg.2f1a3efe.js"]),meta:{title:"\u6CE8\u518C\u6210\u529F"}},{path:"/transfer",component:()=>e(()=>import("./transfer.e1afec52.js"),["assets/transfer.e1afec52.js","assets/index.module.7399db5c.js","assets/index.module.74660575.css","assets/wx_bg.2f1a3efe.js","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css"]),meta:{title:"\u9177\u4E50\u79C0\u5B66\u9662"}},{path:"/download",component:()=>e(()=>import("./download.5ae75a97.js"),["assets/download.5ae75a97.js","assets/index.module.7399db5c.js","assets/index.module.74660575.css","assets/wx_bg.2f1a3efe.js","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css"])},{path:"/:pathMatch(.*)*",component:()=>e(()=>import("./index.30796c4b.js"),["assets/index.30796c4b.js","assets/index.5361fbba.css","assets/ResizeObserver.es.39b48a47.js","assets/ResizeObserver.es.a84186f5.css","assets/index.fcbcb027.js","assets/index.e07367fb.css","assets/index.970ad07b.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,t,o)=>{const u=a.meta.title;document.title=u||"\u9177\u4E50\u79C0",o()});let T=!1;E.onError(a=>{if(a instanceof Error){const t=a.name.indexOf("chunk"),o=E.currentRoute.value.fullPath;t&&!T&&(T=!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 t=a.content;console.log(t,"orchestra");const{data:o}=await j.post("/api-auth/smsLogin",{requestType:"form",data:{clientId:"student",clientSecret:"student",phone:t.phone,isSurportRegister:!0,token:t.token.split(" ")[1]}}),{authentication:u}=o;D(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&&D(i.value)}));const a=g.parse(location.search),t=g.parse(location.hash.split("?")[1]),o=a.source||t.source||"",u=a.Authorization||t.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,It as r,v as s};