You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
54 KiB
9 lines
54 KiB
|
5 years ago
|
var gcs=function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}return o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=3)}([function(e,t,n){(function(B,H){
|
||
|
|
/*!
|
||
|
|
* @overview es6-promise - a tiny implementation of Promises/A+.
|
||
|
|
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
|
||
|
|
* @license Licensed under MIT license
|
||
|
|
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
|
||
|
|
* @version v4.2.4+314e4831
|
||
|
|
*/
|
||
|
|
e.exports=function(){"use strict";function u(e){return"function"==typeof e}var n=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,t=void 0,o=void 0,s=function(e,t){p[r]=e,p[r+1]=t,2===(r+=2)&&(o?o(f):y())},e="undefined"!=typeof window?window:void 0,i=e||{},a=i.MutationObserver||i.WebKitMutationObserver,c="undefined"==typeof self&&void 0!==B&&"[object process]"==={}.toString.call(B),l="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function d(){var e=setTimeout;return function(){return e(f,1)}}var p=new Array(1e3);function f(){for(var e=0;e<r;e+=2){var t=p[e],n=p[e+1];t(n),p[e]=void 0,p[e+1]=void 0}r=0}var m,h,v,g,y=void 0;function w(e,t){var n=this,r=new this.constructor(P);void 0===r[_]&&G(r);var o=n._state;if(o){var i=arguments[o-1];s(function(){return L(o,r,i,n._result)})}else U(n,r,e,t);return r}function b(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(P);return F(t,e),t}y=c?function(){return B.nextTick(f)}:a?(h=0,v=new a(f),g=document.createTextNode(""),v.observe(g,{characterData:!0}),function(){g.data=h=++h%2}):l?((m=new MessageChannel).port1.onmessage=f,function(){return m.port2.postMessage(0)}):void 0===e?function(){try{var e=Function("return this")().require("vertx");return void 0===(t=e.runOnLoop||e.runOnContext)?d():function(){t(f)}}catch(e){return d()}}():d();var _=Math.random().toString(36).substring(2);function P(){}var D=void 0,S=1,k=2,I={error:null};function E(e){try{return e.then}catch(e){return I.error=e,I}}function C(e,t,n,r){try{e.call(t,n,r)}catch(e){return e}}function T(e,t,n){var r,o,i,a;t.constructor===e.constructor&&n===w&&t.constructor.resolve===b?(i=e,(a=t)._state===S?x(i,a._result):a._state===k?M(i,a._result):U(a,void 0,function(e){return F(i,e)},function(e){return M(i,e)})):n===I?(M(e,I.error),I.error=null):void 0===n?x(e,t):u(n)?(r=t,o=n,s(function(t){var n=!1,e=C(o,r,function(e){n||(n=!0,r!==e?F(t,e):x(t,e))},function(e){n||(n=!0,M(t,e))},t._label);!n&&e&&(n=!0,M(t,e))},e)):x(e,t)}function F(e,t){var n,r;e===t?M(e,new TypeError("You cannot resolve a promise with itself")):(r=typeof(n=t),null===n||"object"!==r&&"function"!==r?x(e,t):T(e,t,E(t)))}function O(e){e._onerror&&e._onerror(e._result),A(e)}function x(e,t){e._state===D&&(e._result=t,e._state=S,0!==e._subscribers.length&&s(A,e))}function M(e,t){e._state===D&&(e._state=k,e._result=t,s(O,e))}function U(e,t,n,r){var o=e._subscribers,i=o.length;e._onerror=null,o[i]=t,o[i+S]=n,o[i+k]=r,0===i&&e._state&&s(A,e)}function A(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,o=void 0,i=e._result,a=0;a<t.length;a+=3)r=t[a],o=t[a+n],r?L(n,r,o,i):o(i);e._subscribers.length=0}}function L(e,t,n,r){var o=u(n),i=void 0,a=void 0,s=void 0,c=void 0;if(o){if((i=function(e,t){try{return e(t)}catch(e){return I.error=e,I}}(n,r))===I?(c=!0,a=i.error,i.error=null):s=!0,t===i)return void M(t,new TypeError("A promises callback cannot return that same promise."))}else i=r,s=!0;t._state!==D||(o&&s?F(t,i):c?M(t,a):e===S?x(t,i):e===k&&M(t,i))}var N=0;function G(e){e[_]=N++,e._state=void 0,e._result=void 0,e._subscribers=[]}var j=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(P),this.promise[_]||G(this.promise),n(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?x(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&x(this.promise,this._result))):M(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===D&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(t,e){var n=this._instanceConstructor,r=n.resolve;if(r===b){var o=E(t);if(o===w&&t._state!==D)this._settledAt(t._state,e,t._result);else if("function"!=typeof o)this._remaining--,this._result[e]=t;else if(n===R){var i=new n(P);T(i,t,o),this._willSettleAt(i,e)}else this._willSettleAt(new n(function(e){return e(t)}),e)}else this._willSettleAt(
|