1/******/ (function() { // webpackBootstrap 2/******/ "use strict"; 3/******/ var __webpack_modules__ = ({ 4 5/***/ 29127: 6/***/ (function(__unused_webpack_module, exports) { 7 8 9 10Object.defineProperty(exports, "__esModule", ({ 11 value: true 12})); 13exports["default"] = void 0; 14var _default = exports["default"] = { 15 PUSH_RECEIVED: 'push-received', 16 NOTIFICATION_CLICKED: 'notification-clicked', 17 FCM_INITIALIZED: 'fcm-initialized', 18 WEB_PUSH_ClICK: 'webPushClick', 19 NOTIFICATION_CLICK_MESSAGE: 'NOTIFICATION_CLICK_MESSAGE', 20 FIREBASE_MESSAGING_SW: 'firebase-messaging-sw' 21}; 22 23/***/ }), 24 25/***/ 27793: 26/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 27 28 29 30Object.defineProperty(exports, "__esModule", ({ 31 value: true 32})); 33exports["default"] = getWindowClient; 34__webpack_require__(62047); 35__webpack_require__(73570); 36__webpack_require__(12022); 37__webpack_require__(1980); 38__webpack_require__(59020); 39__webpack_require__(72641); 40var _parkLogger = _interopRequireDefault(__webpack_require__(39553)); 41function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } 42/* eslint-disable no-restricted-globals */ 43 44const getClientList = async () => self.clients.matchAll({ 45 type: 'window', 46 includeUncontrolled: true 47}); 48async function getWindowClient(url) { 49 try { 50 const clientList = await getClientList(); 51 return clientList.find(client => { 52 const clientUrl = new URL(client.url, self.location.href); 53 return url.host === clientUrl.host; 54 }); 55 } catch (err) { 56 return _parkLogger.default.warn(err); 57 } 58} 59 60/***/ }), 61 62/***/ 76835: 63/***/ (function(__unused_webpack_module, exports) { 64 65 66 67Object.defineProperty(exports, "__esModule", ({ 68 value: true 69})); 70exports["default"] = void 0; 71function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; } 72function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; } 73function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } 74class Messaging { 75 constructor() { 76 _defineProperty(this, "addMessage", (messageKey, payload) => { 77 this.messages[messageKey] = payload; 78 }); 79 _defineProperty(this, "deleteMessage", messageKey => { 80 delete this.messages[messageKey]; 81 }); 82 _defineProperty(this, "has", messageKey => messageKey in this.messages); 83 _defineProperty(this, "getMessage", messageKey => this.messages[messageKey]); 84 this.messages = {}; 85 } 86} 87exports["default"] = Messaging; 88 89/***/ }), 90 91/***/ 517: 92/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 93 94 95 96Object.defineProperty(exports, "__esModule", ({ 97 value: true 98})); 99exports.onPush = exports.onNotificationClick = exports.onMessage = void 0; 100__webpack_require__(12022); 101__webpack_require__(1980); 102__webpack_require__(59020); 103__webpack_require__(72641); 104var _parkLogger = _interopRequireDefault(__webpack_require__(39553)); 105var _firebaseMessaging = _interopRequireDefault(__webpack_require__(29127)); 106var _firebaseMessaging2 = _interopRequireDefault(__webpack_require__(27793)); 107var _messaging = _interopRequireDefault(__webpack_require__(76835)); 108function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } 109function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } 110function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEac
110h(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } 111function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; } 112function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; } 113function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /* eslint-disable no-restricted-globals */ 114const DISPLAY_TIME = 60000; 115const MessageService = new _messaging.default(); 116const NOTIFICATION_CLICKED = _firebaseMessaging.default.NOTIFICATION_CLICKED, 117 NOTIFICATION_CLICK_MESSAGE = _firebaseMessaging.default.NOTIFICATION_CLICK_MESSAGE; 118const sendMessage = (client, payload) => { 119 client.postMessage(payload); 120}; 121const handleClickActionNavigation = async event => { 122 try { 123 const _event$notification = event === null || event === void 0 ? void 0 : event.notification, 124 data = _event$notification.data; 125 if (!(data !== null && data !== void 0 && data.click_action)) { 126 return; 127 } 128 129 // Should only open/focus links from app's origin. 130 const link = data.click_action; 131 const url = new URL(link, self.location.href); 132 const originUrl = new URL(self.location.origin); 133 if (url.host !== originUrl.host) { 134 return; 135 } 136 let client = await (0, _firebaseMessaging2.default)(url); 137 const payload = { 138 data, 139 isFirebaseMessaging: true, 140 messageType: NOTIFICATION_CLICKED 141 }; 142 if (!client) { 143 client = await self.clients.openWindow(link); 144 MessageService.addMessage(NOTIFICATION_CLICK_MESSAGE, payload); 145 } else { 146 client = await client.focus(); 147 sendMessage(client, payload); 148 } 149 } catch (err) { 150 _parkLogger.default.warn(err); 151 } 152}; 153const onPush = event => { 154 var _event$data; 155 const payload = event === null || event === void 0 || (_event$data = event.data) === null || _event$data === void 0 ? void 0 : _event$data.json(); 156 const notification = payload.notification, 157 data = payload.data, 158 _payload$notification = payload.notification, 159 title = _payload$notification.title, 160 click_action = _payload$notification.click_action; 161 return self.registration.showNotification(title, _objectSpread(_objectSpread({}, notification), {}, { 162 data: _objectSpread(_objectSpread({}, data), {}, { 163 click_action 164 }), 165 requireInteraction: true 166 })).then(() => self.registration.getNotifications()).then(notifications => { 167 if (DISPLAY_TIME) { 168 setTimeout(() => { 169 notifications.forEach(note => note.close()); 170 }, DISPLAY_TIME); 171 } 172 }); 173}; 174exports.onPush = onPush; 175const onNotificationClick = async event => { 176 try { 177 event.stopImmediatePropagation(); 178 event.notification.close(); 179 event.waitUntil(handleClickActionNavigation(event)); 180 } catch (err) { 181 _parkLogger.default.warn(err); 182 } 183}; 184exports.onNotificationClick = onNotificationClick; 185const onMessage = async event => { 186 try { 187 const messageType = event.data.messageType; 188 const originUrl = new URL(self.location.origin); 189 const client = await (0, _firebaseMessaging2.default)(originUrl); 190 if (MessageService.has(messageType) && client) { 191 const message = MessageService.getMessage(messageType); 192 MessageService.deleteMessage(messageType); 193 sendMessage(client, message); 194 } 195 } catch (err) { 196 _parkLogger.default.warn(err); 197 } 198}; 199exports.onMessage = onMessage; 200 201/***/ }), 202 203/***/ 39553: 204/***/ (function(module) { 205 206 207 208/* eslint no-console: 0 */ 209 210// Park-Logger will break JS Bundle because of filesystem 211// Instead we have WebPack swap park-logger for this straight-up console 212module.exports = console; 213 214/***/ }), 215 216/***/ 55476: 217/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 218 219 220var isCallable = __webpack_require__(74859); 221var tryToString = __webpack_require__(32385); 222 223var $TypeError = TypeError; 224 225// `Assert: IsCallable(argument) is true` 226module.exports = function (argument) { 227 if (isCallable(argument)) return argument; 228 throw new $TypeError(tryToString(argument) + ' is not a function'); 229}; 230 231 232/***/ }), 233 234/***/ 72962: 235/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 236 237 238var isConstructor = __webpack_require__(22239); 239var tryToString = __webpack_require__(32385); 240 241var $TypeError = TypeError; 242 243// `Assert: IsConstructor(argument) is true` 244module.exports = function (argument) { 245 if (isConstructor(argument)) return argument; 246 throw new $TypeError(tryToString(argument) + ' is not a constructor'); 247}; 248 249 250/***/ }), 251 252/***/ 62268: 253/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 254 255 256var isPossiblePrototype = __webpack_require__(54182); 257 258var $String = String; 259var $TypeError = TypeError; 260 261module.exports = function (argument) { 262 if (isPossiblePrototype(argument)) return argument; 263 throw new $TypeError("Can't set " + $String(argument) + ' as a prototype'); 264}; 265 266 267/***/ }), 268 269/***/ 18833: 270/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 271 272 273var wellKnownSymbol = __webpack_require__(76433); 274var create = __webpack_require__(9122); 275var defineProperty = (__webpack_require__(29196).f); 276 277var UNSCOPABLES = wellKnownSymbol('unscopables'); 278var ArrayPrototype = Array.prototype; 279 280// Array.prototype[@@unscopables] 281// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables 282if (ArrayPrototype[UNSCOPABLES] === undefined) { 283 defineProperty(ArrayPrototype, UNSCOPABLES, { 284 configurable: true, 285 value: create(null) 286 }); 287} 288 289// add a key to Array.prototype[@@unscopables] 290module.exports = function (key) { 291 ArrayPrototype[UNSCOPABLES][key] = true; 292}; 293 294 295/***/ }), 296 297/***/ 34763: 298/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 299 300 301var charAt = (__webpack_require__(6746).charAt); 302 303// `AdvanceStringIndex` abstract operation 304// https://tc39.es/ecma262/#sec-advancestringindex 305module.exports = function (S, index, unicode) { 306 return index + (unicode ? charAt(S, index).length || 1 : 1); 307}; 308 309 310/***/ }), 311 312/***/ 18137: 313/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 314 315 316var isPrototypeOf = __webpack_require__(56227); 317 318var $TypeError = TypeError; 319 320module.exports = function (it, Prototype) { 321 if (isPrototypeOf(Prototype, it)) return it; 322 throw new $TypeError('Incorrect invocation'); 323}; 324 325 326/***/ }), 327 328/***/ 17425: 329/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 330 331 332var isObject = __webpack_require__(66876); 333 334var $String = String; 335var $TypeError = TypeError; 336 337// `Assert: Type(argument) is Object` 338module.exports = function (argument) { 339 if (isObject(argument)) return argument; 340 throw new $TypeError($String(argument) + ' is not an object'); 341}; 342 343 344/***/ }), 345 346/***/ 51492: 347/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 348 349 350var bind = __webpack_require__(1428); 351var call = __webpack_require__(78132); 352var toObject = __webpack_require__(24375); 353var callWithSafeIterationClosing = __webpack_require__(32118); 354var isArrayIteratorMethod = __webpack_require__(98912); 355var isConstructor = __webpack_require__(22239); 356var lengthOfArrayLike = __webpack_require__(99878); 357var createProperty = __webpack_require__(79445); 358var setArrayLength = __webpack_require__(84044); 359var getIterator = __webpack_require__(31365); 360var getIteratorMethod = __webpack_require__(82412); 361var iteratorClose = __webpack_require__(87507); 362 363var $Array = Array; 364 365// `Array.from` method implementation 366// https://tc39.es/ecma262/#sec-array.from 367module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { 368 var IS_CONSTRUCTOR = isConstructor(this); 369 var argumentsLength = arguments.length; 370 var mapfn = argumentsLength > 1 ? arguments[1] : undefined; 371 var mapping = mapfn !== undefined; 372 if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined); 373 var O = toObject(arrayLike); 374 var iteratorMethod = getIteratorMethod(O); 375 var index = 0; 376 var length, result, step, iterator, next, value; 377 // if the target is not iterable or it's an array with the default iterator - use a simple case 378 if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) { 379 result = IS_CONSTRUCTOR ? new this() : []; 380 iterator = getIterator(O, iteratorMethod); 381 next = iterator.next; 382 for (;!(step = call(next, iterator)).done; index++) { 383 value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
vendor: 4,786 bytes, lines 384-559
384 try { 385 createProperty(result, index, value); 386 } catch (error) { 387 iteratorClose(iterator, 'throw', error); 388 } 389 } 390 } else { 391 length = lengthOfArrayLike(O); 392 result = IS_CONSTRUCTOR ? new this(length) : $Array(length); 393 for (;length > index; index++) { 394 value = mapping ? mapfn(O[index], index) : O[index]; 395 createProperty(result, index, value); 396 } 397 } 398 setArrayLength(result, index); 399 return result; 400}; 401 402 403/***/ }), 404 405/***/ 74454: 406/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 407 408 409var toIndexedObject = __webpack_require__(85341); 410var toAbsoluteIndex = __webpack_require__(30803); 411var lengthOfArrayLike = __webpack_require__(99878); 412 413// `Array.prototype.{ indexOf, includes }` methods implementation 414var createMethod = function (IS_INCLUDES) { 415 return function ($this, el, fromIndex) { 416 var O = toIndexedObject($this); 417 var length = lengthOfArrayLike(O); 418 if (length === 0) return !IS_INCLUDES && -1; 419 var index = toAbsoluteIndex(fromIndex, length); 420 var value; 421 // Array#includes uses SameValueZero equality algorithm 422 // eslint-disable-next-line no-self-compare -- NaN check 423 if (IS_INCLUDES && el !== el) while (length > index) { 424 value = O[index++]; 425 // eslint-disable-next-line no-self-compare -- NaN check 426 if (value !== value) return true; 427 // Array#indexOf ignores holes, Array#includes - not 428 } else for (;length > index; index++) { 429 if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; 430 } return !IS_INCLUDES && -1; 431 }; 432}; 433 434module.exports = { 435 // `Array.prototype.includes` method 436 // https://tc39.es/ecma262/#sec-array.prototype.includes 437 includes: createMethod(true), 438 // `Array.prototype.indexOf` method 439 // https://tc39.es/ecma262/#sec-array.prototype.indexof 440 indexOf: createMethod(false) 441}; 442 443 444/***/ }), 445 446/***/ 84044: 447/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 448 449 450var DESCRIPTORS = __webpack_require__(92671); 451var isArray = __webpack_require__(53687); 452 453var $TypeError = TypeError; 454// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 455var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 456 457// Safari < 13 does not throw an error in this case 458var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { 459 // makes no sense without proper strict mode support 460 if (this !== undefined) return true; 461 try { 462 // eslint-disable-next-line es/no-object-defineproperty -- safe 463 Object.defineProperty([], 'length', { writable: false }).length = 1; 464 } catch (error) { 465 return error instanceof TypeError; 466 } 467}(); 468 469module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { 470 if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { 471 throw new $TypeError('Cannot set read only .length'); 472 } return O.length = length; 473} : function (O, length) { 474 return O.length = length; 475}; 476 477 478/***/ }), 479 480/***/ 85013: 481/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 482 483 484var uncurryThis = __webpack_require__(24354); 485 486module.exports = uncurryThis([].slice); 487 488 489/***/ }), 490 491/***/ 79495: 492/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 493 494 495var arraySlice = __webpack_require__(85013); 496 497var floor = Math.floor; 498 499var sort = function (array, comparefn) { 500 var length = array.length; 501 502 if (length < 8) { 503 // insertion sort 504 var i = 1; 505 var element, j; 506 507 while (i < length) { 508 j = i; 509 element = array[i]; 510 while (j && comparefn(array[j - 1], element) > 0) { 511 array[j] = array[--j]; 512 } 513 if (j !== i++) array[j] = element; 514 } 515 } else { 516 // merge sort 517 var middle = floor(length / 2); 518 var left = sort(arraySlice(array, 0, middle), comparefn); 519 var right = sort(arraySlice(array, middle), comparefn); 520 var llength = left.length; 521 var rlength = right.length; 522 var lindex = 0; 523 var rindex = 0; 524 525 while (lindex < llength || rindex < rlength) { 526 array[lindex + rindex] = (lindex < llength && rindex < rlength) 527 ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++] 528 : lindex < llength ? left[lindex++] : right[rindex++]; 529 } 530 } 531 532 return array; 533}; 534 535module.exports = sort; 536 537 538/***/ }), 539 540/***/ 32118: 541/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 542 543 544var anObject = __webpack_require__(17425); 545var iteratorClose = __webpack_require__(87507); 546 547// call something on iterator step with safe closing on error 548module.exports = function (iterator, fn, value, ENTRIES) { 549 try { 550 return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); 551 } catch (error) { 552 iteratorClose(iterator, 'throw', error); 553 } 554}; 555 556 557/***/ }), 558 559/***/ 34470:
vendor: 37,176 bytes, lines 560-1909
560/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 561 562 563var uncurryThis = __webpack_require__(24354); 564 565var toString = uncurryThis({}.toString); 566var stringSlice = uncurryThis(''.slice); 567 568module.exports = function (it) { 569 return stringSlice(toString(it), 8, -1); 570}; 571 572 573/***/ }), 574 575/***/ 27743: 576/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 577 578 579var TO_STRING_TAG_SUPPORT = __webpack_require__(43847); 580var isCallable = __webpack_require__(74859); 581var classofRaw = __webpack_require__(34470); 582var wellKnownSymbol = __webpack_require__(76433); 583 584var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 585var $Object = Object; 586 587// ES3 wrong here 588var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; 589 590// fallback for IE11 Script Access Denied error 591var tryGet = function (it, key) { 592 try { 593 return it[key]; 594 } catch (error) { /* empty */ } 595}; 596 597// getting tag from ES6+ `Object.prototype.toString` 598module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { 599 var O, tag, result; 600 return it === undefined ? 'Undefined' : it === null ? 'Null' 601 // @@toStringTag case 602 : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag 603 // builtinTag case 604 : CORRECT_ARGUMENTS ? classofRaw(O) 605 // ES3 arguments fallback 606 : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; 607}; 608 609 610/***/ }), 611 612/***/ 83957: 613/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 614 615 616var hasOwn = __webpack_require__(27492); 617var ownKeys = __webpack_require__(3052); 618var getOwnPropertyDescriptorModule = __webpack_require__(66690); 619var definePropertyModule = __webpack_require__(29196); 620 621module.exports = function (target, source, exceptions) { 622 var keys = ownKeys(source); 623 var defineProperty = definePropertyModule.f; 624 var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; 625 for (var i = 0; i < keys.length; i++) { 626 var key = keys[i]; 627 if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { 628 defineProperty(target, key, getOwnPropertyDescriptor(source, key)); 629 } 630 } 631}; 632 633 634/***/ }), 635 636/***/ 3872: 637/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 638 639 640var fails = __webpack_require__(35909); 641 642module.exports = !fails(function () { 643 function F() { /* empty */ } 644 F.prototype.constructor = null; 645 // eslint-disable-next-line es/no-object-getprototypeof -- required for testing 646 return Object.getPrototypeOf(new F()) !== F.prototype; 647}); 648 649 650/***/ }), 651 652/***/ 63857: 653/***/ (function(module) { 654 655 656// `CreateIterResultObject` abstract operation 657// https://tc39.es/ecma262/#sec-createiterresultobject 658module.exports = function (value, done) { 659 return { value: value, done: done }; 660}; 661 662 663/***/ }), 664 665/***/ 19757: 666/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 667 668 669var DESCRIPTORS = __webpack_require__(92671); 670var definePropertyModule = __webpack_require__(29196); 671var createPropertyDescriptor = __webpack_require__(57624); 672 673module.exports = DESCRIPTORS ? function (object, key, value) { 674 return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); 675} : function (object, key, value) { 676 object[key] = value; 677 return object; 678}; 679 680 681/***/ }), 682 683/***/ 57624: 684/***/ (function(module) { 685 686 687module.exports = function (bitmap, value) { 688 return { 689 enumerable: !(bitmap & 1), 690 configurable: !(bitmap & 2), 691 writable: !(bitmap & 4), 692 value: value 693 }; 694}; 695 696 697/***/ }), 698 699/***/ 79445: 700/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 701 702 703var DESCRIPTORS = __webpack_require__(92671); 704var definePropertyModule = __webpack_require__(29196); 705var createPropertyDescriptor = __webpack_require__(57624); 706 707module.exports = function (object, key, value) { 708 if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); 709 else object[key] = value; 710}; 711 712 713/***/ }), 714 715/***/ 39927: 716/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 717 718 719var makeBuiltIn = __webpack_require__(61493); 720var defineProperty = __webpack_require__(29196); 721 722module.exports = function (target, name, descriptor) { 723 if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); 724 if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); 725 return defineProperty.f(target, name, descriptor); 726}; 727 728 729/***/ }), 730 731/***/ 12184: 732/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 733 734 735var isCallable = __webpack_require__(74859); 736var definePropertyModule = __webpack_require__(29196); 737var makeBuiltIn = __webpack_require__(61493); 738var defineGlobalProperty = __webpack_require__(2764); 739 740module.exports = function (O, key, value, options) { 741 if (!options) options = {}; 742 var simple = options.enumerable; 743 var name = options.name !== undefined ? options.name : key; 744 if (isCallable(value)) makeBuiltIn(value, name, options); 745 if (options.global) { 746 if (simple) O[key] = value; 747 else defineGlobalProperty(key, value); 748 } else { 749 try { 750 if (!options.unsafe) delete O[key]; 751 else if (O[key]) simple = true; 752 } catch (error) { /* empty */ } 753 if (simple) O[key] = value; 754 else definePropertyModule.f(O, key, { 755 value: value, 756 enumerable: false, 757 configurable: !options.nonConfigurable, 758 writable: !options.nonWritable 759 }); 760 } return O; 761}; 762 763 764/***/ }), 765 766/***/ 70480: 767/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 768 769 770var defineBuiltIn = __webpack_require__(12184); 771 772module.exports = function (target, src, options) { 773 for (var key in src) defineBuiltIn(target, key, src[key], options); 774 return target; 775}; 776 777 778/***/ }), 779 780/***/ 2764: 781/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 782 783 784var globalThis = __webpack_require__(74200); 785 786// eslint-disable-next-line es/no-object-defineproperty -- safe 787var defineProperty = Object.defineProperty; 788 789module.exports = function (key, value) { 790 try { 791 defineProperty(globalThis, key, { value: value, configurable: true, writable: true }); 792 } catch (error) { 793 globalThis[key] = value; 794 } return value; 795}; 796 797 798/***/ }), 799 800/***/ 92671: 801/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 802 803 804var fails = __webpack_require__(35909); 805 806// Detect IE8's incomplete defineProperty implementation 807module.exports = !fails(function () { 808 // eslint-disable-next-line es/no-object-defineproperty -- required for testing 809 return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; 810}); 811 812 813/***/ }), 814 815/***/ 41262: 816/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 817 818 819var globalThis = __webpack_require__(74200); 820var isObject = __webpack_require__(66876); 821 822var document = globalThis.document; 823// typeof document.createElement is 'object' in old IE 824var EXISTS = isObject(document) && isObject(document.createElement); 825 826module.exports = function (it) { 827 return EXISTS ? document.createElement(it) : {}; 828}; 829 830 831/***/ }), 832 833/***/ 55863: 834/***/ (function(module) { 835 836 837// iterable DOM collections 838// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods 839module.exports = { 840 CSSRuleList: 0, 841 CSSStyleDeclaration: 0, 842 CSSValueList: 0, 843 ClientRectList: 0, 844 DOMRectList: 0, 845 DOMStringList: 0, 846 DOMTokenList: 1, 847 DataTransferItemList: 0, 848 FileList: 0, 849 HTMLAllCollection: 0, 850 HTMLCollection: 0, 851 HTMLFormElement: 0, 852 HTMLSelectElement: 0, 853 MediaList: 0, 854 MimeTypeArray: 0, 855 NamedNodeMap: 0, 856 NodeList: 1, 857 PaintRequestList: 0, 858 Plugin: 0, 859 PluginArray: 0, 860 SVGLengthList: 0, 861 SVGNumberList: 0, 862 SVGPathSegList: 0, 863 SVGPointList: 0, 864 SVGStringList: 0, 865 SVGTransformList: 0, 866 SourceBufferList: 0, 867 StyleSheetList: 0, 868 TextTrackCueList: 0, 869 TextTrackList: 0, 870 TouchList: 0 871}; 872 873 874/***/ }), 875 876/***/ 95574: 877/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 878 879 880// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList` 881var documentCreateElement = __webpack_require__(41262); 882 883var classList = documentCreateElement('span').classList; 884var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype; 885 886module.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype; 887 888 889/***/ }), 890 891/***/ 62489: 892/***/ (function(module) { 893 894 895// IE8- don't enum bug keys 896module.exports = [ 897 'constructor', 898 'hasOwnProperty', 899 'isPrototypeOf', 900 'propertyIsEnumerable', 901 'toLocaleString', 902 'toString', 903 'valueOf' 904]; 905 906 907/***/ }), 908 909/***/ 79978: 910/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 911 912 913var globalThis = __webpack_require__(74200); 914 915var navigator = globalThis.navigator; 916var userAgent = navigator && navigator.userAgent; 917 918module.exports = userAgent ? String(userAgent) : ''; 919 920 921/***/ }), 922 923/***/ 40031: 924/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 925 926 927var globalThis = __webpack_require__(74200); 928var userAgent = __webpack_require__(79978); 929 930var process = globalThis.process; 931var Deno = globalThis.Deno; 932var versions = process && process.versions || Deno && Deno.version; 933var v8 = versions && versions.v8; 934var match, version; 935 936if (v8) { 937 match = v8.split('.'); 938 // in old Chrome, versions of V8 isn't V8 = Chrome / 10 939 // but their correct versions are not interesting for us 940 version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); 941} 942 943// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` 944// so check `userAgent` even if `.v8` exists, but 0 945if (!version && userAgent) { 946 match = userAgent.match(/Edge\/(\d+)/); 947 if (!match || match[1] >= 74) { 948 match = userAgent.match(/Chrome\/(\d+)/); 949 if (match) version = +match[1]; 950 } 951} 952 953module.exports = version; 954 955 956/***/ }), 957 958/***/ 31069: 959/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 960 961 962var globalThis = __webpack_require__(74200); 963var getOwnPropertyDescriptor = (__webpack_require__(66690).f); 964var createNonEnumerableProperty = __webpack_require__(19757); 965var defineBuiltIn = __webpack_require__(12184); 966var defineGlobalProperty = __webpack_require__(2764); 967var copyConstructorProperties = __webpack_require__(83957); 968var isForced = __webpack_require__(48669); 969 970/* 971 options.target - name of the target object 972 options.global - target is the global object 973 options.stat - export as static methods of target 974 options.proto - export as prototype methods of target 975 options.real - real prototype method for the `pure` version 976 options.forced - export even if the native feature is available 977 options.bind - bind methods to the target, required for the `pure` version 978 options.wrap - wrap constructors to preventing global pollution, required for the `pure` version 979 options.unsafe - use the simple assignment of property instead of delete + defineProperty 980 options.sham - add a flag to not completely full polyfills 981 options.enumerable - export as enumerable property 982 options.dontCallGetSet - prevent calling a getter on target 983 options.name - the .name of the function if it does not match the key 984*/ 985module.exports = function (options, source) { 986 var TARGET = options.target; 987 var GLOBAL = options.global; 988 var STATIC = options.stat; 989 var FORCED, target, key, targetProperty, sourceProperty, descriptor; 990 if (GLOBAL) { 991 target = globalThis; 992 } else if (STATIC) { 993 target = globalThis[TARGET] || defineGlobalProperty(TARGET, {}); 994 } else { 995 target = globalThis[TARGET] && globalThis[TARGET].prototype; 996 } 997 if (target) for (key in source) { 998 sourceProperty = source[key]; 999 if (options.dontCallGetSet) { 1000 descriptor = getOwnPropertyDescriptor(target, key); 1001 targetProperty = descriptor && descriptor.value; 1002 } else targetProperty = target[key]; 1003 FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); 1004 // contained in target 1005 if (!FORCED && targetProperty !== undefined) { 1006 if (typeof sourceProperty == typeof targetProperty) continue; 1007 copyConstructorProperties(sourceProperty, targetProperty); 1008 } 1009 // add a flag to not completely full polyfills 1010 if (options.sham || (targetProperty && targetProperty.sham)) { 1011 createNonEnumerableProperty(sourceProperty, 'sham', true); 1012 } 1013 defineBuiltIn(target, key, sourceProperty, options); 1014 } 1015}; 1016 1017 1018/***/ }), 1019 1020/***/ 35909: 1021/***/ (function(module) { 1022 1023 1024module.exports = function (exec) { 1025 try { 1026 return !!exec(); 1027 } catch (error) { 1028 return true; 1029 } 1030}; 1031 1032 1033/***/ }), 1034 1035/***/ 1428: 1036/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1037 1038 1039var uncurryThis = __webpack_require__(91626); 1040var aCallable = __webpack_require__(55476); 1041var NATIVE_BIND = __webpack_require__(87415); 1042 1043var bind = uncurryThis(uncurryThis.bind); 1044 1045// optional / simple context binding 1046module.exports = function (fn, that) { 1047 aCallable(fn); 1048 return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { 1049 return fn.apply(that, arguments); 1050 }; 1051}; 1052 1053 1054/***/ }), 1055 1056/***/ 87415: 1057/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1058 1059 1060var fails = __webpack_require__(35909); 1061 1062module.exports = !fails(function () { 1063 // eslint-disable-next-line es/no-function-prototype-bind -- safe 1064 var test = function () { /* empty */ }.bind(); 1065 // eslint-disable-next-line no-prototype-builtins -- safe 1066 return typeof test != 'function' || test.hasOwnProperty('prototype'); 1067}); 1068 1069 1070/***/ }), 1071 1072/***/ 78132: 1073/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1074 1075 1076var NATIVE_BIND = __webpack_require__(87415); 1077 1078var call = Function.prototype.call; 1079// eslint-disable-next-line es/no-function-prototype-bind -- safe 1080module.exports = NATIVE_BIND ? call.bind(call) : function () { 1081 return call.apply(call, arguments); 1082}; 1083 1084 1085/***/ }), 1086 1087/***/ 64570: 1088/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1089 1090 1091var DESCRIPTORS = __webpack_require__(92671); 1092var hasOwn = __webpack_require__(27492); 1093 1094var FunctionPrototype = Function.prototype; 1095// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 1096var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; 1097 1098var EXISTS = hasOwn(FunctionPrototype, 'name'); 1099// additional protection from minified / mangled / dropped function names 1100var PROPER = EXISTS && function something() { /* empty */ }.name === 'something'; 1101var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); 1102 1103module.exports = { 1104 EXISTS: EXISTS, 1105 PROPER: PROPER, 1106 CONFIGURABLE: CONFIGURABLE 1107}; 1108 1109 1110/***/ }), 1111 1112/***/ 45594: 1113/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1114 1115 1116var uncurryThis = __webpack_require__(24354); 1117var aCallable = __webpack_require__(55476); 1118 1119module.exports = function (object, key, method) { 1120 try { 1121 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 1122 return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); 1123 } catch (error) { /* empty */ } 1124}; 1125 1126 1127/***/ }), 1128 1129/***/ 91626: 1130/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1131 1132 1133var classofRaw = __webpack_require__(34470); 1134var uncurryThis = __webpack_require__(24354); 1135 1136module.exports = function (fn) { 1137 // Nashorn bug: 1138 // https://github.com/zloirock/core-js/issues/1128 1139 // https://github.com/zloirock/core-js/issues/1130 1140 if (classofRaw(fn) === 'Function') return uncurryThis(fn); 1141}; 1142 1143 1144/***/ }), 1145 1146/***/ 24354: 1147/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1148 1149 1150var NATIVE_BIND = __webpack_require__(87415); 1151 1152var FunctionPrototype = Function.prototype; 1153var call = FunctionPrototype.call; 1154// eslint-disable-next-line es/no-function-prototype-bind -- safe 1155var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); 1156 1157module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { 1158 return function () { 1159 return call.apply(fn, arguments); 1160 }; 1161}; 1162 1163 1164/***/ }), 1165 1166/***/ 79878: 1167/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1168 1169 1170var globalThis = __webpack_require__(74200); 1171var isCallable = __webpack_require__(74859); 1172 1173var aFunction = function (argument) { 1174 return isCallable(argument) ? argument : undefined; 1175}; 1176 1177module.exports = function (namespace, method) { 1178 return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method]; 1179}; 1180 1181 1182/***/ }), 1183 1184/***/ 82412: 1185/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1186 1187 1188var classof = __webpack_require__(27743); 1189var getMethod = __webpack_require__(48702); 1190var isNullOrUndefined = __webpack_require__(5032); 1191var Iterators = __webpack_require__(64233); 1192var wellKnownSymbol = __webpack_require__(76433); 1193 1194var ITERATOR = wellKnownSymbol('iterator'); 1195 1196module.exports = function (it) { 1197 if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) 1198 || getMethod(it, '@@iterator') 1199 || Iterators[classof(it)]; 1200}; 1201 1202 1203/***/ }), 1204 1205/***/ 31365: 1206/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1207 1208 1209var call = __webpack_require__(78132); 1210var aCallable = __webpack_require__(55476); 1211var anObject = __webpack_require__(17425); 1212var tryToString = __webpack_require__(32385); 1213var getIteratorMethod = __webpack_require__(82412); 1214 1215var $TypeError = TypeError; 1216 1217module.exports = function (argument, usingIterator) { 1218 var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; 1219 if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); 1220 throw new $TypeError(tryToString(argument) + ' is not iterable'); 1221}; 1222 1223 1224/***/ }), 1225 1226/***/ 48702: 1227/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1228 1229 1230var aCallable = __webpack_require__(55476); 1231var isNullOrUndefined = __webpack_require__(5032); 1232 1233// `GetMethod` abstract operation 1234// https://tc39.es/ecma262/#sec-getmethod 1235module.exports = function (V, P) { 1236 var func = V[P]; 1237 return isNullOrUndefined(func) ? undefined : aCallable(func); 1238}; 1239 1240 1241/***/ }), 1242 1243/***/ 74200: 1244/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1245 1246 1247var check = function (it) { 1248 return it && it.Math === Math && it; 1249}; 1250 1251// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 1252module.exports = 1253 // eslint-disable-next-line es/no-global-this -- safe 1254 check(typeof globalThis == 'object' && globalThis) || 1255 check(typeof window == 'object' && window) || 1256 // eslint-disable-next-line no-restricted-globals -- safe 1257 check(typeof self == 'object' && self) || 1258 check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) || 1259 check(typeof this == 'object' && this) || 1260 // eslint-disable-next-line no-new-func -- fallback 1261 (function () { return this; })() || Function('return this')(); 1262 1263 1264/***/ }), 1265 1266/***/ 27492: 1267/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1268 1269 1270var uncurryThis = __webpack_require__(24354); 1271var toObject = __webpack_require__(24375); 1272 1273var hasOwnProperty = uncurryThis({}.hasOwnProperty); 1274 1275// `HasOwnProperty` abstract operation 1276// https://tc39.es/ecma262/#sec-hasownproperty 1277// eslint-disable-next-line es/no-object-hasown -- safe 1278module.exports = Object.hasOwn || function hasOwn(it, key) { 1279 return hasOwnProperty(toObject(it), key); 1280}; 1281 1282 1283/***/ }), 1284 1285/***/ 23307: 1286/***/ (function(module) { 1287 1288 1289module.exports = {}; 1290 1291 1292/***/ }), 1293 1294/***/ 35789: 1295/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1296 1297 1298var getBuiltIn = __webpack_require__(79878); 1299 1300module.exports = getBuiltIn('document', 'documentElement'); 1301 1302 1303/***/ }), 1304 1305/***/ 11548: 1306/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1307 1308 1309var DESCRIPTORS = __webpack_require__(92671); 1310var fails = __webpack_require__(35909); 1311var createElement = __webpack_require__(41262); 1312 1313// Thanks to IE8 for its funny defineProperty 1314module.exports = !DESCRIPTORS && !fails(function () { 1315 // eslint-disable-next-line es/no-object-defineproperty -- required for testing 1316 return Object.defineProperty(createElement('div'), 'a', { 1317 get: function () { return 7; } 1318 }).a !== 7; 1319}); 1320 1321 1322/***/ }), 1323 1324/***/ 90397: 1325/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1326 1327 1328var uncurryThis = __webpack_require__(24354); 1329var fails = __webpack_require__(35909); 1330var classof = __webpack_require__(34470); 1331 1332var $Object = Object; 1333var split = uncurryThis(''.split); 1334 1335// fallback for non-array-like ES3 and non-enumerable old V8 strings 1336module.exports = fails(function () { 1337 // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 1338 // eslint-disable-next-line no-prototype-builtins -- safe 1339 return !$Object('z').propertyIsEnumerable(0); 1340}) ? function (it) { 1341 return classof(it) === 'String' ? split(it, '') : $Object(it); 1342} : $Object; 1343 1344 1345/***/ }), 1346 1347/***/ 65815: 1348/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1349 1350 1351var uncurryThis = __webpack_require__(24354); 1352var isCallable = __webpack_require__(74859); 1353var store = __webpack_require__(99097); 1354 1355var functionToString = uncurryThis(Function.toString); 1356 1357// this helper broken in `[email protected]`, so we can't use `shared` helper 1358if (!isCallable(store.inspectSource)) { 1359 store.inspectSource = function (it) { 1360 return functionToString(it); 1361 }; 1362} 1363 1364module.exports = store.inspectSource; 1365 1366 1367/***/ }), 1368 1369/***/ 26712: 1370/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1371 1372 1373var NATIVE_WEAK_MAP = __webpack_require__(75363); 1374var globalThis = __webpack_require__(74200); 1375var isObject = __webpack_require__(66876); 1376var createNonEnumerableProperty = __webpack_require__(19757); 1377var hasOwn = __webpack_require__(27492); 1378var shared = __webpack_require__(99097); 1379var sharedKey = __webpack_require__(12264); 1380var hiddenKeys = __webpack_require__(23307); 1381 1382var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; 1383var TypeError = globalThis.TypeError; 1384var WeakMap = globalThis.WeakMap; 1385var set, get, has; 1386 1387var enforce = function (it) { 1388 return has(it) ? get(it) : set(it, {}); 1389}; 1390 1391var getterFor = function (TYPE) { 1392 return function (it) { 1393 var state; 1394 if (!isObject(it) || (state = get(it)).type !== TYPE) { 1395 throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); 1396 } return state; 1397 }; 1398}; 1399 1400if (NATIVE_WEAK_MAP || shared.state) { 1401 var store = shared.state || (shared.state = new WeakMap()); 1402 /* eslint-disable no-self-assign -- prototype methods protection */ 1403 store.get = store.get; 1404 store.has = store.has; 1405 store.set = store.set; 1406 /* eslint-enable no-self-assign -- prototype methods protection */ 1407 set = function (it, metadata) { 1408 if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); 1409 metadata.facade = it; 1410 store.set(it, metadata); 1411 return metadata; 1412 }; 1413 get = function (it) { 1414 return store.get(it) || {}; 1415 }; 1416 has = function (it) { 1417 return store.has(it); 1418 }; 1419} else { 1420 var STATE = sharedKey('state'); 1421 hiddenKeys[STATE] = true; 1422 set = function (it, metadata) { 1423 if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); 1424 metadata.facade = it; 1425 createNonEnumerableProperty(it, STATE, metadata); 1426 return metadata; 1427 }; 1428 get = function (it) { 1429 return hasOwn(it, STATE) ? it[STATE] : {}; 1430 }; 1431 has = function (it) { 1432 return hasOwn(it, STATE); 1433 }; 1434} 1435 1436module.exports = { 1437 set: set, 1438 get: get, 1439 has: has, 1440 enforce: enforce, 1441 getterFor: getterFor 1442}; 1443 1444 1445/***/ }), 1446 1447/***/ 98912: 1448/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1449 1450 1451var wellKnownSymbol = __webpack_require__(76433); 1452var Iterators = __webpack_require__(64233); 1453 1454var ITERATOR = wellKnownSymbol('iterator'); 1455var ArrayPrototype = Array.prototype; 1456 1457// check on default Array iterator 1458module.exports = function (it) { 1459 return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); 1460}; 1461 1462 1463/***/ }), 1464 1465/***/ 53687: 1466/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1467 1468 1469var classof = __webpack_require__(34470); 1470 1471// `IsArray` abstract operation 1472// https://tc39.es/ecma262/#sec-isarray 1473// eslint-disable-next-line es/no-array-isarray -- safe 1474module.exports = Array.isArray || function isArray(argument) { 1475 return classof(argument) === 'Array'; 1476}; 1477 1478 1479/***/ }), 1480 1481/***/ 74859: 1482/***/ (function(module) { 1483 1484 1485// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot 1486var documentAll = typeof document == 'object' && document.all; 1487 1488// `IsCallable` abstract operation 1489// https://tc39.es/ecma262/#sec-iscallable 1490// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing 1491module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { 1492 return typeof argument == 'function' || argument === documentAll; 1493} : function (argument) { 1494 return typeof argument == 'function'; 1495}; 1496 1497 1498/***/ }), 1499 1500/***/ 22239: 1501/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1502 1503 1504var uncurryThis = __webpack_require__(24354); 1505var fails = __webpack_require__(35909); 1506var isCallable = __webpack_require__(74859); 1507var classof = __webpack_require__(27743); 1508var getBuiltIn = __webpack_require__(79878); 1509var inspectSource = __webpack_require__(65815); 1510 1511var noop = function () { /* empty */ }; 1512var construct = getBuiltIn('Reflect', 'construct'); 1513var constructorRegExp = /^\s*(?:class|function)\b/; 1514var exec = uncurryThis(constructorRegExp.exec); 1515var INCORRECT_TO_STRING = !constructorRegExp.test(noop); 1516 1517var isConstructorModern = function isConstructor(argument) { 1518 if (!isCallable(argument)) return false; 1519 try { 1520 construct(noop, [], argument); 1521 return true; 1522 } catch (error) { 1523 return false; 1524 } 1525}; 1526 1527var isConstructorLegacy = function isConstructor(argument) { 1528 if (!isCallable(argument)) return false; 1529 switch (classof(argument)) { 1530 case 'AsyncFunction': 1531 case 'GeneratorFunction': 1532 case 'AsyncGeneratorFunction': return false; 1533 } 1534 try { 1535 // we can't check .prototype since constructors produced by .bind haven't it 1536 // `Function#toString` throws on some built-it function in some legacy engines 1537 // (for example, `DOMQuad` and similar in FF41-) 1538 return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); 1539 } catch (error) { 1540 return true; 1541 } 1542}; 1543 1544isConstructorLegacy.sham = true; 1545 1546// `IsConstructor` abstract operation 1547// https://tc39.es/ecma262/#sec-isconstructor 1548module.exports = !construct || fails(function () { 1549 var called; 1550 return isConstructorModern(isConstructorModern.call) 1551 || !isConstructorModern(Object) 1552 || !isConstructorModern(function () { called = true; }) 1553 || called; 1554}) ? isConstructorLegacy : isConstructorModern; 1555 1556 1557/***/ }), 1558 1559/***/ 48669: 1560/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1561 1562 1563var fails = __webpack_require__(35909); 1564var isCallable = __webpack_require__(74859); 1565 1566var replacement = /#|\.prototype\./; 1567 1568var isForced = function (feature, detection) { 1569 var value = data[normalize(feature)]; 1570 return value === POLYFILL ? true 1571 : value === NATIVE ? false 1572 : isCallable(detection) ? fails(detection) 1573 : !!detection; 1574}; 1575 1576var normalize = isForced.normalize = function (string) { 1577 return String(string).replace(replacement, '.').toLowerCase(); 1578}; 1579 1580var data = isForced.data = {}; 1581var NATIVE = isForced.NATIVE = 'N'; 1582var POLYFILL = isForced.POLYFILL = 'P'; 1583 1584module.exports = isForced; 1585 1586 1587/***/ }), 1588 1589/***/ 5032: 1590/***/ (function(module) { 1591 1592 1593// we can't use just `it == null` since of `document.all` special case 1594// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec 1595module.exports = function (it) { 1596 return it === null || it === undefined; 1597}; 1598 1599 1600/***/ }), 1601 1602/***/ 66876: 1603/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1604 1605 1606var isCallable = __webpack_require__(74859); 1607 1608module.exports = function (it) { 1609 return typeof it == 'object' ? it !== null : isCallable(it); 1610}; 1611 1612 1613/***/ }), 1614 1615/***/ 54182: 1616/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1617 1618 1619var isObject = __webpack_require__(66876); 1620 1621module.exports = function (argument) { 1622 return isObject(argument) || argument === null; 1623}; 1624 1625 1626/***/ }), 1627 1628/***/ 79728: 1629/***/ (function(module) { 1630 1631 1632module.exports = false; 1633 1634 1635/***/ }), 1636 1637/***/ 84737: 1638/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1639 1640 1641var isObject = __webpack_require__(66876); 1642var classof = __webpack_require__(34470); 1643var wellKnownSymbol = __webpack_require__(76433); 1644 1645var MATCH = wellKnownSymbol('match'); 1646 1647// `IsRegExp` abstract operation 1648// https://tc39.es/ecma262/#sec-isregexp 1649module.exports = function (it) { 1650 var isRegExp; 1651 return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp'); 1652}; 1653 1654 1655/***/ }), 1656 1657/***/ 49801: 1658/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1659 1660 1661var getBuiltIn = __webpack_require__(79878); 1662var isCallable = __webpack_require__(74859); 1663var isPrototypeOf = __webpack_require__(56227); 1664var USE_SYMBOL_AS_UID = __webpack_require__(41282); 1665 1666var $Object = Object; 1667 1668module.exports = USE_SYMBOL_AS_UID ? function (it) { 1669 return typeof it == 'symbol'; 1670} : function (it) { 1671 var $Symbol = getBuiltIn('Symbol'); 1672 return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); 1673}; 1674 1675 1676/***/ }), 1677 1678/***/ 87507: 1679/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1680 1681 1682var call = __webpack_require__(78132); 1683var anObject = __webpack_require__(17425); 1684var getMethod = __webpack_require__(48702); 1685 1686module.exports = function (iterator, kind, value) { 1687 var innerResult, innerError; 1688 anObject(iterator); 1689 try { 1690 innerResult = getMethod(iterator, 'return'); 1691 if (!innerResult) { 1692 if (kind === 'throw') throw value; 1693 return value; 1694 } 1695 innerResult = call(innerResult, iterator); 1696 } catch (error) { 1697 innerError = true; 1698 innerResult = error; 1699 } 1700 if (kind === 'throw') throw value; 1701 if (innerError) throw innerResult; 1702 anObject(innerResult); 1703 return value; 1704}; 1705 1706 1707/***/ }), 1708 1709/***/ 77233: 1710/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1711 1712 1713var IteratorPrototype = (__webpack_require__(42221).IteratorPrototype); 1714var create = __webpack_require__(9122); 1715var createPropertyDescriptor = __webpack_require__(57624); 1716var setToStringTag = __webpack_require__(23391); 1717var Iterators = __webpack_require__(64233); 1718 1719var returnThis = function () { return this; }; 1720 1721module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) { 1722 var TO_STRING_TAG = NAME + ' Iterator'; 1723 IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) }); 1724 setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); 1725 Iterators[TO_STRING_TAG] = returnThis; 1726 return IteratorConstructor; 1727}; 1728 1729 1730/***/ }), 1731 1732/***/ 7589: 1733/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1734 1735 1736var $ = __webpack_require__(31069); 1737var call = __webpack_require__(78132); 1738var IS_PURE = __webpack_require__(79728); 1739var FunctionName = __webpack_require__(64570); 1740var isCallable = __webpack_require__(74859); 1741var createIteratorConstructor = __webpack_require__(77233); 1742var getPrototypeOf = __webpack_require__(69195); 1743var setPrototypeOf = __webpack_require__(20066); 1744var setToStringTag = __webpack_require__(23391); 1745var createNonEnumerableProperty = __webpack_require__(19757); 1746var defineBuiltIn = __webpack_require__(12184); 1747var wellKnownSymbol = __webpack_require__(76433); 1748var Iterators = __webpack_require__(64233); 1749var IteratorsCore = __webpack_require__(42221); 1750 1751var PROPER_FUNCTION_NAME = FunctionName.PROPER; 1752var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; 1753var IteratorPrototype = IteratorsCore.IteratorPrototype; 1754var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; 1755var ITERATOR = wellKnownSymbol('iterator'); 1756var KEYS = 'keys'; 1757var VALUES = 'values'; 1758var ENTRIES = 'entries'; 1759 1760var returnThis = function () { return this; }; 1761 1762module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { 1763 createIteratorConstructor(IteratorConstructor, NAME, next); 1764 1765 var getIterationMethod = function (KIND) { 1766 if (KIND === DEFAULT && defaultIterator) return defaultIterator; 1767 if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND]; 1768 1769 switch (KIND) { 1770 case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; 1771 case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; 1772 case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; 1773 } 1774 1775 return function () { return new IteratorConstructor(this); }; 1776 }; 1777 1778 var TO_STRING_TAG = NAME + ' Iterator'; 1779 var INCORRECT_VALUES_NAME = false; 1780 var IterablePrototype = Iterable.prototype; 1781 var nativeIterator = IterablePrototype[ITERATOR] 1782 || IterablePrototype['@@iterator'] 1783 || DEFAULT && IterablePrototype[DEFAULT]; 1784 var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); 1785 var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; 1786 var CurrentIteratorPrototype, methods, KEY; 1787 1788 // fix native 1789 if (anyNativeIterator) { 1790 CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); 1791 if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { 1792 if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { 1793 if (setPrototypeOf) { 1794 setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); 1795 } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) { 1796 defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis); 1797 } 1798 } 1799 // Set @@toStringTag to native iterators 1800 setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); 1801 if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; 1802 } 1803 } 1804 1805 // fix Array.prototype.{ values, @@iterator }.name in V8 / FF 1806 if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) { 1807 if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) { 1808 createNonEnumerableProperty(IterablePrototype, 'name', VALUES); 1809 } else { 1810 INCORRECT_VALUES_NAME = true; 1811 defaultIterator = function values() { return call(nativeIterator, this); }; 1812 } 1813 } 1814 1815 // export additional methods 1816 if (DEFAULT) { 1817 methods = { 1818 values: getIterationMethod(VALUES), 1819 keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), 1820 entries: getIterationMethod(ENTRIES) 1821 }; 1822 if (FORCED) for (KEY in methods) { 1823 if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { 1824 defineBuiltIn(IterablePrototype, KEY, methods[KEY]); 1825 } 1826 } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); 1827 } 1828 1829 // define iterator 1830 if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { 1831 defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT }); 1832 } 1833 Iterators[NAME] = defaultIterator; 1834 1835 return methods; 1836}; 1837 1838 1839/***/ }), 1840 1841/***/ 42221: 1842/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1843 1844 1845var fails = __webpack_require__(35909); 1846var isCallable = __webpack_require__(74859); 1847var isObject = __webpack_require__(66876); 1848var create = __webpack_require__(9122); 1849var getPrototypeOf = __webpack_require__(69195); 1850var defineBuiltIn = __webpack_require__(12184); 1851var wellKnownSymbol = __webpack_require__(76433); 1852var IS_PURE = __webpack_require__(79728); 1853 1854var ITERATOR = wellKnownSymbol('iterator'); 1855var BUGGY_SAFARI_ITERATORS = false; 1856 1857// `%IteratorPrototype%` object 1858// https://tc39.es/ecma262/#sec-%iteratorprototype%-object 1859var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; 1860 1861/* eslint-disable es/no-array-prototype-keys -- safe */ 1862if ([].keys) { 1863 arrayIterator = [].keys(); 1864 // Safari 8 has buggy iterators w/o `next` 1865 if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; 1866 else { 1867 PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); 1868 if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; 1869 } 1870} 1871 1872var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () { 1873 var test = {}; 1874 // FF44- legacy iterators case 1875 return IteratorPrototype[ITERATOR].call(test) !== test; 1876}); 1877 1878if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; 1879else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); 1880 1881// `%IteratorPrototype%[@@iterator]()` method 1882// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator 1883if (!isCallable(IteratorPrototype[ITERATOR])) { 1884 defineBuiltIn(IteratorPrototype, ITERATOR, function () { 1885 return this; 1886 }); 1887} 1888 1889module.exports = { 1890 IteratorPrototype: IteratorPrototype, 1891 BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS 1892}; 1893 1894 1895/***/ }), 1896 1897/***/ 64233: 1898/***/ (function(module) { 1899 1900 1901module.exports = {}; 1902 1903 1904/***/ }), 1905 1906/***/ 99878: 1907/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1908 1909
vendor: 5,501 bytes, lines 1910-2058
1910var toLength = __webpack_require__(42420); 1911 1912// `LengthOfArrayLike` abstract operation 1913// https://tc39.es/ecma262/#sec-lengthofarraylike 1914module.exports = function (obj) { 1915 return toLength(obj.length); 1916}; 1917 1918 1919/***/ }), 1920 1921/***/ 61493: 1922/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1923 1924 1925var uncurryThis = __webpack_require__(24354); 1926var fails = __webpack_require__(35909); 1927var isCallable = __webpack_require__(74859); 1928var hasOwn = __webpack_require__(27492); 1929var DESCRIPTORS = __webpack_require__(92671); 1930var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(64570).CONFIGURABLE); 1931var inspectSource = __webpack_require__(65815); 1932var InternalStateModule = __webpack_require__(26712); 1933 1934var enforceInternalState = InternalStateModule.enforce; 1935var getInternalState = InternalStateModule.get; 1936var $String = String; 1937// eslint-disable-next-line es/no-object-defineproperty -- safe 1938var defineProperty = Object.defineProperty; 1939var stringSlice = uncurryThis(''.slice); 1940var replace = uncurryThis(''.replace); 1941var join = uncurryThis([].join); 1942 1943var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { 1944 return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; 1945}); 1946 1947var TEMPLATE = String(String).split('String'); 1948 1949var makeBuiltIn = module.exports = function (value, name, options) { 1950 if (stringSlice($String(name), 0, 7) === 'Symbol(') { 1951 name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; 1952 } 1953 if (options && options.getter) name = 'get ' + name; 1954 if (options && options.setter) name = 'set ' + name; 1955 if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { 1956 if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); 1957 else value.name = name; 1958 } 1959 if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { 1960 defineProperty(value, 'length', { value: options.arity }); 1961 } 1962 try { 1963 if (options && hasOwn(options, 'constructor') && options.constructor) { 1964 if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); 1965 // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable 1966 } else if (value.prototype) value.prototype = undefined; 1967 } catch (error) { /* empty */ } 1968 var state = enforceInternalState(value); 1969 if (!hasOwn(state, 'source')) { 1970 state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); 1971 } return value; 1972}; 1973 1974// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative 1975// eslint-disable-next-line no-extend-native -- required 1976Function.prototype.toString = makeBuiltIn(function toString() { 1977 return isCallable(this) && getInternalState(this).source || inspectSource(this); 1978}, 'toString'); 1979 1980 1981/***/ }), 1982 1983/***/ 50006: 1984/***/ (function(module) { 1985 1986 1987var ceil = Math.ceil; 1988var floor = Math.floor; 1989 1990// `Math.trunc` method 1991// https://tc39.es/ecma262/#sec-math.trunc 1992// eslint-disable-next-line es/no-math-trunc -- safe 1993module.exports = Math.trunc || function trunc(x) { 1994 var n = +x; 1995 return (n > 0 ? floor : ceil)(n); 1996}; 1997 1998 1999/***/ }), 2000 2001/***/ 18368: 2002/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2003 2004 2005var DESCRIPTORS = __webpack_require__(92671); 2006var uncurryThis = __webpack_require__(24354); 2007var call = __webpack_require__(78132); 2008var fails = __webpack_require__(35909); 2009var objectKeys = __webpack_require__(82657); 2010var getOwnPropertySymbolsModule = __webpack_require__(49194); 2011var propertyIsEnumerableModule = __webpack_require__(16680); 2012var toObject = __webpack_require__(24375); 2013var IndexedObject = __webpack_require__(90397); 2014 2015// eslint-disable-next-line es/no-object-assign -- safe 2016var $assign = Object.assign; 2017// eslint-disable-next-line es/no-object-defineproperty -- required for testing 2018var defineProperty = Object.defineProperty; 2019var concat = uncurryThis([].concat); 2020 2021// `Object.assign` method 2022// https://tc39.es/ecma262/#sec-object.assign 2023module.exports = !$assign || fails(function () { 2024 // should have correct order of operations (Edge bug) 2025 if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', { 2026 enumerable: true, 2027 get: function () { 2028 defineProperty(this, 'b', { 2029 value: 3, 2030 enumerable: false 2031 }); 2032 } 2033 }), { b: 2 })).b !== 1) return true; 2034 // should work with symbols and should have deterministic property order (V8 bug) 2035 var A = {}; 2036 var B = {}; 2037 // eslint-disable-next-line es/no-symbol -- safe 2038 var symbol = Symbol('assign detection'); 2039 var alphabet = 'abcdefghijklmnopqrst'; 2040 A[symbol] = 7; 2041 // eslint-disable-next-line es/no-array-prototype-foreach -- safe 2042 alphabet.split('').forEach(function (chr) { B[chr] = chr; }); 2043 return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet; 2044}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` 2045 var T = toObject(target); 2046 var argumentsLength = arguments.length; 2047 var index = 1; 2048 var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; 2049 var propertyIsEnumerable = propertyIsEnumerableModule.f; 2050 while (argumentsLength > index) { 2051 var S = IndexedObject(arguments[index++]); 2052 var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S); 2053 var length = keys.length; 2054 var j = 0; 2055 var key; 2056 while (length > j) { 2057 key = keys[j++]; 2058 if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[ke
vendor: 9,043 bytes, lines 2058-2333
2058y] = S[key]; 2059 } 2060 } return T; 2061} : $assign; 2062 2063 2064/***/ }), 2065 2066/***/ 9122: 2067/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2068 2069 2070/* global ActiveXObject -- old IE, WSH */ 2071var anObject = __webpack_require__(17425); 2072var definePropertiesModule = __webpack_require__(16224); 2073var enumBugKeys = __webpack_require__(62489); 2074var hiddenKeys = __webpack_require__(23307); 2075var html = __webpack_require__(35789); 2076var documentCreateElement = __webpack_require__(41262); 2077var sharedKey = __webpack_require__(12264); 2078 2079var GT = '>'; 2080var LT = '<'; 2081var PROTOTYPE = 'prototype'; 2082var SCRIPT = 'script'; 2083var IE_PROTO = sharedKey('IE_PROTO'); 2084 2085var EmptyConstructor = function () { /* empty */ }; 2086 2087var scriptTag = function (content) { 2088 return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; 2089}; 2090 2091// Create object with fake `null` prototype: use ActiveX Object with cleared prototype 2092var NullProtoObjectViaActiveX = function (activeXDocument) { 2093 activeXDocument.write(scriptTag('')); 2094 activeXDocument.close(); 2095 var temp = activeXDocument.parentWindow.Object; 2096 // eslint-disable-next-line no-useless-assignment -- avoid memory leak 2097 activeXDocument = null; 2098 return temp; 2099}; 2100 2101// Create object with fake `null` prototype: use iframe Object with cleared prototype 2102var NullProtoObjectViaIFrame = function () { 2103 // Thrash, waste and sodomy: IE GC bug 2104 var iframe = documentCreateElement('iframe'); 2105 var JS = 'java' + SCRIPT + ':'; 2106 var iframeDocument; 2107 iframe.style.display = 'none'; 2108 html.appendChild(iframe); 2109 // https://github.com/zloirock/core-js/issues/475 2110 iframe.src = String(JS); 2111 iframeDocument = iframe.contentWindow.document; 2112 iframeDocument.open(); 2113 iframeDocument.write(scriptTag('document.F=Object')); 2114 iframeDocument.close(); 2115 return iframeDocument.F; 2116}; 2117 2118// Check for document.domain and active x support 2119// No need to use active x approach when document.domain is not set 2120// see https://github.com/es-shims/es5-shim/issues/150 2121// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 2122// avoid IE GC bug 2123var activeXDocument; 2124var NullProtoObject = function () { 2125 try { 2126 activeXDocument = new ActiveXObject('htmlfile'); 2127 } catch (error) { /* ignore */ } 2128 NullProtoObject = typeof document != 'undefined' 2129 ? document.domain && activeXDocument 2130 ? NullProtoObjectViaActiveX(activeXDocument) // old IE 2131 : NullProtoObjectViaIFrame() 2132 : NullProtoObjectViaActiveX(activeXDocument); // WSH 2133 var length = enumBugKeys.length; 2134 while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; 2135 return NullProtoObject(); 2136}; 2137 2138hiddenKeys[IE_PROTO] = true; 2139 2140// `Object.create` method 2141// https://tc39.es/ecma262/#sec-object.create 2142// eslint-disable-next-line es/no-object-create -- safe 2143module.exports = Object.create || function create(O, Properties) { 2144 var result; 2145 if (O !== null) { 2146 EmptyConstructor[PROTOTYPE] = anObject(O); 2147 result = new EmptyConstructor(); 2148 EmptyConstructor[PROTOTYPE] = null; 2149 // add "__proto__" for Object.getPrototypeOf polyfill 2150 result[IE_PROTO] = O; 2151 } else result = NullProtoObject(); 2152 return Properties === undefined ? result : definePropertiesModule.f(result, Properties); 2153}; 2154 2155 2156/***/ }), 2157 2158/***/ 16224: 2159/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2160 2161 2162var DESCRIPTORS = __webpack_require__(92671); 2163var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(5479); 2164var definePropertyModule = __webpack_require__(29196); 2165var anObject = __webpack_require__(17425); 2166var toIndexedObject = __webpack_require__(85341); 2167var objectKeys = __webpack_require__(82657); 2168 2169// `Object.defineProperties` method 2170// https://tc39.es/ecma262/#sec-object.defineproperties 2171// eslint-disable-next-line es/no-object-defineproperties -- safe 2172exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { 2173 anObject(O); 2174 var props = toIndexedObject(Properties); 2175 var keys = objectKeys(Properties); 2176 var length = keys.length; 2177 var index = 0; 2178 var key; 2179 while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); 2180 return O; 2181}; 2182 2183 2184/***/ }), 2185 2186/***/ 29196: 2187/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2188 2189 2190var DESCRIPTORS = __webpack_require__(92671); 2191var IE8_DOM_DEFINE = __webpack_require__(11548); 2192var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(5479); 2193var anObject = __webpack_require__(17425); 2194var toPropertyKey = __webpack_require__(41264); 2195 2196var $TypeError = TypeError; 2197// eslint-disable-next-line es/no-object-defineproperty -- safe 2198var $defineProperty = Object.defineProperty; 2199// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 2200var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 2201var ENUMERABLE = 'enumerable'; 2202var CONFIGURABLE = 'configurable'; 2203var WRITABLE = 'writable'; 2204 2205// `Object.defineProperty` method 2206// https://tc39.es/ecma262/#sec-object.defineproperty 2207exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { 2208 anObject(O); 2209 P = toPropertyKey(P); 2210 anObject(Attributes); 2211 if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { 2212 var current = $getOwnPropertyDescriptor(O, P); 2213 if (current && current[WRITABLE]) { 2214 O[P] = Attributes.value; 2215 Attributes = { 2216 configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], 2217 enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], 2218 writable: false 2219 }; 2220 } 2221 } return $defineProperty(O, P, Attributes); 2222} : $defineProperty : function defineProperty(O, P, Attributes) { 2223 anObject(O); 2224 P = toPropertyKey(P); 2225 anObject(Attributes); 2226 if (IE8_DOM_DEFINE) try { 2227 return $defineProperty(O, P, Attributes); 2228 } catch (error) { /* empty */ } 2229 if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); 2230 if ('value' in Attributes) O[P] = Attributes.value; 2231 return O; 2232}; 2233 2234 2235/***/ }), 2236 2237/***/ 66690: 2238/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2239 2240 2241var DESCRIPTORS = __webpack_require__(92671); 2242var call = __webpack_require__(78132); 2243var propertyIsEnumerableModule = __webpack_require__(16680); 2244var createPropertyDescriptor = __webpack_require__(57624); 2245var toIndexedObject = __webpack_require__(85341); 2246var toPropertyKey = __webpack_require__(41264); 2247var hasOwn = __webpack_require__(27492); 2248var IE8_DOM_DEFINE = __webpack_require__(11548); 2249 2250// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 2251var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 2252 2253// `Object.getOwnPropertyDescriptor` method 2254// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor 2255exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { 2256 O = toIndexedObject(O); 2257 P = toPropertyKey(P); 2258 if (IE8_DOM_DEFINE) try { 2259 return $getOwnPropertyDescriptor(O, P); 2260 } catch (error) { /* empty */ } 2261 if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); 2262}; 2263 2264 2265/***/ }), 2266 2267/***/ 73531: 2268/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 2269 2270 2271var internalObjectKeys = __webpack_require__(21058); 2272var enumBugKeys = __webpack_require__(62489); 2273 2274var hiddenKeys = enumBugKeys.concat('length', 'prototype'); 2275 2276// `Object.getOwnPropertyNames` method 2277// https://tc39.es/ecma262/#sec-object.getownpropertynames 2278// eslint-disable-next-line es/no-object-getownpropertynames -- safe 2279exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { 2280 return internalObjectKeys(O, hiddenKeys); 2281}; 2282 2283 2284/***/ }), 2285 2286/***/ 49194: 2287/***/ (function(__unused_webpack_module, exports) { 2288 2289 2290// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe 2291exports.f = Object.getOwnPropertySymbols; 2292 2293 2294/***/ }), 2295 2296/***/ 69195: 2297/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2298 2299 2300var hasOwn = __webpack_require__(27492); 2301var isCallable = __webpack_require__(74859); 2302var toObject = __webpack_require__(24375); 2303var sharedKey = __webpack_require__(12264); 2304var CORRECT_PROTOTYPE_GETTER = __webpack_require__(3872); 2305 2306var IE_PROTO = sharedKey('IE_PROTO'); 2307var $Object = Object; 2308var ObjectPrototype = $Object.prototype; 2309 2310// `Object.getPrototypeOf` method 2311// https://tc39.es/ecma262/#sec-object.getprototypeof 2312// eslint-disable-next-line es/no-object-getprototypeof -- safe 2313module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { 2314 var object = toObject(O); 2315 if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; 2316 var constructor = object.constructor; 2317 if (isCallable(constructor) && object instanceof constructor) { 2318 return constructor.prototype; 2319 } return object instanceof $Object ? ObjectPrototype : null; 2320}; 2321 2322 2323/***/ }), 2324 2325/***/ 56227: 2326/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2327 2328 2329var uncurryThis = __webpack_require__(24354); 2330 2331module.exports = uncurryThis({}.isPrototypeOf); 2332 2333
vendor: 4,148 bytes, lines 2334-2470
2334/***/ }), 2335 2336/***/ 21058: 2337/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2338 2339 2340var uncurryThis = __webpack_require__(24354); 2341var hasOwn = __webpack_require__(27492); 2342var toIndexedObject = __webpack_require__(85341); 2343var indexOf = (__webpack_require__(74454).indexOf); 2344var hiddenKeys = __webpack_require__(23307); 2345 2346var push = uncurryThis([].push); 2347 2348module.exports = function (object, names) { 2349 var O = toIndexedObject(object); 2350 var i = 0; 2351 var result = []; 2352 var key; 2353 for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); 2354 // Don't enum bug & hidden keys 2355 while (names.length > i) if (hasOwn(O, key = names[i++])) { 2356 ~indexOf(result, key) || push(result, key); 2357 } 2358 return result; 2359}; 2360 2361 2362/***/ }), 2363 2364/***/ 82657: 2365/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2366 2367 2368var internalObjectKeys = __webpack_require__(21058); 2369var enumBugKeys = __webpack_require__(62489); 2370 2371// `Object.keys` method 2372// https://tc39.es/ecma262/#sec-object.keys 2373// eslint-disable-next-line es/no-object-keys -- safe 2374module.exports = Object.keys || function keys(O) { 2375 return internalObjectKeys(O, enumBugKeys); 2376}; 2377 2378 2379/***/ }), 2380 2381/***/ 16680: 2382/***/ (function(__unused_webpack_module, exports) { 2383 2384 2385var $propertyIsEnumerable = {}.propertyIsEnumerable; 2386// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 2387var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 2388 2389// Nashorn ~ JDK8 bug 2390var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); 2391 2392// `Object.prototype.propertyIsEnumerable` method implementation 2393// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable 2394exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { 2395 var descriptor = getOwnPropertyDescriptor(this, V); 2396 return !!descriptor && descriptor.enumerable; 2397} : $propertyIsEnumerable; 2398 2399 2400/***/ }), 2401 2402/***/ 20066: 2403/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2404 2405 2406/* eslint-disable no-proto -- safe */ 2407var uncurryThisAccessor = __webpack_require__(45594); 2408var isObject = __webpack_require__(66876); 2409var requireObjectCoercible = __webpack_require__(43282); 2410var aPossiblePrototype = __webpack_require__(62268); 2411 2412// `Object.setPrototypeOf` method 2413// https://tc39.es/ecma262/#sec-object.setprototypeof 2414// Works with __proto__ only. Old v8 can't work with null proto objects. 2415// eslint-disable-next-line es/no-object-setprototypeof -- safe 2416module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { 2417 var CORRECT_SETTER = false; 2418 var test = {}; 2419 var setter; 2420 try { 2421 setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); 2422 setter(test, []); 2423 CORRECT_SETTER = test instanceof Array; 2424 } catch (error) { /* empty */ } 2425 return function setPrototypeOf(O, proto) { 2426 requireObjectCoercible(O); 2427 aPossiblePrototype(proto); 2428 if (!isObject(O)) return O; 2429 if (CORRECT_SETTER) setter(O, proto); 2430 else O.__proto__ = proto; 2431 return O; 2432 }; 2433}() : undefined); 2434 2435 2436/***/ }), 2437 2438/***/ 12176: 2439/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2440 2441 2442var call = __webpack_require__(78132); 2443var isCallable = __webpack_require__(74859); 2444var isObject = __webpack_require__(66876); 2445 2446var $TypeError = TypeError; 2447 2448// `OrdinaryToPrimitive` abstract operation 2449// https://tc39.es/ecma262/#sec-ordinarytoprimitive 2450module.exports = function (input, pref) { 2451 var fn, val; 2452 if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; 2453 if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; 2454 if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; 2455 throw new $TypeError("Can't convert object to primitive value"); 2456}; 2457 2458 2459/***/ }), 2460 2461/***/ 3052: 2462/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2463 2464 2465var getBuiltIn = __webpack_require__(79878); 2466var uncurryThis = __webpack_require__(24354); 2467var getOwnPropertyNamesModule = __webpack_require__(73531); 2468var getOwnPropertySymbolsModule = __webpack_require__(49194); 2469var anObject = __webpack_require__(17425); 2470
vendor: 20,828 bytes, lines 2471-3196
2471var concat = uncurryThis([].concat); 2472 2473// all object keys, includes non-enumerable and symbols 2474module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { 2475 var keys = getOwnPropertyNamesModule.f(anObject(it)); 2476 var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; 2477 return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; 2478}; 2479 2480 2481/***/ }), 2482 2483/***/ 37752: 2484/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2485 2486 2487var call = __webpack_require__(78132); 2488var anObject = __webpack_require__(17425); 2489var isCallable = __webpack_require__(74859); 2490var classof = __webpack_require__(34470); 2491var regexpExec = __webpack_require__(25734); 2492 2493var $TypeError = TypeError; 2494 2495// `RegExpExec` abstract operation 2496// https://tc39.es/ecma262/#sec-regexpexec 2497module.exports = function (R, S) { 2498 var exec = R.exec; 2499 if (isCallable(exec)) { 2500 var result = call(exec, R, S); 2501 if (result !== null) anObject(result); 2502 return result; 2503 } 2504 if (classof(R) === 'RegExp') return call(regexpExec, R, S); 2505 throw new $TypeError('RegExp#exec called on incompatible receiver'); 2506}; 2507 2508 2509/***/ }), 2510 2511/***/ 25734: 2512/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2513 2514 2515/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ 2516/* eslint-disable regexp/no-useless-quantifier -- testing */ 2517var call = __webpack_require__(78132); 2518var uncurryThis = __webpack_require__(24354); 2519var toString = __webpack_require__(19531); 2520var regexpFlags = __webpack_require__(79803); 2521var stickyHelpers = __webpack_require__(68580); 2522var shared = __webpack_require__(56978); 2523var create = __webpack_require__(9122); 2524var getInternalState = (__webpack_require__(26712).get); 2525var UNSUPPORTED_DOT_ALL = __webpack_require__(11213); 2526var UNSUPPORTED_NCG = __webpack_require__(47898); 2527 2528var nativeReplace = shared('native-string-replace', String.prototype.replace); 2529var nativeExec = RegExp.prototype.exec; 2530var patchedExec = nativeExec; 2531var charAt = uncurryThis(''.charAt); 2532var indexOf = uncurryThis(''.indexOf); 2533var replace = uncurryThis(''.replace); 2534var stringSlice = uncurryThis(''.slice); 2535 2536var UPDATES_LAST_INDEX_WRONG = (function () { 2537 var re1 = /a/; 2538 var re2 = /b*/g; 2539 call(nativeExec, re1, 'a'); 2540 call(nativeExec, re2, 'a'); 2541 return re1.lastIndex !== 0 || re2.lastIndex !== 0; 2542})(); 2543 2544var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET; 2545 2546// nonparticipating capturing group, copied from es5-shim's String#split patch. 2547var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; 2548 2549var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; 2550 2551var setGroups = function (re, groups) { 2552 var object = re.groups = create(null); 2553 for (var i = 0; i < groups.length; i++) { 2554 var group = groups[i]; 2555 object[group[0]] = re[group[1]]; 2556 } 2557}; 2558 2559if (PATCH) { 2560 patchedExec = function exec(string) { 2561 var re = this; 2562 var state = getInternalState(re); 2563 var str = toString(string); 2564 var raw = state.raw; 2565 var result, reCopy, lastIndex; 2566 2567 if (raw) { 2568 raw.lastIndex = re.lastIndex; 2569 result = call(patchedExec, raw, str); 2570 re.lastIndex = raw.lastIndex; 2571 2572 if (result && state.groups) setGroups(result, state.groups); 2573 2574 return result; 2575 } 2576 2577 var groups = state.groups; 2578 var sticky = UNSUPPORTED_Y && re.sticky; 2579 var flags = call(regexpFlags, re); 2580 var source = re.source; 2581 var charsAdded = 0; 2582 var strCopy = str; 2583 2584 if (sticky) { 2585 flags = replace(flags, 'y', ''); 2586 if (indexOf(flags, 'g') === -1) { 2587 flags += 'g'; 2588 } 2589 2590 strCopy = stringSlice(str, re.lastIndex); 2591 // Support anchored sticky behavior. 2592 var prevChar = re.lastIndex > 0 && charAt(str, re.lastIndex - 1); 2593 if (re.lastIndex > 0 && 2594 (!re.multiline || re.multiline && prevChar !== '\n' && prevChar !== '\r' && prevChar !== '\u2028' && prevChar !== '\u2029')) { 2595 source = '(?: (?:' + source + '))'; 2596 strCopy = ' ' + strCopy; 2597 charsAdded++; 2598 } 2599 // ^(? + rx + ) is needed, in combination with some str slicing, to 2600 // simulate the 'y' flag. 2601 reCopy = new RegExp('^(?:' + source + ')', flags); 2602 } 2603 2604 if (NPCG_INCLUDED) { 2605 reCopy = new RegExp('^' + source + '$(?!\\s)', flags); 2606 } 2607 if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; 2608 2609 var match = call(nativeExec, sticky ? reCopy : re, strCopy); 2610 2611 if (sticky) { 2612 if (match) { 2613 match.input = str; 2614 match[0] = stringSlice(match[0], charsAdded); 2615 match.index = re.lastIndex; 2616 re.lastIndex += match[0].length; 2617 } else re.lastIndex = 0; 2618 } else if (UPDATES_LAST_INDEX_WRONG && match) { 2619 re.lastIndex = re.global ? match.index + match[0].length : lastIndex; 2620 } 2621 if (NPCG_INCLUDED && match && match.length > 1) { 2622 // Fix browsers whose `exec` methods don't consistently return `undefined` 2623 // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/ 2624 call(nativeReplace, match[0], reCopy, function () { 2625 for (var i = 1; i < arguments.length - 2; i++) { 2626 if (arguments[i] === undefined) match[i] = undefined; 2627 } 2628 }); 2629 } 2630 2631 if (match && groups) setGroups(match, groups); 2632 2633 return match; 2634 }; 2635} 2636 2637module.exports = patchedExec; 2638 2639 2640/***/ }), 2641 2642/***/ 4678: 2643/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2644 2645 2646var globalThis = __webpack_require__(74200); 2647var fails = __webpack_require__(35909); 2648 2649// babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError 2650var RegExp = globalThis.RegExp; 2651 2652var FLAGS_GETTER_IS_CORRECT = !fails(function () { 2653 var INDICES_SUPPORT = true; 2654 try { 2655 RegExp('.', 'd'); 2656 } catch (error) { 2657 INDICES_SUPPORT = false; 2658 } 2659 2660 var O = {}; 2661 // modern V8 bug 2662 var calls = ''; 2663 var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy'; 2664 2665 var addGetter = function (key, chr) { 2666 // eslint-disable-next-line es/no-object-defineproperty -- safe 2667 Object.defineProperty(O, key, { get: function () { 2668 calls += chr; 2669 return true; 2670 } }); 2671 }; 2672 2673 var pairs = { 2674 dotAll: 's', 2675 global: 'g', 2676 ignoreCase: 'i', 2677 multiline: 'm', 2678 sticky: 'y' 2679 }; 2680 2681 if (INDICES_SUPPORT) pairs.hasIndices = 'd'; 2682 2683 for (var key in pairs) addGetter(key, pairs[key]); 2684 2685 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 2686 var result = Object.getOwnPropertyDescriptor(RegExp.prototype, 'flags').get.call(O); 2687 2688 return result !== expected || calls !== expected; 2689}); 2690 2691module.exports = { correct: FLAGS_GETTER_IS_CORRECT }; 2692 2693 2694/***/ }), 2695 2696/***/ 79803: 2697/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2698 2699 2700var anObject = __webpack_require__(17425); 2701 2702// `RegExp.prototype.flags` getter implementation 2703// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags 2704module.exports = function () { 2705 var that = anObject(this); 2706 var result = ''; 2707 if (that.hasIndices) result += 'd'; 2708 if (that.global) result += 'g'; 2709 if (that.ignoreCase) result += 'i'; 2710 if (that.multiline) result += 'm'; 2711 if (that.dotAll) result += 's'; 2712 if (that.unicode) result += 'u'; 2713 if (that.unicodeSets) result += 'v'; 2714 if (that.sticky) result += 'y'; 2715 return result; 2716}; 2717 2718 2719/***/ }), 2720 2721/***/ 16843: 2722/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2723 2724 2725var call = __webpack_require__(78132); 2726var hasOwn = __webpack_require__(27492); 2727var isPrototypeOf = __webpack_require__(56227); 2728var regExpFlagsDetection = __webpack_require__(4678); 2729var regExpFlagsGetterImplementation = __webpack_require__(79803); 2730 2731var RegExpPrototype = RegExp.prototype; 2732 2733module.exports = regExpFlagsDetection.correct ? function (it) { 2734 return it.flags; 2735} : function (it) { 2736 return (!regExpFlagsDetection.correct && isPrototypeOf(RegExpPrototype, it) && !hasOwn(it, 'flags')) 2737 ? call(regExpFlagsGetterImplementation, it) 2738 : it.flags; 2739}; 2740 2741 2742/***/ }), 2743 2744/***/ 68580: 2745/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2746 2747 2748var fails = __webpack_require__(35909); 2749var globalThis = __webpack_require__(74200); 2750 2751// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError 2752var $RegExp = globalThis.RegExp; 2753 2754var UNSUPPORTED_Y = fails(function () { 2755 var re = $RegExp('a', 'y'); 2756 re.lastIndex = 2; 2757 return re.exec('abcd') !== null; 2758}); 2759 2760// UC Browser bug 2761// https://github.com/zloirock/core-js/issues/1008 2762var MISSED_STICKY = UNSUPPORTED_Y || fails(function () { 2763 return !$RegExp('a', 'y').sticky; 2764}); 2765 2766var BROKEN_CARET = UNSUPPORTED_Y || fails(function () { 2767 // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 2768 var re = $RegExp('^r', 'gy'); 2769 re.lastIndex = 2; 2770 return re.exec('str') !== null; 2771}); 2772 2773module.exports = { 2774 BROKEN_CARET: BROKEN_CARET, 2775 MISSED_STICKY: MISSED_STICKY, 2776 UNSUPPORTED_Y: UNSUPPORTED_Y 2777}; 2778 2779 2780/***/ }), 2781 2782/***/ 11213: 2783/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2784 2785 2786var fails = __webpack_require__(35909); 2787var globalThis = __webpack_require__(74200); 2788 2789// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError 2790var $RegExp = globalThis.RegExp; 2791 2792module.exports = fails(function () { 2793 var re = $RegExp('.', 's'); 2794 return !(re.dotAll && re.test('\n') && re.flags === 's'); 2795}); 2796 2797 2798/***/ }), 2799 2800/***/ 47898: 2801/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2802 2803 2804var fails = __webpack_require__(35909); 2805var globalThis = __webpack_require__(74200); 2806 2807// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError 2808var $RegExp = globalThis.RegExp; 2809 2810module.exports = fails(function () { 2811 var re = $RegExp('(?<a>b)', 'g'); 2812 return re.exec('b').groups.a !== 'b' || 2813 'b'.replace(re, '$<a>c') !== 'bc'; 2814}); 2815 2816 2817/***/ }), 2818 2819/***/ 43282: 2820/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2821 2822 2823var isNullOrUndefined = __webpack_require__(5032); 2824 2825var $TypeError = TypeError; 2826 2827// `RequireObjectCoercible` abstract operation 2828// https://tc39.es/ecma262/#sec-requireobjectcoercible 2829module.exports = function (it) { 2830 if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); 2831 return it; 2832}; 2833 2834 2835/***/ }), 2836 2837/***/ 86735: 2838/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2839 2840 2841var globalThis = __webpack_require__(74200); 2842var DESCRIPTORS = __webpack_require__(92671); 2843 2844// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 2845var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 2846 2847// Avoid NodeJS experimental warning 2848module.exports = function (name) { 2849 if (!DESCRIPTORS) return globalThis[name]; 2850 var descriptor = getOwnPropertyDescriptor(globalThis, name); 2851 return descriptor && descriptor.value; 2852}; 2853 2854 2855/***/ }), 2856 2857/***/ 23391: 2858/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2859 2860 2861var defineProperty = (__webpack_require__(29196).f); 2862var hasOwn = __webpack_require__(27492); 2863var wellKnownSymbol = __webpack_require__(76433); 2864 2865var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 2866 2867module.exports = function (target, TAG, STATIC) { 2868 if (target && !STATIC) target = target.prototype; 2869 if (target && !hasOwn(target, TO_STRING_TAG)) { 2870 defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG }); 2871 } 2872}; 2873 2874 2875/***/ }), 2876 2877/***/ 12264: 2878/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2879 2880 2881var shared = __webpack_require__(56978); 2882var uid = __webpack_require__(18165); 2883 2884var keys = shared('keys'); 2885 2886module.exports = function (key) { 2887 return keys[key] || (keys[key] = uid(key)); 2888}; 2889 2890 2891/***/ }), 2892 2893/***/ 99097: 2894/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2895 2896 2897var IS_PURE = __webpack_require__(79728); 2898var globalThis = __webpack_require__(74200); 2899var defineGlobalProperty = __webpack_require__(2764); 2900 2901var SHARED = '__core-js_shared__'; 2902var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); 2903 2904(store.versions || (store.versions = [])).push({ 2905 version: '3.49.0', 2906 mode: IS_PURE ? 'pure' : 'global', 2907 copyright: '© 2013â2025 Denis Pushkarev (zloirock.ru), 2025â2026 CoreJS Company (core-js.io). All rights reserved.', 2908 license: 'https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE', 2909 source: 'https://github.com/zloirock/core-js' 2910}); 2911 2912 2913/***/ }), 2914 2915/***/ 56978: 2916/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2917 2918 2919var store = __webpack_require__(99097); 2920 2921module.exports = function (key, value) { 2922 return store[key] || (store[key] = value || {}); 2923}; 2924 2925 2926/***/ }), 2927 2928/***/ 44369: 2929/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2930 2931 2932var anObject = __webpack_require__(17425); 2933var aConstructor = __webpack_require__(72962); 2934var isNullOrUndefined = __webpack_require__(5032); 2935var wellKnownSymbol = __webpack_require__(76433); 2936 2937var SPECIES = wellKnownSymbol('species'); 2938 2939// `SpeciesConstructor` abstract operation 2940// https://tc39.es/ecma262/#sec-speciesconstructor 2941module.exports = function (O, defaultConstructor) { 2942 var C = anObject(O).constructor; 2943 var S; 2944 return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S); 2945}; 2946 2947 2948/***/ }), 2949 2950/***/ 6746: 2951/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2952 2953 2954var uncurryThis = __webpack_require__(24354); 2955var toIntegerOrInfinity = __webpack_require__(1911); 2956var toString = __webpack_require__(19531); 2957var requireObjectCoercible = __webpack_require__(43282); 2958 2959var charAt = uncurryThis(''.charAt); 2960var charCodeAt = uncurryThis(''.charCodeAt); 2961var stringSlice = uncurryThis(''.slice); 2962 2963var createMethod = function (CONVERT_TO_STRING) { 2964 return function ($this, pos) { 2965 var S = toString(requireObjectCoercible($this)); 2966 var position = toIntegerOrInfinity(pos); 2967 var size = S.length; 2968 var first, second; 2969 if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; 2970 first = charCodeAt(S, position); 2971 return first < 0xD800 || first > 0xDBFF || position + 1 === size 2972 || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF 2973 ? CONVERT_TO_STRING 2974 ? charAt(S, position) 2975 : first 2976 : CONVERT_TO_STRING 2977 ? stringSlice(S, position, position + 2) 2978 : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; 2979 }; 2980}; 2981 2982module.exports = { 2983 // `String.prototype.codePointAt` method 2984 // https://tc39.es/ecma262/#sec-string.prototype.codepointat 2985 codeAt: createMethod(false), 2986 // `String.prototype.at` method 2987 // https://github.com/mathiasbynens/String.prototype.at 2988 charAt: createMethod(true) 2989}; 2990 2991 2992/***/ }), 2993 2994/***/ 65700: 2995/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2996 2997 2998// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js 2999var uncurryThis = __webpack_require__(24354); 3000 3001var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1 3002var base = 36; 3003var tMin = 1; 3004var tMax = 26; 3005var skew = 38; 3006var damp = 700; 3007var initialBias = 72; 3008var initialN = 128; // 0x80 3009var delimiter = '-'; // '\x2D' 3010var regexNonASCII = /[^\0-\u007E]/; // non-ASCII chars 3011var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators 3012var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process'; 3013var baseMinusTMin = base - tMin; 3014 3015var $RangeError = RangeError; 3016var exec = uncurryThis(regexSeparators.exec); 3017var floor = Math.floor; 3018var fromCharCode = String.fromCharCode; 3019var charCodeAt = uncurryThis(''.charCodeAt); 3020var join = uncurryThis([].join); 3021var push = uncurryThis([].push); 3022var replace = uncurryThis(''.replace); 3023var split = uncurryThis(''.split); 3024var toLowerCase = uncurryThis(''.toLowerCase); 3025 3026/** 3027 * Creates an array containing the numeric code points of each Unicode 3028 * character in the string. While JavaScript uses UCS-2 internally, 3029 * this function will convert a pair of surrogate halves (each of which 3030 * UCS-2 exposes as separate characters) into a single code point, 3031 * matching UTF-16. 3032 */ 3033var ucs2decode = function (string) { 3034 var output = []; 3035 var counter = 0; 3036 var length = string.length; 3037 while (counter < length) { 3038 var value = charCodeAt(string, counter++); 3039 if (value >= 0xD800 && value <= 0xDBFF && counter < length) { 3040 // It's a high surrogate, and there is a next character. 3041 var extra = charCodeAt(string, counter++); 3042 if ((extra & 0xFC00) === 0xDC00) { // Low surrogate. 3043 push(output, ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); 3044 } else { 3045 // It's an unmatched surrogate; only append this code unit, in case the 3046 // next code unit is the high surrogate of a surrogate pair. 3047 push(output, value); 3048 counter--; 3049 } 3050 } else { 3051 push(output, value); 3052 } 3053 } 3054 return output; 3055}; 3056 3057/** 3058 * Converts a digit/integer into a basic code point. 3059 */ 3060var digitToBasic = function (digit) { 3061 // 0..25 map to ASCII a..z or A..Z 3062 // 26..35 map to ASCII 0..9 3063 return digit + 22 + 75 * (digit < 26); 3064}; 3065 3066/** 3067 * Bias adaptation function as per section 3.4 of RFC 3492. 3068 * https://tools.ietf.org/html/rfc3492#section-3.4 3069 */ 3070var adapt = function (delta, numPoints, firstTime) { 3071 var k = 0; 3072 delta = firstTime ? floor(delta / damp) : delta >> 1; 3073 delta += floor(delta / numPoints); 3074 while (delta > baseMinusTMin * tMax >> 1) { 3075 delta = floor(delta / baseMinusTMin); 3076 k += base; 3077 } 3078 return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); 3079}; 3080 3081/** 3082 * Converts a string of Unicode symbols (e.g. a domain name label) to a 3083 * Punycode string of ASCII-only symbols. 3084 */ 3085var encode = function (input) { 3086 var output = []; 3087 3088 // Convert the input in UCS-2 to an array of Unicode code points. 3089 input = ucs2decode(input); 3090 3091 // Cache the length. 3092 var inputLength = input.length; 3093 3094 // Initialize the state. 3095 var n = initialN; 3096 var delta = 0; 3097 var bias = initialBias; 3098 var i, currentValue; 3099 3100 // Handle the basic code points. 3101 for (i = 0; i < input.length; i++) { 3102 currentValue = input[i]; 3103 if (currentValue < 0x80) { 3104 push(output, fromCharCode(currentValue)); 3105 } 3106 } 3107 3108 var basicLength = output.length; // number of basic code points. 3109 var handledCPCount = basicLength; // number of code points that have been handled; 3110 3111 // Finish the basic string with a delimiter unless it's empty. 3112 if (basicLength) { 3113 push(output, delimiter); 3114 } 3115 3116 // Main encoding loop: 3117 while (handledCPCount < inputLength) { 3118 // All non-basic code points < n have been handled already. Find the next larger one: 3119 var m = maxInt; 3120 for (i = 0; i < input.length; i++) { 3121 currentValue = input[i]; 3122 if (currentValue >= n && currentValue < m) { 3123 m = currentValue; 3124 } 3125 } 3126 3127 // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow. 3128 var handledCPCountPlusOne = handledCPCount + 1; 3129 if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { 3130 throw new $RangeError(OVERFLOW_ERROR); 3131 } 3132 3133 delta += (m - n) * handledCPCountPlusOne; 3134 n = m; 3135 3136 for (i = 0; i < input.length; i++) { 3137 currentValue = input[i]; 3138 if (currentValue < n && ++delta > maxInt) { 3139 throw new $RangeError(OVERFLOW_ERROR); 3140 } 3141 if (currentValue === n) { 3142 // Represent delta as a generalized variable-length integer. 3143 var q = delta; 3144 var k = base; 3145 while (true) { 3146 var t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias; 3147 if (q < t) break; 3148 var qMinusT = q - t; 3149 var baseMinusT = base - t; 3150 push(output, fromCharCode(digitToBasic(t + qMinusT % baseMinusT))); 3151 q = floor(qMinusT / baseMinusT); 3152 k += base; 3153 } 3154 3155 push(output, fromCharCode(digitToBasic(q))); 3156 bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength); 3157 delta = 0; 3158 handledCPCount++; 3159 } 3160 } 3161 3162 delta++; 3163 n++; 3164 } 3165 return join(output, ''); 3166}; 3167 3168module.exports = function (input) { 3169 var encoded = []; 3170 var labels = split(replace(toLowerCase(input), regexSeparators, '\u002E'), '.'); 3171 var i, label; 3172 for (i = 0; i < labels.length; i++) { 3173 label = labels[i]; 3174 push(encoded, exec(regexNonASCII, label) ? 'xn--' + encode(label) : label); 3175 } 3176 return join(encoded, '.'); 3177}; 3178 3179 3180/***/ }), 3181 3182/***/ 34336: 3183/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3184 3185 3186/* eslint-disable es/no-symbol -- required for testing */ 3187var V8_VERSION = __webpack_require__(40031); 3188var fails = __webpack_require__(35909); 3189var globalThis = __webpack_require__(74200); 3190 3191var $String = globalThis.String; 3192 3193// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing 3194module.exports = !!Object.getOwnPropertySymbols && !fails(function () { 3195 var symbol = Symbol('symbol detection'); 3196 // Chrome 38 Symbol has incorrect toString conversion
vendor: 5,268 bytes, lines 3197-3410
3197 // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances 3198 // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, 3199 // of course, fail. 3200 return !$String(symbol) || !(Object(symbol) instanceof Symbol) || 3201 // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances 3202 !Symbol.sham && V8_VERSION && V8_VERSION < 41; 3203}); 3204 3205 3206/***/ }), 3207 3208/***/ 30803: 3209/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3210 3211 3212var toIntegerOrInfinity = __webpack_require__(1911); 3213 3214var max = Math.max; 3215var min = Math.min; 3216 3217// Helper for a popular repeating case of the spec: 3218// Let integer be ? ToInteger(index). 3219// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). 3220module.exports = function (index, length) { 3221 var integer = toIntegerOrInfinity(index); 3222 return integer < 0 ? max(integer + length, 0) : min(integer, length); 3223}; 3224 3225 3226/***/ }), 3227 3228/***/ 85341: 3229/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3230 3231 3232// toObject with fallback for non-array-like ES3 strings 3233var IndexedObject = __webpack_require__(90397); 3234var requireObjectCoercible = __webpack_require__(43282); 3235 3236module.exports = function (it) { 3237 return IndexedObject(requireObjectCoercible(it)); 3238}; 3239 3240 3241/***/ }), 3242 3243/***/ 1911: 3244/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3245 3246 3247var trunc = __webpack_require__(50006); 3248 3249// `ToIntegerOrInfinity` abstract operation 3250// https://tc39.es/ecma262/#sec-tointegerorinfinity 3251module.exports = function (argument) { 3252 var number = +argument; 3253 // eslint-disable-next-line no-self-compare -- NaN check 3254 return number !== number || number === 0 ? 0 : trunc(number); 3255}; 3256 3257 3258/***/ }), 3259 3260/***/ 42420: 3261/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3262 3263 3264var toIntegerOrInfinity = __webpack_require__(1911); 3265 3266var min = Math.min; 3267 3268// `ToLength` abstract operation 3269// https://tc39.es/ecma262/#sec-tolength 3270module.exports = function (argument) { 3271 var len = toIntegerOrInfinity(argument); 3272 return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 3273}; 3274 3275 3276/***/ }), 3277 3278/***/ 24375: 3279/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3280 3281 3282var requireObjectCoercible = __webpack_require__(43282); 3283 3284var $Object = Object; 3285 3286// `ToObject` abstract operation 3287// https://tc39.es/ecma262/#sec-toobject 3288module.exports = function (argument) { 3289 return $Object(requireObjectCoercible(argument)); 3290}; 3291 3292 3293/***/ }), 3294 3295/***/ 61728: 3296/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3297 3298 3299var call = __webpack_require__(78132); 3300var isObject = __webpack_require__(66876); 3301var isSymbol = __webpack_require__(49801); 3302var getMethod = __webpack_require__(48702); 3303var ordinaryToPrimitive = __webpack_require__(12176); 3304var wellKnownSymbol = __webpack_require__(76433); 3305 3306var $TypeError = TypeError; 3307var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); 3308 3309// `ToPrimitive` abstract operation 3310// https://tc39.es/ecma262/#sec-toprimitive 3311module.exports = function (input, pref) { 3312 if (!isObject(input) || isSymbol(input)) return input; 3313 var exoticToPrim = getMethod(input, TO_PRIMITIVE); 3314 var result; 3315 if (exoticToPrim) { 3316 if (pref === undefined) pref = 'default'; 3317 result = call(exoticToPrim, input, pref); 3318 if (!isObject(result) || isSymbol(result)) return result; 3319 throw new $TypeError("Can't convert object to primitive value"); 3320 } 3321 if (pref === undefined) pref = 'number'; 3322 return ordinaryToPrimitive(input, pref); 3323}; 3324 3325 3326/***/ }), 3327 3328/***/ 41264: 3329/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3330 3331 3332var toPrimitive = __webpack_require__(61728); 3333var isSymbol = __webpack_require__(49801); 3334 3335// `ToPropertyKey` abstract operation 3336// https://tc39.es/ecma262/#sec-topropertykey 3337module.exports = function (argument) { 3338 var key = toPrimitive(argument, 'string'); 3339 return isSymbol(key) ? key : key + ''; 3340}; 3341 3342 3343/***/ }), 3344 3345/***/ 43847: 3346/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3347 3348 3349var wellKnownSymbol = __webpack_require__(76433); 3350 3351var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 3352var test = {}; 3353// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation 3354test[TO_STRING_TAG] = 'z'; 3355 3356module.exports = String(test) === '[object z]'; 3357 3358 3359/***/ }), 3360 3361/***/ 19531: 3362/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3363 3364 3365var classof = __webpack_require__(27743); 3366 3367var $String = String; 3368 3369module.exports = function (argument) { 3370 if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); 3371 return $String(argument); 3372}; 3373 3374 3375/***/ }), 3376 3377/***/ 32385: 3378/***/ (function(module) { 3379 3380 3381var $String = String; 3382 3383module.exports = function (argument) { 3384 try { 3385 return $String(argument); 3386 } catch (error) { 3387 return 'Object'; 3388 } 3389}; 3390 3391 3392/***/ }), 3393 3394/***/ 18165: 3395/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3396 3397 3398var uncurryThis = __webpack_require__(24354); 3399 3400var id = 0; 3401var postfix = Math.random(); 3402var toString = uncurryThis(1.1.toString); 3403 3404module.exports = function (key) { 3405 return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); 3406}; 3407 3408 3409/***/ }), 3410
vendor: 9,802 bytes, lines 3411-3720
3411/***/ 95608: 3412/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3413 3414 3415var fails = __webpack_require__(35909); 3416var wellKnownSymbol = __webpack_require__(76433); 3417var DESCRIPTORS = __webpack_require__(92671); 3418var IS_PURE = __webpack_require__(79728); 3419 3420var ITERATOR = wellKnownSymbol('iterator'); 3421 3422module.exports = !fails(function () { 3423 // eslint-disable-next-line unicorn/relative-url-style -- required for testing 3424 var url = new URL('b?a=1&b=2&c=3', 'https://a'); 3425 var params = url.searchParams; 3426 var params2 = new URLSearchParams('a=1&a=2&b=3'); 3427 var result = ''; 3428 url.pathname = 'c%20d'; 3429 params.forEach(function (value, key) { 3430 params['delete']('b'); 3431 result += key + value; 3432 }); 3433 params2['delete']('a', 2); 3434 // `undefined` case is a Chromium 117 bug 3435 // https://bugs.chromium.org/p/v8/issues/detail?id=14222 3436 params2['delete']('b', undefined); 3437 return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b'))) 3438 || (!params.size && (IS_PURE || !DESCRIPTORS)) 3439 || !params.sort 3440 || url.href !== 'https://a/c%20d?a=1&c=3' 3441 || params.get('c') !== '3' 3442 || String(new URLSearchParams('?a=1')) !== 'a=1' 3443 || !params[ITERATOR] 3444 // throws in Edge 3445 || new URL('https://a@b').username !== 'a' 3446 || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b' 3447 // not punycoded in Edge 3448 || new URL('https://ÑеÑÑ').host !== 'xn--e1aybc' 3449 // not escaped in Chrome 62- 3450 || new URL('https://a#б').hash !== '#%D0%B1' 3451 // fails in Chrome 66- 3452 || result !== 'a1c3' 3453 // throws in Safari 3454 || new URL('https://x', undefined).host !== 'x'; 3455}); 3456 3457 3458/***/ }), 3459 3460/***/ 41282: 3461/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3462 3463 3464/* eslint-disable es/no-symbol -- required for testing */ 3465var NATIVE_SYMBOL = __webpack_require__(34336); 3466 3467module.exports = NATIVE_SYMBOL && 3468 !Symbol.sham && 3469 typeof Symbol.iterator == 'symbol'; 3470 3471 3472/***/ }), 3473 3474/***/ 5479: 3475/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3476 3477 3478var DESCRIPTORS = __webpack_require__(92671); 3479var fails = __webpack_require__(35909); 3480 3481// V8 ~ Chrome 36- 3482// https://bugs.chromium.org/p/v8/issues/detail?id=3334 3483module.exports = DESCRIPTORS && fails(function () { 3484 // eslint-disable-next-line es/no-object-defineproperty -- required for testing 3485 return Object.defineProperty(function () { /* empty */ }, 'prototype', { 3486 value: 42, 3487 writable: false 3488 }).prototype !== 42; 3489}); 3490 3491 3492/***/ }), 3493 3494/***/ 13057: 3495/***/ (function(module) { 3496 3497 3498var $TypeError = TypeError; 3499 3500module.exports = function (passed, required) { 3501 if (passed < required) throw new $TypeError('Not enough arguments'); 3502 return passed; 3503}; 3504 3505 3506/***/ }), 3507 3508/***/ 75363: 3509/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3510 3511 3512var globalThis = __webpack_require__(74200); 3513var isCallable = __webpack_require__(74859); 3514 3515var WeakMap = globalThis.WeakMap; 3516 3517module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); 3518 3519 3520/***/ }), 3521 3522/***/ 76433: 3523/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3524 3525 3526var globalThis = __webpack_require__(74200); 3527var shared = __webpack_require__(56978); 3528var hasOwn = __webpack_require__(27492); 3529var uid = __webpack_require__(18165); 3530var NATIVE_SYMBOL = __webpack_require__(34336); 3531var USE_SYMBOL_AS_UID = __webpack_require__(41282); 3532 3533var Symbol = globalThis.Symbol; 3534var WellKnownSymbolsStore = shared('wks'); 3535var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; 3536 3537module.exports = function (name) { 3538 if (!hasOwn(WellKnownSymbolsStore, name)) { 3539 WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) 3540 ? Symbol[name] 3541 : createWellKnownSymbol('Symbol.' + name); 3542 } return WellKnownSymbolsStore[name]; 3543}; 3544 3545 3546/***/ }), 3547 3548/***/ 88959: 3549/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3550 3551 3552var toIndexedObject = __webpack_require__(85341); 3553var addToUnscopables = __webpack_require__(18833); 3554var Iterators = __webpack_require__(64233); 3555var InternalStateModule = __webpack_require__(26712); 3556var defineProperty = (__webpack_require__(29196).f); 3557var defineIterator = __webpack_require__(7589); 3558var createIterResultObject = __webpack_require__(63857); 3559var IS_PURE = __webpack_require__(79728); 3560var DESCRIPTORS = __webpack_require__(92671); 3561 3562var ARRAY_ITERATOR = 'Array Iterator'; 3563var setInternalState = InternalStateModule.set; 3564var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR); 3565 3566// `Array.prototype.entries` method 3567// https://tc39.es/ecma262/#sec-array.prototype.entries 3568// `Array.prototype.keys` method 3569// https://tc39.es/ecma262/#sec-array.prototype.keys 3570// `Array.prototype.values` method 3571// https://tc39.es/ecma262/#sec-array.prototype.values 3572// `Array.prototype[@@iterator]` method 3573// https://tc39.es/ecma262/#sec-array.prototype-@@iterator 3574// `CreateArrayIterator` internal method 3575// https://tc39.es/ecma262/#sec-createarrayiterator 3576module.exports = defineIterator(Array, 'Array', function (iterated, kind) { 3577 setInternalState(this, { 3578 type: ARRAY_ITERATOR, 3579 target: toIndexedObject(iterated), // target 3580 index: 0, // next index 3581 kind: kind // kind 3582 }); 3583// `%ArrayIteratorPrototype%.next` method 3584// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next 3585}, function () { 3586 var state = getInternalState(this); 3587 var target = state.target; 3588 var index = state.index++; 3589 if (!target || index >= target.length) { 3590 state.target = null; 3591 return createIterResultObject(undefined, true); 3592 } 3593 switch (state.kind) { 3594 case 'keys': return createIterResultObject(index, false); 3595 case 'values': return createIterResultObject(target[index], false); 3596 } return createIterResultObject([index, target[index]], false); 3597}, 'values'); 3598 3599// argumentsList[@@iterator] is %ArrayProto_values% 3600// https://tc39.es/ecma262/#sec-createunmappedargumentsobject 3601// https://tc39.es/ecma262/#sec-createmappedargumentsobject 3602var values = Iterators.Arguments = Iterators.Array; 3603 3604// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables 3605addToUnscopables('keys'); 3606addToUnscopables('values'); 3607addToUnscopables('entries'); 3608 3609// V8 ~ Chrome 45- bug 3610if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try { 3611 defineProperty(values, 'name', { value: 'values' }); 3612} catch (error) { /* empty */ } 3613 3614 3615/***/ }), 3616 3617/***/ 62047: 3618/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 3619 3620 3621var $ = __webpack_require__(31069); 3622var exec = __webpack_require__(25734); 3623 3624// `RegExp.prototype.exec` method 3625// https://tc39.es/ecma262/#sec-regexp.prototype.exec 3626$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { 3627 exec: exec 3628}); 3629 3630 3631/***/ }), 3632 3633/***/ 32722: 3634/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 3635 3636 3637var $ = __webpack_require__(31069); 3638var uncurryThis = __webpack_require__(24354); 3639var toAbsoluteIndex = __webpack_require__(30803); 3640 3641var $RangeError = RangeError; 3642var fromCharCode = String.fromCharCode; 3643// eslint-disable-next-line es/no-string-fromcodepoint -- required for testing 3644var $fromCodePoint = String.fromCodePoint; 3645var join = uncurryThis([].join); 3646 3647// length should be 1, old FF problem 3648var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length !== 1; 3649 3650// `String.fromCodePoint` method 3651// https://tc39.es/ecma262/#sec-string.fromcodepoint 3652$({ target: 'String', stat: true, arity: 1, forced: INCORRECT_LENGTH }, { 3653 // eslint-disable-next-line no-unused-vars -- required for `.length` 3654 fromCodePoint: function fromCodePoint(x) { 3655 var elements = []; 3656 var length = arguments.length; 3657 var i = 0; 3658 var code; 3659 while (length > i) { 3660 code = +arguments[i]; 3661 if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw new $RangeError(code + ' is not a valid code point'); 3662 elements[i++] = code < 0x10000 3663 ? fromCharCode(code) 3664 : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00); 3665 } return join(elements, ''); 3666 } 3667}); 3668 3669 3670/***/ }), 3671 3672/***/ 7444: 3673/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 3674 3675 3676var charAt = (__webpack_require__(6746).charAt); 3677var toString = __webpack_require__(19531); 3678var InternalStateModule = __webpack_require__(26712); 3679var defineIterator = __webpack_require__(7589); 3680var createIterResultObject = __webpack_require__(63857); 3681 3682var STRING_ITERATOR = 'String Iterator'; 3683var setInternalState = InternalStateModule.set; 3684var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); 3685 3686// `String.prototype[@@iterator]` method 3687// https://tc39.es/ecma262/#sec-string.prototype-@@iterator 3688defineIterator(String, 'String', function (iterated) { 3689 setInternalState(this, { 3690 type: STRING_ITERATOR, 3691 string: toString(iterated), 3692 index: 0 3693 }); 3694// `%StringIteratorPrototype%.next` method 3695// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next 3696}, function next() { 3697 var state = getInternalState(this); 3698 var string = state.string; 3699 var index = state.index; 3700 var point; 3701 if (index >= string.length) return createIterResultObject(undefined, true); 3702 point = charAt(string, index); 3703 state.index += point.length; 3704 return createIterResultObject(point, false); 3705}); 3706 3707 3708/***/ }), 3709 3710/***/ 25263: 3711/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 3712 3713 3714/* eslint-disable es/no-string-prototype-matchall -- safe */ 3715var $ = __webpack_require__(31069); 3716var call = __webpack_require__(78132); 3717var uncurryThis = __webpack_require__(91626); 3718var createIteratorConstructor = __webpack_require__(77233); 3719var createIterResultObject = __webpack_require__(63857); 3720var requireObjectCoercible = __webpack_require__(43282);
vendor: 5,687 bytes, lines 3721-3873
3721var toLength = __webpack_require__(42420); 3722var toString = __webpack_require__(19531); 3723var anObject = __webpack_require__(17425); 3724var isObject = __webpack_require__(66876); 3725var classof = __webpack_require__(34470); 3726var isRegExp = __webpack_require__(84737); 3727var getRegExpFlags = __webpack_require__(16843); 3728var getMethod = __webpack_require__(48702); 3729var defineBuiltIn = __webpack_require__(12184); 3730var fails = __webpack_require__(35909); 3731var wellKnownSymbol = __webpack_require__(76433); 3732var speciesConstructor = __webpack_require__(44369); 3733var advanceStringIndex = __webpack_require__(34763); 3734var regExpExec = __webpack_require__(37752); 3735var InternalStateModule = __webpack_require__(26712); 3736var IS_PURE = __webpack_require__(79728); 3737 3738var MATCH_ALL = wellKnownSymbol('matchAll'); 3739var REGEXP_STRING = 'RegExp String'; 3740var REGEXP_STRING_ITERATOR = REGEXP_STRING + ' Iterator'; 3741var setInternalState = InternalStateModule.set; 3742var getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR); 3743var RegExpPrototype = RegExp.prototype; 3744var $TypeError = TypeError; 3745var stringIndexOf = uncurryThis(''.indexOf); 3746var nativeMatchAll = uncurryThis(''.matchAll); 3747 3748var WORKS_WITH_NON_GLOBAL_REGEX = !!nativeMatchAll && !fails(function () { 3749 nativeMatchAll('a', /./); 3750}); 3751 3752var $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string, $global, fullUnicode) { 3753 setInternalState(this, { 3754 type: REGEXP_STRING_ITERATOR, 3755 regexp: regexp, 3756 string: string, 3757 global: $global, 3758 unicode: fullUnicode, 3759 done: false 3760 }); 3761}, REGEXP_STRING, function next() { 3762 var state = getInternalState(this); 3763 if (state.done) return createIterResultObject(undefined, true); 3764 var R = state.regexp; 3765 var S = state.string; 3766 var match = regExpExec(R, S); 3767 if (match === null) { 3768 state.done = true; 3769 return createIterResultObject(undefined, true); 3770 } 3771 if (state.global) { 3772 if (toString(match[0]) === '') R.lastIndex = advanceStringIndex(S, toLength(R.lastIndex), state.unicode); 3773 return createIterResultObject(match, false); 3774 } 3775 state.done = true; 3776 return createIterResultObject(match, false); 3777}); 3778 3779var $matchAll = function (string) { 3780 var R = anObject(this); 3781 var S = toString(string); 3782 var C = speciesConstructor(R, RegExp); 3783 var flags = toString(getRegExpFlags(R)); 3784 var matcher, $global, fullUnicode; 3785 matcher = new C(C === RegExp ? R.source : R, flags); 3786 $global = !!~stringIndexOf(flags, 'g'); 3787 fullUnicode = !!~stringIndexOf(flags, 'u') || !!~stringIndexOf(flags, 'v'); 3788 matcher.lastIndex = toLength(R.lastIndex); 3789 return new $RegExpStringIterator(matcher, S, $global, fullUnicode); 3790}; 3791 3792// `String.prototype.matchAll` method 3793// https://tc39.es/ecma262/#sec-string.prototype.matchall 3794$({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, { 3795 matchAll: function matchAll(regexp) { 3796 var O = requireObjectCoercible(this); 3797 var flags, S, matcher, rx; 3798 if (isObject(regexp)) { 3799 if (isRegExp(regexp)) { 3800 flags = toString(requireObjectCoercible(getRegExpFlags(regexp))); 3801 if (!~stringIndexOf(flags, 'g')) throw new $TypeError('`.matchAll` does not allow non-global regexes'); 3802 } 3803 if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp); 3804 matcher = getMethod(regexp, MATCH_ALL); 3805 if (matcher === undefined && IS_PURE && classof(regexp) === 'RegExp') matcher = $matchAll; 3806 if (matcher) return call(matcher, regexp, O); 3807 } else if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll(O, regexp); 3808 S = toString(O); 3809 rx = new RegExp(regexp, 'g'); 3810 return IS_PURE ? call($matchAll, rx, S) : rx[MATCH_ALL](S); 3811 } 3812}); 3813 3814IS_PURE || MATCH_ALL in RegExpPrototype || defineBuiltIn(RegExpPrototype, MATCH_ALL, $matchAll); 3815 3816 3817/***/ }), 3818 3819/***/ 73570: 3820/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 3821 3822 3823// TODO: Remove from `core-js@4` 3824__webpack_require__(25263); 3825 3826 3827/***/ }), 3828 3829/***/ 12022: 3830/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 3831 3832 3833var globalThis = __webpack_require__(74200); 3834var DOMIterables = __webpack_require__(55863); 3835var DOMTokenListPrototype = __webpack_require__(95574); 3836var ArrayIteratorMethods = __webpack_require__(88959); 3837var createNonEnumerableProperty = __webpack_require__(19757); 3838var setToStringTag = __webpack_require__(23391); 3839var wellKnownSymbol = __webpack_require__(76433); 3840 3841var ITERATOR = wellKnownSymbol('iterator'); 3842var ArrayValues = ArrayIteratorMethods.values; 3843 3844var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) { 3845 if (CollectionPrototype) { 3846 // some Chrome versions have non-configurable methods on DOMTokenList 3847 if (CollectionPrototype[ITERATOR] !== ArrayValues) try { 3848 createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues); 3849 } catch (error) { 3850 CollectionPrototype[ITERATOR] = ArrayValues; 3851 } 3852 setToStringTag(CollectionPrototype, COLLECTION_NAME, true); 3853 if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) { 3854 // some Chrome versions have non-configurable methods on DOMTokenList 3855 if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try { 3856 createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]); 3857 } catch (error) { 3858 CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME]; 3859 } 3860 } 3861 } 3862}; 3863 3864for (var COLLECTION_NAME in DOMIterables) { 3865 handlePrototype(globalThis[COLLECTION_NAME] && globalThis[COLLECTION_NAME].prototype, COLLECTION_NAME); 3866} 3867 3868handlePrototype(DOMTokenListPrototype, 'DOMTokenList'); 3869 3870 3871/***/ }), 3872 3873/***/ 39761:
vendor: 6,892 bytes, lines 3874-4094
3874/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3875 3876 3877// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` 3878__webpack_require__(88959); 3879__webpack_require__(32722); 3880var $ = __webpack_require__(31069); 3881var globalThis = __webpack_require__(74200); 3882var safeGetBuiltIn = __webpack_require__(86735); 3883var getBuiltIn = __webpack_require__(79878); 3884var call = __webpack_require__(78132); 3885var uncurryThis = __webpack_require__(24354); 3886var DESCRIPTORS = __webpack_require__(92671); 3887var USE_NATIVE_URL = __webpack_require__(95608); 3888var defineBuiltIn = __webpack_require__(12184); 3889var defineBuiltInAccessor = __webpack_require__(39927); 3890var defineBuiltIns = __webpack_require__(70480); 3891var setToStringTag = __webpack_require__(23391); 3892var createIteratorConstructor = __webpack_require__(77233); 3893var InternalStateModule = __webpack_require__(26712); 3894var anInstance = __webpack_require__(18137); 3895var isCallable = __webpack_require__(74859); 3896var hasOwn = __webpack_require__(27492); 3897var bind = __webpack_require__(1428); 3898var classof = __webpack_require__(27743); 3899var anObject = __webpack_require__(17425); 3900var isObject = __webpack_require__(66876); 3901var $toString = __webpack_require__(19531); 3902var create = __webpack_require__(9122); 3903var createPropertyDescriptor = __webpack_require__(57624); 3904var getIterator = __webpack_require__(31365); 3905var getIteratorMethod = __webpack_require__(82412); 3906var createIterResultObject = __webpack_require__(63857); 3907var validateArgumentsLength = __webpack_require__(13057); 3908var wellKnownSymbol = __webpack_require__(76433); 3909var arraySort = __webpack_require__(79495); 3910 3911var ITERATOR = wellKnownSymbol('iterator'); 3912var URL_SEARCH_PARAMS = 'URLSearchParams'; 3913var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator'; 3914var setInternalState = InternalStateModule.set; 3915var getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS); 3916var getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR); 3917 3918var nativeFetch = safeGetBuiltIn('fetch'); 3919var NativeRequest = safeGetBuiltIn('Request'); 3920var Headers = safeGetBuiltIn('Headers'); 3921var RequestPrototype = NativeRequest && NativeRequest.prototype; 3922var HeadersPrototype = Headers && Headers.prototype; 3923var TypeError = globalThis.TypeError; 3924var encodeURIComponent = globalThis.encodeURIComponent; 3925var fromCharCode = String.fromCharCode; 3926var fromCodePoint = getBuiltIn('String', 'fromCodePoint'); 3927var $parseInt = parseInt; 3928var charAt = uncurryThis(''.charAt); 3929var join = uncurryThis([].join); 3930var push = uncurryThis([].push); 3931var replace = uncurryThis(''.replace); 3932var shift = uncurryThis([].shift); 3933var splice = uncurryThis([].splice); 3934var split = uncurryThis(''.split); 3935var stringSlice = uncurryThis(''.slice); 3936var exec = uncurryThis(/./.exec); 3937 3938var plus = /\+/g; 3939var FALLBACK_REPLACER = '\uFFFD'; 3940var VALID_HEX = /^[0-9a-f]+$/i; 3941 3942var parseHexOctet = function (string, start) { 3943 var substr = stringSlice(string, start, start + 2); 3944 if (!exec(VALID_HEX, substr)) return NaN; 3945 3946 return $parseInt(substr, 16); 3947}; 3948 3949var getLeadingOnes = function (octet) { 3950 var count = 0; 3951 for (var mask = 0x80; mask > 0 && (octet & mask) !== 0; mask >>= 1) { 3952 count++; 3953 } 3954 return count; 3955}; 3956 3957var utf8Decode = function (octets) { 3958 var codePoint = null; 3959 var length = octets.length; 3960 3961 switch (length) { 3962 case 1: 3963 codePoint = octets[0]; 3964 break; 3965 case 2: 3966 codePoint = (octets[0] & 0x1F) << 6 | (octets[1] & 0x3F); 3967 break; 3968 case 3: 3969 codePoint = (octets[0] & 0x0F) << 12 | (octets[1] & 0x3F) << 6 | (octets[2] & 0x3F); 3970 break; 3971 case 4: 3972 codePoint = (octets[0] & 0x07) << 18 | (octets[1] & 0x3F) << 12 | (octets[2] & 0x3F) << 6 | (octets[3] & 0x3F); 3973 break; 3974 } 3975 3976 // reject surrogates, overlong encodings, and out-of-range codepoints 3977 if (codePoint === null 3978 || codePoint > 0x10FFFF 3979 || (codePoint >= 0xD800 && codePoint <= 0xDFFF) 3980 || codePoint < (length > 3 ? 0x10000 : length > 2 ? 0x800 : length > 1 ? 0x80 : 0) 3981 ) return null; 3982 3983 return codePoint; 3984}; 3985 3986/* eslint-disable max-statements, max-depth -- ok */ 3987var decode = function (input) { 3988 input = replace(input, plus, ' '); 3989 var length = input.length; 3990 var result = ''; 3991 var i = 0; 3992 3993 while (i < length) { 3994 var decodedChar = charAt(input, i); 3995 3996 if (decodedChar === '%') { 3997 if (charAt(input, i + 1) === '%' || i + 3 > length) { 3998 result += '%'; 3999 i++; 4000 continue; 4001 } 4002 4003 var octet = parseHexOctet(input, i + 1); 4004 4005 // eslint-disable-next-line no-self-compare -- NaN check 4006 if (octet !== octet) { 4007 result += decodedChar; 4008 i++; 4009 continue; 4010 } 4011 4012 i += 2; 4013 var byteSequenceLength = getLeadingOnes(octet); 4014 4015 if (byteSequenceLength === 0) { 4016 decodedChar = fromCharCode(octet); 4017 } else { 4018 if (byteSequenceLength === 1 || byteSequenceLength > 4) { 4019 result += FALLBACK_REPLACER; 4020 i++; 4021 continue; 4022 } 4023 4024 var octets = [octet]; 4025 var sequenceIndex = 1; 4026 4027 while (sequenceIndex < byteSequenceLength) { 4028 i++; 4029 if (i + 3 > length || charAt(input, i) !== '%') break; 4030 4031 var nextByte = parseHexOctet(input, i + 1); 4032 4033 // eslint-disable-next-line no-self-compare -- NaN check 4034 if (nextByte !== nextByte || nextByte > 191 || nextByte < 128) break; 4035 4036 // https://encoding.spec.whatwg.org/#utf-8-decoder - position-specific byte ranges 4037 if (sequenceIndex === 1) { 4038 if (octet === 0xE0 && nextByte < 0xA0) break; 4039 if (octet === 0xED && nextByte > 0x9F) break; 4040 if (octet === 0xF0 && nextByte < 0x90) break; 4041 if (octet === 0xF4 && nextByte > 0x8F) break; 4042 } 4043 4044 push(octets, nextByte); 4045 i += 2; 4046 sequenceIndex++; 4047 } 4048 4049 if (octets.length !== byteSequenceLength) { 4050 result += FALLBACK_REPLACER; 4051 continue; 4052 } 4053 4054 var codePoint = utf8Decode(octets); 4055 if (codePoint === null) { 4056 for (var replacement = 0; replacement < byteSequenceLength; replacement++) result += FALLBACK_REPLACER; 4057 i++; 4058 continue; 4059 } else { 4060 decodedChar = fromCodePoint(codePoint); 4061 } 4062 } 4063 } 4064 4065 result += decodedChar; 4066 i++; 4067 } 4068 4069 return result; 4070}; 4071/* eslint-enable max-statements, max-depth -- ok */ 4072 4073var find = /[!'()~]|%20/g; 4074 4075var replacements = { 4076 '!': '%21', 4077 "'": '%27', 4078 '(': '%28', 4079 ')': '%29', 4080 '~': '%7E', 4081 '%20': '+' 4082}; 4083 4084var replacer = function (match) { 4085 return replacements[match]; 4086}; 4087 4088var serialize = function (it) { 4089 return replace(encodeURIComponent(it), find, replacer); 4090}; 4091 4092var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) { 4093 setInternalState(this, { 4094 type: URL_SEARCH_PARAMS_ITERATOR,
vendor: 2,403 bytes, lines 4095-4164
4095 target: getInternalParamsState(params).entries, 4096 index: 0, 4097 kind: kind 4098 }); 4099}, URL_SEARCH_PARAMS, function next() { 4100 var state = getInternalIteratorState(this); 4101 var target = state.target; 4102 var index = state.index++; 4103 if (!target || index >= target.length) { 4104 state.target = null; 4105 return createIterResultObject(undefined, true); 4106 } 4107 var entry = target[index]; 4108 switch (state.kind) { 4109 case 'keys': return createIterResultObject(entry.key, false); 4110 case 'values': return createIterResultObject(entry.value, false); 4111 } return createIterResultObject([entry.key, entry.value], false); 4112}, true); 4113 4114var URLSearchParamsState = function (init) { 4115 this.entries = []; 4116 this.url = null; 4117 4118 if (init !== undefined) { 4119 if (isObject(init)) this.parseObject(init); 4120 else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init)); 4121 } 4122}; 4123 4124URLSearchParamsState.prototype = { 4125 type: URL_SEARCH_PARAMS, 4126 bindURL: function (url) { 4127 this.url = url; 4128 this.update(); 4129 }, 4130 parseObject: function (object) { 4131 var entries = this.entries; 4132 var iteratorMethod = getIteratorMethod(object); 4133 var iterator, next, step, entryIterator, entryNext, first, second; 4134 4135 if (iteratorMethod) { 4136 iterator = getIterator(object, iteratorMethod); 4137 next = iterator.next; 4138 while (!(step = call(next, iterator)).done) { 4139 entryIterator = getIterator(anObject(step.value)); 4140 entryNext = entryIterator.next; 4141 if ( 4142 (first = call(entryNext, entryIterator)).done || 4143 (second = call(entryNext, entryIterator)).done || 4144 !call(entryNext, entryIterator).done 4145 ) throw new TypeError('Expected sequence with length 2'); 4146 push(entries, { key: $toString(first.value), value: $toString(second.value) }); 4147 } 4148 } else for (var key in object) if (hasOwn(object, key)) { 4149 push(entries, { key: key, value: $toString(object[key]) }); 4150 } 4151 }, 4152 parseQuery: function (query) { 4153 if (query) { 4154 var entries = this.entries; 4155 var attributes = split(query, '&'); 4156 var index = 0; 4157 var attribute, entry; 4158 while (index < attributes.length) { 4159 attribute = attributes[index++]; 4160 if (attribute.length) { 4161 entry = split(attribute, '='); 4162 push(entries, { 4163 key: decode(shift(entry)), 4164 value: decode
vendor: 8,246 bytes, lines 4164-4402
4164(join(entry, '=')) 4165 }); 4166 } 4167 } 4168 } 4169 }, 4170 serialize: function () { 4171 var entries = this.entries; 4172 var result = []; 4173 var index = 0; 4174 var entry; 4175 while (index < entries.length) { 4176 entry = entries[index++]; 4177 push(result, serialize(entry.key) + '=' + serialize(entry.value)); 4178 } return join(result, '&'); 4179 }, 4180 update: function () { 4181 this.entries.length = 0; 4182 this.parseQuery(this.url.query); 4183 }, 4184 updateURL: function () { 4185 if (this.url) this.url.update(); 4186 } 4187}; 4188 4189// `URLSearchParams` constructor 4190// https://url.spec.whatwg.org/#interface-urlsearchparams 4191var URLSearchParamsConstructor = function URLSearchParams(/* init */) { 4192 anInstance(this, URLSearchParamsPrototype); 4193 var init = arguments.length > 0 ? arguments[0] : undefined; 4194 var state = setInternalState(this, new URLSearchParamsState(init)); 4195 if (!DESCRIPTORS) this.size = state.entries.length; 4196}; 4197 4198var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype; 4199 4200defineBuiltIns(URLSearchParamsPrototype, { 4201 // `URLSearchParams.prototype.append` method 4202 // https://url.spec.whatwg.org/#dom-urlsearchparams-append 4203 append: function append(name, value) { 4204 var state = getInternalParamsState(this); 4205 validateArgumentsLength(arguments.length, 2); 4206 push(state.entries, { key: $toString(name), value: $toString(value) }); 4207 if (!DESCRIPTORS) this.size++; 4208 state.updateURL(); 4209 }, 4210 // `URLSearchParams.prototype.delete` method 4211 // https://url.spec.whatwg.org/#dom-urlsearchparams-delete 4212 'delete': function (name /* , value */) { 4213 var state = getInternalParamsState(this); 4214 var length = validateArgumentsLength(arguments.length, 1); 4215 var entries = state.entries; 4216 var key = $toString(name); 4217 var $value = length < 2 ? undefined : arguments[1]; 4218 var value = $value === undefined ? $value : $toString($value); 4219 var index = 0; 4220 while (index < entries.length) { 4221 var entry = entries[index]; 4222 if (entry.key === key && (value === undefined || entry.value === value)) { 4223 splice(entries, index, 1); 4224 } else index++; 4225 } 4226 if (!DESCRIPTORS) this.size = entries.length; 4227 state.updateURL(); 4228 }, 4229 // `URLSearchParams.prototype.get` method 4230 // https://url.spec.whatwg.org/#dom-urlsearchparams-get 4231 get: function get(name) { 4232 var entries = getInternalParamsState(this).entries; 4233 validateArgumentsLength(arguments.length, 1); 4234 var key = $toString(name); 4235 var index = 0; 4236 for (; index < entries.length; index++) { 4237 if (entries[index].key === key) return entries[index].value; 4238 } 4239 return null; 4240 }, 4241 // `URLSearchParams.prototype.getAll` method 4242 // https://url.spec.whatwg.org/#dom-urlsearchparams-getall 4243 getAll: function getAll(name) { 4244 var entries = getInternalParamsState(this).entries; 4245 validateArgumentsLength(arguments.length, 1); 4246 var key = $toString(name); 4247 var result = []; 4248 var index = 0; 4249 for (; index < entries.length; index++) { 4250 if (entries[index].key === key) push(result, entries[index].value); 4251 } 4252 return result; 4253 }, 4254 // `URLSearchParams.prototype.has` method 4255 // https://url.spec.whatwg.org/#dom-urlsearchparams-has 4256 has: function has(name /* , value */) { 4257 var entries = getInternalParamsState(this).entries; 4258 var length = validateArgumentsLength(arguments.length, 1); 4259 var key = $toString(name); 4260 var $value = length < 2 ? undefined : arguments[1]; 4261 var value = $value === undefined ? $value : $toString($value); 4262 var index = 0; 4263 while (index < entries.length) { 4264 var entry = entries[index++]; 4265 if (entry.key === key && (value === undefined || entry.value === value)) return true; 4266 } 4267 return false; 4268 }, 4269 // `URLSearchParams.prototype.set` method 4270 // https://url.spec.whatwg.org/#dom-urlsearchparams-set 4271 set: function set(name, value) { 4272 var state = getInternalParamsState(this); 4273 validateArgumentsLength(arguments.length, 2); 4274 var entries = state.entries; 4275 var found = false; 4276 var key = $toString(name); 4277 var val = $toString(value); 4278 var index = 0; 4279 var entry; 4280 for (; index < entries.length; index++) { 4281 entry = entries[index]; 4282 if (entry.key === key) { 4283 if (found) splice(entries, index--, 1); 4284 else { 4285 found = true; 4286 entry.value = val; 4287 } 4288 } 4289 } 4290 if (!found) push(entries, { key: key, value: val }); 4291 if (!DESCRIPTORS) this.size = entries.length; 4292 state.updateURL(); 4293 }, 4294 // `URLSearchParams.prototype.sort` method 4295 // https://url.spec.whatwg.org/#dom-urlsearchparams-sort 4296 sort: function sort() { 4297 var state = getInternalParamsState(this); 4298 arraySort(state.entries, function (a, b) { 4299 return a.key > b.key ? 1 : -1; 4300 }); 4301 state.updateURL(); 4302 }, 4303 // `URLSearchParams.prototype.forEach` method 4304 forEach: function forEach(callback /* , thisArg */) { 4305 var entries = getInternalParamsState(this).entries; 4306 var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined); 4307 var index = 0; 4308 var entry; 4309 while (index < entries.length) { 4310 entry = entries[index++]; 4311 boundFunction(entry.value, entry.key, this); 4312 } 4313 }, 4314 // `URLSearchParams.prototype.keys` method 4315 keys: function keys() { 4316 return new URLSearchParamsIterator(this, 'keys'); 4317 }, 4318 // `URLSearchParams.prototype.values` method 4319 values: function values() { 4320 return new URLSearchParamsIterator(this, 'values'); 4321 }, 4322 // `URLSearchParams.prototype.entries` method 4323 entries: function entries() { 4324 return new URLSearchParamsIterator(this, 'entries'); 4325 } 4326}, { enumerable: true }); 4327 4328// `URLSearchParams.prototype[@@iterator]` method 4329defineBuiltIn(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' }); 4330 4331// `URLSearchParams.prototype.toString` method 4332// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior 4333defineBuiltIn(URLSearchParamsPrototype, 'toString', function toString() { 4334 return getInternalParamsState(this).serialize(); 4335}, { enumerable: true }); 4336 4337// `URLSearchParams.prototype.size` getter 4338// https://url.spec.whatwg.org/#dom-urlsearchparams-size 4339if (DESCRIPTORS) defineBuiltInAccessor(URLSearchParamsPrototype, 'size', { 4340 get: function size() { 4341 return getInternalParamsState(this).entries.length; 4342 }, 4343 configurable: true, 4344 enumerable: true 4345}); 4346 4347setToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS); 4348 4349$({ global: true, constructor: true, forced: !USE_NATIVE_URL }, { 4350 URLSearchParams: URLSearchParamsConstructor 4351}); 4352 4353// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams` 4354if (!USE_NATIVE_URL && isCallable(Headers)) { 4355 var headersHas = uncurryThis(HeadersPrototype.has); 4356 var headersSet = uncurryThis(HeadersPrototype.set); 4357 4358 var wrapRequestOptions = function (init) { 4359 if (isObject(init)) { 4360 var body = init.body; 4361 var headers; 4362 if (classof(body) === URL_SEARCH_PARAMS) { 4363 headers = init.headers ? new Headers(init.headers) : new Headers(); 4364 if (!headersHas(headers, 'content-type')) { 4365 headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8'); 4366 } 4367 return create(init, { 4368 body: createPropertyDescriptor(0, $toString(body)), 4369 headers: createPropertyDescriptor(0, headers) 4370 }); 4371 } 4372 } return init; 4373 }; 4374 4375 if (isCallable(nativeFetch)) { 4376 $({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, { 4377 fetch: function fetch(input /* , init */) { 4378 return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); 4379 } 4380 }); 4381 } 4382 4383 if (isCallable(NativeRequest)) { 4384 var RequestConstructor = function Request(input /* , init */) { 4385 anInstance(this, RequestPrototype); 4386 return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); 4387 }; 4388 4389 RequestPrototype.constructor = RequestConstructor; 4390 RequestConstructor.prototype = RequestPrototype; 4391 4392 $({ global: true, constructor: true, dontCallGetSet: true, forced: true }, { 4393 Request: RequestConstructor 4394 }); 4395 } 4396} 4397 4398module.exports = { 4399 URLSearchParams: URLSearchParamsConstructor, 4400 getState: getInternalParamsState 4401}; 4402
vendor: 9,310 bytes, lines 4403-4700
4403 4404/***/ }), 4405 4406/***/ 72641: 4407/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 4408 4409 4410// TODO: Remove this module from `core-js@4` since it's replaced to module below 4411__webpack_require__(39761); 4412 4413 4414/***/ }), 4415 4416/***/ 20129: 4417/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 4418 4419 4420// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` 4421__webpack_require__(7444); 4422var $ = __webpack_require__(31069); 4423var DESCRIPTORS = __webpack_require__(92671); 4424var USE_NATIVE_URL = __webpack_require__(95608); 4425var globalThis = __webpack_require__(74200); 4426var bind = __webpack_require__(1428); 4427var uncurryThis = __webpack_require__(24354); 4428var defineBuiltIn = __webpack_require__(12184); 4429var defineBuiltInAccessor = __webpack_require__(39927); 4430var anInstance = __webpack_require__(18137); 4431var hasOwn = __webpack_require__(27492); 4432var assign = __webpack_require__(18368); 4433var arrayFrom = __webpack_require__(51492); 4434var arraySlice = __webpack_require__(85013); 4435var codeAt = (__webpack_require__(6746).codeAt); 4436var toASCII = __webpack_require__(65700); 4437var $toString = __webpack_require__(19531); 4438var setToStringTag = __webpack_require__(23391); 4439var validateArgumentsLength = __webpack_require__(13057); 4440var URLSearchParamsModule = __webpack_require__(39761); 4441var InternalStateModule = __webpack_require__(26712); 4442 4443var setInternalState = InternalStateModule.set; 4444var getInternalURLState = InternalStateModule.getterFor('URL'); 4445var URLSearchParams = URLSearchParamsModule.URLSearchParams; 4446var getInternalSearchParamsState = URLSearchParamsModule.getState; 4447 4448var NativeURL = globalThis.URL; 4449var TypeError = globalThis.TypeError; 4450var encodeURIComponent = globalThis.encodeURIComponent; 4451var parseInt = globalThis.parseInt; 4452var floor = Math.floor; 4453var pow = Math.pow; 4454var charAt = uncurryThis(''.charAt); 4455var exec = uncurryThis(/./.exec); 4456var join = uncurryThis([].join); 4457var numberToString = uncurryThis(1.1.toString); 4458var pop = uncurryThis([].pop); 4459var push = uncurryThis([].push); 4460var replace = uncurryThis(''.replace); 4461var shift = uncurryThis([].shift); 4462var split = uncurryThis(''.split); 4463var stringSlice = uncurryThis(''.slice); 4464var toLowerCase = uncurryThis(''.toLowerCase); 4465var unshift = uncurryThis([].unshift); 4466 4467var INVALID_AUTHORITY = 'Invalid authority'; 4468var INVALID_SCHEME = 'Invalid scheme'; 4469var INVALID_HOST = 'Invalid host'; 4470var INVALID_PORT = 'Invalid port'; 4471 4472var ALPHA = /[a-z]/i; 4473var ALPHANUMERIC_PLUS_MINUS_DOT = /[\d+\-.a-z]/i; 4474var DIGIT = /\d/; 4475var HEX_START = /^0x/i; 4476var OCT = /^[0-7]+$/; 4477var DEC = /^\d+$/; 4478var HEX = /^[\da-f]+$/i; 4479/* eslint-disable regexp/no-control-character -- safe */ 4480var FORBIDDEN_HOST_CODE_POINT = /[\0\t\n\r #%/:<>?@[\\\]^|]/; 4481var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\0\t\n\r #/:<>?@[\\\]^|]/; 4482var LEADING_C0_CONTROL_OR_SPACE = /^[\u0000-\u0020]+/; 4483var TRAILING_C0_CONTROL_OR_SPACE = /(^|[^\u0000-\u0020])[\u0000-\u0020]+$/; 4484var TAB_AND_NEW_LINE = /[\t\n\r]/g; 4485/* eslint-enable regexp/no-control-character -- safe */ 4486// eslint-disable-next-line no-unassigned-vars -- expected `undefined` value 4487var EOF; 4488 4489// https://url.spec.whatwg.org/#ends-in-a-number-checker 4490var endsInNumber = function (input) { 4491 var parts = split(input, '.'); 4492 var last, hexPart; 4493 if (parts[parts.length - 1] === '') { 4494 if (parts.length === 1) return false; 4495 parts.length--; 4496 } 4497 last = parts[parts.length - 1]; 4498 if (exec(DEC, last)) return true; 4499 if (exec(HEX_START, last)) { 4500 hexPart = stringSlice(last, 2); 4501 return hexPart === '' || !!exec(HEX, hexPart); 4502 } 4503 return false; 4504}; 4505 4506// https://url.spec.whatwg.org/#concept-ipv4-parser 4507var parseIPv4 = function (input) { 4508 var parts = split(input, '.'); 4509 var partsLength, numbers, index, part, radix, number, ipv4; 4510 if (parts.length && parts[parts.length - 1] === '') { 4511 parts.length--; 4512 } 4513 partsLength = parts.length; 4514 if (partsLength > 4) return null; 4515 numbers = []; 4516 for (index = 0; index < partsLength; index++) { 4517 part = parts[index]; 4518 if (part === '') return null; 4519 radix = 10; 4520 if (part.length > 1 && charAt(part, 0) === '0') { 4521 radix = exec(HEX_START, part) ? 16 : 8; 4522 part = stringSlice(part, radix === 8 ? 1 : 2); 4523 } 4524 if (part === '') { 4525 number = 0; 4526 } else { 4527 if (!exec(radix === 10 ? DEC : radix === 8 ? OCT : HEX, part)) return null; 4528 number = parseInt(part, radix); 4529 } 4530 push(numbers, number); 4531 } 4532 for (index = 0; index < partsLength; index++) { 4533 number = numbers[index]; 4534 if (index === partsLength - 1) { 4535 if (number >= pow(256, 5 - partsLength)) return null; 4536 } else if (number > 255) return null; 4537 } 4538 ipv4 = pop(numbers); 4539 for (index = 0; index < numbers.length; index++) { 4540 ipv4 += numbers[index] * pow(256, 3 - index); 4541 } 4542 return ipv4; 4543}; 4544 4545// https://url.spec.whatwg.org/#concept-ipv6-parser 4546// eslint-disable-next-line max-statements -- TODO 4547var parseIPv6 = function (input) { 4548 var address = [0, 0, 0, 0, 0, 0, 0, 0]; 4549 var pieceIndex = 0; 4550 var compress = null; 4551 var pointer = 0; 4552 var value, length, numbersSeen, ipv4Piece, number, swaps, swap; 4553 4554 var chr = function () { 4555 return charAt(input, pointer); 4556 }; 4557 4558 if (chr() === ':') { 4559 if (charAt(input, 1) !== ':') return; 4560 pointer += 2; 4561 pieceIndex++; 4562 compress = pieceIndex; 4563 } 4564 while (chr()) { 4565 if (pieceIndex === 8) return; 4566 if (chr() === ':') { 4567 if (compress !== null) return; 4568 pointer++; 4569 pieceIndex++; 4570 compress = pieceIndex; 4571 continue; 4572 } 4573 value = length = 0; 4574 while (length < 4 && exec(HEX, chr())) { 4575 value = value * 16 + parseInt(chr(), 16); 4576 pointer++; 4577 length++; 4578 } 4579 if (chr() === '.') { 4580 if (length === 0) return; 4581 pointer -= length; 4582 if (pieceIndex > 6) return; 4583 numbersSeen = 0; 4584 while (chr()) { 4585 ipv4Piece = null; 4586 if (numbersSeen > 0) { 4587 if (chr() === '.' && numbersSeen < 4) pointer++; 4588 else return; 4589 } 4590 if (!exec(DIGIT, chr())) return; 4591 while (exec(DIGIT, chr())) { 4592 number = parseInt(chr(), 10); 4593 if (ipv4Piece === null) ipv4Piece = number; 4594 else if (ipv4Piece === 0) return; 4595 else ipv4Piece = ipv4Piece * 10 + number; 4596 if (ipv4Piece > 255) return; 4597 pointer++; 4598 } 4599 address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece; 4600 numbersSeen++; 4601 if (numbersSeen === 2 || numbersSeen === 4) pieceIndex++; 4602 } 4603 if (numbersSeen !== 4) return; 4604 break; 4605 } else if (chr() === ':') { 4606 pointer++; 4607 if (!chr()) return; 4608 } else if (chr()) return; 4609 address[pieceIndex++] = value; 4610 } 4611 if (compress !== null) { 4612 swaps = pieceIndex - compress; 4613 pieceIndex = 7; 4614 while (pieceIndex !== 0 && swaps > 0) { 4615 swap = address[pieceIndex]; 4616 address[pieceIndex--] = address[compress + swaps - 1]; 4617 address[compress + --swaps] = swap; 4618 } 4619 } else if (pieceIndex !== 8) return; 4620 return address; 4621}; 4622 4623var findLongestZeroSequence = function (ipv6) { 4624 var maxIndex = null; 4625 var maxLength = 1; 4626 var currStart = null; 4627 var currLength = 0; 4628 var index = 0; 4629 for (; index < 8; index++) { 4630 if (ipv6[index] !== 0) { 4631 if (currLength > maxLength) { 4632 maxIndex = currStart; 4633 maxLength = currLength; 4634 } 4635 currStart = null; 4636 currLength = 0; 4637 } else { 4638 if (currStart === null) currStart = index; 4639 ++currLength; 4640 } 4641 } 4642 return currLength > maxLength ? currStart : maxIndex; 4643}; 4644 4645// https://url.spec.whatwg.org/#host-serializing 4646var serializeHost = function (host) { 4647 var result, index, compress, ignore0; 4648 4649 // ipv4 4650 if (typeof host == 'number') { 4651 result = []; 4652 for (index = 0; index < 4; index++) { 4653 unshift(result, host % 256); 4654 host = floor(host / 256); 4655 } 4656 return join(result, '.'); 4657 } 4658 4659 // ipv6 4660 if (typeof host == 'object') { 4661 result = ''; 4662 compress = findLongestZeroSequence(host); 4663 for (index = 0; index < 8; index++) { 4664 if (ignore0 && host[index] === 0) continue; 4665 if (ignore0) ignore0 = false; 4666 if (compress === index) { 4667 result += index ? ':' : '::'; 4668 ignore0 = true; 4669 } else { 4670 result += numberToString(host[index], 16); 4671 if (index < 7) result += ':'; 4672 } 4673 } 4674 return '[' + result + ']'; 4675 } 4676 4677 return host; 4678}; 4679 4680var C0ControlPercentEncodeSet = {}; 4681var queryPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, { 4682 ' ': 1, '"': 1, '#': 1, '<': 1, '>': 1 4683}); 4684var specialQueryPercentEncodeSet = assign({}, queryPercentEncodeSet, { 4685 "'": 1 4686}); 4687var fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, { 4688 ' ': 1, '"': 1, '<': 1, '>': 1, '`': 1 4689}); 4690var pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, { 4691 '#': 1, '?': 1, '{': 1, '}': 1, '^': 1 4692}); 4693var userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, { 4694 '/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\': 1, ']': 1, '^': 1, '|': 1 4695}); 4696 4697var percentEncode = function (chr, set) { 4698 var code = codeAt(chr, 0); 4699 // encodeURIComponent does not encode ', which is in the special-query percent-encode set 4700 return code >= 0x20 && code < 0x7F && !hasOwn(set, chr) ? chr : chr === "'" && hasOwn(set, chr) ? '%27' : encodeURIComponent
vendor: 8,654 bytes, lines 4700-4972
4700(chr); 4701}; 4702 4703// https://url.spec.whatwg.org/#special-scheme 4704var specialSchemes = { 4705 ftp: 21, 4706 file: null, 4707 http: 80, 4708 https: 443, 4709 ws: 80, 4710 wss: 443 4711}; 4712 4713// https://url.spec.whatwg.org/#windows-drive-letter 4714var isWindowsDriveLetter = function (string, normalized) { 4715 var second; 4716 return string.length === 2 && exec(ALPHA, charAt(string, 0)) 4717 && ((second = charAt(string, 1)) === ':' || (!normalized && second === '|')); 4718}; 4719 4720// https://url.spec.whatwg.org/#start-with-a-windows-drive-letter 4721var startsWithWindowsDriveLetter = function (string) { 4722 var third; 4723 return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && ( 4724 string.length === 2 || 4725 ((third = charAt(string, 2)) === '/' || third === '\\' || third === '?' || third === '#') 4726 ); 4727}; 4728 4729// https://url.spec.whatwg.org/#single-dot-path-segment 4730var isSingleDot = function (segment) { 4731 return segment === '.' || toLowerCase(segment) === '%2e'; 4732}; 4733 4734// https://url.spec.whatwg.org/#double-dot-path-segment 4735var isDoubleDot = function (segment) { 4736 segment = toLowerCase(segment); 4737 return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e'; 4738}; 4739 4740// States: 4741var SCHEME_START = {}; 4742var SCHEME = {}; 4743var NO_SCHEME = {}; 4744var SPECIAL_RELATIVE_OR_AUTHORITY = {}; 4745var PATH_OR_AUTHORITY = {}; 4746var RELATIVE = {}; 4747var RELATIVE_SLASH = {}; 4748var SPECIAL_AUTHORITY_SLASHES = {}; 4749var SPECIAL_AUTHORITY_IGNORE_SLASHES = {}; 4750var AUTHORITY = {}; 4751var HOST = {}; 4752var HOSTNAME = {}; 4753var PORT = {}; 4754var FILE = {}; 4755var FILE_SLASH = {}; 4756var FILE_HOST = {}; 4757var PATH_START = {}; 4758var PATH = {}; 4759var CANNOT_BE_A_BASE_URL_PATH = {}; 4760var QUERY = {}; 4761var FRAGMENT = {}; 4762 4763var URLState = function (url, isBase, base) { 4764 var urlString = $toString(url); 4765 var baseState, failure, searchParams; 4766 if (isBase) { 4767 failure = this.parse(urlString); 4768 if (failure) throw new TypeError(failure); 4769 this.searchParams = null; 4770 } else { 4771 if (base !== undefined) baseState = new URLState(base, true); 4772 failure = this.parse(urlString, null, baseState); 4773 if (failure) throw new TypeError(failure); 4774 searchParams = getInternalSearchParamsState(new URLSearchParams()); 4775 searchParams.bindURL(this); 4776 this.searchParams = searchParams; 4777 } 4778}; 4779 4780URLState.prototype = { 4781 type: 'URL', 4782 // https://url.spec.whatwg.org/#url-parsing 4783 // eslint-disable-next-line max-statements -- TODO 4784 parse: function (input, stateOverride, base) { 4785 var url = this; 4786 var state = stateOverride || SCHEME_START; 4787 var pointer = 0; 4788 var buffer = ''; 4789 var seenAt = false; 4790 var seenBracket = false; 4791 var seenPasswordToken = false; 4792 var codePoints, chr, bufferCodePoints, failure; 4793 4794 input = $toString(input); 4795 4796 if (!stateOverride) { 4797 url.scheme = ''; 4798 url.username = ''; 4799 url.password = ''; 4800 url.host = null; 4801 url.port = null; 4802 url.path = []; 4803 url.query = null; 4804 url.fragment = null; 4805 url.cannotBeABaseURL = false; 4806 input = replace(input, LEADING_C0_CONTROL_OR_SPACE, ''); 4807 input = replace(input, TRAILING_C0_CONTROL_OR_SPACE, '$1'); 4808 } 4809 4810 input = replace(input, TAB_AND_NEW_LINE, ''); 4811 4812 codePoints = arrayFrom(input); 4813 4814 while (pointer <= codePoints.length) { 4815 chr = codePoints[pointer]; 4816 switch (state) { 4817 case SCHEME_START: 4818 if (chr && exec(ALPHA, chr)) { 4819 buffer += toLowerCase(chr); 4820 state = SCHEME; 4821 } else if (!stateOverride) { 4822 state = NO_SCHEME; 4823 continue; 4824 } else return INVALID_SCHEME; 4825 break; 4826 4827 case SCHEME: 4828 if (chr && exec(ALPHANUMERIC_PLUS_MINUS_DOT, chr)) { 4829 buffer += toLowerCase(chr); 4830 } else if (chr === ':') { 4831 if (stateOverride && ( 4832 (url.isSpecial() !== hasOwn(specialSchemes, buffer)) || 4833 (buffer === 'file' && (url.includesCredentials() || url.port !== null)) || 4834 (url.scheme === 'file' && url.host === '') 4835 )) return; 4836 url.scheme = buffer; 4837 if (stateOverride) { 4838 if (url.isSpecial() && specialSchemes[url.scheme] === url.port) url.port = null; 4839 return; 4840 } 4841 buffer = ''; 4842 if (url.scheme === 'file') { 4843 state = FILE; 4844 } else if (url.isSpecial() && base && base.scheme === url.scheme) { 4845 state = SPECIAL_RELATIVE_OR_AUTHORITY; 4846 } else if (url.isSpecial()) { 4847 state = SPECIAL_AUTHORITY_SLASHES; 4848 } else if (codePoints[pointer + 1] === '/') { 4849 state = PATH_OR_AUTHORITY; 4850 pointer++; 4851 } else { 4852 url.cannotBeABaseURL = true; 4853 push(url.path, ''); 4854 state = CANNOT_BE_A_BASE_URL_PATH; 4855 } 4856 } else if (!stateOverride) { 4857 buffer = ''; 4858 state = NO_SCHEME; 4859 pointer = 0; 4860 continue; 4861 } else return INVALID_SCHEME; 4862 break; 4863 4864 case NO_SCHEME: 4865 if (!base || (base.cannotBeABaseURL && chr !== '#')) return INVALID_SCHEME; 4866 if (base.cannotBeABaseURL && chr === '#') { 4867 url.scheme = base.scheme; 4868 url.path = arraySlice(base.path); 4869 url.query = base.query; 4870 url.fragment = ''; 4871 url.cannotBeABaseURL = true; 4872 state = FRAGMENT; 4873 break; 4874 } 4875 state = base.scheme === 'file' ? FILE : RELATIVE; 4876 continue; 4877 4878 case SPECIAL_RELATIVE_OR_AUTHORITY: 4879 if (chr === '/' && codePoints[pointer + 1] === '/') { 4880 state = SPECIAL_AUTHORITY_IGNORE_SLASHES; 4881 pointer++; 4882 } else { 4883 state = RELATIVE; 4884 continue; 4885 } break; 4886 4887 case PATH_OR_AUTHORITY: 4888 if (chr === '/') { 4889 state = AUTHORITY; 4890 break; 4891 } else { 4892 state = PATH; 4893 continue; 4894 } 4895 4896 case RELATIVE: 4897 url.scheme = base.scheme; 4898 if (chr === EOF) { 4899 url.username = base.username; 4900 url.password = base.password; 4901 url.host = base.host; 4902 url.port = base.port; 4903 url.path = arraySlice(base.path); 4904 url.query = base.query; 4905 } else if (chr === '/' || (chr === '\\' && url.isSpecial())) { 4906 state = RELATIVE_SLASH; 4907 } else if (chr === '?') { 4908 url.username = base.username; 4909 url.password = base.password; 4910 url.host = base.host; 4911 url.port = base.port; 4912 url.path = arraySlice(base.path); 4913 url.query = ''; 4914 state = QUERY; 4915 } else if (chr === '#') { 4916 url.username = base.username; 4917 url.password = base.password; 4918 url.host = base.host; 4919 url.port = base.port; 4920 url.path = arraySlice(base.path); 4921 url.query = base.query; 4922 url.fragment = ''; 4923 state = FRAGMENT; 4924 } else { 4925 url.username = base.username; 4926 url.password = base.password; 4927 url.host = base.host; 4928 url.port = base.port; 4929 url.path = arraySlice(base.path); 4930 if (url.path.length) url.path.length--; 4931 state = PATH; 4932 continue; 4933 } break; 4934 4935 case RELATIVE_SLASH: 4936 if (url.isSpecial() && (chr === '/' || chr === '\\')) { 4937 state = SPECIAL_AUTHORITY_IGNORE_SLASHES; 4938 } else if (chr === '/') { 4939 state = AUTHORITY; 4940 } else { 4941 url.username = base.username; 4942 url.password = base.password; 4943 url.host = base.host; 4944 url.port = base.port; 4945 state = PATH; 4946 continue; 4947 } break; 4948 4949 case SPECIAL_AUTHORITY_SLASHES: 4950 state = SPECIAL_AUTHORITY_IGNORE_SLASHES; 4951 if (chr !== '/' || codePoints[pointer + 1] !== '/') continue; 4952 pointer++; 4953 break; 4954 4955 case SPECIAL_AUTHORITY_IGNORE_SLASHES: 4956 if (chr !== '/' && chr !== '\\') { 4957 state = AUTHORITY; 4958 continue; 4959 } break; 4960 4961 case AUTHORITY: 4962 if (chr === '@') { 4963 if (seenAt) buffer = '%40' + buffer; 4964 seenAt = true; 4965 bufferCodePoints = arrayFrom(buffer); 4966 for (var i = 0; i < bufferCodePoints.length; i++) { 4967 var codePoint = bufferCodePoints[i]; 4968 if (codePoint === ':' && !seenPasswordToken) { 4969 seenPasswordToken = true; 4970 continue; 4971 } 4972 var encodedCodePoints =
vendor: 19,588 bytes, lines 4972-5522
4972percentEncode(codePoint, userinfoPercentEncodeSet); 4973 if (seenPasswordToken) url.password += encodedCodePoints; 4974 else url.username += encodedCodePoints; 4975 } 4976 buffer = ''; 4977 } else if ( 4978 chr === EOF || chr === '/' || chr === '?' || chr === '#' || 4979 (chr === '\\' && url.isSpecial()) 4980 ) { 4981 if (seenAt && buffer === '') return INVALID_AUTHORITY; 4982 pointer -= arrayFrom(buffer).length + 1; 4983 buffer = ''; 4984 state = HOST; 4985 } else buffer += chr; 4986 break; 4987 4988 case HOST: 4989 case HOSTNAME: 4990 if (stateOverride && url.scheme === 'file') { 4991 state = FILE_HOST; 4992 continue; 4993 } else if (chr === ':' && !seenBracket) { 4994 if (buffer === '') return INVALID_HOST; 4995 if (stateOverride === HOSTNAME) return; 4996 failure = url.parseHost(buffer); 4997 if (failure) return failure; 4998 buffer = ''; 4999 state = PORT; 5000 } else if ( 5001 chr === EOF || chr === '/' || chr === '?' || chr === '#' || 5002 (chr === '\\' && url.isSpecial()) 5003 ) { 5004 if (url.isSpecial() && buffer === '') return INVALID_HOST; 5005 if (stateOverride && buffer === '' && (url.includesCredentials() || url.port !== null)) return; 5006 failure = url.parseHost(buffer); 5007 if (failure) return failure; 5008 buffer = ''; 5009 state = PATH_START; 5010 if (stateOverride) return; 5011 continue; 5012 } else { 5013 if (chr === '[') seenBracket = true; 5014 else if (chr === ']') seenBracket = false; 5015 buffer += chr; 5016 } break; 5017 5018 case PORT: 5019 if (exec(DIGIT, chr)) { 5020 buffer += chr; 5021 } else if ( 5022 chr === EOF || chr === '/' || chr === '?' || chr === '#' || 5023 (chr === '\\' && url.isSpecial()) || 5024 stateOverride 5025 ) { 5026 if (buffer !== '') { 5027 var port = parseInt(buffer, 10); 5028 if (port > 0xFFFF) return INVALID_PORT; 5029 url.port = (url.isSpecial() && port === specialSchemes[url.scheme]) ? null : port; 5030 buffer = ''; 5031 } 5032 if (stateOverride) return; 5033 state = PATH_START; 5034 continue; 5035 } else return INVALID_PORT; 5036 break; 5037 5038 case FILE: 5039 url.scheme = 'file'; 5040 url.host = ''; 5041 if (chr === '/' || chr === '\\') state = FILE_SLASH; 5042 else if (base && base.scheme === 'file') { 5043 switch (chr) { 5044 case EOF: 5045 url.host = base.host; 5046 url.path = arraySlice(base.path); 5047 url.query = base.query; 5048 break; 5049 case '?': 5050 url.host = base.host; 5051 url.path = arraySlice(base.path); 5052 url.query = ''; 5053 state = QUERY; 5054 break; 5055 case '#': 5056 url.host = base.host; 5057 url.path = arraySlice(base.path); 5058 url.query = base.query; 5059 url.fragment = ''; 5060 state = FRAGMENT; 5061 break; 5062 default: 5063 url.host = base.host; 5064 if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) { 5065 url.path = arraySlice(base.path); 5066 url.shortenPath(); 5067 } 5068 state = PATH; 5069 continue; 5070 } 5071 } else { 5072 state = PATH; 5073 continue; 5074 } break; 5075 5076 case FILE_SLASH: 5077 if (chr === '/' || chr === '\\') { 5078 state = FILE_HOST; 5079 break; 5080 } 5081 if (base && base.scheme === 'file') { 5082 url.host = base.host; 5083 if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), '')) 5084 && isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]); 5085 } 5086 state = PATH; 5087 continue; 5088 5089 case FILE_HOST: 5090 if (chr === EOF || chr === '/' || chr === '\\' || chr === '?' || chr === '#') { 5091 if (!stateOverride && isWindowsDriveLetter(buffer)) { 5092 state = PATH; 5093 } else if (buffer === '') { 5094 url.host = ''; 5095 if (stateOverride) return; 5096 state = PATH_START; 5097 } else { 5098 failure = url.parseHost(buffer); 5099 if (failure) return failure; 5100 if (url.host === 'localhost') url.host = ''; 5101 if (stateOverride) return; 5102 buffer = ''; 5103 state = PATH_START; 5104 } continue; 5105 } else buffer += chr; 5106 break; 5107 5108 case PATH_START: 5109 if (url.isSpecial()) { 5110 state = PATH; 5111 if (chr !== '/' && chr !== '\\') continue; 5112 } else if (!stateOverride && chr === '?') { 5113 url.query = ''; 5114 state = QUERY; 5115 } else if (!stateOverride && chr === '#') { 5116 url.fragment = ''; 5117 state = FRAGMENT; 5118 } else if (chr !== EOF) { 5119 state = PATH; 5120 if (chr !== '/') continue; 5121 } break; 5122 5123 case PATH: 5124 if ( 5125 chr === EOF || chr === '/' || 5126 (chr === '\\' && url.isSpecial()) || 5127 (!stateOverride && (chr === '?' || chr === '#')) 5128 ) { 5129 if (isDoubleDot(buffer)) { 5130 url.shortenPath(); 5131 if (chr !== '/' && !(chr === '\\' && url.isSpecial())) { 5132 push(url.path, ''); 5133 } 5134 } else if (isSingleDot(buffer)) { 5135 if (chr !== '/' && !(chr === '\\' && url.isSpecial())) { 5136 push(url.path, ''); 5137 } 5138 } else { 5139 if (url.scheme === 'file' && !url.path.length && isWindowsDriveLetter(buffer)) { 5140 if (url.host !== null && url.host !== '') url.host = ''; 5141 buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter 5142 } 5143 push(url.path, buffer); 5144 } 5145 buffer = ''; 5146 if (url.scheme === 'file' && (chr === EOF || chr === '?' || chr === '#')) { 5147 while (url.path.length > 1 && url.path[0] === '') { 5148 shift(url.path); 5149 } 5150 } 5151 if (chr === '?') { 5152 url.query = ''; 5153 state = QUERY; 5154 } else if (chr === '#') { 5155 url.fragment = ''; 5156 state = FRAGMENT; 5157 } 5158 } else { 5159 buffer += percentEncode(chr, pathPercentEncodeSet); 5160 } break; 5161 5162 case CANNOT_BE_A_BASE_URL_PATH: 5163 if (chr === '?') { 5164 url.query = ''; 5165 state = QUERY; 5166 } else if (chr === '#') { 5167 url.fragment = ''; 5168 state = FRAGMENT; 5169 } else if (chr !== EOF) { 5170 url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet); 5171 } break; 5172 5173 case QUERY: 5174 if (!stateOverride && chr === '#') { 5175 url.fragment = ''; 5176 state = FRAGMENT; 5177 } else if (chr !== EOF) { 5178 url.query += percentEncode(chr, url.isSpecial() ? specialQueryPercentEncodeSet : queryPercentEncodeSet); 5179 } break; 5180 5181 case FRAGMENT: 5182 if (chr !== EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet); 5183 break; 5184 } 5185 5186 pointer++; 5187 } 5188 }, 5189 // https://url.spec.whatwg.org/#host-parsing 5190 parseHost: function (input) { 5191 var result, codePoints, index; 5192 if (charAt(input, 0) === '[') { 5193 if (charAt(input, input.length - 1) !== ']') return INVALID_HOST; 5194 result = parseIPv6(stringSlice(input, 1, -1)); 5195 if (!result) return INVALID_HOST; 5196 this.host = result; 5197 // opaque host 5198 } else if (!this.isSpecial()) { 5199 if (exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) return INVALID_HOST; 5200 result = ''; 5201 codePoints = arrayFrom(input); 5202 for (index = 0; index < codePoints.length; index++) { 5203 result += percentEncode(codePoints[index], C0ControlPercentEncodeSet); 5204 } 5205 this.host = result; 5206 } else { 5207 input = toASCII(input); 5208 if (exec(FORBIDDEN_HOST_CODE_POINT, input)) return INVALID_HOST; 5209 if (endsInNumber(input)) { 5210 result = parseIPv4(input); 5211 if (result === null) return INVALID_HOST; 5212 this.host = result; 5213 } else { 5214 this.host = input; 5215 } 5216 } 5217 }, 5218 // https://url.spec.whatwg.org/#cannot-have-a-username-password-port 5219 cannotHaveUsernamePasswordPort: function () { 5220 return this.host === null || this.host === '' || this.cannotBeABaseURL || this.scheme === 'file'; 5221 }, 5222 // https://url.spec.whatwg.org/#include-credentials 5223 includesCredentials: function () { 5224 return this.username !== '' || this.password !== ''; 5225 }, 5226 // https://url.spec.whatwg.org/#is-special 5227 isSpecial: function () { 5228 return hasOwn(specialSchemes, this.scheme); 5229 }, 5230 // https://url.spec.whatwg.org/#shorten-a-urls-path 5231 shortenPath: function () { 5232 var path = this.path; 5233 var pathSize = path.length; 5234 if (pathSize && (this.scheme !== 'file' || pathSize !== 1 || !isWindowsDriveLetter(path[0], true))) { 5235 path.length--; 5236 } 5237 }, 5238 // https://url.spec.whatwg.org/#concept-url-serializer 5239 serialize: function () { 5240 var url = this; 5241 var scheme = url.scheme; 5242 var username = url.username; 5243 var password = url.password; 5244 var host = url.host; 5245 var port = url.port; 5246 var path = url.path; 5247 var query = url.query; 5248 var fragment = url.fragment; 5249 var output = scheme + ':'; 5250 if (host !== null) { 5251 output += '//'; 5252 if (url.includesCredentials()) { 5253 output += username + (password ? ':' + password : '') + '@'; 5254 } 5255 output += serializeHost(host); 5256 if (port !== null) output += ':' + port; 5257 } else if (scheme === 'file') output += '//'; 5258 if (host === null && !url.cannotBeABaseURL && path.length > 1 && path[0] === '') output += '/.'; 5259 output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : ''; 5260 if (query !== null) output += '?' + query; 5261 if (fragment !== null) output += '#' + fragment; 5262 return output; 5263 }, 5264 // https://url.spec.whatwg.org/#dom-url-href 5265 setHref: function (href) { 5266 var failure = this.parse(href); 5267 if (failure) throw new TypeError(failure); 5268 this.searchParams.update(); 5269 }, 5270 // https://url.spec.whatwg.org/#dom-url-origin 5271 getOrigin: function () { 5272 var scheme = this.scheme; 5273 var port = this.port; 5274 if (scheme === 'blob') try { 5275 return new URLConstructor(this.path[0]).origin; 5276 } catch (error) { 5277 return 'null'; 5278 } 5279 if (scheme === 'file' || !this.isSpecial()) return 'null'; 5280 return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : ''); 5281 }, 5282 // https://url.spec.whatwg.org/#dom-url-protocol 5283 getProtocol: function () { 5284 return this.scheme + ':'; 5285 }, 5286 setProtocol: function (protocol) { 5287 this.parse($toString(protocol) + ':', SCHEME_START); 5288 }, 5289 // https://url.spec.whatwg.org/#dom-url-username 5290 getUsername: function () { 5291 return this.username; 5292 }, 5293 setUsername: function (username) { 5294 var codePoints = arrayFrom($toString(username)); 5295 if (this.cannotHaveUsernamePasswordPort()) return; 5296 this.username = ''; 5297 for (var i = 0; i < codePoints.length; i++) { 5298 this.username += percentEncode(codePoints[i], userinfoPercentEncodeSet); 5299 } 5300 }, 5301 // https://url.spec.whatwg.org/#dom-url-password 5302 getPassword: function () { 5303 return this.password; 5304 }, 5305 setPassword: function (password) { 5306 var codePoints = arrayFrom($toString(password)); 5307 if (this.cannotHaveUsernamePasswordPort()) return; 5308 this.password = ''; 5309 for (var i = 0; i < codePoints.length; i++) { 5310 this.password += percentEncode(codePoints[i], userinfoPercentEncodeSet); 5311 } 5312 }, 5313 // https://url.spec.whatwg.org/#dom-url-host 5314 getHost: function () { 5315 var host = this.host; 5316 var port = this.port; 5317 return host === null ? '' 5318 : port === null ? serializeHost(host) 5319 : serializeHost(host) + ':' + port; 5320 }, 5321 setHost: function (host) { 5322 if (this.cannotBeABaseURL) return; 5323 this.parse(host, HOST); 5324 }, 5325 // https://url.spec.whatwg.org/#dom-url-hostname 5326 getHostname: function () { 5327 var host = this.host; 5328 return host === null ? '' : serializeHost(host); 5329 }, 5330 setHostname: function (hostname) { 5331 if (this.cannotBeABaseURL) return; 5332 this.parse(hostname, HOSTNAME); 5333 }, 5334 // https://url.spec.whatwg.org/#dom-url-port 5335 getPort: function () { 5336 var port = this.port; 5337 return port === null ? '' : $toString(port); 5338 }, 5339 setPort: function (port) { 5340 if (this.cannotHaveUsernamePasswordPort()) return; 5341 port = $toString(port); 5342 if (port === '') this.port = null; 5343 else this.parse(port, PORT); 5344 }, 5345 // https://url.spec.whatwg.org/#dom-url-pathname 5346 getPathname: function () { 5347 var path = this.path; 5348 return this.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : ''; 5349 }, 5350 setPathname: function (pathname) { 5351 if (this.cannotBeABaseURL) return; 5352 this.path = []; 5353 this.parse(pathname, PATH_START); 5354 }, 5355 // https://url.spec.whatwg.org/#dom-url-search 5356 getSearch: function () { 5357 var query = this.query; 5358 return query ? '?' + query : ''; 5359 }, 5360 setSearch: function (search) { 5361 search = $toString(search); 5362 if (search === '') { 5363 this.query = null; 5364 } else { 5365 if (charAt(search, 0) === '?') search = stringSlice(search, 1); 5366 this.query = ''; 5367 this.parse(search, QUERY); 5368 } 5369 this.searchParams.update(); 5370 }, 5371 // https://url.spec.whatwg.org/#dom-url-searchparams 5372 getSearchParams: function () { 5373 return this.searchParams.facade; 5374 }, 5375 // https://url.spec.whatwg.org/#dom-url-hash 5376 getHash: function () { 5377 var fragment = this.fragment; 5378 return fragment ? '#' + fragment : ''; 5379 }, 5380 setHash: function (hash) { 5381 hash = $toString(hash); 5382 if (hash === '') { 5383 this.fragment = null; 5384 return; 5385 } 5386 if (charAt(hash, 0) === '#') hash = stringSlice(hash, 1); 5387 this.fragment = ''; 5388 this.parse(hash, FRAGMENT); 5389 }, 5390 update: function () { 5391 this.query = this.searchParams.serialize() || null; 5392 } 5393}; 5394 5395// `URL` constructor 5396// https://url.spec.whatwg.org/#url-class 5397var URLConstructor = function URL(url /* , base */) { 5398 var that = anInstance(this, URLPrototype); 5399 var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined; 5400 var state = setInternalState(that, new URLState(url, false, base)); 5401 if (!DESCRIPTORS) { 5402 that.href = state.serialize(); 5403 that.origin = state.getOrigin(); 5404 that.protocol = state.getProtocol(); 5405 that.username = state.getUsername(); 5406 that.password = state.getPassword(); 5407 that.host = state.getHost(); 5408 that.hostname = state.getHostname(); 5409 that.port = state.getPort(); 5410 that.pathname = state.getPathname(); 5411 that.search = state.getSearch(); 5412 that.searchParams = state.getSearchParams(); 5413 that.hash = state.getHash(); 5414 } 5415}; 5416 5417var URLPrototype = URLConstructor.prototype; 5418 5419var accessorDescriptor = function (getter, setter) { 5420 return { 5421 get: function () { 5422 return getInternalURLState(this)[getter](); 5423 }, 5424 set: setter && function (value) { 5425 return getInternalURLState(this)[setter](value); 5426 }, 5427 configurable: true, 5428 enumerable: true 5429 }; 5430}; 5431 5432if (DESCRIPTORS) { 5433 // `URL.prototype.href` accessors pair 5434 // https://url.spec.whatwg.org/#dom-url-href 5435 defineBuiltInAccessor(URLPrototype, 'href', accessorDescriptor('serialize', 'setHref')); 5436 // `URL.prototype.origin` getter 5437 // https://url.spec.whatwg.org/#dom-url-origin 5438 defineBuiltInAccessor(URLPrototype, 'origin', accessorDescriptor('getOrigin')); 5439 // `URL.prototype.protocol` accessors pair 5440 // https://url.spec.whatwg.org/#dom-url-protocol 5441 defineBuiltInAccessor(URLPrototype, 'protocol', accessorDescriptor('getProtocol', 'setProtocol')); 5442 // `URL.prototype.username` accessors pair 5443 // https://url.spec.whatwg.org/#dom-url-username 5444 defineBuiltInAccessor(URLPrototype, 'username', accessorDescriptor('getUsername', 'setUsername')); 5445 // `URL.prototype.password` accessors pair 5446 // https://url.spec.whatwg.org/#dom-url-password 5447 defineBuiltInAccessor(URLPrototype, 'password', accessorDescriptor('getPassword', 'setPassword')); 5448 // `URL.prototype.host` accessors pair 5449 // https://url.spec.whatwg.org/#dom-url-host 5450 defineBuiltInAccessor(URLPrototype, 'host', accessorDescriptor('getHost', 'setHost')); 5451 // `URL.prototype.hostname` accessors pair 5452 // https://url.spec.whatwg.org/#dom-url-hostname 5453 defineBuiltInAccessor(URLPrototype, 'hostname', accessorDescriptor('getHostname', 'setHostname')); 5454 // `URL.prototype.port` accessors pair 5455 // https://url.spec.whatwg.org/#dom-url-port 5456 defineBuiltInAccessor(URLPrototype, 'port', accessorDescriptor('getPort', 'setPort')); 5457 // `URL.prototype.pathname` accessors pair 5458 // https://url.spec.whatwg.org/#dom-url-pathname 5459 defineBuiltInAccessor(URLPrototype, 'pathname', accessorDescriptor('getPathname', 'setPathname')); 5460 // `URL.prototype.search` accessors pair 5461 // https://url.spec.whatwg.org/#dom-url-search 5462 defineBuiltInAccessor(URLPrototype, 'search', accessorDescriptor('getSearch', 'setSearch')); 5463 // `URL.prototype.searchParams` getter 5464 // https://url.spec.whatwg.org/#dom-url-searchparams 5465 defineBuiltInAccessor(URLPrototype, 'searchParams', accessorDescriptor('getSearchParams')); 5466 // `URL.prototype.hash` accessors pair 5467 // https://url.spec.whatwg.org/#dom-url-hash 5468 defineBuiltInAccessor(URLPrototype, 'hash', accessorDescriptor('getHash', 'setHash')); 5469} 5470 5471// `URL.prototype.toJSON` method 5472// https://url.spec.whatwg.org/#dom-url-tojson 5473defineBuiltIn(URLPrototype, 'toJSON', function toJSON() { 5474 return getInternalURLState(this).serialize(); 5475}, { enumerable: true }); 5476 5477// `URL.prototype.toString` method 5478// https://url.spec.whatwg.org/#URL-stringification-behavior 5479defineBuiltIn(URLPrototype, 'toString', function toString() { 5480 return getInternalURLState(this).serialize(); 5481}, { enumerable: true }); 5482 5483if (NativeURL) { 5484 var nativeCreateObjectURL = NativeURL.createObjectURL; 5485 var nativeRevokeObjectURL = NativeURL.revokeObjectURL; 5486 // `URL.createObjectURL` method 5487 // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL 5488 if (nativeCreateObjectURL) defineBuiltIn(URLConstructor, 'createObjectURL', bind(nativeCreateObjectURL, NativeURL)); 5489 // `URL.revokeObjectURL` method 5490 // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL 5491 if (nativeRevokeObjectURL) defineBuiltIn(URLConstructor, 'revokeObjectURL', bind(nativeRevokeObjectURL, NativeURL)); 5492} 5493 5494setToStringTag(URLConstructor, 'URL'); 5495 5496$({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, { 5497 URL: URLConstructor 5498}); 5499 5500 5501/***/ }), 5502 5503/***/ 1980: 5504/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 5505 5506 5507// TODO: Remove this module from `core-js@4` since it's replaced to module below 5508__webpack_require__(20129); 5509 5510 5511/***/ }), 5512 5513/***/ 59020: 5514/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 5515 5516 5517var $ = __webpack_require__(31069); 5518var call = __webpack_require__(78132); 5519 5520// `URL.prototype.toJSON` method 5521// https://url.spec.whatwg.org/#dom-url-tojson 5522$({ target: 'URL', proto: true, enumerable: true }, {
5523 toJSON: function toJSON() { 5524 return call(URL.prototype.toString, this); 5525 } 5526}); 5527 5528 5529/***/ }) 5530 5531/******/ }); 5532/************************************************************************/ 5533/******/ // The module cache 5534/******/ var __webpack_module_cache__ = {}; 5535/******/ 5536/******/ // The require function 5537/******/ function __webpack_require__(moduleId) { 5538/******/ // Check if module is in cache 5539/******/ var cachedModule = __webpack_module_cache__[moduleId]; 5540/******/ if (cachedModule !== undefined) { 5541/******/ return cachedModule.exports; 5542/******/ } 5543/******/ // Create a new module (and put it into the cache) 5544/******/ var module = __webpack_module_cache__[moduleId] = { 5545/******/ // no module.id needed 5546/******/ // no module.loaded needed 5547/******/ exports: {} 5548/******/ }; 5549/******/ 5550/******/ // Execute the module function 5551/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__); 5552/******/ 5553/******/ // Return the exports of the module 5554/******/ return module.exports; 5555/******/ } 5556/******/ 5557/************************************************************************/ 5558/******/ /* webpack/runtime/global */ 5559/******/ !function() { 5560/******/ __webpack_require__.g = (function() { 5561/******/ if (typeof globalThis === 'object') return globalThis; 5562/******/ try { 5563/******/ return this || new Function('return this')(); 5564/******/ } catch (e) { 5565/******/ if (typeof window === 'object') return window; 5566/******/ } 5567/******/ })(); 5568/******/ }(); 5569/******/ 5570/************************************************************************/ 5571var __webpack_exports__ = {}; 5572// This entry need to be wrapped in an IIFE because it need to be isolated against other modules in the chunk. 5573!function() { 5574 5575 5576var _swListeners = __webpack_require__(517); 5577/* eslint-disable no-restricted-globals */ 5578 5579self.addEventListener('push', event => { 5580 event.waitUntil((0, _swListeners.onPush)(event)); 5581}); 5582self.addEventListener('notificationclick', event => { 5583 event.waitUntil((0, _swListeners.onNotificationClick)(event)); 5584}); 5585self.addEventListener('message', event => { 5586 event.waitUntil((0, _swListeners.onMessage)(event)); 5587}); 5588}(); 5589/******/ })() 5590;
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.