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.b1e92a38.js";import{A as M}from"./auth.89a3b417.js";import{r as G,a as W}from"./routes-common.87145014.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.abc58316.js"),["assets/index.abc58316.js","assets/index.90ec5e63.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.bd96b34f.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.6f865f74.js"),["assets/index.6f865f74.js","assets/index.237b8a87.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/index.3d60a164.js","assets/index.725eb6f5.css","assets/index.be4204e9.js","assets/index.53cbb04c.css","assets/index.f8b0d992.js","assets/index.9d82b1e3.css","assets/use-id.af34cfd8.js","assets/use-tab-status.44481599.js","assets/use-refs.8a905ace.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.6dfcf3e9.js"),["assets/login.6dfcf3e9.js","assets/login.45bf09f9.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.8ac62937.js","assets/index.935001ee.css","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.ede24106.js","assets/index.9aecfad8.css","assets/use-id.af34cfd8.js","assets/index.47ba8cd7.js","assets/index.790dec85.css","assets/index.407ae4fa.js","assets/index.ed0ac76f.css","assets/index.19e8285a.js","assets/index.bfb43d3b.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js"]),meta:{isRegister:!1}},{path:"/practiceClass",name:"practiceClass",component:()=>t(()=>import("./index.f5e747a6.js"),["assets/index.f5e747a6.js","assets/index.21f3b182.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/index.3d60a164.js","assets/index.725eb6f5.css","assets/index.29846221.js","assets/index.85a0c0a7.css","assets/use-tab-status.44481599.js","assets/index.386a6a1a.js","assets/index.9bdb045e.css","assets/index.9a7c372b.js","assets/index.3acd67d3.css","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.ede24106.js","assets/index.9aecfad8.css","assets/use-id.af34cfd8.js","assets/index.7654b688.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/organ-search.2b15c691.js","assets/organ-search.133b8c72.css","assets/index.2d77c653.js","assets/index.c1ee5538.css"]),meta:{title:"\u8DA3\u7EA0\u8BFE"}},{path:"/videoDetail",name:"videoDetail",component:()=>t(()=>import("./video-detail.ebf2156f.js"),["assets/video-detail.ebf2156f.js","assets/video-detail.0e8ec841.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.22dde690.js","assets/index.d28e4cfd.css","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/index.2d77c653.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.ce98b2a8.js","assets/icon_music_active.3b316ab8.js","assets/index.091470e2.js","assets/index.e891820f.css","assets/index.8ac62937.js","assets/index.935001ee.css","assets/index.8680c93c.js","assets/index.171c23ba.css","assets/icon_teacher.40b6f077.js","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/orderStatus.89c2965c.js","assets/tradeOrder.8ccb284d.js","assets/icon-share.4e09e300.js","assets/index.7869a99d.js","assets/index.be4204e9.js","assets/index.53cbb04c.css","assets/code-down-load.0b85d7ad.js","assets/code-down-load.7cd270e4.css","assets/logo.bcac726b.js","assets/browser.e0af0af5.js","assets/html2canvas.esm.3d083717.js","assets/live-item.5048b75f.js","assets/live-item.3af230fe.css","assets/index.05eec207.js","assets/index.f60d53fc.css","assets/index.7facbdc9.js","assets/hooks.d0f82822.js"]),meta:{title:"\u89C6\u9891\u8BFE\u8BE6\u60C5"}},{path:"/videoClassDetail",name:"videoClassDetail",component:()=>t(()=>import("./video-class-detail.735974e0.js"),["assets/video-class-detail.735974e0.js","assets/video-class-detail.00bc770e.css","assets/plyr.732cfe9c.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.22dde690.js","assets/index.d28e4cfd.css","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/index.2d77c653.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.ce98b2a8.js","assets/icon_music_active.3b316ab8.js","assets/index.091470e2.js","assets/index.e891820f.css","assets/index.8ac62937.js","assets/index.935001ee.css","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/index.f8d40906.js","assets/index.3a30c3e5.css","assets/tcplayer.v4.8.0.min.6e134b4f.js","assets/index.3d60a164.js","assets/index.725eb6f5.css","assets/index.be4204e9.js","assets/index.53cbb04c.css","assets/index.f8b0d992.js","assets/index.9d82b1e3.css","assets/use-id.af34cfd8.js","assets/use-tab-status.44481599.js","assets/use-refs.8a905ace.js","assets/index.ede24106.js","assets/index.9aecfad8.css","assets/index.29846221.js","assets/index.85a0c0a7.css","assets/icon_teacher.40b6f077.js","assets/orderStatus.89c2965c.js","assets/index.672cba05.js","assets/index.a4ca5d1f.css","assets/index.7facbdc9.js"]),meta:{title:"\u89C6\u9891\u8BFE\u8BE6\u60C5"}},{path:"/liveDetail",name:"liveDetail",component:()=>t(()=>import("./live-detail.495d8185.js"),["assets/live-detail.495d8185.js","assets/live-detail.a2b5a60d.css","assets/plyr.732cfe9c.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.cad3c216.js","assets/index.b3f12616.css","assets/index.f8d40906.js","assets/index.3a30c3e5.css","assets/tcplayer.v4.8.0.min.6e134b4f.js","assets/index.091470e2.js","assets/index.e891820f.css","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.8ac62937.js","assets/index.935001ee.css","assets/index.8680c93c.js","assets/index.171c23ba.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/orderStatus.89c2965c.js","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/index.7869a99d.js","assets/index.be4204e9.js","assets/index.53cbb04c.css","assets/code-down-load.0b85d7ad.js","assets/code-down-load.7cd270e4.css","assets/logo.bcac726b.js","assets/browser.e0af0af5.js","assets/html2canvas.esm.3d083717.js","assets/live-item.5048b75f.js","assets/live-item.3af230fe.css","assets/icon-share.4e09e300.js","assets/tradeOrder.8ccb284d.js","assets/index.05eec207.js","assets/index.f60d53fc.css","assets/index.7facbdc9.js","assets/hooks.d0f82822.js"]),meta:{title:"\u76F4\u64AD\u8BFE\u8BE6\u60C5"}},{path:"/groupDetail",name:"groupDetail",component:()=>t(()=>import("./group-detail.2a9966bf.js"),["assets/group-detail.2a9966bf.js","assets/group-detail.b305490b.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.091470e2.js","assets/index.e891820f.css","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.8ac62937.js","assets/index.935001ee.css","assets/index.8680c93c.js","assets/index.171c23ba.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/orderStatus.89c2965c.js","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/index.7869a99d.js","assets/index.be4204e9.js","assets/index.53cbb04c.css","assets/code-down-load.0b85d7ad.js","assets/code-down-load.7cd270e4.css","assets/logo.bcac726b.js","assets/browser.e0af0af5.js","assets/html2canvas.esm.3d083717.js","assets/live-item.5048b75f.js","assets/live-item.3af230fe.css","assets/icon-share.4e09e300.js","assets/tradeOrder.8ccb284d.js","assets/index.23f8eebf.js","assets/index.08429c9d.css","assets/index.05eec207.js","assets/index.f60d53fc.css","assets/index.7facbdc9.js","assets/hooks.d0f82822.js"]),meta:{title:"\u5C0F\u7EC4\u8BFE\u8BE6\u60C5"}},{path:"/memberActive",name:"memberActive",component:()=>t(()=>import("./member-active.40a14fe3.js"),["assets/member-active.40a14fe3.js","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.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.520f2a66.js"),["assets/member-active-o.520f2a66.js","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/member-active.module.6c3bcaa4.js","assets/member-active.module.5f209809.css","assets/index.672cba05.js","assets/index.a4ca5d1f.css","assets/index.7facbdc9.js"]),meta:{title:"\u5143\u65E6\u72C2\u60F3\u66F2\u5C0F\u9177\u9001\u597D\u793C"}},{path:"/memberRecord",name:"memberRecord",component:()=>t(()=>import("./member-record.55bf04a5.js"),["assets/member-record.55bf04a5.js","assets/member-record.88b35423.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.8ac62937.js","assets/index.935001ee.css","assets/index.bd6b4041.js","assets/index.2ba271cf.css","assets/index.b152ed6f.js","assets/index.4f250b7f.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/index.29846221.js","assets/index.85a0c0a7.css","assets/use-tab-status.44481599.js","assets/index.bd8c6150.js","assets/hooks.d0f82822.js","assets/index.9125542d.js","assets/utils.e7484bb8.js","assets/index.94b2fc12.js"]),meta:{title:"\u7EC3\u4E60\u7EDF\u8BA1"}},{path:"/tradeRecord",name:"tradeRecord",component:()=>t(()=>import("./index.91123b0f.js"),["assets/index.91123b0f.js","assets/index.5226d72e.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.3d60a164.js","assets/index.725eb6f5.css","assets/index.be4204e9.js","assets/index.53cbb04c.css","assets/index.f8b0d992.js","assets/index.9d82b1e3.css","assets/use-id.af34cfd8.js","assets/use-tab-status.44481599.js","assets/use-refs.8a905ace.js","assets/index.386a6a1a.js","assets/index.9bdb045e.css","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.8ac62937.js","assets/index.935001ee.css","assets/index.bd6b4041.js","assets/index.2ba271cf.css","assets/index.29846221.js","assets/index.85a0c0a7.css","assets/index.bd8c6150.js","assets/tradeOrder.8ccb284d.js","assets/orderStatus.89c2965c.js","assets/index.9125542d.js","assets/utils.e7484bb8.js","assets/index.94b2fc12.js","assets/hooks.d0f82822.js","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/index.05eec207.js","assets/index.f60d53fc.css","assets/index.7facbdc9.js"]),meta:{title:"\u4EA4\u6613\u8BB0\u5F55"}},{path:"/teacherHome",name:"teacherHome",component:()=>t(()=>import("./teacher-home.1531d1fb.js"),["assets/teacher-home.1531d1fb.js","assets/teacher-home.51a8fc26.css","assets/vip_default.7099e014.js","assets/icon_video.f8e50d61.js","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/index.3d60a164.js","assets/index.725eb6f5.css","assets/index.be4204e9.js","assets/index.53cbb04c.css","assets/index.f8b0d992.js","assets/index.9d82b1e3.css","assets/use-id.af34cfd8.js","assets/use-tab-status.44481599.js","assets/use-refs.8a905ace.js","assets/index.0f452273.js","assets/index.e2a2294c.css","assets/index.bd6b4041.js","assets/index.2ba271cf.css","assets/index.b25fd44b.js","assets/index.e3b9d8b8.css","assets/utils.e7484bb8.js","assets/index.7654b688.js","assets/index.e07367fb.css","assets/index.2d77c653.js","assets/index.c1ee5538.css","assets/index.386a6a1a.js","assets/index.9bdb045e.css","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.8ac62937.js","assets/index.935001ee.css","assets/index.9d032493.js","assets/index.8158e111.css","assets/orderStatus.89c2965c.js","assets/tradeOrder.8ccb284d.js","assets/hooks.d0f82822.js","assets/index.29846221.js","assets/index.85a0c0a7.css","assets/index.7facbdc9.js","assets/icon_teacher.40b6f077.js","assets/index.ede24106.js","assets/index.9aecfad8.css","assets/index.aaae9888.js","assets/index.839fa5ce.css","assets/index.9a7c372b.js","assets/index.3acd67d3.css","assets/select-tag.3dbb4870.js","assets/select-tag.755f8917.css","assets/index.ca689304.js","assets/index.2fc2f59a.css","assets/index.94b523ad.js","assets/index.2539762b.css","assets/index.926ca9c5.js","assets/index.bd3b8127.js","assets/music.e5d2f1aa.js","assets/index.e89039bd.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.05eec207.js","assets/index.f60d53fc.css"]),meta:{title:"\u8001\u5E08\u4E3B\u9875"}},{path:"/teacherElegant",name:"teacherElegant",component:()=>t(()=>import("./teacher-elegant.68e4fb03.js"),["assets/teacher-elegant.68e4fb03.js","assets/teacher-elegant.6d39d0bb.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/index.9a7c372b.js","assets/index.3acd67d3.css","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.ede24106.js","assets/index.9aecfad8.css","assets/use-id.af34cfd8.js","assets/index.29846221.js","assets/index.85a0c0a7.css","assets/use-tab-status.44481599.js","assets/index.3d60a164.js","assets/index.725eb6f5.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/organ-search.2b15c691.js","assets/organ-search.133b8c72.css","assets/index.2d77c653.js","assets/index.c1ee5538.css","assets/icon_teacher.40b6f077.js","assets/icon_upload_poster.81da3a98.js","assets/bars.4f1962a6.js","assets/hooks.d0f82822.js"]),meta:{title:"\u8001\u5E08\u98CE\u91C7"}},{path:"/teacher-style",name:"teacher-style",component:()=>t(()=>import("./index.f0372d66.js"),["assets/index.f0372d66.js","assets/index.8c028066.css","assets/plyr.732cfe9c.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/icon_upload_poster.81da3a98.js","assets/index.05eec207.js","assets/index.f60d53fc.css","assets/index.7facbdc9.js","assets/icon_video.f8e50d61.js","assets/index.f8d40906.js","assets/index.3a30c3e5.css","assets/tcplayer.v4.8.0.min.6e134b4f.js"]),meta:{title:"\u4E2A\u4EBA\u98CE\u91C7"}},{path:"/music-upload",component:()=>t(()=>import("./index.ba950447.js"),["assets/index.ba950447.js","assets/index.a648bae7.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.ede24106.js","assets/index.9aecfad8.css","assets/use-id.af34cfd8.js","assets/index.2d77c653.js","assets/index.c1ee5538.css","assets/index.9c47c014.js","assets/index.5cb54b78.css","assets/index.94b523ad.js","assets/index.2539762b.css","assets/index.8ac62937.js","assets/index.935001ee.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/index.be4204e9.js","assets/index.53cbb04c.css","assets/index.f46be443.js","assets/index.9db88570.css","assets/index.f87d85d0.js","assets/index.f6f43f81.css","assets/toolsValidate.add49407.js","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/index.ca689304.js","assets/index.2fc2f59a.css","assets/index.926ca9c5.js","assets/index.bd3b8127.js","assets/index.be8a38e0.js","assets/index.ba6c5ff6.css","assets/plyr.min.0a479001.js","assets/index.04bcab87.js"]),meta:{title:"\u4E0A\u4F20\u66F2\u8C31"}},{path:"/teacherFollow",component:()=>t(()=>import("./teacher-follow.937bb70c.js"),["assets/teacher-follow.937bb70c.js","assets/teacher-follow.7ae1e062.css","assets/vip_default.7099e014.js","assets/icon_video.f8e50d61.js","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/index.29846221.js","assets/index.85a0c0a7.css","assets/use-tab-status.44481599.js","assets/icon_teacher.40b6f077.js","assets/index.9a7c372b.js","assets/index.3acd67d3.css","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.ede24106.js","assets/index.9aecfad8.css","assets/use-id.af34cfd8.js","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/index.05eec207.js","assets/index.f60d53fc.css","assets/index.7facbdc9.js"]),meta:{title:"\u6211\u7684\u5173\u6CE8"}},{path:"/track-review-activity",component:()=>t(()=>import("./index.910ed094.js"),["assets/index.910ed094.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.672cba05.js","assets/index.a4ca5d1f.css","assets/index.7facbdc9.js","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.8ac62937.js","assets/index.935001ee.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/share.8f6b4160.js","assets/music.e5d2f1aa.js","assets/orderStatus.89c2965c.js","assets/index.bd8c6150.js","assets/icon_teacher.40b6f077.js","assets/index.b11b782b.js","assets/index.62a411a4.css"]),meta:{title:"\u66F2\u76EE\u8BC4\u6D4B\u6D3B\u52A8",isExternal:!0}},{path:"/track-song",component:()=>t(()=>import("./track-song.9f355868.js"),["assets/track-song.9f355868.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/index.7facbdc9.js","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.8ac62937.js","assets/index.935001ee.css","assets/index.7654b688.js","assets/index.e07367fb.css"]),meta:{title:"\u8BC4\u6D4B\u66F2\u76EE"}},{path:"/discount-card",component:()=>t(()=>import("./index.6af0d776.js"),["assets/index.6af0d776.js","assets/index.b35f1b43.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/icon_student.c3c58354.js","assets/index.7654b688.js","assets/index.e07367fb.css","assets/index.05eec207.js","assets/index.f60d53fc.css","assets/index.7facbdc9.js","assets/tradeOrder.8ccb284d.js","assets/orderStatus.89c2965c.js"]),meta:{title:"\u7545\u5B66\u5361"}},{path:"/double12Active",component:()=>t(()=>import("./index.61fb1a55.js"),["assets/index.61fb1a55.js","assets/index.1d40158d.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/tradeOrder.8ccb284d.js","assets/orderStatus.89c2965c.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.c71089c9.js"),["assets/auth-login.c71089c9.js","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/auth.89a3b417.js","assets/auth.f09b6d78.css","assets/routes-common.87145014.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-layout-center",name:"home-layout-center",component:()=>t(()=>import("./home-layout-center.3a4e4253.js"),["assets/home-layout-center.3a4e4253.js","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/auth.89a3b417.js","assets/auth.f09b6d78.css","assets/routes-common.87145014.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home-login",name:"home-login",component:()=>t(()=>import("./login.9bfe4479.js"),["assets/login.9bfe4479.js","assets/login.196c691a.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.8ac62937.js","assets/index.935001ee.css","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.ede24106.js","assets/index.9aecfad8.css","assets/use-id.af34cfd8.js","assets/index.47ba8cd7.js","assets/index.790dec85.css","assets/index.407ae4fa.js","assets/index.ed0ac76f.css","assets/index.19e8285a.js","assets/index.bfb43d3b.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/auth.89a3b417.js","assets/auth.f09b6d78.css","assets/routes-common.87145014.js"]),meta:{title:"\u767B\u5F55\u9177\u4E50\u79C0"}},{path:"/home",name:"home",component:()=>t(()=>import("./index.2eca0f25.js"),["assets/index.2eca0f25.js","assets/index.23bb1d2e.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.b6a441a7.js","assets/index.ab41a591.css","assets/index.be4204e9.js","assets/index.53cbb04c.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/index.3d60a164.js","assets/index.725eb6f5.css","assets/index.f8b0d992.js","assets/index.9d82b1e3.css","assets/use-id.af34cfd8.js","assets/use-tab-status.44481599.js","assets/use-refs.8a905ace.js","assets/icon-xin-active.3d0e362e.js","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.b6ce06cf.js","assets/index.8ac62937.js","assets/index.935001ee.css","assets/index.29846221.js","assets/index.85a0c0a7.css","assets/icon-play.bc9e7aab.js","assets/icon_exquisite.69e33c80.js","assets/icon_album_active.ce98b2a8.js","assets/index.672cba05.js","assets/index.a4ca5d1f.css","assets/index.7facbdc9.js","assets/auth.89a3b417.js","assets/auth.f09b6d78.css","assets/routes-common.87145014.js"])}]},...ht,...W,{path:"/inviteTeacher",name:"inviteTeacher",component:()=>t(()=>import("./index.17dc5b45.js"),["assets/index.17dc5b45.js","assets/index.c5faf9ad.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.8ac62937.js","assets/index.935001ee.css","assets/index.bd96b34f.js","assets/index.09cb4b8c.css","assets/index.ede24106.js","assets/index.9aecfad8.css","assets/use-id.af34cfd8.js","assets/index.407ae4fa.js","assets/index.ed0ac76f.css","assets/index.ca689304.js","assets/index.2fc2f59a.css","assets/index.94b523ad.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.0dece5c3.js","assets/index.b11b782b.js","assets/index.62a411a4.css","assets/index.19e8285a.js","assets/index.bfb43d3b.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/index.b1ce112b.js","assets/index.42306580.css"]),meta:{title:"\u9080\u8BF7\u5B66\u5458"}},{path:"/inviteSuccess",name:"inviteSuccess",component:()=>t(()=>import("./index.4d51c362.js"),["assets/index.4d51c362.js","assets/index.4857380d.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/wx_bg.2f1a3efe.js"]),meta:{title:"\u6CE8\u518C\u6210\u529F"}},{path:"/transfer",component:()=>t(()=>import("./transfer.5a23ec9a.js"),["assets/transfer.5a23ec9a.js","assets/index.module.8a289a7a.js","assets/index.module.74660575.css","assets/wx_bg.2f1a3efe.js","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css"]),meta:{title:"\u9177\u4E50\u79C0\u5B66\u9662"}},{path:"/download",component:()=>t(()=>import("./download.3af7916e.js"),["assets/download.3af7916e.js","assets/index.module.8a289a7a.js","assets/index.module.74660575.css","assets/wx_bg.2f1a3efe.js","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css"])},{path:"/:pathMatch(.*)*",component:()=>t(()=>import("./index.30ca3ad3.js"),["assets/index.30ca3ad3.js","assets/index.5361fbba.css","assets/ResizeObserver.es.b1e92a38.js","assets/ResizeObserver.es.f6ff0060.css","assets/index.7654b688.js","assets/index.e07367fb.css","assets/index.b11b782b.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};