import{d as D,_ as B,r as F,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.62ab429c.js";import{A as M}from"./auth.ec0e1c23.js";import{r as G,a as W}from"./routes-common.f12b01f5.js";function gt(){import("data:text/javascript,")}const J=D({name:"App"});function K(a,e,o,u,r,i){const y=F("router-view");return O(),L(y)}var Q=B(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.6458eebd.js"),["assets/index.6458eebd.js","assets/index.90ec5e63.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.d7a13e47.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.8e92a644.js"),["assets/index.8e92a644.js","assets/index.237b8a87.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/index.b0c6821a.js","assets/index.725eb6f5.css","assets/index.3d6f6bcd.js","assets/index.d40c6f71.css","assets/index.ffd89e39.js","assets/index.9d82b1e3.css","assets/use-id.1bbe472d.js","assets/use-tab-status.a98984d2.js","assets/use-refs.259e72cb.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.b7bde967.js"),["assets/login.b7bde967.js","assets/login.45bf09f9.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.e24f8570.js","assets/index.935001ee.css","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.82be4917.js","assets/index.9aecfad8.css","assets/use-id.1bbe472d.js","assets/index.8a8808ba.js","assets/index.790dec85.css","assets/index.5a30932c.js","assets/index.ed0ac76f.css","assets/index.8f3e80f5.js","assets/index.bfb43d3b.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js"]),meta:{isRegister:!1}},{path:"/practiceClass",name:"practiceClass",component:()=>t(()=>import("./index.6ea65ec4.js"),["assets/index.6ea65ec4.js","assets/index.21f3b182.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/index.b0c6821a.js","assets/index.725eb6f5.css","assets/index.00698f4b.js","assets/index.85a0c0a7.css","assets/use-tab-status.a98984d2.js","assets/index.634e5235.js","assets/index.9bdb045e.css","assets/index.002d8e53.js","assets/index.3acd67d3.css","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.82be4917.js","assets/index.9aecfad8.css","assets/use-id.1bbe472d.js","assets/index.021584f9.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/organ-search.82e1cb5b.js","assets/organ-search.133b8c72.css","assets/index.0eba5ce9.js","assets/index.c1ee5538.css"]),meta:{title:"\u8DA3\u7EA0\u8BFE"}},{path:"/videoDetail",name:"videoDetail",component:()=>t(()=>import("./video-detail.fee9a287.js"),["assets/video-detail.fee9a287.js","assets/video-detail.0e8ec841.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.4b4c9d31.js","assets/index.d28e4cfd.css","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/index.0eba5ce9.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.ce98b2a8.js","assets/icon_music_active.3b316ab8.js","assets/index.7f3f7360.js","assets/index.e891820f.css","assets/index.e24f8570.js","assets/index.935001ee.css","assets/index.58a086a9.js","assets/index.171c23ba.css","assets/icon_teacher.40b6f077.js","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/orderStatus.0a0b3657.js","assets/tradeOrder.e4dc73d4.js","assets/icon-share.4e09e300.js","assets/index.8ecf3091.js","assets/index.3d6f6bcd.js","assets/index.d40c6f71.css","assets/code-down-load.e5ee5fd8.js","assets/code-down-load.7cd270e4.css","assets/logo.bcac726b.js","assets/browser.b3690ea1.js","assets/html2canvas.esm.3d083717.js","assets/live-item.12e7c4d6.js","assets/live-item.3af230fe.css","assets/index.1db64c88.js","assets/index.f60d53fc.css","assets/index.a6e5e68b.js","assets/hooks.3b599d36.js"]),meta:{title:"\u89C6\u9891\u8BFE\u8BE6\u60C5"}},{path:"/videoClassDetail",name:"videoClassDetail",component:()=>t(()=>import("./video-class-detail.0f273c46.js"),["assets/video-class-detail.0f273c46.js","assets/video-class-detail.00bc770e.css","assets/plyr.69d0e46c.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.4b4c9d31.js","assets/index.d28e4cfd.css","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/index.0eba5ce9.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.ce98b2a8.js","assets/icon_music_active.3b316ab8.js","assets/index.7f3f7360.js","assets/index.e891820f.css","assets/index.e24f8570.js","assets/index.935001ee.css","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/index.4b0cb3c8.js","assets/index.2a0c2b6f.css","assets/tcplayer.v4.8.0.min.87d92d44.js","assets/index.b0c6821a.js","assets/index.725eb6f5.css","assets/index.3d6f6bcd.js","assets/index.d40c6f71.css","assets/index.ffd89e39.js","assets/index.9d82b1e3.css","assets/use-id.1bbe472d.js","assets/use-tab-status.a98984d2.js","assets/use-refs.259e72cb.js","assets/index.82be4917.js","assets/index.9aecfad8.css","assets/index.00698f4b.js","assets/index.85a0c0a7.css","assets/icon_teacher.40b6f077.js","assets/orderStatus.0a0b3657.js","assets/index.105e15bd.js","assets/index.a4ca5d1f.css","assets/index.a6e5e68b.js"]),meta:{title:"\u89C6\u9891\u8BFE\u8BE6\u60C5"}},{path:"/liveDetail",name:"liveDetail",component:()=>t(()=>import("./live-detail.5dfdc174.js"),["assets/live-detail.5dfdc174.js","assets/live-detail.a2b5a60d.css","assets/plyr.69d0e46c.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.d707363d.js","assets/index.b3f12616.css","assets/index.4b0cb3c8.js","assets/index.2a0c2b6f.css","assets/tcplayer.v4.8.0.min.87d92d44.js","assets/index.7f3f7360.js","assets/index.e891820f.css","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.e24f8570.js","assets/index.935001ee.css","assets/index.58a086a9.js","assets/index.171c23ba.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/orderStatus.0a0b3657.js","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/index.8ecf3091.js","assets/index.3d6f6bcd.js","assets/index.d40c6f71.css","assets/code-down-load.e5ee5fd8.js","assets/code-down-load.7cd270e4.css","assets/logo.bcac726b.js","assets/browser.b3690ea1.js","assets/html2canvas.esm.3d083717.js","assets/live-item.12e7c4d6.js","assets/live-item.3af230fe.css","assets/icon-share.4e09e300.js","assets/tradeOrder.e4dc73d4.js","assets/index.1db64c88.js","assets/index.f60d53fc.css","assets/index.a6e5e68b.js","assets/hooks.3b599d36.js"]),meta:{title:"\u76F4\u64AD\u8BFE\u8BE6\u60C5"}},{path:"/groupDetail",name:"groupDetail",component:()=>t(()=>import("./group-detail.2fb57990.js"),["assets/group-detail.2fb57990.js","assets/group-detail.b305490b.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.7f3f7360.js","assets/index.e891820f.css","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.e24f8570.js","assets/index.935001ee.css","assets/index.58a086a9.js","assets/index.171c23ba.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/orderStatus.0a0b3657.js","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/index.8ecf3091.js","assets/index.3d6f6bcd.js","assets/index.d40c6f71.css","assets/code-down-load.e5ee5fd8.js","assets/code-down-load.7cd270e4.css","assets/logo.bcac726b.js","assets/browser.b3690ea1.js","assets/html2canvas.esm.3d083717.js","assets/live-item.12e7c4d6.js","assets/live-item.3af230fe.css","assets/icon-share.4e09e300.js","assets/tradeOrder.e4dc73d4.js","assets/index.66bf1d0a.js","assets/index.08429c9d.css","assets/index.1db64c88.js","assets/index.f60d53fc.css","assets/index.a6e5e68b.js","assets/hooks.3b599d36.js"]),meta:{title:"\u5C0F\u7EC4\u8BFE\u8BE6\u60C5"}},{path:"/memberActive",name:"memberActive",component:()=>t(()=>import("./member-active.0479b4f5.js"),["assets/member-active.0479b4f5.js","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.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.a9d77803.js"),["assets/member-active-o.a9d77803.js","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/member-active.module.6c3bcaa4.js","assets/member-active.module.5f209809.css","assets/index.105e15bd.js","assets/index.a4ca5d1f.css","assets/index.a6e5e68b.js"]),meta:{title:"\u5143\u65E6\u72C2\u60F3\u66F2\u5C0F\u9177\u9001\u597D\u793C"}},{path:"/memberRecord",name:"memberRecord",component:()=>t(()=>import("./member-record.38ff6083.js"),["assets/member-record.38ff6083.js","assets/member-record.88b35423.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.e24f8570.js","assets/index.935001ee.css","assets/index.e36f066b.js","assets/index.cdc43d10.css","assets/index.2a571689.js","assets/index.4f250b7f.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/index.00698f4b.js","assets/index.85a0c0a7.css","assets/use-tab-status.a98984d2.js","assets/index.bd8c6150.js","assets/hooks.3b599d36.js","assets/index.4a71c7ab.js","assets/utils.74d8e370.js","assets/index.0fefc4ed.js"]),meta:{title:"\u7EC3\u4E60\u7EDF\u8BA1"}},{path:"/tradeRecord",name:"tradeRecord",component:()=>t(()=>import("./index.e195375f.js"),["assets/index.e195375f.js","assets/index.5226d72e.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.b0c6821a.js","assets/index.725eb6f5.css","assets/index.3d6f6bcd.js","assets/index.d40c6f71.css","assets/index.ffd89e39.js","assets/index.9d82b1e3.css","assets/use-id.1bbe472d.js","assets/use-tab-status.a98984d2.js","assets/use-refs.259e72cb.js","assets/index.634e5235.js","assets/index.9bdb045e.css","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.e24f8570.js","assets/index.935001ee.css","assets/index.e36f066b.js","assets/index.cdc43d10.css","assets/index.00698f4b.js","assets/index.85a0c0a7.css","assets/index.bd8c6150.js","assets/tradeOrder.e4dc73d4.js","assets/orderStatus.0a0b3657.js","assets/index.4a71c7ab.js","assets/utils.74d8e370.js","assets/index.0fefc4ed.js","assets/hooks.3b599d36.js","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/index.1db64c88.js","assets/index.f60d53fc.css","assets/index.a6e5e68b.js"]),meta:{title:"\u4EA4\u6613\u8BB0\u5F55"}},{path:"/teacherHome",name:"teacherHome",component:()=>t(()=>import("./teacher-home.dde2f407.js"),["assets/teacher-home.dde2f407.js","assets/teacher-home.51a8fc26.css","assets/vip_default.7099e014.js","assets/icon_video.f8e50d61.js","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/index.b0c6821a.js","assets/index.725eb6f5.css","assets/index.3d6f6bcd.js","assets/index.d40c6f71.css","assets/index.ffd89e39.js","assets/index.9d82b1e3.css","assets/use-id.1bbe472d.js","assets/use-tab-status.a98984d2.js","assets/use-refs.259e72cb.js","assets/index.51322635.js","assets/index.e2a2294c.css","assets/index.e36f066b.js","assets/index.cdc43d10.css","assets/index.2d40e6b8.js","assets/index.e3b9d8b8.css","assets/utils.74d8e370.js","assets/index.021584f9.js","assets/index.e07367fb.css","assets/index.0eba5ce9.js","assets/index.c1ee5538.css","assets/index.634e5235.js","assets/index.9bdb045e.css","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.e24f8570.js","assets/index.935001ee.css","assets/index.29c1ac1c.js","assets/index.8158e111.css","assets/orderStatus.0a0b3657.js","assets/tradeOrder.e4dc73d4.js","assets/hooks.3b599d36.js","assets/index.00698f4b.js","assets/index.85a0c0a7.css","assets/index.a6e5e68b.js","assets/icon_teacher.40b6f077.js","assets/index.82be4917.js","assets/index.9aecfad8.css","assets/index.c4d12794.js","assets/index.839fa5ce.css","assets/index.002d8e53.js","assets/index.3acd67d3.css","assets/select-tag.bdc20ffa.js","assets/select-tag.755f8917.css","assets/index.2745b15c.js","assets/index.2fc2f59a.css","assets/index.9a52dc9a.js","assets/index.2539762b.css","assets/index.926ca9c5.js","assets/index.5d843ffa.js","assets/music.56762674.js","assets/index.df4cff80.js","assets/index.57f84679.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.1db64c88.js","assets/index.f60d53fc.css"]),meta:{title:"\u8001\u5E08\u4E3B\u9875"}},{path:"/teacherElegant",name:"teacherElegant",component:()=>t(()=>import("./teacher-elegant.f49d44d6.js"),["assets/teacher-elegant.f49d44d6.js","assets/teacher-elegant.6d39d0bb.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/index.002d8e53.js","assets/index.3acd67d3.css","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.82be4917.js","assets/index.9aecfad8.css","assets/use-id.1bbe472d.js","assets/index.00698f4b.js","assets/index.85a0c0a7.css","assets/use-tab-status.a98984d2.js","assets/index.b0c6821a.js","assets/index.725eb6f5.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/organ-search.82e1cb5b.js","assets/organ-search.133b8c72.css","assets/index.0eba5ce9.js","assets/index.c1ee5538.css","assets/icon_teacher.40b6f077.js","assets/icon_upload_poster.81da3a98.js","assets/bars.4f1962a6.js","assets/hooks.3b599d36.js"]),meta:{title:"\u8001\u5E08\u98CE\u91C7"}},{path:"/teacher-style",name:"teacher-style",component:()=>t(()=>import("./index.6949a490.js"),["assets/index.6949a490.js","assets/index.8c028066.css","assets/plyr.69d0e46c.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/icon_upload_poster.81da3a98.js","assets/index.1db64c88.js","assets/index.f60d53fc.css","assets/index.a6e5e68b.js","assets/icon_video.f8e50d61.js","assets/index.4b0cb3c8.js","assets/index.2a0c2b6f.css","assets/tcplayer.v4.8.0.min.87d92d44.js"]),meta:{title:"\u4E2A\u4EBA\u98CE\u91C7"}},{path:"/music-upload",component:()=>t(()=>import("./index.5a98bace.js"),["assets/index.5a98bace.js","assets/index.a648bae7.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.82be4917.js","assets/index.9aecfad8.css","assets/use-id.1bbe472d.js","assets/index.0eba5ce9.js","assets/index.c1ee5538.css","assets/index.4e7a82cc.js","assets/index.5cb54b78.css","assets/index.9a52dc9a.js","assets/index.2539762b.css","assets/index.e24f8570.js","assets/index.935001ee.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/index.3d6f6bcd.js","assets/index.d40c6f71.css","assets/index.7f3546e4.js","assets/index.9db88570.css","assets/index.1a2d53c5.js","assets/index.f6f43f81.css","assets/toolsValidate.add49407.js","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/index.2745b15c.js","assets/index.2fc2f59a.css","assets/index.926ca9c5.js","assets/index.5d843ffa.js","assets/index.acba6e89.js","assets/index.338894a2.css","assets/plyr.min.0a479001.js","assets/index.2b14f9f1.js"]),meta:{title:"\u4E0A\u4F20\u66F2\u8C31"}},{path:"/teacherFollow",component:()=>t(()=>import("./teacher-follow.61095eec.js"),["assets/teacher-follow.61095eec.js","assets/teacher-follow.7ae1e062.css","assets/vip_default.7099e014.js","assets/icon_video.f8e50d61.js","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/index.00698f4b.js","assets/index.85a0c0a7.css","assets/use-tab-status.a98984d2.js","assets/icon_teacher.40b6f077.js","assets/index.002d8e53.js","assets/index.3acd67d3.css","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.82be4917.js","assets/index.9aecfad8.css","assets/use-id.1bbe472d.js","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/index.1db64c88.js","assets/index.f60d53fc.css","assets/index.a6e5e68b.js"]),meta:{title:"\u6211\u7684\u5173\u6CE8"}},{path:"/track-review-activity",component:()=>t(()=>import("./index.7985602f.js"),["assets/index.7985602f.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.105e15bd.js","assets/index.a4ca5d1f.css","assets/index.a6e5e68b.js","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.e24f8570.js","assets/index.935001ee.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/share.d1ca65b8.js","assets/music.56762674.js","assets/orderStatus.0a0b3657.js","assets/index.bd8c6150.js","assets/icon_teacher.40b6f077.js","assets/index.786e83cc.js","assets/index.62a411a4.css"]),meta:{title:"\u66F2\u76EE\u8BC4\u6D4B\u6D3B\u52A8",isExternal:!0}},{path:"/track-song",component:()=>t(()=>import("./track-song.bcbc3716.js"),["assets/track-song.bcbc3716.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/index.a6e5e68b.js","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.e24f8570.js","assets/index.935001ee.css","assets/index.021584f9.js","assets/index.e07367fb.css"]),meta:{title:"\u8BC4\u6D4B\u66F2\u76EE"}},{path:"/discount-card",component:()=>t(()=>import("./index.bc18d3cb.js"),["assets/index.bc18d3cb.js","assets/index.b35f1b43.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/icon_student.c3c58354.js","assets/index.021584f9.js","assets/index.e07367fb.css","assets/index.1db64c88.js","assets/index.f60d53fc.css","assets/index.a6e5e68b.js","assets/tradeOrder.e4dc73d4.js","assets/orderStatus.0a0b3657.js"]),meta:{title:"\u7545\u5B66\u5361"}},{path:"/double12Active",component:()=>t(()=>import("./index.89f905b1.js"),["assets/index.89f905b1.js","assets/index.1d40158d.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/tradeOrder.e4dc73d4.js","assets/orderStatus.0a0b3657.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.3369dd87.js"),["assets/auth-login.3369dd87.js","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/auth.ec0e1c23.js","assets/auth.f09b6d78.css","assets/routes-common.f12b01f5.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-layout-center",name:"home-layout-center",component:()=>t(()=>import("./home-layout-center.c91644e5.js"),["assets/home-layout-center.c91644e5.js","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/auth.ec0e1c23.js","assets/auth.f09b6d78.css","assets/routes-common.f12b01f5.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-login",name:"home-login",component:()=>t(()=>import("./login.682c0d17.js"),["assets/login.682c0d17.js","assets/login.196c691a.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.e24f8570.js","assets/index.935001ee.css","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.82be4917.js","assets/index.9aecfad8.css","assets/use-id.1bbe472d.js","assets/index.8a8808ba.js","assets/index.790dec85.css","assets/index.5a30932c.js","assets/index.ed0ac76f.css","assets/index.8f3e80f5.js","assets/index.bfb43d3b.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/auth.ec0e1c23.js","assets/auth.f09b6d78.css","assets/routes-common.f12b01f5.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home",name:"home",component:()=>t(()=>import("./index.fe37b815.js"),["assets/index.fe37b815.js","assets/index.23bb1d2e.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.1e737b96.js","assets/index.ab41a591.css","assets/index.3d6f6bcd.js","assets/index.d40c6f71.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/index.b0c6821a.js","assets/index.725eb6f5.css","assets/index.ffd89e39.js","assets/index.9d82b1e3.css","assets/use-id.1bbe472d.js","assets/use-tab-status.a98984d2.js","assets/use-refs.259e72cb.js","assets/icon-xin-active.3d0e362e.js","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.b6ce06cf.js","assets/index.e24f8570.js","assets/index.935001ee.css","assets/index.00698f4b.js","assets/index.85a0c0a7.css","assets/icon-play.bc9e7aab.js","assets/icon_exquisite.69e33c80.js","assets/icon_album_active.ce98b2a8.js","assets/index.105e15bd.js","assets/index.a4ca5d1f.css","assets/index.a6e5e68b.js","assets/auth.ec0e1c23.js","assets/auth.f09b6d78.css","assets/routes-common.f12b01f5.js"])}]},...ht,...W,{path:"/inviteTeacher",name:"inviteTeacher",component:()=>t(()=>import("./index.d6d8377e.js"),["assets/index.d6d8377e.js","assets/index.55a6b229.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.e24f8570.js","assets/index.935001ee.css","assets/index.d7a13e47.js","assets/index.09cb4b8c.css","assets/index.82be4917.js","assets/index.9aecfad8.css","assets/use-id.1bbe472d.js","assets/index.5a30932c.js","assets/index.ed0ac76f.css","assets/index.2745b15c.js","assets/index.2fc2f59a.css","assets/index.9a52dc9a.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.3ed577ca.js","assets/index.786e83cc.js","assets/index.62a411a4.css","assets/index.8f3e80f5.js","assets/index.bfb43d3b.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/index.744cc3aa.js","assets/index.42306580.css"]),meta:{title:"\u9080\u8BF7\u5B66\u5458"}},{path:"/inviteSuccess",name:"inviteSuccess",component:()=>t(()=>import("./index.88db0a30.js"),["assets/index.88db0a30.js","assets/index.4857380d.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/wx_bg.2f1a3efe.js"]),meta:{title:"\u6CE8\u518C\u6210\u529F"}},{path:"/transfer",component:()=>t(()=>import("./transfer.554b70d3.js"),["assets/transfer.554b70d3.js","assets/index.module.8a289a7a.js","assets/index.module.74660575.css","assets/wx_bg.2f1a3efe.js","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css"]),meta:{title:"\u9177\u4E50\u79C0\u5B66\u9662"}},{path:"/download",component:()=>t(()=>import("./download.3e6fabce.js"),["assets/download.3e6fabce.js","assets/index.module.8a289a7a.js","assets/index.module.74660575.css","assets/wx_bg.2f1a3efe.js","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css"])},{path:"/:pathMatch(.*)*",component:()=>t(()=>import("./index.5cd1c9d1.js"),["assets/index.5cd1c9d1.js","assets/index.5361fbba.css","assets/ResizeObserver.es.62ab429c.js","assets/ResizeObserver.es.cf474077.css","assets/index.021584f9.js","assets/index.e07367fb.css","assets/index.786e83cc.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};