vendor: 84,849 bytes, lines 1-2594
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){ 2"use strict"; 3 4_dereq_(2); 5 6var _global = _interopRequireDefault(_dereq_(15)); 7 8function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } 9 10if (_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."); 12} 13 14_global["default"]._babelPolyfill = true; 15},{"15":15,"2":2}],2:[function(_dereq_,module,exports){ 16"use strict"; 17 18_dereq_(3); 19 20_dereq_(5); 21 22_dereq_(4); 23 24_dereq_(11); 25 26_dereq_(10); 27 28_dereq_(13); 29 30_dereq_(12); 31 32_dereq_(14); 33 34_dereq_(7); 35 36_dereq_(8); 37 38_dereq_(6); 39 40_dereq_(9); 41 42_dereq_(306); 43 44_dereq_(307); 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){ 46_dereq_(278); 47_dereq_(214); 48_dereq_(216); 49_dereq_(215); 50_dereq_(218); 51_dereq_(220); 52_dereq_(225); 53_dereq_(219); 54_dereq_(217); 55_dereq_(227); 56_dereq_(226); 57_dereq_(222); 58_dereq_(223); 59_dereq_(221); 60_dereq_(213); 61_dereq_(224); 62_dereq_(228); 63_dereq_(229); 64_dereq_(180); 65_dereq_(182); 66_dereq_(181); 67_dereq_(231); 68_dereq_(230); 69_dereq_(201); 70_dereq_(211); 71_dereq_(212); 72_dereq_(202); 73_dereq_(203); 74_dereq_(204); 75_dereq_(205); 76_dereq_(206); 77_dereq_(207); 78_dereq_(208); 79_dereq_(209); 80_dereq_(210); 81_dereq_(184); 82_dereq_(185); 83_dereq_(186); 84_dereq_(187); 85_dereq_(188); 86_dereq_(189); 87_dereq_(190); 88_dereq_(191); 89_dereq_(192); 90_dereq_(193); 91_dereq_(194); 92_dereq_(195); 93_dereq_(196); 94_dereq_(197); 95_dereq_(198); 96_dereq_(199); 97_dereq_(200); 98_dereq_(265); 99_dereq_(270); 100_dereq_(277); 101_dereq_(268); 102_dereq_(260); 103_dereq_(261); 104_dereq_(266); 105_dereq_(271); 106_dereq_(273); 107_dereq_(256); 108_dereq_(257); 109_dereq_(258); 110_dereq_(259); 111_dereq_(262); 112_dereq_(263); 113_dereq_(264); 114_dereq_(267); 115_dereq_(269); 116_dereq_(272); 117_dereq_(274); 118_dereq_(275); 119_dereq_(276); 120_dereq_(175); 121_dereq_(177); 122_dereq_(176); 123_dereq_(179); 124_dereq_(178); 125_dereq_(163); 126_dereq_(161); 127_dereq_(168); 128_dereq_(165); 129_dereq_(171); 130_dereq_(173); 131_dereq_(160); 132_dereq_(167); 133_dereq_(157); 134_dereq_(172); 135_dereq_(155); 136_dereq_(170); 137_dereq_(169); 138_dereq_(162); 139_dereq_(166); 140_dereq_(154); 141_dereq_(156); 142_dereq_(159); 143_dereq_(158); 144_dereq_(174); 145_dereq_(164); 146_dereq_(247); 147_dereq_(248); 148_dereq_(254); 149_dereq_(249); 150_dereq_(250); 151_dereq_(251); 152_dereq_(252); 153_dereq_(253); 154_dereq_(232); 155_dereq_(183); 156_dereq_(255); 157_dereq_(290); 158_dereq_(291); 159_dereq_(279); 160_dereq_(280); 161_dereq_(285); 162_dereq_(288); 163_dereq_(289); 164_dereq_(283); 165_dereq_(286); 166_dereq_(284); 167_dereq_(287); 168_dereq_(281); 169_dereq_(282); 170_dereq_(233); 171_dereq_(234); 172_dereq_(235); 173_dereq_(236); 174_dereq_(237); 175_dereq_(240); 176_dereq_(238); 177_dereq_(239); 178_dereq_(241); 179_dereq_(242); 180_dereq_(243); 181_dereq_(244); 182_dereq_(246); 183_dereq_(245); 184module.exports = _dereq_(52); 185 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){ 187_dereq_(292); 188module.exports = _dereq_(52).Array.flatMap; 189 190},{"292":292,"52":52}],5:[function(_dereq_,module,exports){ 191_dereq_(293); 192module.exports = _dereq_(52).Array.includes; 193 194},{"293":293,"52":52}],6:[function(_dereq_,module,exports){ 195_dereq_(294); 196module.exports = _dereq_(52).Object.entries; 197 198},{"294":294,"52":52}],7:[function(_dereq_,module,exports){ 199_dereq_(295); 200module.exports = _dereq_(52).Object.getOwnPropertyDescriptors; 201 202},{"295":295,"52":52}],8:[function(_dereq_,module,exports){ 203_dereq_(296); 204module.exports = _dereq_(52).Object.values; 205 206},{"296":296,"52":52}],9:[function(_dereq_,module,exports){ 207'use strict'; 208_dereq_(232); 209_dereq_(297); 210module.exports = _dereq_(52).Promise['finally']; 211 212},{"232":232,"297":297,"52":52}],10:[function(_dereq_,module,exports){ 213_dereq_(298); 214module.exports = _dereq_(52).String.padEnd; 215 216},{"298":298,"52":52}],11:[function(_dereq_,module,exports){ 217_dereq_(299); 218module.exports = _dereq_(52).String.padStart; 219 220},{"299":299,"52":52}],12:[function(_dereq_,module,exports){ 221_dereq_(301); 222module.exports = _dereq_(52).String.trimRight; 223 224},{"301":301,"52":52}],13:[function(_dereq_,module,exports){ 225_dereq_(300); 226module.exports = _dereq_(52).String.trimLeft; 227 228},{"300":300,"52":52}],14:[function(_dereq_,module,exports){ 229_dereq_(302); 230module.exports = _dereq_(151).f('asyncIterator'); 231 232},{"151":151,"302":302}],15:[function(_dereq_,module,exports){ 233_dereq_(32); 234module.exports = _dereq_(18).global; 235 236},{"18":18,"32":32}],16:[function(_dereq_,module,exports){ 237module.exports = function (it) { 238 if (typeof it != 'function') throw TypeError(it + ' is not a function!'); 239 return it; 240}; 241 242},{}],17:[function(_dereq_,module,exports){ 243var isObject = _dereq_(28); 244module.exports = function (it) { 245 if (!isObject(it)) throw TypeError(it + ' is not an object!'); 246 return it; 247}; 248 249},{"28":28}],18:[function(_dereq_,module,exports){ 250var core = module.exports = { version: '2.6.11' }; 251if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef 252 253},{}],19:[function(_dereq_,module,exports){ 254// optional / simple context binding 255var aFunction = _dereq_(16); 256module.exports = function (fn, that, length) { 257 aFunction(fn); 258 if (that === undefined) return fn; 259 switch (length) { 260 case 1: return function (a) { 261 return fn.call(that, a); 262 }; 263 case 2: return function (a, b) { 264 return fn.call(that, a, b); 265 }; 266 case 3: return function (a, b, c) { 267 return fn.call(that, a, b, c); 268 }; 269 } 270 return function (/* ...args */) { 271 return fn.apply(that, arguments); 272 }; 273}; 274 275},{"16":16}],20:[function(_dereq_,module,exports){ 276// Thank's IE8 for his funny defineProperty 277module.exports = !_dereq_(23)(function () { 278 return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; 279}); 280 281},{"23":23}],21:[function(_dereq_,module,exports){ 282var isObject = _dereq_(28); 283var document = _dereq_(24).document; 284// typeof document.createElement is 'object' in old IE 285var is = isObject(document) && isObject(document.createElement); 286module.exports = function (it) { 287 return is ? document.createElement(it) : {}; 288}; 289 290},{"24":24,"28":28}],22:[function(_dereq_,module,exports){ 291var global = _dereq_(24); 292var core = _dereq_(18); 293var ctx = _dereq_(19); 294var hide = _dereq_(26); 295var has = _dereq_(25); 296var PROTOTYPE = 'prototype'; 297 298var $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]; 308 var key, own, out; 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); 330 }; 331 F[PROTOTYPE] = C[PROTOTYPE]; 332 return F; 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% 336 if (IS_PROTO) { 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); 340 } 341 } 342}; 343// type bitmap 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` 352module.exports = $export; 353 354},{"18":18,"19":19,"24":24,"25":25,"26":26}],23:[function(_dereq_,module,exports){ 355module.exports = function (exec) { 356 try { 357 return !!exec(); 358 } catch (e) { 359 return true; 360 } 361}; 362 363},{}],24:[function(_dereq_,module,exports){ 364// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 365var 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')(); 369if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef 370 371},{}],25:[function(_dereq_,module,exports){ 372var hasOwnProperty = {}.hasOwnProperty; 373module.exports = function (it, key) { 374 return hasOwnProperty.call(it, key); 375}; 376 377},{}],26:[function(_dereq_,module,exports){ 378var dP = _dereq_(29); 379var createDesc = _dereq_(30); 380module.exports = _dereq_(20) ? function (object, key, value) { 381 return dP.f(object, key, createDesc(1, value)); 382} : function (object, key, value) { 383 object[key] = value; 384 return object; 385}; 386 387},{"20":20,"29":29,"30":30}],27:[function(_dereq_,module,exports){ 388module.exports = !_dereq_(20) && !_dereq_(23)(function () { 389 return Object.defineProperty(_dereq_(21)('div'), 'a', { get: function () { return 7; } }).a != 7; 390}); 391 392},{"20":20,"21":21,"23":23}],28:[function(_dereq_,module,exports){ 393module.exports = function (it) { 394 return typeof it === 'object' ? it !== null : typeof it === 'function'; 395}; 396 397},{}],29:[function(_dereq_,module,exports){ 398var anObject = _dereq_(17); 399var IE8_DOM_DEFINE = _dereq_(27); 400var toPrimitive = _dereq_(31); 401var dP = Object.defineProperty; 402 403exports.f = _dereq_(20) ? Object.defineProperty : function defineProperty(O, P, Attributes) { 404 anObject(O); 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; 412 return O; 413}; 414 415},{"17":17,"20":20,"27":27,"31":31}],30:[function(_dereq_,module,exports){ 416module.exports = function (bitmap, value) { 417 return { 418 enumerable: !(bitmap & 1), 419 configurable: !(bitmap & 2), 420 writable: !(bitmap & 4), 421 value: value 422 }; 423}; 424 425},{}],31:[function(_dereq_,module,exports){ 426// 7.1.1 ToPrimitive(input [, PreferredType]) 427var 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 430module.exports = function (it, S) { 431 if (!isObject(it)) return it; 432 var fn, val; 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"); 437}; 438 439},{"28":28}],32:[function(_dereq_,module,exports){ 440// https://github.com/tc39/proposal-global 441var $export = _dereq_(22); 442 443$export($export.G, { global: _dereq_(24) }); 444 445},{"22":22,"24":24}],33:[function(_dereq_,module,exports){ 446arguments[4][16][0].apply(exports,arguments) 447},{"16":16}],34:[function(_dereq_,module,exports){ 448var cof = _dereq_(48); 449module.exports = function (it, msg) { 450 if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg); 451 return +it; 452}; 453 454},{"48":48}],35:[function(_dereq_,module,exports){ 455// 22.1.3.31 Array.prototype[@@unscopables] 456var UNSCOPABLES = _dereq_(152)('unscopables'); 457var ArrayProto = Array.prototype; 458if (ArrayProto[UNSCOPABLES] == undefined) _dereq_(72)(ArrayProto, UNSCOPABLES, {}); 459module.exports = function (key) { 460 ArrayProto[UNSCOPABLES][key] = true; 461}; 462 463},{"152":152,"72":72}],36:[function(_dereq_,module,exports){ 464'use strict'; 465var at = _dereq_(129)(true); 466 467 // `AdvanceStringIndex` abstract operation 468// https://tc39.github.io/ecma262/#sec-advancestringindex 469module.exports = function (S, index, unicode) { 470 return index + (unicode ? at(S, index).length : 1); 471}; 472 473},{"129":129}],37:[function(_dereq_,module,exports){ 474module.exports = function (it, Constructor, name, forbiddenField) { 475 if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) { 476 throw TypeError(name + ': incorrect invocation!'); 477 } return it; 478}; 479 480},{}],38:[function(_dereq_,module,exports){ 481arguments[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) 484'use strict'; 485var toObject = _dereq_(142); 486var toAbsoluteIndex = _dereq_(137); 487var toLength = _dereq_(141); 488 489module.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); 496 var inc = 1; 497 if (from < to && to < from + count) { 498 inc = -1; 499 from += count - 1; 500 to += count - 1; 501 } 502 while (count-- > 0) { 503 if (from in O) O[to] = O[from]; 504 else delete O[to]; 505 to += inc; 506 from += inc; 507 } return O; 508}; 509 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) 512'use strict'; 513var toObject = _dereq_(142); 514var toAbsoluteIndex = _dereq_(137); 515var toLength = _dereq_(141); 516module.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; 524 return O; 525}; 526 527},{"137":137,"141":141,"142":142}],41:[function(_dereq_,module,exports){ 528// false -> Array#indexOf 529// true -> Array#includes 530var toIObject = _dereq_(140); 531var toLength = _dereq_(141); 532var toAbsoluteIndex = _dereq_(137); 533module.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); 538 var value; 539 // Array#includes uses SameValueZero equality algorithm 540 // eslint-disable-next-line no-self-compare 541 if (IS_INCLUDES && el != el) while (length > index) { 542 value = O[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; 549 }; 550}; 551 552},{"137":137,"140":140,"141":141}],42:[function(_dereq_,module,exports){ 553// 0 -> Array#forEach 554// 1 -> Array#map 555// 2 -> Array#filter 556// 3 -> Array#some 557// 4 -> Array#every 558// 5 -> Array#find 559// 6 -> Array#findIndex 560var ctx = _dereq_(54); 561var IObject = _dereq_(77); 562var toObject = _dereq_(142); 563var toLength = _dereq_(141); 564var asc = _dereq_(45); 565module.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); 578 var index = 0; 579 var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; 580 var val, res; 581 for (;length > index; index++) if (NO_HOLES || index in self) { 582 val = self[index]; 583 res = f(val, index, O); 584 if (TYPE) { 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 592 } 593 } 594 return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result; 595 }; 596}; 597 598},{"141":141,"142":142,"45":45,"54":54,"77":77}],43:[function(_dereq_,module,exports){ 599var aFunction = _dereq_(33); 600var toObject = _dereq_(142); 601var IObject = _dereq_(77); 602var toLength = _dereq_(141); 603 604module.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 (;;) { 612 if (index in self) { 613 memo = self[index]; 614 index += i; 615 break; 616 } 617 index += i; 618 if (isRight ? index < 0 : length <= index) { 619 throw TypeError('Reduce of empty array with no initial value'); 620 } 621 } 622 for (;isRight ? index >= 0 : length > index; index += i) if (index in self) { 623 memo = callbackfn(memo, self[index], index, O); 624 } 625 return memo; 626}; 627 628},{"141":141,"142":142,"33":33,"77":77}],44:[function(_dereq_,module,exports){ 629var isObject = _dereq_(81); 630var isArray = _dereq_(79); 631var SPECIES = _dereq_(152)('species'); 632 633module.exports = function (original) { 634 var C; 635 if (isArray(original)) { 636 C = original.constructor; 637 // cross-realm fallback 638 if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; 639 if (isObject(C)) { 640 C = C[SPECIES]; 641 if (C === null) C = undefined; 642 } 643 } return C === undefined ? Array : C; 644}; 645 646},{"152":152,"79":79,"81":81}],45:[function(_dereq_,module,exports){ 647// 9.4.2.3 ArraySpeciesCreate(originalArray, length) 648var speciesConstructor = _dereq_(44); 649 650module.exports = function (original, length) { 651 return new (speciesConstructor(original))(length); 652}; 653 654},{"44":44}],46:[function(_dereq_,module,exports){ 655'use strict'; 656var aFunction = _dereq_(33); 657var isObject = _dereq_(81); 658var invoke = _dereq_(76); 659var arraySlice = [].slice; 660var factories = {}; 661 662var 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); 668}; 669 670module.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); 676 }; 677 if (isObject(fn.prototype)) bound.prototype = fn.prototype; 678 return bound; 679}; 680 681},{"33":33,"76":76,"81":81}],47:[function(_dereq_,module,exports){ 682// getting tag from 19.1.3.6 Object.prototype.toString() 683var cof = _dereq_(48); 684var TAG = _dereq_(152)('toStringTag'); 685// ES3 wrong here 686var ARG = cof(function () { return arguments; }()) == 'Arguments'; 687 688// fallback for IE11 Script Access Denied error 689var tryGet = function (it, key) { 690 try { 691 return it[key]; 692 } catch (e) { /* empty */ } 693}; 694 695module.exports = function (it) { 696 var O, T, B; 697 return it === undefined ? 'Undefined' : it === null ? 'Null' 698 // @@toStringTag case 699 : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T 700 // builtinTag case 701 : ARG ? cof(O) 702 // ES3 arguments fallback 703 : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B; 704}; 705 706},{"152":152,"48":48}],48:[function(_dereq_,module,exports){ 707var toString = {}.toString; 708 709module.exports = function (it) { 710 return toString.call(it).slice(8, -1); 711}; 712 713},{}],49:[function(_dereq_,module,exports){ 714'use strict'; 715var dP = _dereq_(99).f; 716var create = _dereq_(98); 717var redefineAll = _dereq_(117); 718var ctx = _dereq_(54); 719var anInstance = _dereq_(37); 720var forOf = _dereq_(68); 721var $iterDefine = _dereq_(85); 722var step = _dereq_(87); 723var setSpecies = _dereq_(123); 724var DESCRIPTORS = _dereq_(58); 725var fastKey = _dereq_(94).fastKey; 726var validate = _dereq_(149); 727var SIZE = DESCRIPTORS ? '_s' : 'size'; 728 729var getEntry = function (that, key) { 730 // fast case 731 var index = fastKey(key); 732 var entry; 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; 737 } 738}; 739 740module.exports = { 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); 750 }); 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) { 756 entry.r = true; 757 if (entry.p) entry.p = entry.p.n = undefined; 758 delete data[entry.i]; 759 } 760 that._f = that._l = undefined; 761 that[SIZE] = 0; 762 }, 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); 768 if (entry) { 769 var next = entry.n; 770 var prev = entry.p; 771 delete that._i[entry.i]; 772 entry.r = true; 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; 777 that[SIZE]--; 778 } return !!entry; 779 }, 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); 785 var entry; 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; 790 } 791 }, 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); 796 } 797 }); 798 if (DESCRIPTORS) dP(C.prototype, 'size', { 799 get: function () { 800 return validate(this, NAME)[SIZE]; 801 } 802 }); 803 return C; 804 }, 805 def: function (that, key, value) { 806 var entry = getEntry(that, key); 807 var prev, index; 808 // change existing entry 809 if (entry) { 810 entry.v = value; 811 // create new entry 812 } else { 813 that._l = entry = { 814 i: index = fastKey(key, true), // <- index 815 k: key, // <- key 816 v: value, // <- value 817 p: prev = that._l, // <- previous entry 818 n: undefined, // <- next entry 819 r: false // <- removed 820 }; 821 if (!that._f) that._f = entry; 822 if (prev) prev.n = entry; 823 that[SIZE]++; 824 // add to index 825 if (index !== 'F') that._i[index] = entry; 826 } return that; 827 }, 828 getEntry: getEntry, 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 836 }, function () { 837 var that = this; 838 var kind = that._k; 839 var entry = that._l; 840 // revert to the last existing entry 841 while (entry && entry.r) entry = entry.p; 842 // get next entry 843 if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) { 844 // or finish the iteration 845 that._t = undefined; 846 return step(1); 847 } 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); 853 854 // add [@@species], 23.1.2.2, 23.2.2.2 855 setSpecies(NAME); 856 } 857}; 858 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){ 860'use strict'; 861var redefineAll = _dereq_(117); 862var getWeak = _dereq_(94).getWeak; 863var anObject = _dereq_(38); 864var isObject = _dereq_(81); 865var anInstance = _dereq_(37); 866var forOf = _dereq_(68); 867var createArrayMethod = _dereq_(42); 868var $has = _dereq_(71); 869var validate = _dereq_(149); 870var arrayFind = createArrayMethod(5); 871var arrayFindIndex = createArrayMethod(6); 872var id = 0; 873 874// fallback for uncaught frozen keys 875var uncaughtFrozenStore = function (that) { 876 return that._l || (that._l = new UncaughtFrozenStore()); 877}; 878var UncaughtFrozenStore = function () { 879 this.a = []; 880}; 881var findUncaughtFrozen = function (store, key) { 882 return arrayFind(store.a, function (it) { 883 return it[0] === key; 884 }); 885}; 886UncaughtFrozenStore.prototype = { 887 get: function (key) { 888 var entry = findUncaughtFrozen(this, key); 889 if (entry) return entry[1]; 890 }, 891 has: function (key) { 892 return !!findUncaughtFrozen(this, key); 893 }, 894 set: function (key, value) { 895 var entry = findUncaughtFrozen(this, key); 896 if (entry) entry[1] = value; 897 else this.a.push([key, value]); 898 }, 899 'delete': function (key) { 900 var index = arrayFindIndex(this.a, function (it) { 901 return it[0] === key; 902 }); 903 if (~index) this.a.splice(index, 1); 904 return !!~index; 905 } 906}; 907 908module.exports = { 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); 916 }); 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]; 925 }, 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); 933 } 934 }); 935 return C; 936 }, 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; 941 return that; 942 }, 943 ufstore: uncaughtFrozenStore 944}; 945 946},{"117":117,"149":149,"37":37,"38":38,"42":42,"68":68,"71":71,"81":81,"94":94}],51:[function(_dereq_,module,exports){ 947'use strict'; 948var global = _dereq_(70); 949var $export = _dereq_(62); 950var redefine = _dereq_(118); 951var redefineAll = _dereq_(117); 952var meta = _dereq_(94); 953var forOf = _dereq_(68); 954var anInstance = _dereq_(37); 955var isObject = _dereq_(81); 956var fails = _dereq_(64); 957var $iterDetect = _dereq_(86); 958var setToStringTag = _dereq_(124); 959var inheritIfRequired = _dereq_(75); 960 961module.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) { 962 var Base = global[NAME]; 963 var C = Base; 964 var ADDER = IS_MAP ? 'set' : 'add'; 965 var proto = C && C.prototype; 966 var O = {}; 967 var fixMethod = function (KEY) { 968 var fn = proto[KEY]; 969 redefine(proto, 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; } 978 ); 979 }; 980 if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () { 981 new C().entries().next(); 982 }))) { 983 // create collection constructor 984 C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER); 985 redefineAll(C.prototype, methods); 986 meta.NEED = true; 987 } else { 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(); 999 var index = 5; 1000 while (index--) $instance[ADDER](index, index); 1001 return !$instance.has(-0); 1002 }); 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); 1008 return that; 1009 }); 1010 C.prototype = proto; 1011 proto.constructor = C; 1012 } 1013 if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { 1014 fixMethod('delete'); 1015 fixMethod('has'); 1016 IS_MAP && fixMethod('get'); 1017 } 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; 1021 } 1022 1023 setToStringTag(C, NAME); 1024 1025 O[NAME] = C; 1026 $export($export.G + $export.W + $export.F * (C != Base), O); 1027 1028 if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP); 1029 1030 return C; 1031}; 1032 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){ 1034arguments[4][18][0].apply(exports,arguments) 1035},{"18":18}],53:[function(_dereq_,module,exports){ 1036'use strict'; 1037var $defineProperty = _dereq_(99); 1038var createDesc = _dereq_(116); 1039 1040module.exports = function (object, index, value) { 1041 if (index in object) $defineProperty.f(object, index, createDesc(0, value)); 1042 else object[index] = value; 1043}; 1044 1045},{"116":116,"99":99}],54:[function(_dereq_,module,exports){ 1046arguments[4][19][0].apply(exports,arguments) 1047},{"19":19,"33":33}],55:[function(_dereq_,module,exports){ 1048'use strict'; 1049// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() 1050var fails = _dereq_(64); 1051var getTime = Date.prototype.getTime; 1052var $toISOString = Date.prototype.toISOString; 1053 1054var lz = function (num) { 1055 return num > 9 ? num : '0' + num; 1056}; 1057 1058// PhantomJS / old WebKit has a broken implementations 1059module.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'); 1065 var d = this; 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'; 1073} : $toISOString; 1074 1075},{"64":64}],56:[function(_dereq_,module,exports){ 1076'use strict'; 1077var anObject = _dereq_(38); 1078var toPrimitive = _dereq_(143); 1079var NUMBER = 'number'; 1080 1081module.exports = function (hint) { 1082 if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint'); 1083 return toPrimitive(anObject(this), hint != NUMBER); 1084}; 1085 1086},{"143":143,"38":38}],57:[function(_dereq_,module,exports){ 1087// 7.2.1 RequireObjectCoercible(argument) 1088module.exports = function (it) { 1089 if (it == undefined) throw TypeError("Can't call method on " + it); 1090 return it; 1091}; 1092 1093},{}],58:[function(_dereq_,module,exports){ 1094arguments[4][20][0].apply(exports,arguments) 1095},{"20":20,"64":64}],59:[function(_dereq_,module,exports){ 1096arguments[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 1099module.exports = ( 1100 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' 1101).split(','); 1102 1103},{}],61:[function(_dereq_,module,exports){ 1104// all enumerable object keys, includes symbols 1105var getKeys = _dereq_(107); 1106var gOPS = _dereq_(104); 1107var pIE = _dereq_(108); 1108module.exports = function (it) { 1109 var result = getKeys(it); 1110 var getSymbols = gOPS.f; 1111 if (getSymbols) { 1112 var symbols = getSymbols(it); 1113 var isEnum = pIE.f; 1114 var i = 0; 1115 var key; 1116 while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key); 1117 } return result; 1118}; 1119 1120},{"104":104,"107":107,"108":108}],62:[function(_dereq_,module,exports){ 1121var global = _dereq_(70); 1122var core = _dereq_(52); 1123var hide = _dereq_(72); 1124var redefine = _dereq_(118); 1125var ctx = _dereq_(54); 1126var PROTOTYPE = 'prototype'; 1127 1128var $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; 1146 // extend global 1147 if (target) redefine(target, key, out, type & $export.U); 1148 // export 1149 if (exports[key] != out) hide(exports, key, exp); 1150 if (IS_PROTO && expProto[key] != out) expProto[key] = out; 1151 } 1152}; 1153global.core = core; 1154// type bitmap 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` 1163module.exports = $export; 1164 1165},{"118":118,"52":52,"54":54,"70":70,"72":72}],63:[function(_dereq_,module,exports){ 1166var MATCH = _dereq_(152)('match'); 1167module.exports = function (KEY) { 1168 var re = /./; 1169 try { 1170 '/./'[KEY](re); 1171 } catch (e) { 1172 try { 1173 re[MATCH] = false; 1174 return !'/./'[KEY](re); 1175 } catch (f) { /* empty */ } 1176 } return true; 1177}; 1178 1179},{"152":152}],64:[function(_dereq_,module,exports){ 1180arguments[4][23][0].apply(exports,arguments) 1181},{"23":23}],65:[function(_dereq_,module,exports){ 1182'use strict'; 1183_dereq_(248); 1184var redefine = _dereq_(118); 1185var hide = _dereq_(72); 1186var fails = _dereq_(64); 1187var defined = _dereq_(57); 1188var wks = _dereq_(152); 1189var regexpExec = _dereq_(120); 1190 1191var SPECIES = wks('species'); 1192 1193var 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. 1197 var re = /./; 1198 re.exec = function () { 1199 var result = []; 1200 result.groups = { a: '7' }; 1201 return result; 1202 }; 1203 return ''.replace(re, '$<a>') !== '7'; 1204}); 1205 1206var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () { 1207 // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec 1208 var re = /(?:)/; 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'; 1213})(); 1214 1215module.exports = function (KEY, length, exec) { 1216 var SYMBOL = wks(KEY); 1217 1218 var DELEGATES_TO_SYMBOL = !fails(function () { 1219 // String methods call symbol-named RegEp methods 1220 var O = {}; 1221 O[SYMBOL] = function () { return 7; }; 1222 return ''[KEY](O) != 7; 1223 }); 1224 1225 var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () { 1226 // Symbol-named RegExp methods call .exec 1227 var execCalled = false; 1228 var re = /a/; 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; }; 1235 } 1236 re[SYMBOL](''); 1237 return !execCalled; 1238 }) : undefined; 1239 1240 if ( 1241 !DELEGATES_TO_SYMBOL || 1242 !DELEGATES_TO_EXEC || 1243 (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || 1244 (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) 1245 ) { 1246 var nativeRegExpMethod = /./[SYMBOL]; 1247 var fns = exec( 1248 defined, 1249 SYMBOL, 1250 ''[KEY], 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) }; 1258 } 1259 return { done: true, value: nativeMethod.call(str, regexp, arg2) }; 1260 } 1261 return { done: false }; 1262 } 1263 ); 1264 var strfn = fns[0]; 1265 var rxfn = fns[1]; 1266 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); } 1275 ); 1276 } 1277}; 1278 1279},{"118":118,"120":120,"152":152,"248":248,"57":57,"64":64,"72":72}],66:[function(_dereq_,module,exports){ 1280'use strict'; 1281// 21.2.5.3 get RegExp.prototype.flags 1282var anObject = _dereq_(38); 1283module.exports = function () { 1284 var that = anObject(this); 1285 var result = ''; 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'; 1291 return result; 1292}; 1293 1294},{"38":38}],67:[function(_dereq_,module,exports){ 1295'use strict'; 1296// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray 1297var isArray = _dereq_(79); 1298var isObject = _dereq_(81); 1299var toLength = _dereq_(141); 1300var ctx = _dereq_(54); 1301var IS_CONCAT_SPREADABLE = _dereq_(152)('isConcatSpreadable'); 1302 1303function 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; 1308 1309 while (sourceIndex < sourceLen) { 1310 if (sourceIndex in source) { 1311 element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; 1312 1313 spreadable = false; 1314 if (isObject(element)) { 1315 spreadable = element[IS_CONCAT_SPREADABLE]; 1316 spreadable = spreadable !== undefined ? !!spreadable : isArray(element); 1317 } 1318 1319 if (spreadable && depth > 0) { 1320 targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1; 1321 } else { 1322 if (targetIndex >= 0x1fffffffffffff) throw TypeError(); 1323 target[targetIndex] = element; 1324 } 1325 1326 targetIndex++; 1327 } 1328 sourceIndex++; 1329 } 1330 return targetIndex; 1331} 1332 1333module.exports = flattenIntoArray; 1334 1335},{"141":141,"152":152,"54":54,"79":79,"81":81}],68:[function(_dereq_,module,exports){ 1336var ctx = _dereq_(54); 1337var call = _dereq_(83); 1338var isArrayIter = _dereq_(78); 1339var anObject = _dereq_(38); 1340var toLength = _dereq_(141); 1341var getIterFn = _dereq_(153); 1342var BREAK = {}; 1343var RETURN = {}; 1344var 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); 1347 var index = 0; 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; 1357 } 1358}; 1359exports.BREAK = BREAK; 1360exports.RETURN = RETURN; 1361 1362},{"141":141,"153":153,"38":38,"54":54,"78":78,"83":83}],69:[function(_dereq_,module,exports){ 1363module.exports = _dereq_(126)('native-function-to-string', Function.toString); 1364 1365},{"126":126}],70:[function(_dereq_,module,exports){ 1366arguments[4][24][0].apply(exports,arguments) 1367},{"24":24}],71:[function(_dereq_,module,exports){ 1368arguments[4][25][0].apply(exports,arguments) 1369},{"25":25}],72:[function(_dereq_,module,exports){ 1370arguments[4][26][0].apply(exports,arguments) 1371},{"116":116,"26":26,"58":58,"99":99}],73:[function(_dereq_,module,exports){ 1372var document = _dereq_(70).document; 1373module.exports = document && document.documentElement; 1374 1375},{"70":70}],74:[function(_dereq_,module,exports){ 1376arguments[4][27][0].apply(exports,arguments) 1377},{"27":27,"58":58,"59":59,"64":64}],75:[function(_dereq_,module,exports){ 1378var isObject = _dereq_(81); 1379var setPrototypeOf = _dereq_(122).set; 1380module.exports = function (that, target, C) { 1381 var S = target.constructor; 1382 var P; 1383 if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { 1384 setPrototypeOf(that, P); 1385 } return that; 1386}; 1387 1388},{"122":122,"81":81}],76:[function(_dereq_,module,exports){ 1389// fast apply, http://jsperf.lnkit.com/fast-apply/5 1390module.exports = function (fn, args, that) { 1391 var un = that === undefined; 1392 switch (args.length) { 1393 case 0: return un ? fn() 1394 : fn.call(that); 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); 1404}; 1405 1406},{}],77:[function(_dereq_,module,exports){ 1407// fallback for non-array-like ES3 and non-enumerable old V8 strings 1408var cof = _dereq_(48); 1409// eslint-disable-next-line no-prototype-builtins 1410module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) { 1411 return cof(it) == 'String' ? it.split('') : Object(it); 1412}; 1413 1414},{"48":48}],78:[function(_dereq_,module,exports){ 1415// check on default Array iterator 1416var Iterators = _dereq_(88); 1417var ITERATOR = _dereq_(152)('iterator'); 1418var ArrayProto = Array.prototype; 1419 1420module.exports = function (it) { 1421 return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it); 1422}; 1423 1424},{"152":152,"88":88}],79:[function(_dereq_,module,exports){ 1425// 7.2.2 IsArray(argument) 1426var cof = _dereq_(48); 1427module.exports = Array.isArray || function isArray(arg) { 1428 return cof(arg) == 'Array'; 1429}; 1430 1431},{"48":48}],80:[function(_dereq_,module,exports){ 1432// 20.1.2.3 Number.isInteger(number) 1433var isObject = _dereq_(81); 1434var floor = Math.floor; 1435module.exports = function isInteger(it) { 1436 return !isObject(it) && isFinite(it) && floor(it) === it; 1437}; 1438 1439},{"81":81}],81:[function(_dereq_,module,exports){ 1440arguments[4][28][0].apply(exports,arguments) 1441},{"28":28}],82:[function(_dereq_,module,exports){ 1442// 7.2.8 IsRegExp(argument) 1443var isObject = _dereq_(81); 1444var cof = _dereq_(48); 1445var MATCH = _dereq_(152)('match'); 1446module.exports = function (it) { 1447 var isRegExp; 1448 return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp'); 1449}; 1450 1451},{"152":152,"48":48,"81":81}],83:[function(_dereq_,module,exports){ 1452// call something on iterator step with safe closing on error 1453var anObject = _dereq_(38); 1454module.exports = function (iterator, fn, value, entries) { 1455 try { 1456 return entries ? fn(anObject(value)[0], value[1]) : fn(value); 1457 // 7.4.6 IteratorClose(iterator, completion) 1458 } catch (e) { 1459 var ret = iterator['return']; 1460 if (ret !== undefined) anObject(ret.call(iterator)); 1461 throw e; 1462 } 1463}; 1464 1465},{"38":38}],84:[function(_dereq_,module,exports){ 1466'use strict'; 1467var create = _dereq_(98); 1468var descriptor = _dereq_(116); 1469var setToStringTag = _dereq_(124); 1470var IteratorPrototype = {}; 1471 1472// 25.1.2.1.1 %IteratorPrototype%[@@iterator]() 1473_dereq_(72)(IteratorPrototype, _dereq_(152)('iterator'), function () { return this; }); 1474 1475module.exports = function (Constructor, NAME, next) { 1476 Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) }); 1477 setToStringTag(Constructor, NAME + ' Iterator'); 1478}; 1479 1480},{"116":116,"124":124,"152":152,"72":72,"98":98}],85:[function(_dereq_,module,exports){ 1481'use strict'; 1482var LIBRARY = _dereq_(89); 1483var $export = _dereq_(62); 1484var redefine = _dereq_(118); 1485var hide = _dereq_(72); 1486var Iterators = _dereq_(88); 1487var $iterCreate = _dereq_(84); 1488var setToStringTag = _dereq_(124); 1489var getPrototypeOf = _dereq_(105); 1490var ITERATOR = _dereq_(152)('iterator'); 1491var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` 1492var FF_ITERATOR = '@@iterator'; 1493var KEYS = 'keys'; 1494var VALUES = 'values'; 1495 1496var returnThis = function () { return this; }; 1497 1498module.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]; 1502 switch (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); }; 1506 }; 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; 1516 // Fix native 1517 if ($anyNative) { 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); 1524 } 1525 } 1526 // fix Array#{values, @@iterator}.name in V8 / FF 1527 if (DEF_VALUES && $native && $native.name !== VALUES) { 1528 VALUES_BUG = true; 1529 $default = function values() { return $native.call(this); }; 1530 } 1531 // Define iterator 1532 if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { 1533 hide(proto, ITERATOR, $default); 1534 } 1535 // Plug for library 1536 Iterators[NAME] = $default; 1537 Iterators[TAG] = returnThis; 1538 if (DEFAULT) { 1539 methods = { 1540 values: DEF_VALUES ? $default : getMethod(VALUES), 1541 keys: IS_SET ? $default : getMethod(KEYS), 1542 entries: $entries 1543 }; 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); 1547 } 1548 return methods; 1549}; 1550 1551},{"105":105,"118":118,"124":124,"152":152,"62":62,"72":72,"84":84,"88":88,"89":89}],86:[function(_dereq_,module,exports){ 1552var ITERATOR = _dereq_(152)('iterator'); 1553var SAFE_CLOSING = false; 1554 1555try { 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 */ } 1561 1562module.exports = function (exec, skipClosing) { 1563 if (!skipClosing && !SAFE_CLOSING) return false; 1564 var safe = false; 1565 try { 1566 var arr = [7]; 1567 var iter = arr[ITERATOR](); 1568 iter.next = function () { return { done: safe = true }; }; 1569 arr[ITERATOR] = function () { return iter; }; 1570 exec(arr); 1571 } catch (e) { /* empty */ } 1572 return safe; 1573}; 1574 1575},{"152":152}],87:[function(_dereq_,module,exports){ 1576module.exports = function (done, value) { 1577 return { value: value, done: !!done }; 1578}; 1579 1580},{}],88:[function(_dereq_,module,exports){ 1581module.exports = {}; 1582 1583},{}],89:[function(_dereq_,module,exports){ 1584module.exports = false; 1585 1586},{}],90:[function(_dereq_,module,exports){ 1587// 20.2.2.14 Math.expm1(x) 1588var $expm1 = Math.expm1; 1589module.exports = (!$expm1 1590 // Old FF bug 1591 || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168 1592 // Tor Browser bug 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; 1596} : $expm1; 1597 1598},{}],91:[function(_dereq_,module,exports){ 1599// 20.2.2.16 Math.fround(x) 1600var sign = _dereq_(93); 1601var pow = Math.pow; 1602var EPSILON = pow(2, -52); 1603var EPSILON32 = pow(2, -23); 1604var MAX32 = pow(2, 127) * (2 - EPSILON32); 1605var MIN32 = pow(2, -126); 1606 1607var roundTiesToEven = function (n) { 1608 return n + 1 / EPSILON - 1 / EPSILON; 1609}; 1610 1611module.exports = Math.fround || function fround(x) { 1612 var $abs = Math.abs(x); 1613 var $sign = sign(x); 1614 var a, result; 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; 1621}; 1622 1623},{"93":93}],92:[function(_dereq_,module,exports){ 1624// 20.2.2.20 Math.log1p(x) 1625module.exports = Math.log1p || function log1p(x) { 1626 return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x); 1627}; 1628 1629},{}],93:[function(_dereq_,module,exports){ 1630// 20.2.2.28 Math.sign(x) 1631module.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; 1634}; 1635 1636},{}],94:[function(_dereq_,module,exports){ 1637var META = _dereq_(147)('meta'); 1638var isObject = _dereq_(81); 1639var has = _dereq_(71); 1640var setDesc = _dereq_(99).f; 1641var id = 0; 1642var isExtensible = Object.isExtensible || function () { 1643 return true; 1644}; 1645var FREEZE = !_dereq_(64)(function () { 1646 return isExtensible(Object.preventExtensions({})); 1647}); 1648var setMeta = function (it) { 1649 setDesc(it, META, { value: { 1650 i: 'O' + ++id, // object ID 1651 w: {} // weak collections IDs 1652 } }); 1653}; 1654var 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 1663 setMeta(it); 1664 // return object ID 1665 } return it[META].i; 1666}; 1667var 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 1674 setMeta(it); 1675 // return hash weak collections IDs 1676 } return it[META].w; 1677}; 1678// add metadata on freeze-family methods calling 1679var onFreeze = function (it) { 1680 if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it); 1681 return it; 1682}; 1683var meta = module.exports = { 1684 KEY: META, 1685 NEED: false, 1686 fastKey: fastKey, 1687 getWeak: getWeak, 1688 onFreeze: onFreeze 1689}; 1690 1691},{"147":147,"64":64,"71":71,"81":81,"99":99}],95:[function(_dereq_,module,exports){ 1692var global = _dereq_(70); 1693var macrotask = _dereq_(136).set; 1694var Observer = global.MutationObserver || global.WebKitMutationObserver; 1695var process = global.process; 1696var Promise = global.Promise; 1697var isNode = _dereq_(48)(process) == 'process'; 1698 1699module.exports = function () { 1700 var head, last, notify; 1701 1702 var flush = function () { 1703 var parent, fn; 1704 if (isNode && (parent = process.domain)) parent.exit(); 1705 while (head) { 1706 fn = head.fn; 1707 head = head.next; 1708 try { 1709 fn(); 1710 } catch (e) { 1711 if (head) notify(); 1712 else last = undefined; 1713 throw e; 1714 } 1715 } last = undefined; 1716 if (parent) parent.enter(); 1717 }; 1718 1719 // Node.js 1720 if (isNode) { 1721 notify = function () { 1722 process.nextTick(flush); 1723 }; 1724 // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339 1725 } else if (Observer && !(global.navigator && global.navigator.standalone)) { 1726 var toggle = true; 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; 1731 }; 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); 1738 }; 1739 // for other environments - macrotask based on: 1740 // - setImmediate 1741 // - MessageChannel 1742 // - window.postMessag 1743 // - onreadystatechange 1744 // - setTimeout 1745 } else { 1746 notify = function () { 1747 // strange IE + webpack dev server bug - use .call(global) 1748 macrotask.call(global, flush); 1749 }; 1750 } 1751 1752 return function (fn) { 1753 var task = { fn: fn, next: undefined }; 1754 if (last) last.next = task; 1755 if (!head) { 1756 head = task; 1757 notify(); 1758 } last = task; 1759 }; 1760}; 1761 1762},{"136":136,"48":48,"70":70}],96:[function(_dereq_,module,exports){ 1763'use strict'; 1764// 25.4.1.5 NewPromiseCapability(C) 1765var aFunction = _dereq_(33); 1766 1767function 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; 1772 reject = $$reject; 1773 }); 1774 this.resolve = aFunction(resolve); 1775 this.reject = aFunction(reject); 1776} 1777 1778module.exports.f = function (C) { 1779 return new PromiseCapability(C); 1780}; 1781 1782},{"33":33}],97:[function(_dereq_,module,exports){ 1783'use strict'; 1784// 19.1.2.1 Object.assign(target, source, ...) 1785var DESCRIPTORS = _dereq_(58); 1786var getKeys = _dereq_(107); 1787var gOPS = _dereq_(104); 1788var pIE = _dereq_(108); 1789var toObject = _dereq_(142); 1790var IObject = _dereq_(77); 1791var $assign = Object.assign; 1792 1793// should work with symbols and should have deterministic property order (V8 bug) 1794module.exports = !$assign || _dereq_(64)(function () { 1795 var A = {}; 1796 var B = {}; 1797 // eslint-disable-next-line no-undef 1798 var S = Symbol(); 1799 var K = 'abcdefghijklmnopqrst'; 1800 A[S] = 7; 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; 1806 var index = 1; 1807 var getSymbols = gOPS.f; 1808 var isEnum = pIE.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; 1813 var j = 0; 1814 var key; 1815 while (length > j) { 1816 key = keys[j++]; 1817 if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key]; 1818 } 1819 } return T; 1820} : $assign; 1821 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]) 1824var anObject = _dereq_(38); 1825var dPs = _dereq_(100); 1826var enumBugKeys = _dereq_(60); 1827var IE_PROTO = _dereq_(125)('IE_PROTO'); 1828var Empty = function () { /* empty */ }; 1829var PROTOTYPE = 'prototype'; 1830 1831// Create object with fake `null` prototype: use iframe Object with cleared prototype 1832var createDict = function () { 1833 // Thrash, waste and sodomy: IE GC bug 1834 var iframe = _dereq_(59)('iframe'); 1835 var i = enumBugKeys.length; 1836 var lt = '<'; 1837 var gt = '>'; 1838 var iframeDocument; 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(); 1851}; 1852 1853module.exports = Object.create || function create(O, Properties) { 1854 var result; 1855 if (O !== null) { 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); 1863}; 1864 1865},{"100":100,"125":125,"38":38,"59":59,"60":60,"73":73}],99:[function(_dereq_,module,exports){ 1866arguments[4][29][0].apply(exports,arguments) 1867},{"143":143,"29":29,"38":38,"58":58,"74":74}],100:[function(_dereq_,module,exports){ 1868var dP = _dereq_(99); 1869var anObject = _dereq_(38); 1870var getKeys = _dereq_(107); 1871 1872module.exports = _dereq_(58) ? Object.defineProperties : function defineProperties(O, Properties) { 1873 anObject(O); 1874 var keys = getKeys(Properties); 1875 var length = keys.length; 1876 var i = 0; 1877 var P; 1878 while (length > i) dP.f(O, P = keys[i++], Properties[P]); 1879 return O; 1880}; 1881 1882},{"107":107,"38":38,"58":58,"99":99}],101:[function(_dereq_,module,exports){ 1883var pIE = _dereq_(108); 1884var createDesc = _dereq_(116); 1885var toIObject = _dereq_(140); 1886var toPrimitive = _dereq_(143); 1887var has = _dereq_(71); 1888var IE8_DOM_DEFINE = _dereq_(74); 1889var gOPD = Object.getOwnPropertyDescriptor; 1890 1891exports.f = _dereq_(58) ? gOPD : function getOwnPropertyDescriptor(O, P) { 1892 O = toIObject(O); 1893 P = toPrimitive(P, true); 1894 if (IE8_DOM_DEFINE) try { 1895 return gOPD(O, P); 1896 } catch (e) { /* empty */ } 1897 if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); 1898}; 1899 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 1902var toIObject = _dereq_(140); 1903var gOPN = _dereq_(103).f; 1904var toString = {}.toString; 1905 1906var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames 1907 ? Object.getOwnPropertyNames(window) : []; 1908 1909var getWindowNames = function (it) { 1910 try { 1911 return gOPN(it); 1912 } catch (e) { 1913 return windowNames.slice(); 1914 } 1915}; 1916 1917module.exports.f = function getOwnPropertyNames(it) { 1918 return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); 1919}; 1920 1921},{"103":103,"140":140}],103:[function(_dereq_,module,exports){ 1922// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) 1923var $keys = _dereq_(106); 1924var hiddenKeys = _dereq_(60).concat('length', 'prototype'); 1925 1926exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { 1927 return $keys(O, hiddenKeys); 1928}; 1929 1930},{"106":106,"60":60}],104:[function(_dereq_,module,exports){ 1931exports.f = Object.getOwnPropertySymbols; 1932 1933},{}],105:[function(_dereq_,module,exports){ 1934// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) 1935var has = _dereq_(71); 1936var toObject = _dereq_(142); 1937var IE_PROTO = _dereq_(125)('IE_PROTO'); 1938var ObjectProto = Object.prototype; 1939 1940module.exports = Object.getPrototypeOf || function (O) { 1941 O = toObject(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; 1946}; 1947 1948},{"125":125,"142":142,"71":71}],106:[function(_dereq_,module,exports){ 1949var has = _dereq_(71); 1950var toIObject = _dereq_(140); 1951var arrayIndexOf = _dereq_(41)(false); 1952var IE_PROTO = _dereq_(125)('IE_PROTO'); 1953 1954module.exports = function (object, names) { 1955 var O = toIObject(object); 1956 var i = 0; 1957 var result = []; 1958 var key; 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); 1963 } 1964 return result; 1965}; 1966 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) 1969var $keys = _dereq_(106); 1970var enumBugKeys = _dereq_(60); 1971 1972module.exports = Object.keys || function keys(O) { 1973 return $keys(O, enumBugKeys); 1974}; 1975 1976},{"106":106,"60":60}],108:[function(_dereq_,module,exports){ 1977exports.f = {}.propertyIsEnumerable; 1978 1979},{}],109:[function(_dereq_,module,exports){ 1980// most Object methods by ES6 should accept primitives 1981var $export = _dereq_(62); 1982var core = _dereq_(52); 1983var fails = _dereq_(64); 1984module.exports = function (KEY, exec) { 1985 var fn = (core.Object || {})[KEY] || Object[KEY]; 1986 var exp = {}; 1987 exp[KEY] = exec(fn); 1988 $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); 1989}; 1990 1991},{"52":52,"62":62,"64":64}],110:[function(_dereq_,module,exports){ 1992var DESCRIPTORS = _dereq_(58); 1993var getKeys = _dereq_(107); 1994var toIObject = _dereq_(140); 1995var isEnum = _dereq_(108).f; 1996module.exports = function (isEntries) { 1997 return function (it) { 1998 var O = toIObject(it); 1999 var keys = getKeys(O); 2000 var length = keys.length; 2001 var i = 0; 2002 var result = []; 2003 var key; 2004 while (length > i) { 2005 key = keys[i++]; 2006 if (!DESCRIPTORS || isEnum.call(O, key)) { 2007 result.push(isEntries ? [key, O[key]] : O[key]); 2008 } 2009 } 2010 return result; 2011 }; 2012}; 2013 2014},{"107":107,"108":108,"140":140,"58":58}],111:[function(_dereq_,module,exports){ 2015// all object keys, includes non-enumerable and symbols 2016var gOPN = _dereq_(103); 2017var gOPS = _dereq_(104); 2018var anObject = _dereq_(38); 2019var Reflect = _dereq_(70).Reflect; 2020module.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; 2024}; 2025 2026},{"103":103,"104":104,"38":38,"70":70}],112:[function(_dereq_,module,exports){ 2027var $parseFloat = _dereq_(70).parseFloat; 2028var $trim = _dereq_(134).trim; 2029 2030module.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; 2034} : $parseFloat; 2035 2036},{"134":134,"135":135,"70":70}],113:[function(_dereq_,module,exports){ 2037var $parseInt = _dereq_(70).parseInt; 2038var $trim = _dereq_(134).trim; 2039var ws = _dereq_(135); 2040var hex = /^[-+]?0[xX]/; 2041 2042module.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)); 2045} : $parseInt; 2046 2047},{"134":134,"135":135,"70":70}],114:[function(_dereq_,module,exports){ 2048module.exports = function (exec) { 2049 try { 2050 return { e: false, v: exec() }; 2051 } catch (e) { 2052 return { e: true, v: e }; 2053 } 2054}; 2055 2056},{}],115:[function(_dereq_,module,exports){ 2057var anObject = _dereq_(38); 2058var isObject = _dereq_(81); 2059var newPromiseCapability = _dereq_(96); 2060 2061module.exports = function (C, x) { 2062 anObject(C); 2063 if (isObject(x) && x.constructor === C) return x; 2064 var promiseCapability = newPromiseCapability.f(C); 2065 var resolve = promiseCapability.resolve; 2066 resolve(x); 2067 return promiseCapability.promise; 2068}; 2069 2070},{"38":38,"81":81,"96":96}],116:[function(_dereq_,module,exports){ 2071arguments[4][30][0].apply(exports,arguments) 2072},{"30":30}],117:[function(_dereq_,module,exports){ 2073var redefine = _dereq_(118); 2074module.exports = function (target, src, safe) { 2075 for (var key in src) redefine(target, key, src[key], safe); 2076 return target; 2077}; 2078 2079},{"118":118}],118:[function(_dereq_,module,exports){ 2080var global = _dereq_(70); 2081var hide = _dereq_(72); 2082var has = _dereq_(71); 2083var SRC = _dereq_(147)('src'); 2084var $toString = _dereq_(69); 2085var TO_STRING = 'toString'; 2086var TPL = ('' + $toString).split(TO_STRING); 2087 2088_dereq_(52).inspectSource = function (it) { 2089 return $toString.call(it); 2090}; 2091 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))); 2097 if (O === global) { 2098 O[key] = val; 2099 } else if (!safe) { 2100 delete O[key]; 2101 hide(O, key, val); 2102 } else if (O[key]) { 2103 O[key] = val; 2104 } else { 2105 hide(O, key, val); 2106 } 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); 2110}); 2111 2112},{"147":147,"52":52,"69":69,"70":70,"71":71,"72":72}],119:[function(_dereq_,module,exports){ 2113'use strict'; 2114 2115var classof = _dereq_(47); 2116var builtinExec = RegExp.prototype.exec; 2117 2118 // `RegExpExec` abstract operation 2119// https://tc39.github.io/ecma262/#sec-regexpexec 2120module.exports = function (R, S) { 2121 var exec = R.exec; 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'); 2126 } 2127 return result; 2128 } 2129 if (classof(R) !== 'RegExp') { 2130 throw new TypeError('RegExp#exec called on incompatible receiver'); 2131 } 2132 return builtinExec.call(R, S); 2133}; 2134 2135},{"47":47}],120:[function(_dereq_,module,exports){ 2136'use strict'; 2137 2138var regexpFlags = _dereq_(66); 2139 2140var 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. 2144var nativeReplace = String.prototype.replace; 2145 2146var patchedExec = nativeExec; 2147 2148var LAST_INDEX = 'lastIndex'; 2149 2150var UPDATES_LAST_INDEX_WRONG = (function () { 2151 var re1 = /a/, 2152 re2 = /b*/g; 2153 nativeExec.call(re1, 'a'); 2154 nativeExec.call(re2, 'a'); 2155 return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; 2156})(); 2157 2158// nonparticipating capturing group, copied from es5-shim's String#split patch. 2159var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; 2160 2161var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; 2162 2163if (PATCH) { 2164 patchedExec = function exec(str) { 2165 var re = this; 2166 var lastIndex, reCopy, match, i; 2167 2168 if (NPCG_INCLUDED) { 2169 reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); 2170 } 2171 if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; 2172 2173 match = nativeExec.call(re, str); 2174 2175 if (UPDATES_LAST_INDEX_WRONG && match) { 2176 re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; 2177 } 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; 2185 } 2186 }); 2187 } 2188 2189 return match; 2190 }; 2191} 2192 2193module.exports = patchedExec; 2194 2195},{"66":66}],121:[function(_dereq_,module,exports){ 2196// 7.2.9 SameValue(x, y) 2197module.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; 2200}; 2201 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 */ 2205var isObject = _dereq_(81); 2206var anObject = _dereq_(38); 2207var check = function (O, proto) { 2208 anObject(O); 2209 if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); 2210}; 2211module.exports = { 2212 set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line 2213 function (test, buggy, set) { 2214 try { 2215 set = _dereq_(54)(Function.call, _dereq_(101).f(Object.prototype, '__proto__').set, 2); 2216 set(test, []); 2217 buggy = !(test instanceof Array); 2218 } catch (e) { buggy = true; } 2219 return function setPrototypeOf(O, proto) { 2220 check(O, proto); 2221 if (buggy) O.__proto__ = proto; 2222 else set(O, proto); 2223 return O; 2224 }; 2225 }({}, false) : undefined), 2226 check: check 2227}; 2228 2229},{"101":101,"38":38,"54":54,"81":81}],123:[function(_dereq_,module,exports){ 2230'use strict'; 2231var global = _dereq_(70); 2232var dP = _dereq_(99); 2233var DESCRIPTORS = _dereq_(58); 2234var SPECIES = _dereq_(152)('species'); 2235 2236module.exports = function (KEY) { 2237 var C = global[KEY]; 2238 if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { 2239 configurable: true, 2240 get: function () { return this; } 2241 }); 2242}; 2243 2244},{"152":152,"58":58,"70":70,"99":99}],124:[function(_dereq_,module,exports){ 2245var def = _dereq_(99).f; 2246var has = _dereq_(71); 2247var TAG = _dereq_(152)('toStringTag'); 2248 2249module.exports = function (it, tag, stat) { 2250 if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); 2251}; 2252 2253},{"152":152,"71":71,"99":99}],125:[function(_dereq_,module,exports){ 2254var shared = _dereq_(126)('keys'); 2255var uid = _dereq_(147); 2256module.exports = function (key) { 2257 return shared[key] || (shared[key] = uid(key)); 2258}; 2259 2260},{"126":126,"147":147}],126:[function(_dereq_,module,exports){ 2261var core = _dereq_(52); 2262var global = _dereq_(70); 2263var SHARED = '__core-js_shared__'; 2264var store = global[SHARED] || (global[SHARED] = {}); 2265 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)' 2272}); 2273 2274},{"52":52,"70":70,"89":89}],127:[function(_dereq_,module,exports){ 2275// 7.3.20 SpeciesConstructor(O, defaultConstructor) 2276var anObject = _dereq_(38); 2277var aFunction = _dereq_(33); 2278var SPECIES = _dereq_(152)('species'); 2279module.exports = function (O, D) { 2280 var C = anObject(O).constructor; 2281 var S; 2282 return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); 2283}; 2284 2285},{"152":152,"33":33,"38":38}],128:[function(_dereq_,module,exports){ 2286'use strict'; 2287var fails = _dereq_(64); 2288 2289module.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); 2293 }); 2294}; 2295 2296},{"64":64}],129:[function(_dereq_,module,exports){ 2297var toInteger = _dereq_(139); 2298var defined = _dereq_(57); 2299// true -> String#at 2300// false -> String#codePointAt 2301module.exports = function (TO_STRING) { 2302 return function (that, pos) { 2303 var s = String(defined(that)); 2304 var i = toInteger(pos); 2305 var l = s.length; 2306 var a, b; 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; 2312 }; 2313}; 2314 2315},{"139":139,"57":57}],130:[function(_dereq_,module,exports){ 2316// helper for String#{startsWith, endsWith, includes} 2317var isRegExp = _dereq_(82); 2318var defined = _dereq_(57); 2319 2320module.exports = function (that, searchString, NAME) { 2321 if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); 2322 return String(defined(that)); 2323}; 2324 2325},{"57":57,"82":82}],131:[function(_dereq_,module,exports){ 2326var $export = _dereq_(62); 2327var fails = _dereq_(64); 2328var defined = _dereq_(57); 2329var quot = /"/g; 2330// B.2.3.2.1 CreateHTML(string, tag, attribute, value) 2331var createHTML = function (string, tag, attribute, value) { 2332 var S = String(defined(string)); 2333 var p1 = '<' + tag; 2334 if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"'; 2335 return p1 + '>' + S + '</' + tag + '>'; 2336}; 2337module.exports = function (NAME, exec) { 2338 var O = {}; 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; 2343 }), 'String', O); 2344}; 2345 2346},{"57":57,"62":62,"64":64}],132:[function(_dereq_,module,exports){ 2347// https://github.com/tc39/proposal-string-pad-start-end 2348var toLength = _dereq_(141); 2349var repeat = _dereq_(133); 2350var defined = _dereq_(57); 2351 2352module.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; 2362}; 2363 2364},{"133":133,"141":141,"57":57}],133:[function(_dereq_,module,exports){ 2365'use strict'; 2366var toInteger = _dereq_(139); 2367var defined = _dereq_(57); 2368 2369module.exports = function repeat(count) { 2370 var str = String(defined(this)); 2371 var res = ''; 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; 2375 return res; 2376}; 2377 2378},{"139":139,"57":57}],134:[function(_dereq_,module,exports){ 2379var $export = _dereq_(62); 2380var defined = _dereq_(57); 2381var fails = _dereq_(64); 2382var spaces = _dereq_(135); 2383var space = '[' + spaces + ']'; 2384var non = '\u200b\u0085'; 2385var ltrim = RegExp('^' + space + space + '*'); 2386var rtrim = RegExp(space + space + '*$'); 2387 2388var exporter = function (KEY, exec, ALIAS) { 2389 var exp = {}; 2390 var FORCE = fails(function () { 2391 return !!spaces[KEY]() || non[KEY]() != non; 2392 }); 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); 2396}; 2397 2398// 1 -> String#trimLeft 2399// 2 -> String#trimRight 2400// 3 -> String#trim 2401var 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, ''); 2405 return string; 2406}; 2407 2408module.exports = exporter; 2409 2410},{"135":135,"57":57,"62":62,"64":64}],135:[function(_dereq_,module,exports){ 2411module.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'; 2413 2414},{}],136:[function(_dereq_,module,exports){ 2415var ctx = _dereq_(54); 2416var invoke = _dereq_(76); 2417var html = _dereq_(73); 2418var cel = _dereq_(59); 2419var global = _dereq_(70); 2420var process = global.process; 2421var setTask = global.setImmediate; 2422var clearTask = global.clearImmediate; 2423var MessageChannel = global.MessageChannel; 2424var Dispatch = global.Dispatch; 2425var counter = 0; 2426var queue = {}; 2427var ONREADYSTATECHANGE = 'onreadystatechange'; 2428var defer, channel, port; 2429var run = function () { 2430 var id = +this; 2431 // eslint-disable-next-line no-prototype-builtins 2432 if (queue.hasOwnProperty(id)) { 2433 var fn = queue[id]; 2434 delete queue[id]; 2435 fn(); 2436 } 2437}; 2438var listener = function (event) { 2439 run.call(event.data); 2440}; 2441// Node.js 0.9+ & IE10+ has setImmediate, otherwise: 2442if (!setTask || !clearTask) { 2443 setTask = function setImmediate(fn) { 2444 var args = []; 2445 var i = 1; 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); 2450 }; 2451 defer(counter); 2452 return counter; 2453 }; 2454 clearTask = function clearImmediate(id) { 2455 delete queue[id]; 2456 }; 2457 // Node.js 0.8- 2458 if (_dereq_(48)(process) == 'process') { 2459 defer = function (id) { 2460 process.nextTick(ctx(run, id, 1)); 2461 }; 2462 // Sphere (JS game engine) Dispatch API 2463 } else if (Dispatch && Dispatch.now) { 2464 defer = function (id) { 2465 Dispatch.now(ctx(run, id, 1)); 2466 }; 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 + '', '*'); 2478 }; 2479 global.addEventListener('message', listener, false); 2480 // IE8- 2481 } else if (ONREADYSTATECHANGE in cel('script')) { 2482 defer = function (id) { 2483 html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { 2484 html.removeChild(this); 2485 run.call(id); 2486 }; 2487 }; 2488 // Rest old browsers 2489 } else { 2490 defer = function (id) { 2491 setTimeout(ctx(run, id, 1), 0); 2492 }; 2493 } 2494} 2495module.exports = { 2496 set: setTask, 2497 clear: clearTask 2498}; 2499 2500},{"48":48,"54":54,"59":59,"70":70,"73":73,"76":76}],137:[function(_dereq_,module,exports){ 2501var toInteger = _dereq_(139); 2502var max = Math.max; 2503var min = Math.min; 2504module.exports = function (index, length) { 2505 index = toInteger(index); 2506 return index < 0 ? max(index + length, 0) : min(index, length); 2507}; 2508 2509},{"139":139}],138:[function(_dereq_,module,exports){ 2510// https://tc39.github.io/ecma262/#sec-toindex 2511var toInteger = _dereq_(139); 2512var toLength = _dereq_(141); 2513module.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!'); 2518 return length; 2519}; 2520 2521},{"139":139,"141":141}],139:[function(_dereq_,module,exports){ 2522// 7.1.4 ToInteger 2523var ceil = Math.ceil; 2524var floor = Math.floor; 2525module.exports = function (it) { 2526 return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); 2527}; 2528 2529},{}],140:[function(_dereq_,module,exports){ 2530// to indexed object, toObject with fallback for non-array-like ES3 strings 2531var IObject = _dereq_(77); 2532var defined = _dereq_(57); 2533module.exports = function (it) { 2534 return IObject(defined(it)); 2535}; 2536 2537},{"57":57,"77":77}],141:[function(_dereq_,module,exports){ 2538// 7.1.15 ToLength 2539var toInteger = _dereq_(139); 2540var min = Math.min; 2541module.exports = function (it) { 2542 return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 2543}; 2544 2545},{"139":139}],142:[function(_dereq_,module,exports){ 2546// 7.1.13 ToObject(argument) 2547var defined = _dereq_(57); 2548module.exports = function (it) { 2549 return Object(defined(it)); 2550}; 2551 2552},{"57":57}],143:[function(_dereq_,module,exports){ 2553arguments[4][31][0].apply(exports,arguments) 2554},{"31":31,"81":81}],144:[function(_dereq_,module,exports){ 2555'use strict'; 2556if (_dereq_(58)) { 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
vendor: 8,586 bytes, lines 2594-2822
2594); 2595 var dP = $DP.f; 2596 var gOPD = $GOPD.f; 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!'; 2634 2635 var $map = createArrayMethod(1, function (O, length) { 2636 return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length); 2637 }); 2638 2639 var LITTLE_ENDIAN = fails(function () { 2640 // eslint-disable-next-line no-undef 2641 return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1; 2642 }); 2643 2644 var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () { 2645 new Uint8Array(1).set({}); 2646 }); 2647 2648 var toOffset = function (it, BYTES) { 2649 var offset = toInteger(it); 2650 if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!'); 2651 return offset; 2652 }; 2653 2654 var validate = function (it) { 2655 if (isObject(it) && TYPED_ARRAY in it) return it; 2656 throw TypeError(it + ' is not a typed array!'); 2657 }; 2658 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); 2663 }; 2664 2665 var speciesFromList = function (O, list) { 2666 return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list); 2667 }; 2668 2669 var fromList = function (C, list) { 2670 var index = 0; 2671 var length = list.length; 2672 var result = allocate(C, length); 2673 while (length > index) result[index] = list[index++]; 2674 return result; 2675 }; 2676 2677 var addGetter = function (it, key, internal) { 2678 dP(it, key, { get: function () { return this._d[internal]; } }); 2679 }; 2680 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); 2691 } O = values; 2692 } 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]; 2696 } 2697 return result; 2698 }; 2699 2700 var $of = function of(/* ...items */) { 2701 var index = 0; 2702 var length = arguments.length; 2703 var result = allocate(this, length); 2704 while (length > index) result[index] = arguments[index++]; 2705 return result; 2706 }; 2707 2708 // iOS Safari 6.x fails here 2709 var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); }); 2710 2711 var $toLocaleString = function toLocaleString() { 2712 return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments); 2713 }; 2714 2715 var proto = { 2716 copyWithin: function copyWithin(target, start /* , end */) { 2717 return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined); 2718 }, 2719 every: function every(callbackfn /* , thisArg */) { 2720 return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 2721 }, 2722 fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars 2723 return arrayFill.apply(validate(this), arguments); 2724 }, 2725 filter: function filter(callbackfn /* , thisArg */) { 2726 return speciesFromList(this, arrayFilter(validate(this), callbackfn, 2727 arguments.length > 1 ? arguments[1] : undefined)); 2728 }, 2729 find: function find(predicate /* , thisArg */) { 2730 return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); 2731 }, 2732 findIndex: function findIndex(predicate /* , thisArg */) { 2733 return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); 2734 }, 2735 forEach: function forEach(callbackfn /* , thisArg */) { 2736 arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 2737 }, 2738 indexOf: function indexOf(searchElement /* , fromIndex */) { 2739 return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); 2740 }, 2741 includes: function includes(searchElement /* , fromIndex */) { 2742 return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); 2743 }, 2744 join: function join(separator) { // eslint-disable-line no-unused-vars 2745 return arrayJoin.apply(validate(this), arguments); 2746 }, 2747 lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars 2748 return arrayLastIndexOf.apply(validate(this), arguments); 2749 }, 2750 map: function map(mapfn /* , thisArg */) { 2751 return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined); 2752 }, 2753 reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars 2754 return arrayReduce.apply(validate(this), arguments); 2755 }, 2756 reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars 2757 return arrayReduceRight.apply(validate(this), arguments); 2758 }, 2759 reverse: function reverse() { 2760 var that = this; 2761 var length = validate(that).length; 2762 var middle = Math.floor(length / 2); 2763 var index = 0; 2764 var value; 2765 while (index < middle) { 2766 value = that[index]; 2767 that[index++] = that[--length]; 2768 that[length] = value; 2769 } return that; 2770 }, 2771 some: function some(callbackfn /* , thisArg */) { 2772 return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 2773 }, 2774 sort: function sort(comparefn) { 2775 return arraySort.call(validate(this), comparefn); 2776 }, 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]))( 2782 O.buffer, 2783 O.byteOffset + $begin * O.BYTES_PER_ELEMENT, 2784 toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin) 2785 ); 2786 } 2787 }; 2788 2789 var $slice = function slice(start, end) { 2790 return speciesFromList(this, arraySlice.call(validate(this), start, end)); 2791 }; 2792 2793 var $set = function set(arrayLike /* , offset */) { 2794 validate(this); 2795 var offset = toOffset(arguments[1], 1); 2796 var length = this.length; 2797 var src = toObject(arrayLike); 2798 var len = toLength(src.length); 2799 var index = 0; 2800 if (len + offset > length) throw RangeError(WRONG_LENGTH); 2801 while (index < len) this[offset + index] = src[index++]; 2802 }; 2803 2804 var $iterators = { 2805 entries: function entries() { 2806 return arrayEntries.call(validate(this)); 2807 }, 2808 keys: function keys() { 2809 return arrayKeys.call(validate(this)); 2810 }, 2811 values: function values() { 2812 return arrayValues.call(validate(this)); 2813 } 2814 }; 2815 2816 var isTAIndex = function (target, key) { 2817 return isObject(target) 2818 && target[TYPED_ARRAY] 2819 && typeof key != 'symbol' 2820 && key in target 2821 && String(+key) == String(key); 2822 };
vendor: 7,985 bytes, lines 2823-3034
2823 var $getDesc = function getOwnPropertyDescriptor(target, key) { 2824 return isTAIndex(target, key = toPrimitive(key, true)) 2825 ? propertyDesc(2, target[key]) 2826 : gOPD(target, key); 2827 }; 2828 var $setDesc = function defineProperty(target, key, desc) { 2829 if (isTAIndex(target, key = toPrimitive(key, true)) 2830 && isObject(desc) 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) 2838 ) { 2839 target[key] = desc.value; 2840 return target; 2841 } return dP(target, key, desc); 2842 }; 2843 2844 if (!ALL_CONSTRUCTORS) { 2845 $GOPD.f = $getDesc; 2846 $DP.f = $setDesc; 2847 } 2848 2849 $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', { 2850 getOwnPropertyDescriptor: $getDesc, 2851 defineProperty: $setDesc 2852 }); 2853 2854 if (fails(function () { arrayToString.call({}); })) { 2855 arrayToString = arrayToLocaleString = function toString() { 2856 return arrayJoin.call(this); 2857 }; 2858 } 2859 2860 var $TypedArrayPrototype$ = redefineAll({}, proto); 2861 redefineAll($TypedArrayPrototype$, $iterators); 2862 hide($TypedArrayPrototype$, ITERATOR, $iterators.values); 2863 redefineAll($TypedArrayPrototype$, { 2864 slice: $slice, 2865 set: $set, 2866 constructor: function () { /* noop */ }, 2867 toString: arrayToString, 2868 toLocaleString: $toLocaleString 2869 }); 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]; } 2876 }); 2877 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; 2888 var O = {}; 2889 var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE]; 2890 var getter = function (that, index) { 2891 var data = that._d; 2892 return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN); 2893 }; 2894 var setter = function (that, index, value) { 2895 var data = that._d; 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); 2898 }; 2899 var addElement = function (that, index) { 2900 dP(that, index, { 2901 get: function () { 2902 return getter(this, index); 2903 }, 2904 set: function (value) { 2905 return setter(this, index, value); 2906 }, 2907 enumerable: true 2908 }); 2909 }; 2910 if (FORCED) { 2911 TypedArray = wrapper(function (that, data, $offset, $length) { 2912 anInstance(that, TypedArray, NAME, '_d'); 2913 var index = 0; 2914 var offset = 0; 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) { 2921 buffer = data; 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); 2928 } else { 2929 byteLength = toLength($length) * BYTES; 2930 if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH); 2931 } 2932 length = byteLength / BYTES; 2933 } else if (TYPED_ARRAY in data) { 2934 return fromList(TypedArray, data); 2935 } else { 2936 return $from.call(TypedArray, data); 2937 } 2938 hide(that, '_d', { 2939 b: buffer, 2940 o: offset, 2941 l: byteLength, 2942 e: length, 2943 v: new $DataView(buffer) 2944 }); 2945 while (index < length) addElement(that, index++); 2946 }); 2947 TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$); 2948 hide(TypedArrayPrototype, 'constructor', TypedArray); 2949 } else if (!fails(function () { 2950 TypedArray(1); 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 2958 }, true)) { 2959 TypedArray = wrapper(function (that, data, $offset, $length) { 2960 anInstance(that, TypedArray, NAME); 2961 var klass; 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)) 2970 : new Base(data); 2971 } 2972 if (TYPED_ARRAY in data) return fromList(TypedArray, data); 2973 return $from.call(TypedArray, data); 2974 }); 2975 arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) { 2976 if (!(key in TypedArray)) hide(TypedArray, key, Base[key]); 2977 }); 2978 TypedArray[PROTOTYPE] = TypedArrayPrototype; 2979 if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray; 2980 } 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); 2989 2990 if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) { 2991 dP(TypedArrayPrototype, TAG, { 2992 get: function () { return NAME; } 2993 }); 2994 } 2995 2996 O[NAME] = TypedArray; 2997 2998 $export($export.G + $export.W + $export.F * (TypedArray != Base), O); 2999 3000 $export($export.S, NAME, { 3001 BYTES_PER_ELEMENT: BYTES 3002 }); 3003 3004 $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, { 3005 from: $from, 3006 of: $of 3007 }); 3008 3009 if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES); 3010 3011 $export($export.P, NAME, proto); 3012 3013 setSpecies(NAME); 3014 3015 $export($export.P + $export.F * FORCED_SET, NAME, { set: $set }); 3016 3017 $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators); 3018 3019 if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString; 3020 3021 $export($export.P + $export.F * fails(function () { 3022 new TypedArray(1).slice(); 3023 }), NAME, { slice: $slice }); 3024 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 }); 3030 3031 Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator; 3032 if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator); 3033 }; 3034} else module.exports = function () { /* empty */ };
vendor: 95,817 bytes, lines 3035-5930
3035 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){ 3037'use strict'; 3038var global = _dereq_(70); 3039var DESCRIPTORS = _dereq_(58); 3040var LIBRARY = _dereq_(89); 3041var $typed = _dereq_(146); 3042var hide = _dereq_(72); 3043var redefineAll = _dereq_(117); 3044var fails = _dereq_(64); 3045var anInstance = _dereq_(37); 3046var toInteger = _dereq_(139); 3047var toLength = _dereq_(141); 3048var toIndex = _dereq_(138); 3049var gOPN = _dereq_(103).f; 3050var dP = _dereq_(99).f; 3051var arrayFill = _dereq_(40); 3052var setToStringTag = _dereq_(124); 3053var ARRAY_BUFFER = 'ArrayBuffer'; 3054var DATA_VIEW = 'DataView'; 3055var PROTOTYPE = 'prototype'; 3056var WRONG_LENGTH = 'Wrong length!'; 3057var WRONG_INDEX = 'Wrong index!'; 3058var $ArrayBuffer = global[ARRAY_BUFFER]; 3059var $DataView = global[DATA_VIEW]; 3060var Math = global.Math; 3061var RangeError = global.RangeError; 3062// eslint-disable-next-line no-shadow-restricted-names 3063var Infinity = global.Infinity; 3064var BaseBuffer = $ArrayBuffer; 3065var abs = Math.abs; 3066var pow = Math.pow; 3067var floor = Math.floor; 3068var log = Math.log; 3069var LN2 = Math.LN2; 3070var BUFFER = 'buffer'; 3071var BYTE_LENGTH = 'byteLength'; 3072var BYTE_OFFSET = 'byteOffset'; 3073var $BUFFER = DESCRIPTORS ? '_b' : BUFFER; 3074var $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH; 3075var $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET; 3076 3077// IEEE754 conversions based on https://github.com/feross/ieee754 3078function 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; 3084 var i = 0; 3085 var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0; 3086 var e, m, c; 3087 value = abs(value); 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; 3092 e = eMax; 3093 } else { 3094 e = floor(log(value) / LN2); 3095 if (value * (c = pow(2, -e)) < 1) { 3096 e--; 3097 c *= 2; 3098 } 3099 if (e + eBias >= 1) { 3100 value += rt / c; 3101 } else { 3102 value += rt * pow(2, 1 - eBias); 3103 } 3104 if (value * c >= 2) { 3105 e++; 3106 c /= 2; 3107 } 3108 if (e + eBias >= eMax) { 3109 m = 0; 3110 e = eMax; 3111 } else if (e + eBias >= 1) { 3112 m = (value * c - 1) * pow(2, mLen); 3113 e = e + eBias; 3114 } else { 3115 m = value * pow(2, eBias - 1) * pow(2, mLen); 3116 e = 0; 3117 } 3118 } 3119 for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8); 3120 e = e << mLen | m; 3121 eLen += mLen; 3122 for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8); 3123 buffer[--i] |= s * 128; 3124 return buffer; 3125} 3126function 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; 3131 var i = nBytes - 1; 3132 var s = buffer[i--]; 3133 var e = s & 127; 3134 var m; 3135 s >>= 7; 3136 for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8); 3137 m = e & (1 << -nBits) - 1; 3138 e >>= -nBits; 3139 nBits += mLen; 3140 for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8); 3141 if (e === 0) { 3142 e = 1 - eBias; 3143 } else if (e === eMax) { 3144 return m ? NaN : s ? -Infinity : Infinity; 3145 } else { 3146 m = m + pow(2, mLen); 3147 e = e - eBias; 3148 } return (s ? -1 : 1) * m * pow(2, e - mLen); 3149} 3150 3151function unpackI32(bytes) { 3152 return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0]; 3153} 3154function packI8(it) { 3155 return [it & 0xff]; 3156} 3157function packI16(it) { 3158 return [it & 0xff, it >> 8 & 0xff]; 3159} 3160function packI32(it) { 3161 return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff]; 3162} 3163function packF64(it) { 3164 return packIEEE754(it, 52, 8); 3165} 3166function packF32(it) { 3167 return packIEEE754(it, 23, 4); 3168} 3169 3170function addGetter(C, key, internal) { 3171 dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } }); 3172} 3173 3174function 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(); 3182} 3183function 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]; 3191} 3192 3193if (!$typed.ABV) { 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; 3199 }; 3200 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; 3212 }; 3213 3214 if (DESCRIPTORS) { 3215 addGetter($ArrayBuffer, BYTE_LENGTH, '_l'); 3216 addGetter($DataView, BUFFER, '_b'); 3217 addGetter($DataView, BYTE_LENGTH, '_l'); 3218 addGetter($DataView, BYTE_OFFSET, '_o'); 3219 } 3220 3221 redefineAll($DataView[PROTOTYPE], { 3222 getInt8: function getInt8(byteOffset) { 3223 return get(this, 1, byteOffset)[0] << 24 >> 24; 3224 }, 3225 getUint8: function getUint8(byteOffset) { 3226 return get(this, 1, byteOffset)[0]; 3227 }, 3228 getInt16: function getInt16(byteOffset /* , littleEndian */) { 3229 var bytes = get(this, 2, byteOffset, arguments[1]); 3230 return (bytes[1] << 8 | bytes[0]) << 16 >> 16; 3231 }, 3232 getUint16: function getUint16(byteOffset /* , littleEndian */) { 3233 var bytes = get(this, 2, byteOffset, arguments[1]); 3234 return bytes[1] << 8 | bytes[0]; 3235 }, 3236 getInt32: function getInt32(byteOffset /* , littleEndian */) { 3237 return unpackI32(get(this, 4, byteOffset, arguments[1])); 3238 }, 3239 getUint32: function getUint32(byteOffset /* , littleEndian */) { 3240 return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0; 3241 }, 3242 getFloat32: function getFloat32(byteOffset /* , littleEndian */) { 3243 return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4); 3244 }, 3245 getFloat64: function getFloat64(byteOffset /* , littleEndian */) { 3246 return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8); 3247 }, 3248 setInt8: function setInt8(byteOffset, value) { 3249 set(this, 1, byteOffset, packI8, value); 3250 }, 3251 setUint8: function setUint8(byteOffset, value) { 3252 set(this, 1, byteOffset, packI8, value); 3253 }, 3254 setInt16: function setInt16(byteOffset, value /* , littleEndian */) { 3255 set(this, 2, byteOffset, packI16, value, arguments[2]); 3256 }, 3257 setUint16: function setUint16(byteOffset, value /* , littleEndian */) { 3258 set(this, 2, byteOffset, packI16, value, arguments[2]); 3259 }, 3260 setInt32: function setInt32(byteOffset, value /* , littleEndian */) { 3261 set(this, 4, byteOffset, packI32, value, arguments[2]); 3262 }, 3263 setUint32: function setUint32(byteOffset, value /* , littleEndian */) { 3264 set(this, 4, byteOffset, packI32, value, arguments[2]); 3265 }, 3266 setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { 3267 set(this, 4, byteOffset, packF32, value, arguments[2]); 3268 }, 3269 setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { 3270 set(this, 8, byteOffset, packF64, value, arguments[2]); 3271 } 3272 }); 3273} else { 3274 if (!fails(function () { 3275 $ArrayBuffer(1); 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; 3283 })) { 3284 $ArrayBuffer = function ArrayBuffer(length) { 3285 anInstance(this, $ArrayBuffer); 3286 return new BaseBuffer(toIndex(length)); 3287 }; 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]); 3291 } 3292 if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer; 3293 } 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); 3302 }, 3303 setUint8: function setUint8(byteOffset, value) { 3304 $setInt8.call(this, byteOffset, value << 24 >> 24); 3305 } 3306 }, true); 3307} 3308setToStringTag($ArrayBuffer, ARRAY_BUFFER); 3309setToStringTag($DataView, DATA_VIEW); 3310hide($DataView[PROTOTYPE], $typed.VIEW, true); 3311exports[ARRAY_BUFFER] = $ArrayBuffer; 3312exports[DATA_VIEW] = $DataView; 3313 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){ 3315var global = _dereq_(70); 3316var hide = _dereq_(72); 3317var uid = _dereq_(147); 3318var TYPED = uid('typed_array'); 3319var VIEW = uid('view'); 3320var ABV = !!(global.ArrayBuffer && global.DataView); 3321var CONSTR = ABV; 3322var i = 0; 3323var l = 9; 3324var Typed; 3325 3326var TypedArrayConstructors = ( 3327 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array' 3328).split(','); 3329 3330while (i < l) { 3331 if (Typed = global[TypedArrayConstructors[i++]]) { 3332 hide(Typed.prototype, TYPED, true); 3333 hide(Typed.prototype, VIEW, true); 3334 } else CONSTR = false; 3335} 3336 3337module.exports = { 3338 ABV: ABV, 3339 CONSTR: CONSTR, 3340 TYPED: TYPED, 3341 VIEW: VIEW 3342}; 3343 3344},{"147":147,"70":70,"72":72}],147:[function(_dereq_,module,exports){ 3345var id = 0; 3346var px = Math.random(); 3347module.exports = function (key) { 3348 return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); 3349}; 3350 3351},{}],148:[function(_dereq_,module,exports){ 3352var global = _dereq_(70); 3353var navigator = global.navigator; 3354 3355module.exports = navigator && navigator.userAgent || ''; 3356 3357},{"70":70}],149:[function(_dereq_,module,exports){ 3358var isObject = _dereq_(81); 3359module.exports = function (it, TYPE) { 3360 if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); 3361 return it; 3362}; 3363 3364},{"81":81}],150:[function(_dereq_,module,exports){ 3365var global = _dereq_(70); 3366var core = _dereq_(52); 3367var LIBRARY = _dereq_(89); 3368var wksExt = _dereq_(151); 3369var defineProperty = _dereq_(99).f; 3370module.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) }); 3373}; 3374 3375},{"151":151,"52":52,"70":70,"89":89,"99":99}],151:[function(_dereq_,module,exports){ 3376exports.f = _dereq_(152); 3377 3378},{"152":152}],152:[function(_dereq_,module,exports){ 3379var store = _dereq_(126)('wks'); 3380var uid = _dereq_(147); 3381var Symbol = _dereq_(70).Symbol; 3382var USE_SYMBOL = typeof Symbol == 'function'; 3383 3384var $exports = module.exports = function (name) { 3385 return store[name] || (store[name] = 3386 USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); 3387}; 3388 3389$exports.store = store; 3390 3391},{"126":126,"147":147,"70":70}],153:[function(_dereq_,module,exports){ 3392var classof = _dereq_(47); 3393var ITERATOR = _dereq_(152)('iterator'); 3394var Iterators = _dereq_(88); 3395module.exports = _dereq_(52).getIteratorMethod = function (it) { 3396 if (it != undefined) return it[ITERATOR] 3397 || it['@@iterator'] 3398 || Iterators[classof(it)]; 3399}; 3400 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) 3403var $export = _dereq_(62); 3404 3405$export($export.P, 'Array', { copyWithin: _dereq_(39) }); 3406 3407_dereq_(35)('copyWithin'); 3408 3409},{"35":35,"39":39,"62":62}],155:[function(_dereq_,module,exports){ 3410'use strict'; 3411var $export = _dereq_(62); 3412var $every = _dereq_(42)(4); 3413 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]); 3418 } 3419}); 3420 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) 3423var $export = _dereq_(62); 3424 3425$export($export.P, 'Array', { fill: _dereq_(40) }); 3426 3427_dereq_(35)('fill'); 3428 3429},{"35":35,"40":40,"62":62}],157:[function(_dereq_,module,exports){ 3430'use strict'; 3431var $export = _dereq_(62); 3432var $filter = _dereq_(42)(2); 3433 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]); 3438 } 3439}); 3440 3441},{"128":128,"42":42,"62":62}],158:[function(_dereq_,module,exports){ 3442'use strict'; 3443// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) 3444var $export = _dereq_(62); 3445var $find = _dereq_(42)(6); 3446var KEY = 'findIndex'; 3447var forced = true; 3448// Shouldn't skip holes 3449if (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); 3453 } 3454}); 3455_dereq_(35)(KEY); 3456 3457},{"35":35,"42":42,"62":62}],159:[function(_dereq_,module,exports){ 3458'use strict'; 3459// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) 3460var $export = _dereq_(62); 3461var $find = _dereq_(42)(5); 3462var KEY = 'find'; 3463var forced = true; 3464// Shouldn't skip holes 3465if (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); 3469 } 3470}); 3471_dereq_(35)(KEY); 3472 3473},{"35":35,"42":42,"62":62}],160:[function(_dereq_,module,exports){ 3474'use strict'; 3475var $export = _dereq_(62); 3476var $forEach = _dereq_(42)(0); 3477var STRICT = _dereq_(128)([].forEach, true); 3478 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]); 3483 } 3484}); 3485 3486},{"128":128,"42":42,"62":62}],161:[function(_dereq_,module,exports){ 3487'use strict'; 3488var ctx = _dereq_(54); 3489var $export = _dereq_(62); 3490var toObject = _dereq_(142); 3491var call = _dereq_(83); 3492var isArrayIter = _dereq_(78); 3493var toLength = _dereq_(141); 3494var createProperty = _dereq_(53); 3495var getIterFn = _dereq_(153); 3496 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; 3505 var index = 0; 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); 3513 } 3514 } else { 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]); 3518 } 3519 } 3520 result.length = index; 3521 return result; 3522 } 3523}); 3524 3525},{"141":141,"142":142,"153":153,"53":53,"54":54,"62":62,"78":78,"83":83,"86":86}],162:[function(_dereq_,module,exports){ 3526'use strict'; 3527var $export = _dereq_(62); 3528var $indexOf = _dereq_(41)(false); 3529var $native = [].indexOf; 3530var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0; 3531 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 3536 // convert -0 to +0 3537 ? $native.apply(this, arguments) || 0 3538 : $indexOf(this, searchElement, arguments[1]); 3539 } 3540}); 3541 3542},{"128":128,"41":41,"62":62}],163:[function(_dereq_,module,exports){ 3543// 22.1.2.2 / 15.4.3.2 Array.isArray(arg) 3544var $export = _dereq_(62); 3545 3546$export($export.S, 'Array', { isArray: _dereq_(79) }); 3547 3548},{"62":62,"79":79}],164:[function(_dereq_,module,exports){ 3549'use strict'; 3550var addToUnscopables = _dereq_(35); 3551var step = _dereq_(87); 3552var Iterators = _dereq_(88); 3553var toIObject = _dereq_(140); 3554 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]() 3559module.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() 3564}, function () { 3565 var O = this._t; 3566 var kind = this._k; 3567 var index = this._i++; 3568 if (!O || index >= O.length) { 3569 this._t = undefined; 3570 return step(1); 3571 } 3572 if (kind == 'keys') return step(0, index); 3573 if (kind == 'values') return step(0, O[index]); 3574 return step(0, [index, O[index]]); 3575}, 'values'); 3576 3577// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) 3578Iterators.Arguments = Iterators.Array; 3579 3580addToUnscopables('keys'); 3581addToUnscopables('values'); 3582addToUnscopables('entries'); 3583 3584},{"140":140,"35":35,"85":85,"87":87,"88":88}],165:[function(_dereq_,module,exports){ 3585'use strict'; 3586// 22.1.3.13 Array.prototype.join(separator) 3587var $export = _dereq_(62); 3588var toIObject = _dereq_(140); 3589var arrayJoin = [].join; 3590 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); 3595 } 3596}); 3597 3598},{"128":128,"140":140,"62":62,"77":77}],166:[function(_dereq_,module,exports){ 3599'use strict'; 3600var $export = _dereq_(62); 3601var toIObject = _dereq_(140); 3602var toInteger = _dereq_(139); 3603var toLength = _dereq_(141); 3604var $native = [].lastIndexOf; 3605var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0; 3606 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] */) { 3610 // convert -0 to +0 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; 3618 return -1; 3619 } 3620}); 3621 3622},{"128":128,"139":139,"140":140,"141":141,"62":62}],167:[function(_dereq_,module,exports){ 3623'use strict'; 3624var $export = _dereq_(62); 3625var $map = _dereq_(42)(1); 3626 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]); 3631 } 3632}); 3633 3634},{"128":128,"42":42,"62":62}],168:[function(_dereq_,module,exports){ 3635'use strict'; 3636var $export = _dereq_(62); 3637var createProperty = _dereq_(53); 3638 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); 3643}), 'Array', { 3644 // 22.1.2.3 Array.of( ...items) 3645 of: function of(/* ...args */) { 3646 var index = 0; 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; 3651 return result; 3652 } 3653}); 3654 3655},{"53":53,"62":62,"64":64}],169:[function(_dereq_,module,exports){ 3656'use strict'; 3657var $export = _dereq_(62); 3658var $reduce = _dereq_(43); 3659 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); 3664 } 3665}); 3666 3667},{"128":128,"43":43,"62":62}],170:[function(_dereq_,module,exports){ 3668'use strict'; 3669var $export = _dereq_(62); 3670var $reduce = _dereq_(43); 3671 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); 3676 } 3677}); 3678 3679},{"128":128,"43":43,"62":62}],171:[function(_dereq_,module,exports){ 3680'use strict'; 3681var $export = _dereq_(62); 3682var html = _dereq_(73); 3683var cof = _dereq_(48); 3684var toAbsoluteIndex = _dereq_(137); 3685var toLength = _dereq_(141); 3686var arraySlice = [].slice; 3687 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); 3691}), 'Array', { 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); 3701 var i = 0; 3702 for (; i < size; i++) cloned[i] = klass == 'String' 3703 ? this.charAt(start + i) 3704 : this[start + i]; 3705 return cloned; 3706 } 3707}); 3708 3709},{"137":137,"141":141,"48":48,"62":62,"64":64,"73":73}],172:[function(_dereq_,module,exports){ 3710'use strict'; 3711var $export = _dereq_(62); 3712var $some = _dereq_(42)(3); 3713 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]); 3718 } 3719}); 3720 3721},{"128":128,"42":42,"62":62}],173:[function(_dereq_,module,exports){ 3722'use strict'; 3723var $export = _dereq_(62); 3724var aFunction = _dereq_(33); 3725var toObject = _dereq_(142); 3726var fails = _dereq_(64); 3727var $sort = [].sort; 3728var test = [1, 2, 3]; 3729 3730$export($export.P + $export.F * (fails(function () { 3731 // IE8- 3732 test.sort(undefined); 3733}) || !fails(function () { 3734 // V8 bug 3735 test.sort(null); 3736 // Old WebKit 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)); 3743 } 3744}); 3745 3746},{"128":128,"142":142,"33":33,"62":62,"64":64}],174:[function(_dereq_,module,exports){ 3747_dereq_(123)('Array'); 3748 3749},{"123":123}],175:[function(_dereq_,module,exports){ 3750// 20.3.3.1 / 15.9.4.4 Date.now() 3751var $export = _dereq_(62); 3752 3753$export($export.S, 'Date', { now: function () { return new Date().getTime(); } }); 3754 3755},{"62":62}],176:[function(_dereq_,module,exports){ 3756// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() 3757var $export = _dereq_(62); 3758var toISOString = _dereq_(55); 3759 3760// PhantomJS / old WebKit has a broken implementations 3761$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', { 3762 toISOString: toISOString 3763}); 3764 3765},{"55":55,"62":62}],177:[function(_dereq_,module,exports){ 3766'use strict'; 3767var $export = _dereq_(62); 3768var toObject = _dereq_(142); 3769var toPrimitive = _dereq_(143); 3770 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; 3774}), 'Date', { 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(); 3780 } 3781}); 3782 3783},{"142":142,"143":143,"62":62,"64":64}],178:[function(_dereq_,module,exports){ 3784var TO_PRIMITIVE = _dereq_(152)('toPrimitive'); 3785var proto = Date.prototype; 3786 3787if (!(TO_PRIMITIVE in proto)) _dereq_(72)(proto, TO_PRIMITIVE, _dereq_(56)); 3788 3789},{"152":152,"56":56,"72":72}],179:[function(_dereq_,module,exports){ 3790var DateProto = Date.prototype; 3791var INVALID_DATE = 'Invalid Date'; 3792var TO_STRING = 'toString'; 3793var $toString = DateProto[TO_STRING]; 3794var getTime = DateProto.getTime; 3795if (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; 3800 }); 3801} 3802 3803},{"118":118}],180:[function(_dereq_,module,exports){ 3804// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...) 3805var $export = _dereq_(62); 3806 3807$export($export.P, 'Function', { bind: _dereq_(46) }); 3808 3809},{"46":46,"62":62}],181:[function(_dereq_,module,exports){ 3810'use strict'; 3811var isObject = _dereq_(81); 3812var getPrototypeOf = _dereq_(105); 3813var HAS_INSTANCE = _dereq_(152)('hasInstance'); 3814var FunctionProto = Function.prototype; 3815// 19.2.3.6 Function.prototype[@@hasInstance](V) 3816if (!(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; 3821 return false; 3822} }); 3823 3824},{"105":105,"152":152,"81":81,"99":99}],182:[function(_dereq_,module,exports){ 3825var dP = _dereq_(99).f; 3826var FProto = Function.prototype; 3827var nameRE = /^\s*function ([^ (]*)/; 3828var NAME = 'name'; 3829 3830// 19.2.4.2 name 3831NAME in FProto || _dereq_(58) && dP(FProto, NAME, { 3832 configurable: true, 3833 get: function () { 3834 try { 3835 return ('' + this).match(nameRE)[1]; 3836 } catch (e) { 3837 return ''; 3838 } 3839 } 3840}); 3841 3842},{"58":58,"99":99}],183:[function(_dereq_,module,exports){ 3843'use strict'; 3844var strong = _dereq_(49); 3845var validate = _dereq_(149); 3846var MAP = 'Map'; 3847 3848// 23.1 Map Objects 3849module.exports = _dereq_(51)(MAP, function (get) { 3850 return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; 3851}, { 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; 3856 }, 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); 3860 } 3861}, strong, true); 3862 3863},{"149":149,"49":49,"51":51}],184:[function(_dereq_,module,exports){ 3864// 20.2.2.3 Math.acosh(x) 3865var $export = _dereq_(62); 3866var log1p = _dereq_(92); 3867var sqrt = Math.sqrt; 3868var $acosh = Math.acosh; 3869 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 3875), 'Math', { 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)); 3880 } 3881}); 3882 3883},{"62":62,"92":92}],185:[function(_dereq_,module,exports){ 3884// 20.2.2.5 Math.asinh(x) 3885var $export = _dereq_(62); 3886var $asinh = Math.asinh; 3887 3888function asinh(x) { 3889 return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1)); 3890} 3891 3892// Tor Browser bug: Math.asinh(0) -> -0 3893$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh }); 3894 3895},{"62":62}],186:[function(_dereq_,module,exports){ 3896// 20.2.2.7 Math.atanh(x) 3897var $export = _dereq_(62); 3898var $atanh = Math.atanh; 3899 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; 3904 } 3905}); 3906 3907},{"62":62}],187:[function(_dereq_,module,exports){ 3908// 20.2.2.9 Math.cbrt(x) 3909var $export = _dereq_(62); 3910var sign = _dereq_(93); 3911 3912$export($export.S, 'Math', { 3913 cbrt: function cbrt(x) { 3914 return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3); 3915 } 3916}); 3917 3918},{"62":62,"93":93}],188:[function(_dereq_,module,exports){ 3919// 20.2.2.11 Math.clz32(x) 3920var $export = _dereq_(62); 3921 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; 3925 } 3926}); 3927 3928},{"62":62}],189:[function(_dereq_,module,exports){ 3929// 20.2.2.12 Math.cosh(x) 3930var $export = _dereq_(62); 3931var exp = Math.exp; 3932 3933$export($export.S, 'Math', { 3934 cosh: function cosh(x) { 3935 return (exp(x = +x) + exp(-x)) / 2; 3936 } 3937}); 3938 3939},{"62":62}],190:[function(_dereq_,module,exports){ 3940// 20.2.2.14 Math.expm1(x) 3941var $export = _dereq_(62); 3942var $expm1 = _dereq_(90); 3943 3944$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 }); 3945 3946},{"62":62,"90":90}],191:[function(_dereq_,module,exports){ 3947// 20.2.2.16 Math.fround(x) 3948var $export = _dereq_(62); 3949 3950$export($export.S, 'Math', { fround: _dereq_(91) }); 3951 3952},{"62":62,"91":91}],192:[function(_dereq_,module,exports){ 3953// 20.2.2.17 Math.hypot([value1[, value2[, … ]]]) 3954var $export = _dereq_(62); 3955var abs = Math.abs; 3956 3957$export($export.S, 'Math', { 3958 hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars 3959 var sum = 0; 3960 var i = 0; 3961 var aLen = arguments.length; 3962 var larg = 0; 3963 var arg, div; 3964 while (i < aLen) { 3965 arg = abs(arguments[i++]); 3966 if (larg < arg) { 3967 div = larg / arg; 3968 sum = sum * div * div + 1; 3969 larg = arg; 3970 } else if (arg > 0) { 3971 div = arg / larg; 3972 sum += div * div; 3973 } else sum += arg; 3974 } 3975 return larg === Infinity ? Infinity : larg * Math.sqrt(sum); 3976 } 3977}); 3978 3979},{"62":62}],193:[function(_dereq_,module,exports){ 3980// 20.2.2.18 Math.imul(x, y) 3981var $export = _dereq_(62); 3982var $imul = Math.imul; 3983 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; 3987}), 'Math', { 3988 imul: function imul(x, y) { 3989 var UINT16 = 0xffff; 3990 var xn = +x; 3991 var yn = +y; 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); 3995 } 3996}); 3997 3998},{"62":62,"64":64}],194:[function(_dereq_,module,exports){ 3999// 20.2.2.21 Math.log10(x) 4000var $export = _dereq_(62); 4001 4002$export($export.S, 'Math', { 4003 log10: function log10(x) { 4004 return Math.log(x) * Math.LOG10E; 4005 } 4006}); 4007 4008},{"62":62}],195:[function(_dereq_,module,exports){ 4009// 20.2.2.20 Math.log1p(x) 4010var $export = _dereq_(62); 4011 4012$export($export.S, 'Math', { log1p: _dereq_(92) }); 4013 4014},{"62":62,"92":92}],196:[function(_dereq_,module,exports){ 4015// 20.2.2.22 Math.log2(x) 4016var $export = _dereq_(62); 4017 4018$export($export.S, 'Math', { 4019 log2: function log2(x) { 4020 return Math.log(x) / Math.LN2; 4021 } 4022}); 4023 4024},{"62":62}],197:[function(_dereq_,module,exports){ 4025// 20.2.2.28 Math.sign(x) 4026var $export = _dereq_(62); 4027 4028$export($export.S, 'Math', { sign: _dereq_(93) }); 4029 4030},{"62":62,"93":93}],198:[function(_dereq_,module,exports){ 4031// 20.2.2.30 Math.sinh(x) 4032var $export = _dereq_(62); 4033var expm1 = _dereq_(90); 4034var exp = Math.exp; 4035 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; 4039}), 'Math', { 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); 4044 } 4045}); 4046 4047},{"62":62,"64":64,"90":90}],199:[function(_dereq_,module,exports){ 4048// 20.2.2.33 Math.tanh(x) 4049var $export = _dereq_(62); 4050var expm1 = _dereq_(90); 4051var exp = Math.exp; 4052 4053$export($export.S, 'Math', { 4054 tanh: function tanh(x) { 4055 var a = expm1(x = +x); 4056 var b = expm1(-x); 4057 return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x)); 4058 } 4059}); 4060 4061},{"62":62,"90":90}],200:[function(_dereq_,module,exports){ 4062// 20.2.2.34 Math.trunc(x) 4063var $export = _dereq_(62); 4064 4065$export($export.S, 'Math', { 4066 trunc: function trunc(it) { 4067 return (it > 0 ? Math.floor : Math.ceil)(it); 4068 } 4069}); 4070 4071},{"62":62}],201:[function(_dereq_,module,exports){ 4072'use strict'; 4073var global = _dereq_(70); 4074var has = _dereq_(71); 4075var cof = _dereq_(48); 4076var inheritIfRequired = _dereq_(75); 4077var toPrimitive = _dereq_(143); 4078var fails = _dereq_(64); 4079var gOPN = _dereq_(103).f; 4080var gOPD = _dereq_(101).f; 4081var dP = _dereq_(99).f; 4082var $trim = _dereq_(134).trim; 4083var NUMBER = 'Number'; 4084var $Number = global[NUMBER]; 4085var Base = $Number; 4086var proto = $Number.prototype; 4087// Opera ~12 has broken Object#toString 4088var BROKEN_COF = cof(_dereq_(98)(proto)) == NUMBER; 4089var TRIM = 'trim' in String.prototype; 4090 4091// 7.1.3 ToNumber(argument) 4092var 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; 4106 } 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); 4113 } 4114 } return +it; 4115}; 4116 4117if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) { 4118 $Number = function Number(value) { 4119 var it = arguments.length < 1 ? 0 : value; 4120 var that = this; 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); 4125 }; 4126 for (var keys = _dereq_(58) ? gOPN(Base) : ( 4127 // ES3: 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)); 4135 } 4136 } 4137 $Number.prototype = proto; 4138 proto.constructor = $Number; 4139 _dereq_(118)(global, NUMBER, $Number); 4140} 4141 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 4144var $export = _dereq_(62); 4145 4146$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) }); 4147 4148},{"62":62}],203:[function(_dereq_,module,exports){ 4149// 20.1.2.2 Number.isFinite(number) 4150var $export = _dereq_(62); 4151var _isFinite = _dereq_(70).isFinite; 4152 4153$export($export.S, 'Number', { 4154 isFinite: function isFinite(it) { 4155 return typeof it == 'number' && _isFinite(it); 4156 } 4157}); 4158 4159},{"62":62,"70":70}],204:[function(_dereq_,module,exports){ 4160// 20.1.2.3 Number.isInteger(number) 4161var $export = _dereq_(62); 4162 4163$export($export.S, 'Number', { isInteger: _dereq_(80) }); 4164 4165},{"62":62,"80":80}],205:[function(_dereq_,module,exports){ 4166// 20.1.2.4 Number.isNaN(number) 4167var $export = _dereq_(62); 4168 4169$export($export.S, 'Number', { 4170 isNaN: function isNaN(number) { 4171 // eslint-disable-next-line no-self-compare 4172 return number != number; 4173 } 4174}); 4175 4176},{"62":62}],206:[function(_dereq_,module,exports){ 4177// 20.1.2.5 Number.isSafeInteger(number) 4178var $export = _dereq_(62); 4179var isInteger = _dereq_(80); 4180var abs = Math.abs; 4181 4182$export($export.S, 'Number', { 4183 isSafeInteger: function isSafeInteger(number) { 4184 return isInteger(number) && abs(number) <= 0x1fffffffffffff; 4185 } 4186}); 4187 4188},{"62":62,"80":80}],207:[function(_dereq_,module,exports){ 4189// 20.1.2.6 Number.MAX_SAFE_INTEGER 4190var $export = _dereq_(62); 4191 4192$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff }); 4193 4194},{"62":62}],208:[function(_dereq_,module,exports){ 4195// 20.1.2.10 Number.MIN_SAFE_INTEGER 4196var $export = _dereq_(62); 4197 4198$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff }); 4199 4200},{"62":62}],209:[function(_dereq_,module,exports){ 4201var $export = _dereq_(62); 4202var $parseFloat = _dereq_(112); 4203// 20.1.2.12 Number.parseFloat(string) 4204$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat }); 4205 4206},{"112":112,"62":62}],210:[function(_dereq_,module,exports){ 4207var $export = _dereq_(62); 4208var $parseInt = _dereq_(113); 4209// 20.1.2.13 Number.parseInt(string, radix) 4210$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt }); 4211 4212},{"113":113,"62":62}],211:[function(_dereq_,module,exports){ 4213'use strict'; 4214var $export = _dereq_(62); 4215var toInteger = _dereq_(139); 4216var aNumberValue = _dereq_(34); 4217var repeat = _dereq_(133); 4218var $toFixed = 1.0.toFixed; 4219var floor = Math.floor; 4220var data = [0, 0, 0, 0, 0, 0]; 4221var ERROR = 'Number.toFixed: incorrect invocation!'; 4222var ZERO = '0'; 4223 4224var multiply = function (n, c) { 4225 var i = -1; 4226 var c2 = c; 4227 while (++i < 6) { 4228 c2 += n * data[i]; 4229 data[i] = c2 % 1e7; 4230 c2 = floor(c2 / 1e7); 4231 } 4232}; 4233var divide = function (n) { 4234 var i = 6; 4235 var c = 0; 4236 while (--i >= 0) { 4237 c += data[i]; 4238 data[i] = floor(c / n); 4239 c = (c % n) * 1e7; 4240 } 4241}; 4242var numToString = function () { 4243 var i = 6; 4244 var s = ''; 4245 while (--i >= 0) { 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; 4249 } 4250 } return s; 4251}; 4252var 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); 4254}; 4255var log = function (x) { 4256 var n = 0; 4257 var x2 = x; 4258 while (x2 >= 4096) { 4259 n += 12; 4260 x2 /= 4096; 4261 } 4262 while (x2 >= 2) { 4263 n += 1; 4264 x2 /= 2; 4265 } return n; 4266}; 4267 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- 4275 $toFixed.call({}); 4276})), 'Number', { 4277 toFixed: function toFixed(fractionDigits) { 4278 var x = aNumberValue(this, ERROR); 4279 var f = toInteger(fractionDigits); 4280 var s = ''; 4281 var m = ZERO; 4282 var e, z, j, k; 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); 4287 if (x < 0) { 4288 s = '-'; 4289 x = -x; 4290 } 4291 if (x > 1e-21) { 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; 4295 e = 52 - e; 4296 if (e > 0) { 4297 multiply(0, z); 4298 j = f; 4299 while (j >= 7) { 4300 multiply(1e7, 0); 4301 j -= 7; 4302 } 4303 multiply(pow(10, j, 1), 0); 4304 j = e - 1; 4305 while (j >= 23) { 4306 divide(1 << 23); 4307 j -= 23; 4308 } 4309 divide(1 << j); 4310 multiply(1, 1); 4311 divide(2); 4312 m = numToString(); 4313 } else { 4314 multiply(0, z); 4315 multiply(1 << -e, 0); 4316 m = numToString() + repeat.call(ZERO, f); 4317 } 4318 } 4319 if (f > 0) { 4320 k = m.length; 4321 m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f)); 4322 } else { 4323 m = s + m; 4324 } return m; 4325 } 4326}); 4327 4328},{"133":133,"139":139,"34":34,"62":62,"64":64}],212:[function(_dereq_,module,exports){ 4329'use strict'; 4330var $export = _dereq_(62); 4331var $fails = _dereq_(64); 4332var aNumberValue = _dereq_(34); 4333var $toPrecision = 1.0.toPrecision; 4334 4335$export($export.P + $export.F * ($fails(function () { 4336 // IE7- 4337 return $toPrecision.call(1, undefined) !== '1'; 4338}) || !$fails(function () { 4339 // V8 ~ Android 4.3- 4340 $toPrecision.call({}); 4341})), 'Number', { 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); 4345 } 4346}); 4347 4348},{"34":34,"62":62,"64":64}],213:[function(_dereq_,module,exports){ 4349// 19.1.3.1 Object.assign(target, source) 4350var $export = _dereq_(62); 4351 4352$export($export.S + $export.F, 'Object', { assign: _dereq_(97) }); 4353 4354},{"62":62,"97":97}],214:[function(_dereq_,module,exports){ 4355var $export = _dereq_(62); 4356// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) 4357$export($export.S, 'Object', { create: _dereq_(98) }); 4358 4359},{"62":62,"98":98}],215:[function(_dereq_,module,exports){ 4360var $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) }); 4363 4364},{"100":100,"58":58,"62":62}],216:[function(_dereq_,module,exports){ 4365var $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 }); 4368 4369},{"58":58,"62":62,"99":99}],217:[function(_dereq_,module,exports){ 4370// 19.1.2.5 Object.freeze(O) 4371var isObject = _dereq_(81); 4372var meta = _dereq_(94).onFreeze; 4373 4374_dereq_(109)('freeze', function ($freeze) { 4375 return function freeze(it) { 4376 return $freeze && isObject(it) ? $freeze(meta(it)) : it; 4377 }; 4378}); 4379 4380},{"109":109,"81":81,"94":94}],218:[function(_dereq_,module,exports){ 4381// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) 4382var toIObject = _dereq_(140); 4383var $getOwnPropertyDescriptor = _dereq_(101).f; 4384 4385_dereq_(109)('getOwnPropertyDescriptor', function () { 4386 return function getOwnPropertyDescriptor(it, key) { 4387 return $getOwnPropertyDescriptor(toIObject(it), key); 4388 }; 4389}); 4390 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; 4395}); 4396 4397},{"102":102,"109":109}],220:[function(_dereq_,module,exports){ 4398// 19.1.2.9 Object.getPrototypeOf(O) 4399var toObject = _dereq_(142); 4400var $getPrototypeOf = _dereq_(105); 4401 4402_dereq_(109)('getPrototypeOf', function () { 4403 return function getPrototypeOf(it) { 4404 return $getPrototypeOf(toObject(it)); 4405 }; 4406}); 4407 4408},{"105":105,"109":109,"142":142}],221:[function(_dereq_,module,exports){ 4409// 19.1.2.11 Object.isExtensible(O) 4410var isObject = _dereq_(81); 4411 4412_dereq_(109)('isExtensible', function ($isExtensible) { 4413 return function isExtensible(it) { 4414 return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false; 4415 }; 4416}); 4417 4418},{"109":109,"81":81}],222:[function(_dereq_,module,exports){ 4419// 19.1.2.12 Object.isFrozen(O) 4420var isObject = _dereq_(81); 4421 4422_dereq_(109)('isFrozen', function ($isFrozen) { 4423 return function isFrozen(it) { 4424 return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true; 4425 }; 4426}); 4427 4428},{"109":109,"81":81}],223:[function(_dereq_,module,exports){ 4429// 19.1.2.13 Object.isSealed(O) 4430var isObject = _dereq_(81); 4431 4432_dereq_(109)('isSealed', function ($isSealed) { 4433 return function isSealed(it) { 4434 return isObject(it) ? $isSealed ? $isSealed(it) : false : true; 4435 }; 4436}); 4437 4438},{"109":109,"81":81}],224:[function(_dereq_,module,exports){ 4439// 19.1.3.10 Object.is(value1, value2) 4440var $export = _dereq_(62); 4441$export($export.S, 'Object', { is: _dereq_(121) }); 4442 4443},{"121":121,"62":62}],225:[function(_dereq_,module,exports){ 4444// 19.1.2.14 Object.keys(O) 4445var toObject = _dereq_(142); 4446var $keys = _dereq_(107); 4447 4448_dereq_(109)('keys', function () { 4449 return function keys(it) { 4450 return $keys(toObject(it)); 4451 }; 4452}); 4453 4454},{"107":107,"109":109,"142":142}],226:[function(_dereq_,module,exports){ 4455// 19.1.2.15 Object.preventExtensions(O) 4456var isObject = _dereq_(81); 4457var meta = _dereq_(94).onFreeze; 4458 4459_dereq_(109)('preventExtensions', function ($preventExtensions) { 4460 return function preventExtensions(it) { 4461 return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it; 4462 }; 4463}); 4464 4465},{"109":109,"81":81,"94":94}],227:[function(_dereq_,module,exports){ 4466// 19.1.2.17 Object.seal(O) 4467var isObject = _dereq_(81); 4468var meta = _dereq_(94).onFreeze; 4469 4470_dereq_(109)('seal', function ($seal) { 4471 return function seal(it) { 4472 return $seal && isObject(it) ? $seal(meta(it)) : it; 4473 }; 4474}); 4475 4476},{"109":109,"81":81,"94":94}],228:[function(_dereq_,module,exports){ 4477// 19.1.3.19 Object.setPrototypeOf(O, proto) 4478var $export = _dereq_(62); 4479$export($export.S, 'Object', { setPrototypeOf: _dereq_(122).set }); 4480 4481},{"122":122,"62":62}],229:[function(_dereq_,module,exports){ 4482'use strict'; 4483// 19.1.3.6 Object.prototype.toString() 4484var classof = _dereq_(47); 4485var test = {}; 4486test[_dereq_(152)('toStringTag')] = 'z'; 4487if (test + '' != '[object z]') { 4488 _dereq_(118)(Object.prototype, 'toString', function toString() { 4489 return '[object ' + classof(this) + ']'; 4490 }, true); 4491} 4492 4493},{"118":118,"152":152,"47":47}],230:[function(_dereq_,module,exports){ 4494var $export = _dereq_(62); 4495var $parseFloat = _dereq_(112); 4496// 18.2.4 parseFloat(string) 4497$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat }); 4498 4499},{"112":112,"62":62}],231:[function(_dereq_,module,exports){ 4500var $export = _dereq_(62); 4501var $parseInt = _dereq_(113); 4502// 18.2.5 parseInt(string, radix) 4503$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); 4504 4505},{"113":113,"62":62}],232:[function(_dereq_,module,exports){ 4506'use strict'; 4507var LIBRARY = _dereq_(89); 4508var global = _dereq_(70); 4509var ctx = _dereq_(54); 4510var classof = _dereq_(47); 4511var $export = _dereq_(62); 4512var isObject = _dereq_(81); 4513var aFunction = _dereq_(33); 4514var anInstance = _dereq_(37); 4515var forOf = _dereq_(68); 4516var speciesConstructor = _dereq_(127); 4517var task = _dereq_(136).set; 4518var microtask = _dereq_(95)(); 4519var newPromiseCapabilityModule = _dereq_(96); 4520var perform = _dereq_(114); 4521var userAgent = _dereq_(148); 4522var promiseResolve = _dereq_(115); 4523var PROMISE = 'Promise'; 4524var TypeError = global.TypeError; 4525var process = global.process; 4526var versions = process && process.versions; 4527var v8 = versions && versions.v8 || ''; 4528var $Promise = global[PROMISE]; 4529var isNode = classof(process) == 'process'; 4530var empty = function () { /* empty */ }; 4531var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; 4532var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; 4533 4534var USE_NATIVE = !!function () { 4535 try { 4536 // correct subclassing with @@species support 4537 var promise = $Promise.resolve(1); 4538 var FakePromise = (promise.constructor = {})[_dereq_(152)('species')] = function (exec) { 4539 exec(empty, empty); 4540 }; 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 */ } 4550}(); 4551 4552// helpers 4553var isThenable = function (it) { 4554 var then; 4555 return isObject(it) && typeof (then = it.then) == 'function' ? then : false; 4556}; 4557var notify = function (promise, isReject) { 4558 if (promise._n) return; 4559 promise._n = true; 4560 var chain = promise._c; 4561 microtask(function () { 4562 var value = promise._v; 4563 var ok = promise._s == 1; 4564 var i = 0; 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; 4571 try { 4572 if (handler) { 4573 if (!ok) { 4574 if (promise._h == 2) onHandleUnhandled(promise); 4575 promise._h = 1; 4576 } 4577 if (handler === true) result = value; 4578 else { 4579 if (domain) domain.enter(); 4580 result = handler(value); // may throw 4581 if (domain) { 4582 domain.exit(); 4583 exited = true; 4584 } 4585 } 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); 4592 } catch (e) { 4593 if (domain && !exited) domain.exit(); 4594 reject(e); 4595 } 4596 }; 4597 while (chain.length > i) run(chain[i++]); // variable length - can't use forEach 4598 promise._c = []; 4599 promise._n = false; 4600 if (isReject && !promise._h) onUnhandled(promise); 4601 }); 4602}; 4603var onUnhandled = function (promise) { 4604 task.call(global, function () { 4605 var value = promise._v; 4606 var unhandled = isUnhandled(promise); 4607 var result, handler, console; 4608 if (unhandled) { 4609 result = perform(function () { 4610 if (isNode) { 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); 4616 } 4617 }); 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; 4622 }); 4623}; 4624var isUnhandled = function (promise) { 4625 return promise._h !== 1 && (promise._a || promise._c).length === 0; 4626}; 4627var onHandleUnhandled = function (promise) { 4628 task.call(global, function () { 4629 var handler; 4630 if (isNode) { 4631 process.emit('rejectionHandled', promise); 4632 } else if (handler = global.onrejectionhandled) { 4633 handler({ promise: promise, reason: promise._v }); 4634 } 4635 }); 4636}; 4637var $reject = function (value) { 4638 var promise = this; 4639 if (promise._d) return; 4640 promise._d = true; 4641 promise = promise._w || promise; // unwrap 4642 promise._v = value; 4643 promise._s = 2; 4644 if (!promise._a) promise._a = promise._c.slice(); 4645 notify(promise, true); 4646}; 4647var $resolve = function (value) { 4648 var promise = this; 4649 var then; 4650 if (promise._d) return; 4651 promise._d = true; 4652 promise = promise._w || promise; // unwrap 4653 try { 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 4658 try { 4659 then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); 4660 } catch (e) { 4661 $reject.call(wrapper, e); 4662 } 4663 }); 4664 } else { 4665 promise._v = value; 4666 promise._s = 1; 4667 notify(promise, false); 4668 } 4669 } catch (e) { 4670 $reject.call({ _w: promise, _d: false }, e); // wrap 4671 } 4672}; 4673 4674// constructor polyfill 4675if (!USE_NATIVE) { 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); 4681 try { 4682 executor(ctx($resolve, this, 1), ctx($reject, this, 1)); 4683 } catch (err) { 4684 $reject.call(this, err); 4685 } 4686 }; 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 4696 }; 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; 4708 }, 4709 // 25.4.5.1 Promise.prototype.catch(onRejected) 4710 'catch': function (onRejected) { 4711 return this.then(undefined, onRejected); 4712 } 4713 }); 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); 4719 }; 4720 newPromiseCapabilityModule.f = newPromiseCapability = function (C) { 4721 return C === $Promise || C === Wrapper 4722 ? new OwnPromiseCapability(C) 4723 : newGenericPromiseCapability(C); 4724 }; 4725} 4726 4727$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); 4728_dereq_(124)($Promise, PROMISE); 4729_dereq_(123)(PROMISE); 4730Wrapper = _dereq_(52)[PROMISE]; 4731 4732// statics 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; 4738 $$reject(r); 4739 return capability.promise; 4740 } 4741}); 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); 4746 } 4747}); 4748$export($export.S + $export.F * !(USE_NATIVE && _dereq_(86)(function (iter) { 4749 $Promise.all(iter)['catch'](empty); 4750})), PROMISE, { 4751 // 25.4.4.1 Promise.all(iterable) 4752 all: function all(iterable) { 4753 var C = this; 4754 var capability = newPromiseCapability(C); 4755 var resolve = capability.resolve; 4756 var reject = capability.reject; 4757 var result = perform(function () { 4758 var values = []; 4759 var index = 0; 4760 var remaining = 1; 4761 forOf(iterable, false, function (promise) { 4762 var $index = index++; 4763 var alreadyCalled = false; 4764 values.push(undefined); 4765 remaining++; 4766 C.resolve(promise).then(function (value) { 4767 if (alreadyCalled) return; 4768 alreadyCalled = true; 4769 values[$index] = value; 4770 --remaining || resolve(values); 4771 }, reject); 4772 }); 4773 --remaining || resolve(values); 4774 }); 4775 if (result.e) reject(result.v); 4776 return capability.promise; 4777 }, 4778 // 25.4.4.4 Promise.race(iterable) 4779 race: function race(iterable) { 4780 var C = this; 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); 4786 }); 4787 }); 4788 if (result.e) reject(result.v); 4789 return capability.promise; 4790 } 4791}); 4792 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) 4795var $export = _dereq_(62); 4796var aFunction = _dereq_(33); 4797var anObject = _dereq_(38); 4798var rApply = (_dereq_(70).Reflect || {}).apply; 4799var fApply = Function.apply; 4800// MS Edge argumentsList argument is optional 4801$export($export.S + $export.F * !_dereq_(64)(function () { 4802 rApply(function () { /* empty */ }); 4803}), 'Reflect', { 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); 4808 } 4809}); 4810 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]) 4813var $export = _dereq_(62); 4814var create = _dereq_(98); 4815var aFunction = _dereq_(33); 4816var anObject = _dereq_(38); 4817var isObject = _dereq_(81); 4818var fails = _dereq_(64); 4819var bind = _dereq_(46); 4820var rConstruct = (_dereq_(70).Reflect || {}).construct; 4821 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 4824var NEW_TARGET_BUG = fails(function () { 4825 function F() { /* empty */ } 4826 return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); 4827}); 4828var ARGS_BUG = !fails(function () { 4829 rConstruct(function () { /* empty */ }); 4830}); 4831 4832$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { 4833 construct: function construct(Target, args /* , newTarget */) { 4834 aFunction(Target); 4835 anObject(args); 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]); 4846 } 4847 // w/o altered newTarget, lot of arguments case 4848 var $args = [null]; 4849 $args.push.apply($args, args); 4850 return new (bind.apply(Target, $args))(); 4851 } 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; 4857 } 4858}); 4859 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) 4862var dP = _dereq_(99); 4863var $export = _dereq_(62); 4864var anObject = _dereq_(38); 4865var toPrimitive = _dereq_(143); 4866 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 }); 4871}), 'Reflect', { 4872 defineProperty: function defineProperty(target, propertyKey, attributes) { 4873 anObject(target); 4874 propertyKey = toPrimitive(propertyKey, true); 4875 anObject(attributes); 4876 try { 4877 dP.f(target, propertyKey, attributes); 4878 return true; 4879 } catch (e) { 4880 return false; 4881 } 4882 } 4883}); 4884 4885},{"143":143,"38":38,"62":62,"64":64,"99":99}],236:[function(_dereq_,module,exports){ 4886// 26.1.4 Reflect.deleteProperty(target, propertyKey) 4887var $export = _dereq_(62); 4888var gOPD = _dereq_(101).f; 4889var anObject = _dereq_(38); 4890 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]; 4895 } 4896}); 4897 4898},{"101":101,"38":38,"62":62}],237:[function(_dereq_,module,exports){ 4899'use strict'; 4900// 26.1.5 Reflect.enumerate(target) 4901var $export = _dereq_(62); 4902var anObject = _dereq_(38); 4903var Enumerate = function (iterated) { 4904 this._t = anObject(iterated); // target 4905 this._i = 0; // next index 4906 var keys = this._k = []; // keys 4907 var key; 4908 for (key in iterated) keys.push(key); 4909}; 4910_dereq_(84)(Enumerate, 'Object', function () { 4911 var that = this; 4912 var keys = that._k; 4913 var key; 4914 do { 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 }; 4918}); 4919 4920$export($export.S, 'Reflect', { 4921 enumerate: function enumerate(target) { 4922 return new Enumerate(target); 4923 } 4924}); 4925 4926},{"38":38,"62":62,"84":84}],238:[function(_dereq_,module,exports){ 4927// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) 4928var gOPD = _dereq_(101); 4929var $export = _dereq_(62); 4930var anObject = _dereq_(38); 4931 4932$export($export.S, 'Reflect', { 4933 getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { 4934 return gOPD.f(anObject(target), propertyKey); 4935 } 4936}); 4937 4938},{"101":101,"38":38,"62":62}],239:[function(_dereq_,module,exports){ 4939// 26.1.8 Reflect.getPrototypeOf(target) 4940var $export = _dereq_(62); 4941var getProto = _dereq_(105); 4942var anObject = _dereq_(38); 4943 4944$export($export.S, 'Reflect', { 4945 getPrototypeOf: function getPrototypeOf(target) { 4946 return getProto(anObject(target)); 4947 } 4948}); 4949 4950},{"105":105,"38":38,"62":62}],240:[function(_dereq_,module,exports){ 4951// 26.1.6 Reflect.get(target, propertyKey [, receiver]) 4952var gOPD = _dereq_(101); 4953var getPrototypeOf = _dereq_(105); 4954var has = _dereq_(71); 4955var $export = _dereq_(62); 4956var isObject = _dereq_(81); 4957var anObject = _dereq_(38); 4958 4959function get(target, propertyKey /* , receiver */) { 4960 var receiver = arguments.length < 3 ? target : arguments[2]; 4961 var desc, proto; 4962 if (anObject(target) === receiver) return target[propertyKey]; 4963 if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') 4964 ? desc.value 4965 : desc.get !== undefined 4966 ? desc.get.call(receiver) 4967 : undefined; 4968 if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); 4969} 4970 4971$export($export.S, 'Reflect', { get: get }); 4972 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) 4975var $export = _dereq_(62); 4976 4977$export($export.S, 'Reflect', { 4978 has: function has(target, propertyKey) { 4979 return propertyKey in target; 4980 } 4981}); 4982 4983},{"62":62}],242:[function(_dereq_,module,exports){ 4984// 26.1.10 Reflect.isExtensible(target) 4985var $export = _dereq_(62); 4986var anObject = _dereq_(38); 4987var $isExtensible = Object.isExtensible; 4988 4989$export($export.S, 'Reflect', { 4990 isExtensible: function isExtensible(target) { 4991 anObject(target); 4992 return $isExtensible ? $isExtensible(target) : true; 4993 } 4994}); 4995 4996},{"38":38,"62":62}],243:[function(_dereq_,module,exports){ 4997// 26.1.11 Reflect.ownKeys(target) 4998var $export = _dereq_(62); 4999 5000$export($export.S, 'Reflect', { ownKeys: _dereq_(111) }); 5001 5002},{"111":111,"62":62}],244:[function(_dereq_,module,exports){ 5003// 26.1.12 Reflect.preventExtensions(target) 5004var $export = _dereq_(62); 5005var anObject = _dereq_(38); 5006var $preventExtensions = Object.preventExtensions; 5007 5008$export($export.S, 'Reflect', { 5009 preventExtensions: function preventExtensions(target) { 5010 anObject(target); 5011 try { 5012 if ($preventExtensions) $preventExtensions(target); 5013 return true; 5014 } catch (e) { 5015 return false; 5016 } 5017 } 5018}); 5019 5020},{"38":38,"62":62}],245:[function(_dereq_,module,exports){ 5021// 26.1.14 Reflect.setPrototypeOf(target, proto) 5022var $export = _dereq_(62); 5023var setProto = _dereq_(122); 5024 5025if (setProto) $export($export.S, 'Reflect', { 5026 setPrototypeOf: function setPrototypeOf(target, proto) { 5027 setProto.check(target, proto); 5028 try { 5029 setProto.set(target, proto); 5030 return true; 5031 } catch (e) { 5032 return false; 5033 } 5034 } 5035}); 5036 5037},{"122":122,"62":62}],246:[function(_dereq_,module,exports){ 5038// 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) 5039var dP = _dereq_(99); 5040var gOPD = _dereq_(101); 5041var getPrototypeOf = _dereq_(105); 5042var has = _dereq_(71); 5043var $export = _dereq_(62); 5044var createDesc = _dereq_(116); 5045var anObject = _dereq_(38); 5046var isObject = _dereq_(81); 5047 5048function 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; 5052 if (!ownDesc) { 5053 if (isObject(proto = getPrototypeOf(target))) { 5054 return set(proto, propertyKey, V, receiver); 5055 } 5056 ownDesc = createDesc(0); 5057 } 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)); 5065 return true; 5066 } 5067 return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true); 5068} 5069 5070$export($export.S, 'Reflect', { set: set }); 5071 5072},{"101":101,"105":105,"116":116,"38":38,"62":62,"71":71,"81":81,"99":99}],247:[function(_dereq_,module,exports){ 5073var global = _dereq_(70); 5074var inheritIfRequired = _dereq_(75); 5075var dP = _dereq_(99).f; 5076var gOPN = _dereq_(103).f; 5077var isRegExp = _dereq_(82); 5078var $flags = _dereq_(66); 5079var $RegExp = global.RegExp; 5080var Base = $RegExp; 5081var proto = $RegExp.prototype; 5082var re1 = /a/g; 5083var re2 = /a/g; 5084// "new" creates a new object, old webkit buggy here 5085var CORRECT_NEW = new $RegExp(re1) !== re1; 5086 5087if (_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'; 5091}))) { 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); 5101 }; 5102 var proxy = function (key) { 5103 key in $RegExp || dP($RegExp, key, { 5104 configurable: true, 5105 get: function () { return Base[key]; }, 5106 set: function (it) { Base[key] = it; } 5107 }); 5108 }; 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); 5113} 5114 5115_dereq_(123)('RegExp'); 5116 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){ 5118'use strict'; 5119var regexpExec = _dereq_(120); 5120_dereq_(62)({ 5121 target: 'RegExp', 5122 proto: true, 5123 forced: regexpExec !== /./.exec 5124}, { 5125 exec: regexpExec 5126}); 5127 5128},{"120":120,"62":62}],249:[function(_dereq_,module,exports){ 5129// 21.2.5.3 get RegExp.prototype.flags() 5130if (_dereq_(58) && /./g.flags != 'g') _dereq_(99).f(RegExp.prototype, 'flags', { 5131 configurable: true, 5132 get: _dereq_(66) 5133}); 5134 5135},{"58":58,"66":66,"99":99}],250:[function(_dereq_,module,exports){ 5136'use strict'; 5137 5138var anObject = _dereq_(38); 5139var toLength = _dereq_(141); 5140var advanceStringIndex = _dereq_(36); 5141var regExpExec = _dereq_(119); 5142 5143// @@match logic 5144_dereq_(65)('match', 1, function (defined, MATCH, $match, maybeCallNative) { 5145 return [ 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)); 5152 }, 5153 // `RegExp.prototype[@@match]` method 5154 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match 5155 function (regexp) { 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; 5162 rx.lastIndex = 0; 5163 var A = []; 5164 var n = 0; 5165 var result; 5166 while ((result = regExpExec(rx, S)) !== null) { 5167 var matchStr = String(result[0]); 5168 A[n] = matchStr; 5169 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); 5170 n++; 5171 } 5172 return n === 0 ? null : A; 5173 } 5174 ]; 5175}); 5176 5177},{"119":119,"141":141,"36":36,"38":38,"65":65}],251:[function(_dereq_,module,exports){ 5178'use strict'; 5179 5180var anObject = _dereq_(38); 5181var toObject = _dereq_(142); 5182var toLength = _dereq_(141); 5183var toInteger = _dereq_(139); 5184var advanceStringIndex = _dereq_(36); 5185var regExpExec = _dereq_(119); 5186var max = Math.max; 5187var min = Math.min; 5188var floor = Math.floor; 5189var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; 5190var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; 5191 5192var maybeToString = function (it) { 5193 return it === undefined ? it : String(it); 5194}; 5195 5196// @@replace logic 5197_dereq_(65)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { 5198 return [ 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); 5207 }, 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; 5213 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; 5219 if (global) { 5220 var fullUnicode = rx.unicode; 5221 rx.lastIndex = 0; 5222 } 5223 var results = []; 5224 while (true) { 5225 var result = regExpExec(rx, S); 5226 if (result === null) break; 5227 results.push(result); 5228 if (!global) break; 5229 var matchStr = String(result[0]); 5230 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); 5231 } 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); 5238 var captures = []; 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)); 5250 } else { 5251 replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); 5252 } 5253 if (position >= nextSourcePosition) { 5254 accumulatedResult += S.slice(nextSourcePosition, position) + replacement; 5255 nextSourcePosition = position + matched.length; 5256 } 5257 } 5258 return accumulatedResult + S.slice(nextSourcePosition); 5259 } 5260 ]; 5261 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; 5270 } 5271 return $replace.call(replacement, symbols, function (match, ch) { 5272 var capture; 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); 5278 case '<': 5279 capture = namedCaptures[ch.slice(1, -1)]; 5280 break; 5281 default: // \d\d? 5282 var n = +ch; 5283 if (n === 0) return match; 5284 if (n > m) { 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); 5288 return match; 5289 } 5290 capture = captures[n - 1]; 5291 } 5292 return capture === undefined ? '' : capture; 5293 }); 5294 } 5295}); 5296 5297},{"119":119,"139":139,"141":141,"142":142,"36":36,"38":38,"65":65}],252:[function(_dereq_,module,exports){ 5298'use strict'; 5299 5300var anObject = _dereq_(38); 5301var sameValue = _dereq_(121); 5302var regExpExec = _dereq_(119); 5303 5304// @@search logic 5305_dereq_(65)('search', 1, function (defined, SEARCH, $search, maybeCallNative) { 5306 return [ 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)); 5313 }, 5314 // `RegExp.prototype[@@search]` method 5315 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search 5316 function (regexp) { 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; 5326 } 5327 ]; 5328}); 5329 5330},{"119":119,"121":121,"38":38,"65":65}],253:[function(_dereq_,module,exports){ 5331'use strict'; 5332 5333var isRegExp = _dereq_(82); 5334var anObject = _dereq_(38); 5335var speciesConstructor = _dereq_(127); 5336var advanceStringIndex = _dereq_(36); 5337var toLength = _dereq_(141); 5338var callRegExpExec = _dereq_(119); 5339var regexpExec = _dereq_(120); 5340var fails = _dereq_(64); 5341var $min = Math.min; 5342var $push = [].push; 5343var $SPLIT = 'split'; 5344var LENGTH = 'length'; 5345var LAST_INDEX = 'lastIndex'; 5346var MAX_UINT32 = 0xffffffff; 5347 5348// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError 5349var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); 5350 5351// @@split logic 5352_dereq_(65)('split', 2, function (defined, SPLIT, $split, maybeCallNative) { 5353 var internalSplit; 5354 if ( 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] 5361 ) { 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); 5368 var output = []; 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; 5386 } 5387 if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop 5388 } 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; 5393 }; 5394 // Chakra, V8 5395 } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { 5396 internalSplit = function (separator, limit) { 5397 return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); 5398 }; 5399 } else { 5400 internalSplit = $split; 5401 } 5402 5403 return [ 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); 5412 }, 5413 // `RegExp.prototype[@@split]` method 5414 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split 5415 // 5416 // NOTE: This cannot be properly polyfilled in engines that don't support 5417 // the 'y' flag. 5418 function (regexp, limit) { 5419 var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); 5420 if (res.done) return res.value; 5421 5422 var rx = anObject(regexp); 5423 var S = String(this); 5424 var C = speciesConstructor(rx, RegExp); 5425 5426 var unicodeMatching = rx.unicode; 5427 var flags = (rx.ignoreCase ? 'i' : '') + 5428 (rx.multiline ? 'm' : '') + 5429 (rx.unicode ? 'u' : '') + 5430 (SUPPORTS_Y ? 'y' : 'g'); 5431 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] : []; 5438 var p = 0; 5439 var q = 0; 5440 var A = []; 5441 while (q < S.length) { 5442 splitter.lastIndex = SUPPORTS_Y ? q : 0; 5443 var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); 5444 var e; 5445 if ( 5446 z === null || 5447 (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p 5448 ) { 5449 q = advanceStringIndex(S, q, unicodeMatching); 5450 } else { 5451 A.push(S.slice(p, q)); 5452 if (A.length === lim) return A; 5453 for (var i = 1; i <= z.length - 1; i++) { 5454 A.push(z[i]); 5455 if (A.length === lim) return A; 5456 } 5457 q = p = e; 5458 } 5459 } 5460 A.push(S.slice(p)); 5461 return A; 5462 } 5463 ]; 5464}); 5465 5466},{"119":119,"120":120,"127":127,"141":141,"36":36,"38":38,"64":64,"65":65,"82":82}],254:[function(_dereq_,module,exports){ 5467'use strict'; 5468_dereq_(249); 5469var anObject = _dereq_(38); 5470var $flags = _dereq_(66); 5471var DESCRIPTORS = _dereq_(58); 5472var TO_STRING = 'toString'; 5473var $toString = /./[TO_STRING]; 5474 5475var define = function (fn) { 5476 _dereq_(118)(RegExp.prototype, TO_STRING, fn, true); 5477}; 5478 5479// 21.2.5.14 RegExp.prototype.toString() 5480if (_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); 5485 }); 5486// FF44- RegExp#toString has a wrong name 5487} else if ($toString.name != TO_STRING) { 5488 define(function toString() { 5489 return $toString.call(this); 5490 }); 5491} 5492 5493},{"118":118,"249":249,"38":38,"58":58,"64":64,"66":66}],255:[function(_dereq_,module,exports){ 5494'use strict'; 5495var strong = _dereq_(49); 5496var validate = _dereq_(149); 5497var SET = 'Set'; 5498 5499// 23.2 Set Objects 5500module.exports = _dereq_(51)(SET, function (get) { 5501 return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; 5502}, { 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); 5506 } 5507}, strong); 5508 5509},{"149":149,"49":49,"51":51}],256:[function(_dereq_,module,exports){ 5510'use strict'; 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); 5515 }; 5516}); 5517 5518},{"131":131}],257:[function(_dereq_,module,exports){ 5519'use strict'; 5520// B.2.3.3 String.prototype.big() 5521_dereq_(131)('big', function (createHTML) { 5522 return function big() { 5523 return createHTML(this, 'big', '', ''); 5524 }; 5525}); 5526 5527},{"131":131}],258:[function(_dereq_,module,exports){ 5528'use strict'; 5529// B.2.3.4 String.prototype.blink() 5530_dereq_(131)('blink', function (createHTML) { 5531 return function blink() { 5532 return createHTML(this, 'blink', '', ''); 5533 }; 5534}); 5535 5536},{"131":131}],259:[function(_dereq_,module,exports){ 5537'use strict'; 5538// B.2.3.5 String.prototype.bold() 5539_dereq_(131)('bold', function (createHTML) { 5540 return function bold() { 5541 return createHTML(this, 'b', '', ''); 5542 }; 5543}); 5544 5545},{"131":131}],260:[function(_dereq_,module,exports){ 5546'use strict'; 5547var $export = _dereq_(62); 5548var $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); 5553 } 5554}); 5555 5556},{"129":129,"62":62}],261:[function(_dereq_,module,exports){ 5557// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition]) 5558'use strict'; 5559var $export = _dereq_(62); 5560var toLength = _dereq_(141); 5561var context = _dereq_(130); 5562var ENDS_WITH = 'endsWith'; 5563var $endsWith = ''[ENDS_WITH]; 5564 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); 5572 return $endsWith 5573 ? $endsWith.call(that, search, end) 5574 : that.slice(end - search.length, end) === search; 5575 } 5576}); 5577 5578},{"130":130,"141":141,"62":62,"63":63}],262:[function(_dereq_,module,exports){ 5579'use strict'; 5580// B.2.3.6 String.prototype.fixed() 5581_dereq_(131)('fixed', function (createHTML) { 5582 return function fixed() { 5583 return createHTML(this, 'tt', '', ''); 5584 }; 5585}); 5586 5587},{"131":131}],263:[function(_dereq_,module,exports){ 5588'use strict'; 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); 5593 }; 5594}); 5595 5596},{"131":131}],264:[function(_dereq_,module,exports){ 5597'use strict'; 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); 5602 }; 5603}); 5604 5605},{"131":131}],265:[function(_dereq_,module,exports){ 5606var $export = _dereq_(62); 5607var toAbsoluteIndex = _dereq_(137); 5608var fromCharCode = String.fromCharCode; 5609var $fromCodePoint = String.fromCodePoint; 5610 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 5615 var res = []; 5616 var aLen = arguments.length; 5617 var i = 0; 5618 var code; 5619 while (aLen > i) { 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) 5625 ); 5626 } return res.join(''); 5627 } 5628}); 5629 5630},{"137":137,"62":62}],266:[function(_dereq_,module,exports){ 5631// 21.1.3.7 String.prototype.includes(searchString, position = 0) 5632'use strict'; 5633var $export = _dereq_(62); 5634var context = _dereq_(130); 5635var INCLUDES = 'includes'; 5636 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); 5641 } 5642}); 5643 5644},{"130":130,"62":62,"63":63}],267:[function(_dereq_,module,exports){ 5645'use strict'; 5646// B.2.3.9 String.prototype.italics() 5647_dereq_(131)('italics', function (createHTML) { 5648 return function italics() { 5649 return createHTML(this, 'i', '', ''); 5650 }; 5651}); 5652 5653},{"131":131}],268:[function(_dereq_,module,exports){ 5654'use strict'; 5655var $at = _dereq_(129)(true); 5656 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() 5662}, function () { 5663 var O = this._t; 5664 var index = this._i; 5665 var point; 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 }; 5670}); 5671 5672},{"129":129,"85":85}],269:[function(_dereq_,module,exports){ 5673'use strict'; 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); 5678 }; 5679}); 5680 5681},{"131":131}],270:[function(_dereq_,module,exports){ 5682var $export = _dereq_(62); 5683var toIObject = _dereq_(140); 5684var toLength = _dereq_(141); 5685 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; 5692 var res = []; 5693 var i = 0; 5694 while (len > i) { 5695 res.push(String(tpl[i++])); 5696 if (i < aLen) res.push(String(arguments[i])); 5697 } return res.join(''); 5698 } 5699}); 5700 5701},{"140":140,"141":141,"62":62}],271:[function(_dereq_,module,exports){ 5702var $export = _dereq_(62); 5703 5704$export($export.P, 'String', { 5705 // 21.1.3.13 String.prototype.repeat(count) 5706 repeat: _dereq_(133) 5707}); 5708 5709},{"133":133,"62":62}],272:[function(_dereq_,module,exports){ 5710'use strict'; 5711// B.2.3.11 String.prototype.small() 5712_dereq_(131)('small', function (createHTML) { 5713 return function small() { 5714 return createHTML(this, 'small', '', ''); 5715 }; 5716}); 5717 5718},{"131":131}],273:[function(_dereq_,module,exports){ 5719// 21.1.3.18 String.prototype.startsWith(searchString [, position ]) 5720'use strict'; 5721var $export = _dereq_(62); 5722var toLength = _dereq_(141); 5723var context = _dereq_(130); 5724var STARTS_WITH = 'startsWith'; 5725var $startsWith = ''[STARTS_WITH]; 5726 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); 5732 return $startsWith 5733 ? $startsWith.call(that, search, index) 5734 : that.slice(index, index + search.length) === search; 5735 } 5736}); 5737 5738},{"130":130,"141":141,"62":62,"63":63}],274:[function(_dereq_,module,exports){ 5739'use strict'; 5740// B.2.3.12 String.prototype.strike() 5741_dereq_(131)('strike', function (createHTML) { 5742 return function strike() { 5743 return createHTML(this, 'strike', '', ''); 5744 }; 5745}); 5746 5747},{"131":131}],275:[function(_dereq_,module,exports){ 5748'use strict'; 5749// B.2.3.13 String.prototype.sub() 5750_dereq_(131)('sub', function (createHTML) { 5751 return function sub() { 5752 return createHTML(this, 'sub', '', ''); 5753 }; 5754}); 5755 5756},{"131":131}],276:[function(_dereq_,module,exports){ 5757'use strict'; 5758// B.2.3.14 String.prototype.sup() 5759_dereq_(131)('sup', function (createHTML) { 5760 return function sup() { 5761 return createHTML(this, 'sup', '', ''); 5762 }; 5763}); 5764 5765},{"131":131}],277:[function(_dereq_,module,exports){ 5766'use strict'; 5767// 21.1.3.25 String.prototype.trim() 5768_dereq_(134)('trim', function ($trim) { 5769 return function trim() { 5770 return $trim(this, 3); 5771 }; 5772}); 5773 5774},{"134":134}],278:[function(_dereq_,module,exports){ 5775'use strict'; 5776// ECMAScript 6 symbols shim 5777var global = _dereq_(70); 5778var has = _dereq_(71); 5779var DESCRIPTORS = _dereq_(58); 5780var $export = _dereq_(62); 5781var redefine = _dereq_(118); 5782var META = _dereq_(94).KEY; 5783var $fails = _dereq_(64); 5784var shared = _dereq_(126); 5785var setToStringTag = _dereq_(124); 5786var uid = _dereq_(147); 5787var wks = _dereq_(152); 5788var wksExt = _dereq_(151); 5789var wksDefine = _dereq_(150); 5790var enumKeys = _dereq_(61); 5791var isArray = _dereq_(79); 5792var anObject = _dereq_(38); 5793var isObject = _dereq_(81); 5794var toObject = _dereq_(142); 5795var toIObject = _dereq_(140); 5796var toPrimitive = _dereq_(143); 5797var createDesc = _dereq_(116); 5798var _create = _dereq_(98); 5799var gOPNExt = _dereq_(102); 5800var $GOPD = _dereq_(101); 5801var $GOPS = _dereq_(104); 5802var $DP = _dereq_(99); 5803var $keys = _dereq_(107); 5804var gOPD = $GOPD.f; 5805var dP = $DP.f; 5806var gOPN = gOPNExt.f; 5807var $Symbol = global.Symbol; 5808var $JSON = global.JSON; 5809var _stringify = $JSON && $JSON.stringify; 5810var PROTOTYPE = 'prototype'; 5811var HIDDEN = wks('_hidden'); 5812var TO_PRIMITIVE = wks('toPrimitive'); 5813var isEnum = {}.propertyIsEnumerable; 5814var SymbolRegistry = shared('symbol-registry'); 5815var AllSymbols = shared('symbols'); 5816var OPSymbols = shared('op-symbols'); 5817var ObjectProto = Object[PROTOTYPE]; 5818var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; 5819var QObject = global.QObject; 5820// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 5821var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; 5822 5823// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 5824var setSymbolDesc = DESCRIPTORS && $fails(function () { 5825 return _create(dP({}, 'a', { 5826 get: function () { return dP(this, 'a', { value: 7 }).a; } 5827 })).a != 7; 5828}) ? function (it, key, D) { 5829 var protoDesc = gOPD(ObjectProto, key); 5830 if (protoDesc) delete ObjectProto[key]; 5831 dP(it, key, D); 5832 if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); 5833} : dP; 5834 5835var wrap = function (tag) { 5836 var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); 5837 sym._k = tag; 5838 return sym; 5839}; 5840 5841var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { 5842 return typeof it == 'symbol'; 5843} : function (it) { 5844 return it instanceof $Symbol; 5845}; 5846 5847var $defineProperty = function defineProperty(it, key, D) { 5848 if (it === ObjectProto) $defineProperty(OPSymbols, key, D); 5849 anObject(it); 5850 key = toPrimitive(key, true); 5851 anObject(D); 5852 if (has(AllSymbols, key)) { 5853 if (!D.enumerable) { 5854 if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); 5855 it[HIDDEN][key] = true; 5856 } else { 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); 5861}; 5862var $defineProperties = function defineProperties(it, P) { 5863 anObject(it); 5864 var keys = enumKeys(P = toIObject(P)); 5865 var i = 0; 5866 var l = keys.length; 5867 var key; 5868 while (l > i) $defineProperty(it, key = keys[i++], P[key]); 5869 return it; 5870}; 5871var $create = function create(it, P) { 5872 return P === undefined ? _create(it) : $defineProperties(_create(it), P); 5873}; 5874var $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; 5878}; 5879var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { 5880 it = toIObject(it); 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; 5885 return D; 5886}; 5887var $getOwnPropertyNames = function getOwnPropertyNames(it) { 5888 var names = gOPN(toIObject(it)); 5889 var result = []; 5890 var i = 0; 5891 var key; 5892 while (names.length > i) { 5893 if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); 5894 } return result; 5895}; 5896var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { 5897 var IS_OP = it === ObjectProto; 5898 var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); 5899 var result = []; 5900 var i = 0; 5901 var key; 5902 while (names.length > i) { 5903 if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); 5904 } return result; 5905}; 5906 5907// 19.4.1.1 Symbol([description]) 5908if (!USE_NATIVE) { 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)); 5916 }; 5917 if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); 5918 return wrap(tag); 5919 }; 5920 redefine($Symbol[PROTOTYPE], 'toString', function toString() { 5921 return this._k; 5922 }); 5923 5924 $GOPD.f = $getOwnPropertyDescriptor; 5925 $DP.f = $defineProperty; 5926 _dereq_(103).f = gOPNExt.f = $getOwnPropertyNames; 5927 _dereq_(108).f = $propertyIsEnumerable; 5928 $GOPS.f = $getOwnPropertySymbols; 5929 5930 if (DESCRIPTORS && !_dereq_(89
vendor: 3,256 bytes, lines 5930-6014
5930)) { 5931 redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); 5932 } 5933 5934 wksExt.f = function (name) { 5935 return wrap(wks(name)); 5936 }; 5937} 5938 5939$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); 5940 5941for (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++]); 5945 5946for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); 5947 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); 5954 }, 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; 5959 }, 5960 useSetter: function () { setter = true; }, 5961 useSimple: function () { setter = false; } 5962}); 5963 5964$export($export.S + $export.F * !USE_NATIVE, 'Object', { 5965 // 19.1.2.2 Object.create(O [, Properties]) 5966 create: $create, 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 5977}); 5978 5979// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives 5980// https://bugs.chromium.org/p/v8/issues/detail?id=3443 5981var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); 5982 5983$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { 5984 getOwnPropertySymbols: function getOwnPropertySymbols(it) { 5985 return $GOPS.f(toObject(it)); 5986 } 5987}); 5988 5989// 24.3.2 JSON.stringify(value [, replacer [, space]]) 5990$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { 5991 var S = $Symbol(); 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)) != '{}'; 5996})), 'JSON', { 5997 stringify: function stringify(it) { 5998 var args = [it]; 5999 var i = 1; 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; 6007 }; 6008 args[1] = replacer; 6009 return _stringify.apply($JSON, args); 6010 } 6011}); 6012 6013// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) 6014$Symbol[PROTOTYPE][TO_PRIMITIVE] || _
vendor: 14,989 bytes, lines 6014-6472
6014dereq_(72)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); 6015// 19.4.3.5 Symbol.prototype[@@toStringTag] 6016setToStringTag($Symbol, 'Symbol'); 6017// 20.2.1.9 Math[@@toStringTag] 6018setToStringTag(Math, 'Math', true); 6019// 24.3.3 JSON[@@toStringTag] 6020setToStringTag(global.JSON, 'JSON', true); 6021 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){ 6023'use strict'; 6024var $export = _dereq_(62); 6025var $typed = _dereq_(146); 6026var buffer = _dereq_(145); 6027var anObject = _dereq_(38); 6028var toAbsoluteIndex = _dereq_(137); 6029var toLength = _dereq_(141); 6030var isObject = _dereq_(81); 6031var ArrayBuffer = _dereq_(70).ArrayBuffer; 6032var speciesConstructor = _dereq_(127); 6033var $ArrayBuffer = buffer.ArrayBuffer; 6034var $DataView = buffer.DataView; 6035var $isView = $typed.ABV && ArrayBuffer.isView; 6036var $slice = $ArrayBuffer.prototype.slice; 6037var VIEW = $typed.VIEW; 6038var ARRAY_BUFFER = 'ArrayBuffer'; 6039 6040$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer }); 6041 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; 6046 } 6047}); 6048 6049$export($export.P + $export.U + $export.F * _dereq_(64)(function () { 6050 return !new $ArrayBuffer(2).slice(1, undefined).byteLength; 6051}), ARRAY_BUFFER, { 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); 6061 var index = 0; 6062 while (first < fin) { 6063 viewT.setUint8(index++, viewS.getUint8(first++)); 6064 } return result; 6065 } 6066}); 6067 6068_dereq_(123)(ARRAY_BUFFER); 6069 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){ 6071var $export = _dereq_(62); 6072$export($export.G + $export.W + $export.F * !_dereq_(146).ABV, { 6073 DataView: _dereq_(145).DataView 6074}); 6075 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); 6080 }; 6081}); 6082 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); 6087 }; 6088}); 6089 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); 6094 }; 6095}); 6096 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); 6101 }; 6102}); 6103 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); 6108 }; 6109}); 6110 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); 6115 }; 6116}); 6117 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); 6122 }; 6123}); 6124 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); 6129 }; 6130}); 6131 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); 6136 }; 6137}, true); 6138 6139},{"144":144}],290:[function(_dereq_,module,exports){ 6140'use strict'; 6141var global = _dereq_(70); 6142var each = _dereq_(42)(0); 6143var redefine = _dereq_(118); 6144var meta = _dereq_(94); 6145var assign = _dereq_(97); 6146var weak = _dereq_(50); 6147var isObject = _dereq_(81); 6148var validate = _dereq_(149); 6149var NATIVE_WEAK_MAP = _dereq_(149); 6150var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; 6151var WEAK_MAP = 'WeakMap'; 6152var getWeak = meta.getWeak; 6153var isExtensible = Object.isExtensible; 6154var uncaughtFrozenStore = weak.ufstore; 6155var InternalMap; 6156 6157var wrapper = function (get) { 6158 return function WeakMap() { 6159 return get(this, arguments.length > 0 ? arguments[0] : undefined); 6160 }; 6161}; 6162 6163var methods = { 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; 6170 } 6171 }, 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); 6175 } 6176}; 6177 6178// 23.3 WeakMap Objects 6179var $WeakMap = module.exports = _dereq_(51)(WEAK_MAP, wrapper, methods, weak, true, true); 6180 6181// IE11 WeakMap frozen keys fix 6182if (NATIVE_WEAK_MAP && IS_IE11) { 6183 InternalMap = weak.getConstructor(wrapper, WEAK_MAP); 6184 assign(InternalMap.prototype, methods); 6185 meta.NEED = true; 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); 6197 }); 6198 }); 6199} 6200 6201},{"118":118,"149":149,"42":42,"50":50,"51":51,"70":70,"81":81,"94":94,"97":97}],291:[function(_dereq_,module,exports){ 6202'use strict'; 6203var weak = _dereq_(50); 6204var validate = _dereq_(149); 6205var WEAK_SET = 'WeakSet'; 6206 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); }; 6210}, { 6211 // 23.4.3.1 WeakSet.prototype.add(value) 6212 add: function add(value) { 6213 return weak.def(validate(this, WEAK_SET), value, true); 6214 } 6215}, weak, false, true); 6216 6217},{"149":149,"50":50,"51":51}],292:[function(_dereq_,module,exports){ 6218'use strict'; 6219// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap 6220var $export = _dereq_(62); 6221var flattenIntoArray = _dereq_(67); 6222var toObject = _dereq_(142); 6223var toLength = _dereq_(141); 6224var aFunction = _dereq_(33); 6225var arraySpeciesCreate = _dereq_(45); 6226 6227$export($export.P, 'Array', { 6228 flatMap: function flatMap(callbackfn /* , thisArg */) { 6229 var O = toObject(this); 6230 var sourceLen, A; 6231 aFunction(callbackfn); 6232 sourceLen = toLength(O.length); 6233 A = arraySpeciesCreate(O, 0); 6234 flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]); 6235 return A; 6236 } 6237}); 6238 6239_dereq_(35)('flatMap'); 6240 6241},{"141":141,"142":142,"33":33,"35":35,"45":45,"62":62,"67":67}],293:[function(_dereq_,module,exports){ 6242'use strict'; 6243// https://github.com/tc39/Array.prototype.includes 6244var $export = _dereq_(62); 6245var $includes = _dereq_(41)(true); 6246 6247$export($export.P, 'Array', { 6248 includes: function includes(el /* , fromIndex = 0 */) { 6249 return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); 6250 } 6251}); 6252 6253_dereq_(35)('includes'); 6254 6255},{"35":35,"41":41,"62":62}],294:[function(_dereq_,module,exports){ 6256// https://github.com/tc39/proposal-object-values-entries 6257var $export = _dereq_(62); 6258var $entries = _dereq_(110)(true); 6259 6260$export($export.S, 'Object', { 6261 entries: function entries(it) { 6262 return $entries(it); 6263 } 6264}); 6265 6266},{"110":110,"62":62}],295:[function(_dereq_,module,exports){ 6267// https://github.com/tc39/proposal-object-getownpropertydescriptors 6268var $export = _dereq_(62); 6269var ownKeys = _dereq_(111); 6270var toIObject = _dereq_(140); 6271var gOPD = _dereq_(101); 6272var createProperty = _dereq_(53); 6273 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); 6279 var result = {}; 6280 var i = 0; 6281 var key, desc; 6282 while (keys.length > i) { 6283 desc = getDesc(O, key = keys[i++]); 6284 if (desc !== undefined) createProperty(result, key, desc); 6285 } 6286 return result; 6287 } 6288}); 6289 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 6292var $export = _dereq_(62); 6293var $values = _dereq_(110)(false); 6294 6295$export($export.S, 'Object', { 6296 values: function values(it) { 6297 return $values(it); 6298 } 6299}); 6300 6301},{"110":110,"62":62}],297:[function(_dereq_,module,exports){ 6302// https://github.com/tc39/proposal-promise-finally 6303'use strict'; 6304var $export = _dereq_(62); 6305var core = _dereq_(52); 6306var global = _dereq_(70); 6307var speciesConstructor = _dereq_(127); 6308var promiseResolve = _dereq_(115); 6309 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'; 6313 return this.then( 6314 isFunction ? function (x) { 6315 return promiseResolve(C, onFinally()).then(function () { return x; }); 6316 } : onFinally, 6317 isFunction ? function (e) { 6318 return promiseResolve(C, onFinally()).then(function () { throw e; }); 6319 } : onFinally 6320 ); 6321} }); 6322 6323},{"115":115,"127":127,"52":52,"62":62,"70":70}],298:[function(_dereq_,module,exports){ 6324'use strict'; 6325// https://github.com/tc39/proposal-string-pad-start-end 6326var $export = _dereq_(62); 6327var $pad = _dereq_(132); 6328var userAgent = _dereq_(148); 6329 6330// https://github.com/zloirock/core-js/issues/280 6331var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); 6332 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); 6336 } 6337}); 6338 6339},{"132":132,"148":148,"62":62}],299:[function(_dereq_,module,exports){ 6340'use strict'; 6341// https://github.com/tc39/proposal-string-pad-start-end 6342var $export = _dereq_(62); 6343var $pad = _dereq_(132); 6344var userAgent = _dereq_(148); 6345 6346// https://github.com/zloirock/core-js/issues/280 6347var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); 6348 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); 6352 } 6353}); 6354 6355},{"132":132,"148":148,"62":62}],300:[function(_dereq_,module,exports){ 6356'use strict'; 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); 6361 }; 6362}, 'trimStart'); 6363 6364},{"134":134}],301:[function(_dereq_,module,exports){ 6365'use strict'; 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); 6370 }; 6371}, 'trimEnd'); 6372 6373},{"134":134}],302:[function(_dereq_,module,exports){ 6374_dereq_(150)('asyncIterator'); 6375 6376},{"150":150}],303:[function(_dereq_,module,exports){ 6377var $iterators = _dereq_(164); 6378var getKeys = _dereq_(107); 6379var redefine = _dereq_(118); 6380var global = _dereq_(70); 6381var hide = _dereq_(72); 6382var Iterators = _dereq_(88); 6383var wks = _dereq_(152); 6384var ITERATOR = wks('iterator'); 6385var TO_STRING_TAG = wks('toStringTag'); 6386var ArrayValues = Iterators.Array; 6387 6388var DOMIterables = { 6389 CSSRuleList: true, // TODO: Not spec compliant, should be false. 6390 CSSStyleDeclaration: false, 6391 CSSValueList: false, 6392 ClientRectList: false, 6393 DOMRectList: false, 6394 DOMStringList: false, 6395 DOMTokenList: true, 6396 DataTransferItemList: false, 6397 FileList: 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, 6405 NodeList: true, 6406 PaintRequestList: false, 6407 Plugin: false, 6408 PluginArray: 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, 6419 TouchList: false 6420}; 6421 6422for (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; 6427 var key; 6428 if (proto) { 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); 6433 } 6434} 6435 6436},{"107":107,"118":118,"152":152,"164":164,"70":70,"72":72,"88":88}],304:[function(_dereq_,module,exports){ 6437var $export = _dereq_(62); 6438var $task = _dereq_(136); 6439$export($export.G + $export.B, { 6440 setImmediate: $task.set, 6441 clearImmediate: $task.clear 6442}); 6443 6444},{"136":136,"62":62}],305:[function(_dereq_,module,exports){ 6445// ie9- setTimeout & setInterval additional parameters fix 6446var global = _dereq_(70); 6447var $export = _dereq_(62); 6448var userAgent = _dereq_(148); 6449var slice = [].slice; 6450var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check 6451var 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); 6458 } : fn, time); 6459 }; 6460}; 6461$export($export.G + $export.B + $export.F * MSIE, { 6462 setTimeout: wrap(global.setTimeout), 6463 setInterval: wrap(global.setInterval) 6464}); 6465 6466},{"148":148,"62":62,"70":70}],306:[function(_dereq_,module,exports){ 6467_dereq_(305); 6468_dereq_(304); 6469_dereq_(303); 6470module.exports = _dereq_(52); 6471 6472},{"303":303,"304":304,"305":305,"52":52}],307
vendor: 12,323 bytes, lines 6472-6796
6472:[function(_dereq_,module,exports){ 6473/** 6474 * Copyright (c) 2014-present, Facebook, Inc. 6475 * 6476 * This source code is licensed under the MIT license found in the 6477 * LICENSE file in the root directory of this source tree. 6478 */ 6479 6480var runtime = (function (exports) { 6481 "use strict"; 6482 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"; 6490 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 || []); 6496 6497 // The ._invoke method unifies the implementations of the .next, 6498 // .throw, and .return methods. 6499 generator._invoke = makeInvokeMethod(innerFn, self, context); 6500 6501 return generator; 6502 } 6503 exports.wrap = wrap; 6504 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) { 6516 try { 6517 return { type: "normal", arg: fn.call(obj, arg) }; 6518 } catch (err) { 6519 return { type: "throw", arg: err }; 6520 } 6521 } 6522 6523 var GenStateSuspendedStart = "suspendedStart"; 6524 var GenStateSuspendedYield = "suspendedYield"; 6525 var GenStateExecuting = "executing"; 6526 var GenStateCompleted = "completed"; 6527 6528 // Returning this object from the innerFn has the same effect as 6529 // breaking out of the dispatch switch statement. 6530 var ContinueSentinel = {}; 6531 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() {} 6539 6540 // This is a polyfill for %IteratorPrototype% for environments that 6541 // don't natively support it. 6542 var IteratorPrototype = {}; 6543 IteratorPrototype[iteratorSymbol] = function () { 6544 return this; 6545 }; 6546 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 6553 // of the polyfill. 6554 IteratorPrototype = NativeIteratorPrototype; 6555 } 6556 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"; 6563 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); 6570 }; 6571 }); 6572 } 6573 6574 exports.isGeneratorFunction = function(genFun) { 6575 var ctor = typeof genFun === "function" && genFun.constructor; 6576 return ctor 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" 6581 : false; 6582 }; 6583 6584 exports.mark = function(genFun) { 6585 if (Object.setPrototypeOf) { 6586 Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); 6587 } else { 6588 genFun.__proto__ = GeneratorFunctionPrototype; 6589 if (!(toStringTagSymbol in genFun)) { 6590 genFun[toStringTagSymbol] = "GeneratorFunction"; 6591 } 6592 } 6593 genFun.prototype = Object.create(Gp); 6594 return genFun; 6595 }; 6596 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 }; 6603 }; 6604 6605 function AsyncIterator(generator, PromiseImpl) { 6606 function invoke(method, arg, resolve, reject) { 6607 var record = tryCatch(generator[method], generator, arg); 6608 if (record.type === "throw") { 6609 reject(record.arg); 6610 } else { 6611 var result = record.arg; 6612 var value = result.value; 6613 if (value && 6614 typeof value === "object" && 6615 hasOwn.call(value, "__await")) { 6616 return PromiseImpl.resolve(value.__await).then(function(value) { 6617 invoke("next", value, resolve, reject); 6618 }, function(err) { 6619 invoke("throw", err, resolve, reject); 6620 }); 6621 } 6622 6623 return PromiseImpl.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; 6628 resolve(result); 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); 6633 }); 6634 } 6635 } 6636 6637 var previousPromise; 6638 6639 function enqueue(method, arg) { 6640 function callInvokeWithMethodAndArg() { 6641 return new PromiseImpl(function(resolve, reject) { 6642 invoke(method, arg, resolve, reject); 6643 }); 6644 } 6645 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(); 6665 } 6666 6667 // Define the unified helper method that is used to implement .next, 6668 // .throw, and .return (see defineIteratorMethods). 6669 this._invoke = enqueue; 6670 } 6671 6672 defineIteratorMethods(AsyncIterator.prototype); 6673 AsyncIterator.prototype[asyncIteratorSymbol] = function () { 6674 return this; 6675 }; 6676 exports.AsyncIterator = AsyncIterator; 6677 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, PromiseImpl) { 6682 if (PromiseImpl === void 0) PromiseImpl = Promise; 6683 6684 var iter = new AsyncIterator( 6685 wrap(innerFn, outerFn, self, tryLocsList), 6686 PromiseImpl 6687 ); 6688 6689 return exports.isGeneratorFunction(outerFn) 6690 ? iter // If outerFn is a generator, return the full iterator. 6691 : iter.next().then(function(result) { 6692 return result.done ? result.value : iter.next(); 6693 }); 6694 }; 6695 6696 function makeInvokeMethod(innerFn, self, context) { 6697 var state = GenStateSuspendedStart; 6698 6699 return function invoke(method, arg) { 6700 if (state === GenStateExecuting) { 6701 throw new Error("Generator is already running"); 6702 } 6703 6704 if (state === GenStateCompleted) { 6705 if (method === "throw") { 6706 throw arg; 6707 } 6708 6709 // Be forgiving, per 25.3.3.3.3 of the spec: 6710 // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume 6711 return doneResult(); 6712 } 6713 6714 context.method = method; 6715 context.arg = arg; 6716 6717 while (true) { 6718 var delegate = context.delegate; 6719 if (delegate) { 6720 var delegateResult = maybeInvokeDelegate(delegate, context); 6721 if (delegateResult) { 6722 if (delegateResult === ContinueSentinel) continue; 6723 return delegateResult; 6724 } 6725 } 6726 6727 if (context.method === "next") { 6728 // Setting context._sent for legacy support of Babel's 6729 // function.sent implementation. 6730 context.sent = context._sent = context.arg; 6731 6732 } else if (context.method === "throw") { 6733 if (state === GenStateSuspendedStart) { 6734 state = GenStateCompleted; 6735 throw context.arg; 6736 } 6737 6738 context.dispatchException(context.arg); 6739 6740 } else if (context.method === "return") { 6741 context.abrupt("return", context.arg); 6742 } 6743 6744 state = GenStateExecuting; 6745 6746 var record = tryCatch(innerFn, self, context); 6747 if (record.type === "normal") { 6748 // If an exception is thrown from innerFn, we leave state === 6749 // GenStateExecuting and loop back for another invocation. 6750 state = context.done 6751 ? GenStateCompleted 6752 : GenStateSuspendedYield; 6753 6754 if (record.arg === ContinueSentinel) { 6755 continue; 6756 } 6757 6758 return { 6759 value: record.arg, 6760 done: context.done 6761 }; 6762 6763 } else if (record.type === "throw") { 6764 state = GenStateCompleted; 6765 // Dispatch the exception by looping back around to the 6766 // context.dispatchException(context.arg) call above. 6767 context.method = "throw"; 6768 context.arg = record.arg; 6769 } 6770 } 6771 }; 6772 } 6773 6774 // Call delegate.iterator[context.method](context.arg) and handle the 6775 // result, either by returning a { value, done } result from the 6776 // delegate iterator, or by modifying context.method and context.arg, 6777 // setting context.delegate to null, and returning the ContinueSentinel. 6778 function maybeInvokeDelegate(delegate, context) { 6779 var method = delegate.iterator[context.method]; 6780 if (method === undefined) { 6781 // A .throw or .return when the delegate iterator has no .throw 6782 // method always terminates the yield* loop. 6783 context.delegate = null; 6784 6785 if (context.method === "throw") { 6786 // Note: ["return"] must be used for ES3 parsing compatibility. 6787 if (delegate.iterator["return"]) { 6788 // If the delegate iterator has a return method, give it a 6789 // chance to clean up. 6790 context.method = "return"; 6791 context.arg = undefined; 6792 maybeInvokeDelegate(delegate, context); 6793 6794 if (context.method === "throw") { 6795 // If maybeInvokeDelegate(context) changed context.method from 6796 // "return" to "throw", let that override the TypeError below.
vendor: 4,503 bytes, lines 6797-6950
6797 return ContinueSentinel; 6798 } 6799 } 6800 6801 context.method = "throw"; 6802 context.arg = new TypeError( 6803 "The iterator does not provide a 'throw' method"); 6804 } 6805 6806 return ContinueSentinel; 6807 } 6808 6809 var record = tryCatch(method, delegate.iterator, context.arg); 6810 6811 if (record.type === "throw") { 6812 context.method = "throw"; 6813 context.arg = record.arg; 6814 context.delegate = null; 6815 return ContinueSentinel; 6816 } 6817 6818 var info = record.arg; 6819 6820 if (! info) { 6821 context.method = "throw"; 6822 context.arg = new TypeError("iterator result is not an object"); 6823 context.delegate = null; 6824 return ContinueSentinel; 6825 } 6826 6827 if (info.done) { 6828 // Assign the result of the finished delegate to the temporary 6829 // variable specified by delegate.resultName (see delegateYield). 6830 context[delegate.resultName] = info.value; 6831 6832 // Resume execution at the desired location (see delegateYield). 6833 context.next = delegate.nextLoc; 6834 6835 // If context.method was "throw" but the delegate handled the 6836 // exception, let the outer generator proceed normally. If 6837 // context.method was "next", forget context.arg since it has been 6838 // "consumed" by the delegate iterator. If context.method was 6839 // "return", allow the original .return call to continue in the 6840 // outer generator. 6841 if (context.method !== "return") { 6842 context.method = "next"; 6843 context.arg = undefined; 6844 } 6845 6846 } else { 6847 // Re-yield the result returned by the delegate method. 6848 return info; 6849 } 6850 6851 // The delegate iterator is finished, so forget it and continue with 6852 // the outer generator. 6853 context.delegate = null; 6854 return ContinueSentinel; 6855 } 6856 6857 // Define Generator.prototype.{next,throw,return} in terms of the 6858 // unified ._invoke helper method. 6859 defineIteratorMethods(Gp); 6860 6861 Gp[toStringTagSymbol] = "Generator"; 6862 6863 // A Generator should always return itself as the iterator object when the 6864 // @@iterator function is called on it. Some browsers' implementations of the 6865 // iterator prototype chain incorrectly implement this, causing the Generator 6866 // object to not be returned from this call. This ensures that doesn't happen. 6867 // See https://github.com/facebook/regenerator/issues/274 for more details. 6868 Gp[iteratorSymbol] = function() { 6869 return this; 6870 }; 6871 6872 Gp.toString = function() { 6873 return "[object Generator]"; 6874 }; 6875 6876 function pushTryEntry(locs) { 6877 var entry = { tryLoc: locs[0] }; 6878 6879 if (1 in locs) { 6880 entry.catchLoc = locs[1]; 6881 } 6882 6883 if (2 in locs) { 6884 entry.finallyLoc = locs[2]; 6885 entry.afterLoc = locs[3]; 6886 } 6887 6888 this.tryEntries.push(entry); 6889 } 6890 6891 function resetTryEntry(entry) { 6892 var record = entry.completion || {}; 6893 record.type = "normal"; 6894 delete record.arg; 6895 entry.completion = record; 6896 } 6897 6898 function Context(tryLocsList) { 6899 // The root entry object (effectively a try statement without a catch 6900 // or a finally block) gives us a place to store values thrown from 6901 // locations where there is no enclosing try statement. 6902 this.tryEntries = [{ tryLoc: "root" }]; 6903 tryLocsList.forEach(pushTryEntry, this); 6904 this.reset(true); 6905 } 6906 6907 exports.keys = function(object) { 6908 var keys = []; 6909 for (var key in object) { 6910 keys.push(key); 6911 } 6912 keys.reverse(); 6913 6914 // Rather than returning an object with a next method, we keep 6915 // things simple and return the next function itself. 6916 return function next() { 6917 while (keys.length) { 6918 var key = keys.pop(); 6919 if (key in object) { 6920 next.value = key; 6921 next.done = false; 6922 return next; 6923 } 6924 } 6925 6926 // To avoid creating an additional object, we just hang the .value 6927 // and .done properties off the next function object itself. This 6928 // also ensures that the minifier will not anonymize the function. 6929 next.done = true; 6930 return next; 6931 }; 6932 }; 6933 6934 function values(iterable) { 6935 if (iterable) { 6936 var iteratorMethod = iterable[iteratorSymbol]; 6937 if (iteratorMethod) { 6938 return iteratorMethod.call(iterable); 6939 } 6940 6941 if (typeof iterable.next === "function") { 6942 return iterable; 6943 } 6944 6945 if (!isNaN(iterable.length)) { 6946 var i = -1, next = function next() { 6947 while (++i < iterable.length) { 6948 if (hasOwn.call(iterable, i)) { 6949 next.value = iterable[i]; 6950 next.done = false;
vendor: 7,405 bytes, lines 6951-7203
6951 return next; 6952 } 6953 } 6954 6955 next.value = undefined; 6956 next.done = true; 6957 6958 return next; 6959 }; 6960 6961 return next.next = next; 6962 } 6963 } 6964 6965 // Return an iterator with no values. 6966 return { next: doneResult }; 6967 } 6968 exports.values = values; 6969 6970 function doneResult() { 6971 return { value: undefined, done: true }; 6972 } 6973 6974 Context.prototype = { 6975 constructor: Context, 6976 6977 reset: function(skipTempReset) { 6978 this.prev = 0; 6979 this.next = 0; 6980 // Resetting context._sent for legacy support of Babel's 6981 // function.sent implementation. 6982 this.sent = this._sent = undefined; 6983 this.done = false; 6984 this.delegate = null; 6985 6986 this.method = "next"; 6987 this.arg = undefined; 6988 6989 this.tryEntries.forEach(resetTryEntry); 6990 6991 if (!skipTempReset) { 6992 for (var name in this) { 6993 // Not sure about the optimal order of these conditions: 6994 if (name.charAt(0) === "t" && 6995 hasOwn.call(this, name) && 6996 !isNaN(+name.slice(1))) { 6997 this[name] = undefined; 6998 } 6999 } 7000 } 7001 }, 7002 7003 stop: function() { 7004 this.done = true; 7005 7006 var rootEntry = this.tryEntries[0]; 7007 var rootRecord = rootEntry.completion; 7008 if (rootRecord.type === "throw") { 7009 throw rootRecord.arg; 7010 } 7011 7012 return this.rval; 7013 }, 7014 7015 dispatchException: function(exception) { 7016 if (this.done) { 7017 throw exception; 7018 } 7019 7020 var context = this; 7021 function handle(loc, caught) { 7022 record.type = "throw"; 7023 record.arg = exception; 7024 context.next = loc; 7025 7026 if (caught) { 7027 // If the dispatched exception was caught by a catch block, 7028 // then let that catch block handle the exception normally. 7029 context.method = "next"; 7030 context.arg = undefined; 7031 } 7032 7033 return !! caught; 7034 } 7035 7036 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 7037 var entry = this.tryEntries[i]; 7038 var record = entry.completion; 7039 7040 if (entry.tryLoc === "root") { 7041 // Exception thrown outside of any try block that could handle 7042 // it, so set the completion value of the entire function to 7043 // throw the exception. 7044 return handle("end"); 7045 } 7046 7047 if (entry.tryLoc <= this.prev) { 7048 var hasCatch = hasOwn.call(entry, "catchLoc"); 7049 var hasFinally = hasOwn.call(entry, "finallyLoc"); 7050 7051 if (hasCatch && hasFinally) { 7052 if (this.prev < entry.catchLoc) { 7053 return handle(entry.catchLoc, true); 7054 } else if (this.prev < entry.finallyLoc) { 7055 return handle(entry.finallyLoc); 7056 } 7057 7058 } else if (hasCatch) { 7059 if (this.prev < entry.catchLoc) { 7060 return handle(entry.catchLoc, true); 7061 } 7062 7063 } else if (hasFinally) { 7064 if (this.prev < entry.finallyLoc) { 7065 return handle(entry.finallyLoc); 7066 } 7067 7068 } else { 7069 throw new Error("try statement without catch or finally"); 7070 } 7071 } 7072 } 7073 }, 7074 7075 abrupt: function(type, arg) { 7076 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 7077 var entry = this.tryEntries[i]; 7078 if (entry.tryLoc <= this.prev && 7079 hasOwn.call(entry, "finallyLoc") && 7080 this.prev < entry.finallyLoc) { 7081 var finallyEntry = entry; 7082 break; 7083 } 7084 } 7085 7086 if (finallyEntry && 7087 (type === "break" || 7088 type === "continue") && 7089 finallyEntry.tryLoc <= arg && 7090 arg <= finallyEntry.finallyLoc) { 7091 // Ignore the finally entry if control is not jumping to a 7092 // location outside the try/catch block. 7093 finallyEntry = null; 7094 } 7095 7096 var record = finallyEntry ? finallyEntry.completion : {}; 7097 record.type = type; 7098 record.arg = arg; 7099 7100 if (finallyEntry) { 7101 this.method = "next"; 7102 this.next = finallyEntry.finallyLoc; 7103 return ContinueSentinel; 7104 } 7105 7106 return this.complete(record); 7107 }, 7108 7109 complete: function(record, afterLoc) { 7110 if (record.type === "throw") { 7111 throw record.arg; 7112 } 7113 7114 if (record.type === "break" || 7115 record.type === "continue") { 7116 this.next = record.arg; 7117 } else if (record.type === "return") { 7118 this.rval = this.arg = record.arg; 7119 this.method = "return"; 7120 this.next = "end"; 7121 } else if (record.type === "normal" && afterLoc) { 7122 this.next = afterLoc; 7123 } 7124 7125 return ContinueSentinel; 7126 }, 7127 7128 finish: function(finallyLoc) { 7129 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 7130 var entry = this.tryEntries[i]; 7131 if (entry.finallyLoc === finallyLoc) { 7132 this.complete(entry.completion, entry.afterLoc); 7133 resetTryEntry(entry); 7134 return ContinueSentinel; 7135 } 7136 } 7137 }, 7138 7139 "catch": function(tryLoc) { 7140 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 7141 var entry = this.tryEntries[i]; 7142 if (entry.tryLoc === tryLoc) { 7143 var record = entry.completion; 7144 if (record.type === "throw") { 7145 var thrown = record.arg; 7146 resetTryEntry(entry); 7147 } 7148 return thrown; 7149 } 7150 } 7151 7152 // The context.catch method must only be called with a location 7153 // argument that corresponds to a known catch block. 7154 throw new Error("illegal catch attempt"); 7155 }, 7156 7157 delegateYield: function(iterable, resultName, nextLoc) { 7158 this.delegate = { 7159 iterator: values(iterable), 7160 resultName: resultName, 7161 nextLoc: nextLoc 7162 }; 7163 7164 if (this.method === "next") { 7165 // Deliberately forget the last sent value so that we don't 7166 // accidentally pass it on to the delegate. 7167 this.arg = undefined; 7168 } 7169 7170 return ContinueSentinel; 7171 } 7172 }; 7173 7174 // Regardless of whether this script is executing as a CommonJS module 7175 // or not, return the runtime object so that we can declare the variable 7176 // regeneratorRuntime in the outer scope, which allows this module to be 7177 // injected easily by `bin/regenerator --include-runtime script.js`. 7178 return exports; 7179 7180}( 7181 // If this script is executing as a CommonJS module, use module.exports 7182 // as the regeneratorRuntime namespace. Otherwise create a new empty 7183 // object. Either way, the resulting object will be used to initialize 7184 // the regeneratorRuntime variable at the top of this file. 7185 typeof module === "object" ? module.exports : {} 7186)); 7187 7188try { 7189 regeneratorRuntime = runtime; 7190} catch (accidentalStrictMode) { 7191 // This module should not be running in strict mode, so the above 7192 // assignment should always work unless something is misconfigured. Just 7193 // in case runtime.js accidentally runs in strict mode, we can escape 7194 // strict mode using a global Function call. This could conceivably fail 7195 // if a Content Security Policy forbids using Function, but in that case 7196 // the proper solution is to fix the accidental strict mode problem. If 7197 // you've misconfigured your bundler to force strict mode and applied a 7198 // CSP to forbid Function, and you're not willing to fix either of those 7199 // problems, please detail your unique predicament in a GitHub issue. 7200 Function("r", "regeneratorRuntime = r")(runtime); 7201} 7202 7203},{}]
7203},{},[1]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.