@xysfe/actui
Version:
A fantastic mobile ui lib implement by Vue
1 lines • 31.3 kB
JavaScript
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/utils/helpers.js","@xysfe/actui/es/assets/utils/post.js"],r):"object"==typeof exports?exports.TransferPay=r(require("@xysfe/actui/es/assets/utils/helpers.js"),require("@xysfe/actui/es/assets/utils/post.js")):t.TransferPay=r(t["@xysfe/actui/es/assets/utils/helpers.js"],t["@xysfe/actui/es/assets/utils/post.js"])}("undefined"!=typeof self?self:this,function(t,r){return function(t){function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var e={};return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},r.p="../es",r(r.s=2383)}({0:function(t,r){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},1:function(t,r,e){var n=e(31)("wks"),o=e(24),i=e(0).Symbol,c="function"==typeof i;(t.exports=function(t){return n[t]||(n[t]=c&&i[t]||(c?i:o)("Symbol."+t))}).store=n},10:function(t,r,e){var n=e(4),o=e(41),i=e(38),c=Object.defineProperty;r.f=e(3)?Object.defineProperty:function(t,r,e){if(n(t),r=i(r,!0),n(e),o)try{return c(t,r,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[r]=e.value),t}},100:function(t,r,e){"use strict";var n=e(9),o=e(2),i=e(0),c=e(64),u=e(67);n(n.P+n.R,"Promise",{finally:function(t){var r=c(this,o.Promise||i.Promise),e="function"==typeof t;return this.then(e?function(e){return u(r,t()).then(function(){return e})}:t,e?function(e){return u(r,t()).then(function(){throw e})}:t)}})},101:function(t,r,e){"use strict";var n=e(9),o=e(44),i=e(66);n(n.S,"Promise",{try:function(t){var r=o.f(this),e=i(t);return(e.e?r.reject:r.resolve)(e.v),r.promise}})},106:function(t,e){t.exports=r},11:function(t,r){t.exports={}},12:function(t,r){t.exports=function(t){try{return!!t()}catch(t){return!0}}},13:function(t,r,e){var n=e(34),o=e(15);t.exports=function(t){return n(o(t))}},14:function(t,r){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},15:function(t,r){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},16:function(t,r){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},17:function(t,r,e){var n=e(19);t.exports=function(t,r,e){if(n(t),void 0===r)return t;switch(e){case 1:return function(e){return t.call(r,e)};case 2:return function(e,n){return t.call(r,e,n)};case 3:return function(e,n,o){return t.call(r,e,n,o)}}return function(){return t.apply(r,arguments)}}},18:function(t,r){t.exports=!0},19:function(t,r){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},2:function(t,r){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},20:function(t,r,e){var n=e(31)("keys"),o=e(24);t.exports=function(t){return n[t]||(n[t]=o(t))}},22:function(t,r,e){var n=e(6),o=e(0).document,i=n(o)&&n(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},23:function(t,r){t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},2383:function(t,r,e){"use strict";function n(){return new h.a(function(t){if(!v.ua.isWx||!window.wx||!window.wx.miniProgram)return void t(!1);window.wx.miniProgram.getEnv(function(r){t(!0===r.miniprogram)})})}Object.defineProperty(r,"__esModule",{value:!0});var o=e(262),i=e.n(o),c=e(263),u=e.n(c),a=e(92),s=e.n(a),f=e(630),l=e.n(f),p=e(71),h=e.n(p),v=e(39),d=(e.n(v),e(106)),y=e.n(d),m=function(){function t(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l()(this,t),this.isWechatH5=null,this.messages=s()({success:"收款成功",cancel:"取消收款",failed:"转账失败"},r.messages)}return t.prototype.initEnvironment=function(){function t(){return r.apply(this,arguments)}var r=u()(i.a.mark(function t(){var r;return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(null===this.isWechatH5){t.next=2;break}return t.abrupt("return",this.isWechatH5);case 2:return t.next=4,n();case 4:return r=t.sent,this.isWechatH5=v.ua.isWx&&!r,t.abrupt("return",this.isWechatH5);case 7:case"end":return t.stop()}},t,this)}));return t}(),t.prototype.formatError=function(t,r){var e=t&&t.errMsg||t&&t.message||(t?String(t):"操作失败"),n={errMsg:e};return void 0!==r&&(n.ret=r),n},t.prototype.requestTransfer=function(){function t(t){return r.apply(this,arguments)}var r=u()(i.a.mark(function t(r){return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.initEnvironment();case 2:if(!this.isWechatH5){t.next=6;break}return t.abrupt("return",this.handleWechatH5Transfer(r));case 6:return t.abrupt("return",this.handleMiniProgramJumpTransfer(r));case 7:case"end":return t.stop()}},t,this)}));return t}(),t.prototype.handleWechatH5Transfer=function(){function t(t){return r.apply(this,arguments)}var r=u()(i.a.mark(function t(r){var e,n=this;return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(window.wx){t.next=2;break}return t.abrupt("return",h.a.reject(this.formatError({errMsg:"window.wx不存在"})));case 2:return t.prev=2,t.next=5,this.fetchTransferParams(r.apiUrl,r.requestParams);case 5:return e=t.sent,t.abrupt("return",new h.a(function(t,r){window.wx.checkJsApi({jsApiList:["requestMerchantTransfer"],success:function(o){o.checkResult.requestMerchantTransfer?window.WeixinJSBridge&&window.WeixinJSBridge.invoke("requestMerchantTransfer",{mchId:e.mchId,appId:e.appId,package:e.packageInfo},function(e){console.log("requestMerchantTransfer res:",e),"requestMerchantTransfer:ok"===e.err_msg?t({errMsg:n.messages.success}):r("requestMerchantTransfer:cancel"===e.err_msg?n.formatError({errMsg:n.messages.cancel}):n.formatError({errMsg:n.messages.failed}))}):r(n.formatError({errMsg:"你的微信版本过低,请更新至最新版本。"}))},fail:function(){r(n.formatError({errMsg:"checkJsApi failed"}))}})}));case 9:if(t.prev=9,t.t0=t.catch(2),console.error("handleWechatH5Transfer-----:",t.t0),!t.t0.errMsg){t.next=14;break}return t.abrupt("return",h.a.reject(t.t0));case 14:return t.abrupt("return",h.a.reject(this.formatError(t.t0)));case 15:case"end":return t.stop()}},t,this,[[2,9]])}));return t}(),t.prototype.handleMiniProgramJumpTransfer=function(t){if(!t.miniProgramUrl)return h.a.reject(this.formatError({errMsg:"小程序跳转链接未提供"}));try{return window.location.href=t.miniProgramUrl,h.a.resolve()}catch(t){return console.error("MiniProgram transfer failed:",t),h.a.reject(this.formatError(t,void 0))}},t.prototype.fetchTransferParams=function(){function t(){return r.apply(this,arguments)}var r=u()(i.a.mark(function t(){var r,e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r=n||"/pay/getReceivePaymentData",t.abrupt("return",y()(r,o).then(function(t){var r=t.data||{},n=r.ret,o=r.data,i=r.errmsg;if(0===n){if(!o.mchId||!o.appId||!o.packageInfo)throw e.formatError({errMsg:"接口返回的转账参数不完整"},n);return o}throw e.formatError({errMsg:i||"获取转账参数失败"},n)}).catch(function(t){if(console.error("接口获取转账参数失败:",t),void 0!==t.ret)throw t;throw e.formatError(t,void 0)}));case 2:case"end":return t.stop()}},t,this)}));return t}(),t}();r.default=m},24:function(t,r){var e=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+n).toString(36))}},262:function(t,r,e){t.exports=e(265)},263:function(t,r,e){"use strict";r.__esModule=!0;var n=e(71),o=function(t){return t&&t.__esModule?t:{default:t}}(n);r.default=function(t){return function(){var r=t.apply(this,arguments);return new o.default(function(t,e){function n(i,c){try{var u=r[i](c),a=u.value}catch(t){return void e(t)}if(!u.done)return o.default.resolve(a).then(function(t){n("next",t)},function(t){n("throw",t)});t(a)}return n("next")})}}},265:function(t,r,e){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,i=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,t.exports=e(266),o)n.regeneratorRuntime=i;else try{delete n.regeneratorRuntime}catch(t){n.regeneratorRuntime=void 0}},266:function(t,r){!function(r){"use strict";function e(t,r,e,n){var i=r&&r.prototype instanceof o?r:o,c=Object.create(i.prototype),u=new h(n||[]);return c._invoke=s(t,e,u),c}function n(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}function o(){}function i(){}function c(){}function u(t){["next","throw","return"].forEach(function(r){t[r]=function(t){return this._invoke(r,t)}})}function a(t){function r(e,o,i,c){var u=n(t[e],t,o);if("throw"!==u.type){var a=u.arg,s=a.value;return s&&"object"==typeof s&&g.call(s,"__await")?Promise.resolve(s.__await).then(function(t){r("next",t,i,c)},function(t){r("throw",t,i,c)}):Promise.resolve(s).then(function(t){a.value=t,i(a)},c)}c(u.arg)}function e(t,e){function n(){return new Promise(function(n,o){r(t,e,n,o)})}return o=o?o.then(n,n):n()}var o;this._invoke=e}function s(t,r,e){var o=E;return function(i,c){if(o===L)throw new Error("Generator is already running");if(o===M){if("throw"===i)throw c;return d()}for(e.method=i,e.arg=c;;){var u=e.delegate;if(u){var a=f(u,e);if(a){if(a===S)continue;return a}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(o===E)throw o=M,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);o=L;var s=n(t,r,e);if("normal"===s.type){if(o=e.done?M:O,s.arg===S)continue;return{value:s.arg,done:e.done}}"throw"===s.type&&(o=M,e.method="throw",e.arg=s.arg)}}}function f(t,r){var e=t.iterator[r.method];if(e===y){if(r.delegate=null,"throw"===r.method){if(t.iterator.return&&(r.method="return",r.arg=y,f(t,r),"throw"===r.method))return S;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return S}var o=n(e,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,S;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=y),r.delegate=null,S):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,S)}function l(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function p(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function h(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(l,this),this.reset(!0)}function v(t){if(t){var r=t[w];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,n=function r(){for(;++e<t.length;)if(g.call(t,e))return r.value=t[e],r.done=!1,r;return r.value=y,r.done=!0,r};return n.next=n}}return{next:d}}function d(){return{value:y,done:!0}}var y,m=Object.prototype,g=m.hasOwnProperty,x="function"==typeof Symbol?Symbol:{},w=x.iterator||"@@iterator",_=x.asyncIterator||"@@asyncIterator",b=x.toStringTag||"@@toStringTag",j="object"==typeof t,P=r.regeneratorRuntime;if(P)return void(j&&(t.exports=P));P=r.regeneratorRuntime=j?t.exports:{},P.wrap=e;var E="suspendedStart",O="suspendedYield",L="executing",M="completed",S={},T={};T[w]=function(){return this};var k=Object.getPrototypeOf,R=k&&k(k(v([])));R&&R!==m&&g.call(R,w)&&(T=R);var A=c.prototype=o.prototype=Object.create(T);i.prototype=A.constructor=c,c.constructor=i,c[b]=i.displayName="GeneratorFunction",P.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===i||"GeneratorFunction"===(r.displayName||r.name))},P.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,c):(t.__proto__=c,b in t||(t[b]="GeneratorFunction")),t.prototype=Object.create(A),t},P.awrap=function(t){return{__await:t}},u(a.prototype),a.prototype[_]=function(){return this},P.AsyncIterator=a,P.async=function(t,r,n,o){var i=new a(e(t,r,n,o));return P.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},u(A),A[b]="Generator",A[w]=function(){return this},A.toString=function(){return"[object Generator]"},P.keys=function(t){var r=[];for(var e in t)r.push(e);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},P.values=v,h.prototype={constructor:h,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=y,this.done=!1,this.delegate=null,this.method="next",this.arg=y,this.tryEntries.forEach(p),!t)for(var r in this)"t"===r.charAt(0)&&g.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=y)},stop:function(){this.done=!0;var t=this.tryEntries[0],r=t.completion;if("throw"===r.type)throw r.arg;return this.rval},dispatchException:function(t){function r(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=y),!!n}if(this.done)throw t;for(var e=this,n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n],i=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=g.call(o,"catchLoc"),u=g.call(o,"finallyLoc");if(c&&u){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&g.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=r,o?(this.method="next",this.next=o.finallyLoc,S):this.complete(i)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),S},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),p(e),S}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;p(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:v(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=y),S}}}(function(){return this}()||Function("return this")())},27:function(t,r,e){var n=e(10).f,o=e(8),i=e(1)("toStringTag");t.exports=function(t,r,e){t&&!o(t=e?t:t.prototype,i)&&n(t,i,{configurable:!0,value:r})}},28:function(t,r,e){var n=e(42),o=e(32);t.exports=Object.keys||function(t){return n(t,o)}},3:function(t,r,e){t.exports=!e(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},31:function(t,r,e){var n=e(2),o=e(0),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,r){return i[t]||(i[t]=void 0!==r?r:{})})("versions",[]).push({version:n.version,mode:e(18)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},32:function(t,r){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},33:function(t,r,e){var n=e(15);t.exports=function(t){return Object(n(t))}},34:function(t,r,e){var n=e(14);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},35:function(t,r,e){var n=e(16),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},36:function(t,r,e){"use strict";var n=e(18),o=e(9),i=e(54),c=e(5),u=e(11),a=e(60),s=e(27),f=e(62),l=e(1)("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,r,e,v,d,y,m){a(e,r,v);var g,x,w,_=function(t){if(!p&&t in E)return E[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},b=r+" Iterator",j="values"==d,P=!1,E=t.prototype,O=E[l]||E["@@iterator"]||d&&E[d],L=O||_(d),M=d?j?_("entries"):L:void 0,S="Array"==r?E.entries||O:O;if(S&&(w=f(S.call(new t)))!==Object.prototype&&w.next&&(s(w,b,!0),n||"function"==typeof w[l]||c(w,l,h)),j&&O&&"values"!==O.name&&(P=!0,L=function(){return O.call(this)}),n&&!m||!p&&!P&&E[l]||c(E,l,L),u[r]=L,u[b]=h,d)if(g={values:j?L:_("values"),keys:y?L:_("keys"),entries:M},m)for(x in g)x in E||i(E,x,g[x]);else o(o.P+o.F*(p||P),r,g);return g}},38:function(t,r,e){var n=e(6);t.exports=function(t,r){if(!n(t))return t;var e,o;if(r&&"function"==typeof(e=t.toString)&&!n(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!n(o=e.call(t)))return o;if(!r&&"function"==typeof(e=t.toString)&&!n(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},39:function(r,e){r.exports=t},4:function(t,r,e){var n=e(6);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},41:function(t,r,e){t.exports=!e(3)&&!e(12)(function(){return 7!=Object.defineProperty(e(22)("div"),"a",{get:function(){return 7}}).a})},42:function(t,r,e){var n=e(8),o=e(13),i=e(46)(!1),c=e(20)("IE_PROTO");t.exports=function(t,r){var e,u=o(t),a=0,s=[];for(e in u)e!=c&&n(u,e)&&s.push(e);for(;r.length>a;)n(u,e=r[a++])&&(~i(s,e)||s.push(e));return s}},43:function(t,r,e){var n=e(0).document;t.exports=n&&n.documentElement},44:function(t,r,e){"use strict";function n(t){var r,e;this.promise=new t(function(t,n){if(void 0!==r||void 0!==e)throw TypeError("Bad Promise constructor");r=t,e=n}),this.resolve=o(r),this.reject=o(e)}var o=e(19);t.exports.f=function(t){return new n(t)}},45:function(t,r,e){var n=e(14),o=e(1)("toStringTag"),i="Arguments"==n(function(){return arguments}()),c=function(t,r){try{return t[r]}catch(t){}};t.exports=function(t){var r,e,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=c(r=Object(t),o))?e:i?n(r):"Object"==(u=n(r))&&"function"==typeof r.callee?"Arguments":u}},46:function(t,r,e){var n=e(13),o=e(35),i=e(47);t.exports=function(t){return function(r,e,c){var u,a=n(r),s=o(a.length),f=i(c,s);if(t&&e!=e){for(;s>f;)if((u=a[f++])!=u)return!0}else for(;s>f;f++)if((t||f in a)&&a[f]===e)return t||f||0;return!t&&-1}}},47:function(t,r,e){var n=e(16),o=Math.max,i=Math.min;t.exports=function(t,r){return t=n(t),t<0?o(t+r,0):i(t,r)}},48:function(t,r,e){"use strict";var n=e(59)(!0);e(36)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,r=this._t,e=this._i;return e>=r.length?{value:void 0,done:!0}:(t=n(r,e),this._i+=t.length,{value:t,done:!1})})},5:function(t,r,e){var n=e(10),o=e(23);t.exports=e(3)?function(t,r,e){return n.f(t,r,o(1,e))}:function(t,r,e){return t[r]=e,t}},50:function(t,r,e){e(68);for(var n=e(0),o=e(5),i=e(11),c=e(1)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),a=0;a<u.length;a++){var s=u[a],f=n[s],l=f&&f.prototype;l&&!l[c]&&o(l,c,s),i[s]=i.Array}},51:function(t,r){r.f={}.propertyIsEnumerable},52:function(t,r,e){var n=e(4),o=e(61),i=e(32),c=e(20)("IE_PROTO"),u=function(){},a=function(){var t,r=e(22)("iframe"),n=i.length;for(r.style.display="none",e(43).appendChild(r),r.src="javascript:",t=r.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),a=t.F;n--;)delete a.prototype[i[n]];return a()};t.exports=Object.create||function(t,r){var e;return null!==t?(u.prototype=n(t),e=new u,u.prototype=null,e[c]=t):e=a(),void 0===r?e:o(e,r)}},54:function(t,r,e){t.exports=e(5)},56:function(t,r,e){var n=e(45),o=e(1)("iterator"),i=e(11);t.exports=e(2).getIteratorMethod=function(t){if(void 0!=t)return t[o]||t["@@iterator"]||i[n(t)]}},57:function(t,r){r.f=Object.getOwnPropertySymbols},59:function(t,r,e){var n=e(16),o=e(15);t.exports=function(t){return function(r,e){var i,c,u=String(o(r)),a=n(e),s=u.length;return a<0||a>=s?t?"":void 0:(i=u.charCodeAt(a),i<55296||i>56319||a+1===s||(c=u.charCodeAt(a+1))<56320||c>57343?t?u.charAt(a):i:t?u.slice(a,a+2):c-56320+(i-55296<<10)+65536)}}},6:function(t,r){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},60:function(t,r,e){"use strict";var n=e(52),o=e(23),i=e(27),c={};e(5)(c,e(1)("iterator"),function(){return this}),t.exports=function(t,r,e){t.prototype=n(c,{next:o(1,e)}),i(t,r+" Iterator")}},61:function(t,r,e){var n=e(10),o=e(4),i=e(28);t.exports=e(3)?Object.defineProperties:function(t,r){o(t);for(var e,c=i(r),u=c.length,a=0;u>a;)n.f(t,e=c[a++],r[e]);return t}},62:function(t,r,e){var n=e(8),o=e(33),i=e(20)("IE_PROTO"),c=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},63:function(t,r){t.exports=function(t,r){return{value:r,done:!!t}}},630:function(t,r,e){"use strict";r.__esModule=!0,r.default=function(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}},64:function(t,r,e){var n=e(4),o=e(19),i=e(1)("species");t.exports=function(t,r){var e,c=n(t).constructor;return void 0===c||void 0==(e=n(c)[i])?r:o(e)}},65:function(t,r,e){var n,o,i,c=e(17),u=e(97),a=e(43),s=e(22),f=e(0),l=f.process,p=f.setImmediate,h=f.clearImmediate,v=f.MessageChannel,d=f.Dispatch,y=0,m={},g=function(){var t=+this;if(m.hasOwnProperty(t)){var r=m[t];delete m[t],r()}},x=function(t){g.call(t.data)};p&&h||(p=function(t){for(var r=[],e=1;arguments.length>e;)r.push(arguments[e++]);return m[++y]=function(){u("function"==typeof t?t:Function(t),r)},n(y),y},h=function(t){delete m[t]},"process"==e(14)(l)?n=function(t){l.nextTick(c(g,t,1))}:d&&d.now?n=function(t){d.now(c(g,t,1))}:v?(o=new v,i=o.port2,o.port1.onmessage=x,n=c(i.postMessage,i,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(n=function(t){f.postMessage(t+"","*")},f.addEventListener("message",x,!1)):n="onreadystatechange"in s("script")?function(t){a.appendChild(s("script")).onreadystatechange=function(){a.removeChild(this),g.call(t)}}:function(t){setTimeout(c(g,t,1),0)}),t.exports={set:p,clear:h}},66:function(t,r){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},67:function(t,r,e){var n=e(4),o=e(6),i=e(44);t.exports=function(t,r){if(n(t),o(r)&&r.constructor===t)return r;var e=i.f(t);return(0,e.resolve)(r),e.promise}},68:function(t,r,e){"use strict";var n=e(69),o=e(63),i=e(11),c=e(13);t.exports=e(36)(Array,"Array",function(t,r){this._t=c(t),this._i=0,this._k=r},function(){var t=this._t,r=this._k,e=this._i++;return!t||e>=t.length?(this._t=void 0,o(1)):"keys"==r?o(0,e):"values"==r?o(0,t[e]):o(0,[e,t[e]])},"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},69:function(t,r){t.exports=function(){}},70:function(t,r,e){t.exports={default:e(79),__esModule:!0}},71:function(t,r,e){t.exports={default:e(95),__esModule:!0}},73:function(t,r){},79:function(t,r,e){e(80),t.exports=e(2).Object.assign},8:function(t,r){var e={}.hasOwnProperty;t.exports=function(t,r){return e.call(t,r)}},80:function(t,r,e){var n=e(9);n(n.S+n.F,"Object",{assign:e(81)})},81:function(t,r,e){"use strict";var n=e(3),o=e(28),i=e(57),c=e(51),u=e(33),a=e(34),s=Object.assign;t.exports=!s||e(12)(function(){var t={},r={},e=Symbol(),n="abcdefghijklmnopqrst";return t[e]=7,n.split("").forEach(function(t){r[t]=t}),7!=s({},t)[e]||Object.keys(s({},r)).join("")!=n})?function(t,r){for(var e=u(t),s=arguments.length,f=1,l=i.f,p=c.f;s>f;)for(var h,v=a(arguments[f++]),d=l?o(v).concat(l(v)):o(v),y=d.length,m=0;y>m;)h=d[m++],n&&!p.call(v,h)||(e[h]=v[h]);return e}:s},82:function(t,r,e){var n=e(17),o=e(83),i=e(84),c=e(4),u=e(35),a=e(56),s={},f={},r=t.exports=function(t,r,e,l,p){var h,v,d,y,m=p?function(){return t}:a(t),g=n(e,l,r?2:1),x=0;if("function"!=typeof m)throw TypeError(t+" is not iterable!");if(i(m)){for(h=u(t.length);h>x;x++)if((y=r?g(c(v=t[x])[0],v[1]):g(t[x]))===s||y===f)return y}else for(d=m.call(t);!(v=d.next()).done;)if((y=o(d,g,v.value,r))===s||y===f)return y};r.BREAK=s,r.RETURN=f},83:function(t,r,e){var n=e(4);t.exports=function(t,r,e,o){try{return o?r(n(e)[0],e[1]):r(e)}catch(r){var i=t.return;throw void 0!==i&&n(i.call(t)),r}}},84:function(t,r,e){var n=e(11),o=e(1)("iterator"),i=Array.prototype;t.exports=function(t){return void 0!==t&&(n.Array===t||i[o]===t)}},85:function(t,r){t.exports=function(t,r,e,n){if(!(t instanceof r)||void 0!==n&&n in t)throw TypeError(e+": incorrect invocation!");return t}},86:function(t,r,e){var n=e(5);t.exports=function(t,r,e){for(var o in r)e&&t[o]?t[o]=r[o]:n(t,o,r[o]);return t}},87:function(t,r,e){var n=e(1)("iterator"),o=!1;try{var i=[7][n]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(t){}t.exports=function(t,r){if(!r&&!o)return!1;var e=!1;try{var i=[7],c=i[n]();c.next=function(){return{done:e=!0}},i[n]=function(){return c},t(i)}catch(t){}return e}},9:function(t,r,e){var n=e(0),o=e(2),i=e(17),c=e(5),u=e(8),a=function(t,r,e){var s,f,l,p=t&a.F,h=t&a.G,v=t&a.S,d=t&a.P,y=t&a.B,m=t&a.W,g=h?o:o[r]||(o[r]={}),x=g.prototype,w=h?n:v?n[r]:(n[r]||{}).prototype;h&&(e=r);for(s in e)(f=!p&&w&&void 0!==w[s])&&u(g,s)||(l=f?w[s]:e[s],g[s]=h&&"function"!=typeof w[s]?e[s]:y&&f?i(l,n):m&&w[s]==l?function(t){var r=function(r,e,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,e)}return new t(r,e,n)}return t.apply(this,arguments)};return r.prototype=t.prototype,r}(l):d&&"function"==typeof l?i(Function.call,l):l,d&&((g.virtual||(g.virtual={}))[s]=l,t&a.R&&x&&!x[s]&&c(x,s,l)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},91:function(t,r,e){"use strict";var n=e(0),o=e(2),i=e(10),c=e(3),u=e(1)("species");t.exports=function(t){var r="function"==typeof o[t]?o[t]:n[t];c&&r&&!r[u]&&i.f(r,u,{configurable:!0,get:function(){return this}})}},92:function(t,r,e){"use strict";r.__esModule=!0;var n=e(70),o=function(t){return t&&t.__esModule?t:{default:t}}(n);r.default=o.default||function(t){for(var r=1;r<arguments.length;r++){var e=arguments[r];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}return t}},95:function(t,r,e){e(73),e(48),e(50),e(96),e(100),e(101),t.exports=e(2).Promise},96:function(t,r,e){"use strict";var n,o,i,c,u=e(18),a=e(0),s=e(17),f=e(45),l=e(9),p=e(6),h=e(19),v=e(85),d=e(82),y=e(64),m=e(65).set,g=e(98)(),x=e(44),w=e(66),_=e(99),b=e(67),j=a.TypeError,P=a.process,E=P&&P.versions,O=E&&E.v8||"",L=a.Promise,M="process"==f(P),S=function(){},T=o=x.f,k=!!function(){try{var t=L.resolve(1),r=(t.constructor={})[e(1)("species")]=function(t){t(S,S)};return(M||"function"==typeof PromiseRejectionEvent)&&t.then(S)instanceof r&&0!==O.indexOf("6.6")&&-1===_.indexOf("Chrome/66")}catch(t){}}(),R=function(t){var r;return!(!p(t)||"function"!=typeof(r=t.then))&&r},A=function(t,r){if(!t._n){t._n=!0;var e=t._c;g(function(){for(var n=t._v,o=1==t._s,i=0;e.length>i;)!function(r){var e,i,c,u=o?r.ok:r.fail,a=r.resolve,s=r.reject,f=r.domain;try{u?(o||(2==t._h&&N(t),t._h=1),!0===u?e=n:(f&&f.enter(),e=u(n),f&&(f.exit(),c=!0)),e===r.promise?s(j("Promise-chain cycle")):(i=R(e))?i.call(e,a,s):a(e)):s(n)}catch(t){f&&!c&&f.exit(),s(t)}}(e[i++]);t._c=[],t._n=!1,r&&!t._h&&I(t)})}},I=function(t){m.call(a,function(){var r,e,n,o=t._v,i=F(t);if(i&&(r=w(function(){M?P.emit("unhandledRejection",o,t):(e=a.onunhandledrejection)?e({promise:t,reason:o}):(n=a.console)&&n.error&&n.error("Unhandled promise rejection",o)}),t._h=M||F(t)?2:1),t._a=void 0,i&&r.e)throw r.v})},F=function(t){return 1!==t._h&&0===(t._a||t._c).length},N=function(t){m.call(a,function(){var r;M?P.emit("rejectionHandled",t):(r=a.onrejectionhandled)&&r({promise:t,reason:t._v})})},W=function(t){var r=this;r._d||(r._d=!0,r=r._w||r,r._v=t,r._s=2,r._a||(r._a=r._c.slice()),A(r,!0))},C=function(t){var r,e=this;if(!e._d){e._d=!0,e=e._w||e;try{if(e===t)throw j("Promise can't be resolved itself");(r=R(t))?g(function(){var n={_w:e,_d:!1};try{r.call(t,s(C,n,1),s(W,n,1))}catch(t){W.call(n,t)}}):(e._v=t,e._s=1,A(e,!1))}catch(t){W.call({_w:e,_d:!1},t)}}};k||(L=function(t){v(this,L,"Promise","_h"),h(t),n.call(this);try{t(s(C,this,1),s(W,this,1))}catch(t){W.call(this,t)}},n=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},n.prototype=e(86)(L.prototype,{then:function(t,r){var e=T(y(this,L));return e.ok="function"!=typeof t||t,e.fail="function"==typeof r&&r,e.domain=M?P.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&A(this,!1),e.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new n;this.promise=t,this.resolve=s(C,t,1),this.reject=s(W,t,1)},x.f=T=function(t){return t===L||t===c?new i(t):o(t)}),l(l.G+l.W+l.F*!k,{Promise:L}),e(27)(L,"Promise"),e(91)("Promise"),c=e(2).Promise,l(l.S+l.F*!k,"Promise",{reject:function(t){var r=T(this);return(0,r.reject)(t),r.promise}}),l(l.S+l.F*(u||!k),"Promise",{resolve:function(t){return b(u&&this===c?L:this,t)}}),l(l.S+l.F*!(k&&e(87)(function(t){L.all(t).catch(S)})),"Promise",{all:function(t){var r=this,e=T(r),n=e.resolve,o=e.reject,i=w(function(){var e=[],i=0,c=1;d(t,!1,function(t){var u=i++,a=!1;e.push(void 0),c++,r.resolve(t).then(function(t){a||(a=!0,e[u]=t,--c||n(e))},o)}),--c||n(e)});return i.e&&o(i.v),e.promise},race:function(t){var r=this,e=T(r),n=e.reject,o=w(function(){d(t,!1,function(t){r.resolve(t).then(e.resolve,n)})});return o.e&&n(o.v),e.promise}})},97:function(t,r){t.exports=function(t,r,e){var n=void 0===e;switch(r.length){case 0:return n?t():t.call(e);case 1:return n?t(r[0]):t.call(e,r[0]);case 2:return n?t(r[0],r[1]):t.call(e,r[0],r[1]);case 3:return n?t(r[0],r[1],r[2]):t.call(e,r[0],r[1],r[2]);case 4:return n?t(r[0],r[1],r[2],r[3]):t.call(e,r[0],r[1],r[2],r[3])}return t.apply(e,r)}},98:function(t,r,e){var n=e(0),o=e(65).set,i=n.MutationObserver||n.WebKitMutationObserver,c=n.process,u=n.Promise,a="process"==e(14)(c);t.exports=function(){var t,r,e,s=function(){var n,o;for(a&&(n=c.domain)&&n.exit();t;){o=t.fn,t=t.next;try{o()}catch(n){throw t?e():r=void 0,n}}r=void 0,n&&n.enter()};if(a)e=function(){c.nextTick(s)};else if(!i||n.navigator&&n.navigator.standalone)if(u&&u.resolve){var f=u.resolve(void 0);e=function(){f.then(s)}}else e=function(){o.call(n,s)};else{var l=!0,p=document.createTextNode("");new i(s).observe(p,{characterData:!0}),e=function(){p.data=l=!l}}return function(n){var o={fn:n,next:void 0};r&&(r.next=o),t||(t=o,e()),r=o}}},99:function(t,r,e){var n=e(0),o=n.navigator;t.exports=o&&o.userAgent||""}})});