!function(){function t(t,n,o,e,i,a,r){try{var s=t[a](r),d=s.value}catch(l){return void o(l)}s.done?n(d):Promise.resolve(d).then(e,i)}function n(n){return function(){var o=this,e=arguments;return new Promise((function(i,a){var r=n.apply(o,e);function s(n){t(r,i,a,s,d,"next",n)}function d(n){t(r,i,a,s,d,"throw",n)}s(void 0)}))}}System.register(["./index-legacy-1cbe5d00.js","./student-center-legacy-e416a2b4.js","./wx_bg-legacy-c2182292.js","./index-legacy-dbc3358b.js"],(function(t,o){"use strict";var e,i,a,r,s,d,l,c,u,p,w;return{setters:[t=>{e=t.d,i=t.x,a=t.y,r=t.D,s=t.a,d=t.C,l=t.V},t=>{c=t.s,u=t.a},t=>{p=t.w},t=>{w=t.I}],execute:function(){t("default",e({name:"download",setup(){const t=i({wxStatus:!1,androidUrl:""}),o=()=>{if(l().weixin)return void(t.wxStatus=!0);let n="",o="";location.origin.indexOf("kt.colexiu.com")>-1?(n="https://apps.apple.com/us/app/%E9%9F%B3%E4%B9%90%E6%95%B0%E5%AD%97%E8%AF%BE%E5%A0%82/id6452725878",o=t.androidUrl):(n="https://www.pgyer.com/dzRRNN",o=t.androidUrl),l().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?n&&(window.location.href=n):window.location.href=o};return a(n((function*(){try{const{data:n}=yield r.get("/edu-app/open/appVersionInfo/queryLatestByPlatform",{params:{platform:"android-kt",status:"history"}});t.androidUrl=n.downloadUrl}catch(n){}}))),()=>s("div",{class:[c.downloadContainer]},[s(w,{class:c.downImg,src:u},null),s("div",{class:c.buttonGroup},[s(d,{round:!0,size:"large",class:c.btn,onClick:o},null)]),t.wxStatus&&s("div",{class:c.wxpopup,onClick:()=>{t.wxStatus=!1}},[s("img",{src:p,alt:""},null)])])}}))}}}))}();
