!function(){const t=["pn","url","action","pageTag"];function e(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function r(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function n(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function o(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(l){return void r(l)}s.done?e(u):Promise.resolve(u).then(n,o)}System.register(["./index-legacy-e6be1dcb.js","./student-center-legacy-20f367b0.js","./index-legacy-d3534fc9.js"],(function(i,a){"use strict";var s,u,l,c,d,p,f,g,y,w,h;return{setters:[t=>{s=t.d,u=t.D,l=t.X,c=t.S,d=t.N,p=t.a,f=t.C},t=>{g=t.a,y=t.s,w=t.w},t=>{h=t.I}],execute:function(){i("default",s({name:"download-transfer",data:()=>({wxStatus:!1,androidUrl:""}),mounted(){var i,a=this;return(i=function*(){try{const{data:t}=yield u.get("/edu-app/open/appVersionInfo/queryLatestByPlatform",{params:{platform:"android-kt",status:"history"}});a.androidUrl=t.downloadUrl}catch(O){console.log(O)}const o=a.$route.query,{pn:i,url:s,action:p,pageTag:f}=o,g=n(o,t),{origin:y,pathname:w}=location;let h=y+w+"#/";if(!s&&!p)return;const v=l.stringify(function(t){for(var n=1;n-1?(t="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",e=this.androidUrl):(t="https://www.pgyer.com/dzRRNN",e=this.androidUrl),c().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?t&&(window.location.href=t):c().huawei||/(Android)/i.test(navigator.userAgent)?window.location.href=e:d("请用手机或移动设备打开")}},render(){return p("div",{class:[y.downloadContainer]},[p(h,{src:g},null),p("div",{class:y.buttonGroup},[p(f,{round:!0,size:"large",class:y.btn,onClick:this.onDownload},null)]),this.wxStatus&&p("div",{class:y.wxpopup,onClick:()=>{this.wxStatus=!1}},[p("img",{src:w,alt:""},null)])])}}))}}}))}();