1(function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}return e})()({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,"25
vendor: 80,149 bytes, lines 186-2585
1865":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.5' }; 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 getKeys = _dereq_(107); 1786var gOPS = _dereq_(104); 1787var pIE = _dereq_(108); 1788var toObject = _dereq_(142); 1789var IObject = _dereq_(77); 1790var $assign = Object.assign; 1791 1792// should work with symbols and should have deterministic property order (V8 bug) 1793module.exports = !$assign || _dereq_(64)(function () { 1794 var A = {}; 1795 var B = {}; 1796 // eslint-disable-next-line no-undef 1797 var S = Symbol(); 1798 var K = 'abcdefghijklmnopqrst'; 1799 A[S] = 7; 1800 K.split('').forEach(function (k) { B[k] = k; }); 1801 return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K; 1802}) ? function assign(target, source) { // eslint-disable-line no-unused-vars 1803 var T = toObject(target); 1804 var aLen = arguments.length; 1805 var index = 1; 1806 var getSymbols = gOPS.f; 1807 var isEnum = pIE.f; 1808 while (aLen > index) { 1809 var S = IObject(arguments[index++]); 1810 var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S); 1811 var length = keys.length; 1812 var j = 0; 1813 var key; 1814 while (length > j) if (isEnum.call(S, key = keys[j++])) T[key] = S[key]; 1815 } return T; 1816} : $assign; 1817 1818},{"104":104,"107":107,"108":108,"142":142,"64":64,"77":77}],98:[function(_dereq_,module,exports){ 1819// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) 1820var anObject = _dereq_(38); 1821var dPs = _dereq_(100); 1822var enumBugKeys = _dereq_(60); 1823var IE_PROTO = _dereq_(125)('IE_PROTO'); 1824var Empty = function () { /* empty */ }; 1825var PROTOTYPE = 'prototype'; 1826 1827// Create object with fake `null` prototype: use iframe Object with cleared prototype 1828var createDict = function () { 1829 // Thrash, waste and sodomy: IE GC bug 1830 var iframe = _dereq_(59)('iframe'); 1831 var i = enumBugKeys.length; 1832 var lt = '<'; 1833 var gt = '>'; 1834 var iframeDocument; 1835 iframe.style.display = 'none'; 1836 _dereq_(73).appendChild(iframe); 1837 iframe.src = 'javascript:'; // eslint-disable-line no-script-url 1838 // createDict = iframe.contentWindow.Object; 1839 // html.removeChild(iframe); 1840 iframeDocument = iframe.contentWindow.document; 1841 iframeDocument.open(); 1842 iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt); 1843 iframeDocument.close(); 1844 createDict = iframeDocument.F; 1845 while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]]; 1846 return createDict(); 1847}; 1848 1849module.exports = Object.create || function create(O, Properties) { 1850 var result; 1851 if (O !== null) { 1852 Empty[PROTOTYPE] = anObject(O); 1853 result = new Empty(); 1854 Empty[PROTOTYPE] = null; 1855 // add "__proto__" for Object.getPrototypeOf polyfill 1856 result[IE_PROTO] = O; 1857 } else result = createDict(); 1858 return Properties === undefined ? result : dPs(result, Properties); 1859}; 1860 1861},{"100":100,"125":125,"38":38,"59":59,"60":60,"73":73}],99:[function(_dereq_,module,exports){ 1862arguments[4][29][0].apply(exports,arguments) 1863},{"143":143,"29":29,"38":38,"58":58,"74":74}],100:[function(_dereq_,module,exports){ 1864var dP = _dereq_(99); 1865var anObject = _dereq_(38); 1866var getKeys = _dereq_(107); 1867 1868module.exports = _dereq_(58) ? Object.defineProperties : function defineProperties(O, Properties) { 1869 anObject(O); 1870 var keys = getKeys(Properties); 1871 var length = keys.length; 1872 var i = 0; 1873 var P; 1874 while (length > i) dP.f(O, P = keys[i++], Properties[P]); 1875 return O; 1876}; 1877 1878},{"107":107,"38":38,"58":58,"99":99}],101:[function(_dereq_,module,exports){ 1879var pIE = _dereq_(108); 1880var createDesc = _dereq_(116); 1881var toIObject = _dereq_(140); 1882var toPrimitive = _dereq_(143); 1883var has = _dereq_(71); 1884var IE8_DOM_DEFINE = _dereq_(74); 1885var gOPD = Object.getOwnPropertyDescriptor; 1886 1887exports.f = _dereq_(58) ? gOPD : function getOwnPropertyDescriptor(O, P) { 1888 O = toIObject(O); 1889 P = toPrimitive(P, true); 1890 if (IE8_DOM_DEFINE) try { 1891 return gOPD(O, P); 1892 } catch (e) { /* empty */ } 1893 if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]); 1894}; 1895 1896},{"108":108,"116":116,"140":140,"143":143,"58":58,"71":71,"74":74}],102:[function(_dereq_,module,exports){ 1897// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window 1898var toIObject = _dereq_(140); 1899var gOPN = _dereq_(103).f; 1900var toString = {}.toString; 1901 1902var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames 1903 ? Object.getOwnPropertyNames(window) : []; 1904 1905var getWindowNames = function (it) { 1906 try { 1907 return gOPN(it); 1908 } catch (e) { 1909 return windowNames.slice(); 1910 } 1911}; 1912 1913module.exports.f = function getOwnPropertyNames(it) { 1914 return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); 1915}; 1916 1917},{"103":103,"140":140}],103:[function(_dereq_,module,exports){ 1918// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) 1919var $keys = _dereq_(106); 1920var hiddenKeys = _dereq_(60).concat('length', 'prototype'); 1921 1922exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { 1923 return $keys(O, hiddenKeys); 1924}; 1925 1926},{"106":106,"60":60}],104:[function(_dereq_,module,exports){ 1927exports.f = Object.getOwnPropertySymbols; 1928 1929},{}],105:[function(_dereq_,module,exports){ 1930// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) 1931var has = _dereq_(71); 1932var toObject = _dereq_(142); 1933var IE_PROTO = _dereq_(125)('IE_PROTO'); 1934var ObjectProto = Object.prototype; 1935 1936module.exports = Object.getPrototypeOf || function (O) { 1937 O = toObject(O); 1938 if (has(O, IE_PROTO)) return O[IE_PROTO]; 1939 if (typeof O.constructor == 'function' && O instanceof O.constructor) { 1940 return O.constructor.prototype; 1941 } return O instanceof Object ? ObjectProto : null; 1942}; 1943 1944},{"125":125,"142":142,"71":71}],106:[function(_dereq_,module,exports){ 1945var has = _dereq_(71); 1946var toIObject = _dereq_(140); 1947var arrayIndexOf = _dereq_(41)(false); 1948var IE_PROTO = _dereq_(125)('IE_PROTO'); 1949 1950module.exports = function (object, names) { 1951 var O = toIObject(object); 1952 var i = 0; 1953 var result = []; 1954 var key; 1955 for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key); 1956 // Don't enum bug & hidden keys 1957 while (names.length > i) if (has(O, key = names[i++])) { 1958 ~arrayIndexOf(result, key) || result.push(key); 1959 } 1960 return result; 1961}; 1962 1963},{"125":125,"140":140,"41":41,"71":71}],107:[function(_dereq_,module,exports){ 1964// 19.1.2.14 / 15.2.3.14 Object.keys(O) 1965var $keys = _dereq_(106); 1966var enumBugKeys = _dereq_(60); 1967 1968module.exports = Object.keys || function keys(O) { 1969 return $keys(O, enumBugKeys); 1970}; 1971 1972},{"106":106,"60":60}],108:[function(_dereq_,module,exports){ 1973exports.f = {}.propertyIsEnumerable; 1974 1975},{}],109:[function(_dereq_,module,exports){ 1976// most Object methods by ES6 should accept primitives 1977var $export = _dereq_(62); 1978var core = _dereq_(52); 1979var fails = _dereq_(64); 1980module.exports = function (KEY, exec) { 1981 var fn = (core.Object || {})[KEY] || Object[KEY]; 1982 var exp = {}; 1983 exp[KEY] = exec(fn); 1984 $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp); 1985}; 1986 1987},{"52":52,"62":62,"64":64}],110:[function(_dereq_,module,exports){ 1988var getKeys = _dereq_(107); 1989var toIObject = _dereq_(140); 1990var isEnum = _dereq_(108).f; 1991module.exports = function (isEntries) { 1992 return function (it) { 1993 var O = toIObject(it); 1994 var keys = getKeys(O); 1995 var length = keys.length; 1996 var i = 0; 1997 var result = []; 1998 var key; 1999 while (length > i) if (isEnum.call(O, key = keys[i++])) { 2000 result.push(isEntries ? [key, O[key]] : O[key]); 2001 } return result; 2002 }; 2003}; 2004 2005},{"107":107,"108":108,"140":140}],111:[function(_dereq_,module,exports){ 2006// all object keys, includes non-enumerable and symbols 2007var gOPN = _dereq_(103); 2008var gOPS = _dereq_(104); 2009var anObject = _dereq_(38); 2010var Reflect = _dereq_(70).Reflect; 2011module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { 2012 var keys = gOPN.f(anObject(it)); 2013 var getSymbols = gOPS.f; 2014 return getSymbols ? keys.concat(getSymbols(it)) : keys; 2015}; 2016 2017},{"103":103,"104":104,"38":38,"70":70}],112:[function(_dereq_,module,exports){ 2018var $parseFloat = _dereq_(70).parseFloat; 2019var $trim = _dereq_(134).trim; 2020 2021module.exports = 1 / $parseFloat(_dereq_(135) + '-0') !== -Infinity ? function parseFloat(str) { 2022 var string = $trim(String(str), 3); 2023 var result = $parseFloat(string); 2024 return result === 0 && string.charAt(0) == '-' ? -0 : result; 2025} : $parseFloat; 2026 2027},{"134":134,"135":135,"70":70}],113:[function(_dereq_,module,exports){ 2028var $parseInt = _dereq_(70).parseInt; 2029var $trim = _dereq_(134).trim; 2030var ws = _dereq_(135); 2031var hex = /^[-+]?0[xX]/; 2032 2033module.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) { 2034 var string = $trim(String(str), 3); 2035 return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); 2036} : $parseInt; 2037 2038},{"134":134,"135":135,"70":70}],114:[function(_dereq_,module,exports){ 2039module.exports = function (exec) { 2040 try { 2041 return { e: false, v: exec() }; 2042 } catch (e) { 2043 return { e: true, v: e }; 2044 } 2045}; 2046 2047},{}],115:[function(_dereq_,module,exports){ 2048var anObject = _dereq_(38); 2049var isObject = _dereq_(81); 2050var newPromiseCapability = _dereq_(96); 2051 2052module.exports = function (C, x) { 2053 anObject(C); 2054 if (isObject(x) && x.constructor === C) return x; 2055 var promiseCapability = newPromiseCapability.f(C); 2056 var resolve = promiseCapability.resolve; 2057 resolve(x); 2058 return promiseCapability.promise; 2059}; 2060 2061},{"38":38,"81":81,"96":96}],116:[function(_dereq_,module,exports){ 2062arguments[4][30][0].apply(exports,arguments) 2063},{"30":30}],117:[function(_dereq_,module,exports){ 2064var redefine = _dereq_(118); 2065module.exports = function (target, src, safe) { 2066 for (var key in src) redefine(target, key, src[key], safe); 2067 return target; 2068}; 2069 2070},{"118":118}],118:[function(_dereq_,module,exports){ 2071var global = _dereq_(70); 2072var hide = _dereq_(72); 2073var has = _dereq_(71); 2074var SRC = _dereq_(147)('src'); 2075var $toString = _dereq_(69); 2076var TO_STRING = 'toString'; 2077var TPL = ('' + $toString).split(TO_STRING); 2078 2079_dereq_(52).inspectSource = function (it) { 2080 return $toString.call(it); 2081}; 2082 2083(module.exports = function (O, key, val, safe) { 2084 var isFunction = typeof val == 'function'; 2085 if (isFunction) has(val, 'name') || hide(val, 'name', key); 2086 if (O[key] === val) return; 2087 if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key))); 2088 if (O === global) { 2089 O[key] = val; 2090 } else if (!safe) { 2091 delete O[key]; 2092 hide(O, key, val); 2093 } else if (O[key]) { 2094 O[key] = val; 2095 } else { 2096 hide(O, key, val); 2097 } 2098// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative 2099})(Function.prototype, TO_STRING, function toString() { 2100 return typeof this == 'function' && this[SRC] || $toString.call(this); 2101}); 2102 2103},{"147":147,"52":52,"69":69,"70":70,"71":71,"72":72}],119:[function(_dereq_,module,exports){ 2104'use strict'; 2105 2106var classof = _dereq_(47); 2107var builtinExec = RegExp.prototype.exec; 2108 2109 // `RegExpExec` abstract operation 2110// https://tc39.github.io/ecma262/#sec-regexpexec 2111module.exports = function (R, S) { 2112 var exec = R.exec; 2113 if (typeof exec === 'function') { 2114 var result = exec.call(R, S); 2115 if (typeof result !== 'object') { 2116 throw new TypeError('RegExp exec method returned something other than an Object or null'); 2117 } 2118 return result; 2119 } 2120 if (classof(R) !== 'RegExp') { 2121 throw new TypeError('RegExp#exec called on incompatible receiver'); 2122 } 2123 return builtinExec.call(R, S); 2124}; 2125 2126},{"47":47}],120:[function(_dereq_,module,exports){ 2127'use strict'; 2128 2129var regexpFlags = _dereq_(66); 2130 2131var nativeExec = RegExp.prototype.exec; 2132// This always refers to the native implementation, because the 2133// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, 2134// which loads this file before patching the method. 2135var nativeReplace = String.prototype.replace; 2136 2137var patchedExec = nativeExec; 2138 2139var LAST_INDEX = 'lastIndex'; 2140 2141var UPDATES_LAST_INDEX_WRONG = (function () { 2142 var re1 = /a/, 2143 re2 = /b*/g; 2144 nativeExec.call(re1, 'a'); 2145 nativeExec.call(re2, 'a'); 2146 return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0; 2147})(); 2148 2149// nonparticipating capturing group, copied from es5-shim's String#split patch. 2150var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; 2151 2152var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; 2153 2154if (PATCH) { 2155 patchedExec = function exec(str) { 2156 var re = this; 2157 var lastIndex, reCopy, match, i; 2158 2159 if (NPCG_INCLUDED) { 2160 reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); 2161 } 2162 if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX]; 2163 2164 match = nativeExec.call(re, str); 2165 2166 if (UPDATES_LAST_INDEX_WRONG && match) { 2167 re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex; 2168 } 2169 if (NPCG_INCLUDED && match && match.length > 1) { 2170 // Fix browsers whose `exec` methods don't consistently return `undefined` 2171 // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ 2172 // eslint-disable-next-line no-loop-func 2173 nativeReplace.call(match[0], reCopy, function () { 2174 for (i = 1; i < arguments.length - 2; i++) { 2175 if (arguments[i] === undefined) match[i] = undefined; 2176 } 2177 }); 2178 } 2179 2180 return match; 2181 }; 2182} 2183 2184module.exports = patchedExec; 2185 2186},{"66":66}],121:[function(_dereq_,module,exports){ 2187// 7.2.9 SameValue(x, y) 2188module.exports = Object.is || function is(x, y) { 2189 // eslint-disable-next-line no-self-compare 2190 return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; 2191}; 2192 2193},{}],122:[function(_dereq_,module,exports){ 2194// Works with __proto__ only. Old v8 can't work with null proto objects. 2195/* eslint-disable no-proto */ 2196var isObject = _dereq_(81); 2197var anObject = _dereq_(38); 2198var check = function (O, proto) { 2199 anObject(O); 2200 if (!isObject(proto) && proto !== null) throw TypeError(proto + ": can't set as prototype!"); 2201}; 2202module.exports = { 2203 set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line 2204 function (test, buggy, set) { 2205 try { 2206 set = _dereq_(54)(Function.call, _dereq_(101).f(Object.prototype, '__proto__').set, 2); 2207 set(test, []); 2208 buggy = !(test instanceof Array); 2209 } catch (e) { buggy = true; } 2210 return function setPrototypeOf(O, proto) { 2211 check(O, proto); 2212 if (buggy) O.__proto__ = proto; 2213 else set(O, proto); 2214 return O; 2215 }; 2216 }({}, false) : undefined), 2217 check: check 2218}; 2219 2220},{"101":101,"38":38,"54":54,"81":81}],123:[function(_dereq_,module,exports){ 2221'use strict'; 2222var global = _dereq_(70); 2223var dP = _dereq_(99); 2224var DESCRIPTORS = _dereq_(58); 2225var SPECIES = _dereq_(152)('species'); 2226 2227module.exports = function (KEY) { 2228 var C = global[KEY]; 2229 if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, { 2230 configurable: true, 2231 get: function () { return this; } 2232 }); 2233}; 2234 2235},{"152":152,"58":58,"70":70,"99":99}],124:[function(_dereq_,module,exports){ 2236var def = _dereq_(99).f; 2237var has = _dereq_(71); 2238var TAG = _dereq_(152)('toStringTag'); 2239 2240module.exports = function (it, tag, stat) { 2241 if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag }); 2242}; 2243 2244},{"152":152,"71":71,"99":99}],125:[function(_dereq_,module,exports){ 2245var shared = _dereq_(126)('keys'); 2246var uid = _dereq_(147); 2247module.exports = function (key) { 2248 return shared[key] || (shared[key] = uid(key)); 2249}; 2250 2251},{"126":126,"147":147}],126:[function(_dereq_,module,exports){ 2252var core = _dereq_(52); 2253var global = _dereq_(70); 2254var SHARED = '__core-js_shared__'; 2255var store = global[SHARED] || (global[SHARED] = {}); 2256 2257(module.exports = function (key, value) { 2258 return store[key] || (store[key] = value !== undefined ? value : {}); 2259})('versions', []).push({ 2260 version: core.version, 2261 mode: _dereq_(89) ? 'pure' : 'global', 2262 copyright: '© 2019 Denis Pushkarev (zloirock.ru)' 2263}); 2264 2265},{"52":52,"70":70,"89":89}],127:[function(_dereq_,module,exports){ 2266// 7.3.20 SpeciesConstructor(O, defaultConstructor) 2267var anObject = _dereq_(38); 2268var aFunction = _dereq_(33); 2269var SPECIES = _dereq_(152)('species'); 2270module.exports = function (O, D) { 2271 var C = anObject(O).constructor; 2272 var S; 2273 return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S); 2274}; 2275 2276},{"152":152,"33":33,"38":38}],128:[function(_dereq_,module,exports){ 2277'use strict'; 2278var fails = _dereq_(64); 2279 2280module.exports = function (method, arg) { 2281 return !!method && fails(function () { 2282 // eslint-disable-next-line no-useless-call 2283 arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null); 2284 }); 2285}; 2286 2287},{"64":64}],129:[function(_dereq_,module,exports){ 2288var toInteger = _dereq_(139); 2289var defined = _dereq_(57); 2290// true -> String#at 2291// false -> String#codePointAt 2292module.exports = function (TO_STRING) { 2293 return function (that, pos) { 2294 var s = String(defined(that)); 2295 var i = toInteger(pos); 2296 var l = s.length; 2297 var a, b; 2298 if (i < 0 || i >= l) return TO_STRING ? '' : undefined; 2299 a = s.charCodeAt(i); 2300 return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff 2301 ? TO_STRING ? s.charAt(i) : a 2302 : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; 2303 }; 2304}; 2305 2306},{"139":139,"57":57}],130:[function(_dereq_,module,exports){ 2307// helper for String#{startsWith, endsWith, includes} 2308var isRegExp = _dereq_(82); 2309var defined = _dereq_(57); 2310 2311module.exports = function (that, searchString, NAME) { 2312 if (isRegExp(searchString)) throw TypeError('String#' + NAME + " doesn't accept regex!"); 2313 return String(defined(that)); 2314}; 2315 2316},{"57":57,"82":82}],131:[function(_dereq_,module,exports){ 2317var $export = _dereq_(62); 2318var fails = _dereq_(64); 2319var defined = _dereq_(57); 2320var quot = /"/g; 2321// B.2.3.2.1 CreateHTML(string, tag, attribute, value) 2322var createHTML = function (string, tag, attribute, value) { 2323 var S = String(defined(string)); 2324 var p1 = '<' + tag; 2325 if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"'; 2326 return p1 + '>' + S + '</' + tag + '>'; 2327}; 2328module.exports = function (NAME, exec) { 2329 var O = {}; 2330 O[NAME] = exec(createHTML); 2331 $export($export.P + $export.F * fails(function () { 2332 var test = ''[NAME]('"'); 2333 return test !== test.toLowerCase() || test.split('"').length > 3; 2334 }), 'String', O); 2335}; 2336 2337},{"57":57,"62":62,"64":64}],132:[function(_dereq_,module,exports){ 2338// https://github.com/tc39/proposal-string-pad-start-end 2339var toLength = _dereq_(141); 2340var repeat = _dereq_(133); 2341var defined = _dereq_(57); 2342 2343module.exports = function (that, maxLength, fillString, left) { 2344 var S = String(defined(that)); 2345 var stringLength = S.length; 2346 var fillStr = fillString === undefined ? ' ' : String(fillString); 2347 var intMaxLength = toLength(maxLength); 2348 if (intMaxLength <= stringLength || fillStr == '') return S; 2349 var fillLen = intMaxLength - stringLength; 2350 var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length)); 2351 if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen); 2352 return left ? stringFiller + S : S + stringFiller; 2353}; 2354 2355},{"133":133,"141":141,"57":57}],133:[function(_dereq_,module,exports){ 2356'use strict'; 2357var toInteger = _dereq_(139); 2358var defined = _dereq_(57); 2359 2360module.exports = function repeat(count) { 2361 var str = String(defined(this)); 2362 var res = ''; 2363 var n = toInteger(count); 2364 if (n < 0 || n == Infinity) throw RangeError("Count can't be negative"); 2365 for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str; 2366 return res; 2367}; 2368 2369},{"139":139,"57":57}],134:[function(_dereq_,module,exports){ 2370var $export = _dereq_(62); 2371var defined = _dereq_(57); 2372var fails = _dereq_(64); 2373var spaces = _dereq_(135); 2374var space = '[' + spaces + ']'; 2375var non = '\u200b\u0085'; 2376var ltrim = RegExp('^' + space + space + '*'); 2377var rtrim = RegExp(space + space + '*$'); 2378 2379var exporter = function (KEY, exec, ALIAS) { 2380 var exp = {}; 2381 var FORCE = fails(function () { 2382 return !!spaces[KEY]() || non[KEY]() != non; 2383 }); 2384 var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY]; 2385 if (ALIAS) exp[ALIAS] = fn; 2386 $export($export.P + $export.F * FORCE, 'String', exp); 2387}; 2388 2389// 1 -> String#trimLeft 2390// 2 -> String#trimRight 2391// 3 -> String#trim 2392var trim = exporter.trim = function (string, TYPE) { 2393 string = String(defined(string)); 2394 if (TYPE & 1) string = string.replace(ltrim, ''); 2395 if (TYPE & 2) string = string.replace(rtrim, ''); 2396 return string; 2397}; 2398 2399module.exports = exporter; 2400 2401},{"135":135,"57":57,"62":62,"64":64}],135:[function(_dereq_,module,exports){ 2402module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003' + 2403 '\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; 2404 2405},{}],136:[function(_dereq_,module,exports){ 2406var ctx = _dereq_(54); 2407var invoke = _dereq_(76); 2408var html = _dereq_(73); 2409var cel = _dereq_(59); 2410var global = _dereq_(70); 2411var process = global.process; 2412var setTask = global.setImmediate; 2413var clearTask = global.clearImmediate; 2414var MessageChannel = global.MessageChannel; 2415var Dispatch = global.Dispatch; 2416var counter = 0; 2417var queue = {}; 2418var ONREADYSTATECHANGE = 'onreadystatechange'; 2419var defer, channel, port; 2420var run = function () { 2421 var id = +this; 2422 // eslint-disable-next-line no-prototype-builtins 2423 if (queue.hasOwnProperty(id)) { 2424 var fn = queue[id]; 2425 delete queue[id]; 2426 fn(); 2427 } 2428}; 2429var listener = function (event) { 2430 run.call(event.data); 2431}; 2432// Node.js 0.9+ & IE10+ has setImmediate, otherwise: 2433if (!setTask || !clearTask) { 2434 setTask = function setImmediate(fn) { 2435 var args = []; 2436 var i = 1; 2437 while (arguments.length > i) args.push(arguments[i++]); 2438 queue[++counter] = function () { 2439 // eslint-disable-next-line no-new-func 2440 invoke(typeof fn == 'function' ? fn : Function(fn), args); 2441 }; 2442 defer(counter); 2443 return counter; 2444 }; 2445 clearTask = function clearImmediate(id) { 2446 delete queue[id]; 2447 }; 2448 // Node.js 0.8- 2449 if (_dereq_(48)(process) == 'process') { 2450 defer = function (id) { 2451 process.nextTick(ctx(run, id, 1)); 2452 }; 2453 // Sphere (JS game engine) Dispatch API 2454 } else if (Dispatch && Dispatch.now) { 2455 defer = function (id) { 2456 Dispatch.now(ctx(run, id, 1)); 2457 }; 2458 // Browsers with MessageChannel, includes WebWorkers 2459 } else if (MessageChannel) { 2460 channel = new MessageChannel(); 2461 port = channel.port2; 2462 channel.port1.onmessage = listener; 2463 defer = ctx(port.postMessage, port, 1); 2464 // Browsers with postMessage, skip WebWorkers 2465 // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' 2466 } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { 2467 defer = function (id) { 2468 global.postMessage(id + '', '*'); 2469 }; 2470 global.addEventListener('message', listener, false); 2471 // IE8- 2472 } else if (ONREADYSTATECHANGE in cel('script')) { 2473 defer = function (id) { 2474 html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () { 2475 html.removeChild(this); 2476 run.call(id); 2477 }; 2478 }; 2479 // Rest old browsers 2480 } else { 2481 defer = function (id) { 2482 setTimeout(ctx(run, id, 1), 0); 2483 }; 2484 } 2485} 2486module.exports = { 2487 set: setTask, 2488 clear: clearTask 2489}; 2490 2491},{"48":48,"54":54,"59":59,"70":70,"73":73,"76":76}],137:[function(_dereq_,module,exports){ 2492var toInteger = _dereq_(139); 2493var max = Math.max; 2494var min = Math.min; 2495module.exports = function (index, length) { 2496 index = toInteger(index); 2497 return index < 0 ? max(index + length, 0) : min(index, length); 2498}; 2499 2500},{"139":139}],138:[function(_dereq_,module,exports){ 2501// https://tc39.github.io/ecma262/#sec-toindex 2502var toInteger = _dereq_(139); 2503var toLength = _dereq_(141); 2504module.exports = function (it) { 2505 if (it === undefined) return 0; 2506 var number = toInteger(it); 2507 var length = toLength(number); 2508 if (number !== length) throw RangeError('Wrong length!'); 2509 return length; 2510}; 2511 2512},{"139":139,"141":141}],139:[function(_dereq_,module,exports){ 2513// 7.1.4 ToInteger 2514var ceil = Math.ceil; 2515var floor = Math.floor; 2516module.exports = function (it) { 2517 return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it); 2518}; 2519 2520},{}],140:[function(_dereq_,module,exports){ 2521// to indexed object, toObject with fallback for non-array-like ES3 strings 2522var IObject = _dereq_(77); 2523var defined = _dereq_(57); 2524module.exports = function (it) { 2525 return IObject(defined(it)); 2526}; 2527 2528},{"57":57,"77":77}],141:[function(_dereq_,module,exports){ 2529// 7.1.15 ToLength 2530var toInteger = _dereq_(139); 2531var min = Math.min; 2532module.exports = function (it) { 2533 return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 2534}; 2535 2536},{"139":139}],142:[function(_dereq_,module,exports){ 2537// 7.1.13 ToObject(argument) 2538var defined = _dereq_(57); 2539module.exports = function (it) { 2540 return Object(defined(it)); 2541}; 2542 2543},{"57":57}],143:[function(_dereq_,module,exports){ 2544arguments[4][31][0].apply(exports,arguments) 2545},{"31":31,"81":81}],144:[function(_dereq_,module,exports){ 2546'use strict'; 2547if (_dereq_(58)) { 2548 var LIBRARY = _dereq_(89); 2549 var global = _dereq_(70); 2550 var fails = _dereq_(64); 2551 var $export = _dereq_(62); 2552 var $typed = _dereq_(146); 2553 var $buffer = _dereq_(145); 2554 var ctx = _dereq_(54); 2555 var anInstance = _dereq_(37); 2556 var propertyDesc = _dereq_(116); 2557 var hide = _dereq_(72); 2558 var redefineAll = _dereq_(117); 2559 var toInteger = _dereq_(139); 2560 var toLength = _dereq_(141); 2561 var toIndex = _dereq_(138); 2562 var toAbsoluteIndex = _dereq_(137); 2563 var toPrimitive = _dereq_(143); 2564 var has = _dereq_(71); 2565 var classof = _dereq_(47); 2566 var isObject = _dereq_(81); 2567 var toObject = _dereq_(142); 2568 var isArrayIter = _dereq_(78); 2569 var create = _dereq_(98); 2570 var getPrototypeOf = _dereq_(105); 2571 var gOPN = _dereq_(103).f; 2572 var getIterFn = _dereq_(153); 2573 var uid = _dereq_(147); 2574 var wks = _dereq_(152); 2575 var createArrayMethod = _dereq_(42); 2576 var createArrayIncludes = _dereq_(41); 2577 var speciesConstructor = _dereq_(127); 2578 var ArrayIterators = _dereq_(164); 2579 var Iterators = _dereq_(88); 2580 var $iterDetect = _dereq_(86); 2581 var setSpecies = _dereq_(123); 2582 var arrayFill = _dereq_(40); 2583 var arrayCopyWithin = _dereq_(39); 2584 var $DP = _dereq_(99); 2585 var $GOPD = _dereq_(101
vendor: 8,586 bytes, lines 2585-2813
2585); 2586 var dP = $DP.f; 2587 var gOPD = $GOPD.f; 2588 var RangeError = global.RangeError; 2589 var TypeError = global.TypeError; 2590 var Uint8Array = global.Uint8Array; 2591 var ARRAY_BUFFER = 'ArrayBuffer'; 2592 var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER; 2593 var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; 2594 var PROTOTYPE = 'prototype'; 2595 var ArrayProto = Array[PROTOTYPE]; 2596 var $ArrayBuffer = $buffer.ArrayBuffer; 2597 var $DataView = $buffer.DataView; 2598 var arrayForEach = createArrayMethod(0); 2599 var arrayFilter = createArrayMethod(2); 2600 var arraySome = createArrayMethod(3); 2601 var arrayEvery = createArrayMethod(4); 2602 var arrayFind = createArrayMethod(5); 2603 var arrayFindIndex = createArrayMethod(6); 2604 var arrayIncludes = createArrayIncludes(true); 2605 var arrayIndexOf = createArrayIncludes(false); 2606 var arrayValues = ArrayIterators.values; 2607 var arrayKeys = ArrayIterators.keys; 2608 var arrayEntries = ArrayIterators.entries; 2609 var arrayLastIndexOf = ArrayProto.lastIndexOf; 2610 var arrayReduce = ArrayProto.reduce; 2611 var arrayReduceRight = ArrayProto.reduceRight; 2612 var arrayJoin = ArrayProto.join; 2613 var arraySort = ArrayProto.sort; 2614 var arraySlice = ArrayProto.slice; 2615 var arrayToString = ArrayProto.toString; 2616 var arrayToLocaleString = ArrayProto.toLocaleString; 2617 var ITERATOR = wks('iterator'); 2618 var TAG = wks('toStringTag'); 2619 var TYPED_CONSTRUCTOR = uid('typed_constructor'); 2620 var DEF_CONSTRUCTOR = uid('def_constructor'); 2621 var ALL_CONSTRUCTORS = $typed.CONSTR; 2622 var TYPED_ARRAY = $typed.TYPED; 2623 var VIEW = $typed.VIEW; 2624 var WRONG_LENGTH = 'Wrong length!'; 2625 2626 var $map = createArrayMethod(1, function (O, length) { 2627 return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length); 2628 }); 2629 2630 var LITTLE_ENDIAN = fails(function () { 2631 // eslint-disable-next-line no-undef 2632 return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1; 2633 }); 2634 2635 var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () { 2636 new Uint8Array(1).set({}); 2637 }); 2638 2639 var toOffset = function (it, BYTES) { 2640 var offset = toInteger(it); 2641 if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!'); 2642 return offset; 2643 }; 2644 2645 var validate = function (it) { 2646 if (isObject(it) && TYPED_ARRAY in it) return it; 2647 throw TypeError(it + ' is not a typed array!'); 2648 }; 2649 2650 var allocate = function (C, length) { 2651 if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) { 2652 throw TypeError('It is not a typed array constructor!'); 2653 } return new C(length); 2654 }; 2655 2656 var speciesFromList = function (O, list) { 2657 return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list); 2658 }; 2659 2660 var fromList = function (C, list) { 2661 var index = 0; 2662 var length = list.length; 2663 var result = allocate(C, length); 2664 while (length > index) result[index] = list[index++]; 2665 return result; 2666 }; 2667 2668 var addGetter = function (it, key, internal) { 2669 dP(it, key, { get: function () { return this._d[internal]; } }); 2670 }; 2671 2672 var $from = function from(source /* , mapfn, thisArg */) { 2673 var O = toObject(source); 2674 var aLen = arguments.length; 2675 var mapfn = aLen > 1 ? arguments[1] : undefined; 2676 var mapping = mapfn !== undefined; 2677 var iterFn = getIterFn(O); 2678 var i, length, values, result, step, iterator; 2679 if (iterFn != undefined && !isArrayIter(iterFn)) { 2680 for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) { 2681 values.push(step.value); 2682 } O = values; 2683 } 2684 if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2); 2685 for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) { 2686 result[i] = mapping ? mapfn(O[i], i) : O[i]; 2687 } 2688 return result; 2689 }; 2690 2691 var $of = function of(/* ...items */) { 2692 var index = 0; 2693 var length = arguments.length; 2694 var result = allocate(this, length); 2695 while (length > index) result[index] = arguments[index++]; 2696 return result; 2697 }; 2698 2699 // iOS Safari 6.x fails here 2700 var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); }); 2701 2702 var $toLocaleString = function toLocaleString() { 2703 return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments); 2704 }; 2705 2706 var proto = { 2707 copyWithin: function copyWithin(target, start /* , end */) { 2708 return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined); 2709 }, 2710 every: function every(callbackfn /* , thisArg */) { 2711 return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 2712 }, 2713 fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars 2714 return arrayFill.apply(validate(this), arguments); 2715 }, 2716 filter: function filter(callbackfn /* , thisArg */) { 2717 return speciesFromList(this, arrayFilter(validate(this), callbackfn, 2718 arguments.length > 1 ? arguments[1] : undefined)); 2719 }, 2720 find: function find(predicate /* , thisArg */) { 2721 return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); 2722 }, 2723 findIndex: function findIndex(predicate /* , thisArg */) { 2724 return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined); 2725 }, 2726 forEach: function forEach(callbackfn /* , thisArg */) { 2727 arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 2728 }, 2729 indexOf: function indexOf(searchElement /* , fromIndex */) { 2730 return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); 2731 }, 2732 includes: function includes(searchElement /* , fromIndex */) { 2733 return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); 2734 }, 2735 join: function join(separator) { // eslint-disable-line no-unused-vars 2736 return arrayJoin.apply(validate(this), arguments); 2737 }, 2738 lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars 2739 return arrayLastIndexOf.apply(validate(this), arguments); 2740 }, 2741 map: function map(mapfn /* , thisArg */) { 2742 return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined); 2743 }, 2744 reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars 2745 return arrayReduce.apply(validate(this), arguments); 2746 }, 2747 reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars 2748 return arrayReduceRight.apply(validate(this), arguments); 2749 }, 2750 reverse: function reverse() { 2751 var that = this; 2752 var length = validate(that).length; 2753 var middle = Math.floor(length / 2); 2754 var index = 0; 2755 var value; 2756 while (index < middle) { 2757 value = that[index]; 2758 that[index++] = that[--length]; 2759 that[length] = value; 2760 } return that; 2761 }, 2762 some: function some(callbackfn /* , thisArg */) { 2763 return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 2764 }, 2765 sort: function sort(comparefn) { 2766 return arraySort.call(validate(this), comparefn); 2767 }, 2768 subarray: function subarray(begin, end) { 2769 var O = validate(this); 2770 var length = O.length; 2771 var $begin = toAbsoluteIndex(begin, length); 2772 return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))( 2773 O.buffer, 2774 O.byteOffset + $begin * O.BYTES_PER_ELEMENT, 2775 toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin) 2776 ); 2777 } 2778 }; 2779 2780 var $slice = function slice(start, end) { 2781 return speciesFromList(this, arraySlice.call(validate(this), start, end)); 2782 }; 2783 2784 var $set = function set(arrayLike /* , offset */) { 2785 validate(this); 2786 var offset = toOffset(arguments[1], 1); 2787 var length = this.length; 2788 var src = toObject(arrayLike); 2789 var len = toLength(src.length); 2790 var index = 0; 2791 if (len + offset > length) throw RangeError(WRONG_LENGTH); 2792 while (index < len) this[offset + index] = src[index++]; 2793 }; 2794 2795 var $iterators = { 2796 entries: function entries() { 2797 return arrayEntries.call(validate(this)); 2798 }, 2799 keys: function keys() { 2800 return arrayKeys.call(validate(this)); 2801 }, 2802 values: function values() { 2803 return arrayValues.call(validate(this)); 2804 } 2805 }; 2806 2807 var isTAIndex = function (target, key) { 2808 return isObject(target) 2809 && target[TYPED_ARRAY] 2810 && typeof key != 'symbol' 2811 && key in target 2812 && String(+key) == String(key); 2813 };
vendor: 7,985 bytes, lines 2814-3025
2814 var $getDesc = function getOwnPropertyDescriptor(target, key) { 2815 return isTAIndex(target, key = toPrimitive(key, true)) 2816 ? propertyDesc(2, target[key]) 2817 : gOPD(target, key); 2818 }; 2819 var $setDesc = function defineProperty(target, key, desc) { 2820 if (isTAIndex(target, key = toPrimitive(key, true)) 2821 && isObject(desc) 2822 && has(desc, 'value') 2823 && !has(desc, 'get') 2824 && !has(desc, 'set') 2825 // TODO: add validation descriptor w/o calling accessors 2826 && !desc.configurable 2827 && (!has(desc, 'writable') || desc.writable) 2828 && (!has(desc, 'enumerable') || desc.enumerable) 2829 ) { 2830 target[key] = desc.value; 2831 return target; 2832 } return dP(target, key, desc); 2833 }; 2834 2835 if (!ALL_CONSTRUCTORS) { 2836 $GOPD.f = $getDesc; 2837 $DP.f = $setDesc; 2838 } 2839 2840 $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', { 2841 getOwnPropertyDescriptor: $getDesc, 2842 defineProperty: $setDesc 2843 }); 2844 2845 if (fails(function () { arrayToString.call({}); })) { 2846 arrayToString = arrayToLocaleString = function toString() { 2847 return arrayJoin.call(this); 2848 }; 2849 } 2850 2851 var $TypedArrayPrototype$ = redefineAll({}, proto); 2852 redefineAll($TypedArrayPrototype$, $iterators); 2853 hide($TypedArrayPrototype$, ITERATOR, $iterators.values); 2854 redefineAll($TypedArrayPrototype$, { 2855 slice: $slice, 2856 set: $set, 2857 constructor: function () { /* noop */ }, 2858 toString: arrayToString, 2859 toLocaleString: $toLocaleString 2860 }); 2861 addGetter($TypedArrayPrototype$, 'buffer', 'b'); 2862 addGetter($TypedArrayPrototype$, 'byteOffset', 'o'); 2863 addGetter($TypedArrayPrototype$, 'byteLength', 'l'); 2864 addGetter($TypedArrayPrototype$, 'length', 'e'); 2865 dP($TypedArrayPrototype$, TAG, { 2866 get: function () { return this[TYPED_ARRAY]; } 2867 }); 2868 2869 // eslint-disable-next-line max-statements 2870 module.exports = function (KEY, BYTES, wrapper, CLAMPED) { 2871 CLAMPED = !!CLAMPED; 2872 var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array'; 2873 var GETTER = 'get' + KEY; 2874 var SETTER = 'set' + KEY; 2875 var TypedArray = global[NAME]; 2876 var Base = TypedArray || {}; 2877 var TAC = TypedArray && getPrototypeOf(TypedArray); 2878 var FORCED = !TypedArray || !$typed.ABV; 2879 var O = {}; 2880 var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE]; 2881 var getter = function (that, index) { 2882 var data = that._d; 2883 return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN); 2884 }; 2885 var setter = function (that, index, value) { 2886 var data = that._d; 2887 if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff; 2888 data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN); 2889 }; 2890 var addElement = function (that, index) { 2891 dP(that, index, { 2892 get: function () { 2893 return getter(this, index); 2894 }, 2895 set: function (value) { 2896 return setter(this, index, value); 2897 }, 2898 enumerable: true 2899 }); 2900 }; 2901 if (FORCED) { 2902 TypedArray = wrapper(function (that, data, $offset, $length) { 2903 anInstance(that, TypedArray, NAME, '_d'); 2904 var index = 0; 2905 var offset = 0; 2906 var buffer, byteLength, length, klass; 2907 if (!isObject(data)) { 2908 length = toIndex(data); 2909 byteLength = length * BYTES; 2910 buffer = new $ArrayBuffer(byteLength); 2911 } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { 2912 buffer = data; 2913 offset = toOffset($offset, BYTES); 2914 var $len = data.byteLength; 2915 if ($length === undefined) { 2916 if ($len % BYTES) throw RangeError(WRONG_LENGTH); 2917 byteLength = $len - offset; 2918 if (byteLength < 0) throw RangeError(WRONG_LENGTH); 2919 } else { 2920 byteLength = toLength($length) * BYTES; 2921 if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH); 2922 } 2923 length = byteLength / BYTES; 2924 } else if (TYPED_ARRAY in data) { 2925 return fromList(TypedArray, data); 2926 } else { 2927 return $from.call(TypedArray, data); 2928 } 2929 hide(that, '_d', { 2930 b: buffer, 2931 o: offset, 2932 l: byteLength, 2933 e: length, 2934 v: new $DataView(buffer) 2935 }); 2936 while (index < length) addElement(that, index++); 2937 }); 2938 TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$); 2939 hide(TypedArrayPrototype, 'constructor', TypedArray); 2940 } else if (!fails(function () { 2941 TypedArray(1); 2942 }) || !fails(function () { 2943 new TypedArray(-1); // eslint-disable-line no-new 2944 }) || !$iterDetect(function (iter) { 2945 new TypedArray(); // eslint-disable-line no-new 2946 new TypedArray(null); // eslint-disable-line no-new 2947 new TypedArray(1.5); // eslint-disable-line no-new 2948 new TypedArray(iter); // eslint-disable-line no-new 2949 }, true)) { 2950 TypedArray = wrapper(function (that, data, $offset, $length) { 2951 anInstance(that, TypedArray, NAME); 2952 var klass; 2953 // `ws` module bug, temporarily remove validation length for Uint8Array 2954 // https://github.com/websockets/ws/pull/645 2955 if (!isObject(data)) return new Base(toIndex(data)); 2956 if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) { 2957 return $length !== undefined 2958 ? new Base(data, toOffset($offset, BYTES), $length) 2959 : $offset !== undefined 2960 ? new Base(data, toOffset($offset, BYTES)) 2961 : new Base(data); 2962 } 2963 if (TYPED_ARRAY in data) return fromList(TypedArray, data); 2964 return $from.call(TypedArray, data); 2965 }); 2966 arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) { 2967 if (!(key in TypedArray)) hide(TypedArray, key, Base[key]); 2968 }); 2969 TypedArray[PROTOTYPE] = TypedArrayPrototype; 2970 if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray; 2971 } 2972 var $nativeIterator = TypedArrayPrototype[ITERATOR]; 2973 var CORRECT_ITER_NAME = !!$nativeIterator 2974 && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined); 2975 var $iterator = $iterators.values; 2976 hide(TypedArray, TYPED_CONSTRUCTOR, true); 2977 hide(TypedArrayPrototype, TYPED_ARRAY, NAME); 2978 hide(TypedArrayPrototype, VIEW, true); 2979 hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray); 2980 2981 if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) { 2982 dP(TypedArrayPrototype, TAG, { 2983 get: function () { return NAME; } 2984 }); 2985 } 2986 2987 O[NAME] = TypedArray; 2988 2989 $export($export.G + $export.W + $export.F * (TypedArray != Base), O); 2990 2991 $export($export.S, NAME, { 2992 BYTES_PER_ELEMENT: BYTES 2993 }); 2994 2995 $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, { 2996 from: $from, 2997 of: $of 2998 }); 2999 3000 if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES); 3001 3002 $export($export.P, NAME, proto); 3003 3004 setSpecies(NAME); 3005 3006 $export($export.P + $export.F * FORCED_SET, NAME, { set: $set }); 3007 3008 $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators); 3009 3010 if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString; 3011 3012 $export($export.P + $export.F * fails(function () { 3013 new TypedArray(1).slice(); 3014 }), NAME, { slice: $slice }); 3015 3016 $export($export.P + $export.F * (fails(function () { 3017 return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString(); 3018 }) || !fails(function () { 3019 TypedArrayPrototype.toLocaleString.call([1, 2]); 3020 })), NAME, { toLocaleString: $toLocaleString }); 3021 3022 Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator; 3023 if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator); 3024 }; 3025} else module.exports = function () { /* empty */ };
vendor: 87,748 bytes, lines 3026-5672
3026 3027},{"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){ 3028'use strict'; 3029var global = _dereq_(70); 3030var DESCRIPTORS = _dereq_(58); 3031var LIBRARY = _dereq_(89); 3032var $typed = _dereq_(146); 3033var hide = _dereq_(72); 3034var redefineAll = _dereq_(117); 3035var fails = _dereq_(64); 3036var anInstance = _dereq_(37); 3037var toInteger = _dereq_(139); 3038var toLength = _dereq_(141); 3039var toIndex = _dereq_(138); 3040var gOPN = _dereq_(103).f; 3041var dP = _dereq_(99).f; 3042var arrayFill = _dereq_(40); 3043var setToStringTag = _dereq_(124); 3044var ARRAY_BUFFER = 'ArrayBuffer'; 3045var DATA_VIEW = 'DataView'; 3046var PROTOTYPE = 'prototype'; 3047var WRONG_LENGTH = 'Wrong length!'; 3048var WRONG_INDEX = 'Wrong index!'; 3049var $ArrayBuffer = global[ARRAY_BUFFER]; 3050var $DataView = global[DATA_VIEW]; 3051var Math = global.Math; 3052var RangeError = global.RangeError; 3053// eslint-disable-next-line no-shadow-restricted-names 3054var Infinity = global.Infinity; 3055var BaseBuffer = $ArrayBuffer; 3056var abs = Math.abs; 3057var pow = Math.pow; 3058var floor = Math.floor; 3059var log = Math.log; 3060var LN2 = Math.LN2; 3061var BUFFER = 'buffer'; 3062var BYTE_LENGTH = 'byteLength'; 3063var BYTE_OFFSET = 'byteOffset'; 3064var $BUFFER = DESCRIPTORS ? '_b' : BUFFER; 3065var $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH; 3066var $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET; 3067 3068// IEEE754 conversions based on https://github.com/feross/ieee754 3069function packIEEE754(value, mLen, nBytes) { 3070 var buffer = new Array(nBytes); 3071 var eLen = nBytes * 8 - mLen - 1; 3072 var eMax = (1 << eLen) - 1; 3073 var eBias = eMax >> 1; 3074 var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0; 3075 var i = 0; 3076 var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0; 3077 var e, m, c; 3078 value = abs(value); 3079 // eslint-disable-next-line no-self-compare 3080 if (value != value || value === Infinity) { 3081 // eslint-disable-next-line no-self-compare 3082 m = value != value ? 1 : 0; 3083 e = eMax; 3084 } else { 3085 e = floor(log(value) / LN2); 3086 if (value * (c = pow(2, -e)) < 1) { 3087 e--; 3088 c *= 2; 3089 } 3090 if (e + eBias >= 1) { 3091 value += rt / c; 3092 } else { 3093 value += rt * pow(2, 1 - eBias); 3094 } 3095 if (value * c >= 2) { 3096 e++; 3097 c /= 2; 3098 } 3099 if (e + eBias >= eMax) { 3100 m = 0; 3101 e = eMax; 3102 } else if (e + eBias >= 1) { 3103 m = (value * c - 1) * pow(2, mLen); 3104 e = e + eBias; 3105 } else { 3106 m = value * pow(2, eBias - 1) * pow(2, mLen); 3107 e = 0; 3108 } 3109 } 3110 for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8); 3111 e = e << mLen | m; 3112 eLen += mLen; 3113 for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8); 3114 buffer[--i] |= s * 128; 3115 return buffer; 3116} 3117function unpackIEEE754(buffer, mLen, nBytes) { 3118 var eLen = nBytes * 8 - mLen - 1; 3119 var eMax = (1 << eLen) - 1; 3120 var eBias = eMax >> 1; 3121 var nBits = eLen - 7; 3122 var i = nBytes - 1; 3123 var s = buffer[i--]; 3124 var e = s & 127; 3125 var m; 3126 s >>= 7; 3127 for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8); 3128 m = e & (1 << -nBits) - 1; 3129 e >>= -nBits; 3130 nBits += mLen; 3131 for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8); 3132 if (e === 0) { 3133 e = 1 - eBias; 3134 } else if (e === eMax) { 3135 return m ? NaN : s ? -Infinity : Infinity; 3136 } else { 3137 m = m + pow(2, mLen); 3138 e = e - eBias; 3139 } return (s ? -1 : 1) * m * pow(2, e - mLen); 3140} 3141 3142function unpackI32(bytes) { 3143 return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0]; 3144} 3145function packI8(it) { 3146 return [it & 0xff]; 3147} 3148function packI16(it) { 3149 return [it & 0xff, it >> 8 & 0xff]; 3150} 3151function packI32(it) { 3152 return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff]; 3153} 3154function packF64(it) { 3155 return packIEEE754(it, 52, 8); 3156} 3157function packF32(it) { 3158 return packIEEE754(it, 23, 4); 3159} 3160 3161function addGetter(C, key, internal) { 3162 dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } }); 3163} 3164 3165function get(view, bytes, index, isLittleEndian) { 3166 var numIndex = +index; 3167 var intIndex = toIndex(numIndex); 3168 if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX); 3169 var store = view[$BUFFER]._b; 3170 var start = intIndex + view[$OFFSET]; 3171 var pack = store.slice(start, start + bytes); 3172 return isLittleEndian ? pack : pack.reverse(); 3173} 3174function set(view, bytes, index, conversion, value, 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 = conversion(+value); 3181 for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1]; 3182} 3183 3184if (!$typed.ABV) { 3185 $ArrayBuffer = function ArrayBuffer(length) { 3186 anInstance(this, $ArrayBuffer, ARRAY_BUFFER); 3187 var byteLength = toIndex(length); 3188 this._b = arrayFill.call(new Array(byteLength), 0); 3189 this[$LENGTH] = byteLength; 3190 }; 3191 3192 $DataView = function DataView(buffer, byteOffset, byteLength) { 3193 anInstance(this, $DataView, DATA_VIEW); 3194 anInstance(buffer, $ArrayBuffer, DATA_VIEW); 3195 var bufferLength = buffer[$LENGTH]; 3196 var offset = toInteger(byteOffset); 3197 if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!'); 3198 byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); 3199 if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH); 3200 this[$BUFFER] = buffer; 3201 this[$OFFSET] = offset; 3202 this[$LENGTH] = byteLength; 3203 }; 3204 3205 if (DESCRIPTORS) { 3206 addGetter($ArrayBuffer, BYTE_LENGTH, '_l'); 3207 addGetter($DataView, BUFFER, '_b'); 3208 addGetter($DataView, BYTE_LENGTH, '_l'); 3209 addGetter($DataView, BYTE_OFFSET, '_o'); 3210 } 3211 3212 redefineAll($DataView[PROTOTYPE], { 3213 getInt8: function getInt8(byteOffset) { 3214 return get(this, 1, byteOffset)[0] << 24 >> 24; 3215 }, 3216 getUint8: function getUint8(byteOffset) { 3217 return get(this, 1, byteOffset)[0]; 3218 }, 3219 getInt16: function getInt16(byteOffset /* , littleEndian */) { 3220 var bytes = get(this, 2, byteOffset, arguments[1]); 3221 return (bytes[1] << 8 | bytes[0]) << 16 >> 16; 3222 }, 3223 getUint16: function getUint16(byteOffset /* , littleEndian */) { 3224 var bytes = get(this, 2, byteOffset, arguments[1]); 3225 return bytes[1] << 8 | bytes[0]; 3226 }, 3227 getInt32: function getInt32(byteOffset /* , littleEndian */) { 3228 return unpackI32(get(this, 4, byteOffset, arguments[1])); 3229 }, 3230 getUint32: function getUint32(byteOffset /* , littleEndian */) { 3231 return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0; 3232 }, 3233 getFloat32: function getFloat32(byteOffset /* , littleEndian */) { 3234 return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4); 3235 }, 3236 getFloat64: function getFloat64(byteOffset /* , littleEndian */) { 3237 return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8); 3238 }, 3239 setInt8: function setInt8(byteOffset, value) { 3240 set(this, 1, byteOffset, packI8, value); 3241 }, 3242 setUint8: function setUint8(byteOffset, value) { 3243 set(this, 1, byteOffset, packI8, value); 3244 }, 3245 setInt16: function setInt16(byteOffset, value /* , littleEndian */) { 3246 set(this, 2, byteOffset, packI16, value, arguments[2]); 3247 }, 3248 setUint16: function setUint16(byteOffset, value /* , littleEndian */) { 3249 set(this, 2, byteOffset, packI16, value, arguments[2]); 3250 }, 3251 setInt32: function setInt32(byteOffset, value /* , littleEndian */) { 3252 set(this, 4, byteOffset, packI32, value, arguments[2]); 3253 }, 3254 setUint32: function setUint32(byteOffset, value /* , littleEndian */) { 3255 set(this, 4, byteOffset, packI32, value, arguments[2]); 3256 }, 3257 setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { 3258 set(this, 4, byteOffset, packF32, value, arguments[2]); 3259 }, 3260 setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { 3261 set(this, 8, byteOffset, packF64, value, arguments[2]); 3262 } 3263 }); 3264} else { 3265 if (!fails(function () { 3266 $ArrayBuffer(1); 3267 }) || !fails(function () { 3268 new $ArrayBuffer(-1); // eslint-disable-line no-new 3269 }) || fails(function () { 3270 new $ArrayBuffer(); // eslint-disable-line no-new 3271 new $ArrayBuffer(1.5); // eslint-disable-line no-new 3272 new $ArrayBuffer(NaN); // eslint-disable-line no-new 3273 return $ArrayBuffer.name != ARRAY_BUFFER; 3274 })) { 3275 $ArrayBuffer = function ArrayBuffer(length) { 3276 anInstance(this, $ArrayBuffer); 3277 return new BaseBuffer(toIndex(length)); 3278 }; 3279 var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE]; 3280 for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) { 3281 if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]); 3282 } 3283 if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer; 3284 } 3285 // iOS Safari 7.x bug 3286 var view = new $DataView(new $ArrayBuffer(2)); 3287 var $setInt8 = $DataView[PROTOTYPE].setInt8; 3288 view.setInt8(0, 2147483648); 3289 view.setInt8(1, 2147483649); 3290 if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], { 3291 setInt8: function setInt8(byteOffset, value) { 3292 $setInt8.call(this, byteOffset, value << 24 >> 24); 3293 }, 3294 setUint8: function setUint8(byteOffset, value) { 3295 $setInt8.call(this, byteOffset, value << 24 >> 24); 3296 } 3297 }, true); 3298} 3299setToStringTag($ArrayBuffer, ARRAY_BUFFER); 3300setToStringTag($DataView, DATA_VIEW); 3301hide($DataView[PROTOTYPE], $typed.VIEW, true); 3302exports[ARRAY_BUFFER] = $ArrayBuffer; 3303exports[DATA_VIEW] = $DataView; 3304 3305},{"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){ 3306var global = _dereq_(70); 3307var hide = _dereq_(72); 3308var uid = _dereq_(147); 3309var TYPED = uid('typed_array'); 3310var VIEW = uid('view'); 3311var ABV = !!(global.ArrayBuffer && global.DataView); 3312var CONSTR = ABV; 3313var i = 0; 3314var l = 9; 3315var Typed; 3316 3317var TypedArrayConstructors = ( 3318 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array' 3319).split(','); 3320 3321while (i < l) { 3322 if (Typed = global[TypedArrayConstructors[i++]]) { 3323 hide(Typed.prototype, TYPED, true); 3324 hide(Typed.prototype, VIEW, true); 3325 } else CONSTR = false; 3326} 3327 3328module.exports = { 3329 ABV: ABV, 3330 CONSTR: CONSTR, 3331 TYPED: TYPED, 3332 VIEW: VIEW 3333}; 3334 3335},{"147":147,"70":70,"72":72}],147:[function(_dereq_,module,exports){ 3336var id = 0; 3337var px = Math.random(); 3338module.exports = function (key) { 3339 return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36)); 3340}; 3341 3342},{}],148:[function(_dereq_,module,exports){ 3343var global = _dereq_(70); 3344var navigator = global.navigator; 3345 3346module.exports = navigator && navigator.userAgent || ''; 3347 3348},{"70":70}],149:[function(_dereq_,module,exports){ 3349var isObject = _dereq_(81); 3350module.exports = function (it, TYPE) { 3351 if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!'); 3352 return it; 3353}; 3354 3355},{"81":81}],150:[function(_dereq_,module,exports){ 3356var global = _dereq_(70); 3357var core = _dereq_(52); 3358var LIBRARY = _dereq_(89); 3359var wksExt = _dereq_(151); 3360var defineProperty = _dereq_(99).f; 3361module.exports = function (name) { 3362 var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {}); 3363 if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) }); 3364}; 3365 3366},{"151":151,"52":52,"70":70,"89":89,"99":99}],151:[function(_dereq_,module,exports){ 3367exports.f = _dereq_(152); 3368 3369},{"152":152}],152:[function(_dereq_,module,exports){ 3370var store = _dereq_(126)('wks'); 3371var uid = _dereq_(147); 3372var Symbol = _dereq_(70).Symbol; 3373var USE_SYMBOL = typeof Symbol == 'function'; 3374 3375var $exports = module.exports = function (name) { 3376 return store[name] || (store[name] = 3377 USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name)); 3378}; 3379 3380$exports.store = store; 3381 3382},{"126":126,"147":147,"70":70}],153:[function(_dereq_,module,exports){ 3383var classof = _dereq_(47); 3384var ITERATOR = _dereq_(152)('iterator'); 3385var Iterators = _dereq_(88); 3386module.exports = _dereq_(52).getIteratorMethod = function (it) { 3387 if (it != undefined) return it[ITERATOR] 3388 || it['@@iterator'] 3389 || Iterators[classof(it)]; 3390}; 3391 3392},{"152":152,"47":47,"52":52,"88":88}],154:[function(_dereq_,module,exports){ 3393// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length) 3394var $export = _dereq_(62); 3395 3396$export($export.P, 'Array', { copyWithin: _dereq_(39) }); 3397 3398_dereq_(35)('copyWithin'); 3399 3400},{"35":35,"39":39,"62":62}],155:[function(_dereq_,module,exports){ 3401'use strict'; 3402var $export = _dereq_(62); 3403var $every = _dereq_(42)(4); 3404 3405$export($export.P + $export.F * !_dereq_(128)([].every, true), 'Array', { 3406 // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg]) 3407 every: function every(callbackfn /* , thisArg */) { 3408 return $every(this, callbackfn, arguments[1]); 3409 } 3410}); 3411 3412},{"128":128,"42":42,"62":62}],156:[function(_dereq_,module,exports){ 3413// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length) 3414var $export = _dereq_(62); 3415 3416$export($export.P, 'Array', { fill: _dereq_(40) }); 3417 3418_dereq_(35)('fill'); 3419 3420},{"35":35,"40":40,"62":62}],157:[function(_dereq_,module,exports){ 3421'use strict'; 3422var $export = _dereq_(62); 3423var $filter = _dereq_(42)(2); 3424 3425$export($export.P + $export.F * !_dereq_(128)([].filter, true), 'Array', { 3426 // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg]) 3427 filter: function filter(callbackfn /* , thisArg */) { 3428 return $filter(this, callbackfn, arguments[1]); 3429 } 3430}); 3431 3432},{"128":128,"42":42,"62":62}],158:[function(_dereq_,module,exports){ 3433'use strict'; 3434// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined) 3435var $export = _dereq_(62); 3436var $find = _dereq_(42)(6); 3437var KEY = 'findIndex'; 3438var forced = true; 3439// Shouldn't skip holes 3440if (KEY in []) Array(1)[KEY](function () { forced = false; }); 3441$export($export.P + $export.F * forced, 'Array', { 3442 findIndex: function findIndex(callbackfn /* , that = undefined */) { 3443 return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 3444 } 3445}); 3446_dereq_(35)(KEY); 3447 3448},{"35":35,"42":42,"62":62}],159:[function(_dereq_,module,exports){ 3449'use strict'; 3450// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined) 3451var $export = _dereq_(62); 3452var $find = _dereq_(42)(5); 3453var KEY = 'find'; 3454var forced = true; 3455// Shouldn't skip holes 3456if (KEY in []) Array(1)[KEY](function () { forced = false; }); 3457$export($export.P + $export.F * forced, 'Array', { 3458 find: function find(callbackfn /* , that = undefined */) { 3459 return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 3460 } 3461}); 3462_dereq_(35)(KEY); 3463 3464},{"35":35,"42":42,"62":62}],160:[function(_dereq_,module,exports){ 3465'use strict'; 3466var $export = _dereq_(62); 3467var $forEach = _dereq_(42)(0); 3468var STRICT = _dereq_(128)([].forEach, true); 3469 3470$export($export.P + $export.F * !STRICT, 'Array', { 3471 // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg]) 3472 forEach: function forEach(callbackfn /* , thisArg */) { 3473 return $forEach(this, callbackfn, arguments[1]); 3474 } 3475}); 3476 3477},{"128":128,"42":42,"62":62}],161:[function(_dereq_,module,exports){ 3478'use strict'; 3479var ctx = _dereq_(54); 3480var $export = _dereq_(62); 3481var toObject = _dereq_(142); 3482var call = _dereq_(83); 3483var isArrayIter = _dereq_(78); 3484var toLength = _dereq_(141); 3485var createProperty = _dereq_(53); 3486var getIterFn = _dereq_(153); 3487 3488$export($export.S + $export.F * !_dereq_(86)(function (iter) { Array.from(iter); }), 'Array', { 3489 // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined) 3490 from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { 3491 var O = toObject(arrayLike); 3492 var C = typeof this == 'function' ? this : Array; 3493 var aLen = arguments.length; 3494 var mapfn = aLen > 1 ? arguments[1] : undefined; 3495 var mapping = mapfn !== undefined; 3496 var index = 0; 3497 var iterFn = getIterFn(O); 3498 var length, result, step, iterator; 3499 if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2); 3500 // if object isn't iterable or it's array with default iterator - use simple case 3501 if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) { 3502 for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) { 3503 createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value); 3504 } 3505 } else { 3506 length = toLength(O.length); 3507 for (result = new C(length); length > index; index++) { 3508 createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); 3509 } 3510 } 3511 result.length = index; 3512 return result; 3513 } 3514}); 3515 3516},{"141":141,"142":142,"153":153,"53":53,"54":54,"62":62,"78":78,"83":83,"86":86}],162:[function(_dereq_,module,exports){ 3517'use strict'; 3518var $export = _dereq_(62); 3519var $indexOf = _dereq_(41)(false); 3520var $native = [].indexOf; 3521var NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0; 3522 3523$export($export.P + $export.F * (NEGATIVE_ZERO || !_dereq_(128)($native)), 'Array', { 3524 // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex]) 3525 indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { 3526 return NEGATIVE_ZERO 3527 // convert -0 to +0 3528 ? $native.apply(this, arguments) || 0 3529 : $indexOf(this, searchElement, arguments[1]); 3530 } 3531}); 3532 3533},{"128":128,"41":41,"62":62}],163:[function(_dereq_,module,exports){ 3534// 22.1.2.2 / 15.4.3.2 Array.isArray(arg) 3535var $export = _dereq_(62); 3536 3537$export($export.S, 'Array', { isArray: _dereq_(79) }); 3538 3539},{"62":62,"79":79}],164:[function(_dereq_,module,exports){ 3540'use strict'; 3541var addToUnscopables = _dereq_(35); 3542var step = _dereq_(87); 3543var Iterators = _dereq_(88); 3544var toIObject = _dereq_(140); 3545 3546// 22.1.3.4 Array.prototype.entries() 3547// 22.1.3.13 Array.prototype.keys() 3548// 22.1.3.29 Array.prototype.values() 3549// 22.1.3.30 Array.prototype[@@iterator]() 3550module.exports = _dereq_(85)(Array, 'Array', function (iterated, kind) { 3551 this._t = toIObject(iterated); // target 3552 this._i = 0; // next index 3553 this._k = kind; // kind 3554// 22.1.5.2.1 %ArrayIteratorPrototype%.next() 3555}, function () { 3556 var O = this._t; 3557 var kind = this._k; 3558 var index = this._i++; 3559 if (!O || index >= O.length) { 3560 this._t = undefined; 3561 return step(1); 3562 } 3563 if (kind == 'keys') return step(0, index); 3564 if (kind == 'values') return step(0, O[index]); 3565 return step(0, [index, O[index]]); 3566}, 'values'); 3567 3568// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) 3569Iterators.Arguments = Iterators.Array; 3570 3571addToUnscopables('keys'); 3572addToUnscopables('values'); 3573addToUnscopables('entries'); 3574 3575},{"140":140,"35":35,"85":85,"87":87,"88":88}],165:[function(_dereq_,module,exports){ 3576'use strict'; 3577// 22.1.3.13 Array.prototype.join(separator) 3578var $export = _dereq_(62); 3579var toIObject = _dereq_(140); 3580var arrayJoin = [].join; 3581 3582// fallback for not array-like strings 3583$export($export.P + $export.F * (_dereq_(77) != Object || !_dereq_(128)(arrayJoin)), 'Array', { 3584 join: function join(separator) { 3585 return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator); 3586 } 3587}); 3588 3589},{"128":128,"140":140,"62":62,"77":77}],166:[function(_dereq_,module,exports){ 3590'use strict'; 3591var $export = _dereq_(62); 3592var toIObject = _dereq_(140); 3593var toInteger = _dereq_(139); 3594var toLength = _dereq_(141); 3595var $native = [].lastIndexOf; 3596var NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0; 3597 3598$export($export.P + $export.F * (NEGATIVE_ZERO || !_dereq_(128)($native)), 'Array', { 3599 // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex]) 3600 lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { 3601 // convert -0 to +0 3602 if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0; 3603 var O = toIObject(this); 3604 var length = toLength(O.length); 3605 var index = length - 1; 3606 if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1])); 3607 if (index < 0) index = length + index; 3608 for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0; 3609 return -1; 3610 } 3611}); 3612 3613},{"128":128,"139":139,"140":140,"141":141,"62":62}],167:[function(_dereq_,module,exports){ 3614'use strict'; 3615var $export = _dereq_(62); 3616var $map = _dereq_(42)(1); 3617 3618$export($export.P + $export.F * !_dereq_(128)([].map, true), 'Array', { 3619 // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg]) 3620 map: function map(callbackfn /* , thisArg */) { 3621 return $map(this, callbackfn, arguments[1]); 3622 } 3623}); 3624 3625},{"128":128,"42":42,"62":62}],168:[function(_dereq_,module,exports){ 3626'use strict'; 3627var $export = _dereq_(62); 3628var createProperty = _dereq_(53); 3629 3630// WebKit Array.of isn't generic 3631$export($export.S + $export.F * _dereq_(64)(function () { 3632 function F() { /* empty */ } 3633 return !(Array.of.call(F) instanceof F); 3634}), 'Array', { 3635 // 22.1.2.3 Array.of( ...items) 3636 of: function of(/* ...args */) { 3637 var index = 0; 3638 var aLen = arguments.length; 3639 var result = new (typeof this == 'function' ? this : Array)(aLen); 3640 while (aLen > index) createProperty(result, index, arguments[index++]); 3641 result.length = aLen; 3642 return result; 3643 } 3644}); 3645 3646},{"53":53,"62":62,"64":64}],169:[function(_dereq_,module,exports){ 3647'use strict'; 3648var $export = _dereq_(62); 3649var $reduce = _dereq_(43); 3650 3651$export($export.P + $export.F * !_dereq_(128)([].reduceRight, true), 'Array', { 3652 // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue]) 3653 reduceRight: function reduceRight(callbackfn /* , initialValue */) { 3654 return $reduce(this, callbackfn, arguments.length, arguments[1], true); 3655 } 3656}); 3657 3658},{"128":128,"43":43,"62":62}],170:[function(_dereq_,module,exports){ 3659'use strict'; 3660var $export = _dereq_(62); 3661var $reduce = _dereq_(43); 3662 3663$export($export.P + $export.F * !_dereq_(128)([].reduce, true), 'Array', { 3664 // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue]) 3665 reduce: function reduce(callbackfn /* , initialValue */) { 3666 return $reduce(this, callbackfn, arguments.length, arguments[1], false); 3667 } 3668}); 3669 3670},{"128":128,"43":43,"62":62}],171:[function(_dereq_,module,exports){ 3671'use strict'; 3672var $export = _dereq_(62); 3673var html = _dereq_(73); 3674var cof = _dereq_(48); 3675var toAbsoluteIndex = _dereq_(137); 3676var toLength = _dereq_(141); 3677var arraySlice = [].slice; 3678 3679// fallback for not array-like ES3 strings and DOM objects 3680$export($export.P + $export.F * _dereq_(64)(function () { 3681 if (html) arraySlice.call(html); 3682}), 'Array', { 3683 slice: function slice(begin, end) { 3684 var len = toLength(this.length); 3685 var klass = cof(this); 3686 end = end === undefined ? len : end; 3687 if (klass == 'Array') return arraySlice.call(this, begin, end); 3688 var start = toAbsoluteIndex(begin, len); 3689 var upTo = toAbsoluteIndex(end, len); 3690 var size = toLength(upTo - start); 3691 var cloned = new Array(size); 3692 var i = 0; 3693 for (; i < size; i++) cloned[i] = klass == 'String' 3694 ? this.charAt(start + i) 3695 : this[start + i]; 3696 return cloned; 3697 } 3698}); 3699 3700},{"137":137,"141":141,"48":48,"62":62,"64":64,"73":73}],172:[function(_dereq_,module,exports){ 3701'use strict'; 3702var $export = _dereq_(62); 3703var $some = _dereq_(42)(3); 3704 3705$export($export.P + $export.F * !_dereq_(128)([].some, true), 'Array', { 3706 // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg]) 3707 some: function some(callbackfn /* , thisArg */) { 3708 return $some(this, callbackfn, arguments[1]); 3709 } 3710}); 3711 3712},{"128":128,"42":42,"62":62}],173:[function(_dereq_,module,exports){ 3713'use strict'; 3714var $export = _dereq_(62); 3715var aFunction = _dereq_(33); 3716var toObject = _dereq_(142); 3717var fails = _dereq_(64); 3718var $sort = [].sort; 3719var test = [1, 2, 3]; 3720 3721$export($export.P + $export.F * (fails(function () { 3722 // IE8- 3723 test.sort(undefined); 3724}) || !fails(function () { 3725 // V8 bug 3726 test.sort(null); 3727 // Old WebKit 3728}) || !_dereq_(128)($sort)), 'Array', { 3729 // 22.1.3.25 Array.prototype.sort(comparefn) 3730 sort: function sort(comparefn) { 3731 return comparefn === undefined 3732 ? $sort.call(toObject(this)) 3733 : $sort.call(toObject(this), aFunction(comparefn)); 3734 } 3735}); 3736 3737},{"128":128,"142":142,"33":33,"62":62,"64":64}],174:[function(_dereq_,module,exports){ 3738_dereq_(123)('Array'); 3739 3740},{"123":123}],175:[function(_dereq_,module,exports){ 3741// 20.3.3.1 / 15.9.4.4 Date.now() 3742var $export = _dereq_(62); 3743 3744$export($export.S, 'Date', { now: function () { return new Date().getTime(); } }); 3745 3746},{"62":62}],176:[function(_dereq_,module,exports){ 3747// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString() 3748var $export = _dereq_(62); 3749var toISOString = _dereq_(55); 3750 3751// PhantomJS / old WebKit has a broken implementations 3752$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', { 3753 toISOString: toISOString 3754}); 3755 3756},{"55":55,"62":62}],177:[function(_dereq_,module,exports){ 3757'use strict'; 3758var $export = _dereq_(62); 3759var toObject = _dereq_(142); 3760var toPrimitive = _dereq_(143); 3761 3762$export($export.P + $export.F * _dereq_(64)(function () { 3763 return new Date(NaN).toJSON() !== null 3764 || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; 3765}), 'Date', { 3766 // eslint-disable-next-line no-unused-vars 3767 toJSON: function toJSON(key) { 3768 var O = toObject(this); 3769 var pv = toPrimitive(O); 3770 return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); 3771 } 3772}); 3773 3774},{"142":142,"143":143,"62":62,"64":64}],178:[function(_dereq_,module,exports){ 3775var TO_PRIMITIVE = _dereq_(152)('toPrimitive'); 3776var proto = Date.prototype; 3777 3778if (!(TO_PRIMITIVE in proto)) _dereq_(72)(proto, TO_PRIMITIVE, _dereq_(56)); 3779 3780},{"152":152,"56":56,"72":72}],179:[function(_dereq_,module,exports){ 3781var DateProto = Date.prototype; 3782var INVALID_DATE = 'Invalid Date'; 3783var TO_STRING = 'toString'; 3784var $toString = DateProto[TO_STRING]; 3785var getTime = DateProto.getTime; 3786if (new Date(NaN) + '' != INVALID_DATE) { 3787 _dereq_(118)(DateProto, TO_STRING, function toString() { 3788 var value = getTime.call(this); 3789 // eslint-disable-next-line no-self-compare 3790 return value === value ? $toString.call(this) : INVALID_DATE; 3791 }); 3792} 3793 3794},{"118":118}],180:[function(_dereq_,module,exports){ 3795// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...) 3796var $export = _dereq_(62); 3797 3798$export($export.P, 'Function', { bind: _dereq_(46) }); 3799 3800},{"46":46,"62":62}],181:[function(_dereq_,module,exports){ 3801'use strict'; 3802var isObject = _dereq_(81); 3803var getPrototypeOf = _dereq_(105); 3804var HAS_INSTANCE = _dereq_(152)('hasInstance'); 3805var FunctionProto = Function.prototype; 3806// 19.2.3.6 Function.prototype[@@hasInstance](V) 3807if (!(HAS_INSTANCE in FunctionProto)) _dereq_(99).f(FunctionProto, HAS_INSTANCE, { value: function (O) { 3808 if (typeof this != 'function' || !isObject(O)) return false; 3809 if (!isObject(this.prototype)) return O instanceof this; 3810 // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: 3811 while (O = getPrototypeOf(O)) if (this.prototype === O) return true; 3812 return false; 3813} }); 3814 3815},{"105":105,"152":152,"81":81,"99":99}],182:[function(_dereq_,module,exports){ 3816var dP = _dereq_(99).f; 3817var FProto = Function.prototype; 3818var nameRE = /^\s*function ([^ (]*)/; 3819var NAME = 'name'; 3820 3821// 19.2.4.2 name 3822NAME in FProto || _dereq_(58) && dP(FProto, NAME, { 3823 configurable: true, 3824 get: function () { 3825 try { 3826 return ('' + this).match(nameRE)[1]; 3827 } catch (e) { 3828 return ''; 3829 } 3830 } 3831}); 3832 3833},{"58":58,"99":99}],183:[function(_dereq_,module,exports){ 3834'use strict'; 3835var strong = _dereq_(49); 3836var validate = _dereq_(149); 3837var MAP = 'Map'; 3838 3839// 23.1 Map Objects 3840module.exports = _dereq_(51)(MAP, function (get) { 3841 return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; 3842}, { 3843 // 23.1.3.6 Map.prototype.get(key) 3844 get: function get(key) { 3845 var entry = strong.getEntry(validate(this, MAP), key); 3846 return entry && entry.v; 3847 }, 3848 // 23.1.3.9 Map.prototype.set(key, value) 3849 set: function set(key, value) { 3850 return strong.def(validate(this, MAP), key === 0 ? 0 : key, value); 3851 } 3852}, strong, true); 3853 3854},{"149":149,"49":49,"51":51}],184:[function(_dereq_,module,exports){ 3855// 20.2.2.3 Math.acosh(x) 3856var $export = _dereq_(62); 3857var log1p = _dereq_(92); 3858var sqrt = Math.sqrt; 3859var $acosh = Math.acosh; 3860 3861$export($export.S + $export.F * !($acosh 3862 // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 3863 && Math.floor($acosh(Number.MAX_VALUE)) == 710 3864 // Tor Browser bug: Math.acosh(Infinity) -> NaN 3865 && $acosh(Infinity) == Infinity 3866), 'Math', { 3867 acosh: function acosh(x) { 3868 return (x = +x) < 1 ? NaN : x > 94906265.62425156 3869 ? Math.log(x) + Math.LN2 3870 : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1)); 3871 } 3872}); 3873 3874},{"62":62,"92":92}],185:[function(_dereq_,module,exports){ 3875// 20.2.2.5 Math.asinh(x) 3876var $export = _dereq_(62); 3877var $asinh = Math.asinh; 3878 3879function asinh(x) { 3880 return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1)); 3881} 3882 3883// Tor Browser bug: Math.asinh(0) -> -0 3884$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh }); 3885 3886},{"62":62}],186:[function(_dereq_,module,exports){ 3887// 20.2.2.7 Math.atanh(x) 3888var $export = _dereq_(62); 3889var $atanh = Math.atanh; 3890 3891// Tor Browser bug: Math.atanh(-0) -> 0 3892$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', { 3893 atanh: function atanh(x) { 3894 return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2; 3895 } 3896}); 3897 3898},{"62":62}],187:[function(_dereq_,module,exports){ 3899// 20.2.2.9 Math.cbrt(x) 3900var $export = _dereq_(62); 3901var sign = _dereq_(93); 3902 3903$export($export.S, 'Math', { 3904 cbrt: function cbrt(x) { 3905 return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3); 3906 } 3907}); 3908 3909},{"62":62,"93":93}],188:[function(_dereq_,module,exports){ 3910// 20.2.2.11 Math.clz32(x) 3911var $export = _dereq_(62); 3912 3913$export($export.S, 'Math', { 3914 clz32: function clz32(x) { 3915 return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32; 3916 } 3917}); 3918 3919},{"62":62}],189:[function(_dereq_,module,exports){ 3920// 20.2.2.12 Math.cosh(x) 3921var $export = _dereq_(62); 3922var exp = Math.exp; 3923 3924$export($export.S, 'Math', { 3925 cosh: function cosh(x) { 3926 return (exp(x = +x) + exp(-x)) / 2; 3927 } 3928}); 3929 3930},{"62":62}],190:[function(_dereq_,module,exports){ 3931// 20.2.2.14 Math.expm1(x) 3932var $export = _dereq_(62); 3933var $expm1 = _dereq_(90); 3934 3935$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 }); 3936 3937},{"62":62,"90":90}],191:[function(_dereq_,module,exports){ 3938// 20.2.2.16 Math.fround(x) 3939var $export = _dereq_(62); 3940 3941$export($export.S, 'Math', { fround: _dereq_(91) }); 3942 3943},{"62":62,"91":91}],192:[function(_dereq_,module,exports){ 3944// 20.2.2.17 Math.hypot([value1[, value2[, … ]]]) 3945var $export = _dereq_(62); 3946var abs = Math.abs; 3947 3948$export($export.S, 'Math', { 3949 hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars 3950 var sum = 0; 3951 var i = 0; 3952 var aLen = arguments.length; 3953 var larg = 0; 3954 var arg, div; 3955 while (i < aLen) { 3956 arg = abs(arguments[i++]); 3957 if (larg < arg) { 3958 div = larg / arg; 3959 sum = sum * div * div + 1; 3960 larg = arg; 3961 } else if (arg > 0) { 3962 div = arg / larg; 3963 sum += div * div; 3964 } else sum += arg; 3965 } 3966 return larg === Infinity ? Infinity : larg * Math.sqrt(sum); 3967 } 3968}); 3969 3970},{"62":62}],193:[function(_dereq_,module,exports){ 3971// 20.2.2.18 Math.imul(x, y) 3972var $export = _dereq_(62); 3973var $imul = Math.imul; 3974 3975// some WebKit versions fails with big numbers, some has wrong arity 3976$export($export.S + $export.F * _dereq_(64)(function () { 3977 return $imul(0xffffffff, 5) != -5 || $imul.length != 2; 3978}), 'Math', { 3979 imul: function imul(x, y) { 3980 var UINT16 = 0xffff; 3981 var xn = +x; 3982 var yn = +y; 3983 var xl = UINT16 & xn; 3984 var yl = UINT16 & yn; 3985 return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); 3986 } 3987}); 3988 3989},{"62":62,"64":64}],194:[function(_dereq_,module,exports){ 3990// 20.2.2.21 Math.log10(x) 3991var $export = _dereq_(62); 3992 3993$export($export.S, 'Math', { 3994 log10: function log10(x) { 3995 return Math.log(x) * Math.LOG10E; 3996 } 3997}); 3998 3999},{"62":62}],195:[function(_dereq_,module,exports){ 4000// 20.2.2.20 Math.log1p(x) 4001var $export = _dereq_(62); 4002 4003$export($export.S, 'Math', { log1p: _dereq_(92) }); 4004 4005},{"62":62,"92":92}],196:[function(_dereq_,module,exports){ 4006// 20.2.2.22 Math.log2(x) 4007var $export = _dereq_(62); 4008 4009$export($export.S, 'Math', { 4010 log2: function log2(x) { 4011 return Math.log(x) / Math.LN2; 4012 } 4013}); 4014 4015},{"62":62}],197:[function(_dereq_,module,exports){ 4016// 20.2.2.28 Math.sign(x) 4017var $export = _dereq_(62); 4018 4019$export($export.S, 'Math', { sign: _dereq_(93) }); 4020 4021},{"62":62,"93":93}],198:[function(_dereq_,module,exports){ 4022// 20.2.2.30 Math.sinh(x) 4023var $export = _dereq_(62); 4024var expm1 = _dereq_(90); 4025var exp = Math.exp; 4026 4027// V8 near Chromium 38 has a problem with very small numbers 4028$export($export.S + $export.F * _dereq_(64)(function () { 4029 return !Math.sinh(-2e-17) != -2e-17; 4030}), 'Math', { 4031 sinh: function sinh(x) { 4032 return Math.abs(x = +x) < 1 4033 ? (expm1(x) - expm1(-x)) / 2 4034 : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2); 4035 } 4036}); 4037 4038},{"62":62,"64":64,"90":90}],199:[function(_dereq_,module,exports){ 4039// 20.2.2.33 Math.tanh(x) 4040var $export = _dereq_(62); 4041var expm1 = _dereq_(90); 4042var exp = Math.exp; 4043 4044$export($export.S, 'Math', { 4045 tanh: function tanh(x) { 4046 var a = expm1(x = +x); 4047 var b = expm1(-x); 4048 return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x)); 4049 } 4050}); 4051 4052},{"62":62,"90":90}],200:[function(_dereq_,module,exports){ 4053// 20.2.2.34 Math.trunc(x) 4054var $export = _dereq_(62); 4055 4056$export($export.S, 'Math', { 4057 trunc: function trunc(it) { 4058 return (it > 0 ? Math.floor : Math.ceil)(it); 4059 } 4060}); 4061 4062},{"62":62}],201:[function(_dereq_,module,exports){ 4063'use strict'; 4064var global = _dereq_(70); 4065var has = _dereq_(71); 4066var cof = _dereq_(48); 4067var inheritIfRequired = _dereq_(75); 4068var toPrimitive = _dereq_(143); 4069var fails = _dereq_(64); 4070var gOPN = _dereq_(103).f; 4071var gOPD = _dereq_(101).f; 4072var dP = _dereq_(99).f; 4073var $trim = _dereq_(134).trim; 4074var NUMBER = 'Number'; 4075var $Number = global[NUMBER]; 4076var Base = $Number; 4077var proto = $Number.prototype; 4078// Opera ~12 has broken Object#toString 4079var BROKEN_COF = cof(_dereq_(98)(proto)) == NUMBER; 4080var TRIM = 'trim' in String.prototype; 4081 4082// 7.1.3 ToNumber(argument) 4083var toNumber = function (argument) { 4084 var it = toPrimitive(argument, false); 4085 if (typeof it == 'string' && it.length > 2) { 4086 it = TRIM ? it.trim() : $trim(it, 3); 4087 var first = it.charCodeAt(0); 4088 var third, radix, maxCode; 4089 if (first === 43 || first === 45) { 4090 third = it.charCodeAt(2); 4091 if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix 4092 } else if (first === 48) { 4093 switch (it.charCodeAt(1)) { 4094 case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i 4095 case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i 4096 default: return +it; 4097 } 4098 for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) { 4099 code = digits.charCodeAt(i); 4100 // parseInt parses a string to a first unavailable symbol 4101 // but ToNumber should return NaN if a string contains unavailable symbols 4102 if (code < 48 || code > maxCode) return NaN; 4103 } return parseInt(digits, radix); 4104 } 4105 } return +it; 4106}; 4107 4108if (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) { 4109 $Number = function Number(value) { 4110 var it = arguments.length < 1 ? 0 : value; 4111 var that = this; 4112 return that instanceof $Number 4113 // check on 1..constructor(foo) case 4114 && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER) 4115 ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it); 4116 }; 4117 for (var keys = _dereq_(58) ? gOPN(Base) : ( 4118 // ES3: 4119 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + 4120 // ES6 (in case, if modules with ES6 Number statics required before): 4121 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + 4122 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger' 4123 ).split(','), j = 0, key; keys.length > j; j++) { 4124 if (has(Base, key = keys[j]) && !has($Number, key)) { 4125 dP($Number, key, gOPD(Base, key)); 4126 } 4127 } 4128 $Number.prototype = proto; 4129 proto.constructor = $Number; 4130 _dereq_(118)(global, NUMBER, $Number); 4131} 4132 4133},{"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){ 4134// 20.1.2.1 Number.EPSILON 4135var $export = _dereq_(62); 4136 4137$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) }); 4138 4139},{"62":62}],203:[function(_dereq_,module,exports){ 4140// 20.1.2.2 Number.isFinite(number) 4141var $export = _dereq_(62); 4142var _isFinite = _dereq_(70).isFinite; 4143 4144$export($export.S, 'Number', { 4145 isFinite: function isFinite(it) { 4146 return typeof it == 'number' && _isFinite(it); 4147 } 4148}); 4149 4150},{"62":62,"70":70}],204:[function(_dereq_,module,exports){ 4151// 20.1.2.3 Number.isInteger(number) 4152var $export = _dereq_(62); 4153 4154$export($export.S, 'Number', { isInteger: _dereq_(80) }); 4155 4156},{"62":62,"80":80}],205:[function(_dereq_,module,exports){ 4157// 20.1.2.4 Number.isNaN(number) 4158var $export = _dereq_(62); 4159 4160$export($export.S, 'Number', { 4161 isNaN: function isNaN(number) { 4162 // eslint-disable-next-line no-self-compare 4163 return number != number; 4164 } 4165}); 4166 4167},{"62":62}],206:[function(_dereq_,module,exports){ 4168// 20.1.2.5 Number.isSafeInteger(number) 4169var $export = _dereq_(62); 4170var isInteger = _dereq_(80); 4171var abs = Math.abs; 4172 4173$export($export.S, 'Number', { 4174 isSafeInteger: function isSafeInteger(number) { 4175 return isInteger(number) && abs(number) <= 0x1fffffffffffff; 4176 } 4177}); 4178 4179},{"62":62,"80":80}],207:[function(_dereq_,module,exports){ 4180// 20.1.2.6 Number.MAX_SAFE_INTEGER 4181var $export = _dereq_(62); 4182 4183$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff }); 4184 4185},{"62":62}],208:[function(_dereq_,module,exports){ 4186// 20.1.2.10 Number.MIN_SAFE_INTEGER 4187var $export = _dereq_(62); 4188 4189$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff }); 4190 4191},{"62":62}],209:[function(_dereq_,module,exports){ 4192var $export = _dereq_(62); 4193var $parseFloat = _dereq_(112); 4194// 20.1.2.12 Number.parseFloat(string) 4195$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat }); 4196 4197},{"112":112,"62":62}],210:[function(_dereq_,module,exports){ 4198var $export = _dereq_(62); 4199var $parseInt = _dereq_(113); 4200// 20.1.2.13 Number.parseInt(string, radix) 4201$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt }); 4202 4203},{"113":113,"62":62}],211:[function(_dereq_,module,exports){ 4204'use strict'; 4205var $export = _dereq_(62); 4206var toInteger = _dereq_(139); 4207var aNumberValue = _dereq_(34); 4208var repeat = _dereq_(133); 4209var $toFixed = 1.0.toFixed; 4210var floor = Math.floor; 4211var data = [0, 0, 0, 0, 0, 0]; 4212var ERROR = 'Number.toFixed: incorrect invocation!'; 4213var ZERO = '0'; 4214 4215var multiply = function (n, c) { 4216 var i = -1; 4217 var c2 = c; 4218 while (++i < 6) { 4219 c2 += n * data[i]; 4220 data[i] = c2 % 1e7; 4221 c2 = floor(c2 / 1e7); 4222 } 4223}; 4224var divide = function (n) { 4225 var i = 6; 4226 var c = 0; 4227 while (--i >= 0) { 4228 c += data[i]; 4229 data[i] = floor(c / n); 4230 c = (c % n) * 1e7; 4231 } 4232}; 4233var numToString = function () { 4234 var i = 6; 4235 var s = ''; 4236 while (--i >= 0) { 4237 if (s !== '' || i === 0 || data[i] !== 0) { 4238 var t = String(data[i]); 4239 s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t; 4240 } 4241 } return s; 4242}; 4243var pow = function (x, n, acc) { 4244 return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); 4245}; 4246var log = function (x) { 4247 var n = 0; 4248 var x2 = x; 4249 while (x2 >= 4096) { 4250 n += 12; 4251 x2 /= 4096; 4252 } 4253 while (x2 >= 2) { 4254 n += 1; 4255 x2 /= 2; 4256 } return n; 4257}; 4258 4259$export($export.P + $export.F * (!!$toFixed && ( 4260 0.00008.toFixed(3) !== '0.000' || 4261 0.9.toFixed(0) !== '1' || 4262 1.255.toFixed(2) !== '1.25' || 4263 1000000000000000128.0.toFixed(0) !== '1000000000000000128' 4264) || !_dereq_(64)(function () { 4265 // V8 ~ Android 4.3- 4266 $toFixed.call({}); 4267})), 'Number', { 4268 toFixed: function toFixed(fractionDigits) { 4269 var x = aNumberValue(this, ERROR); 4270 var f = toInteger(fractionDigits); 4271 var s = ''; 4272 var m = ZERO; 4273 var e, z, j, k; 4274 if (f < 0 || f > 20) throw RangeError(ERROR); 4275 // eslint-disable-next-line no-self-compare 4276 if (x != x) return 'NaN'; 4277 if (x <= -1e21 || x >= 1e21) return String(x); 4278 if (x < 0) { 4279 s = '-'; 4280 x = -x; 4281 } 4282 if (x > 1e-21) { 4283 e = log(x * pow(2, 69, 1)) - 69; 4284 z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1); 4285 z *= 0x10000000000000; 4286 e = 52 - e; 4287 if (e > 0) { 4288 multiply(0, z); 4289 j = f; 4290 while (j >= 7) { 4291 multiply(1e7, 0); 4292 j -= 7; 4293 } 4294 multiply(pow(10, j, 1), 0); 4295 j = e - 1; 4296 while (j >= 23) { 4297 divide(1 << 23); 4298 j -= 23; 4299 } 4300 divide(1 << j); 4301 multiply(1, 1); 4302 divide(2); 4303 m = numToString(); 4304 } else { 4305 multiply(0, z); 4306 multiply(1 << -e, 0); 4307 m = numToString() + repeat.call(ZERO, f); 4308 } 4309 } 4310 if (f > 0) { 4311 k = m.length; 4312 m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f)); 4313 } else { 4314 m = s + m; 4315 } return m; 4316 } 4317}); 4318 4319},{"133":133,"139":139,"34":34,"62":62,"64":64}],212:[function(_dereq_,module,exports){ 4320'use strict'; 4321var $export = _dereq_(62); 4322var $fails = _dereq_(64); 4323var aNumberValue = _dereq_(34); 4324var $toPrecision = 1.0.toPrecision; 4325 4326$export($export.P + $export.F * ($fails(function () { 4327 // IE7- 4328 return $toPrecision.call(1, undefined) !== '1'; 4329}) || !$fails(function () { 4330 // V8 ~ Android 4.3- 4331 $toPrecision.call({}); 4332})), 'Number', { 4333 toPrecision: function toPrecision(precision) { 4334 var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!'); 4335 return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision); 4336 } 4337}); 4338 4339},{"34":34,"62":62,"64":64}],213:[function(_dereq_,module,exports){ 4340// 19.1.3.1 Object.assign(target, source) 4341var $export = _dereq_(62); 4342 4343$export($export.S + $export.F, 'Object', { assign: _dereq_(97) }); 4344 4345},{"62":62,"97":97}],214:[function(_dereq_,module,exports){ 4346var $export = _dereq_(62); 4347// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) 4348$export($export.S, 'Object', { create: _dereq_(98) }); 4349 4350},{"62":62,"98":98}],215:[function(_dereq_,module,exports){ 4351var $export = _dereq_(62); 4352// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties) 4353$export($export.S + $export.F * !_dereq_(58), 'Object', { defineProperties: _dereq_(100) }); 4354 4355},{"100":100,"58":58,"62":62}],216:[function(_dereq_,module,exports){ 4356var $export = _dereq_(62); 4357// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes) 4358$export($export.S + $export.F * !_dereq_(58), 'Object', { defineProperty: _dereq_(99).f }); 4359 4360},{"58":58,"62":62,"99":99}],217:[function(_dereq_,module,exports){ 4361// 19.1.2.5 Object.freeze(O) 4362var isObject = _dereq_(81); 4363var meta = _dereq_(94).onFreeze; 4364 4365_dereq_(109)('freeze', function ($freeze) { 4366 return function freeze(it) { 4367 return $freeze && isObject(it) ? $freeze(meta(it)) : it; 4368 }; 4369}); 4370 4371},{"109":109,"81":81,"94":94}],218:[function(_dereq_,module,exports){ 4372// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) 4373var toIObject = _dereq_(140); 4374var $getOwnPropertyDescriptor = _dereq_(101).f; 4375 4376_dereq_(109)('getOwnPropertyDescriptor', function () { 4377 return function getOwnPropertyDescriptor(it, key) { 4378 return $getOwnPropertyDescriptor(toIObject(it), key); 4379 }; 4380}); 4381 4382},{"101":101,"109":109,"140":140}],219:[function(_dereq_,module,exports){ 4383// 19.1.2.7 Object.getOwnPropertyNames(O) 4384_dereq_(109)('getOwnPropertyNames', function () { 4385 return _dereq_(102).f; 4386}); 4387 4388},{"102":102,"109":109}],220:[function(_dereq_,module,exports){ 4389// 19.1.2.9 Object.getPrototypeOf(O) 4390var toObject = _dereq_(142); 4391var $getPrototypeOf = _dereq_(105); 4392 4393_dereq_(109)('getPrototypeOf', function () { 4394 return function getPrototypeOf(it) { 4395 return $getPrototypeOf(toObject(it)); 4396 }; 4397}); 4398 4399},{"105":105,"109":109,"142":142}],221:[function(_dereq_,module,exports){ 4400// 19.1.2.11 Object.isExtensible(O) 4401var isObject = _dereq_(81); 4402 4403_dereq_(109)('isExtensible', function ($isExtensible) { 4404 return function isExtensible(it) { 4405 return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false; 4406 }; 4407}); 4408 4409},{"109":109,"81":81}],222:[function(_dereq_,module,exports){ 4410// 19.1.2.12 Object.isFrozen(O) 4411var isObject = _dereq_(81); 4412 4413_dereq_(109)('isFrozen', function ($isFrozen) { 4414 return function isFrozen(it) { 4415 return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true; 4416 }; 4417}); 4418 4419},{"109":109,"81":81}],223:[function(_dereq_,module,exports){ 4420// 19.1.2.13 Object.isSealed(O) 4421var isObject = _dereq_(81); 4422 4423_dereq_(109)('isSealed', function ($isSealed) { 4424 return function isSealed(it) { 4425 return isObject(it) ? $isSealed ? $isSealed(it) : false : true; 4426 }; 4427}); 4428 4429},{"109":109,"81":81}],224:[function(_dereq_,module,exports){ 4430// 19.1.3.10 Object.is(value1, value2) 4431var $export = _dereq_(62); 4432$export($export.S, 'Object', { is: _dereq_(121) }); 4433 4434},{"121":121,"62":62}],225:[function(_dereq_,module,exports){ 4435// 19.1.2.14 Object.keys(O) 4436var toObject = _dereq_(142); 4437var $keys = _dereq_(107); 4438 4439_dereq_(109)('keys', function () { 4440 return function keys(it) { 4441 return $keys(toObject(it)); 4442 }; 4443}); 4444 4445},{"107":107,"109":109,"142":142}],226:[function(_dereq_,module,exports){ 4446// 19.1.2.15 Object.preventExtensions(O) 4447var isObject = _dereq_(81); 4448var meta = _dereq_(94).onFreeze; 4449 4450_dereq_(109)('preventExtensions', function ($preventExtensions) { 4451 return function preventExtensions(it) { 4452 return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it; 4453 }; 4454}); 4455 4456},{"109":109,"81":81,"94":94}],227:[function(_dereq_,module,exports){ 4457// 19.1.2.17 Object.seal(O) 4458var isObject = _dereq_(81); 4459var meta = _dereq_(94).onFreeze; 4460 4461_dereq_(109)('seal', function ($seal) { 4462 return function seal(it) { 4463 return $seal && isObject(it) ? $seal(meta(it)) : it; 4464 }; 4465}); 4466 4467},{"109":109,"81":81,"94":94}],228:[function(_dereq_,module,exports){ 4468// 19.1.3.19 Object.setPrototypeOf(O, proto) 4469var $export = _dereq_(62); 4470$export($export.S, 'Object', { setPrototypeOf: _dereq_(122).set }); 4471 4472},{"122":122,"62":62}],229:[function(_dereq_,module,exports){ 4473'use strict'; 4474// 19.1.3.6 Object.prototype.toString() 4475var classof = _dereq_(47); 4476var test = {}; 4477test[_dereq_(152)('toStringTag')] = 'z'; 4478if (test + '' != '[object z]') { 4479 _dereq_(118)(Object.prototype, 'toString', function toString() { 4480 return '[object ' + classof(this) + ']'; 4481 }, true); 4482} 4483 4484},{"118":118,"152":152,"47":47}],230:[function(_dereq_,module,exports){ 4485var $export = _dereq_(62); 4486var $parseFloat = _dereq_(112); 4487// 18.2.4 parseFloat(string) 4488$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat }); 4489 4490},{"112":112,"62":62}],231:[function(_dereq_,module,exports){ 4491var $export = _dereq_(62); 4492var $parseInt = _dereq_(113); 4493// 18.2.5 parseInt(string, radix) 4494$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt }); 4495 4496},{"113":113,"62":62}],232:[function(_dereq_,module,exports){ 4497'use strict'; 4498var LIBRARY = _dereq_(89); 4499var global = _dereq_(70); 4500var ctx = _dereq_(54); 4501var classof = _dereq_(47); 4502var $export = _dereq_(62); 4503var isObject = _dereq_(81); 4504var aFunction = _dereq_(33); 4505var anInstance = _dereq_(37); 4506var forOf = _dereq_(68); 4507var speciesConstructor = _dereq_(127); 4508var task = _dereq_(136).set; 4509var microtask = _dereq_(95)(); 4510var newPromiseCapabilityModule = _dereq_(96); 4511var perform = _dereq_(114); 4512var userAgent = _dereq_(148); 4513var promiseResolve = _dereq_(115); 4514var PROMISE = 'Promise'; 4515var TypeError = global.TypeError; 4516var process = global.process; 4517var versions = process && process.versions; 4518var v8 = versions && versions.v8 || ''; 4519var $Promise = global[PROMISE]; 4520var isNode = classof(process) == 'process'; 4521var empty = function () { /* empty */ }; 4522var Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper; 4523var newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f; 4524 4525var USE_NATIVE = !!function () { 4526 try { 4527 // correct subclassing with @@species support 4528 var promise = $Promise.resolve(1); 4529 var FakePromise = (promise.constructor = {})[_dereq_(152)('species')] = function (exec) { 4530 exec(empty, empty); 4531 }; 4532 // unhandled rejections tracking support, NodeJS Promise without it fails @@species test 4533 return (isNode || typeof PromiseRejectionEvent == 'function') 4534 && promise.then(empty) instanceof FakePromise 4535 // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables 4536 // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 4537 // we can't detect it synchronously, so just check versions 4538 && v8.indexOf('6.6') !== 0 4539 && userAgent.indexOf('Chrome/66') === -1; 4540 } catch (e) { /* empty */ } 4541}(); 4542 4543// helpers 4544var isThenable = function (it) { 4545 var then; 4546 return isObject(it) && typeof (then = it.then) == 'function' ? then : false; 4547}; 4548var notify = function (promise, isReject) { 4549 if (promise._n) return; 4550 promise._n = true; 4551 var chain = promise._c; 4552 microtask(function () { 4553 var value = promise._v; 4554 var ok = promise._s == 1; 4555 var i = 0; 4556 var run = function (reaction) { 4557 var handler = ok ? reaction.ok : reaction.fail; 4558 var resolve = reaction.resolve; 4559 var reject = reaction.reject; 4560 var domain = reaction.domain; 4561 var result, then, exited; 4562 try { 4563 if (handler) { 4564 if (!ok) { 4565 if (promise._h == 2) onHandleUnhandled(promise); 4566 promise._h = 1; 4567 } 4568 if (handler === true) result = value; 4569 else { 4570 if (domain) domain.enter(); 4571 result = handler(value); // may throw 4572 if (domain) { 4573 domain.exit(); 4574 exited = true; 4575 } 4576 } 4577 if (result === reaction.promise) { 4578 reject(TypeError('Promise-chain cycle')); 4579 } else if (then = isThenable(result)) { 4580 then.call(result, resolve, reject); 4581 } else resolve(result); 4582 } else reject(value); 4583 } catch (e) { 4584 if (domain && !exited) domain.exit(); 4585 reject(e); 4586 } 4587 }; 4588 while (chain.length > i) run(chain[i++]); // variable length - can't use forEach 4589 promise._c = []; 4590 promise._n = false; 4591 if (isReject && !promise._h) onUnhandled(promise); 4592 }); 4593}; 4594var onUnhandled = function (promise) { 4595 task.call(global, function () { 4596 var value = promise._v; 4597 var unhandled = isUnhandled(promise); 4598 var result, handler, console; 4599 if (unhandled) { 4600 result = perform(function () { 4601 if (isNode) { 4602 process.emit('unhandledRejection', value, promise); 4603 } else if (handler = global.onunhandledrejection) { 4604 handler({ promise: promise, reason: value }); 4605 } else if ((console = global.console) && console.error) { 4606 console.error('Unhandled promise rejection', value); 4607 } 4608 }); 4609 // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should 4610 promise._h = isNode || isUnhandled(promise) ? 2 : 1; 4611 } promise._a = undefined; 4612 if (unhandled && result.e) throw result.v; 4613 }); 4614}; 4615var isUnhandled = function (promise) { 4616 return promise._h !== 1 && (promise._a || promise._c).length === 0; 4617}; 4618var onHandleUnhandled = function (promise) { 4619 task.call(global, function () { 4620 var handler; 4621 if (isNode) { 4622 process.emit('rejectionHandled', promise); 4623 } else if (handler = global.onrejectionhandled) { 4624 handler({ promise: promise, reason: promise._v }); 4625 } 4626 }); 4627}; 4628var $reject = function (value) { 4629 var promise = this; 4630 if (promise._d) return; 4631 promise._d = true; 4632 promise = promise._w || promise; // unwrap 4633 promise._v = value; 4634 promise._s = 2; 4635 if (!promise._a) promise._a = promise._c.slice(); 4636 notify(promise, true); 4637}; 4638var $resolve = function (value) { 4639 var promise = this; 4640 var then; 4641 if (promise._d) return; 4642 promise._d = true; 4643 promise = promise._w || promise; // unwrap 4644 try { 4645 if (promise === value) throw TypeError("Promise can't be resolved itself"); 4646 if (then = isThenable(value)) { 4647 microtask(function () { 4648 var wrapper = { _w: promise, _d: false }; // wrap 4649 try { 4650 then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1)); 4651 } catch (e) { 4652 $reject.call(wrapper, e); 4653 } 4654 }); 4655 } else { 4656 promise._v = value; 4657 promise._s = 1; 4658 notify(promise, false); 4659 } 4660 } catch (e) { 4661 $reject.call({ _w: promise, _d: false }, e); // wrap 4662 } 4663}; 4664 4665// constructor polyfill 4666if (!USE_NATIVE) { 4667 // 25.4.3.1 Promise(executor) 4668 $Promise = function Promise(executor) { 4669 anInstance(this, $Promise, PROMISE, '_h'); 4670 aFunction(executor); 4671 Internal.call(this); 4672 try { 4673 executor(ctx($resolve, this, 1), ctx($reject, this, 1)); 4674 } catch (err) { 4675 $reject.call(this, err); 4676 } 4677 }; 4678 // eslint-disable-next-line no-unused-vars 4679 Internal = function Promise(executor) { 4680 this._c = []; // <- awaiting reactions 4681 this._a = undefined; // <- checked in isUnhandled reactions 4682 this._s = 0; // <- state 4683 this._d = false; // <- done 4684 this._v = undefined; // <- value 4685 this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled 4686 this._n = false; // <- notify 4687 }; 4688 Internal.prototype = _dereq_(117)($Promise.prototype, { 4689 // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected) 4690 then: function then(onFulfilled, onRejected) { 4691 var reaction = newPromiseCapability(speciesConstructor(this, $Promise)); 4692 reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; 4693 reaction.fail = typeof onRejected == 'function' && onRejected; 4694 reaction.domain = isNode ? process.domain : undefined; 4695 this._c.push(reaction); 4696 if (this._a) this._a.push(reaction); 4697 if (this._s) notify(this, false); 4698 return reaction.promise; 4699 }, 4700 // 25.4.5.1 Promise.prototype.catch(onRejected) 4701 'catch': function (onRejected) { 4702 return this.then(undefined, onRejected); 4703 } 4704 }); 4705 OwnPromiseCapability = function () { 4706 var promise = new Internal(); 4707 this.promise = promise; 4708 this.resolve = ctx($resolve, promise, 1); 4709 this.reject = ctx($reject, promise, 1); 4710 }; 4711 newPromiseCapabilityModule.f = newPromiseCapability = function (C) { 4712 return C === $Promise || C === Wrapper 4713 ? new OwnPromiseCapability(C) 4714 : newGenericPromiseCapability(C); 4715 }; 4716} 4717 4718$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise }); 4719_dereq_(124)($Promise, PROMISE); 4720_dereq_(123)(PROMISE); 4721Wrapper = _dereq_(52)[PROMISE]; 4722 4723// statics 4724$export($export.S + $export.F * !USE_NATIVE, PROMISE, { 4725 // 25.4.4.5 Promise.reject(r) 4726 reject: function reject(r) { 4727 var capability = newPromiseCapability(this); 4728 var $$reject = capability.reject; 4729 $$reject(r); 4730 return capability.promise; 4731 } 4732}); 4733$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, { 4734 // 25.4.4.6 Promise.resolve(x) 4735 resolve: function resolve(x) { 4736 return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x); 4737 } 4738}); 4739$export($export.S + $export.F * !(USE_NATIVE && _dereq_(86)(function (iter) { 4740 $Promise.all(iter)['catch'](empty); 4741})), PROMISE, { 4742 // 25.4.4.1 Promise.all(iterable) 4743 all: function all(iterable) { 4744 var C = this; 4745 var capability = newPromiseCapability(C); 4746 var resolve = capability.resolve; 4747 var reject = capability.reject; 4748 var result = perform(function () { 4749 var values = []; 4750 var index = 0; 4751 var remaining = 1; 4752 forOf(iterable, false, function (promise) { 4753 var $index = index++; 4754 var alreadyCalled = false; 4755 values.push(undefined); 4756 remaining++; 4757 C.resolve(promise).then(function (value) { 4758 if (alreadyCalled) return; 4759 alreadyCalled = true; 4760 values[$index] = value; 4761 --remaining || resolve(values); 4762 }, reject); 4763 }); 4764 --remaining || resolve(values); 4765 }); 4766 if (result.e) reject(result.v); 4767 return capability.promise; 4768 }, 4769 // 25.4.4.4 Promise.race(iterable) 4770 race: function race(iterable) { 4771 var C = this; 4772 var capability = newPromiseCapability(C); 4773 var reject = capability.reject; 4774 var result = perform(function () { 4775 forOf(iterable, false, function (promise) { 4776 C.resolve(promise).then(capability.resolve, reject); 4777 }); 4778 }); 4779 if (result.e) reject(result.v); 4780 return capability.promise; 4781 } 4782}); 4783 4784},{"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){ 4785// 26.1.1 Reflect.apply(target, thisArgument, argumentsList) 4786var $export = _dereq_(62); 4787var aFunction = _dereq_(33); 4788var anObject = _dereq_(38); 4789var rApply = (_dereq_(70).Reflect || {}).apply; 4790var fApply = Function.apply; 4791// MS Edge argumentsList argument is optional 4792$export($export.S + $export.F * !_dereq_(64)(function () { 4793 rApply(function () { /* empty */ }); 4794}), 'Reflect', { 4795 apply: function apply(target, thisArgument, argumentsList) { 4796 var T = aFunction(target); 4797 var L = anObject(argumentsList); 4798 return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L); 4799 } 4800}); 4801 4802},{"33":33,"38":38,"62":62,"64":64,"70":70}],234:[function(_dereq_,module,exports){ 4803// 26.1.2 Reflect.construct(target, argumentsList [, newTarget]) 4804var $export = _dereq_(62); 4805var create = _dereq_(98); 4806var aFunction = _dereq_(33); 4807var anObject = _dereq_(38); 4808var isObject = _dereq_(81); 4809var fails = _dereq_(64); 4810var bind = _dereq_(46); 4811var rConstruct = (_dereq_(70).Reflect || {}).construct; 4812 4813// MS Edge supports only 2 arguments and argumentsList argument is optional 4814// FF Nightly sets third argument as `new.target`, but does not create `this` from it 4815var NEW_TARGET_BUG = fails(function () { 4816 function F() { /* empty */ } 4817 return !(rConstruct(function () { /* empty */ }, [], F) instanceof F); 4818}); 4819var ARGS_BUG = !fails(function () { 4820 rConstruct(function () { /* empty */ }); 4821}); 4822 4823$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', { 4824 construct: function construct(Target, args /* , newTarget */) { 4825 aFunction(Target); 4826 anObject(args); 4827 var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); 4828 if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget); 4829 if (Target == newTarget) { 4830 // w/o altered newTarget, optimization for 0-4 arguments 4831 switch (args.length) { 4832 case 0: return new Target(); 4833 case 1: return new Target(args[0]); 4834 case 2: return new Target(args[0], args[1]); 4835 case 3: return new Target(args[0], args[1], args[2]); 4836 case 4: return new Target(args[0], args[1], args[2], args[3]); 4837 } 4838 // w/o altered newTarget, lot of arguments case 4839 var $args = [null]; 4840 $args.push.apply($args, args); 4841 return new (bind.apply(Target, $args))(); 4842 } 4843 // with altered newTarget, not support built-in constructors 4844 var proto = newTarget.prototype; 4845 var instance = create(isObject(proto) ? proto : Object.prototype); 4846 var result = Function.apply.call(Target, instance, args); 4847 return isObject(result) ? result : instance; 4848 } 4849}); 4850 4851},{"33":33,"38":38,"46":46,"62":62,"64":64,"70":70,"81":81,"98":98}],235:[function(_dereq_,module,exports){ 4852// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes) 4853var dP = _dereq_(99); 4854var $export = _dereq_(62); 4855var anObject = _dereq_(38); 4856var toPrimitive = _dereq_(143); 4857 4858// MS Edge has broken Reflect.defineProperty - throwing instead of returning false 4859$export($export.S + $export.F * _dereq_(64)(function () { 4860 // eslint-disable-next-line no-undef 4861 Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 }); 4862}), 'Reflect', { 4863 defineProperty: function defineProperty(target, propertyKey, attributes) { 4864 anObject(target); 4865 propertyKey = toPrimitive(propertyKey, true); 4866 anObject(attributes); 4867 try { 4868 dP.f(target, propertyKey, attributes); 4869 return true; 4870 } catch (e) { 4871 return false; 4872 } 4873 } 4874}); 4875 4876},{"143":143,"38":38,"62":62,"64":64,"99":99}],236:[function(_dereq_,module,exports){ 4877// 26.1.4 Reflect.deleteProperty(target, propertyKey) 4878var $export = _dereq_(62); 4879var gOPD = _dereq_(101).f; 4880var anObject = _dereq_(38); 4881 4882$export($export.S, 'Reflect', { 4883 deleteProperty: function deleteProperty(target, propertyKey) { 4884 var desc = gOPD(anObject(target), propertyKey); 4885 return desc && !desc.configurable ? false : delete target[propertyKey]; 4886 } 4887}); 4888 4889},{"101":101,"38":38,"62":62}],237:[function(_dereq_,module,exports){ 4890'use strict'; 4891// 26.1.5 Reflect.enumerate(target) 4892var $export = _dereq_(62); 4893var anObject = _dereq_(38); 4894var Enumerate = function (iterated) { 4895 this._t = anObject(iterated); // target 4896 this._i = 0; // next index 4897 var keys = this._k = []; // keys 4898 var key; 4899 for (key in iterated) keys.push(key); 4900}; 4901_dereq_(84)(Enumerate, 'Object', function () { 4902 var that = this; 4903 var keys = that._k; 4904 var key; 4905 do { 4906 if (that._i >= keys.length) return { value: undefined, done: true }; 4907 } while (!((key = keys[that._i++]) in that._t)); 4908 return { value: key, done: false }; 4909}); 4910 4911$export($export.S, 'Reflect', { 4912 enumerate: function enumerate(target) { 4913 return new Enumerate(target); 4914 } 4915}); 4916 4917},{"38":38,"62":62,"84":84}],238:[function(_dereq_,module,exports){ 4918// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey) 4919var gOPD = _dereq_(101); 4920var $export = _dereq_(62); 4921var anObject = _dereq_(38); 4922 4923$export($export.S, 'Reflect', { 4924 getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { 4925 return gOPD.f(anObject(target), propertyKey); 4926 } 4927}); 4928 4929},{"101":101,"38":38,"62":62}],239:[function(_dereq_,module,exports){ 4930// 26.1.8 Reflect.getPrototypeOf(target) 4931var $export = _dereq_(62); 4932var getProto = _dereq_(105); 4933var anObject = _dereq_(38); 4934 4935$export($export.S, 'Reflect', { 4936 getPrototypeOf: function getPrototypeOf(target) { 4937 return getProto(anObject(target)); 4938 } 4939}); 4940 4941},{"105":105,"38":38,"62":62}],240:[function(_dereq_,module,exports){ 4942// 26.1.6 Reflect.get(target, propertyKey [, receiver]) 4943var gOPD = _dereq_(101); 4944var getPrototypeOf = _dereq_(105); 4945var has = _dereq_(71); 4946var $export = _dereq_(62); 4947var isObject = _dereq_(81); 4948var anObject = _dereq_(38); 4949 4950function get(target, propertyKey /* , receiver */) { 4951 var receiver = arguments.length < 3 ? target : arguments[2]; 4952 var desc, proto; 4953 if (anObject(target) === receiver) return target[propertyKey]; 4954 if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value') 4955 ? desc.value 4956 : desc.get !== undefined 4957 ? desc.get.call(receiver) 4958 : undefined; 4959 if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver); 4960} 4961 4962$export($export.S, 'Reflect', { get: get }); 4963 4964},{"101":101,"105":105,"38":38,"62":62,"71":71,"81":81}],241:[function(_dereq_,module,exports){ 4965// 26.1.9 Reflect.has(target, propertyKey) 4966var $export = _dereq_(62); 4967 4968$export($export.S, 'Reflect', { 4969 has: function has(target, propertyKey) { 4970 return propertyKey in target; 4971 } 4972}); 4973 4974},{"62":62}],242:[function(_dereq_,module,exports){ 4975// 26.1.10 Reflect.isExtensible(target) 4976var $export = _dereq_(62); 4977var anObject = _dereq_(38); 4978var $isExtensible = Object.isExtensible; 4979 4980$export($export.S, 'Reflect', { 4981 isExtensible: function isExtensible(target) { 4982 anObject(target); 4983 return $isExtensible ? $isExtensible(target) : true; 4984 } 4985}); 4986 4987},{"38":38,"62":62}],243:[function(_dereq_,module,exports){ 4988// 26.1.11 Reflect.ownKeys(target) 4989var $export = _dereq_(62); 4990 4991$export($export.S, 'Reflect', { ownKeys: _dereq_(111) }); 4992 4993},{"111":111,"62":62}],244:[function(_dereq_,module,exports){ 4994// 26.1.12 Reflect.preventExtensions(target) 4995var $export = _dereq_(62); 4996var anObject = _dereq_(38); 4997var $preventExtensions = Object.preventExtensions; 4998 4999$export($export.S, 'Reflect', { 5000 preventExtensions: function preventExtensions(target) { 5001 anObject(target); 5002 try { 5003 if ($preventExtensions) $preventExtensions(target); 5004 return true; 5005 } catch (e) { 5006 return false; 5007 } 5008 } 5009}); 5010 5011},{"38":38,"62":62}],245:[function(_dereq_,module,exports){ 5012// 26.1.14 Reflect.setPrototypeOf(target, proto) 5013var $export = _dereq_(62); 5014var setProto = _dereq_(122); 5015 5016if (setProto) $export($export.S, 'Reflect', { 5017 setPrototypeOf: function setPrototypeOf(target, proto) { 5018 setProto.check(target, proto); 5019 try { 5020 setProto.set(target, proto); 5021 return true; 5022 } catch (e) { 5023 return false; 5024 } 5025 } 5026}); 5027 5028},{"122":122,"62":62}],246:[function(_dereq_,module,exports){ 5029// 26.1.13 Reflect.set(target, propertyKey, V [, receiver]) 5030var dP = _dereq_(99); 5031var gOPD = _dereq_(101); 5032var getPrototypeOf = _dereq_(105); 5033var has = _dereq_(71); 5034var $export = _dereq_(62); 5035var createDesc = _dereq_(116); 5036var anObject = _dereq_(38); 5037var isObject = _dereq_(81); 5038 5039function set(target, propertyKey, V /* , receiver */) { 5040 var receiver = arguments.length < 4 ? target : arguments[3]; 5041 var ownDesc = gOPD.f(anObject(target), propertyKey); 5042 var existingDescriptor, proto; 5043 if (!ownDesc) { 5044 if (isObject(proto = getPrototypeOf(target))) { 5045 return set(proto, propertyKey, V, receiver); 5046 } 5047 ownDesc = createDesc(0); 5048 } 5049 if (has(ownDesc, 'value')) { 5050 if (ownDesc.writable === false || !isObject(receiver)) return false; 5051 if (existingDescriptor = gOPD.f(receiver, propertyKey)) { 5052 if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false; 5053 existingDescriptor.value = V; 5054 dP.f(receiver, propertyKey, existingDescriptor); 5055 } else dP.f(receiver, propertyKey, createDesc(0, V)); 5056 return true; 5057 } 5058 return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true); 5059} 5060 5061$export($export.S, 'Reflect', { set: set }); 5062 5063},{"101":101,"105":105,"116":116,"38":38,"62":62,"71":71,"81":81,"99":99}],247:[function(_dereq_,module,exports){ 5064var global = _dereq_(70); 5065var inheritIfRequired = _dereq_(75); 5066var dP = _dereq_(99).f; 5067var gOPN = _dereq_(103).f; 5068var isRegExp = _dereq_(82); 5069var $flags = _dereq_(66); 5070var $RegExp = global.RegExp; 5071var Base = $RegExp; 5072var proto = $RegExp.prototype; 5073var re1 = /a/g; 5074var re2 = /a/g; 5075// "new" creates a new object, old webkit buggy here 5076var CORRECT_NEW = new $RegExp(re1) !== re1; 5077 5078if (_dereq_(58) && (!CORRECT_NEW || _dereq_(64)(function () { 5079 re2[_dereq_(152)('match')] = false; 5080 // RegExp constructor can alter flags and IsRegExp works correct with @@match 5081 return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i'; 5082}))) { 5083 $RegExp = function RegExp(p, f) { 5084 var tiRE = this instanceof $RegExp; 5085 var piRE = isRegExp(p); 5086 var fiU = f === undefined; 5087 return !tiRE && piRE && p.constructor === $RegExp && fiU ? p 5088 : inheritIfRequired(CORRECT_NEW 5089 ? new Base(piRE && !fiU ? p.source : p, f) 5090 : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f) 5091 , tiRE ? this : proto, $RegExp); 5092 }; 5093 var proxy = function (key) { 5094 key in $RegExp || dP($RegExp, key, { 5095 configurable: true, 5096 get: function () { return Base[key]; }, 5097 set: function (it) { Base[key] = it; } 5098 }); 5099 }; 5100 for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]); 5101 proto.constructor = $RegExp; 5102 $RegExp.prototype = proto; 5103 _dereq_(118)(global, 'RegExp', $RegExp); 5104} 5105 5106_dereq_(123)('RegExp'); 5107 5108},{"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){ 5109'use strict'; 5110var regexpExec = _dereq_(120); 5111_dereq_(62)({ 5112 target: 'RegExp', 5113 proto: true, 5114 forced: regexpExec !== /./.exec 5115}, { 5116 exec: regexpExec 5117}); 5118 5119},{"120":120,"62":62}],249:[function(_dereq_,module,exports){ 5120// 21.2.5.3 get RegExp.prototype.flags() 5121if (_dereq_(58) && /./g.flags != 'g') _dereq_(99).f(RegExp.prototype, 'flags', { 5122 configurable: true, 5123 get: _dereq_(66) 5124}); 5125 5126},{"58":58,"66":66,"99":99}],250:[function(_dereq_,module,exports){ 5127'use strict'; 5128 5129var anObject = _dereq_(38); 5130var toLength = _dereq_(141); 5131var advanceStringIndex = _dereq_(36); 5132var regExpExec = _dereq_(119); 5133 5134// @@match logic 5135_dereq_(65)('match', 1, function (defined, MATCH, $match, maybeCallNative) { 5136 return [ 5137 // `String.prototype.match` method 5138 // https://tc39.github.io/ecma262/#sec-string.prototype.match 5139 function match(regexp) { 5140 var O = defined(this); 5141 var fn = regexp == undefined ? undefined : regexp[MATCH]; 5142 return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); 5143 }, 5144 // `RegExp.prototype[@@match]` method 5145 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match 5146 function (regexp) { 5147 var res = maybeCallNative($match, regexp, this); 5148 if (res.done) return res.value; 5149 var rx = anObject(regexp); 5150 var S = String(this); 5151 if (!rx.global) return regExpExec(rx, S); 5152 var fullUnicode = rx.unicode; 5153 rx.lastIndex = 0; 5154 var A = []; 5155 var n = 0; 5156 var result; 5157 while ((result = regExpExec(rx, S)) !== null) { 5158 var matchStr = String(result[0]); 5159 A[n] = matchStr; 5160 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); 5161 n++; 5162 } 5163 return n === 0 ? null : A; 5164 } 5165 ]; 5166}); 5167 5168},{"119":119,"141":141,"36":36,"38":38,"65":65}],251:[function(_dereq_,module,exports){ 5169'use strict'; 5170 5171var anObject = _dereq_(38); 5172var toObject = _dereq_(142); 5173var toLength = _dereq_(141); 5174var toInteger = _dereq_(139); 5175var advanceStringIndex = _dereq_(36); 5176var regExpExec = _dereq_(119); 5177var max = Math.max; 5178var min = Math.min; 5179var floor = Math.floor; 5180var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; 5181var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; 5182 5183var maybeToString = function (it) { 5184 return it === undefined ? it : String(it); 5185}; 5186 5187// @@replace logic 5188_dereq_(65)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) { 5189 return [ 5190 // `String.prototype.replace` method 5191 // https://tc39.github.io/ecma262/#sec-string.prototype.replace 5192 function replace(searchValue, replaceValue) { 5193 var O = defined(this); 5194 var fn = searchValue == undefined ? undefined : searchValue[REPLACE]; 5195 return fn !== undefined 5196 ? fn.call(searchValue, O, replaceValue) 5197 : $replace.call(String(O), searchValue, replaceValue); 5198 }, 5199 // `RegExp.prototype[@@replace]` method 5200 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace 5201 function (regexp, replaceValue) { 5202 var res = maybeCallNative($replace, regexp, this, replaceValue); 5203 if (res.done) return res.value; 5204 5205 var rx = anObject(regexp); 5206 var S = String(this); 5207 var functionalReplace = typeof replaceValue === 'function'; 5208 if (!functionalReplace) replaceValue = String(replaceValue); 5209 var global = rx.global; 5210 if (global) { 5211 var fullUnicode = rx.unicode; 5212 rx.lastIndex = 0; 5213 } 5214 var results = []; 5215 while (true) { 5216 var result = regExpExec(rx, S); 5217 if (result === null) break; 5218 results.push(result); 5219 if (!global) break; 5220 var matchStr = String(result[0]); 5221 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); 5222 } 5223 var accumulatedResult = ''; 5224 var nextSourcePosition = 0; 5225 for (var i = 0; i < results.length; i++) { 5226 result = results[i]; 5227 var matched = String(result[0]); 5228 var position = max(min(toInteger(result.index), S.length), 0); 5229 var captures = []; 5230 // NOTE: This is equivalent to 5231 // captures = result.slice(1).map(maybeToString) 5232 // but for some reason `nativeSlice.call(result, 1, result.length)` (called in 5233 // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and 5234 // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. 5235 for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); 5236 var namedCaptures = result.groups; 5237 if (functionalReplace) { 5238 var replacerArgs = [matched].concat(captures, position, S); 5239 if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); 5240 var replacement = String(replaceValue.apply(undefined, replacerArgs)); 5241 } else { 5242 replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); 5243 } 5244 if (position >= nextSourcePosition) { 5245 accumulatedResult += S.slice(nextSourcePosition, position) + replacement; 5246 nextSourcePosition = position + matched.length; 5247 } 5248 } 5249 return accumulatedResult + S.slice(nextSourcePosition); 5250 } 5251 ]; 5252 5253 // https://tc39.github.io/ecma262/#sec-getsubstitution 5254 function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { 5255 var tailPos = position + matched.length; 5256 var m = captures.length; 5257 var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; 5258 if (namedCaptures !== undefined) { 5259 namedCaptures = toObject(namedCaptures); 5260 symbols = SUBSTITUTION_SYMBOLS; 5261 } 5262 return $replace.call(replacement, symbols, function (match, ch) { 5263 var capture; 5264 switch (ch.charAt(0)) { 5265 case '$': return '$'; 5266 case '&': return matched; 5267 case '`': return str.slice(0, position); 5268 case "'": return str.slice(tailPos); 5269 case '<': 5270 capture = namedCaptures[ch.slice(1, -1)]; 5271 break; 5272 default: // \d\d? 5273 var n = +ch; 5274 if (n === 0) return match; 5275 if (n > m) { 5276 var f = floor(n / 10); 5277 if (f === 0) return match; 5278 if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); 5279 return match; 5280 } 5281 capture = captures[n - 1]; 5282 } 5283 return capture === undefined ? '' : capture; 5284 }); 5285 } 5286}); 5287 5288},{"119":119,"139":139,"141":141,"142":142,"36":36,"38":38,"65":65}],252:[function(_dereq_,module,exports){ 5289'use strict'; 5290 5291var anObject = _dereq_(38); 5292var sameValue = _dereq_(121); 5293var regExpExec = _dereq_(119); 5294 5295// @@search logic 5296_dereq_(65)('search', 1, function (defined, SEARCH, $search, maybeCallNative) { 5297 return [ 5298 // `String.prototype.search` method 5299 // https://tc39.github.io/ecma262/#sec-string.prototype.search 5300 function search(regexp) { 5301 var O = defined(this); 5302 var fn = regexp == undefined ? undefined : regexp[SEARCH]; 5303 return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); 5304 }, 5305 // `RegExp.prototype[@@search]` method 5306 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search 5307 function (regexp) { 5308 var res = maybeCallNative($search, regexp, this); 5309 if (res.done) return res.value; 5310 var rx = anObject(regexp); 5311 var S = String(this); 5312 var previousLastIndex = rx.lastIndex; 5313 if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; 5314 var result = regExpExec(rx, S); 5315 if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; 5316 return result === null ? -1 : result.index; 5317 } 5318 ]; 5319}); 5320 5321},{"119":119,"121":121,"38":38,"65":65}],253:[function(_dereq_,module,exports){ 5322'use strict'; 5323 5324var isRegExp = _dereq_(82); 5325var anObject = _dereq_(38); 5326var speciesConstructor = _dereq_(127); 5327var advanceStringIndex = _dereq_(36); 5328var toLength = _dereq_(141); 5329var callRegExpExec = _dereq_(119); 5330var regexpExec = _dereq_(120); 5331var fails = _dereq_(64); 5332var $min = Math.min; 5333var $push = [].push; 5334var $SPLIT = 'split'; 5335var LENGTH = 'length'; 5336var LAST_INDEX = 'lastIndex'; 5337var MAX_UINT32 = 0xffffffff; 5338 5339// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError 5340var SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); }); 5341 5342// @@split logic 5343_dereq_(65)('split', 2, function (defined, SPLIT, $split, maybeCallNative) { 5344 var internalSplit; 5345 if ( 5346 'abbc'[$SPLIT](/(b)*/)[1] == 'c' || 5347 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 || 5348 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 || 5349 '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 || 5350 '.'[$SPLIT](/()()/)[LENGTH] > 1 || 5351 ''[$SPLIT](/.?/)[LENGTH] 5352 ) { 5353 // based on es5-shim implementation, need to rework it 5354 internalSplit = function (separator, limit) { 5355 var string = String(this); 5356 if (separator === undefined && limit === 0) return []; 5357 // If `separator` is not a regex, use native split 5358 if (!isRegExp(separator)) return $split.call(string, separator, limit); 5359 var output = []; 5360 var flags = (separator.ignoreCase ? 'i' : '') + 5361 (separator.multiline ? 'm' : '') + 5362 (separator.unicode ? 'u' : '') + 5363 (separator.sticky ? 'y' : ''); 5364 var lastLastIndex = 0; 5365 var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0; 5366 // Make `global` and avoid `lastIndex` issues by working with a copy 5367 var separatorCopy = new RegExp(separator.source, flags + 'g'); 5368 var match, lastIndex, lastLength; 5369 while (match = regexpExec.call(separatorCopy, string)) { 5370 lastIndex = separatorCopy[LAST_INDEX]; 5371 if (lastIndex > lastLastIndex) { 5372 output.push(string.slice(lastLastIndex, match.index)); 5373 if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1)); 5374 lastLength = match[0][LENGTH]; 5375 lastLastIndex = lastIndex; 5376 if (output[LENGTH] >= splitLimit) break; 5377 } 5378 if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop 5379 } 5380 if (lastLastIndex === string[LENGTH]) { 5381 if (lastLength || !separatorCopy.test('')) output.push(''); 5382 } else output.push(string.slice(lastLastIndex)); 5383 return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output; 5384 }; 5385 // Chakra, V8 5386 } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) { 5387 internalSplit = function (separator, limit) { 5388 return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit); 5389 }; 5390 } else { 5391 internalSplit = $split; 5392 } 5393 5394 return [ 5395 // `String.prototype.split` method 5396 // https://tc39.github.io/ecma262/#sec-string.prototype.split 5397 function split(separator, limit) { 5398 var O = defined(this); 5399 var splitter = separator == undefined ? undefined : separator[SPLIT]; 5400 return splitter !== undefined 5401 ? splitter.call(separator, O, limit) 5402 : internalSplit.call(String(O), separator, limit); 5403 }, 5404 // `RegExp.prototype[@@split]` method 5405 // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split 5406 // 5407 // NOTE: This cannot be properly polyfilled in engines that don't support 5408 // the 'y' flag. 5409 function (regexp, limit) { 5410 var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split); 5411 if (res.done) return res.value; 5412 5413 var rx = anObject(regexp); 5414 var S = String(this); 5415 var C = speciesConstructor(rx, RegExp); 5416 5417 var unicodeMatching = rx.unicode; 5418 var flags = (rx.ignoreCase ? 'i' : '') + 5419 (rx.multiline ? 'm' : '') + 5420 (rx.unicode ? 'u' : '') + 5421 (SUPPORTS_Y ? 'y' : 'g'); 5422 5423 // ^(? + rx + ) is needed, in combination with some S slicing, to 5424 // simulate the 'y' flag. 5425 var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); 5426 var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; 5427 if (lim === 0) return []; 5428 if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; 5429 var p = 0; 5430 var q = 0; 5431 var A = []; 5432 while (q < S.length) { 5433 splitter.lastIndex = SUPPORTS_Y ? q : 0; 5434 var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); 5435 var e; 5436 if ( 5437 z === null || 5438 (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p 5439 ) { 5440 q = advanceStringIndex(S, q, unicodeMatching); 5441 } else { 5442 A.push(S.slice(p, q)); 5443 if (A.length === lim) return A; 5444 for (var i = 1; i <= z.length - 1; i++) { 5445 A.push(z[i]); 5446 if (A.length === lim) return A; 5447 } 5448 q = p = e; 5449 } 5450 } 5451 A.push(S.slice(p)); 5452 return A; 5453 } 5454 ]; 5455}); 5456 5457},{"119":119,"120":120,"127":127,"141":141,"36":36,"38":38,"64":64,"65":65,"82":82}],254:[function(_dereq_,module,exports){ 5458'use strict'; 5459_dereq_(249); 5460var anObject = _dereq_(38); 5461var $flags = _dereq_(66); 5462var DESCRIPTORS = _dereq_(58); 5463var TO_STRING = 'toString'; 5464var $toString = /./[TO_STRING]; 5465 5466var define = function (fn) { 5467 _dereq_(118)(RegExp.prototype, TO_STRING, fn, true); 5468}; 5469 5470// 21.2.5.14 RegExp.prototype.toString() 5471if (_dereq_(64)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) { 5472 define(function toString() { 5473 var R = anObject(this); 5474 return '/'.concat(R.source, '/', 5475 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined); 5476 }); 5477// FF44- RegExp#toString has a wrong name 5478} else if ($toString.name != TO_STRING) { 5479 define(function toString() { 5480 return $toString.call(this); 5481 }); 5482} 5483 5484},{"118":118,"249":249,"38":38,"58":58,"64":64,"66":66}],255:[function(_dereq_,module,exports){ 5485'use strict'; 5486var strong = _dereq_(49); 5487var validate = _dereq_(149); 5488var SET = 'Set'; 5489 5490// 23.2 Set Objects 5491module.exports = _dereq_(51)(SET, function (get) { 5492 return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; 5493}, { 5494 // 23.2.3.1 Set.prototype.add(value) 5495 add: function add(value) { 5496 return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value); 5497 } 5498}, strong); 5499 5500},{"149":149,"49":49,"51":51}],256:[function(_dereq_,module,exports){ 5501'use strict'; 5502// B.2.3.2 String.prototype.anchor(name) 5503_dereq_(131)('anchor', function (createHTML) { 5504 return function anchor(name) { 5505 return createHTML(this, 'a', 'name', name); 5506 }; 5507}); 5508 5509},{"131":131}],257:[function(_dereq_,module,exports){ 5510'use strict'; 5511// B.2.3.3 String.prototype.big() 5512_dereq_(131)('big', function (createHTML) { 5513 return function big() { 5514 return createHTML(this, 'big', '', ''); 5515 }; 5516}); 5517 5518},{"131":131}],258:[function(_dereq_,module,exports){ 5519'use strict'; 5520// B.2.3.4 String.prototype.blink() 5521_dereq_(131)('blink', function (createHTML) { 5522 return function blink() { 5523 return createHTML(this, 'blink', '', ''); 5524 }; 5525}); 5526 5527},{"131":131}],259:[function(_dereq_,module,exports){ 5528'use strict'; 5529// B.2.3.5 String.prototype.bold() 5530_dereq_(131)('bold', function (createHTML) { 5531 return function bold() { 5532 return createHTML(this, 'b', '', ''); 5533 }; 5534}); 5535 5536},{"131":131}],260:[function(_dereq_,module,exports){ 5537'use strict'; 5538var $export = _dereq_(62); 5539var $at = _dereq_(129)(false); 5540$export($export.P, 'String', { 5541 // 21.1.3.3 String.prototype.codePointAt(pos) 5542 codePointAt: function codePointAt(pos) { 5543 return $at(this, pos); 5544 } 5545}); 5546 5547},{"129":129,"62":62}],261:[function(_dereq_,module,exports){ 5548// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition]) 5549'use strict'; 5550var $export = _dereq_(62); 5551var toLength = _dereq_(141); 5552var context = _dereq_(130); 5553var ENDS_WITH = 'endsWith'; 5554var $endsWith = ''[ENDS_WITH]; 5555 5556$export($export.P + $export.F * _dereq_(63)(ENDS_WITH), 'String', { 5557 endsWith: function endsWith(searchString /* , endPosition = @length */) { 5558 var that = context(this, searchString, ENDS_WITH); 5559 var endPosition = arguments.length > 1 ? arguments[1] : undefined; 5560 var len = toLength(that.length); 5561 var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len); 5562 var search = String(searchString); 5563 return $endsWith 5564 ? $endsWith.call(that, search, end) 5565 : that.slice(end - search.length, end) === search; 5566 } 5567}); 5568 5569},{"130":130,"141":141,"62":62,"63":63}],262:[function(_dereq_,module,exports){ 5570'use strict'; 5571// B.2.3.6 String.prototype.fixed() 5572_dereq_(131)('fixed', function (createHTML) { 5573 return function fixed() { 5574 return createHTML(this, 'tt', '', ''); 5575 }; 5576}); 5577 5578},{"131":131}],263:[function(_dereq_,module,exports){ 5579'use strict'; 5580// B.2.3.7 String.prototype.fontcolor(color) 5581_dereq_(131)('fontcolor', function (createHTML) { 5582 return function fontcolor(color) { 5583 return createHTML(this, 'font', 'color', color); 5584 }; 5585}); 5586 5587},{"131":131}],264:[function(_dereq_,module,exports){ 5588'use strict'; 5589// B.2.3.8 String.prototype.fontsize(size) 5590_dereq_(131)('fontsize', function (createHTML) { 5591 return function fontsize(size) { 5592 return createHTML(this, 'font', 'size', size); 5593 }; 5594}); 5595 5596},{"131":131}],265:[function(_dereq_,module,exports){ 5597var $export = _dereq_(62); 5598var toAbsoluteIndex = _dereq_(137); 5599var fromCharCode = String.fromCharCode; 5600var $fromCodePoint = String.fromCodePoint; 5601 5602// length should be 1, old FF problem 5603$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', { 5604 // 21.1.2.2 String.fromCodePoint(...codePoints) 5605 fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars 5606 var res = []; 5607 var aLen = arguments.length; 5608 var i = 0; 5609 var code; 5610 while (aLen > i) { 5611 code = +arguments[i++]; 5612 if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point'); 5613 res.push(code < 0x10000 5614 ? fromCharCode(code) 5615 : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00) 5616 ); 5617 } return res.join(''); 5618 } 5619}); 5620 5621},{"137":137,"62":62}],266:[function(_dereq_,module,exports){ 5622// 21.1.3.7 String.prototype.includes(searchString, position = 0) 5623'use strict'; 5624var $export = _dereq_(62); 5625var context = _dereq_(130); 5626var INCLUDES = 'includes'; 5627 5628$export($export.P + $export.F * _dereq_(63)(INCLUDES), 'String', { 5629 includes: function includes(searchString /* , position = 0 */) { 5630 return !!~context(this, searchString, INCLUDES) 5631 .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); 5632 } 5633}); 5634 5635},{"130":130,"62":62,"63":63}],267:[function(_dereq_,module,exports){ 5636'use strict'; 5637// B.2.3.9 String.prototype.italics() 5638_dereq_(131)('italics', function (createHTML) { 5639 return function italics() { 5640 return createHTML(this, 'i', '', ''); 5641 }; 5642}); 5643 5644},{"131":131}],268:[function(_dereq_,module,exports){ 5645'use strict'; 5646var $at = _dereq_(129)(true); 5647 5648// 21.1.3.27 String.prototype[@@iterator]() 5649_dereq_(85)(String, 'String', function (iterated) { 5650 this._t = String(iterated); // target 5651 this._i = 0; // next index 5652// 21.1.5.2.1 %StringIteratorPrototype%.next() 5653}, function () { 5654 var O = this._t; 5655 var index = this._i; 5656 var point; 5657 if (index >= O.length) return { value: undefined, done: true }; 5658 point = $at(O, index); 5659 this._i += point.length; 5660 return { value: point, done: false }; 5661}); 5662 5663},{"129":129,"85":85}],269:[function(_dereq_,module,exports){ 5664'use strict'; 5665// B.2.3.10 String.prototype.link(url) 5666_dereq_(131)('link', function (createHTML) { 5667 return function link(url) { 5668 return createHTML(this, 'a', 'href', url); 5669 }; 5670}); 5671 5672},{"131":131}],270:[function(_dereq_,module,exports){
vendor: 4,096 bytes, lines 5673-5810
5673var $export = _dereq_(62); 5674var toIObject = _dereq_(140); 5675var toLength = _dereq_(141); 5676 5677$export($export.S, 'String', { 5678 // 21.1.2.4 String.raw(callSite, ...substitutions) 5679 raw: function raw(callSite) { 5680 var tpl = toIObject(callSite.raw); 5681 var len = toLength(tpl.length); 5682 var aLen = arguments.length; 5683 var res = []; 5684 var i = 0; 5685 while (len > i) { 5686 res.push(String(tpl[i++])); 5687 if (i < aLen) res.push(String(arguments[i])); 5688 } return res.join(''); 5689 } 5690}); 5691 5692},{"140":140,"141":141,"62":62}],271:[function(_dereq_,module,exports){ 5693var $export = _dereq_(62); 5694 5695$export($export.P, 'String', { 5696 // 21.1.3.13 String.prototype.repeat(count) 5697 repeat: _dereq_(133) 5698}); 5699 5700},{"133":133,"62":62}],272:[function(_dereq_,module,exports){ 5701'use strict'; 5702// B.2.3.11 String.prototype.small() 5703_dereq_(131)('small', function (createHTML) { 5704 return function small() { 5705 return createHTML(this, 'small', '', ''); 5706 }; 5707}); 5708 5709},{"131":131}],273:[function(_dereq_,module,exports){ 5710// 21.1.3.18 String.prototype.startsWith(searchString [, position ]) 5711'use strict'; 5712var $export = _dereq_(62); 5713var toLength = _dereq_(141); 5714var context = _dereq_(130); 5715var STARTS_WITH = 'startsWith'; 5716var $startsWith = ''[STARTS_WITH]; 5717 5718$export($export.P + $export.F * _dereq_(63)(STARTS_WITH), 'String', { 5719 startsWith: function startsWith(searchString /* , position = 0 */) { 5720 var that = context(this, searchString, STARTS_WITH); 5721 var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); 5722 var search = String(searchString); 5723 return $startsWith 5724 ? $startsWith.call(that, search, index) 5725 : that.slice(index, index + search.length) === search; 5726 } 5727}); 5728 5729},{"130":130,"141":141,"62":62,"63":63}],274:[function(_dereq_,module,exports){ 5730'use strict'; 5731// B.2.3.12 String.prototype.strike() 5732_dereq_(131)('strike', function (createHTML) { 5733 return function strike() { 5734 return createHTML(this, 'strike', '', ''); 5735 }; 5736}); 5737 5738},{"131":131}],275:[function(_dereq_,module,exports){ 5739'use strict'; 5740// B.2.3.13 String.prototype.sub() 5741_dereq_(131)('sub', function (createHTML) { 5742 return function sub() { 5743 return createHTML(this, 'sub', '', ''); 5744 }; 5745}); 5746 5747},{"131":131}],276:[function(_dereq_,module,exports){ 5748'use strict'; 5749// B.2.3.14 String.prototype.sup() 5750_dereq_(131)('sup', function (createHTML) { 5751 return function sup() { 5752 return createHTML(this, 'sup', '', ''); 5753 }; 5754}); 5755 5756},{"131":131}],277:[function(_dereq_,module,exports){ 5757'use strict'; 5758// 21.1.3.25 String.prototype.trim() 5759_dereq_(134)('trim', function ($trim) { 5760 return function trim() { 5761 return $trim(this, 3); 5762 }; 5763}); 5764 5765},{"134":134}],278:[function(_dereq_,module,exports){ 5766'use strict'; 5767// ECMAScript 6 symbols shim 5768var global = _dereq_(70); 5769var has = _dereq_(71); 5770var DESCRIPTORS = _dereq_(58); 5771var $export = _dereq_(62); 5772var redefine = _dereq_(118); 5773var META = _dereq_(94).KEY; 5774var $fails = _dereq_(64); 5775var shared = _dereq_(126); 5776var setToStringTag = _dereq_(124); 5777var uid = _dereq_(147); 5778var wks = _dereq_(152); 5779var wksExt = _dereq_(151); 5780var wksDefine = _dereq_(150); 5781var enumKeys = _dereq_(61); 5782var isArray = _dereq_(79); 5783var anObject = _dereq_(38); 5784var isObject = _dereq_(81); 5785var toIObject = _dereq_(140); 5786var toPrimitive = _dereq_(143); 5787var createDesc = _dereq_(116); 5788var _create = _dereq_(98); 5789var gOPNExt = _dereq_(102); 5790var $GOPD = _dereq_(101); 5791var $DP = _dereq_(99); 5792var $keys = _dereq_(107); 5793var gOPD = $GOPD.f; 5794var dP = $DP.f; 5795var gOPN = gOPNExt.f; 5796var $Symbol = global.Symbol; 5797var $JSON = global.JSON; 5798var _stringify = $JSON && $JSON.stringify; 5799var PROTOTYPE = 'prototype'; 5800var HIDDEN = wks('_hidden'); 5801var TO_PRIMITIVE = wks('toPrimitive'); 5802var isEnum = {}.propertyIsEnumerable; 5803var SymbolRegistry = shared('symbol-registry'); 5804var AllSymbols = shared('symbols'); 5805var OPSymbols = shared('op-symbols'); 5806var ObjectProto = Object[PROTOTYPE]; 5807var USE_NATIVE = typeof $Symbol == 'function'; 5808var QObject = global.QObject; 5809// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 5810var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findC
vendor: 4,149 bytes, lines 5810-5929
5810hild; 5811 5812// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 5813var setSymbolDesc = DESCRIPTORS && $fails(function () { 5814 return _create(dP({}, 'a', { 5815 get: function () { return dP(this, 'a', { value: 7 }).a; } 5816 })).a != 7; 5817}) ? function (it, key, D) { 5818 var protoDesc = gOPD(ObjectProto, key); 5819 if (protoDesc) delete ObjectProto[key]; 5820 dP(it, key, D); 5821 if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); 5822} : dP; 5823 5824var wrap = function (tag) { 5825 var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); 5826 sym._k = tag; 5827 return sym; 5828}; 5829 5830var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { 5831 return typeof it == 'symbol'; 5832} : function (it) { 5833 return it instanceof $Symbol; 5834}; 5835 5836var $defineProperty = function defineProperty(it, key, D) { 5837 if (it === ObjectProto) $defineProperty(OPSymbols, key, D); 5838 anObject(it); 5839 key = toPrimitive(key, true); 5840 anObject(D); 5841 if (has(AllSymbols, key)) { 5842 if (!D.enumerable) { 5843 if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); 5844 it[HIDDEN][key] = true; 5845 } else { 5846 if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; 5847 D = _create(D, { enumerable: createDesc(0, false) }); 5848 } return setSymbolDesc(it, key, D); 5849 } return dP(it, key, D); 5850}; 5851var $defineProperties = function defineProperties(it, P) { 5852 anObject(it); 5853 var keys = enumKeys(P = toIObject(P)); 5854 var i = 0; 5855 var l = keys.length; 5856 var key; 5857 while (l > i) $defineProperty(it, key = keys[i++], P[key]); 5858 return it; 5859}; 5860var $create = function create(it, P) { 5861 return P === undefined ? _create(it) : $defineProperties(_create(it), P); 5862}; 5863var $propertyIsEnumerable = function propertyIsEnumerable(key) { 5864 var E = isEnum.call(this, key = toPrimitive(key, true)); 5865 if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; 5866 return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; 5867}; 5868var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { 5869 it = toIObject(it); 5870 key = toPrimitive(key, true); 5871 if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; 5872 var D = gOPD(it, key); 5873 if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; 5874 return D; 5875}; 5876var $getOwnPropertyNames = function getOwnPropertyNames(it) { 5877 var names = gOPN(toIObject(it)); 5878 var result = []; 5879 var i = 0; 5880 var key; 5881 while (names.length > i) { 5882 if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); 5883 } return result; 5884}; 5885var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { 5886 var IS_OP = it === ObjectProto; 5887 var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); 5888 var result = []; 5889 var i = 0; 5890 var key; 5891 while (names.length > i) { 5892 if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); 5893 } return result; 5894}; 5895 5896// 19.4.1.1 Symbol([description]) 5897if (!USE_NATIVE) { 5898 $Symbol = function Symbol() { 5899 if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); 5900 var tag = uid(arguments.length > 0 ? arguments[0] : undefined); 5901 var $set = function (value) { 5902 if (this === ObjectProto) $set.call(OPSymbols, value); 5903 if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; 5904 setSymbolDesc(this, tag, createDesc(1, value)); 5905 }; 5906 if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); 5907 return wrap(tag); 5908 }; 5909 redefine($Symbol[PROTOTYPE], 'toString', function toString() { 5910 return this._k; 5911 }); 5912 5913 $GOPD.f = $getOwnPropertyDescriptor; 5914 $DP.f = $defineProperty; 5915 _dereq_(103).f = gOPNExt.f = $getOwnPropertyNames; 5916 _dereq_(108).f = $propertyIsEnumerable; 5917 _dereq_(104).f = $getOwnPropertySymbols; 5918 5919 if (DESCRIPTORS && !_dereq_(89)) { 5920 redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); 5921 } 5922 5923 wksExt.f = function (name) { 5924 return wrap(wks(name)); 5925 }; 5926} 5927 5928$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); 5929
vendor: 17,672 bytes, lines 5930-6451
5930for (var es6Symbols = ( 5931 // 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 5932 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' 5933).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); 5934 5935for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); 5936 5937$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { 5938 // 19.4.2.1 Symbol.for(key) 5939 'for': function (key) { 5940 return has(SymbolRegistry, key += '') 5941 ? SymbolRegistry[key] 5942 : SymbolRegistry[key] = $Symbol(key); 5943 }, 5944 // 19.4.2.5 Symbol.keyFor(sym) 5945 keyFor: function keyFor(sym) { 5946 if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); 5947 for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; 5948 }, 5949 useSetter: function () { setter = true; }, 5950 useSimple: function () { setter = false; } 5951}); 5952 5953$export($export.S + $export.F * !USE_NATIVE, 'Object', { 5954 // 19.1.2.2 Object.create(O [, Properties]) 5955 create: $create, 5956 // 19.1.2.4 Object.defineProperty(O, P, Attributes) 5957 defineProperty: $defineProperty, 5958 // 19.1.2.3 Object.defineProperties(O, Properties) 5959 defineProperties: $defineProperties, 5960 // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) 5961 getOwnPropertyDescriptor: $getOwnPropertyDescriptor, 5962 // 19.1.2.7 Object.getOwnPropertyNames(O) 5963 getOwnPropertyNames: $getOwnPropertyNames, 5964 // 19.1.2.8 Object.getOwnPropertySymbols(O) 5965 getOwnPropertySymbols: $getOwnPropertySymbols 5966}); 5967 5968// 24.3.2 JSON.stringify(value [, replacer [, space]]) 5969$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { 5970 var S = $Symbol(); 5971 // MS Edge converts symbol values to JSON as {} 5972 // WebKit converts symbol values to JSON as null 5973 // V8 throws on boxed symbols 5974 return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; 5975})), 'JSON', { 5976 stringify: function stringify(it) { 5977 var args = [it]; 5978 var i = 1; 5979 var replacer, $replacer; 5980 while (arguments.length > i) args.push(arguments[i++]); 5981 $replacer = replacer = args[1]; 5982 if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined 5983 if (!isArray(replacer)) replacer = function (key, value) { 5984 if (typeof $replacer == 'function') value = $replacer.call(this, key, value); 5985 if (!isSymbol(value)) return value; 5986 }; 5987 args[1] = replacer; 5988 return _stringify.apply($JSON, args); 5989 } 5990}); 5991 5992// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) 5993$Symbol[PROTOTYPE][TO_PRIMITIVE] || _dereq_(72)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); 5994// 19.4.3.5 Symbol.prototype[@@toStringTag] 5995setToStringTag($Symbol, 'Symbol'); 5996// 20.2.1.9 Math[@@toStringTag] 5997setToStringTag(Math, 'Math', true); 5998// 24.3.3 JSON[@@toStringTag] 5999setToStringTag(global.JSON, 'JSON', true); 6000 6001},{"101":101,"102":102,"103":103,"104":104,"107":107,"108":108,"116":116,"118":118,"124":124,"126":126,"140":140,"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){ 6002'use strict'; 6003var $export = _dereq_(62); 6004var $typed = _dereq_(146); 6005var buffer = _dereq_(145); 6006var anObject = _dereq_(38); 6007var toAbsoluteIndex = _dereq_(137); 6008var toLength = _dereq_(141); 6009var isObject = _dereq_(81); 6010var ArrayBuffer = _dereq_(70).ArrayBuffer; 6011var speciesConstructor = _dereq_(127); 6012var $ArrayBuffer = buffer.ArrayBuffer; 6013var $DataView = buffer.DataView; 6014var $isView = $typed.ABV && ArrayBuffer.isView; 6015var $slice = $ArrayBuffer.prototype.slice; 6016var VIEW = $typed.VIEW; 6017var ARRAY_BUFFER = 'ArrayBuffer'; 6018 6019$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer }); 6020 6021$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, { 6022 // 24.1.3.1 ArrayBuffer.isView(arg) 6023 isView: function isView(it) { 6024 return $isView && $isView(it) || isObject(it) && VIEW in it; 6025 } 6026}); 6027 6028$export($export.P + $export.U + $export.F * _dereq_(64)(function () { 6029 return !new $ArrayBuffer(2).slice(1, undefined).byteLength; 6030}), ARRAY_BUFFER, { 6031 // 24.1.4.3 ArrayBuffer.prototype.slice(start, end) 6032 slice: function slice(start, end) { 6033 if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix 6034 var len = anObject(this).byteLength; 6035 var first = toAbsoluteIndex(start, len); 6036 var fin = toAbsoluteIndex(end === undefined ? len : end, len); 6037 var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first)); 6038 var viewS = new $DataView(this); 6039 var viewT = new $DataView(result); 6040 var index = 0; 6041 while (first < fin) { 6042 viewT.setUint8(index++, viewS.getUint8(first++)); 6043 } return result; 6044 } 6045}); 6046 6047_dereq_(123)(ARRAY_BUFFER); 6048 6049},{"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){ 6050var $export = _dereq_(62); 6051$export($export.G + $export.W + $export.F * !_dereq_(146).ABV, { 6052 DataView: _dereq_(145).DataView 6053}); 6054 6055},{"145":145,"146":146,"62":62}],281:[function(_dereq_,module,exports){ 6056_dereq_(144)('Float32', 4, function (init) { 6057 return function Float32Array(data, byteOffset, length) { 6058 return init(this, data, byteOffset, length); 6059 }; 6060}); 6061 6062},{"144":144}],282:[function(_dereq_,module,exports){ 6063_dereq_(144)('Float64', 8, function (init) { 6064 return function Float64Array(data, byteOffset, length) { 6065 return init(this, data, byteOffset, length); 6066 }; 6067}); 6068 6069},{"144":144}],283:[function(_dereq_,module,exports){ 6070_dereq_(144)('Int16', 2, function (init) { 6071 return function Int16Array(data, byteOffset, length) { 6072 return init(this, data, byteOffset, length); 6073 }; 6074}); 6075 6076},{"144":144}],284:[function(_dereq_,module,exports){ 6077_dereq_(144)('Int32', 4, function (init) { 6078 return function Int32Array(data, byteOffset, length) { 6079 return init(this, data, byteOffset, length); 6080 }; 6081}); 6082 6083},{"144":144}],285:[function(_dereq_,module,exports){ 6084_dereq_(144)('Int8', 1, function (init) { 6085 return function Int8Array(data, byteOffset, length) { 6086 return init(this, data, byteOffset, length); 6087 }; 6088}); 6089 6090},{"144":144}],286:[function(_dereq_,module,exports){ 6091_dereq_(144)('Uint16', 2, function (init) { 6092 return function Uint16Array(data, byteOffset, length) { 6093 return init(this, data, byteOffset, length); 6094 }; 6095}); 6096 6097},{"144":144}],287:[function(_dereq_,module,exports){ 6098_dereq_(144)('Uint32', 4, function (init) { 6099 return function Uint32Array(data, byteOffset, length) { 6100 return init(this, data, byteOffset, length); 6101 }; 6102}); 6103 6104},{"144":144}],288:[function(_dereq_,module,exports){ 6105_dereq_(144)('Uint8', 1, function (init) { 6106 return function Uint8Array(data, byteOffset, length) { 6107 return init(this, data, byteOffset, length); 6108 }; 6109}); 6110 6111},{"144":144}],289:[function(_dereq_,module,exports){ 6112_dereq_(144)('Uint8', 1, function (init) { 6113 return function Uint8ClampedArray(data, byteOffset, length) { 6114 return init(this, data, byteOffset, length); 6115 }; 6116}, true); 6117 6118},{"144":144}],290:[function(_dereq_,module,exports){ 6119'use strict'; 6120var global = _dereq_(70); 6121var each = _dereq_(42)(0); 6122var redefine = _dereq_(118); 6123var meta = _dereq_(94); 6124var assign = _dereq_(97); 6125var weak = _dereq_(50); 6126var isObject = _dereq_(81); 6127var validate = _dereq_(149); 6128var NATIVE_WEAK_MAP = _dereq_(149); 6129var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; 6130var WEAK_MAP = 'WeakMap'; 6131var getWeak = meta.getWeak; 6132var isExtensible = Object.isExtensible; 6133var uncaughtFrozenStore = weak.ufstore; 6134var InternalMap; 6135 6136var wrapper = function (get) { 6137 return function WeakMap() { 6138 return get(this, arguments.length > 0 ? arguments[0] : undefined); 6139 }; 6140}; 6141 6142var methods = { 6143 // 23.3.3.3 WeakMap.prototype.get(key) 6144 get: function get(key) { 6145 if (isObject(key)) { 6146 var data = getWeak(key); 6147 if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key); 6148 return data ? data[this._i] : undefined; 6149 } 6150 }, 6151 // 23.3.3.5 WeakMap.prototype.set(key, value) 6152 set: function set(key, value) { 6153 return weak.def(validate(this, WEAK_MAP), key, value); 6154 } 6155}; 6156 6157// 23.3 WeakMap Objects 6158var $WeakMap = module.exports = _dereq_(51)(WEAK_MAP, wrapper, methods, weak, true, true); 6159 6160// IE11 WeakMap frozen keys fix 6161if (NATIVE_WEAK_MAP && IS_IE11) { 6162 InternalMap = weak.getConstructor(wrapper, WEAK_MAP); 6163 assign(InternalMap.prototype, methods); 6164 meta.NEED = true; 6165 each(['delete', 'has', 'get', 'set'], function (key) { 6166 var proto = $WeakMap.prototype; 6167 var method = proto[key]; 6168 redefine(proto, key, function (a, b) { 6169 // store frozen objects on internal weakmap shim 6170 if (isObject(a) && !isExtensible(a)) { 6171 if (!this._f) this._f = new InternalMap(); 6172 var result = this._f[key](a, b); 6173 return key == 'set' ? this : result; 6174 // store all the rest on native weakmap 6175 } return method.call(this, a, b); 6176 }); 6177 }); 6178} 6179 6180},{"118":118,"149":149,"42":42,"50":50,"51":51,"70":70,"81":81,"94":94,"97":97}],291:[function(_dereq_,module,exports){ 6181'use strict'; 6182var weak = _dereq_(50); 6183var validate = _dereq_(149); 6184var WEAK_SET = 'WeakSet'; 6185 6186// 23.4 WeakSet Objects 6187_dereq_(51)(WEAK_SET, function (get) { 6188 return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; 6189}, { 6190 // 23.4.3.1 WeakSet.prototype.add(value) 6191 add: function add(value) { 6192 return weak.def(validate(this, WEAK_SET), value, true); 6193 } 6194}, weak, false, true); 6195 6196},{"149":149,"50":50,"51":51}],292:[function(_dereq_,module,exports){ 6197'use strict'; 6198// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap 6199var $export = _dereq_(62); 6200var flattenIntoArray = _dereq_(67); 6201var toObject = _dereq_(142); 6202var toLength = _dereq_(141); 6203var aFunction = _dereq_(33); 6204var arraySpeciesCreate = _dereq_(45); 6205 6206$export($export.P, 'Array', { 6207 flatMap: function flatMap(callbackfn /* , thisArg */) { 6208 var O = toObject(this); 6209 var sourceLen, A; 6210 aFunction(callbackfn); 6211 sourceLen = toLength(O.length); 6212 A = arraySpeciesCreate(O, 0); 6213 flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]); 6214 return A; 6215 } 6216}); 6217 6218_dereq_(35)('flatMap'); 6219 6220},{"141":141,"142":142,"33":33,"35":35,"45":45,"62":62,"67":67}],293:[function(_dereq_,module,exports){ 6221'use strict'; 6222// https://github.com/tc39/Array.prototype.includes 6223var $export = _dereq_(62); 6224var $includes = _dereq_(41)(true); 6225 6226$export($export.P, 'Array', { 6227 includes: function includes(el /* , fromIndex = 0 */) { 6228 return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); 6229 } 6230}); 6231 6232_dereq_(35)('includes'); 6233 6234},{"35":35,"41":41,"62":62}],294:[function(_dereq_,module,exports){ 6235// https://github.com/tc39/proposal-object-values-entries 6236var $export = _dereq_(62); 6237var $entries = _dereq_(110)(true); 6238 6239$export($export.S, 'Object', { 6240 entries: function entries(it) { 6241 return $entries(it); 6242 } 6243}); 6244 6245},{"110":110,"62":62}],295:[function(_dereq_,module,exports){ 6246// https://github.com/tc39/proposal-object-getownpropertydescriptors 6247var $export = _dereq_(62); 6248var ownKeys = _dereq_(111); 6249var toIObject = _dereq_(140); 6250var gOPD = _dereq_(101); 6251var createProperty = _dereq_(53); 6252 6253$export($export.S, 'Object', { 6254 getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { 6255 var O = toIObject(object); 6256 var getDesc = gOPD.f; 6257 var keys = ownKeys(O); 6258 var result = {}; 6259 var i = 0; 6260 var key, desc; 6261 while (keys.length > i) { 6262 desc = getDesc(O, key = keys[i++]); 6263 if (desc !== undefined) createProperty(result, key, desc); 6264 } 6265 return result; 6266 } 6267}); 6268 6269},{"101":101,"111":111,"140":140,"53":53,"62":62}],296:[function(_dereq_,module,exports){ 6270// https://github.com/tc39/proposal-object-values-entries 6271var $export = _dereq_(62); 6272var $values = _dereq_(110)(false); 6273 6274$export($export.S, 'Object', { 6275 values: function values(it) { 6276 return $values(it); 6277 } 6278}); 6279 6280},{"110":110,"62":62}],297:[function(_dereq_,module,exports){ 6281// https://github.com/tc39/proposal-promise-finally 6282'use strict'; 6283var $export = _dereq_(62); 6284var core = _dereq_(52); 6285var global = _dereq_(70); 6286var speciesConstructor = _dereq_(127); 6287var promiseResolve = _dereq_(115); 6288 6289$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) { 6290 var C = speciesConstructor(this, core.Promise || global.Promise); 6291 var isFunction = typeof onFinally == 'function'; 6292 return this.then( 6293 isFunction ? function (x) { 6294 return promiseResolve(C, onFinally()).then(function () { return x; }); 6295 } : onFinally, 6296 isFunction ? function (e) { 6297 return promiseResolve(C, onFinally()).then(function () { throw e; }); 6298 } : onFinally 6299 ); 6300} }); 6301 6302},{"115":115,"127":127,"52":52,"62":62,"70":70}],298:[function(_dereq_,module,exports){ 6303'use strict'; 6304// https://github.com/tc39/proposal-string-pad-start-end 6305var $export = _dereq_(62); 6306var $pad = _dereq_(132); 6307var userAgent = _dereq_(148); 6308 6309// https://github.com/zloirock/core-js/issues/280 6310var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); 6311 6312$export($export.P + $export.F * WEBKIT_BUG, 'String', { 6313 padEnd: function padEnd(maxLength /* , fillString = ' ' */) { 6314 return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false); 6315 } 6316}); 6317 6318},{"132":132,"148":148,"62":62}],299:[function(_dereq_,module,exports){ 6319'use strict'; 6320// https://github.com/tc39/proposal-string-pad-start-end 6321var $export = _dereq_(62); 6322var $pad = _dereq_(132); 6323var userAgent = _dereq_(148); 6324 6325// https://github.com/zloirock/core-js/issues/280 6326var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); 6327 6328$export($export.P + $export.F * WEBKIT_BUG, 'String', { 6329 padStart: function padStart(maxLength /* , fillString = ' ' */) { 6330 return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true); 6331 } 6332}); 6333 6334},{"132":132,"148":148,"62":62}],300:[function(_dereq_,module,exports){ 6335'use strict'; 6336// https://github.com/sebmarkbage/ecmascript-string-left-right-trim 6337_dereq_(134)('trimLeft', function ($trim) { 6338 return function trimLeft() { 6339 return $trim(this, 1); 6340 }; 6341}, 'trimStart'); 6342 6343},{"134":134}],301:[function(_dereq_,module,exports){ 6344'use strict'; 6345// https://github.com/sebmarkbage/ecmascript-string-left-right-trim 6346_dereq_(134)('trimRight', function ($trim) { 6347 return function trimRight() { 6348 return $trim(this, 2); 6349 }; 6350}, 'trimEnd'); 6351 6352},{"134":134}],302:[function(_dereq_,module,exports){ 6353_dereq_(150)('asyncIterator'); 6354 6355},{"150":150}],303:[function(_dereq_,module,exports){ 6356var $iterators = _dereq_(164); 6357var getKeys = _dereq_(107); 6358var redefine = _dereq_(118); 6359var global = _dereq_(70); 6360var hide = _dereq_(72); 6361var Iterators = _dereq_(88); 6362var wks = _dereq_(152); 6363var ITERATOR = wks('iterator'); 6364var TO_STRING_TAG = wks('toStringTag'); 6365var ArrayValues = Iterators.Array; 6366 6367var DOMIterables = { 6368 CSSRuleList: true, // TODO: Not spec compliant, should be false. 6369 CSSStyleDeclaration: false, 6370 CSSValueList: false, 6371 ClientRectList: false, 6372 DOMRectList: false, 6373 DOMStringList: false, 6374 DOMTokenList: true, 6375 DataTransferItemList: false, 6376 FileList: false, 6377 HTMLAllCollection: false, 6378 HTMLCollection: false, 6379 HTMLFormElement: false, 6380 HTMLSelectElement: false, 6381 MediaList: true, // TODO: Not spec compliant, should be false. 6382 MimeTypeArray: false, 6383 NamedNodeMap: false, 6384 NodeList: true, 6385 PaintRequestList: false, 6386 Plugin: false, 6387 PluginArray: false, 6388 SVGLengthList: false, 6389 SVGNumberList: false, 6390 SVGPathSegList: false, 6391 SVGPointList: false, 6392 SVGStringList: false, 6393 SVGTransformList: false, 6394 SourceBufferList: false, 6395 StyleSheetList: true, // TODO: Not spec compliant, should be false. 6396 TextTrackCueList: false, 6397 TextTrackList: false, 6398 TouchList: false 6399}; 6400 6401for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) { 6402 var NAME = collections[i]; 6403 var explicit = DOMIterables[NAME]; 6404 var Collection = global[NAME]; 6405 var proto = Collection && Collection.prototype; 6406 var key; 6407 if (proto) { 6408 if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues); 6409 if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME); 6410 Iterators[NAME] = ArrayValues; 6411 if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true); 6412 } 6413} 6414 6415},{"107":107,"118":118,"152":152,"164":164,"70":70,"72":72,"88":88}],304:[function(_dereq_,module,exports){ 6416var $export = _dereq_(62); 6417var $task = _dereq_(136); 6418$export($export.G + $export.B, { 6419 setImmediate: $task.set, 6420 clearImmediate: $task.clear 6421}); 6422 6423},{"136":136,"62":62}],305:[function(_dereq_,module,exports){ 6424// ie9- setTimeout & setInterval additional parameters fix 6425var global = _dereq_(70); 6426var $export = _dereq_(62); 6427var userAgent = _dereq_(148); 6428var slice = [].slice; 6429var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check 6430var wrap = function (set) { 6431 return function (fn, time /* , ...args */) { 6432 var boundArgs = arguments.length > 2; 6433 var args = boundArgs ? slice.call(arguments, 2) : false; 6434 return set(boundArgs ? function () { 6435 // eslint-disable-next-line no-new-func 6436 (typeof fn == 'function' ? fn : Function(fn)).apply(this, args); 6437 } : fn, time); 6438 }; 6439}; 6440$export($export.G + $export.B + $export.F * MSIE, { 6441 setTimeout: wrap(global.setTimeout), 6442 setInterval: wrap(global.setInterval) 6443}); 6444 6445},{"148":148,"62":62,"70":70}],306:[function(_dereq_,module,exports){ 6446_dereq_(305); 6447_dereq_(304); 6448_dereq_(303); 6449module.exports = _dereq_(52); 6450 6451},{"303":303,"304":304,"305":305,"52":52}],307:[function(_dereq_,module,exports){
vendor: 16,678 bytes, lines 6451-6926
6451 6452/** 6453 * Copyright (c) 2014-present, Facebook, Inc. 6454 * 6455 * This source code is licensed under the MIT license found in the 6456 * LICENSE file in the root directory of this source tree. 6457 */ 6458 6459var runtime = (function (exports) { 6460 "use strict"; 6461 6462 var Op = Object.prototype; 6463 var hasOwn = Op.hasOwnProperty; 6464 var undefined; // More compressible than void 0. 6465 var $Symbol = typeof Symbol === "function" ? Symbol : {}; 6466 var iteratorSymbol = $Symbol.iterator || "@@iterator"; 6467 var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; 6468 var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; 6469 6470 function wrap(innerFn, outerFn, self, tryLocsList) { 6471 // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. 6472 var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; 6473 var generator = Object.create(protoGenerator.prototype); 6474 var context = new Context(tryLocsList || []); 6475 6476 // The ._invoke method unifies the implementations of the .next, 6477 // .throw, and .return methods. 6478 generator._invoke = makeInvokeMethod(innerFn, self, context); 6479 6480 return generator; 6481 } 6482 exports.wrap = wrap; 6483 6484 // Try/catch helper to minimize deoptimizations. Returns a completion 6485 // record like context.tryEntries[i].completion. This interface could 6486 // have been (and was previously) designed to take a closure to be 6487 // invoked without arguments, but in all the cases we care about we 6488 // already have an existing method we want to call, so there's no need 6489 // to create a new function object. We can even get away with assuming 6490 // the method takes exactly one argument, since that happens to be true 6491 // in every case, so we don't have to touch the arguments object. The 6492 // only additional allocation required is the completion record, which 6493 // has a stable shape and so hopefully should be cheap to allocate. 6494 function tryCatch(fn, obj, arg) { 6495 try { 6496 return { type: "normal", arg: fn.call(obj, arg) }; 6497 } catch (err) { 6498 return { type: "throw", arg: err }; 6499 } 6500 } 6501 6502 var GenStateSuspendedStart = "suspendedStart"; 6503 var GenStateSuspendedYield = "suspendedYield"; 6504 var GenStateExecuting = "executing"; 6505 var GenStateCompleted = "completed"; 6506 6507 // Returning this object from the innerFn has the same effect as 6508 // breaking out of the dispatch switch statement. 6509 var ContinueSentinel = {}; 6510 6511 // Dummy constructor functions that we use as the .constructor and 6512 // .constructor.prototype properties for functions that return Generator 6513 // objects. For full spec compliance, you may wish to configure your 6514 // minifier not to mangle the names of these two functions. 6515 function Generator() {} 6516 function GeneratorFunction() {} 6517 function GeneratorFunctionPrototype() {} 6518 6519 // This is a polyfill for %IteratorPrototype% for environments that 6520 // don't natively support it. 6521 var IteratorPrototype = {}; 6522 IteratorPrototype[iteratorSymbol] = function () { 6523 return this; 6524 }; 6525 6526 var getProto = Object.getPrototypeOf; 6527 var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); 6528 if (NativeIteratorPrototype && 6529 NativeIteratorPrototype !== Op && 6530 hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { 6531 // This environment has a native %IteratorPrototype%; use it instead 6532 // of the polyfill. 6533 IteratorPrototype = NativeIteratorPrototype; 6534 } 6535 6536 var Gp = GeneratorFunctionPrototype.prototype = 6537 Generator.prototype = Object.create(IteratorPrototype); 6538 GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype; 6539 GeneratorFunctionPrototype.constructor = GeneratorFunction; 6540 GeneratorFunctionPrototype[toStringTagSymbol] = 6541 GeneratorFunction.displayName = "GeneratorFunction"; 6542 6543 // Helper for defining the .next, .throw, and .return methods of the 6544 // Iterator interface in terms of a single ._invoke method. 6545 function defineIteratorMethods(prototype) { 6546 ["next", "throw", "return"].forEach(function(method) { 6547 prototype[method] = function(arg) { 6548 return this._invoke(method, arg); 6549 }; 6550 }); 6551 } 6552 6553 exports.isGeneratorFunction = function(genFun) { 6554 var ctor = typeof genFun === "function" && genFun.constructor; 6555 return ctor 6556 ? ctor === GeneratorFunction || 6557 // For the native GeneratorFunction constructor, the best we can 6558 // do is to check its .name property. 6559 (ctor.displayName || ctor.name) === "GeneratorFunction" 6560 : false; 6561 }; 6562 6563 exports.mark = function(genFun) { 6564 if (Object.setPrototypeOf) { 6565 Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); 6566 } else { 6567 genFun.__proto__ = GeneratorFunctionPrototype; 6568 if (!(toStringTagSymbol in genFun)) { 6569 genFun[toStringTagSymbol] = "GeneratorFunction"; 6570 } 6571 } 6572 genFun.prototype = Object.create(Gp); 6573 return genFun; 6574 }; 6575 6576 // Within the body of any async function, `await x` is transformed to 6577 // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test 6578 // `hasOwn.call(value, "__await")` to determine if the yielded value is 6579 // meant to be awaited. 6580 exports.awrap = function(arg) { 6581 return { __await: arg }; 6582 }; 6583 6584 function AsyncIterator(generator) { 6585 function invoke(method, arg, resolve, reject) { 6586 var record = tryCatch(generator[method], generator, arg); 6587 if (record.type === "throw") { 6588 reject(record.arg); 6589 } else { 6590 var result = record.arg; 6591 var value = result.value; 6592 if (value && 6593 typeof value === "object" && 6594 hasOwn.call(value, "__await")) { 6595 return Promise.resolve(value.__await).then(function(value) { 6596 invoke("next", value, resolve, reject); 6597 }, function(err) { 6598 invoke("throw", err, resolve, reject); 6599 }); 6600 } 6601 6602 return Promise.resolve(value).then(function(unwrapped) { 6603 // When a yielded Promise is resolved, its final value becomes 6604 // the .value of the Promise<{value,done}> result for the 6605 // current iteration. 6606 result.value = unwrapped; 6607 resolve(result); 6608 }, function(error) { 6609 // If a rejected Promise was yielded, throw the rejection back 6610 // into the async generator function so it can be handled there. 6611 return invoke("throw", error, resolve, reject); 6612 }); 6613 } 6614 } 6615 6616 var previousPromise; 6617 6618 function enqueue(method, arg) { 6619 function callInvokeWithMethodAndArg() { 6620 return new Promise(function(resolve, reject) { 6621 invoke(method, arg, resolve, reject); 6622 }); 6623 } 6624 6625 return previousPromise = 6626 // If enqueue has been called before, then we want to wait until 6627 // all previous Promises have been resolved before calling invoke, 6628 // so that results are always delivered in the correct order. If 6629 // enqueue has not been called before, then it is important to 6630 // call invoke immediately, without waiting on a callback to fire, 6631 // so that the async generator function has the opportunity to do 6632 // any necessary setup in a predictable way. This predictability 6633 // is why the Promise constructor synchronously invokes its 6634 // executor callback, and why async functions synchronously 6635 // execute code before the first await. Since we implement simple 6636 // async functions in terms of async generators, it is especially 6637 // important to get this right, even though it requires care. 6638 previousPromise ? previousPromise.then( 6639 callInvokeWithMethodAndArg, 6640 // Avoid propagating failures to Promises returned by later 6641 // invocations of the iterator. 6642 callInvokeWithMethodAndArg 6643 ) : callInvokeWithMethodAndArg(); 6644 } 6645 6646 // Define the unified helper method that is used to implement .next, 6647 // .throw, and .return (see defineIteratorMethods). 6648 this._invoke = enqueue; 6649 } 6650 6651 defineIteratorMethods(AsyncIterator.prototype); 6652 AsyncIterator.prototype[asyncIteratorSymbol] = function () { 6653 return this; 6654 }; 6655 exports.AsyncIterator = AsyncIterator; 6656 6657 // Note that simple async functions are implemented on top of 6658 // AsyncIterator objects; they just return a Promise for the value of 6659 // the final result produced by the iterator. 6660 exports.async = function(innerFn, outerFn, self, tryLocsList) { 6661 var iter = new AsyncIterator( 6662 wrap(innerFn, outerFn, self, tryLocsList) 6663 ); 6664 6665 return exports.isGeneratorFunction(outerFn) 6666 ? iter // If outerFn is a generator, return the full iterator. 6667 : iter.next().then(function(result) { 6668 return result.done ? result.value : iter.next(); 6669 }); 6670 }; 6671 6672 function makeInvokeMethod(innerFn, self, context) { 6673 var state = GenStateSuspendedStart; 6674 6675 return function invoke(method, arg) { 6676 if (state === GenStateExecuting) { 6677 throw new Error("Generator is already running"); 6678 } 6679 6680 if (state === GenStateCompleted) { 6681 if (method === "throw") { 6682 throw arg; 6683 } 6684 6685 // Be forgiving, per 25.3.3.3.3 of the spec: 6686 // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume 6687 return doneResult(); 6688 } 6689 6690 context.method = method; 6691 context.arg = arg; 6692 6693 while (true) { 6694 var delegate = context.delegate; 6695 if (delegate) { 6696 var delegateResult = maybeInvokeDelegate(delegate, context); 6697 if (delegateResult) { 6698 if (delegateResult === ContinueSentinel) continue; 6699 return delegateResult; 6700 } 6701 } 6702 6703 if (context.method === "next") { 6704 // Setting context._sent for legacy support of Babel's 6705 // function.sent implementation. 6706 context.sent = context._sent = context.arg; 6707 6708 } else if (context.method === "throw") { 6709 if (state === GenStateSuspendedStart) { 6710 state = GenStateCompleted; 6711 throw context.arg; 6712 } 6713 6714 context.dispatchException(context.arg); 6715 6716 } else if (context.method === "return") { 6717 context.abrupt("return", context.arg); 6718 } 6719 6720 state = GenStateExecuting; 6721 6722 var record = tryCatch(innerFn, self, context); 6723 if (record.type === "normal") { 6724 // If an exception is thrown from innerFn, we leave state === 6725 // GenStateExecuting and loop back for another invocation. 6726 state = context.done 6727 ? GenStateCompleted 6728 : GenStateSuspendedYield; 6729 6730 if (record.arg === ContinueSentinel) { 6731 continue; 6732 } 6733 6734 return { 6735 value: record.arg, 6736 done: context.done 6737 }; 6738 6739 } else if (record.type === "throw") { 6740 state = GenStateCompleted; 6741 // Dispatch the exception by looping back around to the 6742 // context.dispatchException(context.arg) call above. 6743 context.method = "throw"; 6744 context.arg = record.arg; 6745 } 6746 } 6747 }; 6748 } 6749 6750 // Call delegate.iterator[context.method](context.arg) and handle the 6751 // result, either by returning a { value, done } result from the 6752 // delegate iterator, or by modifying context.method and context.arg, 6753 // setting context.delegate to null, and returning the ContinueSentinel. 6754 function maybeInvokeDelegate(delegate, context) { 6755 var method = delegate.iterator[context.method]; 6756 if (method === undefined) { 6757 // A .throw or .return when the delegate iterator has no .throw 6758 // method always terminates the yield* loop. 6759 context.delegate = null; 6760 6761 if (context.method === "throw") { 6762 // Note: ["return"] must be used for ES3 parsing compatibility. 6763 if (delegate.iterator["return"]) { 6764 // If the delegate iterator has a return method, give it a 6765 // chance to clean up. 6766 context.method = "return"; 6767 context.arg = undefined; 6768 maybeInvokeDelegate(delegate, context); 6769 6770 if (context.method === "throw") { 6771 // If maybeInvokeDelegate(context) changed context.method from 6772 // "return" to "throw", let that override the TypeError below. 6773 return ContinueSentinel; 6774 } 6775 } 6776 6777 context.method = "throw"; 6778 context.arg = new TypeError( 6779 "The iterator does not provide a 'throw' method"); 6780 } 6781 6782 return ContinueSentinel; 6783 } 6784 6785 var record = tryCatch(method, delegate.iterator, context.arg); 6786 6787 if (record.type === "throw") { 6788 context.method = "throw"; 6789 context.arg = record.arg; 6790 context.delegate = null; 6791 return ContinueSentinel; 6792 } 6793 6794 var info = record.arg; 6795 6796 if (! info) { 6797 context.method = "throw"; 6798 context.arg = new TypeError("iterator result is not an object"); 6799 context.delegate = null; 6800 return ContinueSentinel; 6801 } 6802 6803 if (info.done) { 6804 // Assign the result of the finished delegate to the temporary 6805 // variable specified by delegate.resultName (see delegateYield). 6806 context[delegate.resultName] = info.value; 6807 6808 // Resume execution at the desired location (see delegateYield). 6809 context.next = delegate.nextLoc; 6810 6811 // If context.method was "throw" but the delegate handled the 6812 // exception, let the outer generator proceed normally. If 6813 // context.method was "next", forget context.arg since it has been 6814 // "consumed" by the delegate iterator. If context.method was 6815 // "return", allow the original .return call to continue in the 6816 // outer generator. 6817 if (context.method !== "return") { 6818 context.method = "next"; 6819 context.arg = undefined; 6820 } 6821 6822 } else { 6823 // Re-yield the result returned by the delegate method. 6824 return info; 6825 } 6826 6827 // The delegate iterator is finished, so forget it and continue with 6828 // the outer generator. 6829 context.delegate = null; 6830 return ContinueSentinel; 6831 } 6832 6833 // Define Generator.prototype.{next,throw,return} in terms of the 6834 // unified ._invoke helper method. 6835 defineIteratorMethods(Gp); 6836 6837 Gp[toStringTagSymbol] = "Generator"; 6838 6839 // A Generator should always return itself as the iterator object when the 6840 // @@iterator function is called on it. Some browsers' implementations of the 6841 // iterator prototype chain incorrectly implement this, causing the Generator 6842 // object to not be returned from this call. This ensures that doesn't happen. 6843 // See https://github.com/facebook/regenerator/issues/274 for more details. 6844 Gp[iteratorSymbol] = function() { 6845 return this; 6846 }; 6847 6848 Gp.toString = function() { 6849 return "[object Generator]"; 6850 }; 6851 6852 function pushTryEntry(locs) { 6853 var entry = { tryLoc: locs[0] }; 6854 6855 if (1 in locs) { 6856 entry.catchLoc = locs[1]; 6857 } 6858 6859 if (2 in locs) { 6860 entry.finallyLoc = locs[2]; 6861 entry.afterLoc = locs[3]; 6862 } 6863 6864 this.tryEntries.push(entry); 6865 } 6866 6867 function resetTryEntry(entry) { 6868 var record = entry.completion || {}; 6869 record.type = "normal"; 6870 delete record.arg; 6871 entry.completion = record; 6872 } 6873 6874 function Context(tryLocsList) { 6875 // The root entry object (effectively a try statement without a catch 6876 // or a finally block) gives us a place to store values thrown from 6877 // locations where there is no enclosing try statement. 6878 this.tryEntries = [{ tryLoc: "root" }]; 6879 tryLocsList.forEach(pushTryEntry, this); 6880 this.reset(true); 6881 } 6882 6883 exports.keys = function(object) { 6884 var keys = []; 6885 for (var key in object) { 6886 keys.push(key); 6887 } 6888 keys.reverse(); 6889 6890 // Rather than returning an object with a next method, we keep 6891 // things simple and return the next function itself. 6892 return function next() { 6893 while (keys.length) { 6894 var key = keys.pop(); 6895 if (key in object) { 6896 next.value = key; 6897 next.done = false; 6898 return next; 6899 } 6900 } 6901 6902 // To avoid creating an additional object, we just hang the .value 6903 // and .done properties off the next function object itself. This 6904 // also ensures that the minifier will not anonymize the function. 6905 next.done = true; 6906 return next; 6907 }; 6908 }; 6909 6910 function values(iterable) { 6911 if (iterable) { 6912 var iteratorMethod = iterable[iteratorSymbol]; 6913 if (iteratorMethod) { 6914 return iteratorMethod.call(iterable); 6915 } 6916 6917 if (typeof iterable.next === "function") { 6918 return iterable; 6919 } 6920 6921 if (!isNaN(iterable.length)) { 6922 var i = -1, next = function next() { 6923 while (++i < iterable.length) { 6924 if (hasOwn.call(iterable, i)) { 6925 next.value = iterable[i]; 6926 next.done = false;
vendor: 7,405 bytes, lines 6927-7179
6927 return next; 6928 } 6929 } 6930 6931 next.value = undefined; 6932 next.done = true; 6933 6934 return next; 6935 }; 6936 6937 return next.next = next; 6938 } 6939 } 6940 6941 // Return an iterator with no values. 6942 return { next: doneResult }; 6943 } 6944 exports.values = values; 6945 6946 function doneResult() { 6947 return { value: undefined, done: true }; 6948 } 6949 6950 Context.prototype = { 6951 constructor: Context, 6952 6953 reset: function(skipTempReset) { 6954 this.prev = 0; 6955 this.next = 0; 6956 // Resetting context._sent for legacy support of Babel's 6957 // function.sent implementation. 6958 this.sent = this._sent = undefined; 6959 this.done = false; 6960 this.delegate = null; 6961 6962 this.method = "next"; 6963 this.arg = undefined; 6964 6965 this.tryEntries.forEach(resetTryEntry); 6966 6967 if (!skipTempReset) { 6968 for (var name in this) { 6969 // Not sure about the optimal order of these conditions: 6970 if (name.charAt(0) === "t" && 6971 hasOwn.call(this, name) && 6972 !isNaN(+name.slice(1))) { 6973 this[name] = undefined; 6974 } 6975 } 6976 } 6977 }, 6978 6979 stop: function() { 6980 this.done = true; 6981 6982 var rootEntry = this.tryEntries[0]; 6983 var rootRecord = rootEntry.completion; 6984 if (rootRecord.type === "throw") { 6985 throw rootRecord.arg; 6986 } 6987 6988 return this.rval; 6989 }, 6990 6991 dispatchException: function(exception) { 6992 if (this.done) { 6993 throw exception; 6994 } 6995 6996 var context = this; 6997 function handle(loc, caught) { 6998 record.type = "throw"; 6999 record.arg = exception; 7000 context.next = loc; 7001 7002 if (caught) { 7003 // If the dispatched exception was caught by a catch block, 7004 // then let that catch block handle the exception normally. 7005 context.method = "next"; 7006 context.arg = undefined; 7007 } 7008 7009 return !! caught; 7010 } 7011 7012 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 7013 var entry = this.tryEntries[i]; 7014 var record = entry.completion; 7015 7016 if (entry.tryLoc === "root") { 7017 // Exception thrown outside of any try block that could handle 7018 // it, so set the completion value of the entire function to 7019 // throw the exception. 7020 return handle("end"); 7021 } 7022 7023 if (entry.tryLoc <= this.prev) { 7024 var hasCatch = hasOwn.call(entry, "catchLoc"); 7025 var hasFinally = hasOwn.call(entry, "finallyLoc"); 7026 7027 if (hasCatch && hasFinally) { 7028 if (this.prev < entry.catchLoc) { 7029 return handle(entry.catchLoc, true); 7030 } else if (this.prev < entry.finallyLoc) { 7031 return handle(entry.finallyLoc); 7032 } 7033 7034 } else if (hasCatch) { 7035 if (this.prev < entry.catchLoc) { 7036 return handle(entry.catchLoc, true); 7037 } 7038 7039 } else if (hasFinally) { 7040 if (this.prev < entry.finallyLoc) { 7041 return handle(entry.finallyLoc); 7042 } 7043 7044 } else { 7045 throw new Error("try statement without catch or finally"); 7046 } 7047 } 7048 } 7049 }, 7050 7051 abrupt: function(type, arg) { 7052 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 7053 var entry = this.tryEntries[i]; 7054 if (entry.tryLoc <= this.prev && 7055 hasOwn.call(entry, "finallyLoc") && 7056 this.prev < entry.finallyLoc) { 7057 var finallyEntry = entry; 7058 break; 7059 } 7060 } 7061 7062 if (finallyEntry && 7063 (type === "break" || 7064 type === "continue") && 7065 finallyEntry.tryLoc <= arg && 7066 arg <= finallyEntry.finallyLoc) { 7067 // Ignore the finally entry if control is not jumping to a 7068 // location outside the try/catch block. 7069 finallyEntry = null; 7070 } 7071 7072 var record = finallyEntry ? finallyEntry.completion : {}; 7073 record.type = type; 7074 record.arg = arg; 7075 7076 if (finallyEntry) { 7077 this.method = "next"; 7078 this.next = finallyEntry.finallyLoc; 7079 return ContinueSentinel; 7080 } 7081 7082 return this.complete(record); 7083 }, 7084 7085 complete: function(record, afterLoc) { 7086 if (record.type === "throw") { 7087 throw record.arg; 7088 } 7089 7090 if (record.type === "break" || 7091 record.type === "continue") { 7092 this.next = record.arg; 7093 } else if (record.type === "return") { 7094 this.rval = this.arg = record.arg; 7095 this.method = "return"; 7096 this.next = "end"; 7097 } else if (record.type === "normal" && afterLoc) { 7098 this.next = afterLoc; 7099 } 7100 7101 return ContinueSentinel; 7102 }, 7103 7104 finish: function(finallyLoc) { 7105 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 7106 var entry = this.tryEntries[i]; 7107 if (entry.finallyLoc === finallyLoc) { 7108 this.complete(entry.completion, entry.afterLoc); 7109 resetTryEntry(entry); 7110 return ContinueSentinel; 7111 } 7112 } 7113 }, 7114 7115 "catch": function(tryLoc) { 7116 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 7117 var entry = this.tryEntries[i]; 7118 if (entry.tryLoc === tryLoc) { 7119 var record = entry.completion; 7120 if (record.type === "throw") { 7121 var thrown = record.arg; 7122 resetTryEntry(entry); 7123 } 7124 return thrown; 7125 } 7126 } 7127 7128 // The context.catch method must only be called with a location 7129 // argument that corresponds to a known catch block. 7130 throw new Error("illegal catch attempt"); 7131 }, 7132 7133 delegateYield: function(iterable, resultName, nextLoc) { 7134 this.delegate = { 7135 iterator: values(iterable), 7136 resultName: resultName, 7137 nextLoc: nextLoc 7138 }; 7139 7140 if (this.method === "next") { 7141 // Deliberately forget the last sent value so that we don't 7142 // accidentally pass it on to the delegate. 7143 this.arg = undefined; 7144 } 7145 7146 return ContinueSentinel; 7147 } 7148 }; 7149 7150 // Regardless of whether this script is executing as a CommonJS module 7151 // or not, return the runtime object so that we can declare the variable 7152 // regeneratorRuntime in the outer scope, which allows this module to be 7153 // injected easily by `bin/regenerator --include-runtime script.js`. 7154 return exports; 7155 7156}( 7157 // If this script is executing as a CommonJS module, use module.exports 7158 // as the regeneratorRuntime namespace. Otherwise create a new empty 7159 // object. Either way, the resulting object will be used to initialize 7160 // the regeneratorRuntime variable at the top of this file. 7161 typeof module === "object" ? module.exports : {} 7162)); 7163 7164try { 7165 regeneratorRuntime = runtime; 7166} catch (accidentalStrictMode) { 7167 // This module should not be running in strict mode, so the above 7168 // assignment should always work unless something is misconfigured. Just 7169 // in case runtime.js accidentally runs in strict mode, we can escape 7170 // strict mode using a global Function call. This could conceivably fail 7171 // if a Content Security Policy forbids using Function, but in that case 7172 // the proper solution is to fix the accidental strict mode problem. If 7173 // you've misconfigured your bundler to force strict mode and applied a 7174 // CSP to forbid Function, and you're not willing to fix either of those 7175 // problems, please detail your unique predicament in a GitHub issue. 7176 Function("r", "regeneratorRuntime = r")(runtime); 7177} 7178 7179},{}]
7179},{},[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.