wp-polyfill.js (53207B)
1 /** 2 * core-js 3.11.0 3 * https://github.com/zloirock/core-js 4 * License: http://rock.mit-license.org 5 * © 2021 Denis Pushkarev (zloirock.ru) 6 */ 7 !function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap 8 /******/ // The module cache 9 /******/ var installedModules = {}; 10 /******/ 11 /******/ // The require function 12 /******/ var __webpack_require__ = function (moduleId) { 13 /******/ 14 /******/ // Check if module is in cache 15 /******/ if(installedModules[moduleId]) { 16 /******/ return installedModules[moduleId].exports; 17 /******/ } 18 /******/ // Create a new module (and put it into the cache) 19 /******/ var module = installedModules[moduleId] = { 20 /******/ i: moduleId, 21 /******/ l: false, 22 /******/ exports: {} 23 /******/ }; 24 /******/ 25 /******/ // Execute the module function 26 /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); 27 /******/ 28 /******/ // Flag the module as loaded 29 /******/ module.l = true; 30 /******/ 31 /******/ // Return the exports of the module 32 /******/ return module.exports; 33 /******/ } 34 /******/ 35 /******/ 36 /******/ // expose the modules object (__webpack_modules__) 37 /******/ __webpack_require__.m = modules; 38 /******/ 39 /******/ // expose the module cache 40 /******/ __webpack_require__.c = installedModules; 41 /******/ 42 /******/ // define getter function for harmony exports 43 /******/ __webpack_require__.d = function(exports, name, getter) { 44 /******/ if(!__webpack_require__.o(exports, name)) { 45 /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); 46 /******/ } 47 /******/ }; 48 /******/ 49 /******/ // define __esModule on exports 50 /******/ __webpack_require__.r = function(exports) { 51 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 52 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 53 /******/ } 54 /******/ Object.defineProperty(exports, '__esModule', { value: true }); 55 /******/ }; 56 /******/ 57 /******/ // create a fake namespace object 58 /******/ // mode & 1: value is a module id, require it 59 /******/ // mode & 2: merge all properties of value into the ns 60 /******/ // mode & 4: return value when already ns object 61 /******/ // mode & 8|1: behave like require 62 /******/ __webpack_require__.t = function(value, mode) { 63 /******/ if(mode & 1) value = __webpack_require__(value); 64 /******/ if(mode & 8) return value; 65 /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; 66 /******/ var ns = Object.create(null); 67 /******/ __webpack_require__.r(ns); 68 /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); 69 /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); 70 /******/ return ns; 71 /******/ }; 72 /******/ 73 /******/ // getDefaultExport function for compatibility with non-harmony modules 74 /******/ __webpack_require__.n = function(module) { 75 /******/ var getter = module && module.__esModule ? 76 /******/ function getDefault() { return module['default']; } : 77 /******/ function getModuleExports() { return module; }; 78 /******/ __webpack_require__.d(getter, 'a', getter); 79 /******/ return getter; 80 /******/ }; 81 /******/ 82 /******/ // Object.prototype.hasOwnProperty.call 83 /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; 84 /******/ 85 /******/ // __webpack_public_path__ 86 /******/ __webpack_require__.p = ""; 87 /******/ 88 /******/ 89 /******/ // Load entry module and return exports 90 /******/ return __webpack_require__(__webpack_require__.s = 0); 91 /******/ }) 92 /************************************************************************/ 93 /******/ ([ 94 /* 0 */ 95 /***/ (function(module, exports, __webpack_require__) { 96 97 __webpack_require__(1); 98 __webpack_require__(69); 99 __webpack_require__(71); 100 module.exports = __webpack_require__(75); 101 102 103 /***/ }), 104 /* 1 */ 105 /***/ (function(module, exports, __webpack_require__) { 106 107 "use strict"; 108 109 var $ = __webpack_require__(2); 110 var getPrototypeOf = __webpack_require__(46); 111 var setPrototypeOf = __webpack_require__(48); 112 var create = __webpack_require__(50); 113 var createNonEnumerableProperty = __webpack_require__(19); 114 var createPropertyDescriptor = __webpack_require__(8); 115 var iterate = __webpack_require__(54); 116 117 var $AggregateError = function AggregateError(errors, message) { 118 var that = this; 119 if (!(that instanceof $AggregateError)) return new $AggregateError(errors, message); 120 if (setPrototypeOf) { 121 // eslint-disable-next-line unicorn/error-message -- expected 122 that = setPrototypeOf(new Error(undefined), getPrototypeOf(that)); 123 } 124 if (message !== undefined) createNonEnumerableProperty(that, 'message', String(message)); 125 var errorsArray = []; 126 iterate(errors, errorsArray.push, { that: errorsArray }); 127 createNonEnumerableProperty(that, 'errors', errorsArray); 128 return that; 129 }; 130 131 $AggregateError.prototype = create(Error.prototype, { 132 constructor: createPropertyDescriptor(5, $AggregateError), 133 message: createPropertyDescriptor(5, ''), 134 name: createPropertyDescriptor(5, 'AggregateError') 135 }); 136 137 // `AggregateError` constructor 138 // https://tc39.es/ecma262/#sec-aggregate-error-constructor 139 $({ global: true }, { 140 AggregateError: $AggregateError 141 }); 142 143 144 /***/ }), 145 /* 2 */ 146 /***/ (function(module, exports, __webpack_require__) { 147 148 var global = __webpack_require__(3); 149 var getOwnPropertyDescriptor = __webpack_require__(4).f; 150 var createNonEnumerableProperty = __webpack_require__(19); 151 var redefine = __webpack_require__(22); 152 var setGlobal = __webpack_require__(23); 153 var copyConstructorProperties = __webpack_require__(33); 154 var isForced = __webpack_require__(45); 155 156 /* 157 options.target - name of the target object 158 options.global - target is the global object 159 options.stat - export as static methods of target 160 options.proto - export as prototype methods of target 161 options.real - real prototype method for the `pure` version 162 options.forced - export even if the native feature is available 163 options.bind - bind methods to the target, required for the `pure` version 164 options.wrap - wrap constructors to preventing global pollution, required for the `pure` version 165 options.unsafe - use the simple assignment of property instead of delete + defineProperty 166 options.sham - add a flag to not completely full polyfills 167 options.enumerable - export as enumerable property 168 options.noTargetGet - prevent calling a getter on target 169 */ 170 module.exports = function (options, source) { 171 var TARGET = options.target; 172 var GLOBAL = options.global; 173 var STATIC = options.stat; 174 var FORCED, target, key, targetProperty, sourceProperty, descriptor; 175 if (GLOBAL) { 176 target = global; 177 } else if (STATIC) { 178 target = global[TARGET] || setGlobal(TARGET, {}); 179 } else { 180 target = (global[TARGET] || {}).prototype; 181 } 182 if (target) for (key in source) { 183 sourceProperty = source[key]; 184 if (options.noTargetGet) { 185 descriptor = getOwnPropertyDescriptor(target, key); 186 targetProperty = descriptor && descriptor.value; 187 } else targetProperty = target[key]; 188 FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); 189 // contained in target 190 if (!FORCED && targetProperty !== undefined) { 191 if (typeof sourceProperty === typeof targetProperty) continue; 192 copyConstructorProperties(sourceProperty, targetProperty); 193 } 194 // add a flag to not completely full polyfills 195 if (options.sham || (targetProperty && targetProperty.sham)) { 196 createNonEnumerableProperty(sourceProperty, 'sham', true); 197 } 198 // extend global 199 redefine(target, key, sourceProperty, options); 200 } 201 }; 202 203 204 /***/ }), 205 /* 3 */ 206 /***/ (function(module, exports) { 207 208 var check = function (it) { 209 return it && it.Math == Math && it; 210 }; 211 212 // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 213 module.exports = 214 // eslint-disable-next-line es/no-global-this -- safe 215 check(typeof globalThis == 'object' && globalThis) || 216 check(typeof window == 'object' && window) || 217 // eslint-disable-next-line no-restricted-globals -- safe 218 check(typeof self == 'object' && self) || 219 check(typeof global == 'object' && global) || 220 // eslint-disable-next-line no-new-func -- fallback 221 (function () { return this; })() || Function('return this')(); 222 223 224 /***/ }), 225 /* 4 */ 226 /***/ (function(module, exports, __webpack_require__) { 227 228 var DESCRIPTORS = __webpack_require__(5); 229 var propertyIsEnumerableModule = __webpack_require__(7); 230 var createPropertyDescriptor = __webpack_require__(8); 231 var toIndexedObject = __webpack_require__(9); 232 var toPrimitive = __webpack_require__(13); 233 var has = __webpack_require__(15); 234 var IE8_DOM_DEFINE = __webpack_require__(17); 235 236 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 237 var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 238 239 // `Object.getOwnPropertyDescriptor` method 240 // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor 241 exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { 242 O = toIndexedObject(O); 243 P = toPrimitive(P, true); 244 if (IE8_DOM_DEFINE) try { 245 return $getOwnPropertyDescriptor(O, P); 246 } catch (error) { /* empty */ } 247 if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]); 248 }; 249 250 251 /***/ }), 252 /* 5 */ 253 /***/ (function(module, exports, __webpack_require__) { 254 255 var fails = __webpack_require__(6); 256 257 // Detect IE8's incomplete defineProperty implementation 258 module.exports = !fails(function () { 259 // eslint-disable-next-line es/no-object-defineproperty -- required for testing 260 return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; 261 }); 262 263 264 /***/ }), 265 /* 6 */ 266 /***/ (function(module, exports) { 267 268 module.exports = function (exec) { 269 try { 270 return !!exec(); 271 } catch (error) { 272 return true; 273 } 274 }; 275 276 277 /***/ }), 278 /* 7 */ 279 /***/ (function(module, exports, __webpack_require__) { 280 281 "use strict"; 282 283 var $propertyIsEnumerable = {}.propertyIsEnumerable; 284 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 285 var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 286 287 // Nashorn ~ JDK8 bug 288 var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); 289 290 // `Object.prototype.propertyIsEnumerable` method implementation 291 // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable 292 exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { 293 var descriptor = getOwnPropertyDescriptor(this, V); 294 return !!descriptor && descriptor.enumerable; 295 } : $propertyIsEnumerable; 296 297 298 /***/ }), 299 /* 8 */ 300 /***/ (function(module, exports) { 301 302 module.exports = function (bitmap, value) { 303 return { 304 enumerable: !(bitmap & 1), 305 configurable: !(bitmap & 2), 306 writable: !(bitmap & 4), 307 value: value 308 }; 309 }; 310 311 312 /***/ }), 313 /* 9 */ 314 /***/ (function(module, exports, __webpack_require__) { 315 316 // toObject with fallback for non-array-like ES3 strings 317 var IndexedObject = __webpack_require__(10); 318 var requireObjectCoercible = __webpack_require__(12); 319 320 module.exports = function (it) { 321 return IndexedObject(requireObjectCoercible(it)); 322 }; 323 324 325 /***/ }), 326 /* 10 */ 327 /***/ (function(module, exports, __webpack_require__) { 328 329 var fails = __webpack_require__(6); 330 var classof = __webpack_require__(11); 331 332 var split = ''.split; 333 334 // fallback for non-array-like ES3 and non-enumerable old V8 strings 335 module.exports = fails(function () { 336 // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 337 // eslint-disable-next-line no-prototype-builtins -- safe 338 return !Object('z').propertyIsEnumerable(0); 339 }) ? function (it) { 340 return classof(it) == 'String' ? split.call(it, '') : Object(it); 341 } : Object; 342 343 344 /***/ }), 345 /* 11 */ 346 /***/ (function(module, exports) { 347 348 var toString = {}.toString; 349 350 module.exports = function (it) { 351 return toString.call(it).slice(8, -1); 352 }; 353 354 355 /***/ }), 356 /* 12 */ 357 /***/ (function(module, exports) { 358 359 // `RequireObjectCoercible` abstract operation 360 // https://tc39.es/ecma262/#sec-requireobjectcoercible 361 module.exports = function (it) { 362 if (it == undefined) throw TypeError("Can't call method on " + it); 363 return it; 364 }; 365 366 367 /***/ }), 368 /* 13 */ 369 /***/ (function(module, exports, __webpack_require__) { 370 371 var isObject = __webpack_require__(14); 372 373 // `ToPrimitive` abstract operation 374 // https://tc39.es/ecma262/#sec-toprimitive 375 // instead of the ES6 spec version, we didn't implement @@toPrimitive case 376 // and the second argument - flag - preferred type is a string 377 module.exports = function (input, PREFERRED_STRING) { 378 if (!isObject(input)) return input; 379 var fn, val; 380 if (PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; 381 if (typeof (fn = input.valueOf) == 'function' && !isObject(val = fn.call(input))) return val; 382 if (!PREFERRED_STRING && typeof (fn = input.toString) == 'function' && !isObject(val = fn.call(input))) return val; 383 throw TypeError("Can't convert object to primitive value"); 384 }; 385 386 387 /***/ }), 388 /* 14 */ 389 /***/ (function(module, exports) { 390 391 module.exports = function (it) { 392 return typeof it === 'object' ? it !== null : typeof it === 'function'; 393 }; 394 395 396 /***/ }), 397 /* 15 */ 398 /***/ (function(module, exports, __webpack_require__) { 399 400 var toObject = __webpack_require__(16); 401 402 var hasOwnProperty = {}.hasOwnProperty; 403 404 module.exports = function hasOwn(it, key) { 405 return hasOwnProperty.call(toObject(it), key); 406 }; 407 408 409 /***/ }), 410 /* 16 */ 411 /***/ (function(module, exports, __webpack_require__) { 412 413 var requireObjectCoercible = __webpack_require__(12); 414 415 // `ToObject` abstract operation 416 // https://tc39.es/ecma262/#sec-toobject 417 module.exports = function (argument) { 418 return Object(requireObjectCoercible(argument)); 419 }; 420 421 422 /***/ }), 423 /* 17 */ 424 /***/ (function(module, exports, __webpack_require__) { 425 426 var DESCRIPTORS = __webpack_require__(5); 427 var fails = __webpack_require__(6); 428 var createElement = __webpack_require__(18); 429 430 // Thank's IE8 for his funny defineProperty 431 module.exports = !DESCRIPTORS && !fails(function () { 432 // eslint-disable-next-line es/no-object-defineproperty -- requied for testing 433 return Object.defineProperty(createElement('div'), 'a', { 434 get: function () { return 7; } 435 }).a != 7; 436 }); 437 438 439 /***/ }), 440 /* 18 */ 441 /***/ (function(module, exports, __webpack_require__) { 442 443 var global = __webpack_require__(3); 444 var isObject = __webpack_require__(14); 445 446 var document = global.document; 447 // typeof document.createElement is 'object' in old IE 448 var EXISTS = isObject(document) && isObject(document.createElement); 449 450 module.exports = function (it) { 451 return EXISTS ? document.createElement(it) : {}; 452 }; 453 454 455 /***/ }), 456 /* 19 */ 457 /***/ (function(module, exports, __webpack_require__) { 458 459 var DESCRIPTORS = __webpack_require__(5); 460 var definePropertyModule = __webpack_require__(20); 461 var createPropertyDescriptor = __webpack_require__(8); 462 463 module.exports = DESCRIPTORS ? function (object, key, value) { 464 return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); 465 } : function (object, key, value) { 466 object[key] = value; 467 return object; 468 }; 469 470 471 /***/ }), 472 /* 20 */ 473 /***/ (function(module, exports, __webpack_require__) { 474 475 var DESCRIPTORS = __webpack_require__(5); 476 var IE8_DOM_DEFINE = __webpack_require__(17); 477 var anObject = __webpack_require__(21); 478 var toPrimitive = __webpack_require__(13); 479 480 // eslint-disable-next-line es/no-object-defineproperty -- safe 481 var $defineProperty = Object.defineProperty; 482 483 // `Object.defineProperty` method 484 // https://tc39.es/ecma262/#sec-object.defineproperty 485 exports.f = DESCRIPTORS ? $defineProperty : function defineProperty(O, P, Attributes) { 486 anObject(O); 487 P = toPrimitive(P, true); 488 anObject(Attributes); 489 if (IE8_DOM_DEFINE) try { 490 return $defineProperty(O, P, Attributes); 491 } catch (error) { /* empty */ } 492 if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); 493 if ('value' in Attributes) O[P] = Attributes.value; 494 return O; 495 }; 496 497 498 /***/ }), 499 /* 21 */ 500 /***/ (function(module, exports, __webpack_require__) { 501 502 var isObject = __webpack_require__(14); 503 504 module.exports = function (it) { 505 if (!isObject(it)) { 506 throw TypeError(String(it) + ' is not an object'); 507 } return it; 508 }; 509 510 511 /***/ }), 512 /* 22 */ 513 /***/ (function(module, exports, __webpack_require__) { 514 515 var global = __webpack_require__(3); 516 var createNonEnumerableProperty = __webpack_require__(19); 517 var has = __webpack_require__(15); 518 var setGlobal = __webpack_require__(23); 519 var inspectSource = __webpack_require__(24); 520 var InternalStateModule = __webpack_require__(26); 521 522 var getInternalState = InternalStateModule.get; 523 var enforceInternalState = InternalStateModule.enforce; 524 var TEMPLATE = String(String).split('String'); 525 526 (module.exports = function (O, key, value, options) { 527 var unsafe = options ? !!options.unsafe : false; 528 var simple = options ? !!options.enumerable : false; 529 var noTargetGet = options ? !!options.noTargetGet : false; 530 var state; 531 if (typeof value == 'function') { 532 if (typeof key == 'string' && !has(value, 'name')) { 533 createNonEnumerableProperty(value, 'name', key); 534 } 535 state = enforceInternalState(value); 536 if (!state.source) { 537 state.source = TEMPLATE.join(typeof key == 'string' ? key : ''); 538 } 539 } 540 if (O === global) { 541 if (simple) O[key] = value; 542 else setGlobal(key, value); 543 return; 544 } else if (!unsafe) { 545 delete O[key]; 546 } else if (!noTargetGet && O[key]) { 547 simple = true; 548 } 549 if (simple) O[key] = value; 550 else createNonEnumerableProperty(O, key, value); 551 // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative 552 })(Function.prototype, 'toString', function toString() { 553 return typeof this == 'function' && getInternalState(this).source || inspectSource(this); 554 }); 555 556 557 /***/ }), 558 /* 23 */ 559 /***/ (function(module, exports, __webpack_require__) { 560 561 var global = __webpack_require__(3); 562 var createNonEnumerableProperty = __webpack_require__(19); 563 564 module.exports = function (key, value) { 565 try { 566 createNonEnumerableProperty(global, key, value); 567 } catch (error) { 568 global[key] = value; 569 } return value; 570 }; 571 572 573 /***/ }), 574 /* 24 */ 575 /***/ (function(module, exports, __webpack_require__) { 576 577 var store = __webpack_require__(25); 578 579 var functionToString = Function.toString; 580 581 // this helper broken in `3.4.1-3.4.4`, so we can't use `shared` helper 582 if (typeof store.inspectSource != 'function') { 583 store.inspectSource = function (it) { 584 return functionToString.call(it); 585 }; 586 } 587 588 module.exports = store.inspectSource; 589 590 591 /***/ }), 592 /* 25 */ 593 /***/ (function(module, exports, __webpack_require__) { 594 595 var global = __webpack_require__(3); 596 var setGlobal = __webpack_require__(23); 597 598 var SHARED = '__core-js_shared__'; 599 var store = global[SHARED] || setGlobal(SHARED, {}); 600 601 module.exports = store; 602 603 604 /***/ }), 605 /* 26 */ 606 /***/ (function(module, exports, __webpack_require__) { 607 608 var NATIVE_WEAK_MAP = __webpack_require__(27); 609 var global = __webpack_require__(3); 610 var isObject = __webpack_require__(14); 611 var createNonEnumerableProperty = __webpack_require__(19); 612 var objectHas = __webpack_require__(15); 613 var shared = __webpack_require__(25); 614 var sharedKey = __webpack_require__(28); 615 var hiddenKeys = __webpack_require__(32); 616 617 var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; 618 var WeakMap = global.WeakMap; 619 var set, get, has; 620 621 var enforce = function (it) { 622 return has(it) ? get(it) : set(it, {}); 623 }; 624 625 var getterFor = function (TYPE) { 626 return function (it) { 627 var state; 628 if (!isObject(it) || (state = get(it)).type !== TYPE) { 629 throw TypeError('Incompatible receiver, ' + TYPE + ' required'); 630 } return state; 631 }; 632 }; 633 634 if (NATIVE_WEAK_MAP) { 635 var store = shared.state || (shared.state = new WeakMap()); 636 var wmget = store.get; 637 var wmhas = store.has; 638 var wmset = store.set; 639 set = function (it, metadata) { 640 if (wmhas.call(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); 641 metadata.facade = it; 642 wmset.call(store, it, metadata); 643 return metadata; 644 }; 645 get = function (it) { 646 return wmget.call(store, it) || {}; 647 }; 648 has = function (it) { 649 return wmhas.call(store, it); 650 }; 651 } else { 652 var STATE = sharedKey('state'); 653 hiddenKeys[STATE] = true; 654 set = function (it, metadata) { 655 if (objectHas(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); 656 metadata.facade = it; 657 createNonEnumerableProperty(it, STATE, metadata); 658 return metadata; 659 }; 660 get = function (it) { 661 return objectHas(it, STATE) ? it[STATE] : {}; 662 }; 663 has = function (it) { 664 return objectHas(it, STATE); 665 }; 666 } 667 668 module.exports = { 669 set: set, 670 get: get, 671 has: has, 672 enforce: enforce, 673 getterFor: getterFor 674 }; 675 676 677 /***/ }), 678 /* 27 */ 679 /***/ (function(module, exports, __webpack_require__) { 680 681 var global = __webpack_require__(3); 682 var inspectSource = __webpack_require__(24); 683 684 var WeakMap = global.WeakMap; 685 686 module.exports = typeof WeakMap === 'function' && /native code/.test(inspectSource(WeakMap)); 687 688 689 /***/ }), 690 /* 28 */ 691 /***/ (function(module, exports, __webpack_require__) { 692 693 var shared = __webpack_require__(29); 694 var uid = __webpack_require__(31); 695 696 var keys = shared('keys'); 697 698 module.exports = function (key) { 699 return keys[key] || (keys[key] = uid(key)); 700 }; 701 702 703 /***/ }), 704 /* 29 */ 705 /***/ (function(module, exports, __webpack_require__) { 706 707 var IS_PURE = __webpack_require__(30); 708 var store = __webpack_require__(25); 709 710 (module.exports = function (key, value) { 711 return store[key] || (store[key] = value !== undefined ? value : {}); 712 })('versions', []).push({ 713 version: '3.11.0', 714 mode: IS_PURE ? 'pure' : 'global', 715 copyright: '© 2021 Denis Pushkarev (zloirock.ru)' 716 }); 717 718 719 /***/ }), 720 /* 30 */ 721 /***/ (function(module, exports) { 722 723 module.exports = false; 724 725 726 /***/ }), 727 /* 31 */ 728 /***/ (function(module, exports) { 729 730 var id = 0; 731 var postfix = Math.random(); 732 733 module.exports = function (key) { 734 return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id + postfix).toString(36); 735 }; 736 737 738 /***/ }), 739 /* 32 */ 740 /***/ (function(module, exports) { 741 742 module.exports = {}; 743 744 745 /***/ }), 746 /* 33 */ 747 /***/ (function(module, exports, __webpack_require__) { 748 749 var has = __webpack_require__(15); 750 var ownKeys = __webpack_require__(34); 751 var getOwnPropertyDescriptorModule = __webpack_require__(4); 752 var definePropertyModule = __webpack_require__(20); 753 754 module.exports = function (target, source) { 755 var keys = ownKeys(source); 756 var defineProperty = definePropertyModule.f; 757 var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; 758 for (var i = 0; i < keys.length; i++) { 759 var key = keys[i]; 760 if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); 761 } 762 }; 763 764 765 /***/ }), 766 /* 34 */ 767 /***/ (function(module, exports, __webpack_require__) { 768 769 var getBuiltIn = __webpack_require__(35); 770 var getOwnPropertyNamesModule = __webpack_require__(37); 771 var getOwnPropertySymbolsModule = __webpack_require__(44); 772 var anObject = __webpack_require__(21); 773 774 // all object keys, includes non-enumerable and symbols 775 module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { 776 var keys = getOwnPropertyNamesModule.f(anObject(it)); 777 var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; 778 return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; 779 }; 780 781 782 /***/ }), 783 /* 35 */ 784 /***/ (function(module, exports, __webpack_require__) { 785 786 var path = __webpack_require__(36); 787 var global = __webpack_require__(3); 788 789 var aFunction = function (variable) { 790 return typeof variable == 'function' ? variable : undefined; 791 }; 792 793 module.exports = function (namespace, method) { 794 return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace]) 795 : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method]; 796 }; 797 798 799 /***/ }), 800 /* 36 */ 801 /***/ (function(module, exports, __webpack_require__) { 802 803 var global = __webpack_require__(3); 804 805 module.exports = global; 806 807 808 /***/ }), 809 /* 37 */ 810 /***/ (function(module, exports, __webpack_require__) { 811 812 var internalObjectKeys = __webpack_require__(38); 813 var enumBugKeys = __webpack_require__(43); 814 815 var hiddenKeys = enumBugKeys.concat('length', 'prototype'); 816 817 // `Object.getOwnPropertyNames` method 818 // https://tc39.es/ecma262/#sec-object.getownpropertynames 819 // eslint-disable-next-line es/no-object-getownpropertynames -- safe 820 exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { 821 return internalObjectKeys(O, hiddenKeys); 822 }; 823 824 825 /***/ }), 826 /* 38 */ 827 /***/ (function(module, exports, __webpack_require__) { 828 829 var has = __webpack_require__(15); 830 var toIndexedObject = __webpack_require__(9); 831 var indexOf = __webpack_require__(39).indexOf; 832 var hiddenKeys = __webpack_require__(32); 833 834 module.exports = function (object, names) { 835 var O = toIndexedObject(object); 836 var i = 0; 837 var result = []; 838 var key; 839 for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key); 840 // Don't enum bug & hidden keys 841 while (names.length > i) if (has(O, key = names[i++])) { 842 ~indexOf(result, key) || result.push(key); 843 } 844 return result; 845 }; 846 847 848 /***/ }), 849 /* 39 */ 850 /***/ (function(module, exports, __webpack_require__) { 851 852 var toIndexedObject = __webpack_require__(9); 853 var toLength = __webpack_require__(40); 854 var toAbsoluteIndex = __webpack_require__(42); 855 856 // `Array.prototype.{ indexOf, includes }` methods implementation 857 var createMethod = function (IS_INCLUDES) { 858 return function ($this, el, fromIndex) { 859 var O = toIndexedObject($this); 860 var length = toLength(O.length); 861 var index = toAbsoluteIndex(fromIndex, length); 862 var value; 863 // Array#includes uses SameValueZero equality algorithm 864 // eslint-disable-next-line no-self-compare -- NaN check 865 if (IS_INCLUDES && el != el) while (length > index) { 866 value = O[index++]; 867 // eslint-disable-next-line no-self-compare -- NaN check 868 if (value != value) return true; 869 // Array#indexOf ignores holes, Array#includes - not 870 } else for (;length > index; index++) { 871 if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; 872 } return !IS_INCLUDES && -1; 873 }; 874 }; 875 876 module.exports = { 877 // `Array.prototype.includes` method 878 // https://tc39.es/ecma262/#sec-array.prototype.includes 879 includes: createMethod(true), 880 // `Array.prototype.indexOf` method 881 // https://tc39.es/ecma262/#sec-array.prototype.indexof 882 indexOf: createMethod(false) 883 }; 884 885 886 /***/ }), 887 /* 40 */ 888 /***/ (function(module, exports, __webpack_require__) { 889 890 var toInteger = __webpack_require__(41); 891 892 var min = Math.min; 893 894 // `ToLength` abstract operation 895 // https://tc39.es/ecma262/#sec-tolength 896 module.exports = function (argument) { 897 return argument > 0 ? min(toInteger(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 898 }; 899 900 901 /***/ }), 902 /* 41 */ 903 /***/ (function(module, exports) { 904 905 var ceil = Math.ceil; 906 var floor = Math.floor; 907 908 // `ToInteger` abstract operation 909 // https://tc39.es/ecma262/#sec-tointeger 910 module.exports = function (argument) { 911 return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument); 912 }; 913 914 915 /***/ }), 916 /* 42 */ 917 /***/ (function(module, exports, __webpack_require__) { 918 919 var toInteger = __webpack_require__(41); 920 921 var max = Math.max; 922 var min = Math.min; 923 924 // Helper for a popular repeating case of the spec: 925 // Let integer be ? ToInteger(index). 926 // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). 927 module.exports = function (index, length) { 928 var integer = toInteger(index); 929 return integer < 0 ? max(integer + length, 0) : min(integer, length); 930 }; 931 932 933 /***/ }), 934 /* 43 */ 935 /***/ (function(module, exports) { 936 937 // IE8- don't enum bug keys 938 module.exports = [ 939 'constructor', 940 'hasOwnProperty', 941 'isPrototypeOf', 942 'propertyIsEnumerable', 943 'toLocaleString', 944 'toString', 945 'valueOf' 946 ]; 947 948 949 /***/ }), 950 /* 44 */ 951 /***/ (function(module, exports) { 952 953 // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe 954 exports.f = Object.getOwnPropertySymbols; 955 956 957 /***/ }), 958 /* 45 */ 959 /***/ (function(module, exports, __webpack_require__) { 960 961 var fails = __webpack_require__(6); 962 963 var replacement = /#|\.prototype\./; 964 965 var isForced = function (feature, detection) { 966 var value = data[normalize(feature)]; 967 return value == POLYFILL ? true 968 : value == NATIVE ? false 969 : typeof detection == 'function' ? fails(detection) 970 : !!detection; 971 }; 972 973 var normalize = isForced.normalize = function (string) { 974 return String(string).replace(replacement, '.').toLowerCase(); 975 }; 976 977 var data = isForced.data = {}; 978 var NATIVE = isForced.NATIVE = 'N'; 979 var POLYFILL = isForced.POLYFILL = 'P'; 980 981 module.exports = isForced; 982 983 984 /***/ }), 985 /* 46 */ 986 /***/ (function(module, exports, __webpack_require__) { 987 988 var has = __webpack_require__(15); 989 var toObject = __webpack_require__(16); 990 var sharedKey = __webpack_require__(28); 991 var CORRECT_PROTOTYPE_GETTER = __webpack_require__(47); 992 993 var IE_PROTO = sharedKey('IE_PROTO'); 994 var ObjectPrototype = Object.prototype; 995 996 // `Object.getPrototypeOf` method 997 // https://tc39.es/ecma262/#sec-object.getprototypeof 998 // eslint-disable-next-line es/no-object-getprototypeof -- safe 999 module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) { 1000 O = toObject(O); 1001 if (has(O, IE_PROTO)) return O[IE_PROTO]; 1002 if (typeof O.constructor == 'function' && O instanceof O.constructor) { 1003 return O.constructor.prototype; 1004 } return O instanceof Object ? ObjectPrototype : null; 1005 }; 1006 1007 1008 /***/ }), 1009 /* 47 */ 1010 /***/ (function(module, exports, __webpack_require__) { 1011 1012 var fails = __webpack_require__(6); 1013 1014 module.exports = !fails(function () { 1015 function F() { /* empty */ } 1016 F.prototype.constructor = null; 1017 // eslint-disable-next-line es/no-object-getprototypeof -- required for testing 1018 return Object.getPrototypeOf(new F()) !== F.prototype; 1019 }); 1020 1021 1022 /***/ }), 1023 /* 48 */ 1024 /***/ (function(module, exports, __webpack_require__) { 1025 1026 /* eslint-disable no-proto -- safe */ 1027 var anObject = __webpack_require__(21); 1028 var aPossiblePrototype = __webpack_require__(49); 1029 1030 // `Object.setPrototypeOf` method 1031 // https://tc39.es/ecma262/#sec-object.setprototypeof 1032 // Works with __proto__ only. Old v8 can't work with null proto objects. 1033 // eslint-disable-next-line es/no-object-setprototypeof -- safe 1034 module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { 1035 var CORRECT_SETTER = false; 1036 var test = {}; 1037 var setter; 1038 try { 1039 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 1040 setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; 1041 setter.call(test, []); 1042 CORRECT_SETTER = test instanceof Array; 1043 } catch (error) { /* empty */ } 1044 return function setPrototypeOf(O, proto) { 1045 anObject(O); 1046 aPossiblePrototype(proto); 1047 if (CORRECT_SETTER) setter.call(O, proto); 1048 else O.__proto__ = proto; 1049 return O; 1050 }; 1051 }() : undefined); 1052 1053 1054 /***/ }), 1055 /* 49 */ 1056 /***/ (function(module, exports, __webpack_require__) { 1057 1058 var isObject = __webpack_require__(14); 1059 1060 module.exports = function (it) { 1061 if (!isObject(it) && it !== null) { 1062 throw TypeError("Can't set " + String(it) + ' as a prototype'); 1063 } return it; 1064 }; 1065 1066 1067 /***/ }), 1068 /* 50 */ 1069 /***/ (function(module, exports, __webpack_require__) { 1070 1071 var anObject = __webpack_require__(21); 1072 var defineProperties = __webpack_require__(51); 1073 var enumBugKeys = __webpack_require__(43); 1074 var hiddenKeys = __webpack_require__(32); 1075 var html = __webpack_require__(53); 1076 var documentCreateElement = __webpack_require__(18); 1077 var sharedKey = __webpack_require__(28); 1078 1079 var GT = '>'; 1080 var LT = '<'; 1081 var PROTOTYPE = 'prototype'; 1082 var SCRIPT = 'script'; 1083 var IE_PROTO = sharedKey('IE_PROTO'); 1084 1085 var EmptyConstructor = function () { /* empty */ }; 1086 1087 var scriptTag = function (content) { 1088 return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; 1089 }; 1090 1091 // Create object with fake `null` prototype: use ActiveX Object with cleared prototype 1092 var NullProtoObjectViaActiveX = function (activeXDocument) { 1093 activeXDocument.write(scriptTag('')); 1094 activeXDocument.close(); 1095 var temp = activeXDocument.parentWindow.Object; 1096 activeXDocument = null; // avoid memory leak 1097 return temp; 1098 }; 1099 1100 // Create object with fake `null` prototype: use iframe Object with cleared prototype 1101 var NullProtoObjectViaIFrame = function () { 1102 // Thrash, waste and sodomy: IE GC bug 1103 var iframe = documentCreateElement('iframe'); 1104 var JS = 'java' + SCRIPT + ':'; 1105 var iframeDocument; 1106 iframe.style.display = 'none'; 1107 html.appendChild(iframe); 1108 // https://github.com/zloirock/core-js/issues/475 1109 iframe.src = String(JS); 1110 iframeDocument = iframe.contentWindow.document; 1111 iframeDocument.open(); 1112 iframeDocument.write(scriptTag('document.F=Object')); 1113 iframeDocument.close(); 1114 return iframeDocument.F; 1115 }; 1116 1117 // Check for document.domain and active x support 1118 // No need to use active x approach when document.domain is not set 1119 // see https://github.com/es-shims/es5-shim/issues/150 1120 // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 1121 // avoid IE GC bug 1122 var activeXDocument; 1123 var NullProtoObject = function () { 1124 try { 1125 /* global ActiveXObject -- old IE */ 1126 activeXDocument = document.domain && new ActiveXObject('htmlfile'); 1127 } catch (error) { /* ignore */ } 1128 NullProtoObject = activeXDocument ? NullProtoObjectViaActiveX(activeXDocument) : NullProtoObjectViaIFrame(); 1129 var length = enumBugKeys.length; 1130 while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; 1131 return NullProtoObject(); 1132 }; 1133 1134 hiddenKeys[IE_PROTO] = true; 1135 1136 // `Object.create` method 1137 // https://tc39.es/ecma262/#sec-object.create 1138 module.exports = Object.create || function create(O, Properties) { 1139 var result; 1140 if (O !== null) { 1141 EmptyConstructor[PROTOTYPE] = anObject(O); 1142 result = new EmptyConstructor(); 1143 EmptyConstructor[PROTOTYPE] = null; 1144 // add "__proto__" for Object.getPrototypeOf polyfill 1145 result[IE_PROTO] = O; 1146 } else result = NullProtoObject(); 1147 return Properties === undefined ? result : defineProperties(result, Properties); 1148 }; 1149 1150 1151 /***/ }), 1152 /* 51 */ 1153 /***/ (function(module, exports, __webpack_require__) { 1154 1155 var DESCRIPTORS = __webpack_require__(5); 1156 var definePropertyModule = __webpack_require__(20); 1157 var anObject = __webpack_require__(21); 1158 var objectKeys = __webpack_require__(52); 1159 1160 // `Object.defineProperties` method 1161 // https://tc39.es/ecma262/#sec-object.defineproperties 1162 // eslint-disable-next-line es/no-object-defineproperties -- safe 1163 module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) { 1164 anObject(O); 1165 var keys = objectKeys(Properties); 1166 var length = keys.length; 1167 var index = 0; 1168 var key; 1169 while (length > index) definePropertyModule.f(O, key = keys[index++], Properties[key]); 1170 return O; 1171 }; 1172 1173 1174 /***/ }), 1175 /* 52 */ 1176 /***/ (function(module, exports, __webpack_require__) { 1177 1178 var internalObjectKeys = __webpack_require__(38); 1179 var enumBugKeys = __webpack_require__(43); 1180 1181 // `Object.keys` method 1182 // https://tc39.es/ecma262/#sec-object.keys 1183 // eslint-disable-next-line es/no-object-keys -- safe 1184 module.exports = Object.keys || function keys(O) { 1185 return internalObjectKeys(O, enumBugKeys); 1186 }; 1187 1188 1189 /***/ }), 1190 /* 53 */ 1191 /***/ (function(module, exports, __webpack_require__) { 1192 1193 var getBuiltIn = __webpack_require__(35); 1194 1195 module.exports = getBuiltIn('document', 'documentElement'); 1196 1197 1198 /***/ }), 1199 /* 54 */ 1200 /***/ (function(module, exports, __webpack_require__) { 1201 1202 var anObject = __webpack_require__(21); 1203 var isArrayIteratorMethod = __webpack_require__(55); 1204 var toLength = __webpack_require__(40); 1205 var bind = __webpack_require__(63); 1206 var getIteratorMethod = __webpack_require__(65); 1207 var iteratorClose = __webpack_require__(68); 1208 1209 var Result = function (stopped, result) { 1210 this.stopped = stopped; 1211 this.result = result; 1212 }; 1213 1214 module.exports = function (iterable, unboundFunction, options) { 1215 var that = options && options.that; 1216 var AS_ENTRIES = !!(options && options.AS_ENTRIES); 1217 var IS_ITERATOR = !!(options && options.IS_ITERATOR); 1218 var INTERRUPTED = !!(options && options.INTERRUPTED); 1219 var fn = bind(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED); 1220 var iterator, iterFn, index, length, result, next, step; 1221 1222 var stop = function (condition) { 1223 if (iterator) iteratorClose(iterator); 1224 return new Result(true, condition); 1225 }; 1226 1227 var callFn = function (value) { 1228 if (AS_ENTRIES) { 1229 anObject(value); 1230 return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); 1231 } return INTERRUPTED ? fn(value, stop) : fn(value); 1232 }; 1233 1234 if (IS_ITERATOR) { 1235 iterator = iterable; 1236 } else { 1237 iterFn = getIteratorMethod(iterable); 1238 if (typeof iterFn != 'function') throw TypeError('Target is not iterable'); 1239 // optimisation for array iterators 1240 if (isArrayIteratorMethod(iterFn)) { 1241 for (index = 0, length = toLength(iterable.length); length > index; index++) { 1242 result = callFn(iterable[index]); 1243 if (result && result instanceof Result) return result; 1244 } return new Result(false); 1245 } 1246 iterator = iterFn.call(iterable); 1247 } 1248 1249 next = iterator.next; 1250 while (!(step = next.call(iterator)).done) { 1251 try { 1252 result = callFn(step.value); 1253 } catch (error) { 1254 iteratorClose(iterator); 1255 throw error; 1256 } 1257 if (typeof result == 'object' && result && result instanceof Result) return result; 1258 } return new Result(false); 1259 }; 1260 1261 1262 /***/ }), 1263 /* 55 */ 1264 /***/ (function(module, exports, __webpack_require__) { 1265 1266 var wellKnownSymbol = __webpack_require__(56); 1267 var Iterators = __webpack_require__(62); 1268 1269 var ITERATOR = wellKnownSymbol('iterator'); 1270 var ArrayPrototype = Array.prototype; 1271 1272 // check on default Array iterator 1273 module.exports = function (it) { 1274 return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); 1275 }; 1276 1277 1278 /***/ }), 1279 /* 56 */ 1280 /***/ (function(module, exports, __webpack_require__) { 1281 1282 var global = __webpack_require__(3); 1283 var shared = __webpack_require__(29); 1284 var has = __webpack_require__(15); 1285 var uid = __webpack_require__(31); 1286 var NATIVE_SYMBOL = __webpack_require__(57); 1287 var USE_SYMBOL_AS_UID = __webpack_require__(61); 1288 1289 var WellKnownSymbolsStore = shared('wks'); 1290 var Symbol = global.Symbol; 1291 var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid; 1292 1293 module.exports = function (name) { 1294 if (!has(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) { 1295 if (NATIVE_SYMBOL && has(Symbol, name)) { 1296 WellKnownSymbolsStore[name] = Symbol[name]; 1297 } else { 1298 WellKnownSymbolsStore[name] = createWellKnownSymbol('Symbol.' + name); 1299 } 1300 } return WellKnownSymbolsStore[name]; 1301 }; 1302 1303 1304 /***/ }), 1305 /* 57 */ 1306 /***/ (function(module, exports, __webpack_require__) { 1307 1308 var IS_NODE = __webpack_require__(58); 1309 var V8_VERSION = __webpack_require__(59); 1310 var fails = __webpack_require__(6); 1311 1312 // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing 1313 module.exports = !!Object.getOwnPropertySymbols && !fails(function () { 1314 // eslint-disable-next-line es/no-symbol -- required for testing 1315 return !Symbol.sham && 1316 // Chrome 38 Symbol has incorrect toString conversion 1317 // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances 1318 (IS_NODE ? V8_VERSION === 38 : V8_VERSION > 37 && V8_VERSION < 41); 1319 }); 1320 1321 1322 /***/ }), 1323 /* 58 */ 1324 /***/ (function(module, exports, __webpack_require__) { 1325 1326 var classof = __webpack_require__(11); 1327 var global = __webpack_require__(3); 1328 1329 module.exports = classof(global.process) == 'process'; 1330 1331 1332 /***/ }), 1333 /* 59 */ 1334 /***/ (function(module, exports, __webpack_require__) { 1335 1336 var global = __webpack_require__(3); 1337 var userAgent = __webpack_require__(60); 1338 1339 var process = global.process; 1340 var versions = process && process.versions; 1341 var v8 = versions && versions.v8; 1342 var match, version; 1343 1344 if (v8) { 1345 match = v8.split('.'); 1346 version = match[0] + match[1]; 1347 } else if (userAgent) { 1348 match = userAgent.match(/Edge\/(\d+)/); 1349 if (!match || match[1] >= 74) { 1350 match = userAgent.match(/Chrome\/(\d+)/); 1351 if (match) version = match[1]; 1352 } 1353 } 1354 1355 module.exports = version && +version; 1356 1357 1358 /***/ }), 1359 /* 60 */ 1360 /***/ (function(module, exports, __webpack_require__) { 1361 1362 var getBuiltIn = __webpack_require__(35); 1363 1364 module.exports = getBuiltIn('navigator', 'userAgent') || ''; 1365 1366 1367 /***/ }), 1368 /* 61 */ 1369 /***/ (function(module, exports, __webpack_require__) { 1370 1371 /* eslint-disable es/no-symbol -- required for testing */ 1372 var NATIVE_SYMBOL = __webpack_require__(57); 1373 1374 module.exports = NATIVE_SYMBOL 1375 && !Symbol.sham 1376 && typeof Symbol.iterator == 'symbol'; 1377 1378 1379 /***/ }), 1380 /* 62 */ 1381 /***/ (function(module, exports) { 1382 1383 module.exports = {}; 1384 1385 1386 /***/ }), 1387 /* 63 */ 1388 /***/ (function(module, exports, __webpack_require__) { 1389 1390 var aFunction = __webpack_require__(64); 1391 1392 // optional / simple context binding 1393 module.exports = function (fn, that, length) { 1394 aFunction(fn); 1395 if (that === undefined) return fn; 1396 switch (length) { 1397 case 0: return function () { 1398 return fn.call(that); 1399 }; 1400 case 1: return function (a) { 1401 return fn.call(that, a); 1402 }; 1403 case 2: return function (a, b) { 1404 return fn.call(that, a, b); 1405 }; 1406 case 3: return function (a, b, c) { 1407 return fn.call(that, a, b, c); 1408 }; 1409 } 1410 return function (/* ...args */) { 1411 return fn.apply(that, arguments); 1412 }; 1413 }; 1414 1415 1416 /***/ }), 1417 /* 64 */ 1418 /***/ (function(module, exports) { 1419 1420 module.exports = function (it) { 1421 if (typeof it != 'function') { 1422 throw TypeError(String(it) + ' is not a function'); 1423 } return it; 1424 }; 1425 1426 1427 /***/ }), 1428 /* 65 */ 1429 /***/ (function(module, exports, __webpack_require__) { 1430 1431 var classof = __webpack_require__(66); 1432 var Iterators = __webpack_require__(62); 1433 var wellKnownSymbol = __webpack_require__(56); 1434 1435 var ITERATOR = wellKnownSymbol('iterator'); 1436 1437 module.exports = function (it) { 1438 if (it != undefined) return it[ITERATOR] 1439 || it['@@iterator'] 1440 || Iterators[classof(it)]; 1441 }; 1442 1443 1444 /***/ }), 1445 /* 66 */ 1446 /***/ (function(module, exports, __webpack_require__) { 1447 1448 var TO_STRING_TAG_SUPPORT = __webpack_require__(67); 1449 var classofRaw = __webpack_require__(11); 1450 var wellKnownSymbol = __webpack_require__(56); 1451 1452 var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 1453 // ES3 wrong here 1454 var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; 1455 1456 // fallback for IE11 Script Access Denied error 1457 var tryGet = function (it, key) { 1458 try { 1459 return it[key]; 1460 } catch (error) { /* empty */ } 1461 }; 1462 1463 // getting tag from ES6+ `Object.prototype.toString` 1464 module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { 1465 var O, tag, result; 1466 return it === undefined ? 'Undefined' : it === null ? 'Null' 1467 // @@toStringTag case 1468 : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag 1469 // builtinTag case 1470 : CORRECT_ARGUMENTS ? classofRaw(O) 1471 // ES3 arguments fallback 1472 : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result; 1473 }; 1474 1475 1476 /***/ }), 1477 /* 67 */ 1478 /***/ (function(module, exports, __webpack_require__) { 1479 1480 var wellKnownSymbol = __webpack_require__(56); 1481 1482 var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 1483 var test = {}; 1484 1485 test[TO_STRING_TAG] = 'z'; 1486 1487 module.exports = String(test) === '[object z]'; 1488 1489 1490 /***/ }), 1491 /* 68 */ 1492 /***/ (function(module, exports, __webpack_require__) { 1493 1494 var anObject = __webpack_require__(21); 1495 1496 module.exports = function (iterator) { 1497 var returnMethod = iterator['return']; 1498 if (returnMethod !== undefined) { 1499 return anObject(returnMethod.call(iterator)).value; 1500 } 1501 }; 1502 1503 1504 /***/ }), 1505 /* 69 */ 1506 /***/ (function(module, exports, __webpack_require__) { 1507 1508 var $ = __webpack_require__(2); 1509 var global = __webpack_require__(3); 1510 var setToStringTag = __webpack_require__(70); 1511 1512 $({ global: true }, { Reflect: {} }); 1513 1514 // Reflect[@@toStringTag] property 1515 // https://tc39.es/ecma262/#sec-reflect-@@tostringtag 1516 setToStringTag(global.Reflect, 'Reflect', true); 1517 1518 1519 /***/ }), 1520 /* 70 */ 1521 /***/ (function(module, exports, __webpack_require__) { 1522 1523 var defineProperty = __webpack_require__(20).f; 1524 var has = __webpack_require__(15); 1525 var wellKnownSymbol = __webpack_require__(56); 1526 1527 var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 1528 1529 module.exports = function (it, TAG, STATIC) { 1530 if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) { 1531 defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG }); 1532 } 1533 }; 1534 1535 1536 /***/ }), 1537 /* 71 */ 1538 /***/ (function(module, exports, __webpack_require__) { 1539 1540 "use strict"; 1541 1542 var $ = __webpack_require__(2); 1543 var requireObjectCoercible = __webpack_require__(12); 1544 var isRegExp = __webpack_require__(72); 1545 var getRegExpFlags = __webpack_require__(73); 1546 var getSubstitution = __webpack_require__(74); 1547 var wellKnownSymbol = __webpack_require__(56); 1548 var IS_PURE = __webpack_require__(30); 1549 1550 var REPLACE = wellKnownSymbol('replace'); 1551 var RegExpPrototype = RegExp.prototype; 1552 var max = Math.max; 1553 1554 var stringIndexOf = function (string, searchValue, fromIndex) { 1555 if (fromIndex > string.length) return -1; 1556 if (searchValue === '') return fromIndex; 1557 return string.indexOf(searchValue, fromIndex); 1558 }; 1559 1560 // `String.prototype.replaceAll` method 1561 // https://tc39.es/ecma262/#sec-string.prototype.replaceall 1562 $({ target: 'String', proto: true }, { 1563 replaceAll: function replaceAll(searchValue, replaceValue) { 1564 var O = requireObjectCoercible(this); 1565 var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement; 1566 var position = 0; 1567 var endOfLastMatch = 0; 1568 var result = ''; 1569 if (searchValue != null) { 1570 IS_REG_EXP = isRegExp(searchValue); 1571 if (IS_REG_EXP) { 1572 flags = String(requireObjectCoercible('flags' in RegExpPrototype 1573 ? searchValue.flags 1574 : getRegExpFlags.call(searchValue) 1575 )); 1576 if (!~flags.indexOf('g')) throw TypeError('`.replaceAll` does not allow non-global regexes'); 1577 } 1578 replacer = searchValue[REPLACE]; 1579 if (replacer !== undefined) { 1580 return replacer.call(searchValue, O, replaceValue); 1581 } else if (IS_PURE && IS_REG_EXP) { 1582 return String(O).replace(searchValue, replaceValue); 1583 } 1584 } 1585 string = String(O); 1586 searchString = String(searchValue); 1587 functionalReplace = typeof replaceValue === 'function'; 1588 if (!functionalReplace) replaceValue = String(replaceValue); 1589 searchLength = searchString.length; 1590 advanceBy = max(1, searchLength); 1591 position = stringIndexOf(string, searchString, 0); 1592 while (position !== -1) { 1593 if (functionalReplace) { 1594 replacement = String(replaceValue(searchString, position, string)); 1595 } else { 1596 replacement = getSubstitution(searchString, string, position, [], undefined, replaceValue); 1597 } 1598 result += string.slice(endOfLastMatch, position) + replacement; 1599 endOfLastMatch = position + searchLength; 1600 position = stringIndexOf(string, searchString, position + advanceBy); 1601 } 1602 if (endOfLastMatch < string.length) { 1603 result += string.slice(endOfLastMatch); 1604 } 1605 return result; 1606 } 1607 }); 1608 1609 1610 /***/ }), 1611 /* 72 */ 1612 /***/ (function(module, exports, __webpack_require__) { 1613 1614 var isObject = __webpack_require__(14); 1615 var classof = __webpack_require__(11); 1616 var wellKnownSymbol = __webpack_require__(56); 1617 1618 var MATCH = wellKnownSymbol('match'); 1619 1620 // `IsRegExp` abstract operation 1621 // https://tc39.es/ecma262/#sec-isregexp 1622 module.exports = function (it) { 1623 var isRegExp; 1624 return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp'); 1625 }; 1626 1627 1628 /***/ }), 1629 /* 73 */ 1630 /***/ (function(module, exports, __webpack_require__) { 1631 1632 "use strict"; 1633 1634 var anObject = __webpack_require__(21); 1635 1636 // `RegExp.prototype.flags` getter implementation 1637 // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags 1638 module.exports = function () { 1639 var that = anObject(this); 1640 var result = ''; 1641 if (that.global) result += 'g'; 1642 if (that.ignoreCase) result += 'i'; 1643 if (that.multiline) result += 'm'; 1644 if (that.dotAll) result += 's'; 1645 if (that.unicode) result += 'u'; 1646 if (that.sticky) result += 'y'; 1647 return result; 1648 }; 1649 1650 1651 /***/ }), 1652 /* 74 */ 1653 /***/ (function(module, exports, __webpack_require__) { 1654 1655 var toObject = __webpack_require__(16); 1656 1657 var floor = Math.floor; 1658 var replace = ''.replace; 1659 var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; 1660 var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; 1661 1662 // https://tc39.es/ecma262/#sec-getsubstitution 1663 module.exports = function (matched, str, position, captures, namedCaptures, replacement) { 1664 var tailPos = position + matched.length; 1665 var m = captures.length; 1666 var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; 1667 if (namedCaptures !== undefined) { 1668 namedCaptures = toObject(namedCaptures); 1669 symbols = SUBSTITUTION_SYMBOLS; 1670 } 1671 return replace.call(replacement, symbols, function (match, ch) { 1672 var capture; 1673 switch (ch.charAt(0)) { 1674 case '$': return '$'; 1675 case '&': return matched; 1676 case '`': return str.slice(0, position); 1677 case "'": return str.slice(tailPos); 1678 case '<': 1679 capture = namedCaptures[ch.slice(1, -1)]; 1680 break; 1681 default: // \d\d? 1682 var n = +ch; 1683 if (n === 0) return match; 1684 if (n > m) { 1685 var f = floor(n / 10); 1686 if (f === 0) return match; 1687 if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); 1688 return match; 1689 } 1690 capture = captures[n - 1]; 1691 } 1692 return capture === undefined ? '' : capture; 1693 }); 1694 }; 1695 1696 1697 /***/ }), 1698 /* 75 */ 1699 /***/ (function(module, exports, __webpack_require__) { 1700 1701 var $ = __webpack_require__(2); 1702 var global = __webpack_require__(3); 1703 var task = __webpack_require__(76); 1704 1705 var FORCED = !global.setImmediate || !global.clearImmediate; 1706 1707 // http://w3c.github.io/setImmediate/ 1708 $({ global: true, bind: true, enumerable: true, forced: FORCED }, { 1709 // `setImmediate` method 1710 // http://w3c.github.io/setImmediate/#si-setImmediate 1711 setImmediate: task.set, 1712 // `clearImmediate` method 1713 // http://w3c.github.io/setImmediate/#si-clearImmediate 1714 clearImmediate: task.clear 1715 }); 1716 1717 1718 /***/ }), 1719 /* 76 */ 1720 /***/ (function(module, exports, __webpack_require__) { 1721 1722 var global = __webpack_require__(3); 1723 var fails = __webpack_require__(6); 1724 var bind = __webpack_require__(63); 1725 var html = __webpack_require__(53); 1726 var createElement = __webpack_require__(18); 1727 var IS_IOS = __webpack_require__(77); 1728 var IS_NODE = __webpack_require__(58); 1729 1730 var location = global.location; 1731 var set = global.setImmediate; 1732 var clear = global.clearImmediate; 1733 var process = global.process; 1734 var MessageChannel = global.MessageChannel; 1735 var Dispatch = global.Dispatch; 1736 var counter = 0; 1737 var queue = {}; 1738 var ONREADYSTATECHANGE = 'onreadystatechange'; 1739 var defer, channel, port; 1740 1741 var run = function (id) { 1742 // eslint-disable-next-line no-prototype-builtins -- safe 1743 if (queue.hasOwnProperty(id)) { 1744 var fn = queue[id]; 1745 delete queue[id]; 1746 fn(); 1747 } 1748 }; 1749 1750 var runner = function (id) { 1751 return function () { 1752 run(id); 1753 }; 1754 }; 1755 1756 var listener = function (event) { 1757 run(event.data); 1758 }; 1759 1760 var post = function (id) { 1761 // old engines have not location.origin 1762 global.postMessage(id + '', location.protocol + '//' + location.host); 1763 }; 1764 1765 // Node.js 0.9+ & IE10+ has setImmediate, otherwise: 1766 if (!set || !clear) { 1767 set = function setImmediate(fn) { 1768 var args = []; 1769 var i = 1; 1770 while (arguments.length > i) args.push(arguments[i++]); 1771 queue[++counter] = function () { 1772 // eslint-disable-next-line no-new-func -- spec requirement 1773 (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args); 1774 }; 1775 defer(counter); 1776 return counter; 1777 }; 1778 clear = function clearImmediate(id) { 1779 delete queue[id]; 1780 }; 1781 // Node.js 0.8- 1782 if (IS_NODE) { 1783 defer = function (id) { 1784 process.nextTick(runner(id)); 1785 }; 1786 // Sphere (JS game engine) Dispatch API 1787 } else if (Dispatch && Dispatch.now) { 1788 defer = function (id) { 1789 Dispatch.now(runner(id)); 1790 }; 1791 // Browsers with MessageChannel, includes WebWorkers 1792 // except iOS - https://github.com/zloirock/core-js/issues/624 1793 } else if (MessageChannel && !IS_IOS) { 1794 channel = new MessageChannel(); 1795 port = channel.port2; 1796 channel.port1.onmessage = listener; 1797 defer = bind(port.postMessage, port, 1); 1798 // Browsers with postMessage, skip WebWorkers 1799 // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' 1800 } else if ( 1801 global.addEventListener && 1802 typeof postMessage == 'function' && 1803 !global.importScripts && 1804 location && location.protocol !== 'file:' && 1805 !fails(post) 1806 ) { 1807 defer = post; 1808 global.addEventListener('message', listener, false); 1809 // IE8- 1810 } else if (ONREADYSTATECHANGE in createElement('script')) { 1811 defer = function (id) { 1812 html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () { 1813 html.removeChild(this); 1814 run(id); 1815 }; 1816 }; 1817 // Rest old browsers 1818 } else { 1819 defer = function (id) { 1820 setTimeout(runner(id), 0); 1821 }; 1822 } 1823 } 1824 1825 module.exports = { 1826 set: set, 1827 clear: clear 1828 }; 1829 1830 1831 /***/ }), 1832 /* 77 */ 1833 /***/ (function(module, exports, __webpack_require__) { 1834 1835 var userAgent = __webpack_require__(60); 1836 1837 module.exports = /(?:iphone|ipod|ipad).*applewebkit/i.test(userAgent); 1838 1839 1840 /***/ }) 1841 /******/ ]); }();