!(function () { var t = ['pn', 'url', 'action', 'pageTag'] function e(t, e) { var n = Object.keys(t) if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(t) e && (r = r.filter(function (e) { return Object.getOwnPropertyDescriptor(t, e).enumerable })), n.push.apply(n, r) } return n } function n(t, e, n) { return ( e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (t[e] = n), t ) } function r(t, e) { if (null == t) return {} var n, r, i = (function (t, e) { if (null == t) return {} var n, r, i = {}, a = Object.keys(t) for (r = 0; r < a.length; r++) (n = a[r]), e.indexOf(n) >= 0 || (i[n] = t[n]) return i })(t, e) if (Object.getOwnPropertySymbols) { var a = Object.getOwnPropertySymbols(t) for (r = 0; r < a.length; r++) (n = a[r]), e.indexOf(n) >= 0 || (Object.prototype.propertyIsEnumerable.call(t, n) && (i[n] = t[n])) } return i } System.register( [ './index-legacy.37a26c18.js', './manage-center-legacy.ba5a75a1.js', './index-legacy.c75fe8a2.js', './index-legacy.d552d569.js' ], function (i) { 'use strict' var a, o, s, c, p, u, l, h, g, y, d, f return { setters: [ function (t) { ;(a = t.d), (o = t.o), (s = t.e), (c = t.c), (p = t.B) }, function (t) { ;(u = t.s), (l = t.t), (h = t.m), (g = t.a), (y = t.w) }, function (t) { d = t.q }, function (t) { f = t.I } ], execute: function () { i( 'default', a({ name: 'download-transfer', data: function () { return { wxStatus: !1, type: 'student', buttonText: '下载管乐团学员端' } }, mounted: function () { var i = this.$route.query, a = i.pn, s = i.url, c = i.action, p = i.pageTag, u = r(i, t), l = location, h = l.origin, g = l.pathname, y = 'BandMusicTeam://linkUrl=', f = 'orchestrastudent://html:8888/SplashActivity?url=' 's' === a ? ((this.type = 'student'), (this.buttonText = '下载管乐团学员端'), (g = '/orchestra-student/'), (y = 'BandMusicTeam://linkUrl='), (f = 'orchestrastudent://html:8888/SplashActivity?url=')) : 't' === a ? ((this.type = 'teacher'), (this.buttonText = '下载管乐团伴学端'), (g = '/orchestra-teacher/'), (y = 'BandMusicTeamTeacher://linkUrl='), (f = 'orchestrateacher://html:8888/SplashActivity?url=')) : 'm' === a && ((this.type = 'manage'), (this.buttonText = '下载管乐团管理端'), (g = '/orchestra-school/'), (y = 'BandMusicTeamManager://linkUrl='), (f = 'orchestramanager://html:8888/SplashActivity?url=')) var w = h + g + '#/' if (s || c) { var m = d.stringify( (function (t) { for (var r = 1; r < arguments.length; r++) { var i = null != arguments[r] ? arguments[r] : {} r % 2 ? e(Object(i), !0).forEach(function (e) { n(t, e, i[e]) }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : e(Object(i)).forEach(function (e) { Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(i, e)) }) } return t })({}, u) ), b = { url: (w += s + (m ? '?' + m : '')), action: c || 'h5', pageTag: p || 1 }, O = encodeURIComponent(JSON.stringify(b)) console.log(b, 'iosStr'), /(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent) ? (window.location.href = y + O) : /(Android)/i.test(navigator.userAgent) ? (window.location.href = f + O) : o('请用手机或移动设备打开') } }, methods: { onDownload: function () { if (s().weixin) this.wxStatus = !0 else { var t = '', e = '' location.origin.indexOf('online.lexiaoya.cn') > -1 ? 'student' === this.type ? ((t = 'https://apps.apple.com/cn/app/%E7%AE%A1%E4%B9%90%E5%9B%A2/id1671474346?uo=4 '), (e = 'https://appstore.ks3-cn-beijing.ksyuncs.com/gyt-student.apk')) : 'teacher' === this.type ? ((t = 'https://apps.apple.com/cn/app/%E7%AE%A1%E4%B9%90%E5%9B%A2%E4%BC%B4%E5%AD%A6%E7%AB%AF/id1670584741?uo=4'), (e = 'https://appstore.ks3-cn-beijing.ksyuncs.com/gyt-teacher.apk')) : 'manage' === this.type && ((t = 'https://apps.apple.com/cn/app/%E7%AE%A1%E4%B9%90%E5%9B%A2%E7%AE%A1%E7%90%86%E7%AB%AF/id1671473981?uo=4'), (e = 'https://appstore.ks3-cn-beijing.ksyuncs.com/gyt-manager.apk')) : 'student' === this.type ? ((t = 'https://www.pgyer.com/2Wg2'), (e = 'https://www.pgyer.com/9NBz')) : 'teacher' === this.type ? ((t = 'https://www.pgyer.com/v5yB'), (e = 'https://www.pgyer.com/BQeE')) : 'manage' === this.type && ((t = 'https://www.pgyer.com/DGrR'), (e = 'https://www.pgyer.com/TEWv')), s().ios || /(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent) ? t && (window.location.href = t) : /(Android)/i.test(navigator.userAgent) ? (window.location.href = e) : o('请用手机或移动设备打开') } } }, render: function () { var t = this return c('div', { class: [g.downloadContainer] }, [ 'teacher' !== this.type && 'manage' !== this.type && c(f, { src: u }, null), 'teacher' === this.type && c(f, { src: l }, null), 'manage' === this.type && c(f, { src: h }, null), c('div', { class: g.buttonGroup }, [ c( p, { round: !0, size: 'large', color: '#FF8057', class: g.btn, onClick: this.onDownload }, { default: function () { return [t.buttonText] } } ) ]), this.wxStatus && c( 'div', { class: g.wxpopup, onClick: function () { t.wxStatus = !1 } }, [c('img', { src: y, alt: '' }, null)] ) ]) } }) ) } } } ) })()