import{d as m,_ as h,r as d,o as v,c as f,b as u,s as o,a as A,e as g,f as R,g as D,h as T,p,i as n,C,R as B,F as P,j as F,k as t,l as L,m as V,n as I,D as O,q as y,t as c,v as $}from"./index.afa1b71c.js";function W(){import("data:text/javascript,")}const w=m({name:"App"});function b(r,i,e,a,z,M){const E=d("router-view");return v(),f(E)}var x=h(w,[["render",b]]);const k="_error_l30mv_1",q="_info_l30mv_9";var S={error:k,info:q};const N=u();var H=m({name:"Auth",data(){return{loading:!1}},computed:{isExternal(){return this.$route.meta.isExternal&&!N.isStudent||!1},isNeedView(){return o.user.status==="login"||this.$route.path==="/login"||this.isExternal}},mounted(){!this.isExternal&&this.setAuth()},methods:{async setAuth(){const{query:r}=this.$route,i=r.userInfo||r.Authorization;if(i&&A(i),!this.loading){if(o.user.status==="init"||o.user.status==="error"){this.loading=!0;try{let e=await g.get("/api-student/student/queryUserInfo",{initRequest:!0});R(e.data)}catch(e){const a=e.message;a.indexOf("403")===-1&&a.indexOf("authentication")===-1?D():T()}this.loading=!1}if(o.user.status==="logout")if(u().isApp)p({api:"login"});else try{const e=this.$route,a={returnUrl:this.$route.path,...this.$route.query};e.meta.isRegister&&(a.isRegister=e.meta.isRegister),this.$router.replace({path:"/login",query:a})}catch{}}}},render(){return n(P,null,[o.user.status==="error"?n("div",{class:S.error},[n(C,{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?n(B,null,null):null])}});const U=[{path:"/share-music-sheet",name:"share-music-sheet",component:()=>t(()=>import("./index.6357d544.js"),["assets/index.6357d544.js","assets/index.254f2153.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.570461cd.js","assets/icon_discount.535f7618.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u5206\u4EAB\u4E50\u66F2"}},{path:"/leaderboard",component:()=>t(()=>import("./index.5d5e4145.js"),["assets/index.5d5e4145.js","assets/index.237b8a87.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.637c8eb4.js","assets/index.e07367fb.css","assets/index.db3b0e47.js","assets/index.725eb6f5.css","assets/index.7c0d35f2.js","assets/index.53cbb04c.css","assets/index.0daa711a.js","assets/index.9d82b1e3.css","assets/use-id.237d90a3.js","assets/use-tab-status.7451baf9.js","assets/use-refs.fee02e7b.js","assets/icon_level3.5bff162c.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u66F2\u76EE\u6311\u6218\u6392\u884C\u699C"}}];var j=[{path:"/",component:H,children:[...F,{path:"/login",name:"login",component:()=>t(()=>import("./login.416a5074.js"),["assets/login.416a5074.js","assets/login.45bf09f9.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.acab22df.js","assets/index.935001ee.css","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.dd9b166a.js","assets/index.9aecfad8.css","assets/use-id.237d90a3.js","assets/index.bb0be14d.js","assets/index.0fd2891c.css","assets/index.72f11453.js","assets/index.ed0ac76f.css","assets/index.637c8eb4.js","assets/index.e07367fb.css","assets/validate.ba62cd4c.js"]),meta:{isRegister:!1}},{path:"/home",name:"home",component:()=>t(()=>import("./index.0ba09aeb.js"),["assets/index.0ba09aeb.js","assets/index.66617849.css","assets/index.afa1b71c.js","assets/index.f8405903.css"])},{path:"/practiceClass",name:"practiceClass",component:()=>t(()=>import("./index.5534875c.js"),["assets/index.5534875c.js","assets/index.21f3b182.css","assets/index.ceb58f38.js","assets/index.ff32357b.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.61a5e45f.js","assets/index.3d59d650.css","assets/use-height.f6c2abd5.js","assets/index.db3b0e47.js","assets/index.725eb6f5.css","assets/index.90f19895.js","assets/index.85a0c0a7.css","assets/use-tab-status.7451baf9.js","assets/index.cd896c26.js","assets/index.9bdb045e.css","assets/index.09943e1e.js","assets/index.f693b37f.css","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.dd9b166a.js","assets/index.9aecfad8.css","assets/use-id.237d90a3.js","assets/index.637c8eb4.js","assets/index.e07367fb.css","assets/index.8c93c395.js","assets/index.7e4a2d88.css","assets/use-refs.fee02e7b.js","assets/icon_teacher.40b6f077.js","assets/organ-search.f0434b52.js","assets/organ-search.133b8c72.css","assets/index.30fb9a6a.js","assets/index.c1ee5538.css"]),meta:{title:"\u966A\u7EC3\u8BFE"}},{path:"/videoDetail",name:"videoDetail",component:()=>t(()=>import("./video-detail.65382b91.js"),["assets/video-detail.65382b91.js","assets/video-detail.f773086f.css","assets/index.a48259c2.js","assets/index.e6e7e1cb.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.637c8eb4.js","assets/index.e07367fb.css","assets/index.30fb9a6a.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.17cb3c18.js","assets/icon_music_active.f91f6fcc.js","assets/index.517eb70c.js","assets/index.3f72abd0.css","assets/index.acab22df.js","assets/index.935001ee.css","assets/index.9e8d3787.js","assets/index.37f2cda1.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/icon-jiaozi.20e415ca.js","assets/index.ceb58f38.js","assets/index.ff32357b.css","assets/index.61a5e45f.js","assets/index.3d59d650.css","assets/use-height.f6c2abd5.js","assets/orderStatus.cf2f1333.js","assets/tradeOrder.d9068c9f.js","assets/index.e6c57a63.js","assets/index.0e2a0d0d.js","assets/index.20f296a8.css","assets/icon-share.4e09e300.js","assets/index.949efa91.js","assets/index.7c0d35f2.js","assets/index.53cbb04c.css","assets/code-down-load.507d8c9d.js","assets/code-down-load.d633cf34.css","assets/logo.bcac726b.js","assets/browser.8c23ea5b.js","assets/live-item.5935b8eb.js","assets/live-item.3af230fe.css"]),meta:{title:"\u89C6\u9891\u8BFE"}},{path:"/videoClassDetail",name:"videoClassDetail",component:()=>t(()=>import("./video-class-detail.80c85434.js"),["assets/video-class-detail.80c85434.js","assets/video-class-detail.b2370989.css","assets/index.a48259c2.js","assets/index.e6e7e1cb.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.637c8eb4.js","assets/index.e07367fb.css","assets/index.30fb9a6a.js","assets/index.c1ee5538.css","assets/bars.4f1962a6.js","assets/icon_album_active.17cb3c18.js","assets/icon_music_active.f91f6fcc.js","assets/index.517eb70c.js","assets/index.3f72abd0.css","assets/index.acab22df.js","assets/index.935001ee.css","assets/index.ceb58f38.js","assets/index.ff32357b.css","assets/index.61a5e45f.js","assets/index.3d59d650.css","assets/use-height.f6c2abd5.js","assets/index.78c60f6c.js","assets/index.a2c503d8.css","assets/plyr.623e6d1e.js","assets/plyr.732cfe9c.css","assets/index.db3b0e47.js","assets/index.725eb6f5.css","assets/index.7c0d35f2.js","assets/index.53cbb04c.css","assets/index.0daa711a.js","assets/index.9d82b1e3.css","assets/use-id.237d90a3.js","assets/use-tab-status.7451baf9.js","assets/use-refs.fee02e7b.js","assets/index.dd9b166a.js","assets/index.9aecfad8.css","assets/index.90f19895.js","assets/index.85a0c0a7.css","assets/icon_teacher.40b6f077.js","assets/orderStatus.cf2f1333.js"]),meta:{title:"\u89C6\u9891\u8BFE\u8BE6\u60C5"}},{path:"/liveDetail",name:"liveDetail",component:()=>t(()=>import("./live-detail.274f8775.js"),["assets/live-detail.274f8775.js","assets/live-detail.1c14417f.css","assets/index.f241ddc1.js","assets/index.36a08fcf.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.78c60f6c.js","assets/index.a2c503d8.css","assets/plyr.623e6d1e.js","assets/plyr.732cfe9c.css","assets/index.517eb70c.js","assets/index.3f72abd0.css","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.acab22df.js","assets/index.935001ee.css","assets/index.9e8d3787.js","assets/index.37f2cda1.css","assets/index.637c8eb4.js","assets/index.e07367fb.css","assets/icon_teacher.40b6f077.js","assets/icon_timer2.5fb1750d.js","assets/icon-jiaozi.20e415ca.js","assets/orderStatus.cf2f1333.js","assets/index.ceb58f38.js","assets/index.ff32357b.css","assets/index.61a5e45f.js","assets/index.3d59d650.css","assets/use-height.f6c2abd5.js","assets/index.0e2a0d0d.js","assets/index.20f296a8.css","assets/index.949efa91.js","assets/index.7c0d35f2.js","assets/index.53cbb04c.css","assets/code-down-load.507d8c9d.js","assets/code-down-load.d633cf34.css","assets/logo.bcac726b.js","assets/browser.8c23ea5b.js","assets/live-item.5935b8eb.js","assets/live-item.3af230fe.css","assets/icon-share.4e09e300.js"]),meta:{title:"\u76F4\u64AD\u8BFE\u8BE6\u60C5"}},{path:"/memberRecord",name:"memberRecord",component:()=>t(()=>import("./member-record.d63d6727.js"),["assets/member-record.d63d6727.js","assets/member-record.88b35423.css","assets/index.ceb58f38.js","assets/index.ff32357b.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.61a5e45f.js","assets/index.3d59d650.css","assets/use-height.f6c2abd5.js","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.acab22df.js","assets/index.935001ee.css","assets/index.77c15d09.js","assets/index.2ba271cf.css","assets/index.2a4aa690.js","assets/index.4f250b7f.css","assets/index.637c8eb4.js","assets/index.e07367fb.css","assets/index.90f19895.js","assets/index.85a0c0a7.css","assets/use-tab-status.7451baf9.js","assets/index.e6c57a63.js","assets/hooks.ea9ec317.js","assets/index.8ad97ab5.js","assets/utils.b7e3a72e.js","assets/index.cc81021c.js"]),meta:{title:"\u8BAD\u7EC3\u7EDF\u8BA1"}},{path:"/tradeRecord",name:"tradeRecord",component:()=>t(()=>import("./index.86333e8b.js"),["assets/index.86333e8b.js","assets/index.5226d72e.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.db3b0e47.js","assets/index.725eb6f5.css","assets/index.7c0d35f2.js","assets/index.53cbb04c.css","assets/index.0daa711a.js","assets/index.9d82b1e3.css","assets/use-id.237d90a3.js","assets/use-tab-status.7451baf9.js","assets/use-refs.fee02e7b.js","assets/index.cd896c26.js","assets/index.9bdb045e.css","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.acab22df.js","assets/index.935001ee.css","assets/index.77c15d09.js","assets/index.2ba271cf.css","assets/index.90f19895.js","assets/index.85a0c0a7.css","assets/index.e6c57a63.js","assets/tradeOrder.d9068c9f.js","assets/orderStatus.cf2f1333.js","assets/index.8ad97ab5.js","assets/utils.b7e3a72e.js","assets/index.cc81021c.js","assets/hooks.ea9ec317.js"]),meta:{title:"\u4EA4\u6613\u8BB0\u5F55"}},{path:"/teacherHome",name:"teacherHome",component:()=>t(()=>import("./teacher-home.97904dcd.js"),["assets/teacher-home.97904dcd.js","assets/teacher-home.f1e55bda.css","assets/teacher-header.module.374e6712.js","assets/teacher-header.module.6b126c59.css","assets/index.ceb58f38.js","assets/index.ff32357b.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.61a5e45f.js","assets/index.3d59d650.css","assets/use-height.f6c2abd5.js","assets/index.db3b0e47.js","assets/index.725eb6f5.css","assets/index.7c0d35f2.js","assets/index.53cbb04c.css","assets/index.0daa711a.js","assets/index.9d82b1e3.css","assets/use-id.237d90a3.js","assets/use-tab-status.7451baf9.js","assets/use-refs.fee02e7b.js","assets/index.517eb70c.js","assets/index.3f72abd0.css","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.acab22df.js","assets/index.935001ee.css","assets/index.78c60f6c.js","assets/index.a2c503d8.css","assets/plyr.623e6d1e.js","assets/plyr.732cfe9c.css","assets/index.637c8eb4.js","assets/index.e07367fb.css","assets/index.dd9b166a.js","assets/index.9aecfad8.css","assets/icon_upload_poster.81da3a98.js","assets/index.6d9bcdc3.js","assets/index.4f3cb17e.css","assets/index.77c15d09.js","assets/index.2ba271cf.css","assets/index.30fb9a6a.js","assets/index.c1ee5538.css","assets/utils.b7e3a72e.js","assets/index.cd896c26.js","assets/index.9bdb045e.css","assets/index.91e1812c.js","assets/index.8158e111.css","assets/orderStatus.cf2f1333.js","assets/tradeOrder.d9068c9f.js","assets/index.e6c57a63.js","assets/index.90f19895.js","assets/index.85a0c0a7.css","assets/video-item.26b53d82.js","assets/video-item.69885607.css","assets/index.24eca19f.js","assets/index.9bccce42.css","assets/index.09943e1e.js","assets/index.f693b37f.css","assets/select-tag.5ef46951.js","assets/select-tag.755f8917.css","assets/index.fce7f544.js","assets/index.42378eb4.js","assets/index.2fc2f59a.css","assets/index.4b8ed396.js","assets/index.2539762b.css","assets/index.926ca9c5.js","assets/index.bcdad04b.js","assets/index.module.7b815a85.js","assets/index.module.3eb65b4d.css","assets/music.9b0ac3f4.js","assets/index.570461cd.js","assets/select-subject.fb5b00b2.js","assets/organ-search.133b8c72.css","assets/hooks.ea9ec317.js","assets/index.e8a66baf.js","assets/index.cdc0469c.css","assets/icon_uploader.2c2d880e.js","assets/icon-xin.ff5e2464.js","assets/icon_exquisite.f7a49149.js","assets/icon_album_active.17cb3c18.js","assets/icon_music_active.f91f6fcc.js","assets/index.8c93c395.js","assets/index.7e4a2d88.css","assets/icon_teacher.40b6f077.js","assets/icon-jiaozi.20e415ca.js"]),meta:{title:"\u8001\u5E08\u4E3B\u9875"}},{path:"/teacherElegant",name:"teacherElegant",component:()=>t(()=>import("./teacher-elegant.5ae7c7f5.js"),["assets/teacher-elegant.5ae7c7f5.js","assets/teacher-elegant.d1ee700a.css","assets/index.ceb58f38.js","assets/index.ff32357b.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.61a5e45f.js","assets/index.3d59d650.css","assets/use-height.f6c2abd5.js","assets/index.09943e1e.js","assets/index.f693b37f.css","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.dd9b166a.js","assets/index.9aecfad8.css","assets/use-id.237d90a3.js","assets/index.90f19895.js","assets/index.85a0c0a7.css","assets/use-tab-status.7451baf9.js","assets/index.db3b0e47.js","assets/index.725eb6f5.css","assets/index.637c8eb4.js","assets/index.e07367fb.css","assets/organ-search.f0434b52.js","assets/organ-search.133b8c72.css","assets/index.30fb9a6a.js","assets/index.c1ee5538.css","assets/icon_teacher.40b6f077.js","assets/icon_upload_poster.81da3a98.js","assets/bars.4f1962a6.js","assets/hooks.ea9ec317.js"]),meta:{title:"\u8001\u5E08\u98CE\u91C7"}},{path:"/music-upload",component:()=>t(()=>import("./index.2cbbfb11.js"),["assets/index.2cbbfb11.js","assets/index.fd988807.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.dd9b166a.js","assets/index.9aecfad8.css","assets/use-id.237d90a3.js","assets/index.db3b0e47.js","assets/index.725eb6f5.css","assets/index.30fb9a6a.js","assets/index.c1ee5538.css","assets/index.cb45b534.js","assets/index.5cb54b78.css","assets/index.4b8ed396.js","assets/index.2539762b.css","assets/index.77c15d09.js","assets/index.2ba271cf.css","assets/index.deee835e.js","assets/index.f5591219.css","assets/index.72f11453.js","assets/index.ed0ac76f.css","assets/index.5839e367.js","assets/index.f4dc3d44.css","assets/index.42378eb4.js","assets/index.2fc2f59a.css","assets/index.637c8eb4.js","assets/index.e07367fb.css","assets/checkbox_default.8d9b037b.js","assets/index.bcdad04b.js","assets/index.7c0d35f2.js","assets/index.53cbb04c.css","assets/index.512f7cc3.js","assets/index.9db88570.css","assets/index.d3990cc9.js","assets/index.b0d5b748.css","assets/select-tag.5ef46951.js","assets/select-tag.755f8917.css","assets/index.fce7f544.js","assets/index.926ca9c5.js","assets/teacherState.e3ed5c36.js","assets/toolsValidate.add49407.js","assets/index.cc81021c.js","assets/index.f80d8e15.js"]),meta:{title:"\u4E0A\u4F20\u66F2\u8C31"}},{path:"/teacherFollow",component:()=>t(()=>import("./teacher-follow.2586a5cb.js"),["assets/teacher-follow.2586a5cb.js","assets/teacher-header.module.374e6712.js","assets/teacher-header.module.6b126c59.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.637c8eb4.js","assets/index.e07367fb.css","assets/index.90f19895.js","assets/index.85a0c0a7.css","assets/use-tab-status.7451baf9.js","assets/index.8c93c395.js","assets/index.7e4a2d88.css","assets/use-refs.fee02e7b.js","assets/index.db3b0e47.js","assets/index.725eb6f5.css","assets/icon_teacher.40b6f077.js","assets/index.09943e1e.js","assets/index.f693b37f.css","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.dd9b166a.js","assets/index.9aecfad8.css","assets/use-id.237d90a3.js","assets/icon-jiaozi.20e415ca.js"]),meta:{title:"\u6211\u7684\u5173\u6CE8"}},{path:"/track-review-activity",component:()=>t(()=>import("./index.41140267.js"),["assets/index.41140267.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/index.0e2a0d0d.js","assets/index.20f296a8.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.acab22df.js","assets/index.935001ee.css","assets/index.637c8eb4.js","assets/index.e07367fb.css","assets/logo.bcac726b.js","assets/share.c871d9e6.js","assets/music.9b0ac3f4.js","assets/index.570461cd.js","assets/orderStatus.cf2f1333.js","assets/index.e6c57a63.js","assets/icon_teacher.40b6f077.js"]),meta:{title:"\u66F2\u76EE\u8BC4\u6D4B\u6D3B\u52A8",isExternal:!0}},{path:"/track-song",component:()=>t(()=>import("./track-song.c28f4612.js"),["assets/track-song.c28f4612.js","assets/index.module.1e3f21b8.js","assets/index.module.bb134c44.css","assets/icon_level3.5bff162c.js","assets/index.ceb58f38.js","assets/index.ff32357b.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.61a5e45f.js","assets/index.3d59d650.css","assets/use-height.f6c2abd5.js","assets/index.fce7f544.js","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.acab22df.js","assets/index.935001ee.css","assets/index.637c8eb4.js","assets/index.e07367fb.css","assets/index.570461cd.js"]),meta:{title:"\u8BC4\u6D4B\u66F2\u76EE"}}]},...U,...L,{path:"/inviteTeacher",name:"inviteTeacher",component:()=>t(()=>import("./index.914fee03.js"),["assets/index.914fee03.js","assets/index.0df43561.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.acab22df.js","assets/index.935001ee.css","assets/index.8fb41b14.js","assets/index.09cb4b8c.css","assets/index.dd9b166a.js","assets/index.9aecfad8.css","assets/use-id.237d90a3.js","assets/index.72f11453.js","assets/index.ed0ac76f.css","assets/index.42378eb4.js","assets/index.2fc2f59a.css","assets/index.4b8ed396.js","assets/index.2539762b.css","assets/validate.ba62cd4c.js","assets/icon_teacher.40b6f077.js","assets/icon_checkbox_default.2fe5d57e.js","assets/index.fcfcccb4.js","assets/index.570461cd.js","assets/index.ceb58f38.js","assets/index.ff32357b.css","assets/index.61a5e45f.js","assets/index.3d59d650.css","assets/use-height.f6c2abd5.js"]),meta:{title:"\u9080\u8BF7\u5B66\u5458"}},{path:"/inviteSuccess",name:"inviteSuccess",component:()=>t(()=>import("./index.530fbb7c.js"),["assets/index.530fbb7c.js","assets/index.5f37a31b.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/wx_bg.3aa8574a.js"]),meta:{title:"\u6CE8\u518C\u6210\u529F"}},{path:"/transfer",component:()=>t(()=>import("./transfer.43c61b31.js"),["assets/transfer.43c61b31.js","assets/index.module.d7fec199.js","assets/index.module.7282ad9a.css","assets/wx_bg.3aa8574a.js","assets/index.afa1b71c.js","assets/index.f8405903.css"]),meta:{title:"\u9177\u4E50\u79C0\u5B66\u9662"}},{path:"/download",component:()=>t(()=>import("./download.6c4b3940.js"),["assets/download.6c4b3940.js","assets/index.module.d7fec199.js","assets/index.module.7282ad9a.css","assets/wx_bg.3aa8574a.js","assets/index.afa1b71c.js","assets/index.f8405903.css"])},{path:"/:pathMatch(.*)*",component:()=>t(()=>import("./index.ab05c592.js"),["assets/index.ab05c592.js","assets/index.5361fbba.css","assets/index.afa1b71c.js","assets/index.f8405903.css","assets/index.637c8eb4.js","assets/index.e07367fb.css"]),meta:{title:"404 Not Fund",platform:"STUDENT"}}];const s=V({history:I(),routes:j});s.beforeEach((r,i,e)=>{const a=r.meta.title;document.title=a||"\u9177\u4E50\u79C0",e()});let l=!1;s.onError(r=>{if(r instanceof Error){const i=r.name.indexOf("chunk"),e=s.currentRoute.value.fullPath;i&&!l&&(l=!0,O.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(()=>{u().isApp?p({api:"back"}):(location.hash=e,window.location.reload())}))}});const _=y(x);p({api:"getVersion"},r=>{o.version=r.content.version,console.log(r,"version")});u().isTeacher?o.platformType="TEACHER":u().isStudent?o.platformType="STUDENT":o.platformType="STUDENT";o.platformType==="TEACHER"?o.platformApi="/api-teacher":o.platformApi="/api-student";c.locale("zh-ch");_.config.globalProperties.$dayjs=c;_.config.globalProperties.$filters=$;_.use(s);_.mount("#app");export{W as __vite_legacy_guard};