1 (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(_dereq_,module,exports){
6 var _global = _interopRequireDefault(_dereq_(15));
8 function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
10 if (_global["default"]._babelPolyfill && typeof console !== "undefined" && console.warn) {
11 console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended " + "and may have consequences if different versions of the polyfills are applied sequentially. " + "If you do need to load the polyfill more than once, use @babel/polyfill/noConflict " + "instead to bypass the warning.");
14 _global["default"]._babelPolyfill = true;
15 },{"15":15,"2":2}],2:[function(_dereq_,module,exports){
45 },{"10":10,"11":11,"12":12,"13":13,"14":14,"3":3,"306":306,"307":307,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9}],3:[function(_dereq_,module,exports){
184 module.exports = _dereq_(52);
186 },{"154":154,"155":155,"156":156,"157":157,"158":158,"159":159,"160":160,"161":161,"162":162,"163":163,"164":164,"165":165,"166":166,"167":167,"168":168,"169":169,"170":170,"171":171,"172":172,"173":173,"174":174,"175":175,"176":176,"177":177,"178":178,"179":179,"180":180,"181":181,"182":182,"183":183,"184":184,"185":185,"186":186,"187":187,"188":188,"189":189,"190":190,"191":191,"192":192,"193":193,"194":194,"195":195,"196":196,"197":197,"198":198,"199":199,"200":200,"201":201,"202":202,"203":203,"204":204,"205":205,"206":206,"207":207,"208":208,"209":209,"210":210,"211":211,"212":212,"213":213,"214":214,"215":215,"216":216,"217":217,"218":218,"219":219,"220":220,"221":221,"222":222,"223":223,"224":224,"225":225,"226":226,"227":227,"228":228,"229":229,"230":230,"231":231,"232":232,"233":233,"234":234,"235":235,"236":236,"237":237,"238":238,"239":239,"240":240,"241":241,"242":242,"243":243,"244":244,"245":245,"246":246,"247":247,"248":248,"249":249,"250":250,"251":251,"252":252,"253":253,"254":254,"255":255,"256":256,"257":257,"258":258,"259":259,"260":260,"261":261,"262":262,"263":263,"264":264,"265":265,"266":266,"267":267,"268":268,"269":269,"270":270,"271":271,"272":272,"273":273,"274":274,"275":275,"276":276,"277":277,"278":278,"279":279,"280":280,"281":281,"282":282,"283":283,"284":284,"285":285,"286":286,"287":287,"288":288,"289":289,"290":290,"291":291,"52":52}],4:[function(_dereq_,module,exports){
188 module.exports = _dereq_(52).Array.flatMap;
190 },{"292":292,"52":52}],5:[function(_dereq_,module,exports){
192 module.exports = _dereq_(52).Array.includes;
194 },{"293":293,"52":52}],6:[function(_dereq_,module,exports){
196 module.exports = _dereq_(52).Object.entries;
198 },{"294":294,"52":52}],7:[function(_dereq_,module,exports){
200 module.exports = _dereq_(52).Object.getOwnPropertyDescriptors;
202 },{"295":295,"52":52}],8:[function(_dereq_,module,exports){
204 module.exports = _dereq_(52).Object.values;
206 },{"296":296,"52":52}],9:[function(_dereq_,module,exports){
210 module.exports = _dereq_(52).Promise['finally'];
212 },{"232":232,"297":297,"52":52}],10:[function(_dereq_,module,exports){
214 module.exports = _dereq_(52).String.padEnd;
216 },{"298":298,"52":52}],11:[function(_dereq_,module,exports){
218 module.exports = _dereq_(52).String.padStart;
220 },{"299":299,"52":52}],12:[function(_dereq_,module,exports){
222 module.exports = _dereq_(52).String.trimRight;
224 },{"301":301,"52":52}],13:[function(_dereq_,module,exports){
226 module.exports = _dereq_(52).String.trimLeft;
228 },{"300":300,"52":52}],14:[function(_dereq_,module,exports){
230 module.exports = _dereq_(151).f('asyncIterator');
232 },{"151":151,"302":302}],15:[function(_dereq_,module,exports){
234 module.exports = _dereq_(18).global;
236 },{"18":18,"32":32}],16:[function(_dereq_,module,exports){
237 module.exports = function (it) {
238 if (typeof it != 'function') throw TypeError(it + ' is not a function!');
242 },{}],17:[function(_dereq_,module,exports){
243 var isObject = _dereq_(28);
244 module.exports = function (it) {
245 if (!isObject(it)) throw TypeError(it + ' is not an object!');
249 },{"28":28}],18:[function(_dereq_,module,exports){
250 var core = module.exports = { version: '2.6.10' };
251 if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
253 },{}],19:[function(_dereq_,module,exports){
254 // optional / simple context binding
255 var aFunction = _dereq_(16);
256 module.exports = function (fn, that, length) {
258 if (that === undefined) return fn;
260 case 1: return function (a) {
261 return fn.call(that, a);
263 case 2: return function (a, b) {
264 return fn.call(that, a, b);
266 case 3: return function (a, b, c) {
267 return fn.call(that, a, b, c);
270 return function (/* ...args */) {
271 return fn.apply(that, arguments);
275 },{"16":16}],20:[function(_dereq_,module,exports){
276 // Thank's IE8 for his funny defineProperty
277 module.exports = !_dereq_(23)(function () {
278 return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
281 },{"23":23}],21:[function(_dereq_,module,exports){
282 var isObject = _dereq_(28);
283 var document = _dereq_(24).document;
284 // typeof document.createElement is 'object' in old IE
285 var is = isObject(document) && isObject(document.createElement);
286 module.exports = function (it) {
287 return is ? document.createElement(it) : {};
290 },{"24":24,"28":28}],22:[function(_dereq_,module,exports){
291 var global = _dereq_(24);
292 var core = _dereq_(18);
293 var ctx = _dereq_(19);
294 var hide = _dereq_(26);
295 var has = _dereq_(25);
296 var PROTOTYPE = 'prototype';
298 var $export = function (type, name, source) {
299 var IS_FORCED = type & $export.F;
300 var IS_GLOBAL = type & $export.G;
301 var IS_STATIC = type & $export.S;
302 var IS_PROTO = type & $export.P;
303 var IS_BIND = type & $export.B;
304 var IS_WRAP = type & $export.W;
305 var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
306 var expProto = exports[PROTOTYPE];
307 var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];
309 if (IS_GLOBAL) source = name;
310 for (key in source) {
311 // contains in native
312 own = !IS_FORCED && target && target[key] !== undefined;
313 if (own && has(exports, key)) continue;
314 // export native or passed
315 out = own ? target[key] : source[key];
316 // prevent global pollution for namespaces
317 exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
318 // bind timers to global for call from export context
319 : IS_BIND && own ? ctx(out, global)
320 // wrap global constructors for prevent change them in library
321 : IS_WRAP && target[key] == out ? (function (C) {
322 var F = function (a, b, c) {
323 if (this instanceof C) {
324 switch (arguments.length) {
325 case 0: return new C();
326 case 1: return new C(a);
327 case 2: return new C(a, b);
328 } return new C(a, b, c);
329 } return C.apply(this, arguments);
331 F[PROTOTYPE] = C[PROTOTYPE];
333 // make static versions for prototype methods
334 })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
335 // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
337 (exports.virtual || (exports.virtual = {}))[key] = out;
338 // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
339 if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);
344 $export.F = 1; // forced
345 $export.G = 2; // global
346 $export.S = 4; // static
347 $export.P = 8; // proto
348 $export.B = 16; // bind
349 $export.W = 32; // wrap
350 $export.U = 64; // safe
351 $export.R = 128; // real proto method for `library`
352 module.exports = $export;
354 },{"18":18,"19":19,"24":24,"25":25,"26":26}],23:[function(_dereq_,module,exports){
355 module.exports = function (exec) {
363 },{}],24:[function(_dereq_,module,exports){
364 // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
365 var global = module.exports = typeof window != 'undefined' && window.Math == Math
366 ? window : typeof self != 'undefined' && self.Math == Math ? self
367 // eslint-disable-next-line no-new-func
368 : Function('return this')();
369 if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
371 },{}],25:[function(_dereq_,module,exports){
372 var hasOwnProperty = {}.hasOwnProperty;
373 module.exports = function (it, key) {
374 return hasOwnProperty.call(it, key);
377 },{}],26:[function(_dereq_,module,exports){
378 var dP = _dereq_(29);
379 var createDesc = _dereq_(30);
380 module.exports = _dereq_(20) ? function (object, key, value) {
381 return dP.f(object, key, createDesc(1, value));
382 } : function (object, key, value) {
387 },{"20":20,"29":29,"30":30}],27:[function(_dereq_,module,exports){
388 module.exports = !_dereq_(20) && !_dereq_(23)(function () {
389 return Object.defineProperty(_dereq_(21)('div'), 'a', { get: function () { return 7; } }).a != 7;
392 },{"20":20,"21":21,"23":23}],28:[function(_dereq_,module,exports){
393 module.exports = function (it) {
394 return typeof it === 'object' ? it !== null : typeof it === 'function';
397 },{}],29:[function(_dereq_,module,exports){
398 var anObject = _dereq_(17);
399 var IE8_DOM_DEFINE = _dereq_(27);
400 var toPrimitive = _dereq_(31);
401 var dP = Object.defineProperty;
403 exports.f = _dereq_(20) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
405 P = toPrimitive(P, true);
406 anObject(Attributes);
407 if (IE8_DOM_DEFINE) try {
408 return dP(O, P, Attributes);
409 } catch (e) { /* empty */ }
410 if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
411 if ('value' in Attributes) O[P] = Attributes.value;
415 },{"17":17,"20":20,"27":27,"31":31}],30:[function(_dereq_,module,exports){
416 module.exports = function (bitmap, value) {
418 enumerable: !(bitmap & 1),
419 configurable: !(bitmap & 2),
420 writable: !(bitmap & 4),
425 },{}],31:[function(_dereq_,module,exports){
426 // 7.1.1 ToPrimitive(input [, PreferredType])
427 var isObject = _dereq_(28);
428 // instead of the ES6 spec version, we didn't implement @@toPrimitive case
429 // and the second argument - flag - preferred type is a string
430 module.exports = function (it, S) {
431 if (!isObject(it)) return it;
433 if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
434 if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;
435 if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;
436 throw TypeError("Can't convert object to primitive value");
439 },{"28":28}],32:[function(_dereq_,module,exports){
440 // https://github.com/tc39/proposal-global
441 var $export = _dereq_(22);
443 $export($export.G, { global: _dereq_(24) });
445 },{"22":22,"24":24}],33:[function(_dereq_,module,exports){
446 arguments[4][16][0].apply(exports,arguments)
447 },{"16":16}],34:[function(_dereq_,module,exports){
448 var cof = _dereq_(48);
449 module.exports = function (it, msg) {
450 if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg);
454 },{"48":48}],35:[function(_dereq_,module,exports){
455 // 22.1.3.31 Array.prototype[@@unscopables]
456 var UNSCOPABLES = _dereq_(152)('unscopables');
457 var ArrayProto = Array.prototype;
458 if (ArrayProto[UNSCOPABLES] == undefined) _dereq_(72)(ArrayProto, UNSCOPABLES, {});
459 module.exports = function (key) {
460 ArrayProto[UNSCOPABLES][key] = true;
463 },{"152":152,"72":72}],36:[function(_dereq_,module,exports){
465 var at = _dereq_(129)(true);
467 // `AdvanceStringIndex` abstract operation
468 // https://tc39.github.io/ecma262/#sec-advancestringindex
469 module.exports = function (S, index, unicode) {
470 return index + (unicode ? at(S, index).length : 1);
473 },{"129":129}],37:[function(_dereq_,module,exports){
474 module.exports = function (it, Constructor, name, forbiddenField) {
475 if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {
476 throw TypeError(name + ': incorrect invocation!');
480 },{}],38:[function(_dereq_,module,exports){
481 arguments[4][17][0].apply(exports,arguments)
482 },{"17":17,"81":81}],39:[function(_dereq_,module,exports){
483 // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
485 var toObject = _dereq_(142);
486 var toAbsoluteIndex = _dereq_(137);
487 var toLength = _dereq_(141);
489 module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {
490 var O = toObject(this);
491 var len = toLength(O.length);
492 var to = toAbsoluteIndex(target, len);
493 var from = toAbsoluteIndex(start, len);
494 var end = arguments.length > 2 ? arguments[2] : undefined;
495 var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);
497 if (from < to && to < from + count) {
502 while (count-- > 0) {
503 if (from in O) O[to] = O[from];
510 },{"137":137,"141":141,"142":142}],40:[function(_dereq_,module,exports){
511 // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
513 var toObject = _dereq_(142);
514 var toAbsoluteIndex = _dereq_(137);
515 var toLength = _dereq_(141);
516 module.exports = function fill(value /* , start = 0, end = @length */) {
517 var O = toObject(this);
518 var length = toLength(O.length);
519 var aLen = arguments.length;
520 var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length);
521 var end = aLen > 2 ? arguments[2] : undefined;
522 var endPos = end === undefined ? length : toAbsoluteIndex(end, length);
523 while (endPos > index) O[index++] = value;
527 },{"137":137,"141":141,"142":142}],41:[function(_dereq_,module,exports){
528 // false -> Array#indexOf
529 // true -> Array#includes
530 var toIObject = _dereq_(140);
531 var toLength = _dereq_(141);
532 var toAbsoluteIndex = _dereq_(137);
533 module.exports = function (IS_INCLUDES) {
534 return function ($this, el, fromIndex) {
535 var O = toIObject($this);
536 var length = toLength(O.length);
537 var index = toAbsoluteIndex(fromIndex, length);
539 // Array#includes uses SameValueZero equality algorithm
540 // eslint-disable-next-line no-self-compare
541 if (IS_INCLUDES && el != el) while (length > index) {
543 // eslint-disable-next-line no-self-compare
544 if (value != value) return true;
545 // Array#indexOf ignores holes, Array#includes - not
546 } else for (;length > index; index++) if (IS_INCLUDES || index in O) {
547 if (O[index] === el) return IS_INCLUDES || index || 0;
548 } return !IS_INCLUDES && -1;
552 },{"137":137,"140":140,"141":141}],42:[function(_dereq_,module,exports){
553 // 0 -> Array#forEach
559 // 6 -> Array#findIndex
560 var ctx = _dereq_(54);
561 var IObject = _dereq_(77);
562 var toObject = _dereq_(142);
563 var toLength = _dereq_(141);
564 var asc = _dereq_(45);
565 module.exports = function (TYPE, $create) {
566 var IS_MAP = TYPE == 1;
567 var IS_FILTER = TYPE == 2;
568 var IS_SOME = TYPE == 3;
569 var IS_EVERY = TYPE == 4;
570 var IS_FIND_INDEX = TYPE == 6;
571 var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;
572 var create = $create || asc;
573 return function ($this, callbackfn, that) {
574 var O = toObject($this);
575 var self = IObject(O);
576 var f = ctx(callbackfn, that, 3);
577 var length = toLength(self.length);
579 var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;
581 for (;length > index; index++) if (NO_HOLES || index in self) {
583 res = f(val, index, O);
585 if (IS_MAP) result[index] = res; // map
586 else if (res) switch (TYPE) {
587 case 3: return true; // some
588 case 5: return val; // find
589 case 6: return index; // findIndex
590 case 2: result.push(val); // filter
591 } else if (IS_EVERY) return false; // every
594 return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;
598 },{"141":141,"142":142,"45":45,"54":54,"77":77}],43:[function(_dereq_,module,exports){
599 var aFunction = _dereq_(33);
600 var toObject = _dereq_(142);
601 var IObject = _dereq_(77);
602 var toLength = _dereq_(141);
604 module.exports = function (that, callbackfn, aLen, memo, isRight) {
605 aFunction(callbackfn);
606 var O = toObject(that);
607 var self = IObject(O);
608 var length = toLength(O.length);
609 var index = isRight ? length - 1 : 0;
610 var i = isRight ? -1 : 1;
611 if (aLen < 2) for (;;) {
618 if (isRight ? index < 0 : length <= index) {
619 throw TypeError('Reduce of empty array with no initial value');
622 for (;isRight ? index >= 0 : length > index; index += i) if (index in self) {
623 memo = callbackfn(memo, self[index], index, O);
628 },{"141":141,"142":142,"33":33,"77":77}],44:[function(_dereq_,module,exports){
629 var isObject = _dereq_(81);
630 var isArray = _dereq_(79);
631 var SPECIES = _dereq_(152)('species');
633 module.exports = function (original) {
635 if (isArray(original)) {
636 C = original.constructor;
637 // cross-realm fallback
638 if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;
641 if (C === null) C = undefined;
643 } return C === undefined ? Array : C;
646 },{"152":152,"79":79,"81":81}],45:[function(_dereq_,module,exports){
647 // 9.4.2.3 ArraySpeciesCreate(originalArray, length)
648 var speciesConstructor = _dereq_(44);
650 module.exports = function (original, length) {
651 return new (speciesConstructor(original))(length);
654 },{"44":44}],46:[function(_dereq_,module,exports){
656 var aFunction = _dereq_(33);
657 var isObject = _dereq_(81);
658 var invoke = _dereq_(76);
659 var arraySlice = [].slice;
662 var construct = function (F, len, args) {
663 if (!(len in factories)) {
664 for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';
665 // eslint-disable-next-line no-new-func
666 factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');
667 } return factories[len](F, args);
670 module.exports = Function.bind || function bind(that /* , ...args */) {
671 var fn = aFunction(this);
672 var partArgs = arraySlice.call(arguments, 1);
673 var bound = function (/* args... */) {
674 var args = partArgs.concat(arraySlice.call(arguments));
675 return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);
677 if (isObject(fn.prototype)) bound.prototype = fn.prototype;
681 },{"33":33,"76":76,"81":81}],47:[function(_dereq_,module,exports){
682 // getting tag from 19.1.3.6 Object.prototype.toString()
683 var cof = _dereq_(48);
684 var TAG = _dereq_(152)('toStringTag');
686 var ARG = cof(function () { return arguments; }()) == 'Arguments';
688 // fallback for IE11 Script Access Denied error
689 var tryGet = function (it, key) {
692 } catch (e) { /* empty */ }
695 module.exports = function (it) {
697 return it === undefined ? 'Undefined' : it === null ? 'Null'
698 // @@toStringTag case
699 : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T
702 // ES3 arguments fallback
703 : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;
706 },{"152":152,"48":48}],48:[function(_dereq_,module,exports){
707 var toString = {}.toString;
709 module.exports = function (it) {
710 return toString.call(it).slice(8, -1);
713 },{}],49:[function(_dereq_,module,exports){
715 var dP = _dereq_(99).f;
716 var create = _dereq_(98);
717 var redefineAll = _dereq_(117);
718 var ctx = _dereq_(54);
719 var anInstance = _dereq_(37);
720 var forOf = _dereq_(68);
721 var $iterDefine = _dereq_(85);
722 var step = _dereq_(87);
723 var setSpecies = _dereq_(123);
724 var DESCRIPTORS = _dereq_(58);
725 var fastKey = _dereq_(94).fastKey;
726 var validate = _dereq_(149);
727 var SIZE = DESCRIPTORS ? '_s' : 'size';
729 var getEntry = function (that, key) {
731 var index = fastKey(key);
733 if (index !== 'F') return that._i[index];
734 // frozen object case
735 for (entry = that._f; entry; entry = entry.n) {
736 if (entry.k == key) return entry;
741 getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {
742 var C = wrapper(function (that, iterable) {
743 anInstance(that, C, NAME, '_i');
744 that._t = NAME; // collection type
745 that._i = create(null); // index
746 that._f = undefined; // first entry
747 that._l = undefined; // last entry
748 that[SIZE] = 0; // size
749 if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);
751 redefineAll(C.prototype, {
752 // 23.1.3.1 Map.prototype.clear()
753 // 23.2.3.2 Set.prototype.clear()
754 clear: function clear() {
755 for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {
757 if (entry.p) entry.p = entry.p.n = undefined;
758 delete data[entry.i];
760 that._f = that._l = undefined;
763 // 23.1.3.3 Map.prototype.delete(key)
764 // 23.2.3.4 Set.prototype.delete(value)
765 'delete': function (key) {
766 var that = validate(this, NAME);
767 var entry = getEntry(that, key);
771 delete that._i[entry.i];
773 if (prev) prev.n = next;
774 if (next) next.p = prev;
775 if (that._f == entry) that._f = next;
776 if (that._l == entry) that._l = prev;
780 // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)
781 // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)
782 forEach: function forEach(callbackfn /* , that = undefined */) {
783 validate(this, NAME);
784 var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);
786 while (entry = entry ? entry.n : this._f) {
787 f(entry.v, entry.k, this);
788 // revert to the last existing entry
789 while (entry && entry.r) entry = entry.p;
792 // 23.1.3.7 Map.prototype.has(key)
793 // 23.2.3.7 Set.prototype.has(value)
794 has: function has(key) {
795 return !!getEntry(validate(this, NAME), key);
798 if (DESCRIPTORS) dP(C.prototype, 'size', {
800 return validate(this, NAME)[SIZE];
805 def: function (that, key, value) {
806 var entry = getEntry(that, key);
808 // change existing entry
814 i: index = fastKey(key, true), // <- index
816 v: value, // <- value
817 p: prev = that._l, // <- previous entry
818 n: undefined, // <- next entry
819 r: false // <- removed
821 if (!that._f) that._f = entry;
822 if (prev) prev.n = entry;
825 if (index !== 'F') that._i[index] = entry;
829 setStrong: function (C, NAME, IS_MAP) {
830 // add .keys, .values, .entries, [@@iterator]
831 // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11
832 $iterDefine(C, NAME, function (iterated, kind) {
833 this._t = validate(iterated, NAME); // target
834 this._k = kind; // kind
835 this._l = undefined; // previous
840 // revert to the last existing entry
841 while (entry && entry.r) entry = entry.p;
843 if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {
844 // or finish the iteration
848 // return step by kind
849 if (kind == 'keys') return step(0, entry.k);
850 if (kind == 'values') return step(0, entry.v);
851 return step(0, [entry.k, entry.v]);
852 }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);
854 // add [@@species], 23.1.2.2, 23.2.2.2
859 },{"117":117,"123":123,"149":149,"37":37,"54":54,"58":58,"68":68,"85":85,"87":87,"94":94,"98":98,"99":99}],50:[function(_dereq_,module,exports){
861 var redefineAll = _dereq_(117);
862 var getWeak = _dereq_(94).getWeak;
863 var anObject = _dereq_(38);
864 var isObject = _dereq_(81);
865 var anInstance = _dereq_(37);
866 var forOf = _dereq_(68);
867 var createArrayMethod = _dereq_(42);
868 var $has = _dereq_(71);
869 var validate = _dereq_(149);
870 var arrayFind = createArrayMethod(5);
871 var arrayFindIndex = createArrayMethod(6);
874 // fallback for uncaught frozen keys
875 var uncaughtFrozenStore = function (that) {
876 return that._l || (that._l = new UncaughtFrozenStore());
878 var UncaughtFrozenStore = function () {
881 var findUncaughtFrozen = function (store, key) {
882 return arrayFind(store.a, function (it) {
883 return it[0] === key;
886 UncaughtFrozenStore.prototype = {
887 get: function (key) {
888 var entry = findUncaughtFrozen(this, key);
889 if (entry) return entry[1];
891 has: function (key) {
892 return !!findUncaughtFrozen(this, key);
894 set: function (key, value) {
895 var entry = findUncaughtFrozen(this, key);
896 if (entry) entry[1] = value;
897 else this.a.push([key, value]);
899 'delete': function (key) {
900 var index = arrayFindIndex(this.a, function (it) {
901 return it[0] === key;
903 if (~index) this.a.splice(index, 1);
909 getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {
910 var C = wrapper(function (that, iterable) {
911 anInstance(that, C, NAME, '_i');
912 that._t = NAME; // collection type
913 that._i = id++; // collection id
914 that._l = undefined; // leak store for uncaught frozen objects
915 if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);
917 redefineAll(C.prototype, {
918 // 23.3.3.2 WeakMap.prototype.delete(key)
919 // 23.4.3.3 WeakSet.prototype.delete(value)
920 'delete': function (key) {
921 if (!isObject(key)) return false;
922 var data = getWeak(key);
923 if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);
924 return data && $has(data, this._i) && delete data[this._i];
926 // 23.3.3.4 WeakMap.prototype.has(key)
927 // 23.4.3.4 WeakSet.prototype.has(value)
928 has: function has(key) {
929 if (!isObject(key)) return false;
930 var data = getWeak(key);
931 if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);
932 return data && $has(data, this._i);
937 def: function (that, key, value) {
938 var data = getWeak(anObject(key), true);
939 if (data === true) uncaughtFrozenStore(that).set(key, value);
940 else data[that._i] = value;
943 ufstore: uncaughtFrozenStore
946 },{"117":117,"149":149,"37":37,"38":38,"42":42,"68":68,"71":71,"81":81,"94":94}],51:[function(_dereq_,module,exports){
948 var global = _dereq_(70);
949 var $export = _dereq_(62);
950 var redefine = _dereq_(118);
951 var redefineAll = _dereq_(117);
952 var meta = _dereq_(94);
953 var forOf = _dereq_(68);
954 var anInstance = _dereq_(37);
955 var isObject = _dereq_(81);
956 var fails = _dereq_(64);
957 var $iterDetect = _dereq_(86);
958 var setToStringTag = _dereq_(124);
959 var inheritIfRequired = _dereq_(75);
961 module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {
962 var Base = global[NAME];
964 var ADDER = IS_MAP ? 'set' : 'add';
965 var proto = C && C.prototype;
967 var fixMethod = function (KEY) {
970 KEY == 'delete' ? function (a) {
971 return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
972 } : KEY == 'has' ? function has(a) {
973 return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);
974 } : KEY == 'get' ? function get(a) {
975 return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);
976 } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }
977 : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }
980 if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {
981 new C().entries().next();
983 // create collection constructor
984 C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);
985 redefineAll(C.prototype, methods);
988 var instance = new C();
989 // early implementations not supports chaining
990 var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;
991 // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false
992 var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });
993 // most early implementations doesn't supports iterables, most modern - not close it correctly
994 var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new
995 // for early implementations -0 and +0 not the same
996 var BUGGY_ZERO = !IS_WEAK && fails(function () {
997 // V8 ~ Chromium 42- fails only with 5+ elements
998 var $instance = new C();
1000 while (index--) $instance[ADDER](index, index);
1001 return !$instance.has(-0);
1003 if (!ACCEPT_ITERABLES) {
1004 C = wrapper(function (target, iterable) {
1005 anInstance(target, C, NAME);
1006 var that = inheritIfRequired(new Base(), target, C);
1007 if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);
1010 C.prototype = proto;
1011 proto.constructor = C;
1013 if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {
1014 fixMethod('delete');
1016 IS_MAP && fixMethod('get');
1018 if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);
1019 // weak collections should not contains .clear method
1020 if (IS_WEAK && proto.clear) delete proto.clear;
1023 setToStringTag(C, NAME);
1026 $export($export.G + $export.W + $export.F * (C != Base), O);
1028 if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);
1033 },{"117":117,"118":118,"124":124,"37":37,"62":62,"64":64,"68":68,"70":70,"75":75,"81":81,"86":86,"94":94}],52:[function(_dereq_,module,exports){
1034 arguments[4][18][0].apply(exports,arguments)
1035 },{"18":18}],53:[function(_dereq_,module,exports){
1037 var $defineProperty = _dereq_(99);
1038 var createDesc = _dereq_(116);
1040 module.exports = function (object, index, value) {
1041 if (index in object) $defineProperty.f(object, index, createDesc(0, value));
1042 else object[index] = value;
1045 },{"116":116,"99":99}],54:[function(_dereq_,module,exports){
1046 arguments[4][19][0].apply(exports,arguments)
1047 },{"19":19,"33":33}],55:[function(_dereq_,module,exports){
1049 // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
1050 var fails = _dereq_(64);
1051 var getTime = Date.prototype.getTime;
1052 var $toISOString = Date.prototype.toISOString;
1054 var lz = function (num) {
1055 return num > 9 ? num : '0' + num;
1058 // PhantomJS / old WebKit has a broken implementations
1059 module.exports = (fails(function () {
1060 return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';
1061 }) || !fails(function () {
1062 $toISOString.call(new Date(NaN));
1063 })) ? function toISOString() {
1064 if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');
1066 var y = d.getUTCFullYear();
1067 var m = d.getUTCMilliseconds();
1068 var s = y < 0 ? '-' : y > 9999 ? '+' : '';
1069 return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +
1070 '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +
1071 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +
1072 ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';
1075 },{"64":64}],56:[function(_dereq_,module,exports){
1077 var anObject = _dereq_(38);
1078 var toPrimitive = _dereq_(143);
1079 var NUMBER = 'number';
1081 module.exports = function (hint) {
1082 if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint');
1083 return toPrimitive(anObject(this), hint != NUMBER);
1086 },{"143":143,"38":38}],57:[function(_dereq_,module,exports){
1087 // 7.2.1 RequireObjectCoercible(argument)
1088 module.exports = function (it) {
1089 if (it == undefined) throw TypeError("Can't call method on " + it);
1093 },{}],58:[function(_dereq_,module,exports){
1094 arguments[4][20][0].apply(exports,arguments)
1095 },{"20":20,"64":64}],59:[function(_dereq_,module,exports){
1096 arguments[4][21][0].apply(exports,arguments)
1097 },{"21":21,"70":70,"81":81}],60:[function(_dereq_,module,exports){
1098 // IE 8- don't enum bug keys
1100 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'
1103 },{}],61:[function(_dereq_,module,exports){
1104 // all enumerable object keys, includes symbols
1105 var getKeys = _dereq_(107);
1106 var gOPS = _dereq_(104);
1107 var pIE = _dereq_(108);
1108 module.exports = function (it) {
1109 var result = getKeys(it);
1110 var getSymbols = gOPS.f;
1112 var symbols = getSymbols(it);
1116 while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);
1120 },{"104":104,"107":107,"108":108}],62:[function(_dereq_,module,exports){
1121 var global = _dereq_(70);
1122 var core = _dereq_(52);
1123 var hide = _dereq_(72);
1124 var redefine = _dereq_(118);
1125 var ctx = _dereq_(54);
1126 var PROTOTYPE = 'prototype';
1128 var $export = function (type, name, source) {
1129 var IS_FORCED = type & $export.F;
1130 var IS_GLOBAL = type & $export.G;
1131 var IS_STATIC = type & $export.S;
1132 var IS_PROTO = type & $export.P;
1133 var IS_BIND = type & $export.B;
1134 var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];
1135 var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
1136 var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});
1137 var key, own, out, exp;
1138 if (IS_GLOBAL) source = name;
1139 for (key in source) {
1140 // contains in native
1141 own = !IS_FORCED && target && target[key] !== undefined;
1142 // export native or passed
1143 out = (own ? target : source)[key];
1144 // bind timers to global for call from export context
1145 exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
1147 if (target) redefine(target, key, out, type & $export.U);
1149 if (exports[key] != out) hide(exports, key, exp);
1150 if (IS_PROTO && expProto[key] != out) expProto[key] = out;
1155 $export.F = 1; // forced
1156 $export.G = 2; // global
1157 $export.S = 4; // static
1158 $export.P = 8; // proto
1159 $export.B = 16; // bind
1160 $export.W = 32; // wrap
1161 $export.U = 64; // safe
1162 $export.R = 128; // real proto method for `library`
1163 module.exports = $export;
1165 },{"118":118,"52":52,"54":54,"70":70,"72":72}],63:[function(_dereq_,module,exports){
1166 var MATCH = _dereq_(152)('match');
1167 module.exports = function (KEY) {
1174 return !'/./'[KEY](re);
1175 } catch (f) { /* empty */ }
1179 },{"152":152}],64:[function(_dereq_,module,exports){
1180 arguments[4][23][0].apply(exports,arguments)
1181 },{"23":23}],65:[function(_dereq_,module,exports){
1184 var redefine = _dereq_(118);
1185 var hide = _dereq_(72);
1186 var fails = _dereq_(64);
1187 var defined = _dereq_(57);
1188 var wks = _dereq_(152);
1189 var regexpExec = _dereq_(120);
1191 var SPECIES = wks('species');
1193 var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {
1194 // #replace needs built-in support for named groups.
1195 // #match works fine because it just return the exec results, even if it has
1196 // a "grops" property.
1198 re.exec = function () {
1200 result.groups = { a: '7' };
1203 return ''.replace(re, '$<a>') !== '7';
1206 var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {
1207 // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec
1209 var originalExec = re.exec;
1210 re.exec = function () { return originalExec.apply(this, arguments); };
1211 var result = 'ab'.split(re);
1212 return result.length === 2 && result[0] === 'a' && result[1] === 'b';
1215 module.exports = function (KEY, length, exec) {
1216 var SYMBOL = wks(KEY);
1218 var DELEGATES_TO_SYMBOL = !fails(function () {
1219 // String methods call symbol-named RegEp methods
1221 O[SYMBOL] = function () { return 7; };
1222 return ''[KEY](O) != 7;
1225 var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {
1226 // Symbol-named RegExp methods call .exec
1227 var execCalled = false;
1229 re.exec = function () { execCalled = true; return null; };
1230 if (KEY === 'split') {
1231 // RegExp[@@split] doesn't call the regex's exec method, but first creates
1232 // a new one. We need to return the patched regex when creating the new one.
1233 re.constructor = {};
1234 re.constructor[SPECIES] = function () { return re; };
1241 !DELEGATES_TO_SYMBOL ||
1242 !DELEGATES_TO_EXEC ||
1243 (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||
1244 (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)
1246 var nativeRegExpMethod = /./[SYMBOL];
1251 function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {
1252 if (regexp.exec === regexpExec) {
1253 if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
1254 // The native String method already delegates to @@method (this
1255 // polyfilled function), leasing to infinite recursion.
1256 // We avoid it by directly calling the native @@method method.
1257 return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };
1259 return { done: true, value: nativeMethod.call(str, regexp, arg2) };
1261 return { done: false };
1267 redefine(String.prototype, KEY, strfn);
1268 hide(RegExp.prototype, SYMBOL, length == 2
1269 // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)
1270 // 21.2.5.11 RegExp.prototype[@@split](string, limit)
1271 ? function (string, arg) { return rxfn.call(string, this, arg); }
1272 // 21.2.5.6 RegExp.prototype[@@match](string)
1273 // 21.2.5.9 RegExp.prototype[@@search](string)
1274 : function (string) { return rxfn.call(string, this); }
1279 },{"118":118,"120":120,"152":152,"248":248,"57":57,"64":64,"72":72}],66:[function(_dereq_,module,exports){
1281 // 21.2.5.3 get RegExp.prototype.flags
1282 var anObject = _dereq_(38);
1283 module.exports = function () {
1284 var that = anObject(this);
1286 if (that.global) result += 'g';
1287 if (that.ignoreCase) result += 'i';
1288 if (that.multiline) result += 'm';
1289 if (that.unicode) result += 'u';
1290 if (that.sticky) result += 'y';
1294 },{"38":38}],67:[function(_dereq_,module,exports){
1296 // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray
1297 var isArray = _dereq_(79);
1298 var isObject = _dereq_(81);
1299 var toLength = _dereq_(141);
1300 var ctx = _dereq_(54);
1301 var IS_CONCAT_SPREADABLE = _dereq_(152)('isConcatSpreadable');
1303 function flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {
1304 var targetIndex = start;
1305 var sourceIndex = 0;
1306 var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;
1307 var element, spreadable;
1309 while (sourceIndex < sourceLen) {
1310 if (sourceIndex in source) {
1311 element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];
1314 if (isObject(element)) {
1315 spreadable = element[IS_CONCAT_SPREADABLE];
1316 spreadable = spreadable !== undefined ? !!spreadable : isArray(element);
1319 if (spreadable && depth > 0) {
1320 targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;
1322 if (targetIndex >= 0x1fffffffffffff) throw TypeError();
1323 target[targetIndex] = element;
1333 module.exports = flattenIntoArray;
1335 },{"141":141,"152":152,"54":54,"79":79,"81":81}],68:[function(_dereq_,module,exports){
1336 var ctx = _dereq_(54);
1337 var call = _dereq_(83);
1338 var isArrayIter = _dereq_(78);
1339 var anObject = _dereq_(38);
1340 var toLength = _dereq_(141);
1341 var getIterFn = _dereq_(153);
1344 var exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {
1345 var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);
1346 var f = ctx(fn, that, entries ? 2 : 1);
1348 var length, step, iterator, result;
1349 if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');
1350 // fast case for arrays with default iterator
1351 if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {
1352 result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);
1353 if (result === BREAK || result === RETURN) return result;
1354 } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {
1355 result = call(iterator, f, step.value, entries);
1356 if (result === BREAK || result === RETURN) return result;
1359 exports.BREAK = BREAK;
1360 exports.RETURN = RETURN;
1362 },{"141":141,"153":153,"38":38,"54":54,"78":78,"83":83}],69:[function(_dereq_,module,exports){
1363 module.exports = _dereq_(126)('native-function-to-string', Function.toString);
1365 },{"126":126}],70:[function(_dereq_,module,exports){
1366 arguments[4][24][0].apply(exports,arguments)
1367 },{"24":24}],71:[function(_dereq_,module,exports){
1368 arguments[4][25][0].apply(exports,arguments)
1369 },{"25":25}],72:[function(_dereq_,module,exports){
1370 arguments[4][26][0].apply(exports,arguments)
1371 },{"116":116,"26":26,"58":58,"99":99}],73:[function(_dereq_,module,exports){
1372 var document = _dereq_(70).document;
1373 module.exports = document && document.documentElement;
1375 },{"70":70}],74:[function(_dereq_,module,exports){
1376 arguments[4][27][0].apply(exports,arguments)
1377 },{"27":27,"58":58,"59":59,"64":64}],75:[function(_dereq_,module,exports){
1378 var isObject = _dereq_(81);
1379 var setPrototypeOf = _dereq_(122).set;
1380 module.exports = function (that, target, C) {
1381 var S = target.constructor;
1383 if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {
1384 setPrototypeOf(that, P);
1388 },{"122":122,"81":81}],76:[function(_dereq_,module,exports){
1389 // fast apply, http://jsperf.lnkit.com/fast-apply/5
1390 module.exports = function (fn, args, that) {
1391 var un = that === undefined;
1392 switch (args.length) {
1393 case 0: return un ? fn()
1395 case 1: return un ? fn(args[0])
1396 : fn.call(that, args[0]);
1397 case 2: return un ? fn(args[0], args[1])
1398 : fn.call(that, args[0], args[1]);
1399 case 3: return un ? fn(args[0], args[1], args[2])
1400 : fn.call(that, args[0], args[1], args[2]);
1401 case 4: return un ? fn(args[0], args[1], args[2], args[3])
1402 : fn.call(that, args[0], args[1], args[2], args[3]);
1403 } return fn.apply(that, args);
1406 },{}],77:[function(_dereq_,module,exports){
1407 // fallback for non-array-like ES3 and non-enumerable old V8 strings
1408 var cof = _dereq_(48);
1409 // eslint-disable-next-line no-prototype-builtins
1410 module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {
1411 return cof(it) == 'String' ? it.split('') : Object(it);
1414 },{"48":48}],78:[function(_dereq_,module,exports){
1415 // check on default Array iterator
1416 var Iterators = _dereq_(88);
1417 var ITERATOR = _dereq_(152)('iterator');
1418 var ArrayProto = Array.prototype;
1420 module.exports = function (it) {
1421 return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);
1424 },{"152":152,"88":88}],79:[function(_dereq_,module,exports){
1425 // 7.2.2 IsArray(argument)
1426 var cof = _dereq_(48);
1427 module.exports = Array.isArray || function isArray(arg) {
1428 return cof(arg) == 'Array';
1431 },{"48":48}],80:[function(_dereq_,module,exports){
1432 // 20.1.2.3 Number.isInteger(number)
1433 var isObject = _dereq_(81);
1434 var floor = Math.floor;
1435 module.exports = function isInteger(it) {
1436 return !isObject(it) && isFinite(it) && floor(it) === it;
1439 },{"81":81}],81:[function(_dereq_,module,exports){
1440 arguments[4][28][0].apply(exports,arguments)
1441 },{"28":28}],82:[function(_dereq_,module,exports){
1442 // 7.2.8 IsRegExp(argument)
1443 var isObject = _dereq_(81);
1444 var cof = _dereq_(48);
1445 var MATCH = _dereq_(152)('match');
1446 module.exports = function (it) {
1448 return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
1451 },{"152":152,"48":48,"81":81}],83:[function(_dereq_,module,exports){
1452 // call something on iterator step with safe closing on error
1453 var anObject = _dereq_(38);
1454 module.exports = function (iterator, fn, value, entries) {
1456 return entries ? fn(anObject(value)[0], value[1]) : fn(value);
1457 // 7.4.6 IteratorClose(iterator, completion)
1459 var ret = iterator['return'];
1460 if (ret !== undefined) anObject(ret.call(iterator));
1465 },{"38":38}],84:[function(_dereq_,module,exports){
1467 var create = _dereq_(98);
1468 var descriptor = _dereq_(116);
1469 var setToStringTag = _dereq_(124);
1470 var IteratorPrototype = {};
1472 // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()
1473 _dereq_(72)(IteratorPrototype, _dereq_(152)('iterator'), function () { return this; });
1475 module.exports = function (Constructor, NAME, next) {
1476 Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });
1477 setToStringTag(Constructor, NAME + ' Iterator');
1480 },{"116":116,"124":124,"152":152,"72":72,"98":98}],85:[function(_dereq_,module,exports){
1482 var LIBRARY = _dereq_(89);
1483 var $export = _dereq_(62);
1484 var redefine = _dereq_(118);
1485 var hide = _dereq_(72);
1486 var Iterators = _dereq_(88);
1487 var $iterCreate = _dereq_(84);
1488 var setToStringTag = _dereq_(124);
1489 var getPrototypeOf = _dereq_(105);
1490 var ITERATOR = _dereq_(152)('iterator');
1491 var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`
1492 var FF_ITERATOR = '@@iterator';
1494 var VALUES = 'values';
1496 var returnThis = function () { return this; };
1498 module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {
1499 $iterCreate(Constructor, NAME, next);
1500 var getMethod = function (kind) {
1501 if (!BUGGY && kind in proto) return proto[kind];
1503 case KEYS: return function keys() { return new Constructor(this, kind); };
1504 case VALUES: return function values() { return new Constructor(this, kind); };
1505 } return function entries() { return new Constructor(this, kind); };
1507 var TAG = NAME + ' Iterator';
1508 var DEF_VALUES = DEFAULT == VALUES;
1509 var VALUES_BUG = false;
1510 var proto = Base.prototype;
1511 var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];
1512 var $default = $native || getMethod(DEFAULT);
1513 var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;
1514 var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;
1515 var methods, key, IteratorPrototype;
1518 IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));
1519 if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {
1520 // Set @@toStringTag to native iterators
1521 setToStringTag(IteratorPrototype, TAG, true);
1522 // fix for some old engines
1523 if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);
1526 // fix Array#{values, @@iterator}.name in V8 / FF
1527 if (DEF_VALUES && $native && $native.name !== VALUES) {
1529 $default = function values() { return $native.call(this); };
1532 if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {
1533 hide(proto, ITERATOR, $default);
1536 Iterators[NAME] = $default;
1537 Iterators[TAG] = returnThis;
1540 values: DEF_VALUES ? $default : getMethod(VALUES),
1541 keys: IS_SET ? $default : getMethod(KEYS),
1544 if (FORCED) for (key in methods) {
1545 if (!(key in proto)) redefine(proto, key, methods[key]);
1546 } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);
1551 },{"105":105,"118":118,"124":124,"152":152,"62":62,"72":72,"84":84,"88":88,"89":89}],86:[function(_dereq_,module,exports){
1552 var ITERATOR = _dereq_(152)('iterator');
1553 var SAFE_CLOSING = false;
1556 var riter = [7][ITERATOR]();
1557 riter['return'] = function () { SAFE_CLOSING = true; };
1558 // eslint-disable-next-line no-throw-literal
1559 Array.from(riter, function () { throw 2; });
1560 } catch (e) { /* empty */ }
1562 module.exports = function (exec, skipClosing) {
1563 if (!skipClosing && !SAFE_CLOSING) return false;
1567 var iter = arr[ITERATOR]();
1568 iter.next = function () { return { done: safe = true }; };
1569 arr[ITERATOR] = function () { return iter; };
1571 } catch (e) { /* empty */ }
1575 },{"152":152}],87:[function(_dereq_,module,exports){
1576 module.exports = function (done, value) {
1577 return { value: value, done: !!done };
1580 },{}],88:[function(_dereq_,module,exports){
1581 module.exports = {};
1583 },{}],89:[function(_dereq_,module,exports){
1584 module.exports = false;
1586 },{}],90:[function(_dereq_,module,exports){
1587 // 20.2.2.14 Math.expm1(x)
1588 var $expm1 = Math.expm1;
1589 module.exports = (!$expm1
1591 || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168
1593 || $expm1(-2e-17) != -2e-17
1594 ) ? function expm1(x) {
1595 return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;
1598 },{}],91:[function(_dereq_,module,exports){
1599 // 20.2.2.16 Math.fround(x)
1600 var sign = _dereq_(93);
1602 var EPSILON = pow(2, -52);
1603 var EPSILON32 = pow(2, -23);
1604 var MAX32 = pow(2, 127) * (2 - EPSILON32);
1605 var MIN32 = pow(2, -126);
1607 var roundTiesToEven = function (n) {
1608 return n + 1 / EPSILON - 1 / EPSILON;
1611 module.exports = Math.fround || function fround(x) {
1612 var $abs = Math.abs(x);
1613 var $sign = sign(x);
1615 if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;
1616 a = (1 + EPSILON32 / EPSILON) * $abs;
1617 result = a - (a - $abs);
1618 // eslint-disable-next-line no-self-compare
1619 if (result > MAX32 || result != result) return $sign * Infinity;
1620 return $sign * result;
1623 },{"93":93}],92:[function(_dereq_,module,exports){
1624 // 20.2.2.20 Math.log1p(x)
1625 module.exports = Math.log1p || function log1p(x) {
1626 return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);
1629 },{}],93:[function(_dereq_,module,exports){
1630 // 20.2.2.28 Math.sign(x)
1631 module.exports = Math.sign || function sign(x) {
1632 // eslint-disable-next-line no-self-compare
1633 return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;
1636 },{}],94:[function(_dereq_,module,exports){
1637 var META = _dereq_(147)('meta');
1638 var isObject = _dereq_(81);
1639 var has = _dereq_(71);
1640 var setDesc = _dereq_(99).f;
1642 var isExtensible = Object.isExtensible || function () {
1645 var FREEZE = !_dereq_(64)(function () {
1646 return isExtensible(Object.preventExtensions({}));
1648 var setMeta = function (it) {
1649 setDesc(it, META, { value: {
1650 i: 'O' + ++id, // object ID
1651 w: {} // weak collections IDs
1654 var fastKey = function (it, create) {
1655 // return primitive with prefix
1656 if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
1657 if (!has(it, META)) {
1658 // can't set metadata to uncaught frozen object
1659 if (!isExtensible(it)) return 'F';
1660 // not necessary to add metadata
1661 if (!create) return 'E';
1662 // add missing metadata
1665 } return it[META].i;
1667 var getWeak = function (it, create) {
1668 if (!has(it, META)) {
1669 // can't set metadata to uncaught frozen object
1670 if (!isExtensible(it)) return true;
1671 // not necessary to add metadata
1672 if (!create) return false;
1673 // add missing metadata
1675 // return hash weak collections IDs
1676 } return it[META].w;
1678 // add metadata on freeze-family methods calling
1679 var onFreeze = function (it) {
1680 if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);
1683 var meta = module.exports = {
1691 },{"147":147,"64":64,"71":71,"81":81,"99":99}],95:[function(_dereq_,module,exports){
1692 var global = _dereq_(70);
1693 var macrotask = _dereq_(136).set;
1694 var Observer = global.MutationObserver || global.WebKitMutationObserver;
1695 var process = global.process;
1696 var Promise = global.Promise;
1697 var isNode = _dereq_(48)(process) == 'process';
1699 module.exports = function () {
1700 var head, last, notify;
1702 var flush = function () {
1704 if (isNode && (parent = process.domain)) parent.exit();
1712 else last = undefined;
1716 if (parent) parent.enter();
1721 notify = function () {
1722 process.nextTick(flush);
1724 // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339
1725 } else if (Observer && !(global.navigator && global.navigator.standalone)) {
1727 var node = document.createTextNode('');
1728 new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new
1729 notify = function () {
1730 node.data = toggle = !toggle;
1732 // environments with maybe non-completely correct, but existent Promise
1733 } else if (Promise && Promise.resolve) {
1734 // Promise.resolve without an argument throws an error in LG WebOS 2
1735 var promise = Promise.resolve(undefined);
1736 notify = function () {
1737 promise.then(flush);
1739 // for other environments - macrotask based on:
1742 // - window.postMessag
1743 // - onreadystatechange
1746 notify = function () {
1747 // strange IE + webpack dev server bug - use .call(global)
1748 macrotask.call(global, flush);
1752 return function (fn) {
1753 var task = { fn: fn, next: undefined };
1754 if (last) last.next = task;
1762 },{"136":136,"48":48,"70":70}],96:[function(_dereq_,module,exports){
1764 // 25.4.1.5 NewPromiseCapability(C)
1765 var aFunction = _dereq_(33);
1767 function PromiseCapability(C) {
1768 var resolve, reject;
1769 this.promise = new C(function ($$resolve, $$reject) {
1770 if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');
1771 resolve = $$resolve;
1774 this.resolve = aFunction(resolve);
1775 this.reject = aFunction(reject);
1778 module.exports.f = function (C) {
1779 return new PromiseCapability(C);
1782 },{"33":33}],97:[function(_dereq_,module,exports){
1784 // 19.1.2.1 Object.assign(target, source, ...)
1785 var DESCRIPTORS = _dereq_(58);
1786 var getKeys = _dereq_(107);
1787 var gOPS = _dereq_(104);
1788 var pIE = _dereq_(108);
1789 var toObject = _dereq_(142);
1790 var IObject = _dereq_(77);
1791 var $assign = Object.assign;
1793 // should work with symbols and should have deterministic property order (V8 bug)
1794 module.exports = !$assign || _dereq_(64)(function () {
1797 // eslint-disable-next-line no-undef
1799 var K = 'abcdefghijklmnopqrst';
1801 K.split('').forEach(function (k) { B[k] = k; });
1802 return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;
1803 }) ? function assign(target, source) { // eslint-disable-line no-unused-vars
1804 var T = toObject(target);
1805 var aLen = arguments.length;
1807 var getSymbols = gOPS.f;
1809 while (aLen > index) {
1810 var S = IObject(arguments[index++]);
1811 var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);
1812 var length = keys.length;
1815 while (length > j) {
1817 if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];
1822 },{"104":104,"107":107,"108":108,"142":142,"58":58,"64":64,"77":77}],98:[function(_dereq_,module,exports){
1823 // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
1824 var anObject = _dereq_(38);
1825 var dPs = _dereq_(100);
1826 var enumBugKeys = _dereq_(60);
1827 var IE_PROTO = _dereq_(125)('IE_PROTO');
1828 var Empty = function () { /* empty */ };
1829 var PROTOTYPE = 'prototype';
1831 // Create object with fake `null` prototype: use iframe Object with cleared prototype
1832 var createDict = function () {
1833 // Thrash, waste and sodomy: IE GC bug
1834 var iframe = _dereq_(59)('iframe');
1835 var i = enumBugKeys.length;
1839 iframe.style.display = 'none';
1840 _dereq_(73).appendChild(iframe);
1841 iframe.src = 'javascript:'; // eslint-disable-line no-script-url
1842 // createDict = iframe.contentWindow.Object;
1843 // html.removeChild(iframe);
1844 iframeDocument = iframe.contentWindow.document;
1845 iframeDocument.open();
1846 iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);
1847 iframeDocument.close();
1848 createDict = iframeDocument.F;
1849 while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];
1850 return createDict();
1853 module.exports = Object.create || function create(O, Properties) {
1856 Empty[PROTOTYPE] = anObject(O);
1857 result = new Empty();
1858 Empty[PROTOTYPE] = null;
1859 // add "__proto__" for Object.getPrototypeOf polyfill
1860 result[IE_PROTO] = O;
1861 } else result = createDict();
1862 return Properties === undefined ? result : dPs(result, Properties);
1865 },{"100":100,"125":125,"38":38,"59":59,"60":60,"73":73}],99:[function(_dereq_,module,exports){
1866 arguments[4][29][0].apply(exports,arguments)
1867 },{"143":143,"29":29,"38":38,"58":58,"74":74}],100:[function(_dereq_,module,exports){
1868 var dP = _dereq_(99);
1869 var anObject = _dereq_(38);
1870 var getKeys = _dereq_(107);
1872 module.exports = _dereq_(58) ? Object.defineProperties : function defineProperties(O, Properties) {
1874 var keys = getKeys(Properties);
1875 var length = keys.length;
1878 while (length > i) dP.f(O, P = keys[i++], Properties[P]);
1882 },{"107":107,"38":38,"58":58,"99":99}],101:[function(_dereq_,module,exports){
1883 var pIE = _dereq_(108);
1884 var createDesc = _dereq_(116);
1885 var toIObject = _dereq_(140);
1886 var toPrimitive = _dereq_(143);
1887 var has = _dereq_(71);
1888 var IE8_DOM_DEFINE = _dereq_(74);
1889 var gOPD = Object.getOwnPropertyDescriptor;
1891 exports.f = _dereq_(58) ? gOPD : function getOwnPropertyDescriptor(O, P) {
1893 P = toPrimitive(P, true);
1894 if (IE8_DOM_DEFINE) try {
1896 } catch (e) { /* empty */ }
1897 if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);
1900 },{"108":108,"116":116,"140":140,"143":143,"58":58,"71":71,"74":74}],102:[function(_dereq_,module,exports){
1901 // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
1902 var toIObject = _dereq_(140);
1903 var gOPN = _dereq_(103).f;
1904 var toString = {}.toString;
1906 var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames
1907 ? Object.getOwnPropertyNames(window) : [];
1909 var getWindowNames = function (it) {
1913 return windowNames.slice();
1917 module.exports.f = function getOwnPropertyNames(it) {
1918 return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));
1921 },{"103":103,"140":140}],103:[function(_dereq_,module,exports){
1922 // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)
1923 var $keys = _dereq_(106);
1924 var hiddenKeys = _dereq_(60).concat('length', 'prototype');
1926 exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1927 return $keys(O, hiddenKeys);
1930 },{"106":106,"60":60}],104:[function(_dereq_,module,exports){
1931 exports.f = Object.getOwnPropertySymbols;
1933 },{}],105:[function(_dereq_,module,exports){
1934 // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)
1935 var has = _dereq_(71);
1936 var toObject = _dereq_(142);
1937 var IE_PROTO = _dereq_(125)('IE_PROTO');
1938 var ObjectProto = Object.prototype;
1940 module.exports = Object.getPrototypeOf || function (O) {
1942 if (has(O, IE_PROTO)) return O[IE_PROTO];
1943 if (typeof O.constructor == 'function' && O instanceof O.constructor) {
1944 return O.constructor.prototype;
1945 } return O instanceof Object ? ObjectProto : null;
1948 },{"125":125,"142":142,"71":71}],106:[function(_dereq_,module,exports){
1949 var has = _dereq_(71);
1950 var toIObject = _dereq_(140);
1951 var arrayIndexOf = _dereq_(41)(false);
1952 var IE_PROTO = _dereq_(125)('IE_PROTO');
1954 module.exports = function (object, names) {
1955 var O = toIObject(object);
1959 for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);
1960 // Don't enum bug & hidden keys
1961 while (names.length > i) if (has(O, key = names[i++])) {
1962 ~arrayIndexOf(result, key) || result.push(key);
1967 },{"125":125,"140":140,"41":41,"71":71}],107:[function(_dereq_,module,exports){
1968 // 19.1.2.14 / 15.2.3.14 Object.keys(O)
1969 var $keys = _dereq_(106);
1970 var enumBugKeys = _dereq_(60);
1972 module.exports = Object.keys || function keys(O) {
1973 return $keys(O, enumBugKeys);
1976 },{"106":106,"60":60}],108:[function(_dereq_,module,exports){
1977 exports.f = {}.propertyIsEnumerable;
1979 },{}],109:[function(_dereq_,module,exports){
1980 // most Object methods by ES6 should accept primitives
1981 var $export = _dereq_(62);
1982 var core = _dereq_(52);
1983 var fails = _dereq_(64);
1984 module.exports = function (KEY, exec) {
1985 var fn = (core.Object || {})[KEY] || Object[KEY];
1987 exp[KEY] = exec(fn);
1988 $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);
1991 },{"52":52,"62":62,"64":64}],110:[function(_dereq_,module,exports){
1992 var DESCRIPTORS = _dereq_(58);
1993 var getKeys = _dereq_(107);
1994 var toIObject = _dereq_(140);
1995 var isEnum = _dereq_(108).f;
1996 module.exports = function (isEntries) {
1997 return function (it) {
1998 var O = toIObject(it);
1999 var keys = getKeys(O);
2000 var length = keys.length;
2004 while (length > i) {
2006 if (!DESCRIPTORS || isEnum.call(O, key)) {
2007 result.push(isEntries ? [key, O[key]] : O[key]);
2014 },{"107":107,"108":108,"140":140,"58":58}],111:[function(_dereq_,module,exports){
2015 // all object keys, includes non-enumerable and symbols
2016 var gOPN = _dereq_(103);
2017 var gOPS = _dereq_(104);
2018 var anObject = _dereq_(38);
2019 var Reflect = _dereq_(70).Reflect;
2020 module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {
2021 var keys = gOPN.f(anObject(it));
2022 var getSymbols = gOPS.f;
2023 return getSymbols ? keys.concat(getSymbols(it)) : keys;
2026 },{"103":103,"104":104,"38":38,"70":70}],112:[function(_dereq_,module,exports){
2027 var $parseFloat = _dereq_(70).parseFloat;
2028 var $trim = _dereq_(134).trim;
2030 module.exports = 1 / $parseFloat(_dereq_(135) + '-0') !== -Infinity ? function parseFloat(str) {
2031 var string = $trim(String(str), 3);
2032 var result = $parseFloat(string);
2033 return result === 0 && string.charAt(0) == '-' ? -0 : result;
2036 },{"134":134,"135":135,"70":70}],113:[function(_dereq_,module,exports){
2037 var $parseInt = _dereq_(70).parseInt;
2038 var $trim = _dereq_(134).trim;
2039 var ws = _dereq_(135);
2040 var hex = /^[-+]?0[xX]/;
2042 module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) {
2043 var string = $trim(String(str), 3);
2044 return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));
2047 },{"134":134,"135":135,"70":70}],114:[function(_dereq_,module,exports){
2048 module.exports = function (exec) {
2050 return { e: false, v: exec() };
2052 return { e: true, v: e };
2056 },{}],115:[function(_dereq_,module,exports){
2057 var anObject = _dereq_(38);
2058 var isObject = _dereq_(81);
2059 var newPromiseCapability = _dereq_(96);
2061 module.exports = function (C, x) {
2063 if (isObject(x) && x.constructor === C) return x;
2064 var promiseCapability = newPromiseCapability.f(C);
2065 var resolve = promiseCapability.resolve;
2067 return promiseCapability.promise;
2070 },{"38":38,"81":81,"96":96}],116:[function(_dereq_,module,exports){
2071 arguments[4][30][0].apply(exports,arguments)
2072 },{"30":30}],117:[function(_dereq_,module,exports){
2073 var redefine = _dereq_(118);
2074 module.exports = function (target, src, safe) {
2075 for (var key in src) redefine(target, key, src[key], safe);
2079 },{"118":118}],118:[function(_dereq_,module,exports){
2080 var global = _dereq_(70);
2081 var hide = _dereq_(72);
2082 var has = _dereq_(71);
2083 var SRC = _dereq_(147)('src');
2084 var $toString = _dereq_(69);
2085 var TO_STRING = 'toString';
2086 var TPL = ('' + $toString).split(TO_STRING);
2088 _dereq_(52).inspectSource = function (it) {
2089 return $toString.call(it);
2092 (module.exports = function (O, key, val, safe) {
2093 var isFunction = typeof val == 'function';
2094 if (isFunction) has(val, 'name') || hide(val, 'name', key);
2095 if (O[key] === val) return;
2096 if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));
2102 } else if (O[key]) {
2107 // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
2108 })(Function.prototype, TO_STRING, function toString() {
2109 return typeof this == 'function' && this[SRC] || $toString.call(this);
2112 },{"147":147,"52":52,"69":69,"70":70,"71":71,"72":72}],119:[function(_dereq_,module,exports){
2115 var classof = _dereq_(47);
2116 var builtinExec = RegExp.prototype.exec;
2118 // `RegExpExec` abstract operation
2119 // https://tc39.github.io/ecma262/#sec-regexpexec
2120 module.exports = function (R, S) {
2122 if (typeof exec === 'function') {
2123 var result = exec.call(R, S);
2124 if (typeof result !== 'object') {
2125 throw new TypeError('RegExp exec method returned something other than an Object or null');
2129 if (classof(R) !== 'RegExp') {
2130 throw new TypeError('RegExp#exec called on incompatible receiver');
2132 return builtinExec.call(R, S);
2135 },{"47":47}],120:[function(_dereq_,module,exports){
2138 var regexpFlags = _dereq_(66);
2140 var nativeExec = RegExp.prototype.exec;
2141 // This always refers to the native implementation, because the
2142 // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,
2143 // which loads this file before patching the method.
2144 var nativeReplace = String.prototype.replace;
2146 var patchedExec = nativeExec;
2148 var LAST_INDEX = 'lastIndex';
2150 var UPDATES_LAST_INDEX_WRONG = (function () {
2153 nativeExec.call(re1, 'a');
2154 nativeExec.call(re2, 'a');
2155 return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;
2158 // nonparticipating capturing group, copied from es5-shim's String#split patch.
2159 var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;
2161 var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;
2164 patchedExec = function exec(str) {
2166 var lastIndex, reCopy, match, i;
2168 if (NPCG_INCLUDED) {
2169 reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re));
2171 if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];
2173 match = nativeExec.call(re, str);
2175 if (UPDATES_LAST_INDEX_WRONG && match) {
2176 re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;
2178 if (NPCG_INCLUDED && match && match.length > 1) {
2179 // Fix browsers whose `exec` methods don't consistently return `undefined`
2180 // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
2181 // eslint-disable-next-line no-loop-func
2182 nativeReplace.call(match[0], reCopy, function () {
2183 for (i = 1; i < arguments.length - 2; i++) {
2184 if (arguments[i] === undefined) match[i] = undefined;
2193 module.exports = patchedExec;
2195 },{"66":66}],121:[function(_dereq_,module,exports){
2196 // 7.2.9 SameValue(x, y)
2197 module.exports = Object.is || function is(x, y) {
2198 // eslint-disable-next-line no-self-compare
2199 return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
2202 },{}],122:[function(_dereq_,module,exports){
2203 // Works with __proto__ only. Old v8 can't work with null proto objects.
2204 /* eslint-disable no-proto */
2205 var isObject = _dereq_(81);
2206 var anObject = _dereq_(38);
2207 var check = function (O, proto) {
2209 if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!");
2212 set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line
2213 function (test, buggy, set) {
2215 set = _dereq_(54)(Function.call, _dereq_(101).f(Object.prototype, '__proto__').set, 2);
2217 buggy = !(test instanceof Array);
2218 } catch (e) { buggy = true; }
2219 return function setPrototypeOf(O, proto) {
2221 if (buggy) O.__proto__ = proto;
2225 }({}, false) : undefined),
2229 },{"101":101,"38":38,"54":54,"81":81}],123:[function(_dereq_,module,exports){
2231 var global = _dereq_(70);
2232 var dP = _dereq_(99);
2233 var DESCRIPTORS = _dereq_(58);
2234 var SPECIES = _dereq_(152)('species');
2236 module.exports = function (KEY) {
2237 var C = global[KEY];
2238 if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {
2240 get: function () { return this; }
2244 },{"152":152,"58":58,"70":70,"99":99}],124:[function(_dereq_,module,exports){
2245 var def = _dereq_(99).f;
2246 var has = _dereq_(71);
2247 var TAG = _dereq_(152)('toStringTag');
2249 module.exports = function (it, tag, stat) {
2250 if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });
2253 },{"152":152,"71":71,"99":99}],125:[function(_dereq_,module,exports){
2254 var shared = _dereq_(126)('keys');
2255 var uid = _dereq_(147);
2256 module.exports = function (key) {
2257 return shared[key] || (shared[key] = uid(key));
2260 },{"126":126,"147":147}],126:[function(_dereq_,module,exports){
2261 var core = _dereq_(52);
2262 var global = _dereq_(70);
2263 var SHARED = '__core-js_shared__';
2264 var store = global[SHARED] || (global[SHARED] = {});
2266 (module.exports = function (key, value) {
2267 return store[key] || (store[key] = value !== undefined ? value : {});
2268 })('versions', []).push({
2269 version: core.version,
2270 mode: _dereq_(89) ? 'pure' : 'global',
2271 copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
2274 },{"52":52,"70":70,"89":89}],127:[function(_dereq_,module,exports){
2275 // 7.3.20 SpeciesConstructor(O, defaultConstructor)
2276 var anObject = _dereq_(38);
2277 var aFunction = _dereq_(33);
2278 var SPECIES = _dereq_(152)('species');
2279 module.exports = function (O, D) {
2280 var C = anObject(O).constructor;
2282 return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);
2285 },{"152":152,"33":33,"38":38}],128:[function(_dereq_,module,exports){
2287 var fails = _dereq_(64);
2289 module.exports = function (method, arg) {
2290 return !!method && fails(function () {
2291 // eslint-disable-next-line no-useless-call
2292 arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);
2296 },{"64":64}],129:[function(_dereq_,module,exports){
2297 var toInteger = _dereq_(139);
2298 var defined = _dereq_(57);
2299 // true -> String#at
2300 // false -> String#codePointAt
2301 module.exports = function (TO_STRING) {
2302 return function (that, pos) {
2303 var s = String(defined(that));
2304 var i = toInteger(pos);
2307 if (i < 0 || i >= l) return TO_STRING ? '' : undefined;
2308 a = s.charCodeAt(i);
2309 return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff
2310 ? TO_STRING ? s.charAt(i) : a
2311 : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;
2315 },{"139":139,"57":57}],130:[function(_dereq_,module,exports){
2316 // helper for String#{startsWith, endsWith, includes}
2317 var isRegExp = _dereq_(82);
2318 var defined = _dereq_(57);
2320 module.exports = function (that, searchString, NAME) {
2321 if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!");
2322 return String(defined(that));
2325 },{"57":57,"82":82}],131:[function(_dereq_,module,exports){
2326 var $export = _dereq_(62);
2327 var fails = _dereq_(64);
2328 var defined = _dereq_(57);
2330 // B.2.3.2.1 CreateHTML(string, tag, attribute, value)
2331 var createHTML = function (string, tag, attribute, value) {
2332 var S = String(defined(string));
2334 if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"';
2335 return p1 + '>' + S + '</' + tag + '>';
2337 module.exports = function (NAME, exec) {
2339 O[NAME] = exec(createHTML);
2340 $export($export.P + $export.F * fails(function () {
2341 var test = ''[NAME]('"');
2342 return test !== test.toLowerCase() || test.split('"').length > 3;
2346 },{"57":57,"62":62,"64":64}],132:[function(_dereq_,module,exports){
2347 // https://github.com/tc39/proposal-string-pad-start-end
2348 var toLength = _dereq_(141);
2349 var repeat = _dereq_(133);
2350 var defined = _dereq_(57);
2352 module.exports = function (that, maxLength, fillString, left) {
2353 var S = String(defined(that));
2354 var stringLength = S.length;
2355 var fillStr = fillString === undefined ? ' ' : String(fillString);
2356 var intMaxLength = toLength(maxLength);
2357 if (intMaxLength <= stringLength || fillStr == '') return S;
2358 var fillLen = intMaxLength - stringLength;
2359 var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));
2360 if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);
2361 return left ? stringFiller + S : S + stringFiller;
2364 },{"133":133,"141":141,"57":57}],133:[function(_dereq_,module,exports){
2366 var toInteger = _dereq_(139);
2367 var defined = _dereq_(57);
2369 module.exports = function repeat(count) {
2370 var str = String(defined(this));
2372 var n = toInteger(count);
2373 if (n < 0 || n == Infinity) throw RangeError("Count can't be negative");
2374 for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str;
2378 },{"139":139,"57":57}],134:[function(_dereq_,module,exports){
2379 var $export = _dereq_(62);
2380 var defined = _dereq_(57);
2381 var fails = _dereq_(64);
2382 var spaces = _dereq_(135);
2383 var space = '[' + spaces + ']';
2384 var non = '\u200b\u0085';
2385 var ltrim = RegExp('^' + space + space + '*');
2386 var rtrim = RegExp(space + space + '*$');
2388 var exporter = function (KEY, exec, ALIAS) {
2390 var FORCE = fails(function () {
2391 return !!spaces[KEY]() || non[KEY]() != non;
2393 var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];
2394 if (ALIAS) exp[ALIAS] = fn;
2395 $export($export.P + $export.F * FORCE, 'String', exp);
2398 // 1 -> String#trimLeft
2399 // 2 -> String#trimRight
2401 var trim = exporter.trim = function (string, TYPE) {
2402 string = String(defined(string));
2403 if (TYPE & 1) string = string.replace(ltrim, '');
2404 if (TYPE & 2) string = string.replace(rtrim, '');
2408 module.exports = exporter;
2410 },{"135":135,"57":57,"62":62,"64":64}],135:[function(_dereq_,module,exports){
2411 module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' +
2412 '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
2414 },{}],136:[function(_dereq_,module,exports){
2415 var ctx = _dereq_(54);
2416 var invoke = _dereq_(76);
2417 var html = _dereq_(73);
2418 var cel = _dereq_(59);
2419 var global = _dereq_(70);
2420 var process = global.process;
2421 var setTask = global.setImmediate;
2422 var clearTask = global.clearImmediate;
2423 var MessageChannel = global.MessageChannel;
2424 var Dispatch = global.Dispatch;
2427 var ONREADYSTATECHANGE = 'onreadystatechange';
2428 var defer, channel, port;
2429 var run = function () {
2431 // eslint-disable-next-line no-prototype-builtins
2432 if (queue.hasOwnProperty(id)) {
2438 var listener = function (event) {
2439 run.call(event.data);
2441 // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
2442 if (!setTask || !clearTask) {
2443 setTask = function setImmediate(fn) {
2446 while (arguments.length > i) args.push(arguments[i++]);
2447 queue[++counter] = function () {
2448 // eslint-disable-next-line no-new-func
2449 invoke(typeof fn == 'function' ? fn : Function(fn), args);
2454 clearTask = function clearImmediate(id) {
2458 if (_dereq_(48)(process) == 'process') {
2459 defer = function (id) {
2460 process.nextTick(ctx(run, id, 1));
2462 // Sphere (JS game engine) Dispatch API
2463 } else if (Dispatch && Dispatch.now) {
2464 defer = function (id) {
2465 Dispatch.now(ctx(run, id, 1));
2467 // Browsers with MessageChannel, includes WebWorkers
2468 } else if (MessageChannel) {
2469 channel = new MessageChannel();
2470 port = channel.port2;
2471 channel.port1.onmessage = listener;
2472 defer = ctx(port.postMessage, port, 1);
2473 // Browsers with postMessage, skip WebWorkers
2474 // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
2475 } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {
2476 defer = function (id) {
2477 global.postMessage(id + '', '*');
2479 global.addEventListener('message', listener, false);
2481 } else if (ONREADYSTATECHANGE in cel('script')) {
2482 defer = function (id) {
2483 html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {
2484 html.removeChild(this);
2488 // Rest old browsers
2490 defer = function (id) {
2491 setTimeout(ctx(run, id, 1), 0);
2500 },{"48":48,"54":54,"59":59,"70":70,"73":73,"76":76}],137:[function(_dereq_,module,exports){
2501 var toInteger = _dereq_(139);
2504 module.exports = function (index, length) {
2505 index = toInteger(index);
2506 return index < 0 ? max(index + length, 0) : min(index, length);
2509 },{"139":139}],138:[function(_dereq_,module,exports){
2510 // https://tc39.github.io/ecma262/#sec-toindex
2511 var toInteger = _dereq_(139);
2512 var toLength = _dereq_(141);
2513 module.exports = function (it) {
2514 if (it === undefined) return 0;
2515 var number = toInteger(it);
2516 var length = toLength(number);
2517 if (number !== length) throw RangeError('Wrong length!');
2521 },{"139":139,"141":141}],139:[function(_dereq_,module,exports){
2523 var ceil = Math.ceil;
2524 var floor = Math.floor;
2525 module.exports = function (it) {
2526 return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);
2529 },{}],140:[function(_dereq_,module,exports){
2530 // to indexed object, toObject with fallback for non-array-like ES3 strings
2531 var IObject = _dereq_(77);
2532 var defined = _dereq_(57);
2533 module.exports = function (it) {
2534 return IObject(defined(it));
2537 },{"57":57,"77":77}],141:[function(_dereq_,module,exports){
2539 var toInteger = _dereq_(139);
2541 module.exports = function (it) {
2542 return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991
2545 },{"139":139}],142:[function(_dereq_,module,exports){
2546 // 7.1.13 ToObject(argument)
2547 var defined = _dereq_(57);
2548 module.exports = function (it) {
2549 return Object(defined(it));
2552 },{"57":57}],143:[function(_dereq_,module,exports){
2553 arguments[4][31][0].apply(exports,arguments)
2554 },{"31":31,"81":81}],144:[function(_dereq_,module,exports){
2557 var LIBRARY = _dereq_(89);
2558 var global = _dereq_(70);
2559 var fails = _dereq_(64);
2560 var $export = _dereq_(62);
2561 var $typed = _dereq_(146);
2562 var $buffer = _dereq_(145);
2563 var ctx = _dereq_(54);
2564 var anInstance = _dereq_(37);
2565 var propertyDesc = _dereq_(116);
2566 var hide = _dereq_(72);
2567 var redefineAll = _dereq_(117);
2568 var toInteger = _dereq_(139);
2569 var toLength = _dereq_(141);
2570 var toIndex = _dereq_(138);
2571 var toAbsoluteIndex = _dereq_(137);
2572 var toPrimitive = _dereq_(143);
2573 var has = _dereq_(71);
2574 var classof = _dereq_(47);
2575 var isObject = _dereq_(81);
2576 var toObject = _dereq_(142);
2577 var isArrayIter = _dereq_(78);
2578 var create = _dereq_(98);
2579 var getPrototypeOf = _dereq_(105);
2580 var gOPN = _dereq_(103).f;
2581 var getIterFn = _dereq_(153);
2582 var uid = _dereq_(147);
2583 var wks = _dereq_(152);
2584 var createArrayMethod = _dereq_(42);
2585 var createArrayIncludes = _dereq_(41);
2586 var speciesConstructor = _dereq_(127);
2587 var ArrayIterators = _dereq_(164);
2588 var Iterators = _dereq_(88);
2589 var $iterDetect = _dereq_(86);
2590 var setSpecies = _dereq_(123);
2591 var arrayFill = _dereq_(40);
2592 var arrayCopyWithin = _dereq_(39);
2593 var $DP = _dereq_(99);
2594 var $GOPD = _dereq_(101);
2597 var RangeError = global.RangeError;
2598 var TypeError = global.TypeError;
2599 var Uint8Array = global.Uint8Array;
2600 var ARRAY_BUFFER = 'ArrayBuffer';
2601 var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER;
2602 var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';
2603 var PROTOTYPE = 'prototype';
2604 var ArrayProto = Array[PROTOTYPE];
2605 var $ArrayBuffer = $buffer.ArrayBuffer;
2606 var $DataView = $buffer.DataView;
2607 var arrayForEach = createArrayMethod(0);
2608 var arrayFilter = createArrayMethod(2);
2609 var arraySome = createArrayMethod(3);
2610 var arrayEvery = createArrayMethod(4);
2611 var arrayFind = createArrayMethod(5);
2612 var arrayFindIndex = createArrayMethod(6);
2613 var arrayIncludes = createArrayIncludes(true);
2614 var arrayIndexOf = createArrayIncludes(false);
2615 var arrayValues = ArrayIterators.values;
2616 var arrayKeys = ArrayIterators.keys;
2617 var arrayEntries = ArrayIterators.entries;
2618 var arrayLastIndexOf = ArrayProto.lastIndexOf;
2619 var arrayReduce = ArrayProto.reduce;
2620 var arrayReduceRight = ArrayProto.reduceRight;
2621 var arrayJoin = ArrayProto.join;
2622 var arraySort = ArrayProto.sort;
2623 var arraySlice = ArrayProto.slice;
2624 var arrayToString = ArrayProto.toString;
2625 var arrayToLocaleString = ArrayProto.toLocaleString;
2626 var ITERATOR = wks('iterator');
2627 var TAG = wks('toStringTag');
2628 var TYPED_CONSTRUCTOR = uid('typed_constructor');
2629 var DEF_CONSTRUCTOR = uid('def_constructor');
2630 var ALL_CONSTRUCTORS = $typed.CONSTR;
2631 var TYPED_ARRAY = $typed.TYPED;
2632 var VIEW = $typed.VIEW;
2633 var WRONG_LENGTH = 'Wrong length!';
2635 var $map = createArrayMethod(1, function (O, length) {
2636 return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length);
2639 var LITTLE_ENDIAN = fails(function () {
2640 // eslint-disable-next-line no-undef
2641 return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;
2644 var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () {
2645 new Uint8Array(1).set({});
2648 var toOffset = function (it, BYTES) {
2649 var offset = toInteger(it);
2650 if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!');
2654 var validate = function (it) {
2655 if (isObject(it) && TYPED_ARRAY in it) return it;
2656 throw TypeError(it + ' is not a typed array!');
2659 var allocate = function (C, length) {
2660 if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) {
2661 throw TypeError('It is not a typed array constructor!');
2662 } return new C(length);
2665 var speciesFromList = function (O, list) {
2666 return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);
2669 var fromList = function (C, list) {
2671 var length = list.length;
2672 var result = allocate(C, length);
2673 while (length > index) result[index] = list[index++];
2677 var addGetter = function (it, key, internal) {
2678 dP(it, key, { get: function () { return this._d[internal]; } });
2681 var $from = function from(source /* , mapfn, thisArg */) {
2682 var O = toObject(source);
2683 var aLen = arguments.length;
2684 var mapfn = aLen > 1 ? arguments[1] : undefined;
2685 var mapping = mapfn !== undefined;
2686 var iterFn = getIterFn(O);
2687 var i, length, values, result, step, iterator;
2688 if (iterFn != undefined && !isArrayIter(iterFn)) {
2689 for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) {
2690 values.push(step.value);
2693 if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2);
2694 for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) {
2695 result[i] = mapping ? mapfn(O[i], i) : O[i];
2700 var $of = function of(/* ...items */) {
2702 var length = arguments.length;
2703 var result = allocate(this, length);
2704 while (length > index) result[index] = arguments[index++];
2708 // iOS Safari 6.x fails here
2709 var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); });
2711 var $toLocaleString = function toLocaleString() {
2712 return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);
2716 copyWithin: function copyWithin(target, start /* , end */) {
2717 return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined);
2719 every: function every(callbackfn /* , thisArg */) {
2720 return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
2722 fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars
2723 return arrayFill.apply(validate(this), arguments);
2725 filter: function filter(callbackfn /* , thisArg */) {
2726 return speciesFromList(this, arrayFilter(validate(this), callbackfn,
2727 arguments.length > 1 ? arguments[1] : undefined));
2729 find: function find(predicate /* , thisArg */) {
2730 return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
2732 findIndex: function findIndex(predicate /* , thisArg */) {
2733 return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);
2735 forEach: function forEach(callbackfn /* , thisArg */) {
2736 arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
2738 indexOf: function indexOf(searchElement /* , fromIndex */) {
2739 return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
2741 includes: function includes(searchElement /* , fromIndex */) {
2742 return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);
2744 join: function join(separator) { // eslint-disable-line no-unused-vars
2745 return arrayJoin.apply(validate(this), arguments);
2747 lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars
2748 return arrayLastIndexOf.apply(validate(this), arguments);
2750 map: function map(mapfn /* , thisArg */) {
2751 return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);
2753 reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars
2754 return arrayReduce.apply(validate(this), arguments);
2756 reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars
2757 return arrayReduceRight.apply(validate(this), arguments);
2759 reverse: function reverse() {
2761 var length = validate(that).length;
2762 var middle = Math.floor(length / 2);
2765 while (index < middle) {
2766 value = that[index];
2767 that[index++] = that[--length];
2768 that[length] = value;
2771 some: function some(callbackfn /* , thisArg */) {
2772 return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);
2774 sort: function sort(comparefn) {
2775 return arraySort.call(validate(this), comparefn);
2777 subarray: function subarray(begin, end) {
2778 var O = validate(this);
2779 var length = O.length;
2780 var $begin = toAbsoluteIndex(begin, length);
2781 return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(
2783 O.byteOffset + $begin * O.BYTES_PER_ELEMENT,
2784 toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin)
2789 var $slice = function slice(start, end) {
2790 return speciesFromList(this, arraySlice.call(validate(this), start, end));
2793 var $set = function set(arrayLike /* , offset */) {
2795 var offset = toOffset(arguments[1], 1);
2796 var length = this.length;
2797 var src = toObject(arrayLike);
2798 var len = toLength(src.length);
2800 if (len + offset > length) throw RangeError(WRONG_LENGTH);
2801 while (index < len) this[offset + index] = src[index++];
2805 entries: function entries() {
2806 return arrayEntries.call(validate(this));
2808 keys: function keys() {
2809 return arrayKeys.call(validate(this));
2811 values: function values() {
2812 return arrayValues.call(validate(this));
2816 var isTAIndex = function (target, key) {
2817 return isObject(target)
2818 && target[TYPED_ARRAY]
2819 && typeof key != 'symbol'
2821 && String(+key) == String(key);
2823 var $getDesc = function getOwnPropertyDescriptor(target, key) {
2824 return isTAIndex(target, key = toPrimitive(key, true))
2825 ? propertyDesc(2, target[key])
2826 : gOPD(target, key);
2828 var $setDesc = function defineProperty(target, key, desc) {
2829 if (isTAIndex(target, key = toPrimitive(key, true))
2831 && has(desc, 'value')
2832 && !has(desc, 'get')
2833 && !has(desc, 'set')
2834 // TODO: add validation descriptor w/o calling accessors
2835 && !desc.configurable
2836 && (!has(desc, 'writable') || desc.writable)
2837 && (!has(desc, 'enumerable') || desc.enumerable)
2839 target[key] = desc.value;
2841 } return dP(target, key, desc);
2844 if (!ALL_CONSTRUCTORS) {
2849 $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', {
2850 getOwnPropertyDescriptor: $getDesc,
2851 defineProperty: $setDesc
2854 if (fails(function () { arrayToString.call({}); })) {
2855 arrayToString = arrayToLocaleString = function toString() {
2856 return arrayJoin.call(this);
2860 var $TypedArrayPrototype$ = redefineAll({}, proto);
2861 redefineAll($TypedArrayPrototype$, $iterators);
2862 hide($TypedArrayPrototype$, ITERATOR, $iterators.values);
2863 redefineAll($TypedArrayPrototype$, {
2866 constructor: function () { /* noop */ },
2867 toString: arrayToString,
2868 toLocaleString: $toLocaleString
2870 addGetter($TypedArrayPrototype$, 'buffer', 'b');
2871 addGetter($TypedArrayPrototype$, 'byteOffset', 'o');
2872 addGetter($TypedArrayPrototype$, 'byteLength', 'l');
2873 addGetter($TypedArrayPrototype$, 'length', 'e');
2874 dP($TypedArrayPrototype$, TAG, {
2875 get: function () { return this[TYPED_ARRAY]; }
2878 // eslint-disable-next-line max-statements
2879 module.exports = function (KEY, BYTES, wrapper, CLAMPED) {
2880 CLAMPED = !!CLAMPED;
2881 var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array';
2882 var GETTER = 'get' + KEY;
2883 var SETTER = 'set' + KEY;
2884 var TypedArray = global[NAME];
2885 var Base = TypedArray || {};
2886 var TAC = TypedArray && getPrototypeOf(TypedArray);
2887 var FORCED = !TypedArray || !$typed.ABV;
2889 var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];
2890 var getter = function (that, index) {
2892 return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN);
2894 var setter = function (that, index, value) {
2896 if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff;
2897 data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN);
2899 var addElement = function (that, index) {
2902 return getter(this, index);
2904 set: function (value) {
2905 return setter(this, index, value);
2911 TypedArray = wrapper(function (that, data, $offset, $length) {
2912 anInstance(that, TypedArray, NAME, '_d');
2915 var buffer, byteLength, length, klass;
2916 if (!isObject(data)) {
2917 length = toIndex(data);
2918 byteLength = length * BYTES;
2919 buffer = new $ArrayBuffer(byteLength);
2920 } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {
2922 offset = toOffset($offset, BYTES);
2923 var $len = data.byteLength;
2924 if ($length === undefined) {
2925 if ($len % BYTES) throw RangeError(WRONG_LENGTH);
2926 byteLength = $len - offset;
2927 if (byteLength < 0) throw RangeError(WRONG_LENGTH);
2929 byteLength = toLength($length) * BYTES;
2930 if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH);
2932 length = byteLength / BYTES;
2933 } else if (TYPED_ARRAY in data) {
2934 return fromList(TypedArray, data);
2936 return $from.call(TypedArray, data);
2943 v: new $DataView(buffer)
2945 while (index < length) addElement(that, index++);
2947 TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$);
2948 hide(TypedArrayPrototype, 'constructor', TypedArray);
2949 } else if (!fails(function () {
2951 }) || !fails(function () {
2952 new TypedArray(-1); // eslint-disable-line no-new
2953 }) || !$iterDetect(function (iter) {
2954 new TypedArray(); // eslint-disable-line no-new
2955 new TypedArray(null); // eslint-disable-line no-new
2956 new TypedArray(1.5); // eslint-disable-line no-new
2957 new TypedArray(iter); // eslint-disable-line no-new
2959 TypedArray = wrapper(function (that, data, $offset, $length) {
2960 anInstance(that, TypedArray, NAME);
2962 // `ws` module bug, temporarily remove validation length for Uint8Array
2963 // https://github.com/websockets/ws/pull/645
2964 if (!isObject(data)) return new Base(toIndex(data));
2965 if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {
2966 return $length !== undefined
2967 ? new Base(data, toOffset($offset, BYTES), $length)
2968 : $offset !== undefined
2969 ? new Base(data, toOffset($offset, BYTES))
2972 if (TYPED_ARRAY in data) return fromList(TypedArray, data);
2973 return $from.call(TypedArray, data);
2975 arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) {
2976 if (!(key in TypedArray)) hide(TypedArray, key, Base[key]);
2978 TypedArray[PROTOTYPE] = TypedArrayPrototype;
2979 if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray;
2981 var $nativeIterator = TypedArrayPrototype[ITERATOR];
2982 var CORRECT_ITER_NAME = !!$nativeIterator
2983 && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined);
2984 var $iterator = $iterators.values;
2985 hide(TypedArray, TYPED_CONSTRUCTOR, true);
2986 hide(TypedArrayPrototype, TYPED_ARRAY, NAME);
2987 hide(TypedArrayPrototype, VIEW, true);
2988 hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);
2990 if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) {
2991 dP(TypedArrayPrototype, TAG, {
2992 get: function () { return NAME; }
2996 O[NAME] = TypedArray;
2998 $export($export.G + $export.W + $export.F * (TypedArray != Base), O);
3000 $export($export.S, NAME, {
3001 BYTES_PER_ELEMENT: BYTES
3004 $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, {
3009 if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);
3011 $export($export.P, NAME, proto);
3015 $export($export.P + $export.F * FORCED_SET, NAME, { set: $set });
3017 $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);
3019 if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString;
3021 $export($export.P + $export.F * fails(function () {
3022 new TypedArray(1).slice();
3023 }), NAME, { slice: $slice });
3025 $export($export.P + $export.F * (fails(function () {
3026 return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString();
3027 }) || !fails(function () {
3028 TypedArrayPrototype.toLocaleString.call([1, 2]);
3029 })), NAME, { toLocaleString: $toLocaleString });
3031 Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;
3032 if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator);
3034 } else module.exports = function () { /* empty */ };
3036 },{"101":101,"103":103,"105":105,"116":116,"117":117,"123":123,"127":127,"137":137,"138":138,"139":139,"141":141,"142":142,"143":143,"145":145,"146":146,"147":147,"152":152,"153":153,"164":164,"37":37,"39":39,"40":40,"41":41,"42":42,"47":47,"54":54,"58":58,"62":62,"64":64,"70":70,"71":71,"72":72,"78":78,"81":81,"86":86,"88":88,"89":89,"98":98,"99":99}],145:[function(_dereq_,module,exports){
3038 var global = _dereq_(70);
3039 var DESCRIPTORS = _dereq_(58);
3040 var LIBRARY = _dereq_(89);
3041 var $typed = _dereq_(146);
3042 var hide = _dereq_(72);
3043 var redefineAll = _dereq_(117);
3044 var fails = _dereq_(64);
3045 var anInstance = _dereq_(37);
3046 var toInteger = _dereq_(139);
3047 var toLength = _dereq_(141);
3048 var toIndex = _dereq_(138);
3049 var gOPN = _dereq_(103).f;
3050 var dP = _dereq_(99).f;
3051 var arrayFill = _dereq_(40);
3052 var setToStringTag = _dereq_(124);
3053 var ARRAY_BUFFER = 'ArrayBuffer';
3054 var DATA_VIEW = 'DataView';
3055 var PROTOTYPE = 'prototype';
3056 var WRONG_LENGTH = 'Wrong length!';
3057 var WRONG_INDEX = 'Wrong index!';
3058 var $ArrayBuffer = global[ARRAY_BUFFER];
3059 var $DataView = global[DATA_VIEW];
3060 var Math = global.Math;
3061 var RangeError = global.RangeError;
3062 // eslint-disable-next-line no-shadow-restricted-names
3063 var Infinity = global.Infinity;
3064 var BaseBuffer = $ArrayBuffer;
3067 var floor = Math.floor;
3070 var BUFFER = 'buffer';
3071 var BYTE_LENGTH = 'byteLength';
3072 var BYTE_OFFSET = 'byteOffset';
3073 var $BUFFER = DESCRIPTORS ? '_b' : BUFFER;
3074 var $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH;
3075 var $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;
3077 // IEEE754 conversions based on https://github.com/feross/ieee754
3078 function packIEEE754(value, mLen, nBytes) {
3079 var buffer = new Array(nBytes);
3080 var eLen = nBytes * 8 - mLen - 1;
3081 var eMax = (1 << eLen) - 1;
3082 var eBias = eMax >> 1;
3083 var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0;
3085 var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;
3088 // eslint-disable-next-line no-self-compare
3089 if (value != value || value === Infinity) {
3090 // eslint-disable-next-line no-self-compare
3091 m = value != value ? 1 : 0;
3094 e = floor(log(value) / LN2);
3095 if (value * (c = pow(2, -e)) < 1) {
3099 if (e + eBias >= 1) {
3102 value += rt * pow(2, 1 - eBias);
3104 if (value * c >= 2) {
3108 if (e + eBias >= eMax) {
3111 } else if (e + eBias >= 1) {
3112 m = (value * c - 1) * pow(2, mLen);
3115 m = value * pow(2, eBias - 1) * pow(2, mLen);
3119 for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);
3122 for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);
3123 buffer[--i] |= s * 128;
3126 function unpackIEEE754(buffer, mLen, nBytes) {
3127 var eLen = nBytes * 8 - mLen - 1;
3128 var eMax = (1 << eLen) - 1;
3129 var eBias = eMax >> 1;
3130 var nBits = eLen - 7;
3132 var s = buffer[i--];
3136 for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);
3137 m = e & (1 << -nBits) - 1;
3140 for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);
3143 } else if (e === eMax) {
3144 return m ? NaN : s ? -Infinity : Infinity;
3146 m = m + pow(2, mLen);
3148 } return (s ? -1 : 1) * m * pow(2, e - mLen);
3151 function unpackI32(bytes) {
3152 return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];
3154 function packI8(it) {
3157 function packI16(it) {
3158 return [it & 0xff, it >> 8 & 0xff];
3160 function packI32(it) {
3161 return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];
3163 function packF64(it) {
3164 return packIEEE754(it, 52, 8);
3166 function packF32(it) {
3167 return packIEEE754(it, 23, 4);
3170 function addGetter(C, key, internal) {
3171 dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } });
3174 function get(view, bytes, index, isLittleEndian) {
3175 var numIndex = +index;
3176 var intIndex = toIndex(numIndex);
3177 if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);
3178 var store = view[$BUFFER]._b;
3179 var start = intIndex + view[$OFFSET];
3180 var pack = store.slice(start, start + bytes);
3181 return isLittleEndian ? pack : pack.reverse();
3183 function set(view, bytes, index, conversion, value, isLittleEndian) {
3184 var numIndex = +index;
3185 var intIndex = toIndex(numIndex);
3186 if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);
3187 var store = view[$BUFFER]._b;
3188 var start = intIndex + view[$OFFSET];
3189 var pack = conversion(+value);
3190 for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];
3194 $ArrayBuffer = function ArrayBuffer(length) {
3195 anInstance(this, $ArrayBuffer, ARRAY_BUFFER);
3196 var byteLength = toIndex(length);
3197 this._b = arrayFill.call(new Array(byteLength), 0);
3198 this[$LENGTH] = byteLength;
3201 $DataView = function DataView(buffer, byteOffset, byteLength) {
3202 anInstance(this, $DataView, DATA_VIEW);
3203 anInstance(buffer, $ArrayBuffer, DATA_VIEW);
3204 var bufferLength = buffer[$LENGTH];
3205 var offset = toInteger(byteOffset);
3206 if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!');
3207 byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);
3208 if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);
3209 this[$BUFFER] = buffer;
3210 this[$OFFSET] = offset;
3211 this[$LENGTH] = byteLength;
3215 addGetter($ArrayBuffer, BYTE_LENGTH, '_l');
3216 addGetter($DataView, BUFFER, '_b');
3217 addGetter($DataView, BYTE_LENGTH, '_l');
3218 addGetter($DataView, BYTE_OFFSET, '_o');
3221 redefineAll($DataView[PROTOTYPE], {
3222 getInt8: function getInt8(byteOffset) {
3223 return get(this, 1, byteOffset)[0] << 24 >> 24;
3225 getUint8: function getUint8(byteOffset) {
3226 return get(this, 1, byteOffset)[0];
3228 getInt16: function getInt16(byteOffset /* , littleEndian */) {
3229 var bytes = get(this, 2, byteOffset, arguments[1]);
3230 return (bytes[1] << 8 | bytes[0]) << 16 >> 16;
3232 getUint16: function getUint16(byteOffset /* , littleEndian */) {
3233 var bytes = get(this, 2, byteOffset, arguments[1]);
3234 return bytes[1] << 8 | bytes[0];
3236 getInt32: function getInt32(byteOffset /* , littleEndian */) {
3237 return unpackI32(get(this, 4, byteOffset, arguments[1]));
3239 getUint32: function getUint32(byteOffset /* , littleEndian */) {
3240 return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;
3242 getFloat32: function getFloat32(byteOffset /* , littleEndian */) {
3243 return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);
3245 getFloat64: function getFloat64(byteOffset /* , littleEndian */) {
3246 return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);
3248 setInt8: function setInt8(byteOffset, value) {
3249 set(this, 1, byteOffset, packI8, value);
3251 setUint8: function setUint8(byteOffset, value) {
3252 set(this, 1, byteOffset, packI8, value);
3254 setInt16: function setInt16(byteOffset, value /* , littleEndian */) {
3255 set(this, 2, byteOffset, packI16, value, arguments[2]);
3257 setUint16: function setUint16(byteOffset, value /* , littleEndian */) {
3258 set(this, 2, byteOffset, packI16, value, arguments[2]);
3260 setInt32: function setInt32(byteOffset, value /* , littleEndian */) {
3261 set(this, 4, byteOffset, packI32, value, arguments[2]);
3263 setUint32: function setUint32(byteOffset, value /* , littleEndian */) {
3264 set(this, 4, byteOffset, packI32, value, arguments[2]);
3266 setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {
3267 set(this, 4, byteOffset, packF32, value, arguments[2]);
3269 setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {
3270 set(this, 8, byteOffset, packF64, value, arguments[2]);
3274 if (!fails(function () {
3276 }) || !fails(function () {
3277 new $ArrayBuffer(-1); // eslint-disable-line no-new
3278 }) || fails(function () {
3279 new $ArrayBuffer(); // eslint-disable-line no-new
3280 new $ArrayBuffer(1.5); // eslint-disable-line no-new
3281 new $ArrayBuffer(NaN); // eslint-disable-line no-new
3282 return $ArrayBuffer.name != ARRAY_BUFFER;
3284 $ArrayBuffer = function ArrayBuffer(length) {
3285 anInstance(this, $ArrayBuffer);
3286 return new BaseBuffer(toIndex(length));
3288 var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];
3289 for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) {
3290 if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]);
3292 if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer;
3294 // iOS Safari 7.x bug
3295 var view = new $DataView(new $ArrayBuffer(2));
3296 var $setInt8 = $DataView[PROTOTYPE].setInt8;
3297 view.setInt8(0, 2147483648);
3298 view.setInt8(1, 2147483649);
3299 if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], {
3300 setInt8: function setInt8(byteOffset, value) {
3301 $setInt8.call(this, byteOffset, value << 24 >> 24);
3303 setUint8: function setUint8(byteOffset, value) {
3304 $setInt8.call(this, byteOffset, value << 24 >> 24);
3308 setToStringTag($ArrayBuffer, ARRAY_BUFFER);
3309 setToStringTag($DataView, DATA_VIEW);
3310 hide($DataView[PROTOTYPE], $typed.VIEW, true);
3311 exports[ARRAY_BUFFER] = $ArrayBuffer;
3312 exports[DATA_VIEW] = $DataView;
3314 },{"103":103,"117":117,"124":124,"138":138,"139":139,"141":141,"146":146,"37":37,"40":40,"58":58,"64":64,"70":70,"72":72,"89":89,"99":99}],146:[function(_dereq_,module,exports){
3315 var global = _dereq_(70);
3316 var hide = _dereq_(72);
3317 var uid = _dereq_(147);
3318 var TYPED = uid('typed_array');
3319 var VIEW = uid('view');
3320 var ABV = !!(global.ArrayBuffer && global.DataView);
3326 var TypedArrayConstructors = (
3327 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'
3331 if (Typed = global[TypedArrayConstructors[i++]]) {
3332 hide(Typed.prototype, TYPED, true);
3333 hide(Typed.prototype, VIEW, true);
3334 } else CONSTR = false;
3344 },{"147":147,"70":70,"72":72}],147:[function(_dereq_,module,exports){
3346 var px = Math.random();
3347 module.exports = function (key) {
3348 return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
3351 },{}],148:[function(_dereq_,module,exports){
3352 var global = _dereq_(70);
3353 var navigator = global.navigator;
3355 module.exports = navigator && navigator.userAgent || '';
3357 },{"70":70}],149:[function(_dereq_,module,exports){
3358 var isObject = _dereq_(81);
3359 module.exports = function (it, TYPE) {
3360 if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');
3364 },{"81":81}],150:[function(_dereq_,module,exports){
3365 var global = _dereq_(70);
3366 var core = _dereq_(52);
3367 var LIBRARY = _dereq_(89);
3368 var wksExt = _dereq_(151);
3369 var defineProperty = _dereq_(99).f;
3370 module.exports = function (name) {
3371 var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});
3372 if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });
3375 },{"151":151,"52":52,"70":70,"89":89,"99":99}],151:[function(_dereq_,module,exports){
3376 exports.f = _dereq_(152);
3378 },{"152":152}],152:[function(_dereq_,module,exports){
3379 var store = _dereq_(126)('wks');
3380 var uid = _dereq_(147);
3381 var Symbol = _dereq_(70).Symbol;
3382 var USE_SYMBOL = typeof Symbol == 'function';
3384 var $exports = module.exports = function (name) {
3385 return store[name] || (store[name] =
3386 USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
3389 $exports.store = store;
3391 },{"126":126,"147":147,"70":70}],153:[function(_dereq_,module,exports){
3392 var classof = _dereq_(47);
3393 var ITERATOR = _dereq_(152)('iterator');
3394 var Iterators = _dereq_(88);
3395 module.exports = _dereq_(52).getIteratorMethod = function (it) {
3396 if (it != undefined) return it[ITERATOR]
3398 || Iterators[classof(it)];
3401 },{"152":152,"47":47,"52":52,"88":88}],154:[function(_dereq_,module,exports){
3402 // 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)
3403 var $export = _dereq_(62);
3405 $export($export.P, 'Array', { copyWithin: _dereq_(39) });
3407 _dereq_(35)('copyWithin');
3409 },{"35":35,"39":39,"62":62}],155:[function(_dereq_,module,exports){
3411 var $export = _dereq_(62);
3412 var $every = _dereq_(42)(4);
3414 $export($export.P + $export.F * !_dereq_(128)([].every, true), 'Array', {
3415 // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])
3416 every: function every(callbackfn /* , thisArg */) {
3417 return $every(this, callbackfn, arguments[1]);
3421 },{"128":128,"42":42,"62":62}],156:[function(_dereq_,module,exports){
3422 // 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)
3423 var $export = _dereq_(62);
3425 $export($export.P, 'Array', { fill: _dereq_(40) });
3427 _dereq_(35)('fill');
3429 },{"35":35,"40":40,"62":62}],157:[function(_dereq_,module,exports){
3431 var $export = _dereq_(62);
3432 var $filter = _dereq_(42)(2);
3434 $export($export.P + $export.F * !_dereq_(128)([].filter, true), 'Array', {
3435 // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])
3436 filter: function filter(callbackfn /* , thisArg */) {
3437 return $filter(this, callbackfn, arguments[1]);
3441 },{"128":128,"42":42,"62":62}],158:[function(_dereq_,module,exports){
3443 // 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)
3444 var $export = _dereq_(62);
3445 var $find = _dereq_(42)(6);
3446 var KEY = 'findIndex';
3448 // Shouldn't skip holes
3449 if (KEY in []) Array(1)[KEY](function () { forced = false; });
3450 $export($export.P + $export.F * forced, 'Array', {
3451 findIndex: function findIndex(callbackfn /* , that = undefined */) {
3452 return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
3457 },{"35":35,"42":42,"62":62}],159:[function(_dereq_,module,exports){
3459 // 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)
3460 var $export = _dereq_(62);
3461 var $find = _dereq_(42)(5);
3464 // Shouldn't skip holes
3465 if (KEY in []) Array(1)[KEY](function () { forced = false; });
3466 $export($export.P + $export.F * forced, 'Array', {
3467 find: function find(callbackfn /* , that = undefined */) {
3468 return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
3473 },{"35":35,"42":42,"62":62}],160:[function(_dereq_,module,exports){
3475 var $export = _dereq_(62);
3476 var $forEach = _dereq_(42)(0);
3477 var STRICT = _dereq_(128)([].forEach, true);
3479 $export($export.P + $export.F * !STRICT, 'Array', {
3480 // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])
3481 forEach: function forEach(callbackfn /* , thisArg */) {
3482 return $forEach(this, callbackfn, arguments[1]);
3486 },{"128":128,"42":42,"62":62}],161:[function(_dereq_,module,exports){
3488 var ctx = _dereq_(54);
3489 var $export = _dereq_(62);
3490 var toObject = _dereq_(142);
3491 var call = _dereq_(83);
3492 var isArrayIter = _dereq_(78);
3493 var toLength = _dereq_(141);
3494 var createProperty = _dereq_(53);
3495 var getIterFn = _dereq_(153);
3497 $export($export.S + $export.F * !_dereq_(86)(function (iter) { Array.from(iter); }), 'Array', {
3498 // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)
3499 from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {
3500 var O = toObject(arrayLike);
3501 var C = typeof this == 'function' ? this : Array;
3502 var aLen = arguments.length;
3503 var mapfn = aLen > 1 ? arguments[1] : undefined;
3504 var mapping = mapfn !== undefined;
3506 var iterFn = getIterFn(O);
3507 var length, result, step, iterator;
3508 if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);
3509 // if object isn't iterable or it's array with default iterator - use simple case
3510 if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {
3511 for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {
3512 createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);
3515 length = toLength(O.length);
3516 for (result = new C(length); length > index; index++) {
3517 createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);
3520 result.length = index;
3525 },{"141":141,"142":142,"153":153,"53":53,"54":54,"62":62,"78":78,"83":83,"86":86}],162:[function(_dereq_,module,exports){
3527 var $export = _dereq_(62);
3528 var $indexOf = _dereq_(41)(false);
3529 var $native = [].indexOf;
3530 var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;
3532 $export($export.P + $export.F * (NEGATIVE_ZERO || !_dereq_(128)($native)), 'Array', {
3533 // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])
3534 indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {
3535 return NEGATIVE_ZERO
3537 ? $native.apply(this, arguments) || 0
3538 : $indexOf(this, searchElement, arguments[1]);
3542 },{"128":128,"41":41,"62":62}],163:[function(_dereq_,module,exports){
3543 // 22.1.2.2 / 15.4.3.2 Array.isArray(arg)
3544 var $export = _dereq_(62);
3546 $export($export.S, 'Array', { isArray: _dereq_(79) });
3548 },{"62":62,"79":79}],164:[function(_dereq_,module,exports){
3550 var addToUnscopables = _dereq_(35);
3551 var step = _dereq_(87);
3552 var Iterators = _dereq_(88);
3553 var toIObject = _dereq_(140);
3555 // 22.1.3.4 Array.prototype.entries()
3556 // 22.1.3.13 Array.prototype.keys()
3557 // 22.1.3.29 Array.prototype.values()
3558 // 22.1.3.30 Array.prototype[@@iterator]()
3559 module.exports = _dereq_(85)(Array, 'Array', function (iterated, kind) {
3560 this._t = toIObject(iterated); // target
3561 this._i = 0; // next index
3562 this._k = kind; // kind
3563 // 22.1.5.2.1 %ArrayIteratorPrototype%.next()
3567 var index = this._i++;
3568 if (!O || index >= O.length) {
3569 this._t = undefined;
3572 if (kind == 'keys') return step(0, index);
3573 if (kind == 'values') return step(0, O[index]);
3574 return step(0, [index, O[index]]);
3577 // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)
3578 Iterators.Arguments = Iterators.Array;
3580 addToUnscopables('keys');
3581 addToUnscopables('values');
3582 addToUnscopables('entries');
3584 },{"140":140,"35":35,"85":85,"87":87,"88":88}],165:[function(_dereq_,module,exports){
3586 // 22.1.3.13 Array.prototype.join(separator)
3587 var $export = _dereq_(62);
3588 var toIObject = _dereq_(140);
3589 var arrayJoin = [].join;
3591 // fallback for not array-like strings
3592 $export($export.P + $export.F * (_dereq_(77) != Object || !_dereq_(128)(arrayJoin)), 'Array', {
3593 join: function join(separator) {
3594 return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);
3598 },{"128":128,"140":140,"62":62,"77":77}],166:[function(_dereq_,module,exports){
3600 var $export = _dereq_(62);
3601 var toIObject = _dereq_(140);
3602 var toInteger = _dereq_(139);
3603 var toLength = _dereq_(141);
3604 var $native = [].lastIndexOf;
3605 var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;
3607 $export($export.P + $export.F * (NEGATIVE_ZERO || !_dereq_(128)($native)), 'Array', {
3608 // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])
3609 lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {
3611 if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;
3612 var O = toIObject(this);
3613 var length = toLength(O.length);
3614 var index = length - 1;
3615 if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1]));
3616 if (index < 0) index = length + index;
3617 for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0;
3622 },{"128":128,"139":139,"140":140,"141":141,"62":62}],167:[function(_dereq_,module,exports){
3624 var $export = _dereq_(62);
3625 var $map = _dereq_(42)(1);
3627 $export($export.P + $export.F * !_dereq_(128)([].map, true), 'Array', {
3628 // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])
3629 map: function map(callbackfn /* , thisArg */) {
3630 return $map(this, callbackfn, arguments[1]);
3634 },{"128":128,"42":42,"62":62}],168:[function(_dereq_,module,exports){
3636 var $export = _dereq_(62);
3637 var createProperty = _dereq_(53);
3639 // WebKit Array.of isn't generic
3640 $export($export.S + $export.F * _dereq_(64)(function () {
3641 function F() { /* empty */ }
3642 return !(Array.of.call(F) instanceof F);
3644 // 22.1.2.3 Array.of( ...items)
3645 of: function of(/* ...args */) {
3647 var aLen = arguments.length;
3648 var result = new (typeof this == 'function' ? this : Array)(aLen);
3649 while (aLen > index) createProperty(result, index, arguments[index++]);
3650 result.length = aLen;
3655 },{"53":53,"62":62,"64":64}],169:[function(_dereq_,module,exports){
3657 var $export = _dereq_(62);
3658 var $reduce = _dereq_(43);
3660 $export($export.P + $export.F * !_dereq_(128)([].reduceRight, true), 'Array', {
3661 // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])
3662 reduceRight: function reduceRight(callbackfn /* , initialValue */) {
3663 return $reduce(this, callbackfn, arguments.length, arguments[1], true);
3667 },{"128":128,"43":43,"62":62}],170:[function(_dereq_,module,exports){
3669 var $export = _dereq_(62);
3670 var $reduce = _dereq_(43);
3672 $export($export.P + $export.F * !_dereq_(128)([].reduce, true), 'Array', {
3673 // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])
3674 reduce: function reduce(callbackfn /* , initialValue */) {
3675 return $reduce(this, callbackfn, arguments.length, arguments[1], false);
3679 },{"128":128,"43":43,"62":62}],171:[function(_dereq_,module,exports){
3681 var $export = _dereq_(62);
3682 var html = _dereq_(73);
3683 var cof = _dereq_(48);
3684 var toAbsoluteIndex = _dereq_(137);
3685 var toLength = _dereq_(141);
3686 var arraySlice = [].slice;
3688 // fallback for not array-like ES3 strings and DOM objects
3689 $export($export.P + $export.F * _dereq_(64)(function () {
3690 if (html) arraySlice.call(html);
3692 slice: function slice(begin, end) {
3693 var len = toLength(this.length);
3694 var klass = cof(this);
3695 end = end === undefined ? len : end;
3696 if (klass == 'Array') return arraySlice.call(this, begin, end);
3697 var start = toAbsoluteIndex(begin, len);
3698 var upTo = toAbsoluteIndex(end, len);
3699 var size = toLength(upTo - start);
3700 var cloned = new Array(size);
3702 for (; i < size; i++) cloned[i] = klass == 'String'
3703 ? this.charAt(start + i)
3709 },{"137":137,"141":141,"48":48,"62":62,"64":64,"73":73}],172:[function(_dereq_,module,exports){
3711 var $export = _dereq_(62);
3712 var $some = _dereq_(42)(3);
3714 $export($export.P + $export.F * !_dereq_(128)([].some, true), 'Array', {
3715 // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])
3716 some: function some(callbackfn /* , thisArg */) {
3717 return $some(this, callbackfn, arguments[1]);
3721 },{"128":128,"42":42,"62":62}],173:[function(_dereq_,module,exports){
3723 var $export = _dereq_(62);
3724 var aFunction = _dereq_(33);
3725 var toObject = _dereq_(142);
3726 var fails = _dereq_(64);
3727 var $sort = [].sort;
3728 var test = [1, 2, 3];
3730 $export($export.P + $export.F * (fails(function () {
3732 test.sort(undefined);
3733 }) || !fails(function () {
3737 }) || !_dereq_(128)($sort)), 'Array', {
3738 // 22.1.3.25 Array.prototype.sort(comparefn)
3739 sort: function sort(comparefn) {
3740 return comparefn === undefined
3741 ? $sort.call(toObject(this))
3742 : $sort.call(toObject(this), aFunction(comparefn));
3746 },{"128":128,"142":142,"33":33,"62":62,"64":64}],174:[function(_dereq_,module,exports){
3747 _dereq_(123)('Array');
3749 },{"123":123}],175:[function(_dereq_,module,exports){
3750 // 20.3.3.1 / 15.9.4.4 Date.now()
3751 var $export = _dereq_(62);
3753 $export($export.S, 'Date', { now: function () { return new Date().getTime(); } });
3755 },{"62":62}],176:[function(_dereq_,module,exports){
3756 // 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()
3757 var $export = _dereq_(62);
3758 var toISOString = _dereq_(55);
3760 // PhantomJS / old WebKit has a broken implementations
3761 $export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {
3762 toISOString: toISOString
3765 },{"55":55,"62":62}],177:[function(_dereq_,module,exports){
3767 var $export = _dereq_(62);
3768 var toObject = _dereq_(142);
3769 var toPrimitive = _dereq_(143);
3771 $export($export.P + $export.F * _dereq_(64)(function () {
3772 return new Date(NaN).toJSON() !== null
3773 || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;
3775 // eslint-disable-next-line no-unused-vars
3776 toJSON: function toJSON(key) {
3777 var O = toObject(this);
3778 var pv = toPrimitive(O);
3779 return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();
3783 },{"142":142,"143":143,"62":62,"64":64}],178:[function(_dereq_,module,exports){
3784 var TO_PRIMITIVE = _dereq_(152)('toPrimitive');
3785 var proto = Date.prototype;
3787 if (!(TO_PRIMITIVE in proto)) _dereq_(72)(proto, TO_PRIMITIVE, _dereq_(56));
3789 },{"152":152,"56":56,"72":72}],179:[function(_dereq_,module,exports){
3790 var DateProto = Date.prototype;
3791 var INVALID_DATE = 'Invalid Date';
3792 var TO_STRING = 'toString';
3793 var $toString = DateProto[TO_STRING];
3794 var getTime = DateProto.getTime;
3795 if (new Date(NaN) + '' != INVALID_DATE) {
3796 _dereq_(118)(DateProto, TO_STRING, function toString() {
3797 var value = getTime.call(this);
3798 // eslint-disable-next-line no-self-compare
3799 return value === value ? $toString.call(this) : INVALID_DATE;
3803 },{"118":118}],180:[function(_dereq_,module,exports){
3804 // 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)
3805 var $export = _dereq_(62);
3807 $export($export.P, 'Function', { bind: _dereq_(46) });
3809 },{"46":46,"62":62}],181:[function(_dereq_,module,exports){
3811 var isObject = _dereq_(81);
3812 var getPrototypeOf = _dereq_(105);
3813 var HAS_INSTANCE = _dereq_(152)('hasInstance');
3814 var FunctionProto = Function.prototype;
3815 // 19.2.3.6 Function.prototype[@@hasInstance](V)
3816 if (!(HAS_INSTANCE in FunctionProto)) _dereq_(99).f(FunctionProto, HAS_INSTANCE, { value: function (O) {
3817 if (typeof this != 'function' || !isObject(O)) return false;
3818 if (!isObject(this.prototype)) return O instanceof this;
3819 // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:
3820 while (O = getPrototypeOf(O)) if (this.prototype === O) return true;
3824 },{"105":105,"152":152,"81":81,"99":99}],182:[function(_dereq_,module,exports){
3825 var dP = _dereq_(99).f;
3826 var FProto = Function.prototype;
3827 var nameRE = /^\s*function ([^ (]*)/;
3831 NAME in FProto || _dereq_(58) && dP(FProto, NAME, {
3835 return ('' + this).match(nameRE)[1];
3842 },{"58":58,"99":99}],183:[function(_dereq_,module,exports){
3844 var strong = _dereq_(49);
3845 var validate = _dereq_(149);
3849 module.exports = _dereq_(51)(MAP, function (get) {
3850 return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
3852 // 23.1.3.6 Map.prototype.get(key)
3853 get: function get(key) {
3854 var entry = strong.getEntry(validate(this, MAP), key);
3855 return entry && entry.v;
3857 // 23.1.3.9 Map.prototype.set(key, value)
3858 set: function set(key, value) {
3859 return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);
3863 },{"149":149,"49":49,"51":51}],184:[function(_dereq_,module,exports){
3864 // 20.2.2.3 Math.acosh(x)
3865 var $export = _dereq_(62);
3866 var log1p = _dereq_(92);
3867 var sqrt = Math.sqrt;
3868 var $acosh = Math.acosh;
3870 $export($export.S + $export.F * !($acosh
3871 // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509
3872 && Math.floor($acosh(Number.MAX_VALUE)) == 710
3873 // Tor Browser bug: Math.acosh(Infinity) -> NaN
3874 && $acosh(Infinity) == Infinity
3876 acosh: function acosh(x) {
3877 return (x = +x) < 1 ? NaN : x > 94906265.62425156
3878 ? Math.log(x) + Math.LN2
3879 : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));
3883 },{"62":62,"92":92}],185:[function(_dereq_,module,exports){
3884 // 20.2.2.5 Math.asinh(x)
3885 var $export = _dereq_(62);
3886 var $asinh = Math.asinh;
3889 return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));
3892 // Tor Browser bug: Math.asinh(0) -> -0
3893 $export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh });
3895 },{"62":62}],186:[function(_dereq_,module,exports){
3896 // 20.2.2.7 Math.atanh(x)
3897 var $export = _dereq_(62);
3898 var $atanh = Math.atanh;
3900 // Tor Browser bug: Math.atanh(-0) -> 0
3901 $export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {
3902 atanh: function atanh(x) {
3903 return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;
3907 },{"62":62}],187:[function(_dereq_,module,exports){
3908 // 20.2.2.9 Math.cbrt(x)
3909 var $export = _dereq_(62);
3910 var sign = _dereq_(93);
3912 $export($export.S, 'Math', {
3913 cbrt: function cbrt(x) {
3914 return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);
3918 },{"62":62,"93":93}],188:[function(_dereq_,module,exports){
3919 // 20.2.2.11 Math.clz32(x)
3920 var $export = _dereq_(62);
3922 $export($export.S, 'Math', {
3923 clz32: function clz32(x) {
3924 return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;
3928 },{"62":62}],189:[function(_dereq_,module,exports){
3929 // 20.2.2.12 Math.cosh(x)
3930 var $export = _dereq_(62);
3933 $export($export.S, 'Math', {
3934 cosh: function cosh(x) {
3935 return (exp(x = +x) + exp(-x)) / 2;
3939 },{"62":62}],190:[function(_dereq_,module,exports){
3940 // 20.2.2.14 Math.expm1(x)
3941 var $export = _dereq_(62);
3942 var $expm1 = _dereq_(90);
3944 $export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 });
3946 },{"62":62,"90":90}],191:[function(_dereq_,module,exports){
3947 // 20.2.2.16 Math.fround(x)
3948 var $export = _dereq_(62);
3950 $export($export.S, 'Math', { fround: _dereq_(91) });
3952 },{"62":62,"91":91}],192:[function(_dereq_,module,exports){
3953 // 20.2.2.17 Math.hypot([value1[, value2[, … ]]])
3954 var $export = _dereq_(62);
3957 $export($export.S, 'Math', {
3958 hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars
3961 var aLen = arguments.length;
3965 arg = abs(arguments[i++]);
3968 sum = sum * div * div + 1;
3970 } else if (arg > 0) {
3975 return larg === Infinity ? Infinity : larg * Math.sqrt(sum);
3979 },{"62":62}],193:[function(_dereq_,module,exports){
3980 // 20.2.2.18 Math.imul(x, y)
3981 var $export = _dereq_(62);
3982 var $imul = Math.imul;
3984 // some WebKit versions fails with big numbers, some has wrong arity
3985 $export($export.S + $export.F * _dereq_(64)(function () {
3986 return $imul(0xffffffff, 5) != -5 || $imul.length != 2;
3988 imul: function imul(x, y) {
3989 var UINT16 = 0xffff;
3992 var xl = UINT16 & xn;
3993 var yl = UINT16 & yn;
3994 return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);
3998 },{"62":62,"64":64}],194:[function(_dereq_,module,exports){
3999 // 20.2.2.21 Math.log10(x)
4000 var $export = _dereq_(62);
4002 $export($export.S, 'Math', {
4003 log10: function log10(x) {
4004 return Math.log(x) * Math.LOG10E;
4008 },{"62":62}],195:[function(_dereq_,module,exports){
4009 // 20.2.2.20 Math.log1p(x)
4010 var $export = _dereq_(62);
4012 $export($export.S, 'Math', { log1p: _dereq_(92) });
4014 },{"62":62,"92":92}],196:[function(_dereq_,module,exports){
4015 // 20.2.2.22 Math.log2(x)
4016 var $export = _dereq_(62);
4018 $export($export.S, 'Math', {
4019 log2: function log2(x) {
4020 return Math.log(x) / Math.LN2;
4024 },{"62":62}],197:[function(_dereq_,module,exports){
4025 // 20.2.2.28 Math.sign(x)
4026 var $export = _dereq_(62);
4028 $export($export.S, 'Math', { sign: _dereq_(93) });
4030 },{"62":62,"93":93}],198:[function(_dereq_,module,exports){
4031 // 20.2.2.30 Math.sinh(x)
4032 var $export = _dereq_(62);
4033 var expm1 = _dereq_(90);
4036 // V8 near Chromium 38 has a problem with very small numbers
4037 $export($export.S + $export.F * _dereq_(64)(function () {
4038 return !Math.sinh(-2e-17) != -2e-17;
4040 sinh: function sinh(x) {
4041 return Math.abs(x = +x) < 1
4042 ? (expm1(x) - expm1(-x)) / 2
4043 : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);
4047 },{"62":62,"64":64,"90":90}],199:[function(_dereq_,module,exports){
4048 // 20.2.2.33 Math.tanh(x)
4049 var $export = _dereq_(62);
4050 var expm1 = _dereq_(90);
4053 $export($export.S, 'Math', {
4054 tanh: function tanh(x) {
4055 var a = expm1(x = +x);
4057 return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));
4061 },{"62":62,"90":90}],200:[function(_dereq_,module,exports){
4062 // 20.2.2.34 Math.trunc(x)
4063 var $export = _dereq_(62);
4065 $export($export.S, 'Math', {
4066 trunc: function trunc(it) {
4067 return (it > 0 ? Math.floor : Math.ceil)(it);
4071 },{"62":62}],201:[function(_dereq_,module,exports){
4073 var global = _dereq_(70);
4074 var has = _dereq_(71);
4075 var cof = _dereq_(48);
4076 var inheritIfRequired = _dereq_(75);
4077 var toPrimitive = _dereq_(143);
4078 var fails = _dereq_(64);
4079 var gOPN = _dereq_(103).f;
4080 var gOPD = _dereq_(101).f;
4081 var dP = _dereq_(99).f;
4082 var $trim = _dereq_(134).trim;
4083 var NUMBER = 'Number';
4084 var $Number = global[NUMBER];
4086 var proto = $Number.prototype;
4087 // Opera ~12 has broken Object#toString
4088 var BROKEN_COF = cof(_dereq_(98)(proto)) == NUMBER;
4089 var TRIM = 'trim' in String.prototype;
4091 // 7.1.3 ToNumber(argument)
4092 var toNumber = function (argument) {
4093 var it = toPrimitive(argument, false);
4094 if (typeof it == 'string' && it.length > 2) {
4095 it = TRIM ? it.trim() : $trim(it, 3);
4096 var first = it.charCodeAt(0);
4097 var third, radix, maxCode;
4098 if (first === 43 || first === 45) {
4099 third = it.charCodeAt(2);
4100 if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix
4101 } else if (first === 48) {
4102 switch (it.charCodeAt(1)) {
4103 case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i
4104 case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i
4105 default: return +it;
4107 for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {
4108 code = digits.charCodeAt(i);
4109 // parseInt parses a string to a first unavailable symbol
4110 // but ToNumber should return NaN if a string contains unavailable symbols
4111 if (code < 48 || code > maxCode) return NaN;
4112 } return parseInt(digits, radix);
4117 if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {
4118 $Number = function Number(value) {
4119 var it = arguments.length < 1 ? 0 : value;
4121 return that instanceof $Number
4122 // check on 1..constructor(foo) case
4123 && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)
4124 ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);
4126 for (var keys = _dereq_(58) ? gOPN(Base) : (
4128 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
4129 // ES6 (in case, if modules with ES6 Number statics required before):
4130 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +
4131 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'
4132 ).split(','), j = 0, key; keys.length > j; j++) {
4133 if (has(Base, key = keys[j]) && !has($Number, key)) {
4134 dP($Number, key, gOPD(Base, key));
4137 $Number.prototype = proto;
4138 proto.constructor = $Number;
4139 _dereq_(118)(global, NUMBER, $Number);
4142 },{"101":101,"103":103,"118":118,"134":134,"143":143,"48":48,"58":58,"64":64,"70":70,"71":71,"75":75,"98":98,"99":99}],202:[function(_dereq_,module,exports){
4143 // 20.1.2.1 Number.EPSILON
4144 var $export = _dereq_(62);
4146 $export($export.S, 'Number', { EPSILON: Math.pow(2, -52) });
4148 },{"62":62}],203:[function(_dereq_,module,exports){
4149 // 20.1.2.2 Number.isFinite(number)
4150 var $export = _dereq_(62);
4151 var _isFinite = _dereq_(70).isFinite;
4153 $export($export.S, 'Number', {
4154 isFinite: function isFinite(it) {
4155 return typeof it == 'number' && _isFinite(it);
4159 },{"62":62,"70":70}],204:[function(_dereq_,module,exports){
4160 // 20.1.2.3 Number.isInteger(number)
4161 var $export = _dereq_(62);
4163 $export($export.S, 'Number', { isInteger: _dereq_(80) });
4165 },{"62":62,"80":80}],205:[function(_dereq_,module,exports){
4166 // 20.1.2.4 Number.isNaN(number)
4167 var $export = _dereq_(62);
4169 $export($export.S, 'Number', {
4170 isNaN: function isNaN(number) {
4171 // eslint-disable-next-line no-self-compare
4172 return number != number;
4176 },{"62":62}],206:[function(_dereq_,module,exports){
4177 // 20.1.2.5 Number.isSafeInteger(number)
4178 var $export = _dereq_(62);
4179 var isInteger = _dereq_(80);
4182 $export($export.S, 'Number', {
4183 isSafeInteger: function isSafeInteger(number) {
4184 return isInteger(number) && abs(number) <= 0x1fffffffffffff;
4188 },{"62":62,"80":80}],207:[function(_dereq_,module,exports){
4189 // 20.1.2.6 Number.MAX_SAFE_INTEGER
4190 var $export = _dereq_(62);
4192 $export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff });
4194 },{"62":62}],208:[function(_dereq_,module,exports){
4195 // 20.1.2.10 Number.MIN_SAFE_INTEGER
4196 var $export = _dereq_(62);
4198 $export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff });
4200 },{"62":62}],209:[function(_dereq_,module,exports){
4201 var $export = _dereq_(62);
4202 var $parseFloat = _dereq_(112);
4203 // 20.1.2.12 Number.parseFloat(string)
4204 $export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat });
4206 },{"112":112,"62":62}],210:[function(_dereq_,module,exports){
4207 var $export = _dereq_(62);
4208 var $parseInt = _dereq_(113);
4209 // 20.1.2.13 Number.parseInt(string, radix)
4210 $export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt });
4212 },{"113":113,"62":62}],211:[function(_dereq_,module,exports){
4214 var $export = _dereq_(62);
4215 var toInteger = _dereq_(139);
4216 var aNumberValue = _dereq_(34);
4217 var repeat = _dereq_(133);
4218 var $toFixed = 1.0.toFixed;
4219 var floor = Math.floor;
4220 var data = [0, 0, 0, 0, 0, 0];
4221 var ERROR = 'Number.toFixed: incorrect invocation!';
4224 var multiply = function (n, c) {
4230 c2 = floor(c2 / 1e7);
4233 var divide = function (n) {
4238 data[i] = floor(c / n);
4242 var numToString = function () {
4246 if (s !== '' || i === 0 || data[i] !== 0) {
4247 var t = String(data[i]);
4248 s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;
4252 var pow = function (x, n, acc) {
4253 return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);
4255 var log = function (x) {
4258 while (x2 >= 4096) {
4268 $export($export.P + $export.F * (!!$toFixed && (
4269 0.00008.toFixed(3) !== '0.000' ||
4270 0.9.toFixed(0) !== '1' ||
4271 1.255.toFixed(2) !== '1.25' ||
4272 1000000000000000128.0.toFixed(0) !== '1000000000000000128'
4273 ) || !_dereq_(64)(function () {
4274 // V8 ~ Android 4.3-
4277 toFixed: function toFixed(fractionDigits) {
4278 var x = aNumberValue(this, ERROR);
4279 var f = toInteger(fractionDigits);
4283 if (f < 0 || f > 20) throw RangeError(ERROR);
4284 // eslint-disable-next-line no-self-compare
4285 if (x != x) return 'NaN';
4286 if (x <= -1e21 || x >= 1e21) return String(x);
4292 e = log(x * pow(2, 69, 1)) - 69;
4293 z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);
4294 z *= 0x10000000000000;
4303 multiply(pow(10, j, 1), 0);
4315 multiply(1 << -e, 0);
4316 m = numToString() + repeat.call(ZERO, f);
4321 m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));
4328 },{"133":133,"139":139,"34":34,"62":62,"64":64}],212:[function(_dereq_,module,exports){
4330 var $export = _dereq_(62);
4331 var $fails = _dereq_(64);
4332 var aNumberValue = _dereq_(34);
4333 var $toPrecision = 1.0.toPrecision;
4335 $export($export.P + $export.F * ($fails(function () {
4337 return $toPrecision.call(1, undefined) !== '1';
4338 }) || !$fails(function () {
4339 // V8 ~ Android 4.3-
4340 $toPrecision.call({});
4342 toPrecision: function toPrecision(precision) {
4343 var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');
4344 return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision);
4348 },{"34":34,"62":62,"64":64}],213:[function(_dereq_,module,exports){
4349 // 19.1.3.1 Object.assign(target, source)
4350 var $export = _dereq_(62);
4352 $export($export.S + $export.F, 'Object', { assign: _dereq_(97) });
4354 },{"62":62,"97":97}],214:[function(_dereq_,module,exports){
4355 var $export = _dereq_(62);
4356 // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
4357 $export($export.S, 'Object', { create: _dereq_(98) });
4359 },{"62":62,"98":98}],215:[function(_dereq_,module,exports){
4360 var $export = _dereq_(62);
4361 // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)
4362 $export($export.S + $export.F * !_dereq_(58), 'Object', { defineProperties: _dereq_(100) });
4364 },{"100":100,"58":58,"62":62}],216:[function(_dereq_,module,exports){
4365 var $export = _dereq_(62);
4366 // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
4367 $export($export.S + $export.F * !_dereq_(58), 'Object', { defineProperty: _dereq_(99).f });
4369 },{"58":58,"62":62,"99":99}],217:[function(_dereq_,module,exports){
4370 // 19.1.2.5 Object.freeze(O)
4371 var isObject = _dereq_(81);
4372 var meta = _dereq_(94).onFreeze;
4374 _dereq_(109)('freeze', function ($freeze) {
4375 return function freeze(it) {
4376 return $freeze && isObject(it) ? $freeze(meta(it)) : it;
4380 },{"109":109,"81":81,"94":94}],218:[function(_dereq_,module,exports){
4381 // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
4382 var toIObject = _dereq_(140);
4383 var $getOwnPropertyDescriptor = _dereq_(101).f;
4385 _dereq_(109)('getOwnPropertyDescriptor', function () {
4386 return function getOwnPropertyDescriptor(it, key) {
4387 return $getOwnPropertyDescriptor(toIObject(it), key);
4391 },{"101":101,"109":109,"140":140}],219:[function(_dereq_,module,exports){
4392 // 19.1.2.7 Object.getOwnPropertyNames(O)
4393 _dereq_(109)('getOwnPropertyNames', function () {
4394 return _dereq_(102).f;
4397 },{"102":102,"109":109}],220:[function(_dereq_,module,exports){
4398 // 19.1.2.9 Object.getPrototypeOf(O)
4399 var toObject = _dereq_(142);
4400 var $getPrototypeOf = _dereq_(105);
4402 _dereq_(109)('getPrototypeOf', function () {
4403 return function getPrototypeOf(it) {
4404 return $getPrototypeOf(toObject(it));
4408 },{"105":105,"109":109,"142":142}],221:[function(_dereq_,module,exports){
4409 // 19.1.2.11 Object.isExtensible(O)
4410 var isObject = _dereq_(81);
4412 _dereq_(109)('isExtensible', function ($isExtensible) {
4413 return function isExtensible(it) {
4414 return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;
4418 },{"109":109,"81":81}],222:[function(_dereq_,module,exports){
4419 // 19.1.2.12 Object.isFrozen(O)
4420 var isObject = _dereq_(81);
4422 _dereq_(109)('isFrozen', function ($isFrozen) {
4423 return function isFrozen(it) {
4424 return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;
4428 },{"109":109,"81":81}],223:[function(_dereq_,module,exports){
4429 // 19.1.2.13 Object.isSealed(O)
4430 var isObject = _dereq_(81);
4432 _dereq_(109)('isSealed', function ($isSealed) {
4433 return function isSealed(it) {
4434 return isObject(it) ? $isSealed ? $isSealed(it) : false : true;
4438 },{"109":109,"81":81}],224:[function(_dereq_,module,exports){
4439 // 19.1.3.10 Object.is(value1, value2)
4440 var $export = _dereq_(62);
4441 $export($export.S, 'Object', { is: _dereq_(121) });
4443 },{"121":121,"62":62}],225:[function(_dereq_,module,exports){
4444 // 19.1.2.14 Object.keys(O)
4445 var toObject = _dereq_(142);
4446 var $keys = _dereq_(107);
4448 _dereq_(109)('keys', function () {
4449 return function keys(it) {
4450 return $keys(toObject(it));
4454 },{"107":107,"109":109,"142":142}],226:[function(_dereq_,module,exports){
4455 // 19.1.2.15 Object.preventExtensions(O)
4456 var isObject = _dereq_(81);
4457 var meta = _dereq_(94).onFreeze;
4459 _dereq_(109)('preventExtensions', function ($preventExtensions) {
4460 return function preventExtensions(it) {
4461 return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;
4465 },{"109":109,"81":81,"94":94}],227:[function(_dereq_,module,exports){
4466 // 19.1.2.17 Object.seal(O)
4467 var isObject = _dereq_(81);
4468 var meta = _dereq_(94).onFreeze;
4470 _dereq_(109)('seal', function ($seal) {
4471 return function seal(it) {
4472 return $seal && isObject(it) ? $seal(meta(it)) : it;
4476 },{"109":109,"81":81,"94":94}],228:[function(_dereq_,module,exports){
4477 // 19.1.3.19 Object.setPrototypeOf(O, proto)
4478 var $export = _dereq_(62);
4479 $export($export.S, 'Object', { setPrototypeOf: _dereq_(122).set });
4481 },{"122":122,"62":62}],229:[function(_dereq_,module,exports){
4483 // 19.1.3.6 Object.prototype.toString()
4484 var classof = _dereq_(47);
4486 test[_dereq_(152)('toStringTag')] = 'z';
4487 if (test + '' != '[object z]') {
4488 _dereq_(118)(Object.prototype, 'toString', function toString() {
4489 return '[object ' + classof(this) + ']';
4493 },{"118":118,"152":152,"47":47}],230:[function(_dereq_,module,exports){
4494 var $export = _dereq_(62);
4495 var $parseFloat = _dereq_(112);
4496 // 18.2.4 parseFloat(string)
4497 $export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat });
4499 },{"112":112,"62":62}],231:[function(_dereq_,module,exports){
4500 var $export = _dereq_(62);
4501 var $parseInt = _dereq_(113);
4502 // 18.2.5 parseInt(string, radix)
4503 $export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });
4505 },{"113":113,"62":62}],232:[function(_dereq_,module,exports){
4507 var LIBRARY = _dereq_(89);
4508 var global = _dereq_(70);
4509 var ctx = _dereq_(54);
4510 var classof = _dereq_(47);
4511 var $export = _dereq_(62);
4512 var isObject = _dereq_(81);
4513 var aFunction = _dereq_(33);
4514 var anInstance = _dereq_(37);
4515 var forOf = _dereq_(68);
4516 var speciesConstructor = _dereq_(127);
4517 var task = _dereq_(136).set;
4518 var microtask = _dereq_(95)();
4519 var newPromiseCapabilityModule = _dereq_(96);
4520 var perform = _dereq_(114);
4521 var userAgent = _dereq_(148);
4522 var promiseResolve = _dereq_(115);
4523 var PROMISE = 'Promise';
4524 var TypeError = global.TypeError;
4525 var process = global.process;
4526 var versions = process && process.versions;
4527 var v8 = versions && versions.v8 || '';
4528 var $Promise = global[PROMISE];
4529 var isNode = classof(process) == 'process';
4530 var empty = function () { /* empty */ };
4531 var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;
4532 var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;
4534 var USE_NATIVE = !!function () {
4536 // correct subclassing with @@species support
4537 var promise = $Promise.resolve(1);
4538 var FakePromise = (promise.constructor = {})[_dereq_(152)('species')] = function (exec) {
4541 // unhandled rejections tracking support, NodeJS Promise without it fails @@species test
4542 return (isNode || typeof PromiseRejectionEvent == 'function')
4543 && promise.then(empty) instanceof FakePromise
4544 // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables
4545 // https://bugs.chromium.org/p/chromium/issues/detail?id=830565
4546 // we can't detect it synchronously, so just check versions
4547 && v8.indexOf('6.6') !== 0
4548 && userAgent.indexOf('Chrome/66') === -1;
4549 } catch (e) { /* empty */ }
4553 var isThenable = function (it) {
4555 return isObject(it) && typeof (then = it.then) == 'function' ? then : false;
4557 var notify = function (promise, isReject) {
4558 if (promise._n) return;
4560 var chain = promise._c;
4561 microtask(function () {
4562 var value = promise._v;
4563 var ok = promise._s == 1;
4565 var run = function (reaction) {
4566 var handler = ok ? reaction.ok : reaction.fail;
4567 var resolve = reaction.resolve;
4568 var reject = reaction.reject;
4569 var domain = reaction.domain;
4570 var result, then, exited;
4574 if (promise._h == 2) onHandleUnhandled(promise);
4577 if (handler === true) result = value;
4579 if (domain) domain.enter();
4580 result = handler(value); // may throw
4586 if (result === reaction.promise) {
4587 reject(TypeError('Promise-chain cycle'));
4588 } else if (then = isThenable(result)) {
4589 then.call(result, resolve, reject);
4590 } else resolve(result);
4591 } else reject(value);
4593 if (domain && !exited) domain.exit();
4597 while (chain.length > i) run(chain[i++]); // variable length - can't use forEach
4600 if (isReject && !promise._h) onUnhandled(promise);
4603 var onUnhandled = function (promise) {
4604 task.call(global, function () {
4605 var value = promise._v;
4606 var unhandled = isUnhandled(promise);
4607 var result, handler, console;
4609 result = perform(function () {
4611 process.emit('unhandledRejection', value, promise);
4612 } else if (handler = global.onunhandledrejection) {
4613 handler({ promise: promise, reason: value });
4614 } else if ((console = global.console) && console.error) {
4615 console.error('Unhandled promise rejection', value);
4618 // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should
4619 promise._h = isNode || isUnhandled(promise) ? 2 : 1;
4620 } promise._a = undefined;
4621 if (unhandled && result.e) throw result.v;
4624 var isUnhandled = function (promise) {
4625 return promise._h !== 1 && (promise._a || promise._c).length === 0;
4627 var onHandleUnhandled = function (promise) {
4628 task.call(global, function () {
4631 process.emit('rejectionHandled', promise);
4632 } else if (handler = global.onrejectionhandled) {
4633 handler({ promise: promise, reason: promise._v });
4637 var $reject = function (value) {
4639 if (promise._d) return;
4641 promise = promise._w || promise; // unwrap
4644 if (!promise._a) promise._a = promise._c.slice();
4645 notify(promise, true);
4647 var $resolve = function (value) {
4650 if (promise._d) return;
4652 promise = promise._w || promise; // unwrap
4654 if (promise === value) throw TypeError("Promise can't be resolved itself");
4655 if (then = isThenable(value)) {
4656 microtask(function () {
4657 var wrapper = { _w: promise, _d: false }; // wrap
4659 then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));
4661 $reject.call(wrapper, e);
4667 notify(promise, false);
4670 $reject.call({ _w: promise, _d: false }, e); // wrap
4674 // constructor polyfill
4676 // 25.4.3.1 Promise(executor)
4677 $Promise = function Promise(executor) {
4678 anInstance(this, $Promise, PROMISE, '_h');
4679 aFunction(executor);
4680 Internal.call(this);
4682 executor(ctx($resolve, this, 1), ctx($reject, this, 1));
4684 $reject.call(this, err);
4687 // eslint-disable-next-line no-unused-vars
4688 Internal = function Promise(executor) {
4689 this._c = []; // <- awaiting reactions
4690 this._a = undefined; // <- checked in isUnhandled reactions
4691 this._s = 0; // <- state
4692 this._d = false; // <- done
4693 this._v = undefined; // <- value
4694 this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled
4695 this._n = false; // <- notify
4697 Internal.prototype = _dereq_(117)($Promise.prototype, {
4698 // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)
4699 then: function then(onFulfilled, onRejected) {
4700 var reaction = newPromiseCapability(speciesConstructor(this, $Promise));
4701 reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;
4702 reaction.fail = typeof onRejected == 'function' && onRejected;
4703 reaction.domain = isNode ? process.domain : undefined;
4704 this._c.push(reaction);
4705 if (this._a) this._a.push(reaction);
4706 if (this._s) notify(this, false);
4707 return reaction.promise;
4709 // 25.4.5.1 Promise.prototype.catch(onRejected)
4710 'catch': function (onRejected) {
4711 return this.then(undefined, onRejected);
4714 OwnPromiseCapability = function () {
4715 var promise = new Internal();
4716 this.promise = promise;
4717 this.resolve = ctx($resolve, promise, 1);
4718 this.reject = ctx($reject, promise, 1);
4720 newPromiseCapabilityModule.f = newPromiseCapability = function (C) {
4721 return C === $Promise || C === Wrapper
4722 ? new OwnPromiseCapability(C)
4723 : newGenericPromiseCapability(C);
4727 $export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });
4728 _dereq_(124)($Promise, PROMISE);
4729 _dereq_(123)(PROMISE);
4730 Wrapper = _dereq_(52)[PROMISE];
4733 $export($export.S + $export.F * !USE_NATIVE, PROMISE, {
4734 // 25.4.4.5 Promise.reject(r)
4735 reject: function reject(r) {
4736 var capability = newPromiseCapability(this);
4737 var $$reject = capability.reject;
4739 return capability.promise;
4742 $export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {
4743 // 25.4.4.6 Promise.resolve(x)
4744 resolve: function resolve(x) {
4745 return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);
4748 $export($export.S + $export.F * !(USE_NATIVE && _dereq_(86)(function (iter) {
4749 $Promise.all(iter)['catch'](empty);
4751 // 25.4.4.1 Promise.all(iterable)
4752 all: function all(iterable) {
4754 var capability = newPromiseCapability(C);
4755 var resolve = capability.resolve;
4756 var reject = capability.reject;
4757 var result = perform(function () {
4761 forOf(iterable, false, function (promise) {
4762 var $index = index++;
4763 var alreadyCalled = false;
4764 values.push(undefined);
4766 C.resolve(promise).then(function (value) {
4767 if (alreadyCalled) return;
4768 alreadyCalled = true;
4769 values[$index] = value;
4770 --remaining || resolve(values);
4773 --remaining || resolve(values);
4775 if (result.e) reject(result.v);
4776 return capability.promise;
4778 // 25.4.4.4 Promise.race(iterable)
4779 race: function race(iterable) {
4781 var capability = newPromiseCapability(C);
4782 var reject = capability.reject;
4783 var result = perform(function () {
4784 forOf(iterable, false, function (promise) {
4785 C.resolve(promise).then(capability.resolve, reject);
4788 if (result.e) reject(result.v);
4789 return capability.promise;
4793 },{"114":114,"115":115,"117":117,"123":123,"124":124,"127":127,"136":136,"148":148,"152":152,"33":33,"37":37,"47":47,"52":52,"54":54,"62":62,"68":68,"70":70,"81":81,"86":86,"89":89,"95":95,"96":96}],233:[function(_dereq_,module,exports){
4794 // 26.1.1 Reflect.apply(target, thisArgument, argumentsList)
4795 var $export = _dereq_(62);
4796 var aFunction = _dereq_(33);
4797 var anObject = _dereq_(38);
4798 var rApply = (_dereq_(70).Reflect || {}).apply;
4799 var fApply = Function.apply;
4800 // MS Edge argumentsList argument is optional
4801 $export($export.S + $export.F * !_dereq_(64)(function () {
4802 rApply(function () { /* empty */ });
4804 apply: function apply(target, thisArgument, argumentsList) {
4805 var T = aFunction(target);
4806 var L = anObject(argumentsList);
4807 return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);
4811 },{"33":33,"38":38,"62":62,"64":64,"70":70}],234:[function(_dereq_,module,exports){
4812 // 26.1.2 Reflect.construct(target, argumentsList [, newTarget])
4813 var $export = _dereq_(62);
4814 var create = _dereq_(98);
4815 var aFunction = _dereq_(33);
4816 var anObject = _dereq_(38);
4817 var isObject = _dereq_(81);
4818 var fails = _dereq_(64);
4819 var bind = _dereq_(46);
4820 var rConstruct = (_dereq_(70).Reflect || {}).construct;
4822 // MS Edge supports only 2 arguments and argumentsList argument is optional
4823 // FF Nightly sets third argument as `new.target`, but does not create `this` from it
4824 var NEW_TARGET_BUG = fails(function () {
4825 function F() { /* empty */ }
4826 return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);
4828 var ARGS_BUG = !fails(function () {
4829 rConstruct(function () { /* empty */ });
4832 $export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {
4833 construct: function construct(Target, args /* , newTarget */) {
4836 var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);
4837 if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);
4838 if (Target == newTarget) {
4839 // w/o altered newTarget, optimization for 0-4 arguments
4840 switch (args.length) {
4841 case 0: return new Target();
4842 case 1: return new Target(args[0]);
4843 case 2: return new Target(args[0], args[1]);
4844 case 3: return new Target(args[0], args[1], args[2]);
4845 case 4: return new Target(args[0], args[1], args[2], args[3]);
4847 // w/o altered newTarget, lot of arguments case
4849 $args.push.apply($args, args);
4850 return new (bind.apply(Target, $args))();
4852 // with altered newTarget, not support built-in constructors
4853 var proto = newTarget.prototype;
4854 var instance = create(isObject(proto) ? proto : Object.prototype);
4855 var result = Function.apply.call(Target, instance, args);
4856 return isObject(result) ? result : instance;
4860 },{"33":33,"38":38,"46":46,"62":62,"64":64,"70":70,"81":81,"98":98}],235:[function(_dereq_,module,exports){
4861 // 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)
4862 var dP = _dereq_(99);
4863 var $export = _dereq_(62);
4864 var anObject = _dereq_(38);
4865 var toPrimitive = _dereq_(143);
4867 // MS Edge has broken Reflect.defineProperty - throwing instead of returning false
4868 $export($export.S + $export.F * _dereq_(64)(function () {
4869 // eslint-disable-next-line no-undef
4870 Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });
4872 defineProperty: function defineProperty(target, propertyKey, attributes) {
4874 propertyKey = toPrimitive(propertyKey, true);
4875 anObject(attributes);
4877 dP.f(target, propertyKey, attributes);
4885 },{"143":143,"38":38,"62":62,"64":64,"99":99}],236:[function(_dereq_,module,exports){
4886 // 26.1.4 Reflect.deleteProperty(target, propertyKey)
4887 var $export = _dereq_(62);
4888 var gOPD = _dereq_(101).f;
4889 var anObject = _dereq_(38);
4891 $export($export.S, 'Reflect', {
4892 deleteProperty: function deleteProperty(target, propertyKey) {
4893 var desc = gOPD(anObject(target), propertyKey);
4894 return desc && !desc.configurable ? false : delete target[propertyKey];
4898 },{"101":101,"38":38,"62":62}],237:[function(_dereq_,module,exports){
4900 // 26.1.5 Reflect.enumerate(target)
4901 var $export = _dereq_(62);
4902 var anObject = _dereq_(38);
4903 var Enumerate = function (iterated) {
4904 this._t = anObject(iterated); // target
4905 this._i = 0; // next index
4906 var keys = this._k = []; // keys
4908 for (key in iterated) keys.push(key);
4910 _dereq_(84)(Enumerate, 'Object', function () {
4915 if (that._i >= keys.length) return { value: undefined, done: true };
4916 } while (!((key = keys[that._i++]) in that._t));
4917 return { value: key, done: false };
4920 $export($export.S, 'Reflect', {
4921 enumerate: function enumerate(target) {
4922 return new Enumerate(target);
4926 },{"38":38,"62":62,"84":84}],238:[function(_dereq_,module,exports){
4927 // 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)
4928 var gOPD = _dereq_(101);
4929 var $export = _dereq_(62);
4930 var anObject = _dereq_(38);
4932 $export($export.S, 'Reflect', {
4933 getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {
4934 return gOPD.f(anObject(target), propertyKey);
4938 },{"101":101,"38":38,"62":62}],239:[function(_dereq_,module,exports){
4939 // 26.1.8 Reflect.getPrototypeOf(target)
4940 var $export = _dereq_(62);
4941 var getProto = _dereq_(105);
4942 var anObject = _dereq_(38);
4944 $export($export.S, 'Reflect', {
4945 getPrototypeOf: function getPrototypeOf(target) {
4946 return getProto(anObject(target));
4950 },{"105":105,"38":38,"62":62}],240:[function(_dereq_,module,exports){
4951 // 26.1.6 Reflect.get(target, propertyKey [, receiver])
4952 var gOPD = _dereq_(101);
4953 var getPrototypeOf = _dereq_(105);
4954 var has = _dereq_(71);
4955 var $export = _dereq_(62);
4956 var isObject = _dereq_(81);
4957 var anObject = _dereq_(38);
4959 function get(target, propertyKey /* , receiver */) {
4960 var receiver = arguments.length < 3 ? target : arguments[2];
4962 if (anObject(target) === receiver) return target[propertyKey];
4963 if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')
4965 : desc.get !== undefined
4966 ? desc.get.call(receiver)
4968 if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);
4971 $export($export.S, 'Reflect', { get: get });
4973 },{"101":101,"105":105,"38":38,"62":62,"71":71,"81":81}],241:[function(_dereq_,module,exports){
4974 // 26.1.9 Reflect.has(target, propertyKey)
4975 var $export = _dereq_(62);
4977 $export($export.S, 'Reflect', {
4978 has: function has(target, propertyKey) {
4979 return propertyKey in target;
4983 },{"62":62}],242:[function(_dereq_,module,exports){
4984 // 26.1.10 Reflect.isExtensible(target)
4985 var $export = _dereq_(62);
4986 var anObject = _dereq_(38);
4987 var $isExtensible = Object.isExtensible;
4989 $export($export.S, 'Reflect', {
4990 isExtensible: function isExtensible(target) {
4992 return $isExtensible ? $isExtensible(target) : true;
4996 },{"38":38,"62":62}],243:[function(_dereq_,module,exports){
4997 // 26.1.11 Reflect.ownKeys(target)
4998 var $export = _dereq_(62);
5000 $export($export.S, 'Reflect', { ownKeys: _dereq_(111) });
5002 },{"111":111,"62":62}],244:[function(_dereq_,module,exports){
5003 // 26.1.12 Reflect.preventExtensions(target)
5004 var $export = _dereq_(62);
5005 var anObject = _dereq_(38);
5006 var $preventExtensions = Object.preventExtensions;
5008 $export($export.S, 'Reflect', {
5009 preventExtensions: function preventExtensions(target) {
5012 if ($preventExtensions) $preventExtensions(target);
5020 },{"38":38,"62":62}],245:[function(_dereq_,module,exports){
5021 // 26.1.14 Reflect.setPrototypeOf(target, proto)
5022 var $export = _dereq_(62);
5023 var setProto = _dereq_(122);
5025 if (setProto) $export($export.S, 'Reflect', {
5026 setPrototypeOf: function setPrototypeOf(target, proto) {
5027 setProto.check(target, proto);
5029 setProto.set(target, proto);
5037 },{"122":122,"62":62}],246:[function(_dereq_,module,exports){
5038 // 26.1.13 Reflect.set(target, propertyKey, V [, receiver])
5039 var dP = _dereq_(99);
5040 var gOPD = _dereq_(101);
5041 var getPrototypeOf = _dereq_(105);
5042 var has = _dereq_(71);
5043 var $export = _dereq_(62);
5044 var createDesc = _dereq_(116);
5045 var anObject = _dereq_(38);
5046 var isObject = _dereq_(81);
5048 function set(target, propertyKey, V /* , receiver */) {
5049 var receiver = arguments.length < 4 ? target : arguments[3];
5050 var ownDesc = gOPD.f(anObject(target), propertyKey);
5051 var existingDescriptor, proto;
5053 if (isObject(proto = getPrototypeOf(target))) {
5054 return set(proto, propertyKey, V, receiver);
5056 ownDesc = createDesc(0);
5058 if (has(ownDesc, 'value')) {
5059 if (ownDesc.writable === false || !isObject(receiver)) return false;
5060 if (existingDescriptor = gOPD.f(receiver, propertyKey)) {
5061 if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;
5062 existingDescriptor.value = V;
5063 dP.f(receiver, propertyKey, existingDescriptor);
5064 } else dP.f(receiver, propertyKey, createDesc(0, V));
5067 return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);
5070 $export($export.S, 'Reflect', { set: set });
5072 },{"101":101,"105":105,"116":116,"38":38,"62":62,"71":71,"81":81,"99":99}],247:[function(_dereq_,module,exports){
5073 var global = _dereq_(70);
5074 var inheritIfRequired = _dereq_(75);
5075 var dP = _dereq_(99).f;
5076 var gOPN = _dereq_(103).f;
5077 var isRegExp = _dereq_(82);
5078 var $flags = _dereq_(66);
5079 var $RegExp = global.RegExp;
5081 var proto = $RegExp.prototype;
5084 // "new" creates a new object, old webkit buggy here
5085 var CORRECT_NEW = new $RegExp(re1) !== re1;
5087 if (_dereq_(58) && (!CORRECT_NEW || _dereq_(64)(function () {
5088 re2[_dereq_(152)('match')] = false;
5089 // RegExp constructor can alter flags and IsRegExp works correct with @@match
5090 return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';
5092 $RegExp = function RegExp(p, f) {
5093 var tiRE = this instanceof $RegExp;
5094 var piRE = isRegExp(p);
5095 var fiU = f === undefined;
5096 return !tiRE && piRE && p.constructor === $RegExp && fiU ? p
5097 : inheritIfRequired(CORRECT_NEW
5098 ? new Base(piRE && !fiU ? p.source : p, f)
5099 : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)
5100 , tiRE ? this : proto, $RegExp);
5102 var proxy = function (key) {
5103 key in $RegExp || dP($RegExp, key, {
5105 get: function () { return Base[key]; },
5106 set: function (it) { Base[key] = it; }
5109 for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);
5110 proto.constructor = $RegExp;
5111 $RegExp.prototype = proto;
5112 _dereq_(118)(global, 'RegExp', $RegExp);
5115 _dereq_(123)('RegExp');
5117 },{"103":103,"118":118,"123":123,"152":152,"58":58,"64":64,"66":66,"70":70,"75":75,"82":82,"99":99}],248:[function(_dereq_,module,exports){
5119 var regexpExec = _dereq_(120);
5123 forced: regexpExec !== /./.exec
5128 },{"120":120,"62":62}],249:[function(_dereq_,module,exports){
5129 // 21.2.5.3 get RegExp.prototype.flags()
5130 if (_dereq_(58) && /./g.flags != 'g') _dereq_(99).f(RegExp.prototype, 'flags', {
5135 },{"58":58,"66":66,"99":99}],250:[function(_dereq_,module,exports){
5138 var anObject = _dereq_(38);
5139 var toLength = _dereq_(141);
5140 var advanceStringIndex = _dereq_(36);
5141 var regExpExec = _dereq_(119);
5144 _dereq_(65)('match', 1, function (defined, MATCH, $match, maybeCallNative) {
5146 // `String.prototype.match` method
5147 // https://tc39.github.io/ecma262/#sec-string.prototype.match
5148 function match(regexp) {
5149 var O = defined(this);
5150 var fn = regexp == undefined ? undefined : regexp[MATCH];
5151 return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));
5153 // `RegExp.prototype[@@match]` method
5154 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match
5156 var res = maybeCallNative($match, regexp, this);
5157 if (res.done) return res.value;
5158 var rx = anObject(regexp);
5159 var S = String(this);
5160 if (!rx.global) return regExpExec(rx, S);
5161 var fullUnicode = rx.unicode;
5166 while ((result = regExpExec(rx, S)) !== null) {
5167 var matchStr = String(result[0]);
5169 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
5172 return n === 0 ? null : A;
5177 },{"119":119,"141":141,"36":36,"38":38,"65":65}],251:[function(_dereq_,module,exports){
5180 var anObject = _dereq_(38);
5181 var toObject = _dereq_(142);
5182 var toLength = _dereq_(141);
5183 var toInteger = _dereq_(139);
5184 var advanceStringIndex = _dereq_(36);
5185 var regExpExec = _dereq_(119);
5188 var floor = Math.floor;
5189 var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g;
5190 var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g;
5192 var maybeToString = function (it) {
5193 return it === undefined ? it : String(it);
5197 _dereq_(65)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {
5199 // `String.prototype.replace` method
5200 // https://tc39.github.io/ecma262/#sec-string.prototype.replace
5201 function replace(searchValue, replaceValue) {
5202 var O = defined(this);
5203 var fn = searchValue == undefined ? undefined : searchValue[REPLACE];
5204 return fn !== undefined
5205 ? fn.call(searchValue, O, replaceValue)
5206 : $replace.call(String(O), searchValue, replaceValue);
5208 // `RegExp.prototype[@@replace]` method
5209 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace
5210 function (regexp, replaceValue) {
5211 var res = maybeCallNative($replace, regexp, this, replaceValue);
5212 if (res.done) return res.value;
5214 var rx = anObject(regexp);
5215 var S = String(this);
5216 var functionalReplace = typeof replaceValue === 'function';
5217 if (!functionalReplace) replaceValue = String(replaceValue);
5218 var global = rx.global;
5220 var fullUnicode = rx.unicode;
5225 var result = regExpExec(rx, S);
5226 if (result === null) break;
5227 results.push(result);
5229 var matchStr = String(result[0]);
5230 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);
5232 var accumulatedResult = '';
5233 var nextSourcePosition = 0;
5234 for (var i = 0; i < results.length; i++) {
5235 result = results[i];
5236 var matched = String(result[0]);
5237 var position = max(min(toInteger(result.index), S.length), 0);
5239 // NOTE: This is equivalent to
5240 // captures = result.slice(1).map(maybeToString)
5241 // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
5242 // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
5243 // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
5244 for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));
5245 var namedCaptures = result.groups;
5246 if (functionalReplace) {
5247 var replacerArgs = [matched].concat(captures, position, S);
5248 if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);
5249 var replacement = String(replaceValue.apply(undefined, replacerArgs));
5251 replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
5253 if (position >= nextSourcePosition) {
5254 accumulatedResult += S.slice(nextSourcePosition, position) + replacement;
5255 nextSourcePosition = position + matched.length;
5258 return accumulatedResult + S.slice(nextSourcePosition);
5262 // https://tc39.github.io/ecma262/#sec-getsubstitution
5263 function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {
5264 var tailPos = position + matched.length;
5265 var m = captures.length;
5266 var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
5267 if (namedCaptures !== undefined) {
5268 namedCaptures = toObject(namedCaptures);
5269 symbols = SUBSTITUTION_SYMBOLS;
5271 return $replace.call(replacement, symbols, function (match, ch) {
5273 switch (ch.charAt(0)) {
5274 case '$': return '$';
5275 case '&': return matched;
5276 case '`': return str.slice(0, position);
5277 case "'": return str.slice(tailPos);
5279 capture = namedCaptures[ch.slice(1, -1)];
5283 if (n === 0) return match;
5285 var f = floor(n / 10);
5286 if (f === 0) return match;
5287 if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);
5290 capture = captures[n - 1];
5292 return capture === undefined ? '' : capture;
5297 },{"119":119,"139":139,"141":141,"142":142,"36":36,"38":38,"65":65}],252:[function(_dereq_,module,exports){
5300 var anObject = _dereq_(38);
5301 var sameValue = _dereq_(121);
5302 var regExpExec = _dereq_(119);
5305 _dereq_(65)('search', 1, function (defined, SEARCH, $search, maybeCallNative) {
5307 // `String.prototype.search` method
5308 // https://tc39.github.io/ecma262/#sec-string.prototype.search
5309 function search(regexp) {
5310 var O = defined(this);
5311 var fn = regexp == undefined ? undefined : regexp[SEARCH];
5312 return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));
5314 // `RegExp.prototype[@@search]` method
5315 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search
5317 var res = maybeCallNative($search, regexp, this);
5318 if (res.done) return res.value;
5319 var rx = anObject(regexp);
5320 var S = String(this);
5321 var previousLastIndex = rx.lastIndex;
5322 if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;
5323 var result = regExpExec(rx, S);
5324 if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;
5325 return result === null ? -1 : result.index;
5330 },{"119":119,"121":121,"38":38,"65":65}],253:[function(_dereq_,module,exports){
5333 var isRegExp = _dereq_(82);
5334 var anObject = _dereq_(38);
5335 var speciesConstructor = _dereq_(127);
5336 var advanceStringIndex = _dereq_(36);
5337 var toLength = _dereq_(141);
5338 var callRegExpExec = _dereq_(119);
5339 var regexpExec = _dereq_(120);
5340 var fails = _dereq_(64);
5341 var $min = Math.min;
5342 var $push = [].push;
5343 var $SPLIT = 'split';
5344 var LENGTH = 'length';
5345 var LAST_INDEX = 'lastIndex';
5346 var MAX_UINT32 = 0xffffffff;
5348 // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError
5349 var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });
5352 _dereq_(65)('split', 2, function (defined, SPLIT, $split, maybeCallNative) {
5355 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||
5356 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||
5357 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||
5358 '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||
5359 '.'[$SPLIT](/()()/)[LENGTH] > 1 ||
5360 ''[$SPLIT](/.?/)[LENGTH]
5362 // based on es5-shim implementation, need to rework it
5363 internalSplit = function (separator, limit) {
5364 var string = String(this);
5365 if (separator === undefined && limit === 0) return [];
5366 // If `separator` is not a regex, use native split
5367 if (!isRegExp(separator)) return $split.call(string, separator, limit);
5369 var flags = (separator.ignoreCase ? 'i' : '') +
5370 (separator.multiline ? 'm' : '') +
5371 (separator.unicode ? 'u' : '') +
5372 (separator.sticky ? 'y' : '');
5373 var lastLastIndex = 0;
5374 var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;
5375 // Make `global` and avoid `lastIndex` issues by working with a copy
5376 var separatorCopy = new RegExp(separator.source, flags + 'g');
5377 var match, lastIndex, lastLength;
5378 while (match = regexpExec.call(separatorCopy, string)) {
5379 lastIndex = separatorCopy[LAST_INDEX];
5380 if (lastIndex > lastLastIndex) {
5381 output.push(string.slice(lastLastIndex, match.index));
5382 if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));
5383 lastLength = match[0][LENGTH];
5384 lastLastIndex = lastIndex;
5385 if (output[LENGTH] >= splitLimit) break;
5387 if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop
5389 if (lastLastIndex === string[LENGTH]) {
5390 if (lastLength || !separatorCopy.test('')) output.push('');
5391 } else output.push(string.slice(lastLastIndex));
5392 return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;
5395 } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {
5396 internalSplit = function (separator, limit) {
5397 return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);
5400 internalSplit = $split;
5404 // `String.prototype.split` method
5405 // https://tc39.github.io/ecma262/#sec-string.prototype.split
5406 function split(separator, limit) {
5407 var O = defined(this);
5408 var splitter = separator == undefined ? undefined : separator[SPLIT];
5409 return splitter !== undefined
5410 ? splitter.call(separator, O, limit)
5411 : internalSplit.call(String(O), separator, limit);
5413 // `RegExp.prototype[@@split]` method
5414 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split
5416 // NOTE: This cannot be properly polyfilled in engines that don't support
5418 function (regexp, limit) {
5419 var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);
5420 if (res.done) return res.value;
5422 var rx = anObject(regexp);
5423 var S = String(this);
5424 var C = speciesConstructor(rx, RegExp);
5426 var unicodeMatching = rx.unicode;
5427 var flags = (rx.ignoreCase ? 'i' : '') +
5428 (rx.multiline ? 'm' : '') +
5429 (rx.unicode ? 'u' : '') +
5430 (SUPPORTS_Y ? 'y' : 'g');
5432 // ^(? + rx + ) is needed, in combination with some S slicing, to
5433 // simulate the 'y' flag.
5434 var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);
5435 var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;
5436 if (lim === 0) return [];
5437 if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];
5441 while (q < S.length) {
5442 splitter.lastIndex = SUPPORTS_Y ? q : 0;
5443 var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));
5447 (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p
5449 q = advanceStringIndex(S, q, unicodeMatching);
5451 A.push(S.slice(p, q));
5452 if (A.length === lim) return A;
5453 for (var i = 1; i <= z.length - 1; i++) {
5455 if (A.length === lim) return A;
5466 },{"119":119,"120":120,"127":127,"141":141,"36":36,"38":38,"64":64,"65":65,"82":82}],254:[function(_dereq_,module,exports){
5469 var anObject = _dereq_(38);
5470 var $flags = _dereq_(66);
5471 var DESCRIPTORS = _dereq_(58);
5472 var TO_STRING = 'toString';
5473 var $toString = /./[TO_STRING];
5475 var define = function (fn) {
5476 _dereq_(118)(RegExp.prototype, TO_STRING, fn, true);
5479 // 21.2.5.14 RegExp.prototype.toString()
5480 if (_dereq_(64)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {
5481 define(function toString() {
5482 var R = anObject(this);
5483 return '/'.concat(R.source, '/',
5484 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);
5486 // FF44- RegExp#toString has a wrong name
5487 } else if ($toString.name != TO_STRING) {
5488 define(function toString() {
5489 return $toString.call(this);
5493 },{"118":118,"249":249,"38":38,"58":58,"64":64,"66":66}],255:[function(_dereq_,module,exports){
5495 var strong = _dereq_(49);
5496 var validate = _dereq_(149);
5500 module.exports = _dereq_(51)(SET, function (get) {
5501 return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
5503 // 23.2.3.1 Set.prototype.add(value)
5504 add: function add(value) {
5505 return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);
5509 },{"149":149,"49":49,"51":51}],256:[function(_dereq_,module,exports){
5511 // B.2.3.2 String.prototype.anchor(name)
5512 _dereq_(131)('anchor', function (createHTML) {
5513 return function anchor(name) {
5514 return createHTML(this, 'a', 'name', name);
5518 },{"131":131}],257:[function(_dereq_,module,exports){
5520 // B.2.3.3 String.prototype.big()
5521 _dereq_(131)('big', function (createHTML) {
5522 return function big() {
5523 return createHTML(this, 'big', '', '');
5527 },{"131":131}],258:[function(_dereq_,module,exports){
5529 // B.2.3.4 String.prototype.blink()
5530 _dereq_(131)('blink', function (createHTML) {
5531 return function blink() {
5532 return createHTML(this, 'blink', '', '');
5536 },{"131":131}],259:[function(_dereq_,module,exports){
5538 // B.2.3.5 String.prototype.bold()
5539 _dereq_(131)('bold', function (createHTML) {
5540 return function bold() {
5541 return createHTML(this, 'b', '', '');
5545 },{"131":131}],260:[function(_dereq_,module,exports){
5547 var $export = _dereq_(62);
5548 var $at = _dereq_(129)(false);
5549 $export($export.P, 'String', {
5550 // 21.1.3.3 String.prototype.codePointAt(pos)
5551 codePointAt: function codePointAt(pos) {
5552 return $at(this, pos);
5556 },{"129":129,"62":62}],261:[function(_dereq_,module,exports){
5557 // 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])
5559 var $export = _dereq_(62);
5560 var toLength = _dereq_(141);
5561 var context = _dereq_(130);
5562 var ENDS_WITH = 'endsWith';
5563 var $endsWith = ''[ENDS_WITH];
5565 $export($export.P + $export.F * _dereq_(63)(ENDS_WITH), 'String', {
5566 endsWith: function endsWith(searchString /* , endPosition = @length */) {
5567 var that = context(this, searchString, ENDS_WITH);
5568 var endPosition = arguments.length > 1 ? arguments[1] : undefined;
5569 var len = toLength(that.length);
5570 var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len);
5571 var search = String(searchString);
5573 ? $endsWith.call(that, search, end)
5574 : that.slice(end - search.length, end) === search;
5578 },{"130":130,"141":141,"62":62,"63":63}],262:[function(_dereq_,module,exports){
5580 // B.2.3.6 String.prototype.fixed()
5581 _dereq_(131)('fixed', function (createHTML) {
5582 return function fixed() {
5583 return createHTML(this, 'tt', '', '');
5587 },{"131":131}],263:[function(_dereq_,module,exports){
5589 // B.2.3.7 String.prototype.fontcolor(color)
5590 _dereq_(131)('fontcolor', function (createHTML) {
5591 return function fontcolor(color) {
5592 return createHTML(this, 'font', 'color', color);
5596 },{"131":131}],264:[function(_dereq_,module,exports){
5598 // B.2.3.8 String.prototype.fontsize(size)
5599 _dereq_(131)('fontsize', function (createHTML) {
5600 return function fontsize(size) {
5601 return createHTML(this, 'font', 'size', size);
5605 },{"131":131}],265:[function(_dereq_,module,exports){
5606 var $export = _dereq_(62);
5607 var toAbsoluteIndex = _dereq_(137);
5608 var fromCharCode = String.fromCharCode;
5609 var $fromCodePoint = String.fromCodePoint;
5611 // length should be 1, old FF problem
5612 $export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {
5613 // 21.1.2.2 String.fromCodePoint(...codePoints)
5614 fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars
5616 var aLen = arguments.length;
5620 code = +arguments[i++];
5621 if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point');
5622 res.push(code < 0x10000
5623 ? fromCharCode(code)
5624 : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)
5626 } return res.join('');
5630 },{"137":137,"62":62}],266:[function(_dereq_,module,exports){
5631 // 21.1.3.7 String.prototype.includes(searchString, position = 0)
5633 var $export = _dereq_(62);
5634 var context = _dereq_(130);
5635 var INCLUDES = 'includes';
5637 $export($export.P + $export.F * _dereq_(63)(INCLUDES), 'String', {
5638 includes: function includes(searchString /* , position = 0 */) {
5639 return !!~context(this, searchString, INCLUDES)
5640 .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);
5644 },{"130":130,"62":62,"63":63}],267:[function(_dereq_,module,exports){
5646 // B.2.3.9 String.prototype.italics()
5647 _dereq_(131)('italics', function (createHTML) {
5648 return function italics() {
5649 return createHTML(this, 'i', '', '');
5653 },{"131":131}],268:[function(_dereq_,module,exports){
5655 var $at = _dereq_(129)(true);
5657 // 21.1.3.27 String.prototype[@@iterator]()
5658 _dereq_(85)(String, 'String', function (iterated) {
5659 this._t = String(iterated); // target
5660 this._i = 0; // next index
5661 // 21.1.5.2.1 %StringIteratorPrototype%.next()
5664 var index = this._i;
5666 if (index >= O.length) return { value: undefined, done: true };
5667 point = $at(O, index);
5668 this._i += point.length;
5669 return { value: point, done: false };
5672 },{"129":129,"85":85}],269:[function(_dereq_,module,exports){
5674 // B.2.3.10 String.prototype.link(url)
5675 _dereq_(131)('link', function (createHTML) {
5676 return function link(url) {
5677 return createHTML(this, 'a', 'href', url);
5681 },{"131":131}],270:[function(_dereq_,module,exports){
5682 var $export = _dereq_(62);
5683 var toIObject = _dereq_(140);
5684 var toLength = _dereq_(141);
5686 $export($export.S, 'String', {
5687 // 21.1.2.4 String.raw(callSite, ...substitutions)
5688 raw: function raw(callSite) {
5689 var tpl = toIObject(callSite.raw);
5690 var len = toLength(tpl.length);
5691 var aLen = arguments.length;
5695 res.push(String(tpl[i++]));
5696 if (i < aLen) res.push(String(arguments[i]));
5697 } return res.join('');
5701 },{"140":140,"141":141,"62":62}],271:[function(_dereq_,module,exports){
5702 var $export = _dereq_(62);
5704 $export($export.P, 'String', {
5705 // 21.1.3.13 String.prototype.repeat(count)
5706 repeat: _dereq_(133)
5709 },{"133":133,"62":62}],272:[function(_dereq_,module,exports){
5711 // B.2.3.11 String.prototype.small()
5712 _dereq_(131)('small', function (createHTML) {
5713 return function small() {
5714 return createHTML(this, 'small', '', '');
5718 },{"131":131}],273:[function(_dereq_,module,exports){
5719 // 21.1.3.18 String.prototype.startsWith(searchString [, position ])
5721 var $export = _dereq_(62);
5722 var toLength = _dereq_(141);
5723 var context = _dereq_(130);
5724 var STARTS_WITH = 'startsWith';
5725 var $startsWith = ''[STARTS_WITH];
5727 $export($export.P + $export.F * _dereq_(63)(STARTS_WITH), 'String', {
5728 startsWith: function startsWith(searchString /* , position = 0 */) {
5729 var that = context(this, searchString, STARTS_WITH);
5730 var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));
5731 var search = String(searchString);
5733 ? $startsWith.call(that, search, index)
5734 : that.slice(index, index + search.length) === search;
5738 },{"130":130,"141":141,"62":62,"63":63}],274:[function(_dereq_,module,exports){
5740 // B.2.3.12 String.prototype.strike()
5741 _dereq_(131)('strike', function (createHTML) {
5742 return function strike() {
5743 return createHTML(this, 'strike', '', '');
5747 },{"131":131}],275:[function(_dereq_,module,exports){
5749 // B.2.3.13 String.prototype.sub()
5750 _dereq_(131)('sub', function (createHTML) {
5751 return function sub() {
5752 return createHTML(this, 'sub', '', '');
5756 },{"131":131}],276:[function(_dereq_,module,exports){
5758 // B.2.3.14 String.prototype.sup()
5759 _dereq_(131)('sup', function (createHTML) {
5760 return function sup() {
5761 return createHTML(this, 'sup', '', '');
5765 },{"131":131}],277:[function(_dereq_,module,exports){
5767 // 21.1.3.25 String.prototype.trim()
5768 _dereq_(134)('trim', function ($trim) {
5769 return function trim() {
5770 return $trim(this, 3);
5774 },{"134":134}],278:[function(_dereq_,module,exports){
5776 // ECMAScript 6 symbols shim
5777 var global = _dereq_(70);
5778 var has = _dereq_(71);
5779 var DESCRIPTORS = _dereq_(58);
5780 var $export = _dereq_(62);
5781 var redefine = _dereq_(118);
5782 var META = _dereq_(94).KEY;
5783 var $fails = _dereq_(64);
5784 var shared = _dereq_(126);
5785 var setToStringTag = _dereq_(124);
5786 var uid = _dereq_(147);
5787 var wks = _dereq_(152);
5788 var wksExt = _dereq_(151);
5789 var wksDefine = _dereq_(150);
5790 var enumKeys = _dereq_(61);
5791 var isArray = _dereq_(79);
5792 var anObject = _dereq_(38);
5793 var isObject = _dereq_(81);
5794 var toObject = _dereq_(142);
5795 var toIObject = _dereq_(140);
5796 var toPrimitive = _dereq_(143);
5797 var createDesc = _dereq_(116);
5798 var _create = _dereq_(98);
5799 var gOPNExt = _dereq_(102);
5800 var $GOPD = _dereq_(101);
5801 var $GOPS = _dereq_(104);
5802 var $DP = _dereq_(99);
5803 var $keys = _dereq_(107);
5806 var gOPN = gOPNExt.f;
5807 var $Symbol = global.Symbol;
5808 var $JSON = global.JSON;
5809 var _stringify = $JSON && $JSON.stringify;
5810 var PROTOTYPE = 'prototype';
5811 var HIDDEN = wks('_hidden');
5812 var TO_PRIMITIVE = wks('toPrimitive');
5813 var isEnum = {}.propertyIsEnumerable;
5814 var SymbolRegistry = shared('symbol-registry');
5815 var AllSymbols = shared('symbols');
5816 var OPSymbols = shared('op-symbols');
5817 var ObjectProto = Object[PROTOTYPE];
5818 var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;
5819 var QObject = global.QObject;
5820 // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173
5821 var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;
5823 // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687
5824 var setSymbolDesc = DESCRIPTORS && $fails(function () {
5825 return _create(dP({}, 'a', {
5826 get: function () { return dP(this, 'a', { value: 7 }).a; }
5828 }) ? function (it, key, D) {
5829 var protoDesc = gOPD(ObjectProto, key);
5830 if (protoDesc) delete ObjectProto[key];
5832 if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);
5835 var wrap = function (tag) {
5836 var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);
5841 var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {
5842 return typeof it == 'symbol';
5844 return it instanceof $Symbol;
5847 var $defineProperty = function defineProperty(it, key, D) {
5848 if (it === ObjectProto) $defineProperty(OPSymbols, key, D);
5850 key = toPrimitive(key, true);
5852 if (has(AllSymbols, key)) {
5853 if (!D.enumerable) {
5854 if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));
5855 it[HIDDEN][key] = true;
5857 if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;
5858 D = _create(D, { enumerable: createDesc(0, false) });
5859 } return setSymbolDesc(it, key, D);
5860 } return dP(it, key, D);
5862 var $defineProperties = function defineProperties(it, P) {
5864 var keys = enumKeys(P = toIObject(P));
5866 var l = keys.length;
5868 while (l > i) $defineProperty(it, key = keys[i++], P[key]);
5871 var $create = function create(it, P) {
5872 return P === undefined ? _create(it) : $defineProperties(_create(it), P);
5874 var $propertyIsEnumerable = function propertyIsEnumerable(key) {
5875 var E = isEnum.call(this, key = toPrimitive(key, true));
5876 if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;
5877 return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;
5879 var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {
5881 key = toPrimitive(key, true);
5882 if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;
5883 var D = gOPD(it, key);
5884 if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;
5887 var $getOwnPropertyNames = function getOwnPropertyNames(it) {
5888 var names = gOPN(toIObject(it));
5892 while (names.length > i) {
5893 if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);
5896 var $getOwnPropertySymbols = function getOwnPropertySymbols(it) {
5897 var IS_OP = it === ObjectProto;
5898 var names = gOPN(IS_OP ? OPSymbols : toIObject(it));
5902 while (names.length > i) {
5903 if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);
5907 // 19.4.1.1 Symbol([description])
5909 $Symbol = function Symbol() {
5910 if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');
5911 var tag = uid(arguments.length > 0 ? arguments[0] : undefined);
5912 var $set = function (value) {
5913 if (this === ObjectProto) $set.call(OPSymbols, value);
5914 if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;
5915 setSymbolDesc(this, tag, createDesc(1, value));
5917 if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });
5920 redefine($Symbol[PROTOTYPE], 'toString', function toString() {
5924 $GOPD.f = $getOwnPropertyDescriptor;
5925 $DP.f = $defineProperty;
5926 _dereq_(103).f = gOPNExt.f = $getOwnPropertyNames;
5927 _dereq_(108).f = $propertyIsEnumerable;
5928 $GOPS.f = $getOwnPropertySymbols;
5930 if (DESCRIPTORS && !_dereq_(89)) {
5931 redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);
5934 wksExt.f = function (name) {
5935 return wrap(wks(name));
5939 $export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });
5941 for (var es6Symbols = (
5942 // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14
5943 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'
5944 ).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);
5946 for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);
5948 $export($export.S + $export.F * !USE_NATIVE, 'Symbol', {
5949 // 19.4.2.1 Symbol.for(key)
5950 'for': function (key) {
5951 return has(SymbolRegistry, key += '')
5952 ? SymbolRegistry[key]
5953 : SymbolRegistry[key] = $Symbol(key);
5955 // 19.4.2.5 Symbol.keyFor(sym)
5956 keyFor: function keyFor(sym) {
5957 if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');
5958 for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;
5960 useSetter: function () { setter = true; },
5961 useSimple: function () { setter = false; }
5964 $export($export.S + $export.F * !USE_NATIVE, 'Object', {
5965 // 19.1.2.2 Object.create(O [, Properties])
5967 // 19.1.2.4 Object.defineProperty(O, P, Attributes)
5968 defineProperty: $defineProperty,
5969 // 19.1.2.3 Object.defineProperties(O, Properties)
5970 defineProperties: $defineProperties,
5971 // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)
5972 getOwnPropertyDescriptor: $getOwnPropertyDescriptor,
5973 // 19.1.2.7 Object.getOwnPropertyNames(O)
5974 getOwnPropertyNames: $getOwnPropertyNames,
5975 // 19.1.2.8 Object.getOwnPropertySymbols(O)
5976 getOwnPropertySymbols: $getOwnPropertySymbols
5979 // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives
5980 // https://bugs.chromium.org/p/v8/issues/detail?id=3443
5981 var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });
5983 $export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {
5984 getOwnPropertySymbols: function getOwnPropertySymbols(it) {
5985 return $GOPS.f(toObject(it));
5989 // 24.3.2 JSON.stringify(value [, replacer [, space]])
5990 $JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {
5992 // MS Edge converts symbol values to JSON as {}
5993 // WebKit converts symbol values to JSON as null
5994 // V8 throws on boxed symbols
5995 return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';
5997 stringify: function stringify(it) {
6000 var replacer, $replacer;
6001 while (arguments.length > i) args.push(arguments[i++]);
6002 $replacer = replacer = args[1];
6003 if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined
6004 if (!isArray(replacer)) replacer = function (key, value) {
6005 if (typeof $replacer == 'function') value = $replacer.call(this, key, value);
6006 if (!isSymbol(value)) return value;
6009 return _stringify.apply($JSON, args);
6013 // 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)
6014 $Symbol[PROTOTYPE][TO_PRIMITIVE] || _dereq_(72)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);
6015 // 19.4.3.5 Symbol.prototype[@@toStringTag]
6016 setToStringTag($Symbol, 'Symbol');
6017 // 20.2.1.9 Math[@@toStringTag]
6018 setToStringTag(Math, 'Math', true);
6019 // 24.3.3 JSON[@@toStringTag]
6020 setToStringTag(global.JSON, 'JSON', true);
6022 },{"101":101,"102":102,"103":103,"104":104,"107":107,"108":108,"116":116,"118":118,"124":124,"126":126,"140":140,"142":142,"143":143,"147":147,"150":150,"151":151,"152":152,"38":38,"58":58,"61":61,"62":62,"64":64,"70":70,"71":71,"72":72,"79":79,"81":81,"89":89,"94":94,"98":98,"99":99}],279:[function(_dereq_,module,exports){
6024 var $export = _dereq_(62);
6025 var $typed = _dereq_(146);
6026 var buffer = _dereq_(145);
6027 var anObject = _dereq_(38);
6028 var toAbsoluteIndex = _dereq_(137);
6029 var toLength = _dereq_(141);
6030 var isObject = _dereq_(81);
6031 var ArrayBuffer = _dereq_(70).ArrayBuffer;
6032 var speciesConstructor = _dereq_(127);
6033 var $ArrayBuffer = buffer.ArrayBuffer;
6034 var $DataView = buffer.DataView;
6035 var $isView = $typed.ABV && ArrayBuffer.isView;
6036 var $slice = $ArrayBuffer.prototype.slice;
6037 var VIEW = $typed.VIEW;
6038 var ARRAY_BUFFER = 'ArrayBuffer';
6040 $export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer });
6042 $export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {
6043 // 24.1.3.1 ArrayBuffer.isView(arg)
6044 isView: function isView(it) {
6045 return $isView && $isView(it) || isObject(it) && VIEW in it;
6049 $export($export.P + $export.U + $export.F * _dereq_(64)(function () {
6050 return !new $ArrayBuffer(2).slice(1, undefined).byteLength;
6052 // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)
6053 slice: function slice(start, end) {
6054 if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix
6055 var len = anObject(this).byteLength;
6056 var first = toAbsoluteIndex(start, len);
6057 var fin = toAbsoluteIndex(end === undefined ? len : end, len);
6058 var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first));
6059 var viewS = new $DataView(this);
6060 var viewT = new $DataView(result);
6062 while (first < fin) {
6063 viewT.setUint8(index++, viewS.getUint8(first++));
6068 _dereq_(123)(ARRAY_BUFFER);
6070 },{"123":123,"127":127,"137":137,"141":141,"145":145,"146":146,"38":38,"62":62,"64":64,"70":70,"81":81}],280:[function(_dereq_,module,exports){
6071 var $export = _dereq_(62);
6072 $export($export.G + $export.W + $export.F * !_dereq_(146).ABV, {
6073 DataView: _dereq_(145).DataView
6076 },{"145":145,"146":146,"62":62}],281:[function(_dereq_,module,exports){
6077 _dereq_(144)('Float32', 4, function (init) {
6078 return function Float32Array(data, byteOffset, length) {
6079 return init(this, data, byteOffset, length);
6083 },{"144":144}],282:[function(_dereq_,module,exports){
6084 _dereq_(144)('Float64', 8, function (init) {
6085 return function Float64Array(data, byteOffset, length) {
6086 return init(this, data, byteOffset, length);
6090 },{"144":144}],283:[function(_dereq_,module,exports){
6091 _dereq_(144)('Int16', 2, function (init) {
6092 return function Int16Array(data, byteOffset, length) {
6093 return init(this, data, byteOffset, length);
6097 },{"144":144}],284:[function(_dereq_,module,exports){
6098 _dereq_(144)('Int32', 4, function (init) {
6099 return function Int32Array(data, byteOffset, length) {
6100 return init(this, data, byteOffset, length);
6104 },{"144":144}],285:[function(_dereq_,module,exports){
6105 _dereq_(144)('Int8', 1, function (init) {
6106 return function Int8Array(data, byteOffset, length) {
6107 return init(this, data, byteOffset, length);
6111 },{"144":144}],286:[function(_dereq_,module,exports){
6112 _dereq_(144)('Uint16', 2, function (init) {
6113 return function Uint16Array(data, byteOffset, length) {
6114 return init(this, data, byteOffset, length);
6118 },{"144":144}],287:[function(_dereq_,module,exports){
6119 _dereq_(144)('Uint32', 4, function (init) {
6120 return function Uint32Array(data, byteOffset, length) {
6121 return init(this, data, byteOffset, length);
6125 },{"144":144}],288:[function(_dereq_,module,exports){
6126 _dereq_(144)('Uint8', 1, function (init) {
6127 return function Uint8Array(data, byteOffset, length) {
6128 return init(this, data, byteOffset, length);
6132 },{"144":144}],289:[function(_dereq_,module,exports){
6133 _dereq_(144)('Uint8', 1, function (init) {
6134 return function Uint8ClampedArray(data, byteOffset, length) {
6135 return init(this, data, byteOffset, length);
6139 },{"144":144}],290:[function(_dereq_,module,exports){
6141 var global = _dereq_(70);
6142 var each = _dereq_(42)(0);
6143 var redefine = _dereq_(118);
6144 var meta = _dereq_(94);
6145 var assign = _dereq_(97);
6146 var weak = _dereq_(50);
6147 var isObject = _dereq_(81);
6148 var validate = _dereq_(149);
6149 var NATIVE_WEAK_MAP = _dereq_(149);
6150 var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;
6151 var WEAK_MAP = 'WeakMap';
6152 var getWeak = meta.getWeak;
6153 var isExtensible = Object.isExtensible;
6154 var uncaughtFrozenStore = weak.ufstore;
6157 var wrapper = function (get) {
6158 return function WeakMap() {
6159 return get(this, arguments.length > 0 ? arguments[0] : undefined);
6164 // 23.3.3.3 WeakMap.prototype.get(key)
6165 get: function get(key) {
6166 if (isObject(key)) {
6167 var data = getWeak(key);
6168 if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);
6169 return data ? data[this._i] : undefined;
6172 // 23.3.3.5 WeakMap.prototype.set(key, value)
6173 set: function set(key, value) {
6174 return weak.def(validate(this, WEAK_MAP), key, value);
6178 // 23.3 WeakMap Objects
6179 var $WeakMap = module.exports = _dereq_(51)(WEAK_MAP, wrapper, methods, weak, true, true);
6181 // IE11 WeakMap frozen keys fix
6182 if (NATIVE_WEAK_MAP && IS_IE11) {
6183 InternalMap = weak.getConstructor(wrapper, WEAK_MAP);
6184 assign(InternalMap.prototype, methods);
6186 each(['delete', 'has', 'get', 'set'], function (key) {
6187 var proto = $WeakMap.prototype;
6188 var method = proto[key];
6189 redefine(proto, key, function (a, b) {
6190 // store frozen objects on internal weakmap shim
6191 if (isObject(a) && !isExtensible(a)) {
6192 if (!this._f) this._f = new InternalMap();
6193 var result = this._f[key](a, b);
6194 return key == 'set' ? this : result;
6195 // store all the rest on native weakmap
6196 } return method.call(this, a, b);
6201 },{"118":118,"149":149,"42":42,"50":50,"51":51,"70":70,"81":81,"94":94,"97":97}],291:[function(_dereq_,module,exports){
6203 var weak = _dereq_(50);
6204 var validate = _dereq_(149);
6205 var WEAK_SET = 'WeakSet';
6207 // 23.4 WeakSet Objects
6208 _dereq_(51)(WEAK_SET, function (get) {
6209 return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };
6211 // 23.4.3.1 WeakSet.prototype.add(value)
6212 add: function add(value) {
6213 return weak.def(validate(this, WEAK_SET), value, true);
6215 }, weak, false, true);
6217 },{"149":149,"50":50,"51":51}],292:[function(_dereq_,module,exports){
6219 // https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap
6220 var $export = _dereq_(62);
6221 var flattenIntoArray = _dereq_(67);
6222 var toObject = _dereq_(142);
6223 var toLength = _dereq_(141);
6224 var aFunction = _dereq_(33);
6225 var arraySpeciesCreate = _dereq_(45);
6227 $export($export.P, 'Array', {
6228 flatMap: function flatMap(callbackfn /* , thisArg */) {
6229 var O = toObject(this);
6231 aFunction(callbackfn);
6232 sourceLen = toLength(O.length);
6233 A = arraySpeciesCreate(O, 0);
6234 flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);
6239 _dereq_(35)('flatMap');
6241 },{"141":141,"142":142,"33":33,"35":35,"45":45,"62":62,"67":67}],293:[function(_dereq_,module,exports){
6243 // https://github.com/tc39/Array.prototype.includes
6244 var $export = _dereq_(62);
6245 var $includes = _dereq_(41)(true);
6247 $export($export.P, 'Array', {
6248 includes: function includes(el /* , fromIndex = 0 */) {
6249 return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
6253 _dereq_(35)('includes');
6255 },{"35":35,"41":41,"62":62}],294:[function(_dereq_,module,exports){
6256 // https://github.com/tc39/proposal-object-values-entries
6257 var $export = _dereq_(62);
6258 var $entries = _dereq_(110)(true);
6260 $export($export.S, 'Object', {
6261 entries: function entries(it) {
6262 return $entries(it);
6266 },{"110":110,"62":62}],295:[function(_dereq_,module,exports){
6267 // https://github.com/tc39/proposal-object-getownpropertydescriptors
6268 var $export = _dereq_(62);
6269 var ownKeys = _dereq_(111);
6270 var toIObject = _dereq_(140);
6271 var gOPD = _dereq_(101);
6272 var createProperty = _dereq_(53);
6274 $export($export.S, 'Object', {
6275 getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {
6276 var O = toIObject(object);
6277 var getDesc = gOPD.f;
6278 var keys = ownKeys(O);
6282 while (keys.length > i) {
6283 desc = getDesc(O, key = keys[i++]);
6284 if (desc !== undefined) createProperty(result, key, desc);
6290 },{"101":101,"111":111,"140":140,"53":53,"62":62}],296:[function(_dereq_,module,exports){
6291 // https://github.com/tc39/proposal-object-values-entries
6292 var $export = _dereq_(62);
6293 var $values = _dereq_(110)(false);
6295 $export($export.S, 'Object', {
6296 values: function values(it) {
6301 },{"110":110,"62":62}],297:[function(_dereq_,module,exports){
6302 // https://github.com/tc39/proposal-promise-finally
6304 var $export = _dereq_(62);
6305 var core = _dereq_(52);
6306 var global = _dereq_(70);
6307 var speciesConstructor = _dereq_(127);
6308 var promiseResolve = _dereq_(115);
6310 $export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {
6311 var C = speciesConstructor(this, core.Promise || global.Promise);
6312 var isFunction = typeof onFinally == 'function';
6314 isFunction ? function (x) {
6315 return promiseResolve(C, onFinally()).then(function () { return x; });
6317 isFunction ? function (e) {
6318 return promiseResolve(C, onFinally()).then(function () { throw e; });
6323 },{"115":115,"127":127,"52":52,"62":62,"70":70}],298:[function(_dereq_,module,exports){
6325 // https://github.com/tc39/proposal-string-pad-start-end
6326 var $export = _dereq_(62);
6327 var $pad = _dereq_(132);
6328 var userAgent = _dereq_(148);
6330 // https://github.com/zloirock/core-js/issues/280
6331 var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent);
6333 $export($export.P + $export.F * WEBKIT_BUG, 'String', {
6334 padEnd: function padEnd(maxLength /* , fillString = ' ' */) {
6335 return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);
6339 },{"132":132,"148":148,"62":62}],299:[function(_dereq_,module,exports){
6341 // https://github.com/tc39/proposal-string-pad-start-end
6342 var $export = _dereq_(62);
6343 var $pad = _dereq_(132);
6344 var userAgent = _dereq_(148);
6346 // https://github.com/zloirock/core-js/issues/280
6347 var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent);
6349 $export($export.P + $export.F * WEBKIT_BUG, 'String', {
6350 padStart: function padStart(maxLength /* , fillString = ' ' */) {
6351 return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);
6355 },{"132":132,"148":148,"62":62}],300:[function(_dereq_,module,exports){
6357 // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
6358 _dereq_(134)('trimLeft', function ($trim) {
6359 return function trimLeft() {
6360 return $trim(this, 1);
6364 },{"134":134}],301:[function(_dereq_,module,exports){
6366 // https://github.com/sebmarkbage/ecmascript-string-left-right-trim
6367 _dereq_(134)('trimRight', function ($trim) {
6368 return function trimRight() {
6369 return $trim(this, 2);
6373 },{"134":134}],302:[function(_dereq_,module,exports){
6374 _dereq_(150)('asyncIterator');
6376 },{"150":150}],303:[function(_dereq_,module,exports){
6377 var $iterators = _dereq_(164);
6378 var getKeys = _dereq_(107);
6379 var redefine = _dereq_(118);
6380 var global = _dereq_(70);
6381 var hide = _dereq_(72);
6382 var Iterators = _dereq_(88);
6383 var wks = _dereq_(152);
6384 var ITERATOR = wks('iterator');
6385 var TO_STRING_TAG = wks('toStringTag');
6386 var ArrayValues = Iterators.Array;
6388 var DOMIterables = {
6389 CSSRuleList: true, // TODO: Not spec compliant, should be false.
6390 CSSStyleDeclaration: false,
6391 CSSValueList: false,
6392 ClientRectList: false,
6394 DOMStringList: false,
6396 DataTransferItemList: false,
6398 HTMLAllCollection: false,
6399 HTMLCollection: false,
6400 HTMLFormElement: false,
6401 HTMLSelectElement: false,
6402 MediaList: true, // TODO: Not spec compliant, should be false.
6403 MimeTypeArray: false,
6404 NamedNodeMap: false,
6406 PaintRequestList: false,
6409 SVGLengthList: false,
6410 SVGNumberList: false,
6411 SVGPathSegList: false,
6412 SVGPointList: false,
6413 SVGStringList: false,
6414 SVGTransformList: false,
6415 SourceBufferList: false,
6416 StyleSheetList: true, // TODO: Not spec compliant, should be false.
6417 TextTrackCueList: false,
6418 TextTrackList: false,
6422 for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {
6423 var NAME = collections[i];
6424 var explicit = DOMIterables[NAME];
6425 var Collection = global[NAME];
6426 var proto = Collection && Collection.prototype;
6429 if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);
6430 if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);
6431 Iterators[NAME] = ArrayValues;
6432 if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);
6436 },{"107":107,"118":118,"152":152,"164":164,"70":70,"72":72,"88":88}],304:[function(_dereq_,module,exports){
6437 var $export = _dereq_(62);
6438 var $task = _dereq_(136);
6439 $export($export.G + $export.B, {
6440 setImmediate: $task.set,
6441 clearImmediate: $task.clear
6444 },{"136":136,"62":62}],305:[function(_dereq_,module,exports){
6445 // ie9- setTimeout & setInterval additional parameters fix
6446 var global = _dereq_(70);
6447 var $export = _dereq_(62);
6448 var userAgent = _dereq_(148);
6449 var slice = [].slice;
6450 var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check
6451 var wrap = function (set) {
6452 return function (fn, time /* , ...args */) {
6453 var boundArgs = arguments.length > 2;
6454 var args = boundArgs ? slice.call(arguments, 2) : false;
6455 return set(boundArgs ? function () {
6456 // eslint-disable-next-line no-new-func
6457 (typeof fn == 'function' ? fn : Function(fn)).apply(this, args);
6461 $export($export.G + $export.B + $export.F * MSIE, {
6462 setTimeout: wrap(global.setTimeout),
6463 setInterval: wrap(global.setInterval)
6466 },{"148":148,"62":62,"70":70}],306:[function(_dereq_,module,exports){
6470 module.exports = _dereq_(52);
6472 },{"303":303,"304":304,"305":305,"52":52}],307:[function(_dereq_,module,exports){
6474 * Copyright (c) 2014-present, Facebook, Inc.
6476 * This source code is licensed under the MIT license found in the
6477 * LICENSE file in the root directory of this source tree.
6480 var runtime = (function (exports) {
6483 var Op = Object.prototype;
6484 var hasOwn = Op.hasOwnProperty;
6485 var undefined; // More compressible than void 0.
6486 var $Symbol = typeof Symbol === "function" ? Symbol : {};
6487 var iteratorSymbol = $Symbol.iterator || "@@iterator";
6488 var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
6489 var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
6491 function wrap(innerFn, outerFn, self, tryLocsList) {
6492 // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
6493 var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
6494 var generator = Object.create(protoGenerator.prototype);
6495 var context = new Context(tryLocsList || []);
6497 // The ._invoke method unifies the implementations of the .next,
6498 // .throw, and .return methods.
6499 generator._invoke = makeInvokeMethod(innerFn, self, context);
6503 exports.wrap = wrap;
6505 // Try/catch helper to minimize deoptimizations. Returns a completion
6506 // record like context.tryEntries[i].completion. This interface could
6507 // have been (and was previously) designed to take a closure to be
6508 // invoked without arguments, but in all the cases we care about we
6509 // already have an existing method we want to call, so there's no need
6510 // to create a new function object. We can even get away with assuming
6511 // the method takes exactly one argument, since that happens to be true
6512 // in every case, so we don't have to touch the arguments object. The
6513 // only additional allocation required is the completion record, which
6514 // has a stable shape and so hopefully should be cheap to allocate.
6515 function tryCatch(fn, obj, arg) {
6517 return { type: "normal", arg: fn.call(obj, arg) };
6519 return { type: "throw", arg: err };
6523 var GenStateSuspendedStart = "suspendedStart";
6524 var GenStateSuspendedYield = "suspendedYield";
6525 var GenStateExecuting = "executing";
6526 var GenStateCompleted = "completed";
6528 // Returning this object from the innerFn has the same effect as
6529 // breaking out of the dispatch switch statement.
6530 var ContinueSentinel = {};
6532 // Dummy constructor functions that we use as the .constructor and
6533 // .constructor.prototype properties for functions that return Generator
6534 // objects. For full spec compliance, you may wish to configure your
6535 // minifier not to mangle the names of these two functions.
6536 function Generator() {}
6537 function GeneratorFunction() {}
6538 function GeneratorFunctionPrototype() {}
6540 // This is a polyfill for %IteratorPrototype% for environments that
6541 // don't natively support it.
6542 var IteratorPrototype = {};
6543 IteratorPrototype[iteratorSymbol] = function () {
6547 var getProto = Object.getPrototypeOf;
6548 var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
6549 if (NativeIteratorPrototype &&
6550 NativeIteratorPrototype !== Op &&
6551 hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {
6552 // This environment has a native %IteratorPrototype%; use it instead
6554 IteratorPrototype = NativeIteratorPrototype;
6557 var Gp = GeneratorFunctionPrototype.prototype =
6558 Generator.prototype = Object.create(IteratorPrototype);
6559 GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
6560 GeneratorFunctionPrototype.constructor = GeneratorFunction;
6561 GeneratorFunctionPrototype[toStringTagSymbol] =
6562 GeneratorFunction.displayName = "GeneratorFunction";
6564 // Helper for defining the .next, .throw, and .return methods of the
6565 // Iterator interface in terms of a single ._invoke method.
6566 function defineIteratorMethods(prototype) {
6567 ["next", "throw", "return"].forEach(function(method) {
6568 prototype[method] = function(arg) {
6569 return this._invoke(method, arg);
6574 exports.isGeneratorFunction = function(genFun) {
6575 var ctor = typeof genFun === "function" && genFun.constructor;
6577 ? ctor === GeneratorFunction ||
6578 // For the native GeneratorFunction constructor, the best we can
6579 // do is to check its .name property.
6580 (ctor.displayName || ctor.name) === "GeneratorFunction"
6584 exports.mark = function(genFun) {
6585 if (Object.setPrototypeOf) {
6586 Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
6588 genFun.__proto__ = GeneratorFunctionPrototype;
6589 if (!(toStringTagSymbol in genFun)) {
6590 genFun[toStringTagSymbol] = "GeneratorFunction";
6593 genFun.prototype = Object.create(Gp);
6597 // Within the body of any async function, `await x` is transformed to
6598 // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
6599 // `hasOwn.call(value, "__await")` to determine if the yielded value is
6600 // meant to be awaited.
6601 exports.awrap = function(arg) {
6602 return { __await: arg };
6605 function AsyncIterator(generator) {
6606 function invoke(method, arg, resolve, reject) {
6607 var record = tryCatch(generator[method], generator, arg);
6608 if (record.type === "throw") {
6611 var result = record.arg;
6612 var value = result.value;
6614 typeof value === "object" &&
6615 hasOwn.call(value, "__await")) {
6616 return Promise.resolve(value.__await).then(function(value) {
6617 invoke("next", value, resolve, reject);
6619 invoke("throw", err, resolve, reject);
6623 return Promise.resolve(value).then(function(unwrapped) {
6624 // When a yielded Promise is resolved, its final value becomes
6625 // the .value of the Promise<{value,done}> result for the
6626 // current iteration.
6627 result.value = unwrapped;
6629 }, function(error) {
6630 // If a rejected Promise was yielded, throw the rejection back
6631 // into the async generator function so it can be handled there.
6632 return invoke("throw", error, resolve, reject);
6637 var previousPromise;
6639 function enqueue(method, arg) {
6640 function callInvokeWithMethodAndArg() {
6641 return new Promise(function(resolve, reject) {
6642 invoke(method, arg, resolve, reject);
6646 return previousPromise =
6647 // If enqueue has been called before, then we want to wait until
6648 // all previous Promises have been resolved before calling invoke,
6649 // so that results are always delivered in the correct order. If
6650 // enqueue has not been called before, then it is important to
6651 // call invoke immediately, without waiting on a callback to fire,
6652 // so that the async generator function has the opportunity to do
6653 // any necessary setup in a predictable way. This predictability
6654 // is why the Promise constructor synchronously invokes its
6655 // executor callback, and why async functions synchronously
6656 // execute code before the first await. Since we implement simple
6657 // async functions in terms of async generators, it is especially
6658 // important to get this right, even though it requires care.
6659 previousPromise ? previousPromise.then(
6660 callInvokeWithMethodAndArg,
6661 // Avoid propagating failures to Promises returned by later
6662 // invocations of the iterator.
6663 callInvokeWithMethodAndArg
6664 ) : callInvokeWithMethodAndArg();
6667 // Define the unified helper method that is used to implement .next,
6668 // .throw, and .return (see defineIteratorMethods).
6669 this._invoke = enqueue;
6672 defineIteratorMethods(AsyncIterator.prototype);
6673 AsyncIterator.prototype[asyncIteratorSymbol] = function () {
6676 exports.AsyncIterator = AsyncIterator;
6678 // Note that simple async functions are implemented on top of
6679 // AsyncIterator objects; they just return a Promise for the value of
6680 // the final result produced by the iterator.
6681 exports.async = function(innerFn, outerFn, self, tryLocsList) {
6682 var iter = new AsyncIterator(
6683 wrap(innerFn, outerFn, self, tryLocsList)
6686 return exports.isGeneratorFunction(outerFn)
6687 ? iter // If outerFn is a generator, return the full iterator.
6688 : iter.next().then(function(result) {
6689 return result.done ? result.value : iter.next();
6693 function makeInvokeMethod(innerFn, self, context) {
6694 var state = GenStateSuspendedStart;
6696 return function invoke(method, arg) {
6697 if (state === GenStateExecuting) {
6698 throw new Error("Generator is already running");
6701 if (state === GenStateCompleted) {
6702 if (method === "throw") {
6706 // Be forgiving, per 25.3.3.3.3 of the spec:
6707 // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume
6708 return doneResult();
6711 context.method = method;
6715 var delegate = context.delegate;
6717 var delegateResult = maybeInvokeDelegate(delegate, context);
6718 if (delegateResult) {
6719 if (delegateResult === ContinueSentinel) continue;
6720 return delegateResult;
6724 if (context.method === "next") {
6725 // Setting context._sent for legacy support of Babel's
6726 // function.sent implementation.
6727 context.sent = context._sent = context.arg;
6729 } else if (context.method === "throw") {
6730 if (state === GenStateSuspendedStart) {
6731 state = GenStateCompleted;
6735 context.dispatchException(context.arg);
6737 } else if (context.method === "return") {
6738 context.abrupt("return", context.arg);
6741 state = GenStateExecuting;
6743 var record = tryCatch(innerFn, self, context);
6744 if (record.type === "normal") {
6745 // If an exception is thrown from innerFn, we leave state ===
6746 // GenStateExecuting and loop back for another invocation.
6747 state = context.done
6749 : GenStateSuspendedYield;
6751 if (record.arg === ContinueSentinel) {
6760 } else if (record.type === "throw") {
6761 state = GenStateCompleted;
6762 // Dispatch the exception by looping back around to the
6763 // context.dispatchException(context.arg) call above.
6764 context.method = "throw";
6765 context.arg = record.arg;
6771 // Call delegate.iterator[context.method](context.arg) and handle the
6772 // result, either by returning a { value, done } result from the
6773 // delegate iterator, or by modifying context.method and context.arg,
6774 // setting context.delegate to null, and returning the ContinueSentinel.
6775 function maybeInvokeDelegate(delegate, context) {
6776 var method = delegate.iterator[context.method];
6777 if (method === undefined) {
6778 // A .throw or .return when the delegate iterator has no .throw
6779 // method always terminates the yield* loop.
6780 context.delegate = null;
6782 if (context.method === "throw") {
6783 // Note: ["return"] must be used for ES3 parsing compatibility.
6784 if (delegate.iterator["return"]) {
6785 // If the delegate iterator has a return method, give it a
6786 // chance to clean up.
6787 context.method = "return";
6788 context.arg = undefined;
6789 maybeInvokeDelegate(delegate, context);
6791 if (context.method === "throw") {
6792 // If maybeInvokeDelegate(context) changed context.method from
6793 // "return" to "throw", let that override the TypeError below.
6794 return ContinueSentinel;
6798 context.method = "throw";
6799 context.arg = new TypeError(
6800 "The iterator does not provide a 'throw' method");
6803 return ContinueSentinel;
6806 var record = tryCatch(method, delegate.iterator, context.arg);
6808 if (record.type === "throw") {
6809 context.method = "throw";
6810 context.arg = record.arg;
6811 context.delegate = null;
6812 return ContinueSentinel;
6815 var info = record.arg;
6818 context.method = "throw";
6819 context.arg = new TypeError("iterator result is not an object");
6820 context.delegate = null;
6821 return ContinueSentinel;
6825 // Assign the result of the finished delegate to the temporary
6826 // variable specified by delegate.resultName (see delegateYield).
6827 context[delegate.resultName] = info.value;
6829 // Resume execution at the desired location (see delegateYield).
6830 context.next = delegate.nextLoc;
6832 // If context.method was "throw" but the delegate handled the
6833 // exception, let the outer generator proceed normally. If
6834 // context.method was "next", forget context.arg since it has been
6835 // "consumed" by the delegate iterator. If context.method was
6836 // "return", allow the original .return call to continue in the
6838 if (context.method !== "return") {
6839 context.method = "next";
6840 context.arg = undefined;
6844 // Re-yield the result returned by the delegate method.
6848 // The delegate iterator is finished, so forget it and continue with
6849 // the outer generator.
6850 context.delegate = null;
6851 return ContinueSentinel;
6854 // Define Generator.prototype.{next,throw,return} in terms of the
6855 // unified ._invoke helper method.
6856 defineIteratorMethods(Gp);
6858 Gp[toStringTagSymbol] = "Generator";
6860 // A Generator should always return itself as the iterator object when the
6861 // @@iterator function is called on it. Some browsers' implementations of the
6862 // iterator prototype chain incorrectly implement this, causing the Generator
6863 // object to not be returned from this call. This ensures that doesn't happen.
6864 // See https://github.com/facebook/regenerator/issues/274 for more details.
6865 Gp[iteratorSymbol] = function() {
6869 Gp.toString = function() {
6870 return "[object Generator]";
6873 function pushTryEntry(locs) {
6874 var entry = { tryLoc: locs[0] };
6877 entry.catchLoc = locs[1];
6881 entry.finallyLoc = locs[2];
6882 entry.afterLoc = locs[3];
6885 this.tryEntries.push(entry);
6888 function resetTryEntry(entry) {
6889 var record = entry.completion || {};
6890 record.type = "normal";
6892 entry.completion = record;
6895 function Context(tryLocsList) {
6896 // The root entry object (effectively a try statement without a catch
6897 // or a finally block) gives us a place to store values thrown from
6898 // locations where there is no enclosing try statement.
6899 this.tryEntries = [{ tryLoc: "root" }];
6900 tryLocsList.forEach(pushTryEntry, this);
6904 exports.keys = function(object) {
6906 for (var key in object) {
6911 // Rather than returning an object with a next method, we keep
6912 // things simple and return the next function itself.
6913 return function next() {
6914 while (keys.length) {
6915 var key = keys.pop();
6916 if (key in object) {
6923 // To avoid creating an additional object, we just hang the .value
6924 // and .done properties off the next function object itself. This
6925 // also ensures that the minifier will not anonymize the function.
6931 function values(iterable) {
6933 var iteratorMethod = iterable[iteratorSymbol];
6934 if (iteratorMethod) {
6935 return iteratorMethod.call(iterable);
6938 if (typeof iterable.next === "function") {
6942 if (!isNaN(iterable.length)) {
6943 var i = -1, next = function next() {
6944 while (++i < iterable.length) {
6945 if (hasOwn.call(iterable, i)) {
6946 next.value = iterable[i];
6952 next.value = undefined;
6958 return next.next = next;
6962 // Return an iterator with no values.
6963 return { next: doneResult };
6965 exports.values = values;
6967 function doneResult() {
6968 return { value: undefined, done: true };
6971 Context.prototype = {
6972 constructor: Context,
6974 reset: function(skipTempReset) {
6977 // Resetting context._sent for legacy support of Babel's
6978 // function.sent implementation.
6979 this.sent = this._sent = undefined;
6981 this.delegate = null;
6983 this.method = "next";
6984 this.arg = undefined;
6986 this.tryEntries.forEach(resetTryEntry);
6988 if (!skipTempReset) {
6989 for (var name in this) {
6990 // Not sure about the optimal order of these conditions:
6991 if (name.charAt(0) === "t" &&
6992 hasOwn.call(this, name) &&
6993 !isNaN(+name.slice(1))) {
6994 this[name] = undefined;
7003 var rootEntry = this.tryEntries[0];
7004 var rootRecord = rootEntry.completion;
7005 if (rootRecord.type === "throw") {
7006 throw rootRecord.arg;
7012 dispatchException: function(exception) {
7018 function handle(loc, caught) {
7019 record.type = "throw";
7020 record.arg = exception;
7024 // If the dispatched exception was caught by a catch block,
7025 // then let that catch block handle the exception normally.
7026 context.method = "next";
7027 context.arg = undefined;
7033 for (var i = this.tryEntries.length - 1; i >= 0; --i) {
7034 var entry = this.tryEntries[i];
7035 var record = entry.completion;
7037 if (entry.tryLoc === "root") {
7038 // Exception thrown outside of any try block that could handle
7039 // it, so set the completion value of the entire function to
7040 // throw the exception.
7041 return handle("end");
7044 if (entry.tryLoc <= this.prev) {
7045 var hasCatch = hasOwn.call(entry, "catchLoc");
7046 var hasFinally = hasOwn.call(entry, "finallyLoc");
7048 if (hasCatch && hasFinally) {
7049 if (this.prev < entry.catchLoc) {
7050 return handle(entry.catchLoc, true);
7051 } else if (this.prev < entry.finallyLoc) {
7052 return handle(entry.finallyLoc);
7055 } else if (hasCatch) {
7056 if (this.prev < entry.catchLoc) {
7057 return handle(entry.catchLoc, true);
7060 } else if (hasFinally) {
7061 if (this.prev < entry.finallyLoc) {
7062 return handle(entry.finallyLoc);
7066 throw new Error("try statement without catch or finally");
7072 abrupt: function(type, arg) {
7073 for (var i = this.tryEntries.length - 1; i >= 0; --i) {
7074 var entry = this.tryEntries[i];
7075 if (entry.tryLoc <= this.prev &&
7076 hasOwn.call(entry, "finallyLoc") &&
7077 this.prev < entry.finallyLoc) {
7078 var finallyEntry = entry;
7084 (type === "break" ||
7085 type === "continue") &&
7086 finallyEntry.tryLoc <= arg &&
7087 arg <= finallyEntry.finallyLoc) {
7088 // Ignore the finally entry if control is not jumping to a
7089 // location outside the try/catch block.
7090 finallyEntry = null;
7093 var record = finallyEntry ? finallyEntry.completion : {};
7098 this.method = "next";
7099 this.next = finallyEntry.finallyLoc;
7100 return ContinueSentinel;
7103 return this.complete(record);
7106 complete: function(record, afterLoc) {
7107 if (record.type === "throw") {
7111 if (record.type === "break" ||
7112 record.type === "continue") {
7113 this.next = record.arg;
7114 } else if (record.type === "return") {
7115 this.rval = this.arg = record.arg;
7116 this.method = "return";
7118 } else if (record.type === "normal" && afterLoc) {
7119 this.next = afterLoc;
7122 return ContinueSentinel;
7125 finish: function(finallyLoc) {
7126 for (var i = this.tryEntries.length - 1; i >= 0; --i) {
7127 var entry = this.tryEntries[i];
7128 if (entry.finallyLoc === finallyLoc) {
7129 this.complete(entry.completion, entry.afterLoc);
7130 resetTryEntry(entry);
7131 return ContinueSentinel;
7136 "catch": function(tryLoc) {
7137 for (var i = this.tryEntries.length - 1; i >= 0; --i) {
7138 var entry = this.tryEntries[i];
7139 if (entry.tryLoc === tryLoc) {
7140 var record = entry.completion;
7141 if (record.type === "throw") {
7142 var thrown = record.arg;
7143 resetTryEntry(entry);
7149 // The context.catch method must only be called with a location
7150 // argument that corresponds to a known catch block.
7151 throw new Error("illegal catch attempt");
7154 delegateYield: function(iterable, resultName, nextLoc) {
7156 iterator: values(iterable),
7157 resultName: resultName,
7161 if (this.method === "next") {
7162 // Deliberately forget the last sent value so that we don't
7163 // accidentally pass it on to the delegate.
7164 this.arg = undefined;
7167 return ContinueSentinel;
7171 // Regardless of whether this script is executing as a CommonJS module
7172 // or not, return the runtime object so that we can declare the variable
7173 // regeneratorRuntime in the outer scope, which allows this module to be
7174 // injected easily by `bin/regenerator --include-runtime script.js`.
7178 // If this script is executing as a CommonJS module, use module.exports
7179 // as the regeneratorRuntime namespace. Otherwise create a new empty
7180 // object. Either way, the resulting object will be used to initialize
7181 // the regeneratorRuntime variable at the top of this file.
7182 typeof module === "object" ? module.exports : {}
7186 regeneratorRuntime = runtime;
7187 } catch (accidentalStrictMode) {
7188 // This module should not be running in strict mode, so the above
7189 // assignment should always work unless something is misconfigured. Just
7190 // in case runtime.js accidentally runs in strict mode, we can escape
7191 // strict mode using a global Function call. This could conceivably fail
7192 // if a Content Security Policy forbids using Function, but in that case
7193 // the proper solution is to fix the accidental strict mode problem. If
7194 // you've misconfigured your bundler to force strict mode and applied a
7195 // CSP to forbid Function, and you're not willing to fix either of those
7196 // problems, please detail your unique predicament in a GitHub issue.
7197 Function("r", "regeneratorRuntime = r")(runtime);