System.register(["./index-legacy.48c8d62c.js"],(function(){"use strict";var t,o,e,n,a,s,r,p,u,T,i,c,l,f,h,m;return{setters:[function(w){t=w.d,o=w.r,e=w.b,n=w.c,a=w.a,s=w.T,r=w.F,p=w.V,u=w.A,T=w.p,i=w.s,c=w.e,l=w.f,f=w.g,h=w.h,m=w.i}],execute:function(){var w=t({name:"App",setup:function(){var t=o({showToast:!1,showToastCenter:!1});return e.on("toastShow",(function(o){"center"===o&&(t.showToastCenter=!0),t.showToast=!0})),e.on("toastClose",(function(o){t.showToast=!1,"center"===o&&setTimeout((function(){t.showToastCenter=!1}),300)})),e.on("toastStatus",(function(){return t.showToast})),function(){return n(r,null,[n(a("router-view"),null,null),n("div",{class:["appRootToast",t.showToastCenter?"appRootToastCenter":""]},[n(s,{show:t.showToast,"onUpdate:show":function(o){return t.showToast=o},overlay:!0,duration:3e4},{message:function(){return n(r,null,[n(p,{class:"toastAnimate",animationData:u},null)])}})])])}}});T({api:"getToken"}).then((function(t){console.log(t,"res");var o=t.content;null!=o&&o.accessToken&&i(o.tokenType+" "+o.accessToken)}));var y=window.paymentType;c().isTeacher||"TEACHER"===y?l.platformType="TEACHER":c().isStudent||"STUDENT"===y?l.platformType="STUDENT":c().isSchool||"SCHOOL"===y?l.platformType="SCHOOL":l.platformType="STUDENT","TEACHER"===l.platformType?l.platformApi="/api-teacher":"SCHOOL"===l.platformType?l.platformApi="/api-school":(l.platformType,l.platformApi="/api-student");var C=f(w).use(h);C.use(m),C.mount("#app")}}}));