!function(){function t(t,n,e,i,r,a,o){try{var s=t[a](o),c=s.value}catch(d){return void e(d)}s.done?n(c):Promise.resolve(c).then(i,r)}var n=document.createElement("style");n.innerHTML="._inviteSuccess_101db_1{min-height:100vh;background-color:#fff;text-align:center}._inviteSuccess_101db_1 ._backIcon_101db_6{position:fixed;top:.53333rem;font-size:.58667rem;color:#333323;left:.22667rem;border-radius:50%;padding:.16rem}._inviteSuccess_101db_1 img{padding-top:2.66667rem;width:7.28rem}._inviteSuccess_101db_1 ._h2_101db_19{font-size:.53333rem;font-weight:500;color:#333;line-height:.74667rem}._inviteSuccess_101db_1 ._tips_101db_25{padding-top:.26667rem;font-size:.32rem;color:#333;line-height:.45333rem}._inviteSuccess_101db_1 ._btnDownload_101db_31{margin-top:.93333rem;padding:.37333rem 1.2rem}._inviteSuccess_101db_1 ._wxpopup_101db_35{width:100%;height:100vh;position:absolute;top:0;left:0;background:rgba(0,0,0,.5)}._inviteSuccess_101db_1 ._wxpopup_101db_35 img{width:88%;margin:0 6%}\n",document.head.appendChild(n),System.register(["./index-legacy.2562bdba.js","./wx_bg-legacy.bbf15ca1.js"],(function(n){"use strict";var e,i,r,a,o,s,c,d,u;return{setters:[function(t){e=t.d,i=t.n,r=t.x,a=t.f,o=t.j,s=t.M,c=t.z,d=t.B},function(t){u=t.w}],execute:function(){var _="_inviteSuccess_101db_1",p="_backIcon_101db_6",l="_h2_101db_19",h="_tips_101db_25",f="_btnDownload_101db_31",v="_wxpopup_101db_35";n("default",e({name:"inviteSuccess",data:function(){return{wxStatus:!1,androidUrl:"",navBarHeight:0}},mounted:function(){var n,e=this;return(n=regeneratorRuntime.mark((function t(){var n,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i({api:"getNavHeight"},(function(t){var n=t.content,i=n.dpi||2;if(n.navHeight){var r=n.navHeight/i;e.navBarHeight=r}})),t.prev=1,t.next=4,r.get("/api-student/open/appVersionInfo/queryLatestByPlatform",{params:{platform:"android-student",status:"history"}});case 4:n=t.sent,a=n.data,e.androidUrl=a.downloadUrl,t.next=11;break;case 9:t.prev=9,t.t0=t.catch(1);case 11:case"end":return t.stop()}}),t,null,[[1,9]])})),function(){var e=this,i=arguments;return new Promise((function(r,a){var o=n.apply(e,i);function s(n){t(o,r,a,s,c,"next",n)}function c(n){t(o,r,a,s,c,"throw",n)}s(void 0)}))})()},methods:{onBack:function(){a().isApp?i({api:"goBack"}):this.$router.back()},onDownload:function(){a().weixin?this.wxStatus=!0:/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href="https://itunes.apple.com/cn/app/id1626971695?mt=8":/(Android)/i.test(navigator.userAgent)?window.location.href=this.androidUrl:this.$toast("请用手机或移动设备打开")}},render:function(){var t=this;return o("div",{class:_},[a().isApp&&o(s,{name:"arrow-left",class:p,style:{top:"calc(".concat(this.navBarHeight,"px + 12px)")},onClick:this.onBack},null),o("img",{src:"./assets/success_tips.737b42b1.png"},null),o("p",{class:l},[c("恭喜你注册成功")]),o("p",{class:h},[c("下载酷乐秀APP开启器乐学习之旅！")]),!a().isApp&&o("div",{class:"btnGroup"},[o(d,{type:"primary",round:!0,class:f,onClick:this.onDownload},{default:function(){return[c("下载酷乐秀")]}})]),this.wxStatus&&o("div",{class:v,onClick:function(){t.wxStatus=!1}},[o("img",{src:u,alt:""},null)])])}}))}}}))}();
