1/******/ (function() { // webpackBootstrap 2/******/ var __webpack_modules__ = ({ 3 4/***/ 7757: 5/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6 7module.exports = __webpack_require__(5666); 8 9 10/***/ }), 11 12/***/ 732: 13/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { 14 15"use strict"; 16/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(5861); 17/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7757); 18/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__); 19/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1058); 20/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_1__); 21/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1539); 22/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__); 23/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(4747); 24/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_3__); 25/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8309); 26/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_4__); 27/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(4678); 28/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_5__); 29/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(9714); 30/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_6__); 31/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(6755); 32/* harmony import */ var core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_starts_with_js__WEBPACK_IMPORTED_MODULE_7__); 33/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(6699); 34/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_8__); 35/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(2023); 36/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_9__); 37 38 39 40 41 42 43 44 45 46 47 48 49/* global Micropayment gtag */ 50var igDonationContainer = document.querySelector('.donation'); // TODO: validation type and params as input attributes so there is no need for redundant js 51 52if (igDonationContainer) { 53 // amount page 54 var amountPage = {}; 55 amountPage.paymentInformationContainer = igDonationContainer.querySelector('.payment-information'); 56 amountPage.directDebitContainer = igDonationContainer.querySelector('.payment-information .direct-debit'); 57 amountPage.payPalInput = igDonationContainer.querySelector('[data-payment-method=p
57aypal]') || null; 58 amountPage.creditCardInput = igDonationContainer.querySelector('[data-payment-method=credit_card]'); 59 amountPage.amountContainer = igDonationContainer.querySelector('.amount-suggestions'); 60 amountPage.allAmountInputs = igDonationContainer.querySelectorAll('.amount-suggestions input[name=amount]'); 61 amountPage.customAmountInput = igDonationContainer.querySelector('.amount-suggestions input[name=custom-amount]'); 62 amountPage.allRhythmInputs = igDonationContainer.querySelectorAll('.rhythms input[name=rhythm]'); 63 amountPage.donateWithoutDataCheckbox = igDonationContainer.querySelector('[name=donate_without_data]'); 64 amountPage.accountHolderField = igDonationContainer.querySelector('[name=account_holder]'); 65 amountPage.ibanField = igDonationContainer.querySelector('[name=iban]'); 66 amountPage.bicField = igDonationContainer.querySelector('[name=bic]'); 67 amountPage.allPaymentMethods = igDonationContainer.querySelectorAll('.payment-methods [name=payment_methods]'); 68 amountPage.donorNameInput = window.pages[0].querySelector('[name=donor_name]'); 69 amountPage.graveyardInput = window.pages[0].querySelector('[name=graveyard_name]'); 70 amountPage.runContainer = igDonationContainer.querySelector('.run-suggestions'); 71 amountPage.allDistanceInputs = igDonationContainer.querySelectorAll('.run-suggestions input[name=distance]'); 72 amountPage.customDistanceeInput = igDonationContainer.querySelector('.run-suggestions input[name=custom-distance]'); 73 amountPage.paymentMethod = igDonationContainer.querySelector('#payment_method'); // flowerdonation details 74 75 amountPage.flowerDonationRecordInput = igDonationContainer.querySelector('input#flowerdonationRecord'); 76 amountPage.flowerDonationFlowersCountInput = igDonationContainer.querySelector('input#flowerdonationFlowersCount'); // donor certificate 77 78 amountPage.certificateEnableCheckbox = igDonationContainer.querySelector('input#donation_certificate_enable'); 79 amountPage.certificateFromInput = igDonationContainer.querySelector('input#donation_certificate_from'); 80 amountPage.certificateToInput = igDonationContainer.querySelector('input#donation_certificate_to'); 81 amountPage.certificateEmailInput = igDonationContainer.querySelector('input#donation_certificate_email'); 82 amountPage.certificateMessageTextarea = igDonationContainer.querySelector('textarea#donation_certificate_message'); 83 amountPage.certificateVbEmailInput = igDonationContainer.querySelector('input#donation_certificate_vb_email'); 84 amountPage.certificatePdfTemplateInput = igDonationContainer.querySelector('input#donation_certificate_pdf_template'); // personal data page 85 86 var personalDataPage = {}; 87 personalDataPage.allInputs = window.pages[1].querySelectorAll('input, textarea, select'); 88 personalDataPage.countrySelect = window.pages[1].querySelector('select[name=country]'); 89 personalDataPage.salutationSelect = igDonationContainer.querySelector('select[name=salutation]'); 90 personalDataPage.emailInput = window.pages[1].querySelector('#input_email'); 91 personalDataPage.organizationDonationCheckbox = window.pages[1].querySelector('#organization_donation'); 92 personalDataPage.organizationNameField = window.pages[1].querySelector('#organization_name'); 93 personalDataPage.organizationNameContainer = window.pages[1].querySelector('.organization-name-field'); 94 var SALUTATION_PLACEHOLDER_TEXT = 'Bitte wählen'; // confirmation page 95 96 var confirmationPage = {}; 97 confirmationPage.donationAmountInput = window.pages[2].querySelector('[name=donation_amount]'); 98 confirmationPage.donationRhythmInput = window.pages[2].querySelector('[name=donation_rhythm]'); 99 confirmationPage.allInputs = window.pages[2].querySelectorAll('input, textarea'); 100 confirmationPage.salutationInput = window.pages[2].querySelector('[name=salutation]'); 101 confirmationPage.countryInput = window.pages[2].querySelector('[name=country]'); 102 confirmationPage.yourDataHeadline = window.pages[2].querySelector('#your-data-headline'); // backend endpoints/const/urls 103 104 var paypalSessionCreationUrl = igDonationContainer.getAttribute('data-paypal-endpoint'); 105 var fullfillDonationUrl = igDonationContainer.getAttribute('data-fullfill-donation-endpoint'); 106 var thankYouUrl = igDonationContainer.getAttribute('data-thankyou-page'); 107 var donationboxPid = igDonationContainer.getAttribute('data-donationbox-pid'); // constants 108 109 var minimumDonationAmount = parseInt(igDonationContainer.getAttribute('data-minimum-amount')); 110 var loadingHTML = '<div class="spinner-border btn-red" role="status"></div>'; 111 var micropaymentResponse; // Event Listener to prefill the donors email input with the value 112 // of the email input in the certificate section if this is set 113 // set the email input in the personal data section to valid 114 // if the user changes the input again in personal data - validation is active again 115 116 if (amountPage.certificateEmailInput) { 117 amountPage.certificateEmailInput.addEventListener('change', function (event) { 118 return window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 119 type: 'email' 120 }); 121 }); 122 } // next button logic 123 124 125 window.nextButton.addEventListener('click', /*#__PURE__*/(0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Z)( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee() { 126 var pageIsValid, errorElement, position, _amountPage$graveyard, salutationCh
126osen, donationData, _position; 127 128 return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_context) { 129 while (1) { 130 switch (_context.prev = _context.next) { 131 case 0: 132 _context.next = 2; 133 return window.flushPendingValidations(); 134 135 case 2: 136 pageIsValid = true; 137 errorElement = null; // check if all required fields have the class `is-valid`, 138 // otherwise set `pageIsValid` to false 139 140 window.pages[window.currentPage].querySelectorAll('.required, .optional').forEach(function (element) { 141 if (!element.classList.contains('is-valid')) { 142 if (element.classList.contains('optional')) { 143 if (element.value.length) { 144 pageIsValid = false; 145 window.setFieldInvalid(element); 146 if (!errorElement) errorElement = element; 147 } 148 } else { 149 pageIsValid = false; 150 window.setFieldInvalid(element); 151 if (!errorElement) errorElement = element; 152 } 153 } 154 }); // validate certificate input fields if user wants a donation certificate 155 156 if (amountPage.certificateEnableCheckbox && amountPage.certificateEnableCheckbox.checked) { 157 window.pages[window.currentPage].querySelectorAll('.certificate-required').forEach(function (certificateField) { 158 if (certificateField.getAttribute('type') === 'email') { 159 if (!certificateField.classList.contains('is-valid')) { 160 pageIsValid = false; 161 certificateField.classList.add('validation-error'); 162 window.setFieldInvalid(certificateField); 163 if (!errorElement) errorElement = certificateField; 164 } else { 165 personalDataPage.emailInput.value = certificateField.value; 166 personalDataPage.emailInput.classList.add('is-valid'); 167 window.setFieldValid(certificateField); 168 } 169 } 170 171 if (certificateField.getAttribute('type') === 'text') { 172 if (!window.validateStringLength(certificateField.value, 1, 25)) { 173 pageIsValid = false; 174 certificateField.classList.add('validation-error'); 175 window.setFieldInvalid(certificateField); 176 if (!errorElement) errorElement = certificateField; 177 } else { 178 window.setFieldValid(certificateField); 179 } 180 } 181 182 if (certificateField.tagName === 'TEXTAREA') { 183 if (!window.validateStringLength(certificateField.value, 0, 440)) { 184 pageIsValid = false; 185 certificateField.classList.add('validation-error'); 186 window.setFieldInvalid(certificateField); 187 if (!errorElement) errorElement = certificateField; 188 } else { 189 window.setFieldValid(certificateField); 190 } 191 } 192 }); 193 } 194 195 if (window.currentPage === 0) {// here was micropayment check before - not needed anymore because we use stripe now 196 } 197 198 if (!pageIsValid) { 199 _context.next = 27; 200 break; 201 } 202 203 position = window.getPos(window.pageIndicatorContainer)[1]; 204 window.scrollToSmoothly(position - 100, 1); 205 206 if (window.currentPage === 0) { 207 // hide page with personal data if user does not want a donation receipt. 208 if (amountPage.donateWithoutDataCheckbox.checked) { 209 window.pages[1].classList.add('disabled'); 210 window.pageIndicators[1].classList.add('disabled'); 211 confirmationPage.yourDataHeadline.classList.add('d-none'); 212 213 if (confirmationPage.salutationInput) { 214 confirmationPage.salutationInput.parentElement.classList.add('d-none'); 215 } 216 217 if (confirmationPage.countryInput) { 218 confirmationPage.countryInput.parentElement.classList.add('d-none'); 219 } 220 } else { 221 window.pages[1].classList.remove('disabled'); 222 window.pageIndicators[1].classList.remove('disabled'); 223 confirmationPage.yourDataHeadline.classList.remove('d-none'); 224 } // fill fields on the confirmation page with actual data. 225 226 227 confirmationPage.donationAmountInput.value = window.getDonationAmount() + ' EURO'; 228 confirmationPage.donationRhythmInput.value = window.getDonationRhythm(true); 229 } 230 231 if (window.currentPage === 1) { 232 // fill fields on the confirmation page with actual data.
233 personalDataPage.allInputs.forEach(function (input) { 234 var confirmationElement = window.pages[2].querySelector('[name=' + input.name + ']'); 235 236 if (confirmationElement) { 237 // Handle select elements differently 238 if (input.tagName === 'SELECT') { 239 // Get the selected option text for display 240 var selectedOption = input.options[input.selectedIndex]; 241 confirmationElement.value = selectedOption ? selectedOption.text : ''; 242 } else { 243 confirmationElement.value = input.value; 244 } 245 246 confirmationElement.parentElement.classList.remove('d-none'); 247 } 248 }); 249 } 250 251 if (!(window.currentPage === 2)) { 252 _context.next = 23; 253 break; 254 } 255 256 salutationChosen = personalDataPage.salutationSelect.value !== SALUTATION_PLACEHOLDER_TEXT ? personalDataPage.salutationSelect.value : ''; 257 donationData = { 258 amount: window.getDonationAmount(), 259 distance: window.getDonationDistance(), 260 donationbox_pid: donationboxPid, 261 rhythm: window.getDonationRhythm(false), 262 project_id: igDonationContainer.getAttribute('data-project-id'), 263 campaign: igDonationContainer.getAttribute('data-campaign'), 264 country: personalDataPage.countrySelect.value, 265 title: personalDataPage.emailInput.value, 266 salutation: salutationChosen, 267 graveyard_name: amountPage === null || amountPage === void 0 ? void 0 : (_amountPage$graveyard = amountPage.graveyardInput) === null || _amountPage$graveyard === void 0 ? void 0 : _amountPage$graveyard.value, 268 starIdentifier: igDonationContainer.getAttribute('data-staridentifier') || null, 269 starId: igDonationContainer.getAttribute('data-starid') || null, 270 paymentMethod: amountPage.paymentMethod.value, 271 successURL: igDonationContainer.getAttribute('data-thankyou-page'), 272 donateWithoutData: amountPage.donateWithoutDataCheckbox.checked 273 }; 274 275 if (amountPage.donorNameInput) { 276 donationData.donor_name = amountPage.donorNameInput.value; 277 } // personal data for donation 278 279 280 if (!amountPage.donateWithoutDataCheckbox.checked) { 281 personalDataPage.allInputs.forEach(function (input) { 282 if (input.getAttribute('type') === 'checkbox') { 283 donationData[input.name] = input.checked; 284 } else { 285 if (input.value) { 286 donationData[input.name] = input.value; 287 } 288 } 289 }); 290 } // SEPA specific data 291 292 293 if (amountPage.directDebitContainer.classList.contains('enabled')) { 294 donationData.sepa_account_holder = amountPage.accountHolderField.value; 295 donationData.sepa_iban = amountPage.ibanField.value; 296 donationData.sepa_bic = amountPage.bicField.value; 297 } // flower donation specific data 298 299 300 if (amountPage.flowerDonationRecordInput) { 301 donationData.flowerDonation = { 302 flowerDonationRecord: amountPage.flowerDonationRecordInput.value, 303 flowerDonationFlowersCount: amountPage.flowerDonationFlowersCountInput.value 304 }; 305 } 306 307 if (amountPage.certificateEnableCheckbox && amountPage.certificateEnableCheckbox.checked) { 308 // add certificate data as own object to donationData 309 donationData.certificate = { 310 from: amountPage.certificateFromInput.value, 311 to: amountPage.certificateToInput.value, 312 email: amountPage.certificateEmailInput.value, 313 message: amountPage.certificateMessageTextarea.value, 314 vbEmail: amountPage.certificateVbEmailInput.value, 315 pdfTemplate: amountPage.certificatePdfTemplateInput.value 316 }; 317 } 318 319 window.nextButton.innerHTML = loadingHTML; //console.log('donationData.thankYouUrl is: ' + donationData.thankYouUrl); 320 321 window.post(function (response) { 322 response = JSON.parse(response); 323 324 if (response.valid === true || response.success === true || response.success === "true") { 325 try { 326 gtag('event', 'conversion', { 327 send_to: 'AW-930657739/Vz0ZCJ2W73kQy-viuwM', 328 transaction_id: '' 329 }); 330 } catch (e) {} 331 332 try { 333 var rhythmMap = { 334 E: "single", 335 M: "monthly", 336 V: "quarterly", 337 H: "half-yearly", 338 J: "yearly" 339 }; 340 var donationValue = parseFloat(donationData.amount) || 0; 341 window.dataLayer = window.dataLayer || []; 342 window.dataLayer.push({ 343 event: "spenden", 344 ecommerce: { 345 transaction_id: Date.now().toString() + Math.floor(Math.random() * 1000000).toString(), 346 affiliation: "Online Store", 347 value: donationValue, 348 tax: 0, 349 shipping: 0, 350 currency: "EUR", 351 payment_type: donationData.paymentMethod, 352 payment_interval: rhythmMap[donationData.rhythm] || "", 353 items: [{ 354 item_name: "Spende", 355 item_id: "1", 356 item_category: "spende", 357 price: donationValue, 358 quantity: 1 359 }] 360 } 361 }); 362 } catch (e) {} 363 364 if (thankYouUrl.startsWith("https://www.lichter-der-ewigkeit.de/") || thankYouUrl.startsWith("https://lichter-der-ewigkeit") || thankYouUrl.includes("lichter.staging.volksbund.de")) { 365 var donationType = 'credit_card'; 366 367 for (var key in donationData) { 368 if (key.startsWith('sepa_')) { 369 donationType = 'sepa'; 370 } 371 } 372 373 if (thankYouUrl.includes('?')) { 374 thankYouUrl = thankYouUrl + '&donationType=' + donationType; 375 } else { 376 thankYouUrl = thankYouUrl + '?donationType=' + donationType; 377 } 378 379 if (donationType === 'sepa') { 380 setTimeout(function () { 381 var _thankYouUrl; 382 383 window.location = (_thankYouUrl = thankYouUrl) !== null && _thankYouUrl !== void 0 ? _thankYouUrl : response.redirectUrl; 384 }, 1000); 385 } else { 386 setTimeout(function () { 387 window.location = response.redirectUrl; 388 }, 1000); 389 } 390 } else if (response.redirectUrl) { 391 setTimeout(function () { 392 window.location = response.redirectUrl; 393 }, 1000); 394 } 395 } 396 }, fullfillDonationUrl, donationData); 397 return _context.abrupt("return"); 398 399 case 23: 400 // hide elements without content on the confirmation page.
401 confirmationPage.allInputs.forEach(function (input) { 402 if (!input.value) { 403 input.parentElement.classList.add('d-none'); 404 } 405 }); 406 window.goToStep(window.currentPage + 1); 407 _context.next = 29; 408 break; 409 410 case 27: 411 _position = window.getPos(errorElement)[1]; 412 window.scrollToSmoothly(_position - 200, 1); 413 414 case 29: 415 case "end": 416 return _context.stop(); 417 } 418 } 419 }, _callee); 420 }))); // back button logic 421 422 window.backButton.addEventListener('click', function () { 423 window.goToStep(window.currentPage - 1); 424 var position = window.getPos(window.pageIndicatorContainer)[1]; 425 window.scrollToSmoothly(position - 200, 1); 426 }); 427 /******************************************************* 428 * PAGE 0 * 429 *******************************************************/ 430 // amount validation/logic 431 432 amountPage.allAmountInputs.forEach(function (element) { 433 element.addEventListener('change', function (event) { 434 amountPage.customAmountInput.value = ''; 435 window.setFieldValid(amountPage.amountContainer); 436 }); 437 }); 438 amountPage.customAmountInput.addEventListener('change', function () { 439 amountPage.allAmountInputs.forEach(function (element) { 440 element.checked = false; 441 }); 442 443 if (parseInt(amountPage.customAmountInput.value) >= minimumDonationAmount) { 444 window.setFieldValid(amountPage.amountContainer); 445 } else { 446 window.setFieldInvalid(amountPage.amountContainer); 447 } 448 }); // distance validation/logic 449 450 if (amountPage.allDistanceInputs.length == 1) { 451 amountPage.allDistanceInputs.forEach(function (element) { 452 element.addEventListener('change', function (event) { 453 amountPage.customDistanceeInput.value = ''; 454 window.setFieldValid(amountPage.runContainer); 455 }); 456 }); 457 amountPage.customDistanceeInput.addEventListener('change', function () { 458 amountPage.allDistanceInputs.forEach(function (element) { 459 element.checked = false; 460 }); 461 window.setFieldInvalid(amountPage.runContainer); 462 }); 463 } // rhythm validation/logic 464 465 466 amountPage.allRhythmInputs.forEach(function (input) { 467 input.addEventListener('change', function (event) { 468 var rhythmID = event.target.getAttribute('data-rhythm-key'); 469 470 try { 471 Micropayment.reset(); 472 } catch (e) {} 473 474 var enabledPaymentMethod = amountPage.paymentInformationContainer.querySelector('div.enabled'); 475 476 if (enabledPaymentMethod) { 477 enabledPaymentMethod.classList.remove('enabled'); 478 } 479 480 amountPage.donateWithoutDataCheckbox.parentElement.classList.remove('enabled'); 481 window.nextButton.innerText = window.nextButton.getAttribute('data-default'); 482 amountPage.accountHolderField ? amountPage.accountHolderField.classList.remove('required', 'validation-error') : null; 483 amountPage.ibanField ? amountPage.ibanField.classList.remove('required', 'validation-error') : null; 484 amountPage.bicField ? amountPage.bicField.classList.remove('required', 'validation-error') : null; 485 486 switch (rhythmID) { 487 case 'E': 488 window.definePossiblePaymentMethods({ 489 sepa_direct_debit: true, 490 credit_card: true, 491 paypal: true 492 }); 493 break; 494 495 default: 496 window.definePossiblePaymentMethods({ 497 sepa_direct_debit: true 498 }); 499 break; 500 } 501 502 window.setFieldValid(event.target.parentElement.parentElement); 503 }); 504 }); // Register SEPA field event listeners once (outside payment method change to prevent duplicate listeners) 505 506 if (amountPage.accountHolderField) { 507 amountPage.accountHolderField.addEventListener('keyup', function (event) { 508 window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 509 type: 'text', 510 arguments: '1-100' 511 }); 512 }); 513 } 514 515 if (amountPage.ibanField) { 516 // Auto-convert IBAN to uppercase on input 517 amountPage.ibanField.addEventListener('input', function (event) { 518 var cursorPosition = event.target.selectionStart; 519 event.target.value = event.target.value.toUpperCase(); 520 event.target.setSelectionRange(cursorPosition, cursorPosition); 521 }); 522 amountPage.ibanField.addEventListener('keyup', function (event) { 523 if (event.target.value.substring(0, 2).toUpperCase() === 'DE') { 524 amountPage.bicField.parentElement.querySelector('label').classList.remove('required-indicator'); 525 amountPage.bicField.classList.remove('validation-error'); 526 amountPage.bicField.classList.remove('required'); 527 } else { 528 amountPage.bicField.parentElement.querySelector('label').classList.add('required-indicator'); 529 amountPage.bicField.classList.add('required'); 530 } 531 532 window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 533 type: 'iban' 534 }); 535 }); 536 } 537 538 if (amountPage.bicField) { 539 // Auto-convert BIC to uppercase on input 540 amountPage.bicField.addEventListener('input', function (event) { 541 var cursorPosition = event.target.selectionStart; 542 event.target.value = event.target.value.toUpperCase(); 543 event.target.setSelectionRange(cursorPosition, cursorPosition); 544 }); 545 amountPage.bicField.addEventListener('keyup', function (event) { 546 window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 547 type: 'bic' 548 }); 549 }); 550 } // payment method validation/logic 551 552 553 amountPage.allPaymentMethods.forEach(function (element) { 554 element.addEventListener('change', function (event) { 555 amountPage.paymentMethod.value = event.target.getAttribute('data-payment-method'); 556 window.setFieldValid(event.target.parentElement.parentElement); // reset states/appearance of payment types buttons 557
558 try { 559 Micropayment.reset(); 560 } catch (e) {} 561 562 var enabledPaymentMethod = amountPage.paymentInformationContainer.querySelector('div.enabled'); 563 if (enabledPaymentMethod) enabledPaymentMethod.classList.remove('enabled'); 564 amountPage.donateWithoutDataCheckbox.parentElement.classList.remove('d-none'); 565 window.nextButton.innerText = window.nextButton.getAttribute('data-default'); 566 amountPage.accountHolderField ? amountPage.accountHolderField.classList.remove('required', 'validation-error') : null; 567 amountPage.ibanField ? amountPage.ibanField.classList.remove('required', 'validation-error') : null; 568 amountPage.bicField ? amountPage.bicField.classList.remove('required', 'validation-error') : null; 569 570 switch (event.target.getAttribute('data-payment-method')) { 571 case 'sepa_direct_debit': 572 amountPage.paymentInformationContainer.querySelector('.direct-debit').classList.add('enabled'); 573 amountPage.accountHolderField.classList.add('required'); 574 amountPage.ibanField.classList.add('required'); // Restore BIC required state based on existing IBAN value 575 576 if (amountPage.ibanField.value && amountPage.ibanField.value.substring(0, 2).toUpperCase() !== 'DE') { 577 amountPage.bicField.parentElement.querySelector('label').classList.add('required-indicator'); 578 amountPage.bicField.classList.add('required'); 579 } 580 581 break; 582 583 case 'paypal': 584 amountPage.donateWithoutDataCheckbox.parentElement.classList.add('d-none'); 585 break; 586 } 587 }); 588 }); // dataprotection validation 589 590 igDonationContainer.querySelector('[name=data_protection_agreement]').addEventListener('change', function (event) { 591 if (event.target.checked) { 592 window.setFieldValid(event.target.parentElement); 593 } else { 594 window.setFieldInvalid(event.target.parentElement); 595 } 596 }); 597 /******************************************************* 598 * PAGE 1 - Personal Data & Select Event Listeners * 599 *******************************************************/ 600 // Country select change handler 601 602 if (personalDataPage.countrySelect) { 603 personalDataPage.countrySelect.addEventListener('change', function (event) { 604 var confirmationElement = window.pages[2].querySelector('[name=country]'); 605 606 if (confirmationElement) { 607 var selectedOption = event.target.options[event.target.selectedIndex]; 608 confirmationElement.value = selectedOption ? selectedOption.text : ''; 609 } // Revalidate postcode when country changes 610 611 612 var postcodeField = igDonationContainer.querySelector('[name=postcode]'); 613 614 if (postcodeField && postcodeField.value) { 615 window.waitUntilUserHasFinishedTypingAndValidateField(postcodeField, { 616 type: 'postcode', 617 arguments: event.target.value 618 }); 619 } 620 }); // Set initial country value 621 622 var initialCountryConfirmation = window.pages[2].querySelector('[name=country]'); 623 624 if (initialCountryConfirmation && personalDataPage.countrySelect.selectedIndex >= 0) { 625 var selectedOption = personalDataPage.countrySelect.options[personalDataPage.countrySelect.selectedIndex]; 626 initialCountryConfirmation.value = selectedOption ? selectedOption.text : ''; 627 } 628 } // Salutation select change handler 629 630 631 if (personalDataPage.salutationSelect) { 632 personalDataPage.salutationSelect.addEventListener('change', function (event) { 633 var confirmationElement = window.pages[2].querySelector('[name=salutation]'); 634 635 if (confirmationElement) { 636 var _selectedOption = event.target.options[event.target.selectedIndex]; 637 confirmationElement.value = _selectedOption ? _selectedOption.text : ''; 638 639 if (_selectedOption.text !== SALUTATION_PLACEHOLDER_TEXT) { 640 personalDataPage.salutationSelect.classList.remove('validation-error'); 641 personalDataPage.salutationSelect.classList.add('is-valid'); 642 } else { 643 personalDataPage.salutationSelect.classList.remove('is-valid');
644 personalDataPage.salutationSelect.classList.add('validation-error'); 645 } 646 } 647 }); // Set initial salutation value 648 649 var initialSalutationConfirmation = window.pages[2].querySelector('[name=salutation]'); 650 651 if (initialSalutationConfirmation && personalDataPage.salutationSelect.selectedIndex >= 0) { 652 var _selectedOption2 = personalDataPage.salutationSelect.options[personalDataPage.salutationSelect.selectedIndex]; 653 initialSalutationConfirmation.value = _selectedOption2 ? _selectedOption2.text : ''; 654 } 655 } // first name 656 657 658 igDonationContainer.querySelector('[name=first_name]').addEventListener('change', function (event) { 659 window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 660 type: 'text', 661 arguments: '2-100' 662 }); 663 }); // last name 664 665 igDonationContainer.querySelector('[name=last_name]').addEventListener('change', function (event) { 666 return window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 667 type: 'text', 668 arguments: '2-100' 669 }); 670 }); // street 671 672 igDonationContainer.querySelector('[name=address]').addEventListener('change', function (event) { 673 return window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 674 type: 'text', 675 arguments: '5-100' 676 }); 677 }); // postcode 678 679 igDonationContainer.querySelector('[name=postcode]').addEventListener('change', function (event) { 680 var selectedCountryCode = personalDataPage.countrySelect ? personalDataPage.countrySelect.value : 'DE'; 681 window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 682 type: 'postcode', 683 arguments: selectedCountryCode 684 }); 685 }); // city 686 687 igDonationContainer.querySelector('[name=city]').addEventListener('change', function (event) { 688 return window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 689 type: 'text', 690 arguments: '3-100' 691 }); 692 }); // phone number 693 694 igDonationContainer.querySelector('[name=phone].optional').addEventListener('change', function (event) { 695 if (event.target.value.length) { 696 window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 697 type: 'phone-number' 698 }); 699 } else { 700 window.setFieldValid(event.target); 701 } 702 }); // email 703 704 igDonationContainer.querySelector('[name=email]').addEventListener('change', function (event) { 705 return window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 706 type: 'email' 707 }); 708 }); // donor name 709 710 if (amountPage.donorNameInput) { 711 amountPage.donorNameInput.addEventListener('change', function (event) { 712 return window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 713 type: 'text', 714 arguments: '3-100' 715 }); 716 }); 717 } // custom message 718 719 720 igDonationContainer.querySelector('[name=custom_message].optional').addEventListener('change', function (event) { 721 if (event.target.value.length) { 722 window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 723 type: 'text', 724 arguments: '0-500' 725 }); 726 } else { 727 window.setFieldValid(event.target); 728 } 729 }); // organization donation checkbox 730 731 if (personalDataPage.organizationDonationCheckbox) { 732 var syncOrganizationNameField = function syncOrganizationNameField() { 733 var confirmationOrgNameContainer = window.pages[2].querySelector('.confirmation-organization-name'); 734 735 if (personalDataPage.organizationDonationCheckbox.checked) { 736 // Show organization name field and make it required 737 personalDataPage.organizationNameContainer.style.display = 'block'; 738 personalDataPage.organizationNameField.classList.add('required'); 739 740 if (confirmationOrgNameContainer) { 741 confirmationOrgNameContainer.style.display = 'block'; 742 } 743 } else { 744 // Hide organization name field and remove required 745 personalDataPage.organizationNameContainer.style.display = 'none'; 746 personalDataPage.organizationNameField.classList.remove('required', 'is-valid', 'validation-error'); 747 personalDataPage.organizationNameField.value = ''; 748 749 if (confirmationOrgNameContainer) { 750 confirmationOrgNameContainer.style.display = 'none'; 751 } 752 } 753 }; 754 755 personalDataPage.organizationDonationCheckbox.addEventListener('change', syncOrganizationNameField); // The browser may restore the checkbox state (reload, back/forward), 756 // so the UI has to match the current state before the first change event. 757 758 syncOrganizationNameField(); 759 } // organization name validation 760 761 762 if (personalDataPage.organizationNameField) { 763 personalDataPage.organizationNameField.addEventListener('change', function (event) { 764 return window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 765 type: 'text', 766 arguments: '1-255' 767 }); 768 }); 769 } 770} // End of if (igDonationContainer) 771 772/***/ }), 773 774/***/ 5579: 775/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { 776 777"use strict"; 778/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(5861); 779/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7757); 780/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__); 781/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(6992); 782/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_1__); 783/* harmony import */ var core_js_modules_es_map_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(1532); 784/* harmony import */ var core_js_modules_es_map_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_map_js__WEBPACK_IMPORTED_MODULE_2__); 785/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(1539); 786/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__); 787/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(8783); 788/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_4__); 789/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(3948); 790/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_5__); 791/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1038); 792/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_6__); 793/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(4747); 794/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_7__); 795/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8674); 796/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_8__); 797/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(8309); 798/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_9__); 799/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(6699); 800/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_10__); 801/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(2023); 802/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_11__); 803/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(1058); 804/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_12__); 805/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(1249); 806/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_13__); 807/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(9600); 808/* harmony import */ var core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_join_js__WEBPACK_IMPORTED_MODULE_14__); 809/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(4916); 810/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_15__); 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829/* global XMLHttpRequest */ 830var igDonationContainer = document.querySelector('.ig_donation'); 831 832if (igDonationContainer) { 833 // pages and indicators 834 window.pages = igDonationContainer.querySelectorAll('.pages .page'); 835 window.pageIndicatorContainer = igDonationContainer.querySelector('.steps'); 836 window.pageIndicators = igDonationContainer.querySelectorAll('.steps .step'); // navigation buttons 837 838 window.nextButton = igDonationContainer.querySelector('.next'); 839 window.backButton = igDonationContainer.querySelector('.back'); // api endpoint urls 840
841 var validationEndpoint = igDonationContainer.getAttribute('data-validation-endpoint'); // global variables 842 843 window.currentPage = 0; 844 window.typingTimersObject = {}; 845 window.typingTimeout = 500; // Tracks scheduled-but-not-yet-fired typing timers, keyed by field name. 846 // Each entry is a `fireNow()` callback that cancels the timer and runs 847 // validation immediately. Used by `flushPendingValidations()` so the 848 // next-button handler does not race with the 500 ms typing debounce. 849 850 window.pendingTypingTimers = new Map(); // Tracks in-flight backend validation Promises, keyed by field name. 851 852 window.pendingValidations = new Map(); 853 /** 854 * Forces all pending field validations (debounced typing timers and 855 * in-flight backend requests) to settle. Must be awaited before 856 * inspecting `is-valid` classes after a user-triggered submit, otherwise 857 * a `change` event fired by the same blur that produced the click will 858 * still be in its 500 ms debounce window. 859 * 860 * @returns {Promise<void>} 861 */ 862 863 window.flushPendingValidations = /*#__PURE__*/(0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee() { 864 var fireCallbacks, timeout; 865 return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_context) { 866 while (1) { 867 switch (_context.prev = _context.next) { 868 case 0: 869 fireCallbacks = Array.from(window.pendingTypingTimers.values()); 870 window.pendingTypingTimers.clear(); 871 fireCallbacks.forEach(function (fireNow) { 872 return fireNow(); 873 }); // Cap wait so a hung backend cannot block submit indefinitely. 874 // Existing is-valid checks downstream will still catch missing state. 875 876 timeout = new Promise(function (resolve) { 877 return setTimeout(resolve, 3000); 878 }); 879 _context.next = 6; 880 return Promise.race([Promise.all(Array.from(window.pendingValidations.values())), timeout]); 881 882 case 6: 883 case "end": 884 return _context.stop(); 885 } 886 } 887 }, _callee); 888 })); 889 /** 890 * Displays the specified page. 891 * 892 * @param {*} number Number of the page (starting at 0) 893 */ 894 895 window.goToStep = function (number) { 896 // never jump to disabled pages 897 if (window.pages[number].classList.contains('disabled')) { 898 if (number < window.currentPage) { 899 number = number - 1; 900 } else { 901 number = number + 1; 902 } 903 } 904 905 window.currentPage = number; // reset states 906 907 window.pages.forEach(function (page) { 908 return page.classList.remove('active'); 909 }); 910 window.pageIndicators.forEach(function (indicator) { 911 return indicator.classList.remove('active'); 912 }); 913 window.backButton.classList.remove('d-none'); // hide back button on first page 914 915 if (window.currentPage === 0) window.backButton.classList.add('d-none'); // show specified page 916 917 window.pages[number].classList.add('active'); 918 window.pageIndicators[number].classList.add('enabled'); 919 window.pageIndicators[number].classList.add('active'); // set next button text based on current page 920 921 if (window.currentPage === window.pages.length - 1) { 922 window.nextButton.innerText = window.nextButton.getAttribute('data-submit'); 923 } else { 924 window.nextButton.innerText = window.nextButton.getAttribute('data-default'); 925 } 926 }; 927 /** 928 * Validates a field with the backend after the user has stopped typing. 929 * 930 * @param {*} inputElement 931 * @param {*} validationObject 932 */ 933 934 935 window.waitUntilUserHasFinishedTypingAndValidateField = function (inputElement, validationObject) { 936 clearTimeout(window.typingTimersObject[inputElement.name]); 937 window.pendingTypingTimers.delete(inputElement.name); 938 939 var runValidation = function runValidation() { 940 window.pendingTypingTimers.delete(inputElement.name); 941 var validationPromise = new Promise(function (resolve) {
942 window.validateFieldWithBackend(function (response) { 943 if (response === 'false' || response.includes('"valid":false')) { 944 window.setFieldInvalid(inputElement, response); 945 } else { 946 window.setFieldValid(inputElement); 947 } 948 949 window.pendingValidations.delete(inputElement.name); 950 resolve(); 951 }, inputElement.value, validationObject.type, validationObject.arguments); 952 }); 953 window.pendingValidations.set(inputElement.name, validationPromise); 954 }; 955 956 var timerId = setTimeout(runValidation, window.typingTimeout); 957 window.typingTimersObject[inputElement.name] = timerId; 958 window.pendingTypingTimers.set(inputElement.name, function () { 959 clearTimeout(timerId); 960 runValidation(); 961 }); 962 }; 963 /** 964 * Uses `window.post()` to validate a input with TYPO3. 965 * 966 * @param {*} callback The callback function 967 * @param {string} fieldValue The content of the field 968 * @param {string} fieldType Type of field (see possible fields in backend) 969 * @param {string} validationArgs Additional validation restrictions 970 */ 971 972 973 window.validateFieldWithBackend = function (callback, fieldValue, fieldType, validationArgs) { 974 window.post(callback, validationEndpoint, { 975 type: fieldType, 976 value: fieldValue, 977 args: validationArgs 978 }); 979 }; 980 /** 981 * Sends POST data to a given URL and calls callback with result. 982 * 983 * @param {*} callback The callback function 984 * @param {*} url The URL 985 * @param {*} object The object that should be send to the URL 986 */ 987 988 989 window.post = function (callback, url, object) { 990 var http = new XMLHttpRequest(); 991 http.open('POST', url, true); 992 http.setRequestHeader('Content-type', 'application/json'); 993 994 http.onreadystatechange = function () { 995 if (http.status === 200 && http.readyState === 4) { 996 callback(http.responseText); 997 } else if (http.status !== 200 && http.readyState === 4) { 998 throw new Error('Invalid response from endpoint: ' + url); 999 } 1000 }; 1001 1002 http.send(JSON.stringify(object)); 1003 }; 1004 /** 1005 * Returns the selected donation distance. 1006 * 1007 * 1008 * @returns {number} 1009 */ 1010 1011 1012 window.getDonationDistance = function () { 1013 var distance = 0; 1014 1015 if (igDonationContainer.querySelectorAll('.run-suggestions').length >= 1) { 1016 igDonationContainer.querySelectorAll('.run-suggestions input').forEach(function (element) { 1017 if (element.checked) { 1018 distance = element.getAttribute('data-distance'); 1019 } else if (element.value > 0) { 1020 distance = element.value; 1021 } 1022 }); 1023 } 1024 1025 return parseInt(distance); 1026 }; 1027 /** 1028 * Returns the selected donation amount. 1029 * 1030 * @param {boolean} asCents 1031 * 1032 * @returns {number} 1033 */ 1034 1035 1036 window.getDonationAmount = function (asCents) { 1037 var amount = 0; 1038 igDonationContainer.querySelectorAll('.amount-suggestions input').forEach(function (element) { 1039 if (element.checked) { 1040 amount = element.getAttribute('data-amount'); 1041 } else if (element.value > 0) { 1042 amount = element.value; 1043 } 1044 }); 1045 1046 if (asCents) { 1047 amount = amount * 100; 1048 } 1049 1050 return parseInt(amount); 1051 }; 1052 /** 1053 * Returns the friendly name or ID of the selected payment rhythm. 1054 * 1055 * @param {boolean} humanReadable Return human readable name instead of ID 1056 * 1057 * @returns {string} 1058 */ 1059 1060 1061 window.getDonationRhythm = function (humanReadable) { 1062 var donationRhythm = ''; 1063 igDonationContainer.querySelectorAll('.rhythms input').forEach(function (element) { 1064 if (element.checked) { 1065 if (humanReadable) { 1066 donationRhythm = element.parentElement.querySelector('label').innerText; 1067 } else { 1068 donationRhythm = element.getAttribute('data-rhythm-key'); 1069 } 1070 } 1071 }); 1072 return donationRhythm; 1073 }; 1074 /** 1075 * Enables the desired payment methods. 1076 * 1077 * @param {object} methodsToEnable Must include the payment methods to be activated 1078 */ 1079 1080 1081 window.definePossiblePaymentMethods = function (methodsToEnable) { 1082 igDonationContainer.querySelectorAll('.payment-methods [name=payment_methods]').forEach(function (element) { 1083 element.parentElement.classList.add('disabled'); 1084 element.disabled = true; 1085 element.checked = false;
1086 }); 1087 1088 for (var key in methodsToEnable) { 1089 if (methodsToEnable[key]) { 1090 var inputElement = document.querySelector("#".concat(key)); 1091 1092 if (inputElement) { 1093 inputElement.disabled = false; 1094 inputElement.parentElement.classList.remove('disabled'); 1095 } 1096 } 1097 } 1098 }; 1099 /** 1100 * Adds the `validation-error` class and removes `is-valid`. 1101 * 1102 * @param {object} element The element to modify 1103 * @param {string} response The response with error message from the backend 1104 */ 1105 1106 1107 window.setFieldInvalid = function (element, response) { 1108 element.classList.add('validation-error'); 1109 element.classList.remove('is-valid'); 1110 var errorMessage = ''; 1111 1112 if (response) { 1113 try { 1114 var parsed = JSON.parse(response); 1115 1116 if (parsed.errors && Array.isArray(parsed.errors)) { 1117 // Extract message from each error object 1118 var errorMessages = parsed.errors.map(function (error) { 1119 // Handle both string errors and object errors 1120 if (typeof error === 'string') { 1121 return error; 1122 } else if (error.message) { 1123 return error.message; 1124 } 1125 1126 return 'Unknown error'; 1127 }); 1128 errorMessage = errorMessages.join(', '); 1129 } else if (parsed.message) { 1130 errorMessage = parsed.message; 1131 } else if (parsed.result) { 1132 errorMessage = parsed.result; 1133 } 1134 } catch (e) { 1135 console.error('Fehler beim Parsen der Response:', e); 1136 } 1137 } 1138 1139 if (errorMessage) { 1140 element.setCustomValidity(errorMessage); 1141 element.reportValidity(); 1142 element.setAttribute('aria-invalid', 'true'); 1143 element.setAttribute('aria-errormessage', errorMessage); 1144 } 1145 1146 if (element.classList.contains('input-birthday')) { 1147 window.checkBirthdayErrors(); 1148 } 1149 }; 1150 1151 window.validateEmail = function (email) { 1152 var regex = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/; 1153 return regex.test(email); 1154 }; 1155 1156 window.validateStringLength = function (string, min, max) { 1157 return string.length >= min && string.length <= max; 1158 }; 1159 /** 1160 * Removes the `validation-error` class and adds `is-valid`. 1161 * 1162 * @param {object} element The element to modify 1163 */ 1164 1165 1166 window.setFieldValid = function (element) { 1167 element.classList.add('is-valid'); 1168 element.classList.remove('validation-error'); // Clear custom validity message 1169 1170 if (typeof element.setCustomValidity === 'function') { 1171 // Clear custom validity message 1172 element.setCustomValidity(''); 1173 } // Update ARIA attributes to reflect validity 1174 1175 1176 element.removeAttribute('aria-invalid'); 1177 element.removeAttribute('aria-errormessage'); 1178 1179 if (element.classList.contains('input-birthday')) { 1180 window.checkBirthdayErrors(); 1181 } 1182 }; 1183 1184 window.scrollToSmoothly = function (pos, time) { 1185 var currentPos = window.scrollY || window.screenTop; 1186 1187 if (currentPos < pos) { 1188 var t = 10; 1189 1190 var _loop = function _loop(i) { 1191 t += 10; 1192 setTimeout(function () { 1193 window.scrollTo(0, i); 1194 }, t / 2); 1195 }; 1196 1197 for (var i = currentPos; i <= pos; i += 10) { 1198 _loop(i); 1199 } 1200 } else { 1201 time = time || 2; 1202 var _i = currentPos; 1203 var x; 1204 x = setInterval(function () { 1205 window.scrollTo(0, _i); 1206 _i -= 10; 1207 1208 if (_i <= pos) { 1209 clearInterval(x); 1210 } 1211 }, time); 1212 } 1213 }; 1214 1215 window.getPos = function (element) { 1216 var x = 0; 1217 var y = 0; 1218 1219 while (true) { 1220 x += element.offsetLeft; 1221 y += element.offsetTop; 1222 1223 if (element.offsetParent === null) { 1224 break; 1225 } 1226 1227 element = element.offsetParent; 1228 } 1229 1230 return [x, y]; 1231 }; // show first page on load 1232 1233 1234 window.goToStep(0); 1235} 1236 1237/***/ }), 1238 1239/***/ 9008: 1240/***/ (function(__unused_webpack_module, __unused_webpack___webpack_exports__, __webpack_require__) { 1241 1242"use strict"; 1243/* harmony import */ var _babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(5861); 1244/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7757); 1245/* harmony import */ var _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0__); 1246/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1539); 1247/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__); 1248/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(4747); 1249/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_2__); 1250/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8309); 1251/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3__); 1252/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(4678); 1253/* harmony import */ var core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_float_js__WEBPACK_IMPORTED_MODULE_4__); 1254/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(9714); 1255/* harmony import */ var core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_to_string_js__WEBPACK_IMPORTED_MODULE_5__); 1256/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(1058); 1257/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_6__); 1258/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(7042); 1259/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_7__); 1260/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(1038); 1261/* harmony import */ var core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_from_js__WEBPACK_IMPORTED_MODULE_8__); 1262/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(8783); 1263/* harmony import */ var core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_iterator_js__WEBPACK_IMPORTED_MODULE_9__); 1264/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(4916); 1265/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_10__); 1266/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(2526); 1267/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_11__); 1268/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(1817); 1269/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_12__); 1270/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(2165); 1271/* harmony import */ var core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_iterator_js__WEBPACK_IMPORTED_MODULE_13__); 1272/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(6992); 1273/* harmony import */ var core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_14__); 1274/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(3948); 1275/* harmony import */ var core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_iterator_js__WEBPACK_IMPORTED_MODULE_15__); 1276 1277 1278function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; } 1279 1280function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); } 1281 1282function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; } 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300var igDonationMembershipContainer = document.querySelector('.membership'); 1301 1302if (igDonationMembershipContainer) { 1303 var _igDonationMembership; 1304 1305 /** 1306 * Check if all birthday fields are currently marked as valid 1307 * @returns {boolean} 1308 */ 1309 var isAgeValid = function isAgeValid() { 1310 var birthdayFields = igDonationMembershipContainer.querySelectorAll('.input-birthday'); 1311 1312 var _iterator = _createForOfIteratorHelper(birthdayFields), 1313 _step; 1314 1315 try { 1316 for (_iterator.s();
1316 !(_step = _iterator.n()).done;) { 1317 var field = _step.value; 1318 1319 if (field.classList.contains('validation-error') || !field.classList.contains('is-valid')) { 1320 return false; 1321 } 1322 } 1323 } catch (err) { 1324 _iterator.e(err); 1325 } finally { 1326 _iterator.f(); 1327 } 1328 1329 return true; 1330 }; 1331 /** 1332 * Check if member has entered a valid date and is at least 18 years 1333 * 1334 * @returns {boolean} 1335 */ 1336 1337 1338 var setBithdayFieldsInvalid = function setBithdayFieldsInvalid() { 1339 igDonationMembershipContainer.querySelectorAll('.input-birthday').forEach(function (input) { 1340 input.classList.add('validation-error'); 1341 input.classList.remove('is-valid'); // Set custom validity message 1342 1343 if (typeof input.setCustomValidity === 'function') { 1344 input.setCustomValidity('Invalid date or age < 18'); 1345 } // Update ARIA attributes 1346 1347 1348 input.setAttribute('aria-invalid', 'true'); 1349 }); // Check errors once after all fields are updated 1350 1351 window.checkBirthdayErrors(); 1352 }; 1353 1354 var setBithdayFieldsValid = function setBithdayFieldsValid() { 1355 igDonationMembershipContainer.querySelectorAll('.input-birthday').forEach(function (input) { 1356 input.classList.add('is-valid'); 1357 input.classList.remove('validation-error'); // Clear custom validity message 1358 1359 if (typeof input.setCustomValidity === 'function') { 1360 input.setCustomValidity(''); 1361 } // Update ARIA attributes 1362 1363 1364 input.removeAttribute('aria-invalid'); 1365 input.removeAttribute('aria-errormessage'); 1366 }); // Check errors once after all fields are updated 1367 1368 window.checkBirthdayErrors(); 1369 }; 1370 /** 1371 * Calc current age 1372 * @param birthDay 1373 * @returns {number} 1374 */ 1375 1376 1377 var getAge = function getAge(birthDay) { 1378 var today = new Date(); 1379 var birthDate = new Date(birthDay); 1380 var age = today.getFullYear() - birthDate.getFullYear(); 1381 var m = today.getMonth() - birthDate.getMonth(); 1382 1383 if (m < 0 || m === 0 && today.getDate() < birthDate.getDate()) { 1384 age--; 1385 } 1386 1387 return age; 1388 }; 1389 1390 // amount page 1391 var amountPageMembership = {}; 1392 amountPageMembership.amountContainer = igDonationMembershipContainer.querySelector('.amount-suggestions'); 1393 amountPageMembership.allAmountInputs = igDonationMembershipContainer.querySelectorAll('.amount-suggestions input[name=amount]'); 1394 amountPageMembership.customAmountInput = igDonationMembershipContainer.querySelector('.amount-suggestions input[name=custom-amount]'); 1395 amountPageMembership.allRhythmInputs = igDonationMembershipContainer.querySelectorAll('.rhythms input[name=rhythm]'); 1396 amountPageMembership.accountHolderField = igDonationMembershipContainer.querySelector('[name=account_holder]'); 1397 amountPageMembership.ibanField = igDonationMembershipContainer.querySelector('[name=iban]'); 1398 amountPageMembership.bicField = igDonationMembershipContainer.querySelector('[name=bic]'); 1399 amountPageMembership.birthdayDayField = igDonationMembershipContainer.querySelector('[name=date_of_birth_day]'); 1400 amountPageMembership.birthdayMonthField = igDonationMembershipContainer.querySelector('[name=date_of_birth_month]'); 1401 amountPageMembership.birthdayYearField = igDonationMembershipContainer.querySelector('[name=date_of_birth_year]'); 1402 amountPageMembership.errorBirthday = igDonationMembershipContainer.querySelector('.error-birthday'); 1403 amountPageMembership.errorMinimumamount = igDonationMembershipContainer.querySelector('.error-minamount'); // personal data page 1404 1405 var personalDataPage = {}; 1406 personalDataPage.allInputs = window.pages[0].querySelectorAll('input, textarea'); 1407 personalDataPage.salutationSelect = igDonationMembershipContainer.querySelector('select[name=salutation]'); 1408 var SALUTATION_PLACEHOLDER_TEXT = 'Bitte wählen'; 1409 var accountDataPage = {}; 1410 accountDataPage.allInputs = window.pages[1].querySelectorAll('.input-account'); 1411 var hiddenBirthdayField = window.pages[0].querySelector('#member-birthday'); 1412 var birthdayInputs = window.pages[0].querySelectorAll('[id^="member-date_of_birth_"]'); // confirmation page 1413 1414 var confirmationPage = {}; 1415 confirmationPage.donationAmountInput = window.pages[2].querySelector('[name=donation_amount]'); 1416 confirmationPage.donationRhythmInput = window.pages[2].querySelector('[name=donation_rhythm]'); 1417 confirmationPage.allInputs = window.pages[2].querySelectorAll('input, textarea'); 1418 confirmationPage.salutationInput = window.pages[2].querySelector('[name=salutation]'); // endpoints/urls 1419 1420 var fullfillDonationUrl = igDonationMembershipContainer.getAttribute('data-fullfill-donation-endpoint'); 1421 var thankYouUrl = igDonationMembershipContainer.getAttribute('data-thankyou-page'); // constants 1422 1423 var loadingHTML = '<div class="spinner-border btn-red" role="status"></div>'; // minimum amount 1424 1425 var minimumDonationAmount = 12; // back button logic 1426 1427 window.backButton.addEventListener('click', function () { 1428 window.goToStep(window.currentPage - 1); 1429 var position = window.getPos(window.pageIndicatorContainer)[1]; 1430 window.scrollToSmoothly(position - 100, 1); 1431 }); // next button logic 1432 1433 window.nextButton.addEventListener('click', /*#__PURE__*/(0,_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Z)( /*#__PURE__*/_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().mark(function _callee() { 1434 var pageIsValid, errorElement, ageValidationResult, salutationCh
1434osen, donationData, position, _position; 1435 1436 return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default().wrap(function _callee$(_context) { 1437 while (1) { 1438 switch (_context.prev = _context.next) { 1439 case 0: 1440 _context.next = 2; 1441 return window.flushPendingValidations(); 1442 1443 case 2: 1444 pageIsValid = true; 1445 errorElement = null; 1446 window.pages[window.currentPage].querySelectorAll('.required, .optional').forEach(function (element) { 1447 if (!element.classList.contains('is-valid')) { 1448 if (element.classList.contains('optional')) { 1449 if (element.value.length) { 1450 pageIsValid = false; 1451 window.setFieldInvalid(element); 1452 if (!errorElement) errorElement = element; 1453 } 1454 } else { 1455 pageIsValid = false; 1456 window.setFieldInvalid(element); 1457 if (!errorElement) errorElement = element; 1458 } 1459 } 1460 }); // check for valid Date and member age (must be at least 18) 1461 1462 ageValidationResult = checkValidMemberAge(); 1463 1464 if (ageValidationResult === false || ageValidationResult === true && !isAgeValid()) { 1465 pageIsValid = false; 1466 if (!errorElement) errorElement = amountPageMembership.birthdayDayField; 1467 } 1468 1469 if (!pageIsValid) { 1470 _context.next = 23; 1471 break; 1472 } 1473 1474 // add birthday value to hidden birthday field 1475 hiddenBirthdayField.value = amountPageMembership.birthdayYearField.value + '-' + amountPageMembership.birthdayMonthField.value + '-' + amountPageMembership.birthdayDayField.value; 1476 1477 if (window.currentPage === 0) {} 1478 1479 if (window.currentPage === 1) { 1480 // fill fields on the confirmation page with actual data. 1481 personalDataPage.allInputs.forEach(function (input) { 1482 if (input.value.length) { 1483 var confirmationElement = window.pages[2].querySelector('[name=' + input.name + ']'); 1484 1485 if (confirmationElement) { 1486 if (confirmationElement && input.type === 'checkbox' && input.checked === true) { 1487 confirmationElement.checked = input.checked; 1488 } else if (input.tagName === 'SELECT') { 1489 var selectedOption = input.options[input.selectedIndex]; 1490 confirmationElement.value = selectedOption ? selectedOption.text : ''; 1491 } else { 1492 confirmationElement.value = input.value; 1493 } 1494 1495 confirmationElement.parentElement.classList.remove('d-none'); 1496 } 1497 } 1498 }); 1499 accountDataPage.allInputs.forEach(function (input) { 1500 if (input.value.length) { 1501 var confirmationElement = window.pages[2].querySelector('[name=' + input.name + ']'); 1502 1503 if (confirmationElement) { 1504 confirmationElement.value = input.value; 1505 confirmationElement.parentElement.classList.remove('d-none'); 1506 } 1507 } 1508 }); // fill fields on the confirmation page with actual data. 1509 1510 confirmationPage.donationAmountInput.value = window.getDonationAmount() + ' EURO'; 1511 confirmationPage.donationRhythmInput.value = window.getDonationRhythm(true); // hide elements without content on the confirmation page. 1512 1513 confirmationPage.allInputs.forEach(function (input) { 1514 if (!input.value) input.parentElement.classList.add('d-none'); 1515 1516 if (input.type === 'checkbox' && input.checked === false) { 1517 input.parentElement.classList.add('d-none'); 1518 } 1519 }); 1520 } 1521 1522 if (!(window.currentPage === 2)) { 1523 _context.next = 18; 1524 break; 1525 } 1526
1527 salutationChosen = personalDataPage.salutationSelect.value !== SALUTATION_PLACEHOLDER_TEXT ? personalDataPage.salutationSelect.value : ''; 1528 donationData = { 1529 amount: window.getDonationAmount(), 1530 rhythm: window.getDonationRhythm(false), 1531 project_id: igDonationMembershipContainer.getAttribute('data-project-id'), 1532 sepa_account_holder: amountPageMembership.accountHolderField.value, 1533 sepa_iban: amountPageMembership.ibanField.value, 1534 sepa_bic: amountPageMembership.bicField.value, 1535 country: igDonationMembershipContainer.querySelector('[name=country]').value, 1536 title: igDonationMembershipContainer.querySelector('[name=academic_title]').value, 1537 salutation: salutationChosen 1538 }; 1539 personalDataPage.allInputs.forEach(function (input) { 1540 if (input.getAttribute('type') === 'checkbox') { 1541 donationData[input.name] = input.checked; 1542 } else { 1543 if (input.value) { 1544 donationData[input.name] = input.value; 1545 } 1546 } 1547 }); 1548 window.nextButton.innerHTML = loadingHTML; 1549 window.post(function (response) { 1550 response = JSON.parse(response); 1551 1552 if (response.valid === true) { 1553 try { 1554 var rhythmMap = { 1555 E: "single", 1556 M: "monthly", 1557 V: "quarterly", 1558 H: "half-yearly", 1559 J: "yearly" 1560 }; 1561 var donationValue = parseFloat(donationData.amount) || 0; 1562 window.dataLayer = window.dataLayer || []; 1563 window.dataLayer.push({ 1564 event: "mitglied_werden", 1565 ecommerce: { 1566 transaction_id: Date.now().toString() + Math.floor(Math.random() * 1000000).toString(), 1567 affiliation: "Online Store", 1568 value: donationValue, 1569 tax: 0, 1570 shipping: 0, 1571 currency: "EUR", 1572 payment_type: "sepa_direct_debit", 1573 payment_interval: rhythmMap[donationData.rhythm] || "", 1574 items: [{ 1575 item_name: "Spende", 1576 item_id: "1", 1577 item_category: "spende", 1578 price: donationValue, 1579 quantity: 1 1580 }] 1581 } 1582 }); 1583 } catch (e) {} 1584 1585 window.location = thankYouUrl; 1586 } 1587 }, fullfillDonationUrl, donationData); 1588 return _context.abrupt("return"); 1589 1590 case 18: 1591 position = window.getPos(window.pageIndicatorContainer)[1]; 1592 window.scrollToSmoothly(position - 200, 1); 1593 window.goToStep(window.currentPage + 1); 1594 _context.next = 25; 1595 break; 1596 1597 case 23: 1598 _position = window.getPos(errorElement)[1]; 1599 window.scrollToSmoothly(_position - 200, 1); 1600 1601 case 25: 1602 case "end": 1603 return _context.stop(); 1604 } 1605 } 1606 }, _callee); 1607 }))); 1608 /******************************************************* 1609 * PAGE 0 * 1610 *******************************************************/ 1611 1612 var attachValidation = function attachValidation(fieldName) { 1613 var validationRules = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; 1614 igDonationMembershipContainer.querySelector("[name=".concat(fieldName, "]")).addEventListener('change', function (event) { 1615 if (fieldName === 'date_of_birth_day' && event.target.value.length == 1) { 1616 event.target.value = '0' + event.target.value; 1617 } 1618 1619 if (fieldName === 'date_of_birth_month' && event.target.value.length == 1) { 1620 event.target.value = '0' + event.target.value; 1621 } // Trigger age validation when any birthday field changes 1622 1623 1624 if (fieldName === 'date_of_birth_day' || fieldName === 'date_of_birth_month' || fieldName === 'date_of_birth_year') { 1625 // Clear validation state from all birthday fields first to ensure consistent state 1626 igDonationMembershipContainer.querySelectorAll('.input-birthday').forEach(function (input) { 1627 input.classList.remove('is-valid', 'validation-error'); 1628 input.removeAttribute('aria-invalid'); 1629 1630 if (typeof input.setCustomValidity === 'function') { 1631 input.setCustomValidity(''); 1632 } 1633 }); // Delay validation to ensure value is updated 1634 1635 setTimeout(function () { 1636 checkValidMemberAge(); 1637 }, 50); 1638 } // Salutation select change handler 1639 1640 1641 if (fieldName === 'salutation' && validationRules.type === 'select') { 1642 if (personalDataPage.salutationSelect) { 1643 var confirmationElement = window.pages[2].querySelector('[name=salutation]'); 1644 1645 if (confirmationElement) { 1646 var selectedOption = event.target.options[event.target.selectedIndex]; 1647 confirmationElement.value = selectedOption ? selectedOption.text : ''; 1648 1649 if (selectedOption.text !== SALUTATION_PLACEHOLDER_TEXT) { 1650 personalDataPage.salutationSelect.classList.remove('validation-error'); 1651 personalDataPage.salutationSelect.classList.add('is-valid'); 1652 } else { 1653 personalDataPage.salutationSelect.classList.remove('is-valid'); 1654 personalDataPage.salutationSelect.classList.add('val
1654idation-error'); 1655 } 1656 } 1657 } 1658 } 1659 1660 if (validationRules.type === 'checkbox') { 1661 if (event.target.checked) { 1662 window.setFieldValid(event.target.parentElement); 1663 } else { 1664 window.setFieldInvalid(event.target.parentElement); 1665 } 1666 } else if (validationRules.type !== 'select') { 1667 // For birthday fields, don't set individual validation state 1668 // The age validation (checkValidMemberAge) will handle all three fields together 1669 if (fieldName === 'date_of_birth_day' || fieldName === 'date_of_birth_month' || fieldName === 'date_of_birth_year') { 1670 // Still validate the field format with backend, but don't set visual state 1671 window.validateFieldWithBackend(function (response) {// Just check if format is valid, but don't set is-valid class 1672 // Age validation will handle the visual state 1673 }, event.target.value, validationRules.type, validationRules.arguments); 1674 } else { 1675 // For non-birthday fields, use normal validation 1676 window.waitUntilUserHasFinishedTypingAndValidateField(event.target, validationRules); 1677 } 1678 } 1679 }); 1680 }; 1681 1682 var today = new Date(); 1683 var currentYear = today.getFullYear(); 1684 var oldest = 120; // Calculate the minimum birth year for 18+ validation 1685 // Note: This is used for the year field validation only 1686 // Full date validation (including month/day) is done in checkValidMemberAge() 1687 1688 var atLeast18 = currentYear - 18; // Get initial country code for postcode validation 1689 1690 var selectedCountryCode = ((_igDonationMembership = igDonationMembershipContainer.querySelector('[name=country]')) === null || _igDonationMembership === void 0 ? void 0 : _igDonationMembership.value) || ''; // data protection agreement validation 1691 1692 attachValidation('data_protection_agreement', { 1693 type: 'checkbox' 1694 }); // commitment to our goals validation 1695 1696 attachValidation('i_commit', { 1697 type: 'checkbox' 1698 }); // first name 1699 1700 attachValidation('first_name', { 1701 type: 'text', 1702 arguments: '2-40' 1703 }); // birthday day 1704 1705 attachValidation('date_of_birth_day', { 1706 type: 'int', 1707 arguments: '1-31' 1708 }); // birthday month 1709 1710 attachValidation('date_of_birth_month', { 1711 type: 'int', 1712 arguments: '1-12' 1713 }); // birthday year 1714 1715 attachValidation('date_of_birth_year', { 1716 type: 'int', 1717 arguments: currentYear - oldest + '-' + atLeast18 1718 }); // last name 1719 1720 attachValidation('last_name', { 1721 type: 'text', 1722 arguments: '2-80' 1723 }); // street 1724 1725 attachValidation('address', { 1726 type: 'text', 1727 arguments: '5-255' 1728 }); // Custom postcode validation that uses dynamic country code 1729 1730 var postcodeField = igDonationMembershipContainer.querySelector('[name=postcode]'); 1731 1732 if (postcodeField) { 1733 postcodeField.addEventListener('change', function (event) { 1734 window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 1735 type: 'postcode', 1736 arguments: selectedCountryCode 1737 }); 1738 }); 1739 } // city 1740 1741 1742 attachValidation('city', { 1743 type: 'text', 1744 arguments: '1-40' 1745 }); // email 1746 1747 attachValidation('email', { 1748 type: 'email' 1749 }); 1750 attachValidation('phone', { 1751 type: 'phone-number' 1752 }); 1753 attachValidation('salutation', { 1754 type: 'select' 1755 }); // Add country select change handler for postal code re-validation 1756 1757 var countrySelect = igDonationMembershipContainer.querySelector('[name=country]'); 1758 1759 if (countrySelect) { 1760 countrySelect.addEventListener('change', function (event) { 1761 // Update selectedCountryCode when country changes 1762 selectedCountryCode = event.target.value; // Trigger postal code validation when country changes 1763 1764 var postcodeField = igDonationMembershipContainer.querySelector('[name=postcode]'); 1765 1766 if (postcodeField && postcodeField.value) { 1767 window.waitUntilUserHasFinishedTypingAndValidateField(postcodeField, { 1768 type: 'postcode', 1769 arguments: selectedCountryCode 1770 }); 1771 } 1772 }); 1773 } 1774 /******************************************************* 1775 * PAGE 0 * 1776 *******************************************************/
1777 // amount validation/logic 1778 1779 1780 amountPageMembership.allAmountInputs.forEach(function (element) { 1781 element.addEventListener('change', function (event) { 1782 amountPageMembership.customAmountInput.value = ''; 1783 window.setFieldValid(amountPageMembership.amountContainer); 1784 }); 1785 }); 1786 amountPageMembership.customAmountInput.addEventListener('change', function () { 1787 amountPageMembership.allAmountInputs.forEach(function (element) { 1788 element.checked = false; 1789 }); // check minimum Amount 1790 1791 amountPageMembership.allRhythmInputs.forEach(function (input) { 1792 if (input.checked === true) { 1793 minimumDonationAmount = input.getAttribute("data-minimum-amount"); 1794 amountPageMembership.errorMinimumamount.innerHTML = minimumDonationAmount; 1795 } 1796 }); 1797 var currentValue = parseInt(amountPageMembership.customAmountInput.value); 1798 var minamount = parseInt(minimumDonationAmount); 1799 1800 if (currentValue >= minamount) { 1801 window.setFieldValid(amountPageMembership.amountContainer); 1802 } else { 1803 window.setFieldInvalid(amountPageMembership.amountContainer); 1804 } 1805 }); // rhythm validation/logic 1806 1807 amountPageMembership.allRhythmInputs.forEach(function (input) { 1808 input.addEventListener('change', function (event) { 1809 var rhythmID = event.target.getAttribute('data-rhythm-key'); 1810 window.setFieldValid(event.target.parentElement.parentElement); // check minimum Amount 1811 1812 minimumDonationAmount = event.target.getAttribute("data-minimum-amount"); 1813 amountPageMembership.errorMinimumamount.innerHTML = minimumDonationAmount; 1814 1815 if (amountPageMembership.customAmountInput.value) { 1816 var currentValue = parseInt(amountPageMembership.customAmountInput.value); 1817 var minamount = parseInt(minimumDonationAmount); 1818 1819 if (currentValue > 0 && currentValue >= minamount) { 1820 window.setFieldValid(amountPageMembership.amountContainer); 1821 } else { 1822 window.setFieldInvalid(amountPageMembership.amountContainer); 1823 } 1824 } 1825 }); 1826 }); // payment method validation/logic 1827 1828 amountPageMembership.accountHolderField.classList.add('required'); 1829 amountPageMembership.ibanField.classList.add('required'); 1830 amountPageMembership.accountHolderField.addEventListener('keyup', function (event) { 1831 window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 1832 type: 'text', 1833 arguments: '5-100' 1834 }); 1835 }); // Auto-convert IBAN to uppercase on input 1836 1837 amountPageMembership.ibanField.addEventListener('input', function (event) { 1838 var cursorPosition = event.target.selectionStart; 1839 event.target.value = event.target.value.toUpperCase(); 1840 event.target.setSelectionRange(cursorPosition, cursorPosition); 1841 }); 1842 amountPageMembership.ibanField.addEventListener('keyup', function (event) { 1843 if (event.target.value.substring(0, 2).toUpperCase() === 'DE') { 1844 amountPageMembership.bicField.parentElement.querySelector('label').classList.remove('required-indicator'); 1845 amountPageMembership.bicField.classList.remove('validation-error'); 1846 amountPageMembership.bicField.classList.remove('required'); 1847 } else { 1848 amountPageMembership.bicField.parentElement.querySelector('label').classList.add('required-indicator'); 1849 amountPageMembership.bicField.classList.add('required'); 1850 } 1851 1852 window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 1853 type: 'iban' 1854 }); 1855 }); // Auto-convert BIC to uppercase on input 1856 1857 amountPageMembership.bicField.addEventListener('input', function (event) { 1858 var cursorPosition = event.target.selectionStart; 1859 event.target.value = event.target.value.toUpperCase(); 1860 event.target.setSelectionRange(cursorPosition, cursorPosition); 1861 }); 1862 amountPageMembership.bicField.addEventListener('keyup', function (event) { 1863 window.waitUntilUserHasFinishedTypingAndValidateField(event.target, { 1864 type: 'bic' 1865 }); 1866 }); 1867 /** 1868 * add error message for bithday 1869 */ 1870 1871 window.checkBirthdayErrors = function () { 1872 if (!igDonationMembershipContainer) return; // check if all birthday fields are valid 1873 1874 var fieldsWithErrors = igDonationMembershipContainer.querySelectorAll('.input-birthday.validation-error'); 1875 1876 if (fieldsWithErrors.length) { 1877 amountPageMembership.errorBirthday.classList.add('error-birthday--visible'); 1878 } else { 1879 amountPageMembership.errorBirthday.classList.remove('error-birthday--visible'); 1880 } 1881 }; 1882 1883 var checkValidMemberAge = function checkValidMemberAge() { 1884 var dayVal = amountPageMembership.birthdayDayField.value; 1885 var monthVal = amountPageMembership.birthdayMonthField.value; 1886 var yearVal = amountPageMembership.birthdayYearField.value; 1887 1888 if (dayVal > 0 && monthVal > 0 && yearVal > 0) { 1889 if (dayVal.length === 1) { 1890 dayVal = '0' + dayVal; 1891 } 1892 1893 if (monthVal.length === 1) { 1894 monthVal = '0' + monthVal; 1895 } 1896 1897 var birthDate = new Date(yearVal + '-' + monthVal + '-' + dayVal); 1898 1899 if (Object.prototype.toString.call(birthDate) === "[object Date]") { 1900 if (isNaN(birthDate)) { 1901 setBithdayFieldsInvalid(); 1902 } else { 1903 // it is valid a date 1904 // check if member is at least 18 1905 if (getAge(birthDate) < 18) { 1906 setBithdayFieldsInvalid(); 1907 } else { 1908 setBithdayFieldsValid(); 1909 } 1910 } 1911 } else { 1912 setBithdayFieldsInvalid(); 1913 } 1914 1915 return true; 1916 } else { 1917 return false;
vendor: 5,640 bytes, lines 1918-2116
1918 } 1919 }; 1920} 1921 1922/***/ }), 1923 1924/***/ 9662: 1925/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1926 1927var global = __webpack_require__(7854); 1928var isCallable = __webpack_require__(614); 1929var tryToString = __webpack_require__(6330); 1930 1931var TypeError = global.TypeError; 1932 1933// `Assert: IsCallable(argument) is true` 1934module.exports = function (argument) { 1935 if (isCallable(argument)) return argument; 1936 throw TypeError(tryToString(argument) + ' is not a function'); 1937}; 1938 1939 1940/***/ }), 1941 1942/***/ 9483: 1943/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1944 1945var global = __webpack_require__(7854); 1946var isConstructor = __webpack_require__(4411); 1947var tryToString = __webpack_require__(6330); 1948 1949var TypeError = global.TypeError; 1950 1951// `Assert: IsConstructor(argument) is true` 1952module.exports = function (argument) { 1953 if (isConstructor(argument)) return argument; 1954 throw TypeError(tryToString(argument) + ' is not a constructor'); 1955}; 1956 1957 1958/***/ }), 1959 1960/***/ 6077: 1961/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1962 1963var global = __webpack_require__(7854); 1964var isCallable = __webpack_require__(614); 1965 1966var String = global.String; 1967var TypeError = global.TypeError; 1968 1969module.exports = function (argument) { 1970 if (typeof argument == 'object' || isCallable(argument)) return argument; 1971 throw TypeError("Can't set " + String(argument) + ' as a prototype'); 1972}; 1973 1974 1975/***/ }), 1976 1977/***/ 1223: 1978/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 1979 1980var wellKnownSymbol = __webpack_require__(5112); 1981var create = __webpack_require__(30); 1982var definePropertyModule = __webpack_require__(3070); 1983 1984var UNSCOPABLES = wellKnownSymbol('unscopables'); 1985var ArrayPrototype = Array.prototype; 1986 1987// Array.prototype[@@unscopables] 1988// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables 1989if (ArrayPrototype[UNSCOPABLES] == undefined) { 1990 definePropertyModule.f(ArrayPrototype, UNSCOPABLES, { 1991 configurable: true, 1992 value: create(null) 1993 }); 1994} 1995 1996// add a key to Array.prototype[@@unscopables] 1997module.exports = function (key) { 1998 ArrayPrototype[UNSCOPABLES][key] = true; 1999}; 2000 2001 2002/***/ }), 2003 2004/***/ 1530: 2005/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2006 2007"use strict"; 2008 2009var charAt = (__webpack_require__(8710).charAt); 2010 2011// `AdvanceStringIndex` abstract operation 2012// https://tc39.es/ecma262/#sec-advancestringindex 2013module.exports = function (S, index, unicode) { 2014 return index + (unicode ? charAt(S, index).length : 1); 2015}; 2016 2017 2018/***/ }), 2019 2020/***/ 5787: 2021/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2022 2023var global = __webpack_require__(7854); 2024var isPrototypeOf = __webpack_require__(7976); 2025 2026var TypeError = global.TypeError; 2027 2028module.exports = function (it, Prototype) { 2029 if (isPrototypeOf(Prototype, it)) return it; 2030 throw TypeError('Incorrect invocation'); 2031}; 2032 2033 2034/***/ }), 2035 2036/***/ 9670: 2037/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2038 2039var global = __webpack_require__(7854); 2040var isObject = __webpack_require__(111); 2041 2042var String = global.String; 2043var TypeError = global.TypeError; 2044 2045// `Assert: Type(argument) is Object` 2046module.exports = function (argument) { 2047 if (isObject(argument)) return argument; 2048 throw TypeError(String(argument) + ' is not an object'); 2049}; 2050 2051 2052/***/ }), 2053 2054/***/ 4019: 2055/***/ (function(module) { 2056 2057// eslint-disable-next-line es/no-typed-arrays -- safe 2058module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined'; 2059 2060 2061/***/ }), 2062 2063/***/ 7556: 2064/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2065 2066// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it 2067var fails = __webpack_require__(7293); 2068 2069module.exports = fails(function () { 2070 if (typeof ArrayBuffer == 'function') { 2071 var buffer = new ArrayBuffer(8); 2072 // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe 2073 if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 }); 2074 } 2075}); 2076 2077 2078/***/ }), 2079 2080/***/ 260: 2081/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2082 2083"use strict"; 2084 2085var NATIVE_ARRAY_BUFFER = __webpack_require__(4019); 2086var DESCRIPTORS = __webpack_require__(9781); 2087var global = __webpack_require__(7854); 2088var isCallable = __webpack_require__(614); 2089var isObject = __webpack_require__(111); 2090var hasOwn = __webpack_require__(2597); 2091var classof = __webpack_require__(648); 2092var tryToString = __webpack_require__(6330); 2093var createNonEnumerableProperty = __webpack_require__(8880); 2094var redefine = __webpack_require__(1320); 2095var defineProperty = (__webpack_require__(3070).f); 2096var isPrototypeOf = __webpack_require__(7976); 2097var getPrototypeOf = __webpack_require__(9518); 2098var setPrototypeOf = __webpack_require__(7674); 2099var wellKnownSymbol = __webpack_require__(5112); 2100var uid = __webpack_require__(9711); 2101 2102var Int8Array = global.Int8Array; 2103var Int8ArrayPrototype = Int8Array && Int8Array.prototype; 2104var Uint8ClampedArray = global.Uint8ClampedArray; 2105var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; 2106var TypedArray = Int8Array && getPrototypeOf(Int8Array); 2107var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype); 2108var ObjectPrototype = Object.prototype; 2109var TypeError = global.TypeError; 2110 2111var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 2112var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG'); 2113var TYPED_ARRAY_CONSTRUCTOR = uid('TYPED_ARRAY_CONSTRUCTOR'); 2114// Fixing native typed arrays in Opera Presto crashes the browser, see #595 2115var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera'; 2116var TYPED_ARRAY_TAG_REQUIRED = false;
vendor: 32,393 bytes, lines 2117-3094
2117var NAME, Constructor, Prototype; 2118 2119var TypedArrayConstructorsList = { 2120 Int8Array: 1, 2121 Uint8Array: 1, 2122 Uint8ClampedArray: 1, 2123 Int16Array: 2, 2124 Uint16Array: 2, 2125 Int32Array: 4, 2126 Uint32Array: 4, 2127 Float32Array: 4, 2128 Float64Array: 8 2129}; 2130 2131var BigIntArrayConstructorsList = { 2132 BigInt64Array: 8, 2133 BigUint64Array: 8 2134}; 2135 2136var isView = function isView(it) { 2137 if (!isObject(it)) return false; 2138 var klass = classof(it); 2139 return klass === 'DataView' 2140 || hasOwn(TypedArrayConstructorsList, klass) 2141 || hasOwn(BigIntArrayConstructorsList, klass); 2142}; 2143 2144var isTypedArray = function (it) { 2145 if (!isObject(it)) return false; 2146 var klass = classof(it); 2147 return hasOwn(TypedArrayConstructorsList, klass) 2148 || hasOwn(BigIntArrayConstructorsList, klass); 2149}; 2150 2151var aTypedArray = function (it) { 2152 if (isTypedArray(it)) return it; 2153 throw TypeError('Target is not a typed array'); 2154}; 2155 2156var aTypedArrayConstructor = function (C) { 2157 if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C; 2158 throw TypeError(tryToString(C) + ' is not a typed array constructor'); 2159}; 2160 2161var exportTypedArrayMethod = function (KEY, property, forced, options) { 2162 if (!DESCRIPTORS) return; 2163 if (forced) for (var ARRAY in TypedArrayConstructorsList) { 2164 var TypedArrayConstructor = global[ARRAY]; 2165 if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try { 2166 delete TypedArrayConstructor.prototype[KEY]; 2167 } catch (error) { 2168 // old WebKit bug - some methods are non-configurable 2169 try { 2170 TypedArrayConstructor.prototype[KEY] = property; 2171 } catch (error2) { /* empty */ } 2172 } 2173 } 2174 if (!TypedArrayPrototype[KEY] || forced) { 2175 redefine(TypedArrayPrototype, KEY, forced ? property 2176 : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options); 2177 } 2178}; 2179 2180var exportTypedArrayStaticMethod = function (KEY, property, forced) { 2181 var ARRAY, TypedArrayConstructor; 2182 if (!DESCRIPTORS) return; 2183 if (setPrototypeOf) { 2184 if (forced) for (ARRAY in TypedArrayConstructorsList) { 2185 TypedArrayConstructor = global[ARRAY]; 2186 if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try { 2187 delete TypedArrayConstructor[KEY]; 2188 } catch (error) { /* empty */ } 2189 } 2190 if (!TypedArray[KEY] || forced) { 2191 // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable 2192 try { 2193 return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property); 2194 } catch (error) { /* empty */ } 2195 } else return; 2196 } 2197 for (ARRAY in TypedArrayConstructorsList) { 2198 TypedArrayConstructor = global[ARRAY]; 2199 if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { 2200 redefine(TypedArrayConstructor, KEY, property); 2201 } 2202 } 2203}; 2204 2205for (NAME in TypedArrayConstructorsList) { 2206 Constructor = global[NAME]; 2207 Prototype = Constructor && Constructor.prototype; 2208 if (Prototype) createNonEnumerableProperty(Prototype, TYPED_ARRAY_CONSTRUCTOR, Constructor); 2209 else NATIVE_ARRAY_BUFFER_VIEWS = false; 2210} 2211 2212for (NAME in BigIntArrayConstructorsList) { 2213 Constructor = global[NAME]; 2214 Prototype = Constructor && Constructor.prototype; 2215 if (Prototype) createNonEnumerableProperty(Prototype, TYPED_ARRAY_CONSTRUCTOR, Constructor); 2216} 2217 2218// WebKit bug - typed arrays constructors prototype is Object.prototype 2219if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) { 2220 // eslint-disable-next-line no-shadow -- safe 2221 TypedArray = function TypedArray() { 2222 throw TypeError('Incorrect invocation'); 2223 }; 2224 if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { 2225 if (global[NAME]) setPrototypeOf(global[NAME], TypedArray); 2226 } 2227} 2228 2229if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { 2230 TypedArrayPrototype = TypedArray.prototype; 2231 if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { 2232 if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype); 2233 } 2234} 2235 2236// WebKit bug - one more object in Uint8ClampedArray prototype chain 2237if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { 2238 setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); 2239} 2240 2241if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) { 2242 TYPED_ARRAY_TAG_REQUIRED = true; 2243 defineProperty(TypedArrayPrototype, TO_STRING_TAG, { get: function () { 2244 return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined; 2245 } }); 2246 for (NAME in TypedArrayConstructorsList) if (global[NAME]) { 2247 createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME); 2248 } 2249} 2250 2251module.exports = { 2252 NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS, 2253 TYPED_ARRAY_CONSTRUCTOR: TYPED_ARRAY_CONSTRUCTOR, 2254 TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG, 2255 aTypedArray: aTypedArray, 2256 aTypedArrayConstructor: aTypedArrayConstructor, 2257 exportTypedArrayMethod: exportTypedArrayMethod, 2258 exportTypedArrayStaticMethod: exportTypedArrayStaticMethod, 2259 isView: isView, 2260 isTypedArray: isTypedArray, 2261 TypedArray: TypedArray, 2262 TypedArrayPrototype: TypedArrayPrototype 2263}; 2264 2265 2266/***/ }), 2267 2268/***/ 3331: 2269/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2270 2271"use strict"; 2272 2273var global = __webpack_require__(7854); 2274var uncurryThis = __webpack_require__(1702); 2275var DESCRIPTORS = __webpack_require__(9781); 2276var NATIVE_ARRAY_BUFFER = __webpack_require__(4019); 2277var FunctionName = __webpack_require__(6530); 2278var createNonEnumerableProperty = __webpack_require__(8880); 2279var redefineAll = __webpack_require__(2248); 2280var fails = __webpack_require__(7293); 2281var anInstance = __webpack_require__(5787); 2282var toIntegerOrInfinity = __webpack_require__(9303); 2283var toLength = __webpack_require__(7466); 2284var toIndex = __webpack_require__(7067); 2285var IEEE754 = __webpack_require__(1179); 2286var getPrototypeOf = __webpack_require__(9518); 2287var setPrototypeOf = __webpack_require__(7674); 2288var getOwnPropertyNames = (__webpack_require__(8006).f); 2289var defineProperty = (__webpack_require__(3070).f); 2290var arrayFill = __webpack_require__(1285); 2291var arraySlice = __webpack_require__(1589); 2292var setToStringTag = __webpack_require__(8003); 2293var InternalStateModule = __webpack_require__(9909); 2294 2295var PROPER_FUNCTION_NAME = FunctionName.PROPER; 2296var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; 2297var getInternalState = InternalStateModule.get; 2298var setInternalState = InternalStateModule.set; 2299var ARRAY_BUFFER = 'ArrayBuffer'; 2300var DATA_VIEW = 'DataView'; 2301var PROTOTYPE = 'prototype'; 2302var WRONG_LENGTH = 'Wrong length'; 2303var WRONG_INDEX = 'Wrong index'; 2304var NativeArrayBuffer = global[ARRAY_BUFFER]; 2305var $ArrayBuffer = NativeArrayBuffer; 2306var ArrayBufferPrototype = $ArrayBuffer && $ArrayBuffer[PROTOTYPE]; 2307var $DataView = global[DATA_VIEW]; 2308var DataViewPrototype = $DataView && $DataView[PROTOTYPE]; 2309var ObjectPrototype = Object.prototype; 2310var Array = global.Array; 2311var RangeError = global.RangeError; 2312var fill = uncurryThis(arrayFill); 2313var reverse = uncurryThis([].reverse); 2314 2315var packIEEE754 = IEEE754.pack; 2316var unpackIEEE754 = IEEE754.unpack; 2317 2318var packInt8 = function (number) { 2319 return [number & 0xFF]; 2320}; 2321 2322var packInt16 = function (number) { 2323 return [number & 0xFF, number >> 8 & 0xFF]; 2324}; 2325 2326var packInt32 = function (number) { 2327 return [number & 0xFF, number >> 8 & 0xFF, number >> 16 & 0xFF, number >> 24 & 0xFF]; 2328}; 2329 2330var unpackInt32 = function (buffer) { 2331 return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0]; 2332}; 2333 2334var packFloat32 = function (number) { 2335 return packIEEE754(number, 23, 4); 2336}; 2337 2338var packFloat64 = function (number) { 2339 return packIEEE754(number, 52, 8); 2340}; 2341 2342var addGetter = function (Constructor, key) { 2343 defineProperty(Constructor[PROTOTYPE], key, { get: function () { return getInternalState(this)[key]; } }); 2344}; 2345 2346var get = function (view, count, index, isLittleEndian) { 2347 var intIndex = toIndex(index); 2348 var store = getInternalState(view); 2349 if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX); 2350 var bytes = getInternalState(store.buffer).bytes; 2351 var start = intIndex + store.byteOffset; 2352 var pack = arraySlice(bytes, start, start + count); 2353 return isLittleEndian ? pack : reverse(pack); 2354}; 2355 2356var set = function (view, count, index, conversion, value, isLittleEndian) { 2357 var intIndex = toIndex(index); 2358 var store = getInternalState(view); 2359 if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX); 2360 var bytes = getInternalState(store.buffer).bytes; 2361 var start = intIndex + store.byteOffset; 2362 var pack = conversion(+value); 2363 for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1]; 2364}; 2365 2366if (!NATIVE_ARRAY_BUFFER) { 2367 $ArrayBuffer = function ArrayBuffer(length) { 2368 anInstance(this, ArrayBufferPrototype); 2369 var byteLength = toIndex(length); 2370 setInternalState(this, { 2371 bytes: fill(Array(byteLength), 0), 2372 byteLength: byteLength 2373 }); 2374 if (!DESCRIPTORS) this.byteLength = byteLength; 2375 }; 2376 2377 ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE]; 2378 2379 $DataView = function DataView(buffer, byteOffset, byteLength) { 2380 anInstance(this, DataViewPrototype); 2381 anInstance(buffer, ArrayBufferPrototype); 2382 var bufferLength = getInternalState(buffer).byteLength; 2383 var offset = toIntegerOrInfinity(byteOffset); 2384 if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset'); 2385 byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); 2386 if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH); 2387 setInternalState(this, { 2388 buffer: buffer, 2389 byteLength: byteLength, 2390 byteOffset: offset 2391 }); 2392 if (!DESCRIPTORS) { 2393 this.buffer = buffer; 2394 this.byteLength = byteLength; 2395 this.byteOffset = offset; 2396 } 2397 }; 2398 2399 DataViewPrototype = $DataView[PROTOTYPE]; 2400 2401 if (DESCRIPTORS) { 2402 addGetter($ArrayBuffer, 'byteLength'); 2403 addGetter($DataView, 'buffer'); 2404 addGetter($DataView, 'byteLength'); 2405 addGetter($DataView, 'byteOffset'); 2406 } 2407 2408 redefineAll(DataViewPrototype, { 2409 getInt8: function getInt8(byteOffset) { 2410 return get(this, 1, byteOffset)[0] << 24 >> 24; 2411 }, 2412 getUint8: function getUint8(byteOffset) { 2413 return get(this, 1, byteOffset)[0]; 2414 }, 2415 getInt16: function getInt16(byteOffset /* , littleEndian */) { 2416 var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined); 2417 return (bytes[1] << 8 | bytes[0]) << 16 >> 16; 2418 }, 2419 getUint16: function getUint16(byteOffset /* , littleEndian */) { 2420 var bytes = get(this, 2, byteOffset, arguments.length > 1 ? arguments[1] : undefined); 2421 return bytes[1] << 8 | bytes[0]; 2422 }, 2423 getInt32: function getInt32(byteOffset /* , littleEndian */) { 2424 return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)); 2425 }, 2426 getUint32: function getUint32(byteOffset /* , littleEndian */) { 2427 return unpackInt32(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined)) >>> 0; 2428 }, 2429 getFloat32: function getFloat32(byteOffset /* , littleEndian */) { 2430 return unpackIEEE754(get(this, 4, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 23); 2431 }, 2432 getFloat64: function getFloat64(byteOffset /* , littleEndian */) { 2433 return unpackIEEE754(get(this, 8, byteOffset, arguments.length > 1 ? arguments[1] : undefined), 52); 2434 }, 2435 setInt8: function setInt8(byteOffset, value) { 2436 set(this, 1, byteOffset, packInt8, value); 2437 }, 2438 setUint8: function setUint8(byteOffset, value) { 2439 set(this, 1, byteOffset, packInt8, value); 2440 }, 2441 setInt16: function setInt16(byteOffset, value /* , littleEndian */) { 2442 set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined); 2443 }, 2444 setUint16: function setUint16(byteOffset, value /* , littleEndian */) { 2445 set(this, 2, byteOffset, packInt16, value, arguments.length > 2 ? arguments[2] : undefined); 2446 }, 2447 setInt32: function setInt32(byteOffset, value /* , littleEndian */) { 2448 set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined); 2449 }, 2450 setUint32: function setUint32(byteOffset, value /* , littleEndian */) { 2451 set(this, 4, byteOffset, packInt32, value, arguments.length > 2 ? arguments[2] : undefined); 2452 }, 2453 setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { 2454 set(this, 4, byteOffset, packFloat32, value, arguments.length > 2 ? arguments[2] : undefined); 2455 }, 2456 setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { 2457 set(this, 8, byteOffset, packFloat64, value, arguments.length > 2 ? arguments[2] : undefined); 2458 } 2459 }); 2460} else { 2461 var INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME && NativeArrayBuffer.name !== ARRAY_BUFFER; 2462 /* eslint-disable no-new -- required for testing */ 2463 if (!fails(function () { 2464 NativeArrayBuffer(1); 2465 }) || !fails(function () { 2466 new NativeArrayBuffer(-1); 2467 }) || fails(function () { 2468 new NativeArrayBuffer(); 2469 new NativeArrayBuffer(1.5); 2470 new NativeArrayBuffer(NaN); 2471 return INCORRECT_ARRAY_BUFFER_NAME && !CONFIGURABLE_FUNCTION_NAME; 2472 })) { 2473 /* eslint-enable no-new -- required for testing */ 2474 $ArrayBuffer = function ArrayBuffer(length) { 2475 anInstance(this, ArrayBufferPrototype); 2476 return new NativeArrayBuffer(toIndex(length)); 2477 }; 2478 2479 $ArrayBuffer[PROTOTYPE] = ArrayBufferPrototype; 2480 2481 for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) { 2482 if (!((key = keys[j++]) in $ArrayBuffer)) { 2483 createNonEnumerableProperty($ArrayBuffer, key, NativeArrayBuffer[key]); 2484 } 2485 } 2486 2487 ArrayBufferPrototype.constructor = $ArrayBuffer; 2488 } else if (INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME) { 2489 createNonEnumerableProperty(NativeArrayBuffer, 'name', ARRAY_BUFFER); 2490 } 2491 2492 // WebKit bug - the same parent prototype for typed arrays and data view 2493 if (setPrototypeOf && getPrototypeOf(DataViewPrototype) !== ObjectPrototype) { 2494 setPrototypeOf(DataViewPrototype, ObjectPrototype); 2495 } 2496 2497 // iOS Safari 7.x bug 2498 var testView = new $DataView(new $ArrayBuffer(2)); 2499 var $setInt8 = uncurryThis(DataViewPrototype.setInt8); 2500 testView.setInt8(0, 2147483648); 2501 testView.setInt8(1, 2147483649); 2502 if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll(DataViewPrototype, { 2503 setInt8: function setInt8(byteOffset, value) { 2504 $setInt8(this, byteOffset, value << 24 >> 24); 2505 }, 2506 setUint8: function setUint8(byteOffset, value) { 2507 $setInt8(this, byteOffset, value << 24 >> 24); 2508 } 2509 }, { unsafe: true }); 2510} 2511 2512setToStringTag($ArrayBuffer, ARRAY_BUFFER); 2513setToStringTag($DataView, DATA_VIEW); 2514 2515module.exports = { 2516 ArrayBuffer: $ArrayBuffer, 2517 DataView: $DataView 2518}; 2519 2520 2521/***/ }), 2522 2523/***/ 1048: 2524/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2525 2526"use strict"; 2527 2528var toObject = __webpack_require__(7908); 2529var toAbsoluteIndex = __webpack_require__(1400); 2530var lengthOfArrayLike = __webpack_require__(6244); 2531 2532var min = Math.min; 2533 2534// `Array.prototype.copyWithin` method implementation 2535// https://tc39.es/ecma262/#sec-array.prototype.copywithin 2536// eslint-disable-next-line es/no-array-prototype-copywithin -- safe 2537module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { 2538 var O = toObject(this); 2539 var len = lengthOfArrayLike(O); 2540 var to = toAbsoluteIndex(target, len); 2541 var from = toAbsoluteIndex(start, len); 2542 var end = arguments.length > 2 ? arguments[2] : undefined; 2543 var count = min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); 2544 var inc = 1; 2545 if (from < to && to < from + count) { 2546 inc = -1; 2547 from += count - 1; 2548 to += count - 1; 2549 } 2550 while (count-- > 0) { 2551 if (from in O) O[to] = O[from]; 2552 else delete O[to]; 2553 to += inc; 2554 from += inc; 2555 } return O; 2556}; 2557 2558 2559/***/ }), 2560 2561/***/ 1285: 2562/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2563 2564"use strict"; 2565 2566var toObject = __webpack_require__(7908); 2567var toAbsoluteIndex = __webpack_require__(1400); 2568var lengthOfArrayLike = __webpack_require__(6244); 2569 2570// `Array.prototype.fill` method implementation 2571// https://tc39.es/ecma262/#sec-array.prototype.fill 2572module.exports = function fill(value /* , start = 0, end = @length */) { 2573 var O = toObject(this); 2574 var length = lengthOfArrayLike(O); 2575 var argumentsLength = arguments.length; 2576 var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length); 2577 var end = argumentsLength > 2 ? arguments[2] : undefined; 2578 var endPos = end === undefined ? length : toAbsoluteIndex(end, length); 2579 while (endPos > index) O[index++] = value; 2580 return O; 2581}; 2582 2583 2584/***/ }), 2585 2586/***/ 8533: 2587/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2588 2589"use strict"; 2590 2591var $forEach = (__webpack_require__(2092).forEach); 2592var arrayMethodIsStrict = __webpack_require__(2133); 2593 2594var STRICT_METHOD = arrayMethodIsStrict('forEach'); 2595 2596// `Array.prototype.forEach` method implementation 2597// https://tc39.es/ecma262/#sec-array.prototype.foreach 2598module.exports = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) { 2599 return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 2600// eslint-disable-next-line es/no-array-prototype-foreach -- safe 2601} : [].forEach; 2602 2603 2604/***/ }), 2605 2606/***/ 7745: 2607/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2608 2609var lengthOfArrayLike = __webpack_require__(6244); 2610 2611module.exports = function (Constructor, list) { 2612 var index = 0; 2613 var length = lengthOfArrayLike(list); 2614 var result = new Constructor(length); 2615 while (length > index) result[index] = list[index++]; 2616 return result; 2617}; 2618 2619 2620/***/ }), 2621 2622/***/ 8457: 2623/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2624 2625"use strict"; 2626 2627var global = __webpack_require__(7854); 2628var bind = __webpack_require__(9974); 2629var call = __webpack_require__(6916); 2630var toObject = __webpack_require__(7908); 2631var callWithSafeIterationClosing = __webpack_require__(3411); 2632var isArrayIteratorMethod = __webpack_require__(7659); 2633var isConstructor = __webpack_require__(4411); 2634var lengthOfArrayLike = __webpack_require__(6244); 2635var createProperty = __webpack_require__(6135); 2636var getIterator = __webpack_require__(8554); 2637var getIteratorMethod = __webpack_require__(1246); 2638 2639var Array = global.Array; 2640 2641// `Array.from` method implementation 2642// https://tc39.es/ecma262/#sec-array.from 2643module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { 2644 var O = toObject(arrayLike); 2645 var IS_CONSTRUCTOR = isConstructor(this); 2646 var argumentsLength = arguments.length; 2647 var mapfn = argumentsLength > 1 ? arguments[1] : undefined; 2648 var mapping = mapfn !== undefined; 2649 if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined); 2650 var iteratorMethod = getIteratorMethod(O); 2651 var index = 0; 2652 var length, result, step, iterator, next, value; 2653 // if the target is not iterable or it's an array with the default iterator - use a simple case 2654 if (iteratorMethod && !(this == Array && isArrayIteratorMethod(iteratorMethod))) { 2655 iterator = getIterator(O, iteratorMethod); 2656 next = iterator.next; 2657 result = IS_CONSTRUCTOR ? new this() : []; 2658 for (;!(step = call(next, iterator)).done; index++) { 2659 value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value; 2660 createProperty(result, index, value); 2661 } 2662 } else { 2663 length = lengthOfArrayLike(O); 2664 result = IS_CONSTRUCTOR ? new this(length) : Array(length); 2665 for (;length > index; index++) { 2666 value = mapping ? mapfn(O[index], index) : O[index]; 2667 createProperty(result, index, value); 2668 } 2669 } 2670 result.length = index; 2671 return result; 2672}; 2673 2674 2675/***/ }), 2676 2677/***/ 1318: 2678/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2679 2680var toIndexedObject = __webpack_require__(5656); 2681var toAbsoluteIndex = __webpack_require__(1400); 2682var lengthOfArrayLike = __webpack_require__(6244); 2683 2684// `Array.prototype.{ indexOf, includes }` methods implementation 2685var createMethod = function (IS_INCLUDES) { 2686 return function ($this, el, fromIndex) { 2687 var O = toIndexedObject($this); 2688 var length = lengthOfArrayLike(O); 2689 var index = toAbsoluteIndex(fromIndex, length); 2690 var value; 2691 // Array#includes uses SameValueZero equality algorithm 2692 // eslint-disable-next-line no-self-compare -- NaN check 2693 if (IS_INCLUDES && el != el) while (length > index) { 2694 value = O[index++]; 2695 // eslint-disable-next-line no-self-compare -- NaN check 2696 if (value != value) return true; 2697 // Array#indexOf ignores holes, Array#includes - not 2698 } else for (;length > index; index++) { 2699 if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; 2700 } return !IS_INCLUDES && -1; 2701 }; 2702}; 2703 2704module.exports = { 2705 // `Array.prototype.includes` method 2706 // https://tc39.es/ecma262/#sec-array.prototype.includes 2707 includes: createMethod(true), 2708 // `Array.prototype.indexOf` method 2709 // https://tc39.es/ecma262/#sec-array.prototype.indexof 2710 indexOf: createMethod(false) 2711}; 2712 2713 2714/***/ }), 2715 2716/***/ 2092: 2717/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2718 2719var bind = __webpack_require__(9974); 2720var uncurryThis = __webpack_require__(1702); 2721var IndexedObject = __webpack_require__(8361); 2722var toObject = __webpack_require__(7908); 2723var lengthOfArrayLike = __webpack_require__(6244); 2724var arraySpeciesCreate = __webpack_require__(5417); 2725 2726var push = uncurryThis([].push); 2727 2728// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation 2729var createMethod = function (TYPE) { 2730 var IS_MAP = TYPE == 1; 2731 var IS_FILTER = TYPE == 2; 2732 var IS_SOME = TYPE == 3; 2733 var IS_EVERY = TYPE == 4; 2734 var IS_FIND_INDEX = TYPE == 6; 2735 var IS_FILTER_REJECT = TYPE == 7; 2736 var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; 2737 return function ($this, callbackfn, that, specificCreate) { 2738 var O = toObject($this); 2739 var self = IndexedObject(O); 2740 var boundFunction = bind(callbackfn, that); 2741 var length = lengthOfArrayLike(self); 2742 var index = 0; 2743 var create = specificCreate || arraySpeciesCreate; 2744 var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; 2745 var value, result; 2746 for (;length > index; index++) if (NO_HOLES || index in self) { 2747 value = self[index]; 2748 result = boundFunction(value, index, O); 2749 if (TYPE) { 2750 if (IS_MAP) target[index] = result; // map 2751 else if (result) switch (TYPE) { 2752 case 3: return true; // some 2753 case 5: return value; // find 2754 case 6: return index; // findIndex 2755 case 2: push(target, value); // filter 2756 } else switch (TYPE) { 2757 case 4: return false; // every 2758 case 7: push(target, value); // filterReject 2759 } 2760 } 2761 } 2762 return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; 2763 }; 2764}; 2765 2766module.exports = { 2767 // `Array.prototype.forEach` method 2768 // https://tc39.es/ecma262/#sec-array.prototype.foreach 2769 forEach: createMethod(0), 2770 // `Array.prototype.map` method 2771 // https://tc39.es/ecma262/#sec-array.prototype.map 2772 map: createMethod(1), 2773 // `Array.prototype.filter` method 2774 // https://tc39.es/ecma262/#sec-array.prototype.filter 2775 filter: createMethod(2), 2776 // `Array.prototype.some` method 2777 // https://tc39.es/ecma262/#sec-array.prototype.some 2778 some: createMethod(3), 2779 // `Array.prototype.every` method 2780 // https://tc39.es/ecma262/#sec-array.prototype.every 2781 every: createMethod(4), 2782 // `Array.prototype.find` method 2783 // https://tc39.es/ecma262/#sec-array.prototype.find 2784 find: createMethod(5), 2785 // `Array.prototype.findIndex` method 2786 // https://tc39.es/ecma262/#sec-array.prototype.findIndex 2787 findIndex: createMethod(6), 2788 // `Array.prototype.filterReject` method 2789 // https://github.com/tc39/proposal-array-filtering 2790 filterReject: createMethod(7) 2791}; 2792 2793 2794/***/ }), 2795 2796/***/ 6583: 2797/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2798 2799"use strict"; 2800 2801/* eslint-disable es/no-array-prototype-lastindexof -- safe */ 2802var apply = __webpack_require__(2104); 2803var toIndexedObject = __webpack_require__(5656); 2804var toIntegerOrInfinity = __webpack_require__(9303); 2805var lengthOfArrayLike = __webpack_require__(6244); 2806var arrayMethodIsStrict = __webpack_require__(2133); 2807 2808var min = Math.min; 2809var $lastIndexOf = [].lastIndexOf; 2810var NEGATIVE_ZERO = !!$lastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0; 2811var STRICT_METHOD = arrayMethodIsStrict('lastIndexOf'); 2812var FORCED = NEGATIVE_ZERO || !STRICT_METHOD; 2813 2814// `Array.prototype.lastIndexOf` method implementation 2815// https://tc39.es/ecma262/#sec-array.prototype.lastindexof 2816module.exports = FORCED ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { 2817 // convert -0 to +0 2818 if (NEGATIVE_ZERO) return apply($lastIndexOf, this, arguments) || 0; 2819 var O = toIndexedObject(this); 2820 var length = lengthOfArrayLike(O); 2821 var index = length - 1; 2822 if (arguments.length > 1) index = min(index, toIntegerOrInfinity(arguments[1])); 2823 if (index < 0) index = length + index; 2824 for (;index >= 0; index--) if (index in O && O[index] === searchElement) return index || 0; 2825 return -1; 2826} : $lastIndexOf; 2827 2828 2829/***/ }), 2830 2831/***/ 1194: 2832/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2833 2834var fails = __webpack_require__(7293); 2835var wellKnownSymbol = __webpack_require__(5112); 2836var V8_VERSION = __webpack_require__(7392); 2837 2838var SPECIES = wellKnownSymbol('species'); 2839 2840module.exports = function (METHOD_NAME) { 2841 // We can't use this feature detection in V8 since it causes 2842 // deoptimization and serious performance degradation 2843 // https://github.com/zloirock/core-js/issues/677 2844 return V8_VERSION >= 51 || !fails(function () { 2845 var array = []; 2846 var constructor = array.constructor = {}; 2847 constructor[SPECIES] = function () { 2848 return { foo: 1 }; 2849 }; 2850 return array[METHOD_NAME](Boolean).foo !== 1; 2851 }); 2852}; 2853 2854 2855/***/ }), 2856 2857/***/ 2133: 2858/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2859 2860"use strict"; 2861 2862var fails = __webpack_require__(7293); 2863 2864module.exports = function (METHOD_NAME, argument) { 2865 var method = [][METHOD_NAME]; 2866 return !!method && fails(function () { 2867 // eslint-disable-next-line no-useless-call -- required for testing 2868 method.call(null, argument || function () { return 1; }, 1); 2869 }); 2870}; 2871 2872 2873/***/ }), 2874 2875/***/ 3671: 2876/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2877 2878var global = __webpack_require__(7854); 2879var aCallable = __webpack_require__(9662); 2880var toObject = __webpack_require__(7908); 2881var IndexedObject = __webpack_require__(8361); 2882var lengthOfArrayLike = __webpack_require__(6244); 2883 2884var TypeError = global.TypeError; 2885 2886// `Array.prototype.{ reduce, reduceRight }` methods implementation 2887var createMethod = function (IS_RIGHT) { 2888 return function (that, callbackfn, argumentsLength, memo) { 2889 aCallable(callbackfn); 2890 var O = toObject(that); 2891 var self = IndexedObject(O); 2892 var length = lengthOfArrayLike(O); 2893 var index = IS_RIGHT ? length - 1 : 0; 2894 var i = IS_RIGHT ? -1 : 1; 2895 if (argumentsLength < 2) while (true) { 2896 if (index in self) { 2897 memo = self[index]; 2898 index += i; 2899 break; 2900 } 2901 index += i; 2902 if (IS_RIGHT ? index < 0 : length <= index) { 2903 throw TypeError('Reduce of empty array with no initial value'); 2904 } 2905 } 2906 for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) { 2907 memo = callbackfn(memo, self[index], index, O); 2908 } 2909 return memo; 2910 }; 2911}; 2912 2913module.exports = { 2914 // `Array.prototype.reduce` method 2915 // https://tc39.es/ecma262/#sec-array.prototype.reduce 2916 left: createMethod(false), 2917 // `Array.prototype.reduceRight` method 2918 // https://tc39.es/ecma262/#sec-array.prototype.reduceright 2919 right: createMethod(true) 2920}; 2921 2922 2923/***/ }), 2924 2925/***/ 1589: 2926/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2927 2928var global = __webpack_require__(7854); 2929var toAbsoluteIndex = __webpack_require__(1400); 2930var lengthOfArrayLike = __webpack_require__(6244); 2931var createProperty = __webpack_require__(6135); 2932 2933var Array = global.Array; 2934var max = Math.max; 2935 2936module.exports = function (O, start, end) { 2937 var length = lengthOfArrayLike(O); 2938 var k = toAbsoluteIndex(start, length); 2939 var fin = toAbsoluteIndex(end === undefined ? length : end, length); 2940 var result = Array(max(fin - k, 0)); 2941 for (var n = 0; k < fin; k++, n++) createProperty(result, n, O[k]); 2942 result.length = n; 2943 return result; 2944}; 2945 2946 2947/***/ }), 2948 2949/***/ 206: 2950/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2951 2952var uncurryThis = __webpack_require__(1702); 2953 2954module.exports = uncurryThis([].slice); 2955 2956 2957/***/ }), 2958 2959/***/ 4362: 2960/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 2961 2962var arraySlice = __webpack_require__(1589); 2963 2964var floor = Math.floor; 2965 2966var mergeSort = function (array, comparefn) { 2967 var length = array.length; 2968 var middle = floor(length / 2); 2969 return length < 8 ? insertionSort(array, comparefn) : merge( 2970 array, 2971 mergeSort(arraySlice(array, 0, middle), comparefn), 2972 mergeSort(arraySlice(array, middle), comparefn), 2973 comparefn 2974 ); 2975}; 2976 2977var insertionSort = function (array, comparefn) { 2978 var length = array.length; 2979 var i = 1; 2980 var element, j; 2981 2982 while (i < length) { 2983 j = i; 2984 element = array[i]; 2985 while (j && comparefn(array[j - 1], element) > 0) { 2986 array[j] = array[--j]; 2987 } 2988 if (j !== i++) array[j] = element; 2989 } return array; 2990}; 2991 2992var merge = function (array, left, right, comparefn) { 2993 var llength = left.length; 2994 var rlength = right.length; 2995 var lindex = 0; 2996 var rindex = 0; 2997 2998 while (lindex < llength || rindex < rlength) { 2999 array[lindex + rindex] = (lindex < llength && rindex < rlength) 3000 ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++] 3001 : lindex < llength ? left[lindex++] : right[rindex++]; 3002 } return array; 3003}; 3004 3005module.exports = mergeSort; 3006 3007 3008/***/ }), 3009 3010/***/ 7475: 3011/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3012 3013var global = __webpack_require__(7854); 3014var isArray = __webpack_require__(3157); 3015var isConstructor = __webpack_require__(4411); 3016var isObject = __webpack_require__(111); 3017var wellKnownSymbol = __webpack_require__(5112); 3018 3019var SPECIES = wellKnownSymbol('species'); 3020var Array = global.Array; 3021 3022// a part of `ArraySpeciesCreate` abstract operation 3023// https://tc39.es/ecma262/#sec-arrayspeciescreate 3024module.exports = function (originalArray) { 3025 var C; 3026 if (isArray(originalArray)) { 3027 C = originalArray.constructor; 3028 // cross-realm fallback 3029 if (isConstructor(C) && (C === Array || isArray(C.prototype))) C = undefined; 3030 else if (isObject(C)) { 3031 C = C[SPECIES]; 3032 if (C === null) C = undefined; 3033 } 3034 } return C === undefined ? Array : C; 3035}; 3036 3037 3038/***/ }), 3039 3040/***/ 5417: 3041/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3042 3043var arraySpeciesConstructor = __webpack_require__(7475); 3044 3045// `ArraySpeciesCreate` abstract operation 3046// https://tc39.es/ecma262/#sec-arrayspeciescreate 3047module.exports = function (originalArray, length) { 3048 return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); 3049}; 3050 3051 3052/***/ }), 3053 3054/***/ 4170: 3055/***/ (function(module) { 3056 3057var itoc = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='; 3058var ctoi = {}; 3059 3060for (var index = 0; index < 66; index++) ctoi[itoc.charAt(index)] = index; 3061 3062module.exports = { 3063 itoc: itoc, 3064 ctoi: ctoi 3065}; 3066 3067 3068/***/ }), 3069 3070/***/ 3411: 3071/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3072 3073var anObject = __webpack_require__(9670); 3074var iteratorClose = __webpack_require__(9212); 3075 3076// call something on iterator step with safe closing on error 3077module.exports = function (iterator, fn, value, ENTRIES) { 3078 try { 3079 return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); 3080 } catch (error) { 3081 iteratorClose(iterator, 'throw', error); 3082 } 3083}; 3084 3085 3086/***/ }), 3087 3088/***/ 7072: 3089/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3090 3091var wellKnownSymbol = __webpack_require__(5112); 3092 3093var ITERATOR = wellKnownSymbol('iterator'); 3094var SAFE_CLOSING = false;
vendor: 11,489 bytes, lines 3095-3439
3095 3096try { 3097 var called = 0; 3098 var iteratorWithReturn = { 3099 next: function () { 3100 return { done: !!called++ }; 3101 }, 3102 'return': function () { 3103 SAFE_CLOSING = true; 3104 } 3105 }; 3106 iteratorWithReturn[ITERATOR] = function () { 3107 return this; 3108 }; 3109 // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing 3110 Array.from(iteratorWithReturn, function () { throw 2; }); 3111} catch (error) { /* empty */ } 3112 3113module.exports = function (exec, SKIP_CLOSING) { 3114 if (!SKIP_CLOSING && !SAFE_CLOSING) return false; 3115 var ITERATION_SUPPORT = false; 3116 try { 3117 var object = {}; 3118 object[ITERATOR] = function () { 3119 return { 3120 next: function () { 3121 return { done: ITERATION_SUPPORT = true }; 3122 } 3123 }; 3124 }; 3125 exec(object); 3126 } catch (error) { /* empty */ } 3127 return ITERATION_SUPPORT; 3128}; 3129 3130 3131/***/ }), 3132 3133/***/ 4326: 3134/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3135 3136var uncurryThis = __webpack_require__(1702); 3137 3138var toString = uncurryThis({}.toString); 3139var stringSlice = uncurryThis(''.slice); 3140 3141module.exports = function (it) { 3142 return stringSlice(toString(it), 8, -1); 3143}; 3144 3145 3146/***/ }), 3147 3148/***/ 648: 3149/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3150 3151var global = __webpack_require__(7854); 3152var TO_STRING_TAG_SUPPORT = __webpack_require__(1694); 3153var isCallable = __webpack_require__(614); 3154var classofRaw = __webpack_require__(4326); 3155var wellKnownSymbol = __webpack_require__(5112); 3156 3157var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 3158var Object = global.Object; 3159 3160// ES3 wrong here 3161var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; 3162 3163// fallback for IE11 Script Access Denied error 3164var tryGet = function (it, key) { 3165 try { 3166 return it[key]; 3167 } catch (error) { /* empty */ } 3168}; 3169 3170// getting tag from ES6+ `Object.prototype.toString` 3171module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { 3172 var O, tag, result; 3173 return it === undefined ? 'Undefined' : it === null ? 'Null' 3174 // @@toStringTag case 3175 : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag 3176 // builtinTag case 3177 : CORRECT_ARGUMENTS ? classofRaw(O) 3178 // ES3 arguments fallback 3179 : (result = classofRaw(O)) == 'Object' && isCallable(O.callee) ? 'Arguments' : result; 3180}; 3181 3182 3183/***/ }), 3184 3185/***/ 7741: 3186/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3187 3188var uncurryThis = __webpack_require__(1702); 3189 3190var replace = uncurryThis(''.replace); 3191 3192var TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd'); 3193var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; 3194var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); 3195 3196module.exports = function (stack, dropEntries) { 3197 if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string') { 3198 while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); 3199 } return stack; 3200}; 3201 3202 3203/***/ }), 3204 3205/***/ 5631: 3206/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3207 3208"use strict"; 3209 3210var defineProperty = (__webpack_require__(3070).f); 3211var create = __webpack_require__(30); 3212var redefineAll = __webpack_require__(2248); 3213var bind = __webpack_require__(9974); 3214var anInstance = __webpack_require__(5787); 3215var iterate = __webpack_require__(408); 3216var defineIterator = __webpack_require__(654); 3217var setSpecies = __webpack_require__(6340); 3218var DESCRIPTORS = __webpack_require__(9781); 3219var fastKey = (__webpack_require__(2423).fastKey); 3220var InternalStateModule = __webpack_require__(9909); 3221 3222var setInternalState = InternalStateModule.set; 3223var internalStateGetterFor = InternalStateModule.getterFor; 3224 3225module.exports = { 3226 getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { 3227 var Constructor = wrapper(function (that, iterable) { 3228 anInstance(that, Prototype); 3229 setInternalState(that, { 3230 type: CONSTRUCTOR_NAME, 3231 index: create(null), 3232 first: undefined, 3233 last: undefined, 3234 size: 0 3235 }); 3236 if (!DESCRIPTORS) that.size = 0; 3237 if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); 3238 }); 3239 3240 var Prototype = Constructor.prototype; 3241 3242 var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); 3243 3244 var define = function (that, key, value) { 3245 var state = getInternalState(that); 3246 var entry = getEntry(that, key); 3247 var previous, index; 3248 // change existing entry 3249 if (entry) { 3250 entry.value = value; 3251 // create new entry 3252 } else { 3253 state.last = entry = { 3254 index: index = fastKey(key, true), 3255 key: key, 3256 value: value, 3257 previous: previous = state.last, 3258 next: undefined, 3259 removed: false 3260 }; 3261 if (!state.first) state.first = entry; 3262 if (previous) previous.next = entry; 3263 if (DESCRIPTORS) state.size++; 3264 else that.size++; 3265 // add to index 3266 if (index !== 'F') state.index[index] = entry; 3267 } return that; 3268 }; 3269 3270 var getEntry = function (that, key) { 3271 var state = getInternalState(that); 3272 // fast case 3273 var index = fastKey(key); 3274 var entry; 3275 if (index !== 'F') return state.index[index]; 3276 // frozen object case 3277 for (entry = state.first; entry; entry = entry.next) { 3278 if (entry.key == key) return entry; 3279 } 3280 }; 3281 3282 redefineAll(Prototype, { 3283 // `{ Map, Set }.prototype.clear()` methods 3284 // https://tc39.es/ecma262/#sec-map.prototype.clear 3285 // https://tc39.es/ecma262/#sec-set.prototype.clear 3286 clear: function clear() { 3287 var that = this; 3288 var state = getInternalState(that); 3289 var data = state.index; 3290 var entry = state.first; 3291 while (entry) { 3292 entry.removed = true; 3293 if (entry.previous) entry.previous = entry.previous.next = undefined; 3294 delete data[entry.index]; 3295 entry = entry.next; 3296 } 3297 state.first = state.last = undefined; 3298 if (DESCRIPTORS) state.size = 0; 3299 else that.size = 0; 3300 }, 3301 // `{ Map, Set }.prototype.delete(key)` methods 3302 // https://tc39.es/ecma262/#sec-map.prototype.delete 3303 // https://tc39.es/ecma262/#sec-set.prototype.delete 3304 'delete': function (key) { 3305 var that = this; 3306 var state = getInternalState(that); 3307 var entry = getEntry(that, key); 3308 if (entry) { 3309 var next = entry.next; 3310 var prev = entry.previous; 3311 delete state.index[entry.index]; 3312 entry.removed = true; 3313 if (prev) prev.next = next; 3314 if (next) next.previous = prev; 3315 if (state.first == entry) state.first = next; 3316 if (state.last == entry) state.last = prev; 3317 if (DESCRIPTORS) state.size--; 3318 else that.size--; 3319 } return !!entry; 3320 }, 3321 // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods 3322 // https://tc39.es/ecma262/#sec-map.prototype.foreach 3323 // https://tc39.es/ecma262/#sec-set.prototype.foreach 3324 forEach: function forEach(callbackfn /* , that = undefined */) { 3325 var state = getInternalState(this); 3326 var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); 3327 var entry; 3328 while (entry = entry ? entry.next : state.first) { 3329 boundFunction(entry.value, entry.key, this); 3330 // revert to the last existing entry 3331 while (entry && entry.removed) entry = entry.previous; 3332 } 3333 }, 3334 // `{ Map, Set}.prototype.has(key)` methods 3335 // https://tc39.es/ecma262/#sec-map.prototype.has 3336 // https://tc39.es/ecma262/#sec-set.prototype.has 3337 has: function has(key) { 3338 return !!getEntry(this, key); 3339 } 3340 }); 3341 3342 redefineAll(Prototype, IS_MAP ? { 3343 // `Map.prototype.get(key)` method 3344 // https://tc39.es/ecma262/#sec-map.prototype.get 3345 get: function get(key) { 3346 var entry = getEntry(this, key); 3347 return entry && entry.value; 3348 }, 3349 // `Map.prototype.set(key, value)` method 3350 // https://tc39.es/ecma262/#sec-map.prototype.set 3351 set: function set(key, value) { 3352 return define(this, key === 0 ? 0 : key, value); 3353 } 3354 } : { 3355 // `Set.prototype.add(value)` method 3356 // https://tc39.es/ecma262/#sec-set.prototype.add 3357 add: function add(value) { 3358 return define(this, value = value === 0 ? 0 : value, value); 3359 } 3360 }); 3361 if (DESCRIPTORS) defineProperty(Prototype, 'size', { 3362 get: function () { 3363 return getInternalState(this).size; 3364 } 3365 }); 3366 return Constructor; 3367 }, 3368 setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) { 3369 var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator'; 3370 var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); 3371 var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); 3372 // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods 3373 // https://tc39.es/ecma262/#sec-map.prototype.entries 3374 // https://tc39.es/ecma262/#sec-map.prototype.keys 3375 // https://tc39.es/ecma262/#sec-map.prototype.values 3376 // https://tc39.es/ecma262/#sec-map.prototype-@@iterator 3377 // https://tc39.es/ecma262/#sec-set.prototype.entries 3378 // https://tc39.es/ecma262/#sec-set.prototype.keys 3379 // https://tc39.es/ecma262/#sec-set.prototype.values 3380 // https://tc39.es/ecma262/#sec-set.prototype-@@iterator 3381 defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) { 3382 setInternalState(this, { 3383 type: ITERATOR_NAME, 3384 target: iterated, 3385 state: getInternalCollectionState(iterated), 3386 kind: kind, 3387 last: undefined 3388 }); 3389 }, function () { 3390 var state = getInternalIteratorState(this); 3391 var kind = state.kind; 3392 var entry = state.last; 3393 // revert to the last existing entry 3394 while (entry && entry.removed) entry = entry.previous; 3395 // get next entry 3396 if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) { 3397 // or finish the iteration 3398 state.target = undefined; 3399 return { value: undefined, done: true }; 3400 } 3401 // return step by kind 3402 if (kind == 'keys') return { value: entry.key, done: false }; 3403 if (kind == 'values') return { value: entry.value, done: false }; 3404 return { value: [entry.key, entry.value], done: false }; 3405 }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); 3406 3407 // `{ Map, Set }.prototype[@@species]` accessors 3408 // https://tc39.es/ecma262/#sec-get-map-@@species 3409 // https://tc39.es/ecma262/#sec-get-set-@@species 3410 setSpecies(CONSTRUCTOR_NAME); 3411 } 3412}; 3413 3414 3415/***/ }), 3416 3417/***/ 9320: 3418/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3419 3420"use strict"; 3421 3422var uncurryThis = __webpack_require__(1702); 3423var redefineAll = __webpack_require__(2248); 3424var getWeakData = (__webpack_require__(2423).getWeakData); 3425var anObject = __webpack_require__(9670); 3426var isObject = __webpack_require__(111); 3427var anInstance = __webpack_require__(5787); 3428var iterate = __webpack_require__(408); 3429var ArrayIterationModule = __webpack_require__(2092); 3430var hasOwn = __webpack_require__(2597); 3431var InternalStateModule = __webpack_require__(9909); 3432 3433var setInternalState = InternalStateModule.set; 3434var internalStateGetterFor = InternalStateModule.getterFor; 3435var find = ArrayIterationModule.find; 3436var findIndex = ArrayIterationModule.findIndex; 3437var splice = uncurryThis([].splice); 3438var id = 0; 3439
vendor: 5,724 bytes, lines 3440-3605
3440// fallback for uncaught frozen keys 3441var uncaughtFrozenStore = function (store) { 3442 return store.frozen || (store.frozen = new UncaughtFrozenStore()); 3443}; 3444 3445var UncaughtFrozenStore = function () { 3446 this.entries = []; 3447}; 3448 3449var findUncaughtFrozen = function (store, key) { 3450 return find(store.entries, function (it) { 3451 return it[0] === key; 3452 }); 3453}; 3454 3455UncaughtFrozenStore.prototype = { 3456 get: function (key) { 3457 var entry = findUncaughtFrozen(this, key); 3458 if (entry) return entry[1]; 3459 }, 3460 has: function (key) { 3461 return !!findUncaughtFrozen(this, key); 3462 }, 3463 set: function (key, value) { 3464 var entry = findUncaughtFrozen(this, key); 3465 if (entry) entry[1] = value; 3466 else this.entries.push([key, value]); 3467 }, 3468 'delete': function (key) { 3469 var index = findIndex(this.entries, function (it) { 3470 return it[0] === key; 3471 }); 3472 if (~index) splice(this.entries, index, 1); 3473 return !!~index; 3474 } 3475}; 3476 3477module.exports = { 3478 getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { 3479 var Constructor = wrapper(function (that, iterable) { 3480 anInstance(that, Prototype); 3481 setInternalState(that, { 3482 type: CONSTRUCTOR_NAME, 3483 id: id++, 3484 frozen: undefined 3485 }); 3486 if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); 3487 }); 3488 3489 var Prototype = Constructor.prototype; 3490 3491 var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); 3492 3493 var define = function (that, key, value) { 3494 var state = getInternalState(that); 3495 var data = getWeakData(anObject(key), true); 3496 if (data === true) uncaughtFrozenStore(state).set(key, value); 3497 else data[state.id] = value; 3498 return that; 3499 }; 3500 3501 redefineAll(Prototype, { 3502 // `{ WeakMap, WeakSet }.prototype.delete(key)` methods 3503 // https://tc39.es/ecma262/#sec-weakmap.prototype.delete 3504 // https://tc39.es/ecma262/#sec-weakset.prototype.delete 3505 'delete': function (key) { 3506 var state = getInternalState(this); 3507 if (!isObject(key)) return false; 3508 var data = getWeakData(key); 3509 if (data === true) return uncaughtFrozenStore(state)['delete'](key); 3510 return data && hasOwn(data, state.id) && delete data[state.id]; 3511 }, 3512 // `{ WeakMap, WeakSet }.prototype.has(key)` methods 3513 // https://tc39.es/ecma262/#sec-weakmap.prototype.has 3514 // https://tc39.es/ecma262/#sec-weakset.prototype.has 3515 has: function has(key) { 3516 var state = getInternalState(this); 3517 if (!isObject(key)) return false; 3518 var data = getWeakData(key); 3519 if (data === true) return uncaughtFrozenStore(state).has(key); 3520 return data && hasOwn(data, state.id); 3521 } 3522 }); 3523 3524 redefineAll(Prototype, IS_MAP ? { 3525 // `WeakMap.prototype.get(key)` method 3526 // https://tc39.es/ecma262/#sec-weakmap.prototype.get 3527 get: function get(key) { 3528 var state = getInternalState(this); 3529 if (isObject(key)) { 3530 var data = getWeakData(key); 3531 if (data === true) return uncaughtFrozenStore(state).get(key); 3532 return data ? data[state.id] : undefined; 3533 } 3534 }, 3535 // `WeakMap.prototype.set(key, value)` method 3536 // https://tc39.es/ecma262/#sec-weakmap.prototype.set 3537 set: function set(key, value) { 3538 return define(this, key, value); 3539 } 3540 } : { 3541 // `WeakSet.prototype.add(value)` method 3542 // https://tc39.es/ecma262/#sec-weakset.prototype.add 3543 add: function add(value) { 3544 return define(this, value, true); 3545 } 3546 }); 3547 3548 return Constructor; 3549 } 3550}; 3551 3552 3553/***/ }), 3554 3555/***/ 7710: 3556/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3557 3558"use strict"; 3559 3560var $ = __webpack_require__(2109); 3561var global = __webpack_require__(7854); 3562var uncurryThis = __webpack_require__(1702); 3563var isForced = __webpack_require__(4705); 3564var redefine = __webpack_require__(1320); 3565var InternalMetadataModule = __webpack_require__(2423); 3566var iterate = __webpack_require__(408); 3567var anInstance = __webpack_require__(5787); 3568var isCallable = __webpack_require__(614); 3569var isObject = __webpack_require__(111); 3570var fails = __webpack_require__(7293); 3571var checkCorrectnessOfIteration = __webpack_require__(7072); 3572var setToStringTag = __webpack_require__(8003); 3573var inheritIfRequired = __webpack_require__(9587); 3574 3575module.exports = function (CONSTRUCTOR_NAME, wrapper, common) { 3576 var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1; 3577 var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1; 3578 var ADDER = IS_MAP ? 'set' : 'add'; 3579 var NativeConstructor = global[CONSTRUCTOR_NAME]; 3580 var NativePrototype = NativeConstructor && NativeConstructor.prototype; 3581 var Constructor = NativeConstructor; 3582 var exported = {}; 3583 3584 var fixMethod = function (KEY) { 3585 var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]); 3586 redefine(NativePrototype, KEY, 3587 KEY == 'add' ? function add(value) { 3588 uncurriedNativeMethod(this, value === 0 ? 0 : value); 3589 return this; 3590 } : KEY == 'delete' ? function (key) { 3591 return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); 3592 } : KEY == 'get' ? function get(key) { 3593 return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key); 3594 } : KEY == 'has' ? function has(key) { 3595 return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); 3596 } : function set(key, value) { 3597 uncurriedNativeMethod(this, key === 0 ? 0 : key, value); 3598 return this; 3599 } 3600 ); 3601 }; 3602 3603 var REPLACE = isForced( 3604 CONSTRUCTOR_NAME, 3605 !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () {
vendor: 4,456 bytes, lines 3606-3744
3606 new NativeConstructor().entries().next(); 3607 })) 3608 ); 3609 3610 if (REPLACE) { 3611 // create collection constructor 3612 Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); 3613 InternalMetadataModule.enable(); 3614 } else if (isForced(CONSTRUCTOR_NAME, true)) { 3615 var instance = new Constructor(); 3616 // early implementations not supports chaining 3617 var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; 3618 // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false 3619 var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); 3620 // most early implementations doesn't supports iterables, most modern - not close it correctly 3621 // eslint-disable-next-line no-new -- required for testing 3622 var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); }); 3623 // for early implementations -0 and +0 not the same 3624 var BUGGY_ZERO = !IS_WEAK && fails(function () { 3625 // V8 ~ Chromium 42- fails only with 5+ elements 3626 var $instance = new NativeConstructor(); 3627 var index = 5; 3628 while (index--) $instance[ADDER](index, index); 3629 return !$instance.has(-0); 3630 }); 3631 3632 if (!ACCEPT_ITERABLES) { 3633 Constructor = wrapper(function (dummy, iterable) { 3634 anInstance(dummy, NativePrototype); 3635 var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor); 3636 if (iterable != undefined) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); 3637 return that; 3638 }); 3639 Constructor.prototype = NativePrototype; 3640 NativePrototype.constructor = Constructor; 3641 } 3642 3643 if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { 3644 fixMethod('delete'); 3645 fixMethod('has'); 3646 IS_MAP && fixMethod('get'); 3647 } 3648 3649 if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); 3650 3651 // weak collections should not contains .clear method 3652 if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear; 3653 } 3654 3655 exported[CONSTRUCTOR_NAME] = Constructor; 3656 $({ global: true, forced: Constructor != NativeConstructor }, exported); 3657 3658 setToStringTag(Constructor, CONSTRUCTOR_NAME); 3659 3660 if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); 3661 3662 return Constructor; 3663}; 3664 3665 3666/***/ }), 3667 3668/***/ 9920: 3669/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3670 3671var hasOwn = __webpack_require__(2597); 3672var ownKeys = __webpack_require__(3887); 3673var getOwnPropertyDescriptorModule = __webpack_require__(1236); 3674var definePropertyModule = __webpack_require__(3070); 3675 3676module.exports = function (target, source, exceptions) { 3677 var keys = ownKeys(source); 3678 var defineProperty = definePropertyModule.f; 3679 var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; 3680 for (var i = 0; i < keys.length; i++) { 3681 var key = keys[i]; 3682 if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { 3683 defineProperty(target, key, getOwnPropertyDescriptor(source, key)); 3684 } 3685 } 3686}; 3687 3688 3689/***/ }), 3690 3691/***/ 4964: 3692/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3693 3694var wellKnownSymbol = __webpack_require__(5112); 3695 3696var MATCH = wellKnownSymbol('match'); 3697 3698module.exports = function (METHOD_NAME) { 3699 var regexp = /./; 3700 try { 3701 '/./'[METHOD_NAME](regexp); 3702 } catch (error1) { 3703 try { 3704 regexp[MATCH] = false; 3705 return '/./'[METHOD_NAME](regexp); 3706 } catch (error2) { /* empty */ } 3707 } return false; 3708}; 3709 3710 3711/***/ }), 3712 3713/***/ 8544: 3714/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3715 3716var fails = __webpack_require__(7293); 3717 3718module.exports = !fails(function () { 3719 function F() { /* empty */ } 3720 F.prototype.constructor = null; 3721 // eslint-disable-next-line es/no-object-getprototypeof -- required for testing 3722 return Object.getPrototypeOf(new F()) !== F.prototype; 3723}); 3724 3725 3726/***/ }), 3727 3728/***/ 4230: 3729/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3730 3731var uncurryThis = __webpack_require__(1702); 3732var requireObjectCoercible = __webpack_require__(4488); 3733var toString = __webpack_require__(1340); 3734 3735var quot = /"/g; 3736var replace = uncurryThis(''.replace); 3737 3738// `CreateHTML` abstract operation 3739// https://tc39.es/ecma262/#sec-createhtml 3740module.exports = function (string, tag, attribute, value) { 3741 var S = toString(requireObjectCoercible(string)); 3742 var p1 = '<' + tag; 3743 if (attribute !== '') p1 += ' ' + attribute + '="' + replace(toString(value), quot, '"') + '"'; 3744 return p1 + '>
vendor: 5,561 bytes, lines 3744-3919
3744' + S + '</' + tag + '>'; 3745}; 3746 3747 3748/***/ }), 3749 3750/***/ 4994: 3751/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3752 3753"use strict"; 3754 3755var IteratorPrototype = (__webpack_require__(3383).IteratorPrototype); 3756var create = __webpack_require__(30); 3757var createPropertyDescriptor = __webpack_require__(9114); 3758var setToStringTag = __webpack_require__(8003); 3759var Iterators = __webpack_require__(7497); 3760 3761var returnThis = function () { return this; }; 3762 3763module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) { 3764 var TO_STRING_TAG = NAME + ' Iterator'; 3765 IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) }); 3766 setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); 3767 Iterators[TO_STRING_TAG] = returnThis; 3768 return IteratorConstructor; 3769}; 3770 3771 3772/***/ }), 3773 3774/***/ 8880: 3775/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3776 3777var DESCRIPTORS = __webpack_require__(9781); 3778var definePropertyModule = __webpack_require__(3070); 3779var createPropertyDescriptor = __webpack_require__(9114); 3780 3781module.exports = DESCRIPTORS ? function (object, key, value) { 3782 return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); 3783} : function (object, key, value) { 3784 object[key] = value; 3785 return object; 3786}; 3787 3788 3789/***/ }), 3790 3791/***/ 9114: 3792/***/ (function(module) { 3793 3794module.exports = function (bitmap, value) { 3795 return { 3796 enumerable: !(bitmap & 1), 3797 configurable: !(bitmap & 2), 3798 writable: !(bitmap & 4), 3799 value: value 3800 }; 3801}; 3802 3803 3804/***/ }), 3805 3806/***/ 6135: 3807/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3808 3809"use strict"; 3810 3811var toPropertyKey = __webpack_require__(4948); 3812var definePropertyModule = __webpack_require__(3070); 3813var createPropertyDescriptor = __webpack_require__(9114); 3814 3815module.exports = function (object, key, value) { 3816 var propertyKey = toPropertyKey(key); 3817 if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); 3818 else object[propertyKey] = value; 3819}; 3820 3821 3822/***/ }), 3823 3824/***/ 5573: 3825/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3826 3827"use strict"; 3828 3829var global = __webpack_require__(7854); 3830var uncurryThis = __webpack_require__(1702); 3831var fails = __webpack_require__(7293); 3832var padStart = (__webpack_require__(6650).start); 3833 3834var RangeError = global.RangeError; 3835var abs = Math.abs; 3836var DatePrototype = Date.prototype; 3837var n$DateToISOString = DatePrototype.toISOString; 3838var getTime = uncurryThis(DatePrototype.getTime); 3839var getUTCDate = uncurryThis(DatePrototype.getUTCDate); 3840var getUTCFullYear = uncurryThis(DatePrototype.getUTCFullYear); 3841var getUTCHours = uncurryThis(DatePrototype.getUTCHours); 3842var getUTCMilliseconds = uncurryThis(DatePrototype.getUTCMilliseconds); 3843var getUTCMinutes = uncurryThis(DatePrototype.getUTCMinutes); 3844var getUTCMonth = uncurryThis(DatePrototype.getUTCMonth); 3845var getUTCSeconds = uncurryThis(DatePrototype.getUTCSeconds); 3846 3847// `Date.prototype.toISOString` method implementation 3848// https://tc39.es/ecma262/#sec-date.prototype.toisostring 3849// PhantomJS / old WebKit fails here: 3850module.exports = (fails(function () { 3851 return n$DateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; 3852}) || !fails(function () { 3853 n$DateToISOString.call(new Date(NaN)); 3854})) ? function toISOString() { 3855 if (!isFinite(getTime(this))) throw RangeError('Invalid time value'); 3856 var date = this; 3857 var year = getUTCFullYear(date); 3858 var milliseconds = getUTCMilliseconds(date); 3859 var sign = year < 0 ? '-' : year > 9999 ? '+' : ''; 3860 return sign + padStart(abs(year), sign ? 6 : 4, 0) + 3861 '-' + padStart(getUTCMonth(date) + 1, 2, 0) + 3862 '-' + padStart(getUTCDate(date), 2, 0) + 3863 'T' + padStart(getUTCHours(date), 2, 0) + 3864 ':' + padStart(getUTCMinutes(date), 2, 0) + 3865 ':' + padStart(getUTCSeconds(date), 2, 0) + 3866 '.' + padStart(milliseconds, 3, 0) + 3867 'Z'; 3868} : n$DateToISOString; 3869 3870 3871/***/ }), 3872 3873/***/ 8709: 3874/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3875 3876"use strict"; 3877 3878var global = __webpack_require__(7854); 3879var anObject = __webpack_require__(9670); 3880var ordinaryToPrimitive = __webpack_require__(2140); 3881 3882var TypeError = global.TypeError; 3883 3884// `Date.prototype[@@toPrimitive](hint)` method implementation 3885// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive 3886module.exports = function (hint) { 3887 anObject(this); 3888 if (hint === 'string' || hint === 'default') hint = 'string'; 3889 else if (hint !== 'number') throw TypeError('Incorrect hint'); 3890 return ordinaryToPrimitive(this, hint); 3891}; 3892 3893 3894/***/ }), 3895 3896/***/ 654: 3897/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 3898 3899"use strict"; 3900 3901var $ = __webpack_require__(2109); 3902var call = __webpack_require__(6916); 3903var IS_PURE = __webpack_require__(1913); 3904var FunctionName = __webpack_require__(6530); 3905var isCallable = __webpack_require__(614); 3906var createIteratorConstructor = __webpack_require__(4994); 3907var getPrototypeOf = __webpack_require__(9518); 3908var setPrototypeOf = __webpack_require__(7674); 3909var setToStringTag = __webpack_require__(8003); 3910var createNonEnumerableProperty = __webpack_require__(8880); 3911var redefine = __webpack_require__(1320); 3912var wellKnownSymbol = __webpack_require__(5112); 3913var Iterators = __webpack_require__(7497); 3914var IteratorsCore = __webpack_require__(3383); 3915 3916var PROPER_FUNCTION_NAME = FunctionName.PROPER; 3917var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; 3918var IteratorPrototype = IteratorsCore.IteratorPrototype; 3919var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
vendor: 4,742 bytes, lines 3920-4053
3920var ITERATOR = wellKnownSymbol('iterator'); 3921var KEYS = 'keys'; 3922var VALUES = 'values'; 3923var ENTRIES = 'entries'; 3924 3925var returnThis = function () { return this; }; 3926 3927module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { 3928 createIteratorConstructor(IteratorConstructor, NAME, next); 3929 3930 var getIterationMethod = function (KIND) { 3931 if (KIND === DEFAULT && defaultIterator) return defaultIterator; 3932 if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND]; 3933 switch (KIND) { 3934 case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; 3935 case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; 3936 case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; 3937 } return function () { return new IteratorConstructor(this); }; 3938 }; 3939 3940 var TO_STRING_TAG = NAME + ' Iterator'; 3941 var INCORRECT_VALUES_NAME = false; 3942 var IterablePrototype = Iterable.prototype; 3943 var nativeIterator = IterablePrototype[ITERATOR] 3944 || IterablePrototype['@@iterator'] 3945 || DEFAULT && IterablePrototype[DEFAULT]; 3946 var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); 3947 var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; 3948 var CurrentIteratorPrototype, methods, KEY; 3949 3950 // fix native 3951 if (anyNativeIterator) { 3952 CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); 3953 if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { 3954 if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { 3955 if (setPrototypeOf) { 3956 setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); 3957 } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) { 3958 redefine(CurrentIteratorPrototype, ITERATOR, returnThis); 3959 } 3960 } 3961 // Set @@toStringTag to native iterators 3962 setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); 3963 if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; 3964 } 3965 } 3966 3967 // fix Array.prototype.{ values, @@iterator }.name in V8 / FF 3968 if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { 3969 if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) { 3970 createNonEnumerableProperty(IterablePrototype, 'name', VALUES); 3971 } else { 3972 INCORRECT_VALUES_NAME = true; 3973 defaultIterator = function values() { return call(nativeIterator, this); }; 3974 } 3975 } 3976 3977 // export additional methods 3978 if (DEFAULT) { 3979 methods = { 3980 values: getIterationMethod(VALUES), 3981 keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), 3982 entries: getIterationMethod(ENTRIES) 3983 }; 3984 if (FORCED) for (KEY in methods) { 3985 if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { 3986 redefine(IterablePrototype, KEY, methods[KEY]); 3987 } 3988 } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); 3989 } 3990 3991 // define iterator 3992 if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { 3993 redefine(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT }); 3994 } 3995 Iterators[NAME] = defaultIterator; 3996 3997 return methods; 3998}; 3999 4000 4001/***/ }), 4002 4003/***/ 7235: 4004/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4005 4006var path = __webpack_require__(857); 4007var hasOwn = __webpack_require__(2597); 4008var wrappedWellKnownSymbolModule = __webpack_require__(6061); 4009var defineProperty = (__webpack_require__(3070).f); 4010 4011module.exports = function (NAME) { 4012 var Symbol = path.Symbol || (path.Symbol = {}); 4013 if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, { 4014 value: wrappedWellKnownSymbolModule.f(NAME) 4015 }); 4016}; 4017 4018 4019/***/ }), 4020 4021/***/ 9781: 4022/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4023 4024var fails = __webpack_require__(7293); 4025 4026// Detect IE8's incomplete defineProperty implementation 4027module.exports = !fails(function () { 4028 // eslint-disable-next-line es/no-object-defineproperty -- required for testing 4029 return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; 4030}); 4031 4032 4033/***/ }), 4034 4035/***/ 317: 4036/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4037 4038var global = __webpack_require__(7854); 4039var isObject = __webpack_require__(111); 4040 4041var document = global.document; 4042// typeof document.createElement is 'object' in old IE 4043var EXISTS = isObject(document) && isObject(document.createElement); 4044 4045module.exports = function (it) { 4046 return EXISTS ? document.createElement(it) : {}; 4047}; 4048 4049 4050/***/ }), 4051 4052/***/ 3678: 4053/***/ (function(module) {
vendor: 1,554 bytes, lines 4053-4084
4053 4054 4055module.exports = { 4056 IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 }, 4057 DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 }, 4058 HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 }, 4059 WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 }, 4060 InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 }, 4061 NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 }, 4062 NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 }, 4063 NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 }, 4064 NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 }, 4065 InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 }, 4066 InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 }, 4067 SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 }, 4068 InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 }, 4069 NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 }, 4070 InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 }, 4071 ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 }, 4072 TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 }, 4073 SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 }, 4074 NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 }, 4075 AbortError: { s: 'ABORT_ERR', c: 20, m: 1 }, 4076 URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 }, 4077 QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 }, 4078 TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 }, 4079 InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 }, 4080 DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 } 4081}; 4082 4083 4084/***/ }),
vendor: 3,994 bytes, lines 4085-4262
4085 4086/***/ 8324: 4087/***/ (function(module) { 4088 4089// iterable DOM collections 4090// flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods 4091module.exports = { 4092 CSSRuleList: 0, 4093 CSSStyleDeclaration: 0, 4094 CSSValueList: 0, 4095 ClientRectList: 0, 4096 DOMRectList: 0, 4097 DOMStringList: 0, 4098 DOMTokenList: 1, 4099 DataTransferItemList: 0, 4100 FileList: 0, 4101 HTMLAllCollection: 0, 4102 HTMLCollection: 0, 4103 HTMLFormElement: 0, 4104 HTMLSelectElement: 0, 4105 MediaList: 0, 4106 MimeTypeArray: 0, 4107 NamedNodeMap: 0, 4108 NodeList: 1, 4109 PaintRequestList: 0, 4110 Plugin: 0, 4111 PluginArray: 0, 4112 SVGLengthList: 0, 4113 SVGNumberList: 0, 4114 SVGPathSegList: 0, 4115 SVGPointList: 0, 4116 SVGStringList: 0, 4117 SVGTransformList: 0, 4118 SourceBufferList: 0, 4119 StyleSheetList: 0, 4120 TextTrackCueList: 0, 4121 TextTrackList: 0, 4122 TouchList: 0 4123}; 4124 4125 4126/***/ }), 4127 4128/***/ 8509: 4129/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4130 4131// in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList` 4132var documentCreateElement = __webpack_require__(317); 4133 4134var classList = documentCreateElement('span').classList; 4135var DOMTokenListPrototype = classList && classList.constructor && classList.constructor.prototype; 4136 4137module.exports = DOMTokenListPrototype === Object.prototype ? undefined : DOMTokenListPrototype; 4138 4139 4140/***/ }), 4141 4142/***/ 8886: 4143/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4144 4145var userAgent = __webpack_require__(8113); 4146 4147var firefox = userAgent.match(/firefox\/(\d+)/i); 4148 4149module.exports = !!firefox && +firefox[1]; 4150 4151 4152/***/ }), 4153 4154/***/ 7871: 4155/***/ (function(module) { 4156 4157module.exports = typeof window == 'object'; 4158 4159 4160/***/ }), 4161 4162/***/ 256: 4163/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4164 4165var UA = __webpack_require__(8113); 4166 4167module.exports = /MSIE|Trident/.test(UA); 4168 4169 4170/***/ }), 4171 4172/***/ 1528: 4173/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4174 4175var userAgent = __webpack_require__(8113); 4176var global = __webpack_require__(7854); 4177 4178module.exports = /ipad|iphone|ipod/i.test(userAgent) && global.Pebble !== undefined; 4179 4180 4181/***/ }), 4182 4183/***/ 8334: 4184/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4185 4186var userAgent = __webpack_require__(8113); 4187 4188module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent); 4189 4190 4191/***/ }), 4192 4193/***/ 5268: 4194/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4195 4196var classof = __webpack_require__(4326); 4197var global = __webpack_require__(7854); 4198 4199module.exports = classof(global.process) == 'process'; 4200 4201 4202/***/ }), 4203 4204/***/ 1036: 4205/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4206 4207var userAgent = __webpack_require__(8113); 4208 4209module.exports = /web0s(?!.*chrome)/i.test(userAgent); 4210 4211 4212/***/ }), 4213 4214/***/ 8113: 4215/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4216 4217var getBuiltIn = __webpack_require__(5005); 4218 4219module.exports = getBuiltIn('navigator', 'userAgent') || ''; 4220 4221 4222/***/ }), 4223 4224/***/ 7392: 4225/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4226 4227var global = __webpack_require__(7854); 4228var userAgent = __webpack_require__(8113); 4229 4230var process = global.process; 4231var Deno = global.Deno; 4232var versions = process && process.versions || Deno && Deno.version; 4233var v8 = versions && versions.v8; 4234var match, version; 4235 4236if (v8) { 4237 match = v8.split('.'); 4238 // in old Chrome, versions of V8 isn't V8 = Chrome / 10 4239 // but their correct versions are not interesting for us 4240 version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); 4241} 4242 4243// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` 4244// so check `userAgent` even if `.v8` exists, but 0 4245if (!version && userAgent) { 4246 match = userAgent.match(/Edge\/(\d+)/); 4247 if (!match || match[1] >= 74) { 4248 match = userAgent.match(/Chrome\/(\d+)/); 4249 if (match) version = +match[1]; 4250 } 4251} 4252 4253module.exports = version; 4254 4255 4256/***/ }), 4257 4258/***/ 8008: 4259/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4260 4261var userAgent = __webpack_require__(8113); 4262
vendor: 4,371 bytes, lines 4263-4391
4263var webkit = userAgent.match(/AppleWebKit\/(\d+)\./); 4264 4265module.exports = !!webkit && +webkit[1]; 4266 4267 4268/***/ }), 4269 4270/***/ 748: 4271/***/ (function(module) { 4272 4273// IE8- don't enum bug keys 4274module.exports = [ 4275 'constructor', 4276 'hasOwnProperty', 4277 'isPrototypeOf', 4278 'propertyIsEnumerable', 4279 'toLocaleString', 4280 'toString', 4281 'valueOf' 4282]; 4283 4284 4285/***/ }), 4286 4287/***/ 2914: 4288/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4289 4290var fails = __webpack_require__(7293); 4291var createPropertyDescriptor = __webpack_require__(9114); 4292 4293module.exports = !fails(function () { 4294 var error = Error('a'); 4295 if (!('stack' in error)) return true; 4296 // eslint-disable-next-line es/no-object-defineproperty -- safe 4297 Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7)); 4298 return error.stack !== 7; 4299}); 4300 4301 4302/***/ }), 4303 4304/***/ 7762: 4305/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4306 4307"use strict"; 4308 4309var DESCRIPTORS = __webpack_require__(9781); 4310var fails = __webpack_require__(7293); 4311var anObject = __webpack_require__(9670); 4312var create = __webpack_require__(30); 4313var normalizeStringArgument = __webpack_require__(6277); 4314 4315var nativeErrorToString = Error.prototype.toString; 4316 4317var INCORRECT_TO_STRING = fails(function () { 4318 if (DESCRIPTORS) { 4319 // Chrome 32- incorrectly call accessor 4320 // eslint-disable-next-line es/no-object-defineproperty -- safe 4321 var object = create(Object.defineProperty({}, 'name', { get: function () { 4322 return this === object; 4323 } })); 4324 if (nativeErrorToString.call(object) !== 'true') return true; 4325 } 4326 // FF10- does not properly handle non-strings 4327 return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1' 4328 // IE8 does not properly handle defaults 4329 || nativeErrorToString.call({}) !== 'Error'; 4330}); 4331 4332module.exports = INCORRECT_TO_STRING ? function toString() { 4333 var O = anObject(this); 4334 var name = normalizeStringArgument(O.name, 'Error'); 4335 var message = normalizeStringArgument(O.message); 4336 return !name ? message : !message ? name : name + ': ' + message; 4337} : nativeErrorToString; 4338 4339 4340/***/ }), 4341 4342/***/ 2109: 4343/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4344 4345var global = __webpack_require__(7854); 4346var getOwnPropertyDescriptor = (__webpack_require__(1236).f); 4347var createNonEnumerableProperty = __webpack_require__(8880); 4348var redefine = __webpack_require__(1320); 4349var setGlobal = __webpack_require__(3505); 4350var copyConstructorProperties = __webpack_require__(9920); 4351var isForced = __webpack_require__(4705); 4352 4353/* 4354 options.target - name of the target object 4355 options.global - target is the global object 4356 options.stat - export as static methods of target 4357 options.proto - export as prototype methods of target 4358 options.real - real prototype method for the `pure` version 4359 options.forced - export even if the native feature is available 4360 options.bind - bind methods to the target, required for the `pure` version 4361 options.wrap - wrap constructors to preventing global pollution, required for the `pure` version 4362 options.unsafe - use the simple assignment of property instead of delete + defineProperty 4363 options.sham - add a flag to not completely full polyfills 4364 options.enumerable - export as enumerable property 4365 options.noTargetGet - prevent calling a getter on target 4366 options.name - the .name of the function if it does not match the key 4367*/ 4368module.exports = function (options, source) { 4369 var TARGET = options.target; 4370 var GLOBAL = options.global; 4371 var STATIC = options.stat; 4372 var FORCED, target, key, targetProperty, sourceProperty, descriptor; 4373 if (GLOBAL) { 4374 target = global; 4375 } else if (STATIC) { 4376 target = global[TARGET] || setGlobal(TARGET, {}); 4377 } else { 4378 target = (global[TARGET] || {}).prototype; 4379 } 4380 if (target) for (key in source) { 4381 sourceProperty = source[key]; 4382 if (options.noTargetGet) { 4383 descriptor = getOwnPropertyDescriptor(target, key); 4384 targetProperty = descriptor && descriptor.value; 4385 } else targetProperty = target[key]; 4386 FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); 4387 // contained in target 4388 if (!FORCED && targetProperty !== undefined) { 4389 if (typeof sourceProperty == typeof targetProperty) continue; 4390 copyConstructorProperties(sourceProperty, targetProperty); 4391 }
vendor: 12,189 bytes, lines 4392-4809
4392 // add a flag to not completely full polyfills 4393 if (options.sham || (targetProperty && targetProperty.sham)) { 4394 createNonEnumerableProperty(sourceProperty, 'sham', true); 4395 } 4396 // extend global 4397 redefine(target, key, sourceProperty, options); 4398 } 4399}; 4400 4401 4402/***/ }), 4403 4404/***/ 7293: 4405/***/ (function(module) { 4406 4407module.exports = function (exec) { 4408 try { 4409 return !!exec(); 4410 } catch (error) { 4411 return true; 4412 } 4413}; 4414 4415 4416/***/ }), 4417 4418/***/ 7007: 4419/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4420 4421"use strict"; 4422 4423// TODO: Remove from `core-js@4` since it's moved to entry points 4424__webpack_require__(4916); 4425var uncurryThis = __webpack_require__(1702); 4426var redefine = __webpack_require__(1320); 4427var regexpExec = __webpack_require__(2261); 4428var fails = __webpack_require__(7293); 4429var wellKnownSymbol = __webpack_require__(5112); 4430var createNonEnumerableProperty = __webpack_require__(8880); 4431 4432var SPECIES = wellKnownSymbol('species'); 4433var RegExpPrototype = RegExp.prototype; 4434 4435module.exports = function (KEY, exec, FORCED, SHAM) { 4436 var SYMBOL = wellKnownSymbol(KEY); 4437 4438 var DELEGATES_TO_SYMBOL = !fails(function () { 4439 // String methods call symbol-named RegEp methods 4440 var O = {}; 4441 O[SYMBOL] = function () { return 7; }; 4442 return ''[KEY](O) != 7; 4443 }); 4444 4445 var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () { 4446 // Symbol-named RegExp methods call .exec 4447 var execCalled = false; 4448 var re = /a/; 4449 4450 if (KEY === 'split') { 4451 // We can't use real regex here since it causes deoptimization 4452 // and serious performance degradation in V8 4453 // https://github.com/zloirock/core-js/issues/306 4454 re = {}; 4455 // RegExp[@@split] doesn't call the regex's exec method, but first creates 4456 // a new one. We need to return the patched regex when creating the new one. 4457 re.constructor = {}; 4458 re.constructor[SPECIES] = function () { return re; }; 4459 re.flags = ''; 4460 re[SYMBOL] = /./[SYMBOL]; 4461 } 4462 4463 re.exec = function () { execCalled = true; return null; }; 4464 4465 re[SYMBOL](''); 4466 return !execCalled; 4467 }); 4468 4469 if ( 4470 !DELEGATES_TO_SYMBOL || 4471 !DELEGATES_TO_EXEC || 4472 FORCED 4473 ) { 4474 var uncurriedNativeRegExpMethod = uncurryThis(/./[SYMBOL]); 4475 var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { 4476 var uncurriedNativeMethod = uncurryThis(nativeMethod); 4477 var $exec = regexp.exec; 4478 if ($exec === regexpExec || $exec === RegExpPrototype.exec) { 4479 if (DELEGATES_TO_SYMBOL && !forceStringMethod) { 4480 // The native String method already delegates to @@method (this 4481 // polyfilled function), leasing to infinite recursion. 4482 // We avoid it by directly calling the native @@method method. 4483 return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) }; 4484 } 4485 return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) }; 4486 } 4487 return { done: false }; 4488 }); 4489 4490 redefine(String.prototype, KEY, methods[0]); 4491 redefine(RegExpPrototype, SYMBOL, methods[1]); 4492 } 4493 4494 if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true); 4495}; 4496 4497 4498/***/ }), 4499 4500/***/ 6790: 4501/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4502 4503"use strict"; 4504 4505var global = __webpack_require__(7854); 4506var isArray = __webpack_require__(3157); 4507var lengthOfArrayLike = __webpack_require__(6244); 4508var bind = __webpack_require__(9974); 4509 4510var TypeError = global.TypeError; 4511 4512// `FlattenIntoArray` abstract operation 4513// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray 4514var flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) { 4515 var targetIndex = start; 4516 var sourceIndex = 0; 4517 var mapFn = mapper ? bind(mapper, thisArg) : false; 4518 var element, elementLen; 4519 4520 while (sourceIndex < sourceLen) { 4521 if (sourceIndex in source) { 4522 element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; 4523 4524 if (depth > 0 && isArray(element)) { 4525 elementLen = lengthOfArrayLike(element); 4526 targetIndex = flattenIntoArray(target, original, element, elementLen, targetIndex, depth - 1) - 1; 4527 } else { 4528 if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length'); 4529 target[targetIndex] = element; 4530 } 4531 4532 targetIndex++; 4533 } 4534 sourceIndex++; 4535 } 4536 return targetIndex; 4537}; 4538 4539module.exports = flattenIntoArray; 4540 4541 4542/***/ }), 4543 4544/***/ 6677: 4545/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4546 4547var fails = __webpack_require__(7293); 4548 4549module.exports = !fails(function () { 4550 // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing 4551 return Object.isExtensible(Object.preventExtensions({})); 4552}); 4553 4554 4555/***/ }), 4556 4557/***/ 2104: 4558/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4559 4560var NATIVE_BIND = __webpack_require__(4374); 4561 4562var FunctionPrototype = Function.prototype; 4563var apply = FunctionPrototype.apply; 4564var call = FunctionPrototype.call; 4565 4566// eslint-disable-next-line es/no-reflect -- safe 4567module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () { 4568 return call.apply(apply, arguments); 4569}); 4570 4571 4572/***/ }), 4573 4574/***/ 9974: 4575/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4576 4577var uncurryThis = __webpack_require__(1702); 4578var aCallable = __webpack_require__(9662); 4579var NATIVE_BIND = __webpack_require__(4374); 4580 4581var bind = uncurryThis(uncurryThis.bind); 4582 4583// optional / simple context binding 4584module.exports = function (fn, that) { 4585 aCallable(fn); 4586 return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { 4587 return fn.apply(that, arguments); 4588 }; 4589}; 4590 4591 4592/***/ }), 4593 4594/***/ 4374: 4595/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4596 4597var fails = __webpack_require__(7293); 4598 4599module.exports = !fails(function () { 4600 var test = (function () { /* empty */ }).bind(); 4601 // eslint-disable-next-line no-prototype-builtins -- safe 4602 return typeof test != 'function' || test.hasOwnProperty('prototype'); 4603}); 4604 4605 4606/***/ }), 4607 4608/***/ 7065: 4609/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4610 4611"use strict"; 4612 4613var global = __webpack_require__(7854); 4614var uncurryThis = __webpack_require__(1702); 4615var aCallable = __webpack_require__(9662); 4616var isObject = __webpack_require__(111); 4617var hasOwn = __webpack_require__(2597); 4618var arraySlice = __webpack_require__(206); 4619var NATIVE_BIND = __webpack_require__(4374); 4620 4621var Function = global.Function; 4622var concat = uncurryThis([].concat); 4623var join = uncurryThis([].join); 4624var factories = {}; 4625 4626var construct = function (C, argsLength, args) { 4627 if (!hasOwn(factories, argsLength)) { 4628 for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']'; 4629 factories[argsLength] = Function('C,a', 'return new C(' + join(list, ',') + ')'); 4630 } return factories[argsLength](C, args); 4631}; 4632 4633// `Function.prototype.bind` method implementation 4634// https://tc39.es/ecma262/#sec-function.prototype.bind 4635module.exports = NATIVE_BIND ? Function.bind : function bind(that /* , ...args */) { 4636 var F = aCallable(this); 4637 var Prototype = F.prototype; 4638 var partArgs = arraySlice(arguments, 1); 4639 var boundFunction = function bound(/* args... */) { 4640 var args = concat(partArgs, arraySlice(arguments)); 4641 return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args); 4642 }; 4643 if (isObject(Prototype)) boundFunction.prototype = Prototype; 4644 return boundFunction; 4645}; 4646 4647 4648/***/ }), 4649 4650/***/ 6916: 4651/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4652 4653var NATIVE_BIND = __webpack_require__(4374); 4654 4655var call = Function.prototype.call; 4656 4657module.exports = NATIVE_BIND ? call.bind(call) : function () { 4658 return call.apply(call, arguments); 4659}; 4660 4661 4662/***/ }), 4663 4664/***/ 6530: 4665/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4666 4667var DESCRIPTORS = __webpack_require__(9781); 4668var hasOwn = __webpack_require__(2597); 4669 4670var FunctionPrototype = Function.prototype; 4671// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 4672var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; 4673 4674var EXISTS = hasOwn(FunctionPrototype, 'name'); 4675// additional protection from minified / mangled / dropped function names 4676var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; 4677var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); 4678 4679module.exports = { 4680 EXISTS: EXISTS, 4681 PROPER: PROPER, 4682 CONFIGURABLE: CONFIGURABLE 4683}; 4684 4685 4686/***/ }), 4687 4688/***/ 1702: 4689/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4690 4691var NATIVE_BIND = __webpack_require__(4374); 4692 4693var FunctionPrototype = Function.prototype; 4694var bind = FunctionPrototype.bind; 4695var call = FunctionPrototype.call; 4696var uncurryThis = NATIVE_BIND && bind.bind(call, call); 4697 4698module.exports = NATIVE_BIND ? function (fn) { 4699 return fn && uncurryThis(fn); 4700} : function (fn) { 4701 return fn && function () { 4702 return call.apply(fn, arguments); 4703 }; 4704}; 4705 4706 4707/***/ }), 4708 4709/***/ 5005: 4710/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4711 4712var global = __webpack_require__(7854); 4713var isCallable = __webpack_require__(614); 4714 4715var aFunction = function (argument) { 4716 return isCallable(argument) ? argument : undefined; 4717}; 4718 4719module.exports = function (namespace, method) { 4720 return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; 4721}; 4722 4723 4724/***/ }), 4725 4726/***/ 1246: 4727/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4728 4729var classof = __webpack_require__(648); 4730var getMethod = __webpack_require__(8173); 4731var Iterators = __webpack_require__(7497); 4732var wellKnownSymbol = __webpack_require__(5112); 4733 4734var ITERATOR = wellKnownSymbol('iterator'); 4735 4736module.exports = function (it) { 4737 if (it != undefined) return getMethod(it, ITERATOR) 4738 || getMethod(it, '@@iterator') 4739 || Iterators[classof(it)]; 4740}; 4741 4742 4743/***/ }), 4744 4745/***/ 8554: 4746/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4747 4748var global = __webpack_require__(7854); 4749var call = __webpack_require__(6916); 4750var aCallable = __webpack_require__(9662); 4751var anObject = __webpack_require__(9670); 4752var tryToString = __webpack_require__(6330); 4753var getIteratorMethod = __webpack_require__(1246); 4754 4755var TypeError = global.TypeError; 4756 4757module.exports = function (argument, usingIterator) { 4758 var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; 4759 if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); 4760 throw TypeError(tryToString(argument) + ' is not iterable'); 4761}; 4762 4763 4764/***/ }), 4765 4766/***/ 8173: 4767/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4768 4769var aCallable = __webpack_require__(9662); 4770 4771// `GetMethod` abstract operation 4772// https://tc39.es/ecma262/#sec-getmethod 4773module.exports = function (V, P) { 4774 var func = V[P]; 4775 return func == null ? undefined : aCallable(func); 4776}; 4777 4778 4779/***/ }), 4780 4781/***/ 647: 4782/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4783 4784var uncurryThis = __webpack_require__(1702); 4785var toObject = __webpack_require__(7908); 4786 4787var floor = Math.floor; 4788var charAt = uncurryThis(''.charAt); 4789var replace = uncurryThis(''.replace); 4790var stringSlice = uncurryThis(''.slice); 4791var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; 4792var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; 4793 4794// `GetSubstitution` abstract operation 4795// https://tc39.es/ecma262/#sec-getsubstitution 4796module.exports = function (matched, str, position, captures, namedCaptures, replacement) { 4797 var tailPos = position + matched.length; 4798 var m = captures.length; 4799 var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; 4800 if (namedCaptures !== undefined) { 4801 namedCaptures = toObject(namedCaptures); 4802 symbols = SUBSTITUTION_SYMBOLS; 4803 } 4804 return replace(replacement, symbols, function (match, ch) { 4805 var capture; 4806 switch (charAt(ch, 0)) { 4807 case '$': return '$'; 4808 case '&': return matched; 4809 case '`': return stringSlice(str, 0, position);
vendor: 5,025 bytes, lines 4810-4996
4810 case "'": return stringSlice(str, tailPos); 4811 case '<': 4812 capture = namedCaptures[stringSlice(ch, 1, -1)]; 4813 break; 4814 default: // \d\d? 4815 var n = +ch; 4816 if (n === 0) return match; 4817 if (n > m) { 4818 var f = floor(n / 10); 4819 if (f === 0) return match; 4820 if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1); 4821 return match; 4822 } 4823 capture = captures[n - 1]; 4824 } 4825 return capture === undefined ? '' : capture; 4826 }); 4827}; 4828 4829 4830/***/ }), 4831 4832/***/ 7854: 4833/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4834 4835var check = function (it) { 4836 return it && it.Math == Math && it; 4837}; 4838 4839// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 4840module.exports = 4841 // eslint-disable-next-line es/no-global-this -- safe 4842 check(typeof globalThis == 'object' && globalThis) || 4843 check(typeof window == 'object' && window) || 4844 // eslint-disable-next-line no-restricted-globals -- safe 4845 check(typeof self == 'object' && self) || 4846 check(typeof __webpack_require__.g == 'object' && __webpack_require__.g) || 4847 // eslint-disable-next-line no-new-func -- fallback 4848 (function () { return this; })() || Function('return this')(); 4849 4850 4851/***/ }), 4852 4853/***/ 2597: 4854/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4855 4856var uncurryThis = __webpack_require__(1702); 4857var toObject = __webpack_require__(7908); 4858 4859var hasOwnProperty = uncurryThis({}.hasOwnProperty); 4860 4861// `HasOwnProperty` abstract operation 4862// https://tc39.es/ecma262/#sec-hasownproperty 4863module.exports = Object.hasOwn || function hasOwn(it, key) { 4864 return hasOwnProperty(toObject(it), key); 4865}; 4866 4867 4868/***/ }), 4869 4870/***/ 3501: 4871/***/ (function(module) { 4872 4873module.exports = {}; 4874 4875 4876/***/ }), 4877 4878/***/ 842: 4879/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4880 4881var global = __webpack_require__(7854); 4882 4883module.exports = function (a, b) { 4884 var console = global.console; 4885 if (console && console.error) { 4886 arguments.length == 1 ? console.error(a) : console.error(a, b); 4887 } 4888}; 4889 4890 4891/***/ }), 4892 4893/***/ 490: 4894/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4895 4896var getBuiltIn = __webpack_require__(5005); 4897 4898module.exports = getBuiltIn('document', 'documentElement'); 4899 4900 4901/***/ }), 4902 4903/***/ 4664: 4904/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4905 4906var DESCRIPTORS = __webpack_require__(9781); 4907var fails = __webpack_require__(7293); 4908var createElement = __webpack_require__(317); 4909 4910// Thanks to IE8 for its funny defineProperty 4911module.exports = !DESCRIPTORS && !fails(function () { 4912 // eslint-disable-next-line es/no-object-defineproperty -- required for testing 4913 return Object.defineProperty(createElement('div'), 'a', { 4914 get: function () { return 7; } 4915 }).a != 7; 4916}); 4917 4918 4919/***/ }), 4920 4921/***/ 1179: 4922/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 4923 4924// IEEE754 conversions based on https://github.com/feross/ieee754 4925var global = __webpack_require__(7854); 4926 4927var Array = global.Array; 4928var abs = Math.abs; 4929var pow = Math.pow; 4930var floor = Math.floor; 4931var log = Math.log; 4932var LN2 = Math.LN2; 4933 4934var pack = function (number, mantissaLength, bytes) { 4935 var buffer = Array(bytes); 4936 var exponentLength = bytes * 8 - mantissaLength - 1; 4937 var eMax = (1 << exponentLength) - 1; 4938 var eBias = eMax >> 1; 4939 var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0; 4940 var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0; 4941 var index = 0; 4942 var exponent, mantissa, c; 4943 number = abs(number); 4944 // eslint-disable-next-line no-self-compare -- NaN check 4945 if (number != number || number === Infinity) { 4946 // eslint-disable-next-line no-self-compare -- NaN check 4947 mantissa = number != number ? 1 : 0; 4948 exponent = eMax; 4949 } else { 4950 exponent = floor(log(number) / LN2); 4951 c = pow(2, -exponent); 4952 if (number * c < 1) { 4953 exponent--; 4954 c *= 2; 4955 } 4956 if (exponent + eBias >= 1) { 4957 number += rt / c; 4958 } else { 4959 number += rt * pow(2, 1 - eBias); 4960 } 4961 if (number * c >= 2) { 4962 exponent++; 4963 c /= 2; 4964 } 4965 if (exponent + eBias >= eMax) { 4966 mantissa = 0; 4967 exponent = eMax; 4968 } else if (exponent + eBias >= 1) { 4969 mantissa = (number * c - 1) * pow(2, mantissaLength); 4970 exponent = exponent + eBias; 4971 } else { 4972 mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength); 4973 exponent = 0; 4974 } 4975 } 4976 while (mantissaLength >= 8) { 4977 buffer[index++] = mantissa & 255; 4978 mantissa /= 256; 4979 mantissaLength -= 8; 4980 } 4981 exponent = exponent << mantissaLength | mantissa; 4982 exponentLength += mantissaLength; 4983 while (exponentLength > 0) { 4984 buffer[index++] = exponent & 255; 4985 exponent /= 256; 4986 exponentLength -= 8; 4987 } 4988 buffer[--index] |= sign * 128; 4989 return buffer; 4990}; 4991 4992var unpack = function (buffer, mantissaLength) { 4993 var bytes = buffer.length; 4994 var exponentLength = bytes * 8 - mantissaLength - 1; 4995 var eMax = (1 << exponentLength) - 1; 4996 var eBias = eMax >> 1;
vendor: 4,852 bytes, lines 4997-5163
4997 var nBits = exponentLength - 7; 4998 var index = bytes - 1; 4999 var sign = buffer[index--]; 5000 var exponent = sign & 127; 5001 var mantissa; 5002 sign >>= 7; 5003 while (nBits > 0) { 5004 exponent = exponent * 256 + buffer[index--]; 5005 nBits -= 8; 5006 } 5007 mantissa = exponent & (1 << -nBits) - 1; 5008 exponent >>= -nBits; 5009 nBits += mantissaLength; 5010 while (nBits > 0) { 5011 mantissa = mantissa * 256 + buffer[index--]; 5012 nBits -= 8; 5013 } 5014 if (exponent === 0) { 5015 exponent = 1 - eBias; 5016 } else if (exponent === eMax) { 5017 return mantissa ? NaN : sign ? -Infinity : Infinity; 5018 } else { 5019 mantissa = mantissa + pow(2, mantissaLength); 5020 exponent = exponent - eBias; 5021 } return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength); 5022}; 5023 5024module.exports = { 5025 pack: pack, 5026 unpack: unpack 5027}; 5028 5029 5030/***/ }), 5031 5032/***/ 8361: 5033/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5034 5035var global = __webpack_require__(7854); 5036var uncurryThis = __webpack_require__(1702); 5037var fails = __webpack_require__(7293); 5038var classof = __webpack_require__(4326); 5039 5040var Object = global.Object; 5041var split = uncurryThis(''.split); 5042 5043// fallback for non-array-like ES3 and non-enumerable old V8 strings 5044module.exports = fails(function () { 5045 // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 5046 // eslint-disable-next-line no-prototype-builtins -- safe 5047 return !Object('z').propertyIsEnumerable(0); 5048}) ? function (it) { 5049 return classof(it) == 'String' ? split(it, '') : Object(it); 5050} : Object; 5051 5052 5053/***/ }), 5054 5055/***/ 9587: 5056/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5057 5058var isCallable = __webpack_require__(614); 5059var isObject = __webpack_require__(111); 5060var setPrototypeOf = __webpack_require__(7674); 5061 5062// makes subclassing work correct for wrapped built-ins 5063module.exports = function ($this, dummy, Wrapper) { 5064 var NewTarget, NewTargetPrototype; 5065 if ( 5066 // it can work only with native `setPrototypeOf` 5067 setPrototypeOf && 5068 // we haven't completely correct pre-ES6 way for getting `new.target`, so use this 5069 isCallable(NewTarget = dummy.constructor) && 5070 NewTarget !== Wrapper && 5071 isObject(NewTargetPrototype = NewTarget.prototype) && 5072 NewTargetPrototype !== Wrapper.prototype 5073 ) setPrototypeOf($this, NewTargetPrototype); 5074 return $this; 5075}; 5076 5077 5078/***/ }), 5079 5080/***/ 2788: 5081/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5082 5083var uncurryThis = __webpack_require__(1702); 5084var isCallable = __webpack_require__(614); 5085var store = __webpack_require__(5465); 5086 5087var functionToString = uncurryThis(Function.toString); 5088 5089// this helper broken in `[email protected]`, so we can't use `shared` helper 5090if (!isCallable(store.inspectSource)) { 5091 store.inspectSource = function (it) { 5092 return functionToString(it); 5093 }; 5094} 5095 5096module.exports = store.inspectSource; 5097 5098 5099/***/ }), 5100 5101/***/ 8340: 5102/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5103 5104var isObject = __webpack_require__(111); 5105var createNonEnumerableProperty = __webpack_require__(8880); 5106 5107// `InstallErrorCause` abstract operation 5108// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause 5109module.exports = function (O, options) { 5110 if (isObject(options) && 'cause' in options) { 5111 createNonEnumerableProperty(O, 'cause', options.cause); 5112 } 5113}; 5114 5115 5116/***/ }), 5117 5118/***/ 2423: 5119/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5120 5121var $ = __webpack_require__(2109); 5122var uncurryThis = __webpack_require__(1702); 5123var hiddenKeys = __webpack_require__(3501); 5124var isObject = __webpack_require__(111); 5125var hasOwn = __webpack_require__(2597); 5126var defineProperty = (__webpack_require__(3070).f); 5127var getOwnPropertyNamesModule = __webpack_require__(8006); 5128var getOwnPropertyNamesExternalModule = __webpack_require__(1156); 5129var isExtensible = __webpack_require__(2050); 5130var uid = __webpack_require__(9711); 5131var FREEZING = __webpack_require__(6677); 5132 5133var REQUIRED = false; 5134var METADATA = uid('meta'); 5135var id = 0; 5136 5137var setMetadata = function (it) { 5138 defineProperty(it, METADATA, { value: { 5139 objectID: 'O' + id++, // object ID 5140 weakData: {} // weak collections IDs 5141 } }); 5142}; 5143 5144var fastKey = function (it, create) { 5145 // return a primitive with prefix 5146 if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; 5147 if (!hasOwn(it, METADATA)) { 5148 // can't set metadata to uncaught frozen object 5149 if (!isExtensible(it)) return 'F'; 5150 // not necessary to add metadata 5151 if (!create) return 'E'; 5152 // add missing metadata 5153 setMetadata(it); 5154 // return object ID 5155 } return it[METADATA].objectID; 5156}; 5157 5158var getWeakData = function (it, create) { 5159 if (!hasOwn(it, METADATA)) { 5160 // can't set metadata to uncaught frozen object 5161 if (!isExtensible(it)) return true; 5162 // not necessary to add metadata 5163 if (!create) return false;
vendor: 4,964 bytes, lines 5164-5352
5164 // add missing metadata 5165 setMetadata(it); 5166 // return the store of weak collections IDs 5167 } return it[METADATA].weakData; 5168}; 5169 5170// add metadata on freeze-family methods calling 5171var onFreeze = function (it) { 5172 if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it); 5173 return it; 5174}; 5175 5176var enable = function () { 5177 meta.enable = function () { /* empty */ }; 5178 REQUIRED = true; 5179 var getOwnPropertyNames = getOwnPropertyNamesModule.f; 5180 var splice = uncurryThis([].splice); 5181 var test = {}; 5182 test[METADATA] = 1; 5183 5184 // prevent exposing of metadata key 5185 if (getOwnPropertyNames(test).length) { 5186 getOwnPropertyNamesModule.f = function (it) { 5187 var result = getOwnPropertyNames(it); 5188 for (var i = 0, length = result.length; i < length; i++) { 5189 if (result[i] === METADATA) { 5190 splice(result, i, 1); 5191 break; 5192 } 5193 } return result; 5194 }; 5195 5196 $({ target: 'Object', stat: true, forced: true }, { 5197 getOwnPropertyNames: getOwnPropertyNamesExternalModule.f 5198 }); 5199 } 5200}; 5201 5202var meta = module.exports = { 5203 enable: enable, 5204 fastKey: fastKey, 5205 getWeakData: getWeakData, 5206 onFreeze: onFreeze 5207}; 5208 5209hiddenKeys[METADATA] = true; 5210 5211 5212/***/ }), 5213 5214/***/ 9909: 5215/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5216 5217var NATIVE_WEAK_MAP = __webpack_require__(8536); 5218var global = __webpack_require__(7854); 5219var uncurryThis = __webpack_require__(1702); 5220var isObject = __webpack_require__(111); 5221var createNonEnumerableProperty = __webpack_require__(8880); 5222var hasOwn = __webpack_require__(2597); 5223var shared = __webpack_require__(5465); 5224var sharedKey = __webpack_require__(6200); 5225var hiddenKeys = __webpack_require__(3501); 5226 5227var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; 5228var TypeError = global.TypeError; 5229var WeakMap = global.WeakMap; 5230var set, get, has; 5231 5232var enforce = function (it) { 5233 return has(it) ? get(it) : set(it, {}); 5234}; 5235 5236var getterFor = function (TYPE) { 5237 return function (it) { 5238 var state; 5239 if (!isObject(it) || (state = get(it)).type !== TYPE) { 5240 throw TypeError('Incompatible receiver, ' + TYPE + ' required'); 5241 } return state; 5242 }; 5243}; 5244 5245if (NATIVE_WEAK_MAP || shared.state) { 5246 var store = shared.state || (shared.state = new WeakMap()); 5247 var wmget = uncurryThis(store.get); 5248 var wmhas = uncurryThis(store.has); 5249 var wmset = uncurryThis(store.set); 5250 set = function (it, metadata) { 5251 if (wmhas(store, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); 5252 metadata.facade = it; 5253 wmset(store, it, metadata); 5254 return metadata; 5255 }; 5256 get = function (it) { 5257 return wmget(store, it) || {}; 5258 }; 5259 has = function (it) { 5260 return wmhas(store, it); 5261 }; 5262} else { 5263 var STATE = sharedKey('state'); 5264 hiddenKeys[STATE] = true; 5265 set = function (it, metadata) { 5266 if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); 5267 metadata.facade = it; 5268 createNonEnumerableProperty(it, STATE, metadata); 5269 return metadata; 5270 }; 5271 get = function (it) { 5272 return hasOwn(it, STATE) ? it[STATE] : {}; 5273 }; 5274 has = function (it) { 5275 return hasOwn(it, STATE); 5276 }; 5277} 5278 5279module.exports = { 5280 set: set, 5281 get: get, 5282 has: has, 5283 enforce: enforce, 5284 getterFor: getterFor 5285}; 5286 5287 5288/***/ }), 5289 5290/***/ 7659: 5291/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5292 5293var wellKnownSymbol = __webpack_require__(5112); 5294var Iterators = __webpack_require__(7497); 5295 5296var ITERATOR = wellKnownSymbol('iterator'); 5297var ArrayPrototype = Array.prototype; 5298 5299// check on default Array iterator 5300module.exports = function (it) { 5301 return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); 5302}; 5303 5304 5305/***/ }), 5306 5307/***/ 3157: 5308/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5309 5310var classof = __webpack_require__(4326); 5311 5312// `IsArray` abstract operation 5313// https://tc39.es/ecma262/#sec-isarray 5314// eslint-disable-next-line es/no-array-isarray -- safe 5315module.exports = Array.isArray || function isArray(argument) { 5316 return classof(argument) == 'Array'; 5317}; 5318 5319 5320/***/ }), 5321 5322/***/ 614: 5323/***/ (function(module) { 5324 5325// `IsCallable` abstract operation 5326// https://tc39.es/ecma262/#sec-iscallable 5327module.exports = function (argument) { 5328 return typeof argument == 'function'; 5329}; 5330 5331 5332/***/ }), 5333 5334/***/ 4411: 5335/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5336 5337var uncurryThis = __webpack_require__(1702); 5338var fails = __webpack_require__(7293); 5339var isCallable = __webpack_require__(614); 5340var classof = __webpack_require__(648); 5341var getBuiltIn = __webpack_require__(5005); 5342var inspectSource = __webpack_require__(2788); 5343 5344var noop = function () { /* empty */ }; 5345var empty = []; 5346var construct = getBuiltIn('Reflect', 'construct'); 5347var constructorRegExp = /^\s*(?:class|function)\b/; 5348var exec = uncurryThis(constructorRegExp.exec); 5349var INCORRECT_TO_STRING = !constructorRegExp.exec(noop); 5350 5351var isConstructorModern = function isConstructor(argument) { 5352 if (!isCallable(argument)) return false;
vendor: 8,959 bytes, lines 5353-5680
5353 try { 5354 construct(noop, empty, argument); 5355 return true; 5356 } catch (error) { 5357 return false; 5358 } 5359}; 5360 5361var isConstructorLegacy = function isConstructor(argument) { 5362 if (!isCallable(argument)) return false; 5363 switch (classof(argument)) { 5364 case 'AsyncFunction': 5365 case 'GeneratorFunction': 5366 case 'AsyncGeneratorFunction': return false; 5367 } 5368 try { 5369 // we can't check .prototype since constructors produced by .bind haven't it 5370 // `Function#toString` throws on some built-it function in some legacy engines 5371 // (for example, `DOMQuad` and similar in FF41-) 5372 return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); 5373 } catch (error) { 5374 return true; 5375 } 5376}; 5377 5378isConstructorLegacy.sham = true; 5379 5380// `IsConstructor` abstract operation 5381// https://tc39.es/ecma262/#sec-isconstructor 5382module.exports = !construct || fails(function () { 5383 var called; 5384 return isConstructorModern(isConstructorModern.call) 5385 || !isConstructorModern(Object) 5386 || !isConstructorModern(function () { called = true; }) 5387 || called; 5388}) ? isConstructorLegacy : isConstructorModern; 5389 5390 5391/***/ }), 5392 5393/***/ 5032: 5394/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5395 5396var hasOwn = __webpack_require__(2597); 5397 5398module.exports = function (descriptor) { 5399 return descriptor !== undefined && (hasOwn(descriptor, 'value') || hasOwn(descriptor, 'writable')); 5400}; 5401 5402 5403/***/ }), 5404 5405/***/ 4705: 5406/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5407 5408var fails = __webpack_require__(7293); 5409var isCallable = __webpack_require__(614); 5410 5411var replacement = /#|\.prototype\./; 5412 5413var isForced = function (feature, detection) { 5414 var value = data[normalize(feature)]; 5415 return value == POLYFILL ? true 5416 : value == NATIVE ? false 5417 : isCallable(detection) ? fails(detection) 5418 : !!detection; 5419}; 5420 5421var normalize = isForced.normalize = function (string) { 5422 return String(string).replace(replacement, '.').toLowerCase(); 5423}; 5424 5425var data = isForced.data = {}; 5426var NATIVE = isForced.NATIVE = 'N'; 5427var POLYFILL = isForced.POLYFILL = 'P'; 5428 5429module.exports = isForced; 5430 5431 5432/***/ }), 5433 5434/***/ 5988: 5435/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5436 5437var isObject = __webpack_require__(111); 5438 5439var floor = Math.floor; 5440 5441// `IsIntegralNumber` abstract operation 5442// https://tc39.es/ecma262/#sec-isintegralnumber 5443// eslint-disable-next-line es/no-number-isinteger -- safe 5444module.exports = Number.isInteger || function isInteger(it) { 5445 return !isObject(it) && isFinite(it) && floor(it) === it; 5446}; 5447 5448 5449/***/ }), 5450 5451/***/ 111: 5452/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5453 5454var isCallable = __webpack_require__(614); 5455 5456module.exports = function (it) { 5457 return typeof it == 'object' ? it !== null : isCallable(it); 5458}; 5459 5460 5461/***/ }), 5462 5463/***/ 1913: 5464/***/ (function(module) { 5465 5466module.exports = false; 5467 5468 5469/***/ }), 5470 5471/***/ 7850: 5472/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5473 5474var isObject = __webpack_require__(111); 5475var classof = __webpack_require__(4326); 5476var wellKnownSymbol = __webpack_require__(5112); 5477 5478var MATCH = wellKnownSymbol('match'); 5479 5480// `IsRegExp` abstract operation 5481// https://tc39.es/ecma262/#sec-isregexp 5482module.exports = function (it) { 5483 var isRegExp; 5484 return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp'); 5485}; 5486 5487 5488/***/ }), 5489 5490/***/ 2190: 5491/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5492 5493var global = __webpack_require__(7854); 5494var getBuiltIn = __webpack_require__(5005); 5495var isCallable = __webpack_require__(614); 5496var isPrototypeOf = __webpack_require__(7976); 5497var USE_SYMBOL_AS_UID = __webpack_require__(3307); 5498 5499var Object = global.Object; 5500 5501module.exports = USE_SYMBOL_AS_UID ? function (it) { 5502 return typeof it == 'symbol'; 5503} : function (it) { 5504 var $Symbol = getBuiltIn('Symbol'); 5505 return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, Object(it)); 5506}; 5507 5508 5509/***/ }), 5510 5511/***/ 408: 5512/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5513 5514var global = __webpack_require__(7854); 5515var bind = __webpack_require__(9974); 5516var call = __webpack_require__(6916); 5517var anObject = __webpack_require__(9670); 5518var tryToString = __webpack_require__(6330); 5519var isArrayIteratorMethod = __webpack_require__(7659); 5520var lengthOfArrayLike = __webpack_require__(6244); 5521var isPrototypeOf = __webpack_require__(7976); 5522var getIterator = __webpack_require__(8554); 5523var getIteratorMethod = __webpack_require__(1246); 5524var iteratorClose = __webpack_require__(9212); 5525 5526var TypeError = global.TypeError; 5527 5528var Result = function (stopped, result) { 5529 this.stopped = stopped; 5530 this.result = result; 5531}; 5532 5533var ResultPrototype = Result.prototype; 5534 5535module.exports = function (iterable, unboundFunction, options) { 5536 var that = options && options.that; 5537 var AS_ENTRIES = !!(options && options.AS_ENTRIES); 5538 var IS_ITERATOR = !!(options && options.IS_ITERATOR); 5539 var INTERRUPTED = !!(options && options.INTERRUPTED); 5540 var fn = bind(unboundFunction, that); 5541 var iterator, iterFn, index, length, result, next, step; 5542 5543 var stop = function (condition) { 5544 if (iterator) iteratorClose(iterator, 'normal', condition); 5545 return new Result(true, condition); 5546 }; 5547 5548 var callFn = function (value) { 5549 if (AS_ENTRIES) { 5550 anObject(value); 5551 return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); 5552 } return INTERRUPTED ? fn(value, stop) : fn(value); 5553 }; 5554 5555 if (IS_ITERATOR) { 5556 iterator = iterable; 5557 } else { 5558 iterFn = getIteratorMethod(iterable); 5559 if (!iterFn) throw TypeError(tryToString(iterable) + ' is not iterable'); 5560 // optimisation for array iterators 5561 if (isArrayIteratorMethod(iterFn)) { 5562 for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { 5563 result = callFn(iterable[index]); 5564 if (result && isPrototypeOf(ResultPrototype, result)) return result; 5565 } return new Result(false); 5566 } 5567 iterator = getIterator(iterable, iterFn); 5568 } 5569 5570 next = iterator.next; 5571 while (!(step = call(next, iterator)).done) { 5572 try { 5573 result = callFn(step.value); 5574 } catch (error) { 5575 iteratorClose(iterator, 'throw', error); 5576 } 5577 if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result; 5578 } return new Result(false); 5579}; 5580 5581 5582/***/ }), 5583 5584/***/ 9212: 5585/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5586 5587var call = __webpack_require__(6916); 5588var anObject = __webpack_require__(9670); 5589var getMethod = __webpack_require__(8173); 5590 5591module.exports = function (iterator, kind, value) { 5592 var innerResult, innerError; 5593 anObject(iterator); 5594 try { 5595 innerResult = getMethod(iterator, 'return'); 5596 if (!innerResult) { 5597 if (kind === 'throw') throw value; 5598 return value; 5599 } 5600 innerResult = call(innerResult, iterator); 5601 } catch (error) { 5602 innerError = true; 5603 innerResult = error; 5604 } 5605 if (kind === 'throw') throw value; 5606 if (innerError) throw innerResult; 5607 anObject(innerResult); 5608 return value; 5609}; 5610 5611 5612/***/ }), 5613 5614/***/ 3383: 5615/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5616 5617"use strict"; 5618 5619var fails = __webpack_require__(7293); 5620var isCallable = __webpack_require__(614); 5621var create = __webpack_require__(30); 5622var getPrototypeOf = __webpack_require__(9518); 5623var redefine = __webpack_require__(1320); 5624var wellKnownSymbol = __webpack_require__(5112); 5625var IS_PURE = __webpack_require__(1913); 5626 5627var ITERATOR = wellKnownSymbol('iterator'); 5628var BUGGY_SAFARI_ITERATORS = false; 5629 5630// `%IteratorPrototype%` object 5631// https://tc39.es/ecma262/#sec-%iteratorprototype%-object 5632var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; 5633 5634/* eslint-disable es/no-array-prototype-keys -- safe */ 5635if ([].keys) { 5636 arrayIterator = [].keys(); 5637 // Safari 8 has buggy iterators w/o `next` 5638 if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; 5639 else { 5640 PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); 5641 if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; 5642 } 5643} 5644 5645var NEW_ITERATOR_PROTOTYPE = IteratorPrototype == undefined || fails(function () { 5646 var test = {}; 5647 // FF44- legacy iterators case 5648 return IteratorPrototype[ITERATOR].call(test) !== test; 5649}); 5650 5651if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; 5652else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); 5653 5654// `%IteratorPrototype%[@@iterator]()` method 5655// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator 5656if (!isCallable(IteratorPrototype[ITERATOR])) { 5657 redefine(IteratorPrototype, ITERATOR, function () { 5658 return this; 5659 }); 5660} 5661 5662module.exports = { 5663 IteratorPrototype: IteratorPrototype, 5664 BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS 5665}; 5666 5667 5668/***/ }), 5669 5670/***/ 7497: 5671/***/ (function(module) { 5672 5673module.exports = {}; 5674 5675 5676/***/ }), 5677 5678/***/ 6244: 5679/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5680
vendor: 6,139 bytes, lines 5681-5902
5681var toLength = __webpack_require__(7466); 5682 5683// `LengthOfArrayLike` abstract operation 5684// https://tc39.es/ecma262/#sec-lengthofarraylike 5685module.exports = function (obj) { 5686 return toLength(obj.length); 5687}; 5688 5689 5690/***/ }), 5691 5692/***/ 6736: 5693/***/ (function(module) { 5694 5695// eslint-disable-next-line es/no-math-expm1 -- safe 5696var $expm1 = Math.expm1; 5697var exp = Math.exp; 5698 5699// `Math.expm1` method implementation 5700// https://tc39.es/ecma262/#sec-math.expm1 5701module.exports = (!$expm1 5702 // Old FF bug 5703 || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168 5704 // Tor Browser bug 5705 || $expm1(-2e-17) != -2e-17 5706) ? function expm1(x) { 5707 return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : exp(x) - 1; 5708} : $expm1; 5709 5710 5711/***/ }), 5712 5713/***/ 6130: 5714/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5715 5716var sign = __webpack_require__(4310); 5717 5718var abs = Math.abs; 5719var pow = Math.pow; 5720var EPSILON = pow(2, -52); 5721var EPSILON32 = pow(2, -23); 5722var MAX32 = pow(2, 127) * (2 - EPSILON32); 5723var MIN32 = pow(2, -126); 5724 5725var roundTiesToEven = function (n) { 5726 return n + 1 / EPSILON - 1 / EPSILON; 5727}; 5728 5729// `Math.fround` method implementation 5730// https://tc39.es/ecma262/#sec-math.fround 5731// eslint-disable-next-line es/no-math-fround -- safe 5732module.exports = Math.fround || function fround(x) { 5733 var $abs = abs(x); 5734 var $sign = sign(x); 5735 var a, result; 5736 if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; 5737 a = (1 + EPSILON32 / EPSILON) * $abs; 5738 result = a - (a - $abs); 5739 // eslint-disable-next-line no-self-compare -- NaN check 5740 if (result > MAX32 || result != result) return $sign * Infinity; 5741 return $sign * result; 5742}; 5743 5744 5745/***/ }), 5746 5747/***/ 202: 5748/***/ (function(module) { 5749 5750var log = Math.log; 5751var LOG10E = Math.LOG10E; 5752 5753// eslint-disable-next-line es/no-math-log10 -- safe 5754module.exports = Math.log10 || function log10(x) { 5755 return log(x) * LOG10E; 5756}; 5757 5758 5759/***/ }), 5760 5761/***/ 6513: 5762/***/ (function(module) { 5763 5764var log = Math.log; 5765 5766// `Math.log1p` method implementation 5767// https://tc39.es/ecma262/#sec-math.log1p 5768// eslint-disable-next-line es/no-math-log1p -- safe 5769module.exports = Math.log1p || function log1p(x) { 5770 return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : log(1 + x); 5771}; 5772 5773 5774/***/ }), 5775 5776/***/ 4310: 5777/***/ (function(module) { 5778 5779// `Math.sign` method implementation 5780// https://tc39.es/ecma262/#sec-math.sign 5781// eslint-disable-next-line es/no-math-sign -- safe 5782module.exports = Math.sign || function sign(x) { 5783 // eslint-disable-next-line no-self-compare -- NaN check 5784 return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; 5785}; 5786 5787 5788/***/ }), 5789 5790/***/ 5948: 5791/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5792 5793var global = __webpack_require__(7854); 5794var bind = __webpack_require__(9974); 5795var getOwnPropertyDescriptor = (__webpack_require__(1236).f); 5796var macrotask = (__webpack_require__(261).set); 5797var IS_IOS = __webpack_require__(8334); 5798var IS_IOS_PEBBLE = __webpack_require__(1528); 5799var IS_WEBOS_WEBKIT = __webpack_require__(1036); 5800var IS_NODE = __webpack_require__(5268); 5801 5802var MutationObserver = global.MutationObserver || global.WebKitMutationObserver; 5803var document = global.document; 5804var process = global.process; 5805var Promise = global.Promise; 5806// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask` 5807var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask'); 5808var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value; 5809 5810var flush, head, last, notify, toggle, node, promise, then; 5811 5812// modern engines have queueMicrotask method 5813if (!queueMicrotask) { 5814 flush = function () { 5815 var parent, fn; 5816 if (IS_NODE && (parent = process.domain)) parent.exit(); 5817 while (head) { 5818 fn = head.fn; 5819 head = head.next; 5820 try { 5821 fn(); 5822 } catch (error) { 5823 if (head) notify(); 5824 else last = undefined; 5825 throw error; 5826 } 5827 } last = undefined; 5828 if (parent) parent.enter(); 5829 }; 5830 5831 // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339 5832 // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898 5833 if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) { 5834 toggle = true; 5835 node = document.createTextNode(''); 5836 new MutationObserver(flush).observe(node, { characterData: true }); 5837 notify = function () { 5838 node.data = toggle = !toggle; 5839 }; 5840 // environments with maybe non-completely correct, but existent Promise 5841 } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) { 5842 // Promise.resolve without an argument throws an error in LG WebOS 2 5843 promise = Promise.resolve(undefined); 5844 // workaround of WebKit ~ iOS Safari 10.1 bug 5845 promise.constructor = Promise; 5846 then = bind(promise.then, promise); 5847 notify = function () { 5848 then(flush); 5849 }; 5850 // Node.js without promises 5851 } else if (IS_NODE) { 5852 notify = function () { 5853 process.nextTick(flush); 5854 }; 5855 // for other environments - macrotask based on: 5856 // - setImmediate 5857 // - MessageChannel 5858 // - window.postMessag 5859 // - onreadystatechange 5860 // - setTimeout 5861 } else { 5862 // strange IE + webpack dev server bug - use .bind(global) 5863 macrotask = bind(macrotask, global); 5864 notify = function () { 5865 macrotask(flush); 5866 }; 5867 } 5868} 5869 5870module.exports = queueMicrotask || function (fn) { 5871 var task = { fn: fn, next: undefined }; 5872 if (last) last.next = task; 5873 if (!head) { 5874 head = task; 5875 notify(); 5876 } last = task; 5877}; 5878 5879 5880/***/ }), 5881 5882/***/ 3366: 5883/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5884 5885var global = __webpack_require__(7854); 5886 5887module.exports = global.Promise; 5888 5889 5890/***/ }), 5891 5892/***/ 133: 5893/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5894 5895/* eslint-disable es/no-symbol -- required for testing */ 5896var V8_VERSION = __webpack_require__(7392); 5897var fails = __webpack_require__(7293); 5898 5899// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing 5900module.exports = !!Object.getOwnPropertySymbols && !fails(function () { 5901 var symbol = Symbol(); 5902 // Chrome 38 Symbol has incorrect toString conversion
vendor: 4,168 bytes, lines 5903-6052
5903 // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances 5904 return !String(symbol) || !(Object(symbol) instanceof Symbol) || 5905 // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances 5906 !Symbol.sham && V8_VERSION && V8_VERSION < 41; 5907}); 5908 5909 5910/***/ }), 5911 5912/***/ 590: 5913/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5914 5915var fails = __webpack_require__(7293); 5916var wellKnownSymbol = __webpack_require__(5112); 5917var IS_PURE = __webpack_require__(1913); 5918 5919var ITERATOR = wellKnownSymbol('iterator'); 5920 5921module.exports = !fails(function () { 5922 // eslint-disable-next-line unicorn/relative-url-style -- required for testing 5923 var url = new URL('b?a=1&b=2&c=3', 'http://a'); 5924 var searchParams = url.searchParams; 5925 var result = ''; 5926 url.pathname = 'c%20d'; 5927 searchParams.forEach(function (value, key) { 5928 searchParams['delete']('b'); 5929 result += key + value; 5930 }); 5931 return (IS_PURE && !url.toJSON) 5932 || !searchParams.sort 5933 || url.href !== 'http://a/c%20d?a=1&c=3' 5934 || searchParams.get('c') !== '3' 5935 || String(new URLSearchParams('?a=1')) !== 'a=1' 5936 || !searchParams[ITERATOR] 5937 // throws in Edge 5938 || new URL('https://a@b').username !== 'a' 5939 || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b' 5940 // not punycoded in Edge 5941 || new URL('http://ÑеÑÑ').host !== 'xn--e1aybc' 5942 // not escaped in Chrome 62- 5943 || new URL('http://a#б').hash !== '#%D0%B1' 5944 // fails in Chrome 66- 5945 || result !== 'a1c3' 5946 // throws in Safari 5947 || new URL('http://x', undefined).host !== 'x'; 5948}); 5949 5950 5951/***/ }), 5952 5953/***/ 8536: 5954/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5955 5956var global = __webpack_require__(7854); 5957var isCallable = __webpack_require__(614); 5958var inspectSource = __webpack_require__(2788); 5959 5960var WeakMap = global.WeakMap; 5961 5962module.exports = isCallable(WeakMap) && /native code/.test(inspectSource(WeakMap)); 5963 5964 5965/***/ }), 5966 5967/***/ 8523: 5968/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5969 5970"use strict"; 5971 5972var aCallable = __webpack_require__(9662); 5973 5974var PromiseCapability = function (C) { 5975 var resolve, reject; 5976 this.promise = new C(function ($$resolve, $$reject) { 5977 if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); 5978 resolve = $$resolve; 5979 reject = $$reject; 5980 }); 5981 this.resolve = aCallable(resolve); 5982 this.reject = aCallable(reject); 5983}; 5984 5985// `NewPromiseCapability` abstract operation 5986// https://tc39.es/ecma262/#sec-newpromisecapability 5987module.exports.f = function (C) { 5988 return new PromiseCapability(C); 5989}; 5990 5991 5992/***/ }), 5993 5994/***/ 6277: 5995/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 5996 5997var toString = __webpack_require__(1340); 5998 5999module.exports = function (argument, $default) { 6000 return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); 6001}; 6002 6003 6004/***/ }), 6005 6006/***/ 3929: 6007/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6008 6009var global = __webpack_require__(7854); 6010var isRegExp = __webpack_require__(7850); 6011 6012var TypeError = global.TypeError; 6013 6014module.exports = function (it) { 6015 if (isRegExp(it)) { 6016 throw TypeError("The method doesn't accept regular expressions"); 6017 } return it; 6018}; 6019 6020 6021/***/ }), 6022 6023/***/ 7023: 6024/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6025 6026var global = __webpack_require__(7854); 6027 6028var globalIsFinite = global.isFinite; 6029 6030// `Number.isFinite` method 6031// https://tc39.es/ecma262/#sec-number.isfinite 6032// eslint-disable-next-line es/no-number-isfinite -- safe 6033module.exports = Number.isFinite || function isFinite(it) { 6034 return typeof it == 'number' && globalIsFinite(it); 6035}; 6036 6037 6038/***/ }), 6039 6040/***/ 2814: 6041/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6042 6043var global = __webpack_require__(7854); 6044var fails = __webpack_require__(7293); 6045var uncurryThis = __webpack_require__(1702); 6046var toString = __webpack_require__(1340); 6047var trim = (__webpack_require__(3111).trim); 6048var whitespaces = __webpack_require__(1361); 6049 6050var charAt = uncurryThis(''.charAt); 6051var n$ParseFloat = global.parseFloat; 6052var Symbol = global.Symbol;
vendor: 1,051 bytes, lines 6053-6083
6053var ITERATOR = Symbol && Symbol.iterator; 6054var FORCED = 1 / n$ParseFloat(whitespaces + '-0') !== -Infinity 6055 // MS Edge 18- broken with boxed symbols 6056 || (ITERATOR && !fails(function () { n$ParseFloat(Object(ITERATOR)); })); 6057 6058// `parseFloat` method 6059// https://tc39.es/ecma262/#sec-parsefloat-string 6060module.exports = FORCED ? function parseFloat(string) { 6061 var trimmedString = trim(toString(string)); 6062 var result = n$ParseFloat(trimmedString); 6063 return result === 0 && charAt(trimmedString, 0) == '-' ? -0 : result; 6064} : n$ParseFloat; 6065 6066 6067/***/ }), 6068 6069/***/ 3009: 6070/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6071 6072var global = __webpack_require__(7854); 6073var fails = __webpack_require__(7293); 6074var uncurryThis = __webpack_require__(1702); 6075var toString = __webpack_require__(1340); 6076var trim = (__webpack_require__(3111).trim); 6077var whitespaces = __webpack_require__(1361); 6078 6079var $parseInt = global.parseInt; 6080var Symbol = global.Symbol; 6081var ITERATOR = Symbol && Symbol.iterator; 6082var hex = /^[+-]?0x/i; 6083var exec = uncurryThis(hex.exec);
vendor: 7,390 bytes, lines 6084-6293
6084var FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22 6085 // MS Edge 18- broken with boxed symbols 6086 || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); })); 6087 6088// `parseInt` method 6089// https://tc39.es/ecma262/#sec-parseint-string-radix 6090module.exports = FORCED ? function parseInt(string, radix) { 6091 var S = trim(toString(string)); 6092 return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10)); 6093} : $parseInt; 6094 6095 6096/***/ }), 6097 6098/***/ 1574: 6099/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6100 6101"use strict"; 6102 6103var DESCRIPTORS = __webpack_require__(9781); 6104var uncurryThis = __webpack_require__(1702); 6105var call = __webpack_require__(6916); 6106var fails = __webpack_require__(7293); 6107var objectKeys = __webpack_require__(1956); 6108var getOwnPropertySymbolsModule = __webpack_require__(5181); 6109var propertyIsEnumerableModule = __webpack_require__(5296); 6110var toObject = __webpack_require__(7908); 6111var IndexedObject = __webpack_require__(8361); 6112 6113// eslint-disable-next-line es/no-object-assign -- safe 6114var $assign = Object.assign; 6115// eslint-disable-next-line es/no-object-defineproperty -- required for testing 6116var defineProperty = Object.defineProperty; 6117var concat = uncurryThis([].concat); 6118 6119// `Object.assign` method 6120// https://tc39.es/ecma262/#sec-object.assign 6121module.exports = !$assign || fails(function () { 6122 // should have correct order of operations (Edge bug) 6123 if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', { 6124 enumerable: true, 6125 get: function () { 6126 defineProperty(this, 'b', { 6127 value: 3, 6128 enumerable: false 6129 }); 6130 } 6131 }), { b: 2 })).b !== 1) return true; 6132 // should work with symbols and should have deterministic property order (V8 bug) 6133 var A = {}; 6134 var B = {}; 6135 // eslint-disable-next-line es/no-symbol -- safe 6136 var symbol = Symbol(); 6137 var alphabet = 'abcdefghijklmnopqrst'; 6138 A[symbol] = 7; 6139 alphabet.split('').forEach(function (chr) { B[chr] = chr; }); 6140 return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet; 6141}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length` 6142 var T = toObject(target); 6143 var argumentsLength = arguments.length; 6144 var index = 1; 6145 var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; 6146 var propertyIsEnumerable = propertyIsEnumerableModule.f; 6147 while (argumentsLength > index) { 6148 var S = IndexedObject(arguments[index++]); 6149 var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S); 6150 var length = keys.length; 6151 var j = 0; 6152 var key; 6153 while (length > j) { 6154 key = keys[j++]; 6155 if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key]; 6156 } 6157 } return T; 6158} : $assign; 6159 6160 6161/***/ }), 6162 6163/***/ 30: 6164/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6165 6166/* global ActiveXObject -- old IE, WSH */ 6167var anObject = __webpack_require__(9670); 6168var definePropertiesModule = __webpack_require__(6048); 6169var enumBugKeys = __webpack_require__(748); 6170var hiddenKeys = __webpack_require__(3501); 6171var html = __webpack_require__(490); 6172var documentCreateElement = __webpack_require__(317); 6173var sharedKey = __webpack_require__(6200); 6174 6175var GT = '>'; 6176var LT = '<'; 6177var PROTOTYPE = 'prototype'; 6178var SCRIPT = 'script'; 6179var IE_PROTO = sharedKey('IE_PROTO'); 6180 6181var EmptyConstructor = function () { /* empty */ }; 6182 6183var scriptTag = function (content) { 6184 return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; 6185}; 6186 6187// Create object with fake `null` prototype: use ActiveX Object with cleared prototype 6188var NullProtoObjectViaActiveX = function (activeXDocument) { 6189 activeXDocument.write(scriptTag('')); 6190 activeXDocument.close(); 6191 var temp = activeXDocument.parentWindow.Object; 6192 activeXDocument = null; // avoid memory leak 6193 return temp; 6194}; 6195 6196// Create object with fake `null` prototype: use iframe Object with cleared prototype 6197var NullProtoObjectViaIFrame = function () { 6198 // Thrash, waste and sodomy: IE GC bug 6199 var iframe = documentCreateElement('iframe'); 6200 var JS = 'java' + SCRIPT + ':'; 6201 var iframeDocument; 6202 iframe.style.display = 'none'; 6203 html.appendChild(iframe); 6204 // https://github.com/zloirock/core-js/issues/475 6205 iframe.src = String(JS); 6206 iframeDocument = iframe.contentWindow.document; 6207 iframeDocument.open(); 6208 iframeDocument.write(scriptTag('document.F=Object')); 6209 iframeDocument.close(); 6210 return iframeDocument.F; 6211}; 6212 6213// Check for document.domain and active x support 6214// No need to use active x approach when document.domain is not set 6215// see https://github.com/es-shims/es5-shim/issues/150 6216// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 6217// avoid IE GC bug 6218var activeXDocument; 6219var NullProtoObject = function () { 6220 try { 6221 activeXDocument = new ActiveXObject('htmlfile'); 6222 } catch (error) { /* ignore */ } 6223 NullProtoObject = typeof document != 'undefined' 6224 ? document.domain && activeXDocument 6225 ? NullProtoObjectViaActiveX(activeXDocument) // old IE 6226 : NullProtoObjectViaIFrame() 6227 : NullProtoObjectViaActiveX(activeXDocument); // WSH 6228 var length = enumBugKeys.length; 6229 while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; 6230 return NullProtoObject(); 6231}; 6232 6233hiddenKeys[IE_PROTO] = true; 6234 6235// `Object.create` method 6236// https://tc39.es/ecma262/#sec-object.create 6237module.exports = Object.create || function create(O, Properties) { 6238 var result; 6239 if (O !== null) { 6240 EmptyConstructor[PROTOTYPE] = anObject(O); 6241 result = new EmptyConstructor(); 6242 EmptyConstructor[PROTOTYPE] = null; 6243 // add "__proto__" for Object.getPrototypeOf polyfill 6244 result[IE_PROTO] = O; 6245 } else result = NullProtoObject(); 6246 return Properties === undefined ? result : definePropertiesModule.f(result, Properties); 6247}; 6248 6249 6250/***/ }), 6251 6252/***/ 6048: 6253/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 6254 6255var DESCRIPTORS = __webpack_require__(9781); 6256var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(3353); 6257var definePropertyModule = __webpack_require__(3070); 6258var anObject = __webpack_require__(9670); 6259var toIndexedObject = __webpack_require__(5656); 6260var objectKeys = __webpack_require__(1956); 6261 6262// `Object.defineProperties` method 6263// https://tc39.es/ecma262/#sec-object.defineproperties 6264// eslint-disable-next-line es/no-object-defineproperties -- safe 6265exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { 6266 anObject(O); 6267 var props = toIndexedObject(Properties); 6268 var keys = objectKeys(Properties); 6269 var length = keys.length; 6270 var index = 0; 6271 var key; 6272 while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); 6273 return O; 6274}; 6275 6276 6277/***/ }), 6278 6279/***/ 3070: 6280/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 6281 6282var global = __webpack_require__(7854); 6283var DESCRIPTORS = __webpack_require__(9781); 6284var IE8_DOM_DEFINE = __webpack_require__(4664); 6285var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(3353); 6286var anObject = __webpack_require__(9670); 6287var toPropertyKey = __webpack_require__(4948); 6288 6289var TypeError = global.TypeError; 6290// eslint-disable-next-line es/no-object-defineproperty -- safe 6291var $defineProperty = Object.defineProperty; 6292// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 6293var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
vendor: 15,098 bytes, lines 6294-6804
6294var ENUMERABLE = 'enumerable'; 6295var CONFIGURABLE = 'configurable'; 6296var WRITABLE = 'writable'; 6297 6298// `Object.defineProperty` method 6299// https://tc39.es/ecma262/#sec-object.defineproperty 6300exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { 6301 anObject(O); 6302 P = toPropertyKey(P); 6303 anObject(Attributes); 6304 if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { 6305 var current = $getOwnPropertyDescriptor(O, P); 6306 if (current && current[WRITABLE]) { 6307 O[P] = Attributes.value; 6308 Attributes = { 6309 configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], 6310 enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], 6311 writable: false 6312 }; 6313 } 6314 } return $defineProperty(O, P, Attributes); 6315} : $defineProperty : function defineProperty(O, P, Attributes) { 6316 anObject(O); 6317 P = toPropertyKey(P); 6318 anObject(Attributes); 6319 if (IE8_DOM_DEFINE) try { 6320 return $defineProperty(O, P, Attributes); 6321 } catch (error) { /* empty */ } 6322 if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); 6323 if ('value' in Attributes) O[P] = Attributes.value; 6324 return O; 6325}; 6326 6327 6328/***/ }), 6329 6330/***/ 1236: 6331/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 6332 6333var DESCRIPTORS = __webpack_require__(9781); 6334var call = __webpack_require__(6916); 6335var propertyIsEnumerableModule = __webpack_require__(5296); 6336var createPropertyDescriptor = __webpack_require__(9114); 6337var toIndexedObject = __webpack_require__(5656); 6338var toPropertyKey = __webpack_require__(4948); 6339var hasOwn = __webpack_require__(2597); 6340var IE8_DOM_DEFINE = __webpack_require__(4664); 6341 6342// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 6343var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 6344 6345// `Object.getOwnPropertyDescriptor` method 6346// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor 6347exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { 6348 O = toIndexedObject(O); 6349 P = toPropertyKey(P); 6350 if (IE8_DOM_DEFINE) try { 6351 return $getOwnPropertyDescriptor(O, P); 6352 } catch (error) { /* empty */ } 6353 if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); 6354}; 6355 6356 6357/***/ }), 6358 6359/***/ 1156: 6360/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6361 6362/* eslint-disable es/no-object-getownpropertynames -- safe */ 6363var classof = __webpack_require__(4326); 6364var toIndexedObject = __webpack_require__(5656); 6365var $getOwnPropertyNames = (__webpack_require__(8006).f); 6366var arraySlice = __webpack_require__(1589); 6367 6368var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames 6369 ? Object.getOwnPropertyNames(window) : []; 6370 6371var getWindowNames = function (it) { 6372 try { 6373 return $getOwnPropertyNames(it); 6374 } catch (error) { 6375 return arraySlice(windowNames); 6376 } 6377}; 6378 6379// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window 6380module.exports.f = function getOwnPropertyNames(it) { 6381 return windowNames && classof(it) == 'Window' 6382 ? getWindowNames(it) 6383 : $getOwnPropertyNames(toIndexedObject(it)); 6384}; 6385 6386 6387/***/ }), 6388 6389/***/ 8006: 6390/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 6391 6392var internalObjectKeys = __webpack_require__(6324); 6393var enumBugKeys = __webpack_require__(748); 6394 6395var hiddenKeys = enumBugKeys.concat('length', 'prototype'); 6396 6397// `Object.getOwnPropertyNames` method 6398// https://tc39.es/ecma262/#sec-object.getownpropertynames 6399// eslint-disable-next-line es/no-object-getownpropertynames -- safe 6400exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { 6401 return internalObjectKeys(O, hiddenKeys); 6402}; 6403 6404 6405/***/ }), 6406 6407/***/ 5181: 6408/***/ (function(__unused_webpack_module, exports) { 6409 6410// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe 6411exports.f = Object.getOwnPropertySymbols; 6412 6413 6414/***/ }), 6415 6416/***/ 9518: 6417/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6418 6419var global = __webpack_require__(7854); 6420var hasOwn = __webpack_require__(2597); 6421var isCallable = __webpack_require__(614); 6422var toObject = __webpack_require__(7908); 6423var sharedKey = __webpack_require__(6200); 6424var CORRECT_PROTOTYPE_GETTER = __webpack_require__(8544); 6425 6426var IE_PROTO = sharedKey('IE_PROTO'); 6427var Object = global.Object; 6428var ObjectPrototype = Object.prototype; 6429 6430// `Object.getPrototypeOf` method 6431// https://tc39.es/ecma262/#sec-object.getprototypeof 6432module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) { 6433 var object = toObject(O); 6434 if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; 6435 var constructor = object.constructor; 6436 if (isCallable(constructor) && object instanceof constructor) { 6437 return constructor.prototype; 6438 } return object instanceof Object ? ObjectPrototype : null; 6439}; 6440 6441 6442/***/ }), 6443 6444/***/ 2050: 6445/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6446 6447var fails = __webpack_require__(7293); 6448var isObject = __webpack_require__(111); 6449var classof = __webpack_require__(4326); 6450var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(7556); 6451 6452// eslint-disable-next-line es/no-object-isextensible -- safe 6453var $isExtensible = Object.isExtensible; 6454var FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); }); 6455 6456// `Object.isExtensible` method 6457// https://tc39.es/ecma262/#sec-object.isextensible 6458module.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) { 6459 if (!isObject(it)) return false; 6460 if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return false; 6461 return $isExtensible ? $isExtensible(it) : true; 6462} : $isExtensible; 6463 6464 6465/***/ }), 6466 6467/***/ 7976: 6468/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6469 6470var uncurryThis = __webpack_require__(1702); 6471 6472module.exports = uncurryThis({}.isPrototypeOf); 6473 6474 6475/***/ }), 6476 6477/***/ 6324: 6478/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6479 6480var uncurryThis = __webpack_require__(1702); 6481var hasOwn = __webpack_require__(2597); 6482var toIndexedObject = __webpack_require__(5656); 6483var indexOf = (__webpack_require__(1318).indexOf); 6484var hiddenKeys = __webpack_require__(3501); 6485 6486var push = uncurryThis([].push); 6487 6488module.exports = function (object, names) { 6489 var O = toIndexedObject(object); 6490 var i = 0; 6491 var result = []; 6492 var key; 6493 for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); 6494 // Don't enum bug & hidden keys 6495 while (names.length > i) if (hasOwn(O, key = names[i++])) { 6496 ~indexOf(result, key) || push(result, key); 6497 } 6498 return result; 6499}; 6500 6501 6502/***/ }), 6503 6504/***/ 1956: 6505/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6506 6507var internalObjectKeys = __webpack_require__(6324); 6508var enumBugKeys = __webpack_require__(748); 6509 6510// `Object.keys` method 6511// https://tc39.es/ecma262/#sec-object.keys 6512// eslint-disable-next-line es/no-object-keys -- safe 6513module.exports = Object.keys || function keys(O) { 6514 return internalObjectKeys(O, enumBugKeys); 6515}; 6516 6517 6518/***/ }), 6519 6520/***/ 5296: 6521/***/ (function(__unused_webpack_module, exports) { 6522 6523"use strict"; 6524 6525var $propertyIsEnumerable = {}.propertyIsEnumerable; 6526// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 6527var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; 6528 6529// Nashorn ~ JDK8 bug 6530var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); 6531 6532// `Object.prototype.propertyIsEnumerable` method implementation 6533// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable 6534exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { 6535 var descriptor = getOwnPropertyDescriptor(this, V); 6536 return !!descriptor && descriptor.enumerable; 6537} : $propertyIsEnumerable; 6538 6539 6540/***/ }), 6541 6542/***/ 9026: 6543/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6544 6545"use strict"; 6546 6547var IS_PURE = __webpack_require__(1913); 6548var global = __webpack_require__(7854); 6549var fails = __webpack_require__(7293); 6550var WEBKIT = __webpack_require__(8008); 6551 6552// Forced replacement object prototype accessors methods 6553module.exports = IS_PURE || !fails(function () { 6554 // This feature detection crashes old WebKit 6555 // https://github.com/zloirock/core-js/issues/232 6556 if (WEBKIT && WEBKIT < 535) return; 6557 var key = Math.random(); 6558 // In FF throws only define methods 6559 // eslint-disable-next-line no-undef, no-useless-call -- required for testing 6560 __defineSetter__.call(null, key, function () { /* empty */ }); 6561 delete global[key]; 6562}); 6563 6564 6565/***/ }), 6566 6567/***/ 7674: 6568/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6569 6570/* eslint-disable no-proto -- safe */ 6571var uncurryThis = __webpack_require__(1702); 6572var anObject = __webpack_require__(9670); 6573var aPossiblePrototype = __webpack_require__(6077); 6574 6575// `Object.setPrototypeOf` method 6576// https://tc39.es/ecma262/#sec-object.setprototypeof 6577// Works with __proto__ only. Old v8 can't work with null proto objects. 6578// eslint-disable-next-line es/no-object-setprototypeof -- safe 6579module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { 6580 var CORRECT_SETTER = false; 6581 var test = {}; 6582 var setter; 6583 try { 6584 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 6585 setter = uncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set); 6586 setter(test, []); 6587 CORRECT_SETTER = test instanceof Array; 6588 } catch (error) { /* empty */ } 6589 return function setPrototypeOf(O, proto) { 6590 anObject(O); 6591 aPossiblePrototype(proto); 6592 if (CORRECT_SETTER) setter(O, proto); 6593 else O.__proto__ = proto; 6594 return O; 6595 }; 6596}() : undefined); 6597 6598 6599/***/ }), 6600 6601/***/ 4699: 6602/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6603 6604var DESCRIPTORS = __webpack_require__(9781); 6605var uncurryThis = __webpack_require__(1702); 6606var objectKeys = __webpack_require__(1956); 6607var toIndexedObject = __webpack_require__(5656); 6608var $propertyIsEnumerable = (__webpack_require__(5296).f); 6609 6610var propertyIsEnumerable = uncurryThis($propertyIsEnumerable); 6611var push = uncurryThis([].push); 6612 6613// `Object.{ entries, values }` methods implementation 6614var createMethod = function (TO_ENTRIES) { 6615 return function (it) { 6616 var O = toIndexedObject(it); 6617 var keys = objectKeys(O); 6618 var length = keys.length; 6619 var i = 0; 6620 var result = []; 6621 var key; 6622 while (length > i) { 6623 key = keys[i++]; 6624 if (!DESCRIPTORS || propertyIsEnumerable(O, key)) { 6625 push(result, TO_ENTRIES ? [key, O[key]] : O[key]); 6626 } 6627 } 6628 return result; 6629 }; 6630}; 6631 6632module.exports = { 6633 // `Object.entries` method 6634 // https://tc39.es/ecma262/#sec-object.entries 6635 entries: createMethod(true), 6636 // `Object.values` method 6637 // https://tc39.es/ecma262/#sec-object.values 6638 values: createMethod(false) 6639}; 6640 6641 6642/***/ }), 6643 6644/***/ 288: 6645/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6646 6647"use strict"; 6648 6649var TO_STRING_TAG_SUPPORT = __webpack_require__(1694); 6650var classof = __webpack_require__(648); 6651 6652// `Object.prototype.toString` method implementation 6653// https://tc39.es/ecma262/#sec-object.prototype.tostring 6654module.exports = TO_STRING_TAG_SUPPORT ? {}.toString : function toString() { 6655 return '[object ' + classof(this) + ']'; 6656}; 6657 6658 6659/***/ }), 6660 6661/***/ 2140: 6662/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6663 6664var global = __webpack_require__(7854); 6665var call = __webpack_require__(6916); 6666var isCallable = __webpack_require__(614); 6667var isObject = __webpack_require__(111); 6668 6669var TypeError = global.TypeError; 6670 6671// `OrdinaryToPrimitive` abstract operation 6672// https://tc39.es/ecma262/#sec-ordinarytoprimitive 6673module.exports = function (input, pref) { 6674 var fn, val; 6675 if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; 6676 if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; 6677 if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; 6678 throw TypeError("Can't convert object to primitive value"); 6679}; 6680 6681 6682/***/ }), 6683 6684/***/ 3887: 6685/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6686 6687var getBuiltIn = __webpack_require__(5005); 6688var uncurryThis = __webpack_require__(1702); 6689var getOwnPropertyNamesModule = __webpack_require__(8006); 6690var getOwnPropertySymbolsModule = __webpack_require__(5181); 6691var anObject = __webpack_require__(9670); 6692 6693var concat = uncurryThis([].concat); 6694 6695// all object keys, includes non-enumerable and symbols 6696module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { 6697 var keys = getOwnPropertyNamesModule.f(anObject(it)); 6698 var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; 6699 return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; 6700}; 6701 6702 6703/***/ }), 6704 6705/***/ 857: 6706/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6707 6708var global = __webpack_require__(7854); 6709 6710module.exports = global; 6711 6712 6713/***/ }), 6714 6715/***/ 2534: 6716/***/ (function(module) { 6717 6718module.exports = function (exec) { 6719 try { 6720 return { error: false, value: exec() }; 6721 } catch (error) { 6722 return { error: true, value: error }; 6723 } 6724}; 6725 6726 6727/***/ }), 6728 6729/***/ 9478: 6730/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6731 6732var anObject = __webpack_require__(9670); 6733var isObject = __webpack_require__(111); 6734var newPromiseCapability = __webpack_require__(8523); 6735 6736module.exports = function (C, x) { 6737 anObject(C); 6738 if (isObject(x) && x.constructor === C) return x; 6739 var promiseCapability = newPromiseCapability.f(C); 6740 var resolve = promiseCapability.resolve; 6741 resolve(x); 6742 return promiseCapability.promise; 6743}; 6744 6745 6746/***/ }), 6747 6748/***/ 8572: 6749/***/ (function(module) { 6750 6751var Queue = function () { 6752 this.head = null; 6753 this.tail = null; 6754}; 6755 6756Queue.prototype = { 6757 add: function (item) { 6758 var entry = { item: item, next: null }; 6759 if (this.head) this.tail.next = entry; 6760 else this.head = entry; 6761 this.tail = entry; 6762 }, 6763 get: function () { 6764 var entry = this.head; 6765 if (entry) { 6766 this.head = entry.next; 6767 if (this.tail === entry) this.tail = null; 6768 return entry.item; 6769 } 6770 } 6771}; 6772 6773module.exports = Queue; 6774 6775 6776/***/ }), 6777 6778/***/ 2248: 6779/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6780 6781var redefine = __webpack_require__(1320); 6782 6783module.exports = function (target, src, options) { 6784 for (var key in src) redefine(target, key, src[key], options); 6785 return target; 6786}; 6787 6788 6789/***/ }), 6790 6791/***/ 1320: 6792/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6793 6794var global = __webpack_require__(7854); 6795var isCallable = __webpack_require__(614); 6796var hasOwn = __webpack_require__(2597); 6797var createNonEnumerableProperty = __webpack_require__(8880); 6798var setGlobal = __webpack_require__(3505); 6799var inspectSource = __webpack_require__(2788); 6800var InternalStateModule = __webpack_require__(9909); 6801var CONFIGURABLE_FUNCTION_NAME = (__webpack_require__(6530).CONFIGURABLE); 6802 6803var getInternalState = InternalStateModule.get; 6804var enforceInternalState = InternalStateModule.enforce;
vendor: 4,426 bytes, lines 6805-6941
6805var TEMPLATE = String(String).split('String'); 6806 6807(module.exports = function (O, key, value, options) { 6808 var unsafe = options ? !!options.unsafe : false; 6809 var simple = options ? !!options.enumerable : false; 6810 var noTargetGet = options ? !!options.noTargetGet : false; 6811 var name = options && options.name !== undefined ? options.name : key; 6812 var state; 6813 if (isCallable(value)) { 6814 if (String(name).slice(0, 7) === 'Symbol(') { 6815 name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']'; 6816 } 6817 if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { 6818 createNonEnumerableProperty(value, 'name', name); 6819 } 6820 state = enforceInternalState(value); 6821 if (!state.source) { 6822 state.source = TEMPLATE.join(typeof name == 'string' ? name : ''); 6823 } 6824 } 6825 if (O === global) { 6826 if (simple) O[key] = value; 6827 else setGlobal(key, value); 6828 return; 6829 } else if (!unsafe) { 6830 delete O[key]; 6831 } else if (!noTargetGet && O[key]) { 6832 simple = true; 6833 } 6834 if (simple) O[key] = value; 6835 else createNonEnumerableProperty(O, key, value); 6836// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative 6837})(Function.prototype, 'toString', function toString() { 6838 return isCallable(this) && getInternalState(this).source || inspectSource(this); 6839}); 6840 6841 6842/***/ }), 6843 6844/***/ 7651: 6845/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6846 6847var global = __webpack_require__(7854); 6848var call = __webpack_require__(6916); 6849var anObject = __webpack_require__(9670); 6850var isCallable = __webpack_require__(614); 6851var classof = __webpack_require__(4326); 6852var regexpExec = __webpack_require__(2261); 6853 6854var TypeError = global.TypeError; 6855 6856// `RegExpExec` abstract operation 6857// https://tc39.es/ecma262/#sec-regexpexec 6858module.exports = function (R, S) { 6859 var exec = R.exec; 6860 if (isCallable(exec)) { 6861 var result = call(exec, R, S); 6862 if (result !== null) anObject(result); 6863 return result; 6864 } 6865 if (classof(R) === 'RegExp') return call(regexpExec, R, S); 6866 throw TypeError('RegExp#exec called on incompatible receiver'); 6867}; 6868 6869 6870/***/ }), 6871 6872/***/ 2261: 6873/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6874 6875"use strict"; 6876 6877/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ 6878/* eslint-disable regexp/no-useless-quantifier -- testing */ 6879var call = __webpack_require__(6916); 6880var uncurryThis = __webpack_require__(1702); 6881var toString = __webpack_require__(1340); 6882var regexpFlags = __webpack_require__(7066); 6883var stickyHelpers = __webpack_require__(2999); 6884var shared = __webpack_require__(2309); 6885var create = __webpack_require__(30); 6886var getInternalState = (__webpack_require__(9909).get); 6887var UNSUPPORTED_DOT_ALL = __webpack_require__(9441); 6888var UNSUPPORTED_NCG = __webpack_require__(7168); 6889 6890var nativeReplace = shared('native-string-replace', String.prototype.replace); 6891var nativeExec = RegExp.prototype.exec; 6892var patchedExec = nativeExec; 6893var charAt = uncurryThis(''.charAt); 6894var indexOf = uncurryThis(''.indexOf); 6895var replace = uncurryThis(''.replace); 6896var stringSlice = uncurryThis(''.slice); 6897 6898var UPDATES_LAST_INDEX_WRONG = (function () { 6899 var re1 = /a/; 6900 var re2 = /b*/g; 6901 call(nativeExec, re1, 'a'); 6902 call(nativeExec, re2, 'a'); 6903 return re1.lastIndex !== 0 || re2.lastIndex !== 0; 6904})(); 6905 6906var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET; 6907 6908// nonparticipating capturing group, copied from es5-shim's String#split patch. 6909var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; 6910 6911var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; 6912 6913if (PATCH) { 6914 patchedExec = function exec(string) { 6915 var re = this; 6916 var state = getInternalState(re); 6917 var str = toString(string); 6918 var raw = state.raw; 6919 var result, reCopy, lastIndex, match, i, object, group; 6920 6921 if (raw) { 6922 raw.lastIndex = re.lastIndex; 6923 result = call(patchedExec, raw, str); 6924 re.lastIndex = raw.lastIndex; 6925 return result; 6926 } 6927 6928 var groups = state.groups; 6929 var sticky = UNSUPPORTED_Y && re.sticky; 6930 var flags = call(regexpFlags, re); 6931 var source = re.source; 6932 var charsAdded = 0; 6933 var strCopy = str; 6934 6935 if (sticky) { 6936 flags = replace(flags, 'y', ''); 6937 if (indexOf(flags, 'g') === -1) { 6938 flags += 'g'; 6939 } 6940 6941 strCopy = stringSlice(str, re.lastIndex);
vendor: 11,154 bytes, lines 6942-7347
6942 // Support anchored sticky behavior. 6943 if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) { 6944 source = '(?: ' + source + ')'; 6945 strCopy = ' ' + strCopy; 6946 charsAdded++; 6947 } 6948 // ^(? + rx + ) is needed, in combination with some str slicing, to 6949 // simulate the 'y' flag. 6950 reCopy = new RegExp('^(?:' + source + ')', flags); 6951 } 6952 6953 if (NPCG_INCLUDED) { 6954 reCopy = new RegExp('^' + source + '$(?!\\s)', flags); 6955 } 6956 if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; 6957 6958 match = call(nativeExec, sticky ? reCopy : re, strCopy); 6959 6960 if (sticky) { 6961 if (match) { 6962 match.input = stringSlice(match.input, charsAdded); 6963 match[0] = stringSlice(match[0], charsAdded); 6964 match.index = re.lastIndex; 6965 re.lastIndex += match[0].length; 6966 } else re.lastIndex = 0; 6967 } else if (UPDATES_LAST_INDEX_WRONG && match) { 6968 re.lastIndex = re.global ? match.index + match[0].length : lastIndex; 6969 } 6970 if (NPCG_INCLUDED && match && match.length > 1) { 6971 // Fix browsers whose `exec` methods don't consistently return `undefined` 6972 // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ 6973 call(nativeReplace, match[0], reCopy, function () { 6974 for (i = 1; i < arguments.length - 2; i++) { 6975 if (arguments[i] === undefined) match[i] = undefined; 6976 } 6977 }); 6978 } 6979 6980 if (match && groups) { 6981 match.groups = object = create(null); 6982 for (i = 0; i < groups.length; i++) { 6983 group = groups[i]; 6984 object[group[0]] = match[group[1]]; 6985 } 6986 } 6987 6988 return match; 6989 }; 6990} 6991 6992module.exports = patchedExec; 6993 6994 6995/***/ }), 6996 6997/***/ 7066: 6998/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 6999 7000"use strict"; 7001 7002var anObject = __webpack_require__(9670); 7003 7004// `RegExp.prototype.flags` getter implementation 7005// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags 7006module.exports = function () { 7007 var that = anObject(this); 7008 var result = ''; 7009 if (that.global) result += 'g'; 7010 if (that.ignoreCase) result += 'i'; 7011 if (that.multiline) result += 'm'; 7012 if (that.dotAll) result += 's'; 7013 if (that.unicode) result += 'u'; 7014 if (that.sticky) result += 'y'; 7015 return result; 7016}; 7017 7018 7019/***/ }), 7020 7021/***/ 2999: 7022/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7023 7024var fails = __webpack_require__(7293); 7025var global = __webpack_require__(7854); 7026 7027// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError 7028var $RegExp = global.RegExp; 7029 7030var UNSUPPORTED_Y = fails(function () { 7031 var re = $RegExp('a', 'y'); 7032 re.lastIndex = 2; 7033 return re.exec('abcd') != null; 7034}); 7035 7036// UC Browser bug 7037// https://github.com/zloirock/core-js/issues/1008 7038var MISSED_STICKY = UNSUPPORTED_Y || fails(function () { 7039 return !$RegExp('a', 'y').sticky; 7040}); 7041 7042var BROKEN_CARET = UNSUPPORTED_Y || fails(function () { 7043 // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 7044 var re = $RegExp('^r', 'gy'); 7045 re.lastIndex = 2; 7046 return re.exec('str') != null; 7047}); 7048 7049module.exports = { 7050 BROKEN_CARET: BROKEN_CARET, 7051 MISSED_STICKY: MISSED_STICKY, 7052 UNSUPPORTED_Y: UNSUPPORTED_Y 7053}; 7054 7055 7056/***/ }), 7057 7058/***/ 9441: 7059/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7060 7061var fails = __webpack_require__(7293); 7062var global = __webpack_require__(7854); 7063 7064// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError 7065var $RegExp = global.RegExp; 7066 7067module.exports = fails(function () { 7068 var re = $RegExp('.', 's'); 7069 return !(re.dotAll && re.exec('\n') && re.flags === 's'); 7070}); 7071 7072 7073/***/ }), 7074 7075/***/ 7168: 7076/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7077 7078var fails = __webpack_require__(7293); 7079var global = __webpack_require__(7854); 7080 7081// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError 7082var $RegExp = global.RegExp; 7083 7084module.exports = fails(function () { 7085 var re = $RegExp('(?<a>b)', 'g'); 7086 return re.exec('b').groups.a !== 'b' || 7087 'b'.replace(re, '$<a>c') !== 'bc'; 7088}); 7089 7090 7091/***/ }), 7092 7093/***/ 4488: 7094/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7095 7096var global = __webpack_require__(7854); 7097 7098var TypeError = global.TypeError; 7099 7100// `RequireObjectCoercible` abstract operation 7101// https://tc39.es/ecma262/#sec-requireobjectcoercible 7102module.exports = function (it) { 7103 if (it == undefined) throw TypeError("Can't call method on " + it); 7104 return it; 7105}; 7106 7107 7108/***/ }), 7109 7110/***/ 1150: 7111/***/ (function(module) { 7112 7113// `SameValue` abstract operation 7114// https://tc39.es/ecma262/#sec-samevalue 7115// eslint-disable-next-line es/no-object-is -- safe 7116module.exports = Object.is || function is(x, y) { 7117 // eslint-disable-next-line no-self-compare -- NaN check 7118 return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; 7119}; 7120 7121 7122/***/ }), 7123 7124/***/ 3505: 7125/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7126 7127var global = __webpack_require__(7854); 7128 7129// eslint-disable-next-line es/no-object-defineproperty -- safe 7130var defineProperty = Object.defineProperty; 7131 7132module.exports = function (key, value) { 7133 try { 7134 defineProperty(global, key, { value: value, configurable: true, writable: true }); 7135 } catch (error) { 7136 global[key] = value; 7137 } return value; 7138}; 7139 7140 7141/***/ }), 7142 7143/***/ 6340: 7144/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7145 7146"use strict"; 7147 7148var getBuiltIn = __webpack_require__(5005); 7149var definePropertyModule = __webpack_require__(3070); 7150var wellKnownSymbol = __webpack_require__(5112); 7151var DESCRIPTORS = __webpack_require__(9781); 7152 7153var SPECIES = wellKnownSymbol('species'); 7154 7155module.exports = function (CONSTRUCTOR_NAME) { 7156 var Constructor = getBuiltIn(CONSTRUCTOR_NAME); 7157 var defineProperty = definePropertyModule.f; 7158 7159 if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) { 7160 defineProperty(Constructor, SPECIES, { 7161 configurable: true, 7162 get: function () { return this; } 7163 }); 7164 } 7165}; 7166 7167 7168/***/ }), 7169 7170/***/ 8003: 7171/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7172 7173var defineProperty = (__webpack_require__(3070).f); 7174var hasOwn = __webpack_require__(2597); 7175var wellKnownSymbol = __webpack_require__(5112); 7176 7177var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 7178 7179module.exports = function (target, TAG, STATIC) { 7180 if (target && !STATIC) target = target.prototype; 7181 if (target && !hasOwn(target, TO_STRING_TAG)) { 7182 defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG }); 7183 } 7184}; 7185 7186 7187/***/ }), 7188 7189/***/ 6200: 7190/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7191 7192var shared = __webpack_require__(2309); 7193var uid = __webpack_require__(9711); 7194 7195var keys = shared('keys'); 7196 7197module.exports = function (key) { 7198 return keys[key] || (keys[key] = uid(key)); 7199}; 7200 7201 7202/***/ }), 7203 7204/***/ 5465: 7205/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7206 7207var global = __webpack_require__(7854); 7208var setGlobal = __webpack_require__(3505); 7209 7210var SHARED = '__core-js_shared__'; 7211var store = global[SHARED] || setGlobal(SHARED, {}); 7212 7213module.exports = store; 7214 7215 7216/***/ }), 7217 7218/***/ 2309: 7219/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7220 7221var IS_PURE = __webpack_require__(1913); 7222var store = __webpack_require__(5465); 7223 7224(module.exports = function (key, value) { 7225 return store[key] || (store[key] = value !== undefined ? value : {}); 7226})('versions', []).push({ 7227 version: '3.21.1', 7228 mode: IS_PURE ? 'pure' : 'global', 7229 copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', 7230 license: 'https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE', 7231 source: 'https://github.com/zloirock/core-js' 7232}); 7233 7234 7235/***/ }), 7236 7237/***/ 6707: 7238/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7239 7240var anObject = __webpack_require__(9670); 7241var aConstructor = __webpack_require__(9483); 7242var wellKnownSymbol = __webpack_require__(5112); 7243 7244var SPECIES = wellKnownSymbol('species'); 7245 7246// `SpeciesConstructor` abstract operation 7247// https://tc39.es/ecma262/#sec-speciesconstructor 7248module.exports = function (O, defaultConstructor) { 7249 var C = anObject(O).constructor; 7250 var S; 7251 return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aConstructor(S); 7252}; 7253 7254 7255/***/ }), 7256 7257/***/ 3429: 7258/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7259 7260var fails = __webpack_require__(7293); 7261 7262// check the existence of a method, lowercase 7263// of a tag and escaping quotes in arguments 7264module.exports = function (METHOD_NAME) { 7265 return fails(function () { 7266 var test = ''[METHOD_NAME]('"'); 7267 return test !== test.toLowerCase() || test.split('"').length > 3; 7268 }); 7269}; 7270 7271 7272/***/ }), 7273 7274/***/ 8710: 7275/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7276 7277var uncurryThis = __webpack_require__(1702); 7278var toIntegerOrInfinity = __webpack_require__(9303); 7279var toString = __webpack_require__(1340); 7280var requireObjectCoercible = __webpack_require__(4488); 7281 7282var charAt = uncurryThis(''.charAt); 7283var charCodeAt = uncurryThis(''.charCodeAt); 7284var stringSlice = uncurryThis(''.slice); 7285 7286var createMethod = function (CONVERT_TO_STRING) { 7287 return function ($this, pos) { 7288 var S = toString(requireObjectCoercible($this)); 7289 var position = toIntegerOrInfinity(pos); 7290 var size = S.length; 7291 var first, second; 7292 if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; 7293 first = charCodeAt(S, position); 7294 return first < 0xD800 || first > 0xDBFF || position + 1 === size 7295 || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF 7296 ? CONVERT_TO_STRING 7297 ? charAt(S, position) 7298 : first 7299 : CONVERT_TO_STRING 7300 ? stringSlice(S, position, position + 2) 7301 : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; 7302 }; 7303}; 7304 7305module.exports = { 7306 // `String.prototype.codePointAt` method 7307 // https://tc39.es/ecma262/#sec-string.prototype.codepointat 7308 codeAt: createMethod(false), 7309 // `String.prototype.at` method 7310 // https://github.com/mathiasbynens/String.prototype.at 7311 charAt: createMethod(true) 7312}; 7313 7314 7315/***/ }), 7316 7317/***/ 7061: 7318/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7319 7320// https://github.com/zloirock/core-js/issues/280 7321var userAgent = __webpack_require__(8113); 7322 7323module.exports = /Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(userAgent); 7324 7325 7326/***/ }), 7327 7328/***/ 6650: 7329/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7330 7331// https://github.com/tc39/proposal-string-pad-start-end 7332var uncurryThis = __webpack_require__(1702); 7333var toLength = __webpack_require__(7466); 7334var toString = __webpack_require__(1340); 7335var $repeat = __webpack_require__(8415); 7336var requireObjectCoercible = __webpack_require__(4488); 7337 7338var repeat = uncurryThis($repeat); 7339var stringSlice = uncurryThis(''.slice); 7340var ceil = Math.ceil; 7341 7342// `String.prototype.{ padStart, padEnd }` methods implementation 7343var createMethod = function (IS_END) { 7344 return function ($this, maxLength, fillString) { 7345 var S = toString(requireObjectCoercible($this)); 7346 var intMaxLength = toLength(maxLength); 7347 var stringLength = S.length;
vendor: 9,590 bytes, lines 7348-7659
7348 var fillStr = fillString === undefined ? ' ' : toString(fillString); 7349 var fillLen, stringFiller; 7350 if (intMaxLength <= stringLength || fillStr == '') return S; 7351 fillLen = intMaxLength - stringLength; 7352 stringFiller = repeat(fillStr, ceil(fillLen / fillStr.length)); 7353 if (stringFiller.length > fillLen) stringFiller = stringSlice(stringFiller, 0, fillLen); 7354 return IS_END ? S + stringFiller : stringFiller + S; 7355 }; 7356}; 7357 7358module.exports = { 7359 // `String.prototype.padStart` method 7360 // https://tc39.es/ecma262/#sec-string.prototype.padstart 7361 start: createMethod(false), 7362 // `String.prototype.padEnd` method 7363 // https://tc39.es/ecma262/#sec-string.prototype.padend 7364 end: createMethod(true) 7365}; 7366 7367 7368/***/ }), 7369 7370/***/ 3197: 7371/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7372 7373"use strict"; 7374 7375// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js 7376var global = __webpack_require__(7854); 7377var uncurryThis = __webpack_require__(1702); 7378 7379var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1 7380var base = 36; 7381var tMin = 1; 7382var tMax = 26; 7383var skew = 38; 7384var damp = 700; 7385var initialBias = 72; 7386var initialN = 128; // 0x80 7387var delimiter = '-'; // '\x2D' 7388var regexNonASCII = /[^\0-\u007E]/; // non-ASCII chars 7389var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators 7390var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process'; 7391var baseMinusTMin = base - tMin; 7392 7393var RangeError = global.RangeError; 7394var exec = uncurryThis(regexSeparators.exec); 7395var floor = Math.floor; 7396var fromCharCode = String.fromCharCode; 7397var charCodeAt = uncurryThis(''.charCodeAt); 7398var join = uncurryThis([].join); 7399var push = uncurryThis([].push); 7400var replace = uncurryThis(''.replace); 7401var split = uncurryThis(''.split); 7402var toLowerCase = uncurryThis(''.toLowerCase); 7403 7404/** 7405 * Creates an array containing the numeric code points of each Unicode 7406 * character in the string. While JavaScript uses UCS-2 internally, 7407 * this function will convert a pair of surrogate halves (each of which 7408 * UCS-2 exposes as separate characters) into a single code point, 7409 * matching UTF-16. 7410 */ 7411var ucs2decode = function (string) { 7412 var output = []; 7413 var counter = 0; 7414 var length = string.length; 7415 while (counter < length) { 7416 var value = charCodeAt(string, counter++); 7417 if (value >= 0xD800 && value <= 0xDBFF && counter < length) { 7418 // It's a high surrogate, and there is a next character. 7419 var extra = charCodeAt(string, counter++); 7420 if ((extra & 0xFC00) == 0xDC00) { // Low surrogate. 7421 push(output, ((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); 7422 } else { 7423 // It's an unmatched surrogate; only append this code unit, in case the 7424 // next code unit is the high surrogate of a surrogate pair. 7425 push(output, value); 7426 counter--; 7427 } 7428 } else { 7429 push(output, value); 7430 } 7431 } 7432 return output; 7433}; 7434 7435/** 7436 * Converts a digit/integer into a basic code point. 7437 */ 7438var digitToBasic = function (digit) { 7439 // 0..25 map to ASCII a..z or A..Z 7440 // 26..35 map to ASCII 0..9 7441 return digit + 22 + 75 * (digit < 26); 7442}; 7443 7444/** 7445 * Bias adaptation function as per section 3.4 of RFC 3492. 7446 * https://tools.ietf.org/html/rfc3492#section-3.4 7447 */ 7448var adapt = function (delta, numPoints, firstTime) { 7449 var k = 0; 7450 delta = firstTime ? floor(delta / damp) : delta >> 1; 7451 delta += floor(delta / numPoints); 7452 while (delta > baseMinusTMin * tMax >> 1) { 7453 delta = floor(delta / baseMinusTMin); 7454 k += base; 7455 } 7456 return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); 7457}; 7458 7459/** 7460 * Converts a string of Unicode symbols (e.g. a domain name label) to a 7461 * Punycode string of ASCII-only symbols. 7462 */ 7463var encode = function (input) { 7464 var output = []; 7465 7466 // Convert the input in UCS-2 to an array of Unicode code points. 7467 input = ucs2decode(input); 7468 7469 // Cache the length. 7470 var inputLength = input.length; 7471 7472 // Initialize the state. 7473 var n = initialN; 7474 var delta = 0; 7475 var bias = initialBias; 7476 var i, currentValue; 7477 7478 // Handle the basic code points. 7479 for (i = 0; i < input.length; i++) { 7480 currentValue = input[i]; 7481 if (currentValue < 0x80) { 7482 push(output, fromCharCode(currentValue)); 7483 } 7484 } 7485 7486 var basicLength = output.length; // number of basic code points. 7487 var handledCPCount = basicLength; // number of code points that have been handled; 7488 7489 // Finish the basic string with a delimiter unless it's empty. 7490 if (basicLength) { 7491 push(output, delimiter); 7492 } 7493 7494 // Main encoding loop: 7495 while (handledCPCount < inputLength) { 7496 // All non-basic code points < n have been handled already. Find the next larger one: 7497 var m = maxInt; 7498 for (i = 0; i < input.length; i++) { 7499 currentValue = input[i]; 7500 if (currentValue >= n && currentValue < m) { 7501 m = currentValue; 7502 } 7503 } 7504 7505 // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow. 7506 var handledCPCountPlusOne = handledCPCount + 1; 7507 if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { 7508 throw RangeError(OVERFLOW_ERROR); 7509 } 7510 7511 delta += (m - n) * handledCPCountPlusOne; 7512 n = m; 7513 7514 for (i = 0; i < input.length; i++) { 7515 currentValue = input[i]; 7516 if (currentValue < n && ++delta > maxInt) { 7517 throw RangeError(OVERFLOW_ERROR); 7518 } 7519 if (currentValue == n) { 7520 // Represent delta as a generalized variable-length integer. 7521 var q = delta; 7522 var k = base; 7523 while (true) { 7524 var t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); 7525 if (q < t) break; 7526 var qMinusT = q - t; 7527 var baseMinusT = base - t; 7528 push(output, fromCharCode(digitToBasic(t + qMinusT % baseMinusT))); 7529 q = floor(qMinusT / baseMinusT); 7530 k += base; 7531 } 7532 7533 push(output, fromCharCode(digitToBasic(q))); 7534 bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength); 7535 delta = 0; 7536 handledCPCount++; 7537 } 7538 } 7539 7540 delta++; 7541 n++; 7542 } 7543 return join(output, ''); 7544}; 7545 7546module.exports = function (input) { 7547 var encoded = []; 7548 var labels = split(replace(toLowerCase(input), regexSeparators, '\u002E'), '.'); 7549 var i, label; 7550 for (i = 0; i < labels.length; i++) { 7551 label = labels[i]; 7552 push(encoded, exec(regexNonASCII, label) ? 'xn--' + encode(label) : label); 7553 } 7554 return join(encoded, '.'); 7555}; 7556 7557 7558/***/ }), 7559 7560/***/ 8415: 7561/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7562 7563"use strict"; 7564 7565var global = __webpack_require__(7854); 7566var toIntegerOrInfinity = __webpack_require__(9303); 7567var toString = __webpack_require__(1340); 7568var requireObjectCoercible = __webpack_require__(4488); 7569 7570var RangeError = global.RangeError; 7571 7572// `String.prototype.repeat` method implementation 7573// https://tc39.es/ecma262/#sec-string.prototype.repeat 7574module.exports = function repeat(count) { 7575 var str = toString(requireObjectCoercible(this)); 7576 var result = ''; 7577 var n = toIntegerOrInfinity(count); 7578 if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions'); 7579 for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str; 7580 return result; 7581}; 7582 7583 7584/***/ }), 7585 7586/***/ 6091: 7587/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7588 7589var PROPER_FUNCTION_NAME = (__webpack_require__(6530).PROPER); 7590var fails = __webpack_require__(7293); 7591var whitespaces = __webpack_require__(1361); 7592 7593var non = '\u200B\u0085\u180E'; 7594 7595// check that a method works with the correct list 7596// of whitespaces and has a correct name 7597module.exports = function (METHOD_NAME) { 7598 return fails(function () { 7599 return !!whitespaces[METHOD_NAME]() 7600 || non[METHOD_NAME]() !== non 7601 || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME); 7602 }); 7603}; 7604 7605 7606/***/ }), 7607 7608/***/ 3111: 7609/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7610 7611var uncurryThis = __webpack_require__(1702); 7612var requireObjectCoercible = __webpack_require__(4488); 7613var toString = __webpack_require__(1340); 7614var whitespaces = __webpack_require__(1361); 7615 7616var replace = uncurryThis(''.replace); 7617var whitespace = '[' + whitespaces + ']'; 7618var ltrim = RegExp('^' + whitespace + whitespace + '*'); 7619var rtrim = RegExp(whitespace + whitespace + '*$'); 7620 7621// `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation 7622var createMethod = function (TYPE) { 7623 return function ($this) { 7624 var string = toString(requireObjectCoercible($this)); 7625 if (TYPE & 1) string = replace(string, ltrim, ''); 7626 if (TYPE & 2) string = replace(string, rtrim, ''); 7627 return string; 7628 }; 7629}; 7630 7631module.exports = { 7632 // `String.prototype.{ trimLeft, trimStart }` methods 7633 // https://tc39.es/ecma262/#sec-string.prototype.trimstart 7634 start: createMethod(1), 7635 // `String.prototype.{ trimRight, trimEnd }` methods 7636 // https://tc39.es/ecma262/#sec-string.prototype.trimend 7637 end: createMethod(2), 7638 // `String.prototype.trim` method 7639 // https://tc39.es/ecma262/#sec-string.prototype.trim 7640 trim: createMethod(3) 7641}; 7642 7643 7644/***/ }), 7645 7646/***/ 261: 7647/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7648 7649var global = __webpack_require__(7854); 7650var apply = __webpack_require__(2104); 7651var bind = __webpack_require__(9974); 7652var isCallable = __webpack_require__(614); 7653var hasOwn = __webpack_require__(2597); 7654var fails = __webpack_require__(7293); 7655var html = __webpack_require__(490); 7656var arraySlice = __webpack_require__(206); 7657var createElement = __webpack_require__(317); 7658var validateArgumentsLength = __webpack_require__(8053); 7659var IS_IOS = __webpack_require__(8334);
vendor: 4,548 bytes, lines 7660-7838
7660var IS_NODE = __webpack_require__(5268); 7661 7662var set = global.setImmediate; 7663var clear = global.clearImmediate; 7664var process = global.process; 7665var Dispatch = global.Dispatch; 7666var Function = global.Function; 7667var MessageChannel = global.MessageChannel; 7668var String = global.String; 7669var counter = 0; 7670var queue = {}; 7671var ONREADYSTATECHANGE = 'onreadystatechange'; 7672var location, defer, channel, port; 7673 7674try { 7675 // Deno throws a ReferenceError on `location` access without `--location` flag 7676 location = global.location; 7677} catch (error) { /* empty */ } 7678 7679var run = function (id) { 7680 if (hasOwn(queue, id)) { 7681 var fn = queue[id]; 7682 delete queue[id]; 7683 fn(); 7684 } 7685}; 7686 7687var runner = function (id) { 7688 return function () { 7689 run(id); 7690 }; 7691}; 7692 7693var listener = function (event) { 7694 run(event.data); 7695}; 7696 7697var post = function (id) { 7698 // old engines have not location.origin 7699 global.postMessage(String(id), location.protocol + '//' + location.host); 7700}; 7701 7702// Node.js 0.9+ & IE10+ has setImmediate, otherwise: 7703if (!set || !clear) { 7704 set = function setImmediate(handler) { 7705 validateArgumentsLength(arguments.length, 1); 7706 var fn = isCallable(handler) ? handler : Function(handler); 7707 var args = arraySlice(arguments, 1); 7708 queue[++counter] = function () { 7709 apply(fn, undefined, args); 7710 }; 7711 defer(counter); 7712 return counter; 7713 }; 7714 clear = function clearImmediate(id) { 7715 delete queue[id]; 7716 }; 7717 // Node.js 0.8- 7718 if (IS_NODE) { 7719 defer = function (id) { 7720 process.nextTick(runner(id)); 7721 }; 7722 // Sphere (JS game engine) Dispatch API 7723 } else if (Dispatch && Dispatch.now) { 7724 defer = function (id) { 7725 Dispatch.now(runner(id)); 7726 }; 7727 // Browsers with MessageChannel, includes WebWorkers 7728 // except iOS - https://github.com/zloirock/core-js/issues/624 7729 } else if (MessageChannel && !IS_IOS) { 7730 channel = new MessageChannel(); 7731 port = channel.port2; 7732 channel.port1.onmessage = listener; 7733 defer = bind(port.postMessage, port); 7734 // Browsers with postMessage, skip WebWorkers 7735 // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' 7736 } else if ( 7737 global.addEventListener && 7738 isCallable(global.postMessage) && 7739 !global.importScripts && 7740 location && location.protocol !== 'file:' && 7741 !fails(post) 7742 ) { 7743 defer = post; 7744 global.addEventListener('message', listener, false); 7745 // IE8- 7746 } else if (ONREADYSTATECHANGE in createElement('script')) { 7747 defer = function (id) { 7748 html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () { 7749 html.removeChild(this); 7750 run(id); 7751 }; 7752 }; 7753 // Rest old browsers 7754 } else { 7755 defer = function (id) { 7756 setTimeout(runner(id), 0); 7757 }; 7758 } 7759} 7760 7761module.exports = { 7762 set: set, 7763 clear: clear 7764}; 7765 7766 7767/***/ }), 7768 7769/***/ 863: 7770/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7771 7772var uncurryThis = __webpack_require__(1702); 7773 7774// `thisNumberValue` abstract operation 7775// https://tc39.es/ecma262/#sec-thisnumbervalue 7776module.exports = uncurryThis(1.0.valueOf); 7777 7778 7779/***/ }), 7780 7781/***/ 1400: 7782/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7783 7784var toIntegerOrInfinity = __webpack_require__(9303); 7785 7786var max = Math.max; 7787var min = Math.min; 7788 7789// Helper for a popular repeating case of the spec: 7790// Let integer be ? ToInteger(index). 7791// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). 7792module.exports = function (index, length) { 7793 var integer = toIntegerOrInfinity(index); 7794 return integer < 0 ? max(integer + length, 0) : min(integer, length); 7795}; 7796 7797 7798/***/ }), 7799 7800/***/ 7067: 7801/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7802 7803var global = __webpack_require__(7854); 7804var toIntegerOrInfinity = __webpack_require__(9303); 7805var toLength = __webpack_require__(7466); 7806 7807var RangeError = global.RangeError; 7808 7809// `ToIndex` abstract operation 7810// https://tc39.es/ecma262/#sec-toindex 7811module.exports = function (it) { 7812 if (it === undefined) return 0; 7813 var number = toIntegerOrInfinity(it); 7814 var length = toLength(number); 7815 if (number !== length) throw RangeError('Wrong length or index'); 7816 return length; 7817}; 7818 7819 7820/***/ }), 7821 7822/***/ 5656: 7823/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7824 7825// toObject with fallback for non-array-like ES3 strings 7826var IndexedObject = __webpack_require__(8361); 7827var requireObjectCoercible = __webpack_require__(4488); 7828 7829module.exports = function (it) { 7830 return IndexedObject(requireObjectCoercible(it)); 7831}; 7832 7833 7834/***/ }), 7835 7836/***/ 9303: 7837/***/ (function(module) { 7838
vendor: 4,168 bytes, lines 7839-8002
7839var ceil = Math.ceil; 7840var floor = Math.floor; 7841 7842// `ToIntegerOrInfinity` abstract operation 7843// https://tc39.es/ecma262/#sec-tointegerorinfinity 7844module.exports = function (argument) { 7845 var number = +argument; 7846 // eslint-disable-next-line no-self-compare -- safe 7847 return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number); 7848}; 7849 7850 7851/***/ }), 7852 7853/***/ 7466: 7854/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7855 7856var toIntegerOrInfinity = __webpack_require__(9303); 7857 7858var min = Math.min; 7859 7860// `ToLength` abstract operation 7861// https://tc39.es/ecma262/#sec-tolength 7862module.exports = function (argument) { 7863 return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 7864}; 7865 7866 7867/***/ }), 7868 7869/***/ 7908: 7870/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7871 7872var global = __webpack_require__(7854); 7873var requireObjectCoercible = __webpack_require__(4488); 7874 7875var Object = global.Object; 7876 7877// `ToObject` abstract operation 7878// https://tc39.es/ecma262/#sec-toobject 7879module.exports = function (argument) { 7880 return Object(requireObjectCoercible(argument)); 7881}; 7882 7883 7884/***/ }), 7885 7886/***/ 4590: 7887/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7888 7889var global = __webpack_require__(7854); 7890var toPositiveInteger = __webpack_require__(3002); 7891 7892var RangeError = global.RangeError; 7893 7894module.exports = function (it, BYTES) { 7895 var offset = toPositiveInteger(it); 7896 if (offset % BYTES) throw RangeError('Wrong offset'); 7897 return offset; 7898}; 7899 7900 7901/***/ }), 7902 7903/***/ 3002: 7904/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7905 7906var global = __webpack_require__(7854); 7907var toIntegerOrInfinity = __webpack_require__(9303); 7908 7909var RangeError = global.RangeError; 7910 7911module.exports = function (it) { 7912 var result = toIntegerOrInfinity(it); 7913 if (result < 0) throw RangeError("The argument can't be less than 0"); 7914 return result; 7915}; 7916 7917 7918/***/ }), 7919 7920/***/ 7593: 7921/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7922 7923var global = __webpack_require__(7854); 7924var call = __webpack_require__(6916); 7925var isObject = __webpack_require__(111); 7926var isSymbol = __webpack_require__(2190); 7927var getMethod = __webpack_require__(8173); 7928var ordinaryToPrimitive = __webpack_require__(2140); 7929var wellKnownSymbol = __webpack_require__(5112); 7930 7931var TypeError = global.TypeError; 7932var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); 7933 7934// `ToPrimitive` abstract operation 7935// https://tc39.es/ecma262/#sec-toprimitive 7936module.exports = function (input, pref) { 7937 if (!isObject(input) || isSymbol(input)) return input; 7938 var exoticToPrim = getMethod(input, TO_PRIMITIVE); 7939 var result; 7940 if (exoticToPrim) { 7941 if (pref === undefined) pref = 'default'; 7942 result = call(exoticToPrim, input, pref); 7943 if (!isObject(result) || isSymbol(result)) return result; 7944 throw TypeError("Can't convert object to primitive value"); 7945 } 7946 if (pref === undefined) pref = 'number'; 7947 return ordinaryToPrimitive(input, pref); 7948}; 7949 7950 7951/***/ }), 7952 7953/***/ 4948: 7954/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7955 7956var toPrimitive = __webpack_require__(7593); 7957var isSymbol = __webpack_require__(2190); 7958 7959// `ToPropertyKey` abstract operation 7960// https://tc39.es/ecma262/#sec-topropertykey 7961module.exports = function (argument) { 7962 var key = toPrimitive(argument, 'string'); 7963 return isSymbol(key) ? key : key + ''; 7964}; 7965 7966 7967/***/ }), 7968 7969/***/ 1694: 7970/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7971 7972var wellKnownSymbol = __webpack_require__(5112); 7973 7974var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 7975var test = {}; 7976 7977test[TO_STRING_TAG] = 'z'; 7978 7979module.exports = String(test) === '[object z]'; 7980 7981 7982/***/ }), 7983 7984/***/ 1340: 7985/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 7986 7987var global = __webpack_require__(7854); 7988var classof = __webpack_require__(648); 7989 7990var String = global.String; 7991 7992module.exports = function (argument) { 7993 if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); 7994 return String(argument); 7995}; 7996 7997 7998/***/ }), 7999 8000/***/ 4038: 8001/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 8002
vendor: 2,311 bytes, lines 8003-8072
8003var IS_NODE = __webpack_require__(5268); 8004 8005module.exports = function (name) { 8006 try { 8007 // eslint-disable-next-line no-new-func -- safe 8008 if (IS_NODE) return Function('return require("' + name + '")')(); 8009 } catch (error) { /* empty */ } 8010}; 8011 8012 8013/***/ }), 8014 8015/***/ 6330: 8016/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 8017 8018var global = __webpack_require__(7854); 8019 8020var String = global.String; 8021 8022module.exports = function (argument) { 8023 try { 8024 return String(argument); 8025 } catch (error) { 8026 return 'Object'; 8027 } 8028}; 8029 8030 8031/***/ }), 8032 8033/***/ 9843: 8034/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 8035 8036"use strict"; 8037 8038var $ = __webpack_require__(2109); 8039var global = __webpack_require__(7854); 8040var call = __webpack_require__(6916); 8041var DESCRIPTORS = __webpack_require__(9781); 8042var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(3832); 8043var ArrayBufferViewCore = __webpack_require__(260); 8044var ArrayBufferModule = __webpack_require__(3331); 8045var anInstance = __webpack_require__(5787); 8046var createPropertyDescriptor = __webpack_require__(9114); 8047var createNonEnumerableProperty = __webpack_require__(8880); 8048var isIntegralNumber = __webpack_require__(5988); 8049var toLength = __webpack_require__(7466); 8050var toIndex = __webpack_require__(7067); 8051var toOffset = __webpack_require__(4590); 8052var toPropertyKey = __webpack_require__(4948); 8053var hasOwn = __webpack_require__(2597); 8054var classof = __webpack_require__(648); 8055var isObject = __webpack_require__(111); 8056var isSymbol = __webpack_require__(2190); 8057var create = __webpack_require__(30); 8058var isPrototypeOf = __webpack_require__(7976); 8059var setPrototypeOf = __webpack_require__(7674); 8060var getOwnPropertyNames = (__webpack_require__(8006).f); 8061var typedArrayFrom = __webpack_require__(7321); 8062var forEach = (__webpack_require__(2092).forEach); 8063var setSpecies = __webpack_require__(6340); 8064var definePropertyModule = __webpack_require__(3070); 8065var getOwnPropertyDescriptorModule = __webpack_require__(1236); 8066var InternalStateModule = __webpack_require__(9909); 8067var inheritIfRequired = __webpack_require__(9587); 8068 8069var getInternalState = InternalStateModule.get; 8070var setInternalState = InternalStateModule.set; 8071var nativeDefineProperty = definePropertyModule.f; 8072var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
vendor: 6,355 bytes, lines 8073-8236
8073var round = Math.round; 8074var RangeError = global.RangeError; 8075var ArrayBuffer = ArrayBufferModule.ArrayBuffer; 8076var ArrayBufferPrototype = ArrayBuffer.prototype; 8077var DataView = ArrayBufferModule.DataView; 8078var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; 8079var TYPED_ARRAY_CONSTRUCTOR = ArrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR; 8080var TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG; 8081var TypedArray = ArrayBufferViewCore.TypedArray; 8082var TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype; 8083var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; 8084var isTypedArray = ArrayBufferViewCore.isTypedArray; 8085var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; 8086var WRONG_LENGTH = 'Wrong length'; 8087 8088var fromList = function (C, list) { 8089 aTypedArrayConstructor(C); 8090 var index = 0; 8091 var length = list.length; 8092 var result = new C(length); 8093 while (length > index) result[index] = list[index++]; 8094 return result; 8095}; 8096 8097var addGetter = function (it, key) { 8098 nativeDefineProperty(it, key, { get: function () { 8099 return getInternalState(this)[key]; 8100 } }); 8101}; 8102 8103var isArrayBuffer = function (it) { 8104 var klass; 8105 return isPrototypeOf(ArrayBufferPrototype, it) || (klass = classof(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer'; 8106}; 8107 8108var isTypedArrayIndex = function (target, key) { 8109 return isTypedArray(target) 8110 && !isSymbol(key) 8111 && key in target 8112 && isIntegralNumber(+key) 8113 && key >= 0; 8114}; 8115 8116var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) { 8117 key = toPropertyKey(key); 8118 return isTypedArrayIndex(target, key) 8119 ? createPropertyDescriptor(2, target[key]) 8120 : nativeGetOwnPropertyDescriptor(target, key); 8121}; 8122 8123var wrappedDefineProperty = function defineProperty(target, key, descriptor) { 8124 key = toPropertyKey(key); 8125 if (isTypedArrayIndex(target, key) 8126 && isObject(descriptor) 8127 && hasOwn(descriptor, 'value') 8128 && !hasOwn(descriptor, 'get') 8129 && !hasOwn(descriptor, 'set') 8130 // TODO: add validation descriptor w/o calling accessors 8131 && !descriptor.configurable 8132 && (!hasOwn(descriptor, 'writable') || descriptor.writable) 8133 && (!hasOwn(descriptor, 'enumerable') || descriptor.enumerable) 8134 ) { 8135 target[key] = descriptor.value; 8136 return target; 8137 } return nativeDefineProperty(target, key, descriptor); 8138}; 8139 8140if (DESCRIPTORS) { 8141 if (!NATIVE_ARRAY_BUFFER_VIEWS) { 8142 getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor; 8143 definePropertyModule.f = wrappedDefineProperty; 8144 addGetter(TypedArrayPrototype, 'buffer'); 8145 addGetter(TypedArrayPrototype, 'byteOffset'); 8146 addGetter(TypedArrayPrototype, 'byteLength'); 8147 addGetter(TypedArrayPrototype, 'length'); 8148 } 8149 8150 $({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { 8151 getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor, 8152 defineProperty: wrappedDefineProperty 8153 }); 8154 8155 module.exports = function (TYPE, wrapper, CLAMPED) { 8156 var BYTES = TYPE.match(/\d+$/)[0] / 8; 8157 var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array'; 8158 var GETTER = 'get' + TYPE; 8159 var SETTER = 'set' + TYPE; 8160 var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME]; 8161 var TypedArrayConstructor = NativeTypedArrayConstructor; 8162 var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype; 8163 var exported = {}; 8164 8165 var getter = function (that, index) { 8166 var data = getInternalState(that); 8167 return data.view[GETTER](index * BYTES + data.byteOffset, true); 8168 }; 8169 8170 var setter = function (that, index, value) { 8171 var data = getInternalState(that); 8172 if (CLAMPED) value = (value = round(value)) < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF; 8173 data.view[SETTER](index * BYTES + data.byteOffset, value, true); 8174 }; 8175 8176 var addElement = function (that, index) { 8177 nativeDefineProperty(that, index, { 8178 get: function () { 8179 return getter(this, index); 8180 }, 8181 set: function (value) { 8182 return setter(this, index, value); 8183 }, 8184 enumerable: true 8185 }); 8186 }; 8187 8188 if (!NATIVE_ARRAY_BUFFER_VIEWS) { 8189 TypedArrayConstructor = wrapper(function (that, data, offset, $length) { 8190 anInstance(that, TypedArrayConstructorPrototype); 8191 var index = 0; 8192 var byteOffset = 0; 8193 var buffer, byteLength, length; 8194 if (!isObject(data)) { 8195 length = toIndex(data); 8196 byteLength = length * BYTES; 8197 buffer = new ArrayBuffer(byteLength); 8198 } else if (isArrayBuffer(data)) { 8199 buffer = data; 8200 byteOffset = toOffset(offset, BYTES); 8201 var $len = data.byteLength; 8202 if ($length === undefined) { 8203 if ($len % BYTES) throw RangeError(WRONG_LENGTH); 8204 byteLength = $len - byteOffset; 8205 if (byteLength < 0) throw RangeError(WRONG_LENGTH); 8206 } else { 8207 byteLength = toLength($length) * BYTES; 8208 if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH); 8209 } 8210 length = byteLength / BYTES; 8211 } else if (isTypedArray(data)) { 8212 return fromList(TypedArrayConstructor, data); 8213 } else { 8214 return call(typedArrayFrom, TypedArrayConstructor, data); 8215 } 8216 setInternalState(that, { 8217 buffer: buffer, 8218 byteOffset: byteOffset, 8219 byteLength: byteLength, 8220 length: length, 8221 view: new DataView(buffer) 8222 }); 8223 while (index < length) addElement(that, index++); 8224 }); 8225 8226 if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray); 8227 TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype); 8228 } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) { 8229 TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) { 8230 anInstance(dummy, TypedArrayConstructorPrototype); 8231 return inheritIfRequired(function () { 8232 if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data)); 8233 if (isArrayBuffer(data)) return $length !== undefined 8234 ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length) 8235 : typedArrayOffset !== undefined 8236 ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES))
vendor: 5,047 bytes, lines 8237-8386
8237 : new NativeTypedArrayConstructor(data); 8238 if (isTypedArray(data)) return fromList(TypedArrayConstructor, data); 8239 return call(typedArrayFrom, TypedArrayConstructor, data); 8240 }(), dummy, TypedArrayConstructor); 8241 }); 8242 8243 if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray); 8244 forEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) { 8245 if (!(key in TypedArrayConstructor)) { 8246 createNonEnumerableProperty(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]); 8247 } 8248 }); 8249 TypedArrayConstructor.prototype = TypedArrayConstructorPrototype; 8250 } 8251 8252 if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) { 8253 createNonEnumerableProperty(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor); 8254 } 8255 8256 createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_CONSTRUCTOR, TypedArrayConstructor); 8257 8258 if (TYPED_ARRAY_TAG) { 8259 createNonEnumerableProperty(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME); 8260 } 8261 8262 exported[CONSTRUCTOR_NAME] = TypedArrayConstructor; 8263 8264 $({ 8265 global: true, forced: TypedArrayConstructor != NativeTypedArrayConstructor, sham: !NATIVE_ARRAY_BUFFER_VIEWS 8266 }, exported); 8267 8268 if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) { 8269 createNonEnumerableProperty(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES); 8270 } 8271 8272 if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) { 8273 createNonEnumerableProperty(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES); 8274 } 8275 8276 setSpecies(CONSTRUCTOR_NAME); 8277 }; 8278} else module.exports = function () { /* empty */ }; 8279 8280 8281/***/ }), 8282 8283/***/ 3832: 8284/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 8285 8286/* eslint-disable no-new -- required for testing */ 8287var global = __webpack_require__(7854); 8288var fails = __webpack_require__(7293); 8289var checkCorrectnessOfIteration = __webpack_require__(7072); 8290var NATIVE_ARRAY_BUFFER_VIEWS = (__webpack_require__(260).NATIVE_ARRAY_BUFFER_VIEWS); 8291 8292var ArrayBuffer = global.ArrayBuffer; 8293var Int8Array = global.Int8Array; 8294 8295module.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () { 8296 Int8Array(1); 8297}) || !fails(function () { 8298 new Int8Array(-1); 8299}) || !checkCorrectnessOfIteration(function (iterable) { 8300 new Int8Array(); 8301 new Int8Array(null); 8302 new Int8Array(1.5); 8303 new Int8Array(iterable); 8304}, true) || fails(function () { 8305 // Safari (11+) bug - a reason why even Safari 13 should load a typed array polyfill 8306 return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1; 8307}); 8308 8309 8310/***/ }), 8311 8312/***/ 3074: 8313/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 8314 8315var arrayFromConstructorAndList = __webpack_require__(7745); 8316var typedArraySpeciesConstructor = __webpack_require__(6304); 8317 8318module.exports = function (instance, list) { 8319 return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list); 8320}; 8321 8322 8323/***/ }), 8324 8325/***/ 7321: 8326/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 8327 8328var bind = __webpack_require__(9974); 8329var call = __webpack_require__(6916); 8330var aConstructor = __webpack_require__(9483); 8331var toObject = __webpack_require__(7908); 8332var lengthOfArrayLike = __webpack_require__(6244); 8333var getIterator = __webpack_require__(8554); 8334var getIteratorMethod = __webpack_require__(1246); 8335var isArrayIteratorMethod = __webpack_require__(7659); 8336var aTypedArrayConstructor = (__webpack_require__(260).aTypedArrayConstructor); 8337 8338module.exports = function from(source /* , mapfn, thisArg */) { 8339 var C = aConstructor(this); 8340 var O = toObject(source); 8341 var argumentsLength = arguments.length; 8342 var mapfn = argumentsLength > 1 ? arguments[1] : undefined; 8343 var mapping = mapfn !== undefined; 8344 var iteratorMethod = getIteratorMethod(O); 8345 var i, length, result, step, iterator, next; 8346 if (iteratorMethod && !isArrayIteratorMethod(iteratorMethod)) { 8347 iterator = getIterator(O, iteratorMethod); 8348 next = iterator.next; 8349 O = []; 8350 while (!(step = call(next, iterator)).done) { 8351 O.push(step.value); 8352 } 8353 } 8354 if (mapping && argumentsLength > 2) { 8355 mapfn = bind(mapfn, arguments[2]); 8356 } 8357 length = lengthOfArrayLike(O); 8358 result = new (aTypedArrayConstructor(C))(length); 8359 for (i = 0; length > i; i++) { 8360 result[i] = mapping ? mapfn(O[i], i) : O[i]; 8361 } 8362 return result; 8363}; 8364 8365 8366/***/ }), 8367 8368/***/ 6304: 8369/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 8370 8371var ArrayBufferViewCore = __webpack_require__(260); 8372var speciesConstructor = __webpack_require__(6707); 8373 8374var TYPED_ARRAY_CONSTRUCTOR = ArrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR; 8375var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; 8376 8377// a part of `TypedArraySpeciesCreate` abstract operation 8378// https://tc39.es/ecma262/#typedarray-species-create 8379module.exports = function (originalArray) { 8380 return aTypedArrayConstructor(speciesConstructor(originalArray, originalArray[TYPED_ARRAY_CONSTRUCTOR])); 8381}; 8382 8383 8384/***/ }), 8385 8386/***/ 9711:
vendor: 8,952 bytes, lines 8387-8651
8387/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 8388 8389var uncurryThis = __webpack_require__(1702); 8390 8391var id = 0; 8392var postfix = Math.random(); 8393var toString = uncurryThis(1.0.toString); 8394 8395module.exports = function (key) { 8396 return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); 8397}; 8398 8399 8400/***/ }), 8401 8402/***/ 3307: 8403/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 8404 8405/* eslint-disable es/no-symbol -- required for testing */ 8406var NATIVE_SYMBOL = __webpack_require__(133); 8407 8408module.exports = NATIVE_SYMBOL 8409 && !Symbol.sham 8410 && typeof Symbol.iterator == 'symbol'; 8411 8412 8413/***/ }), 8414 8415/***/ 3353: 8416/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 8417 8418var DESCRIPTORS = __webpack_require__(9781); 8419var fails = __webpack_require__(7293); 8420 8421// V8 ~ Chrome 36- 8422// https://bugs.chromium.org/p/v8/issues/detail?id=3334 8423module.exports = DESCRIPTORS && fails(function () { 8424 // eslint-disable-next-line es/no-object-defineproperty -- required for testing 8425 return Object.defineProperty(function () { /* empty */ }, 'prototype', { 8426 value: 42, 8427 writable: false 8428 }).prototype != 42; 8429}); 8430 8431 8432/***/ }), 8433 8434/***/ 8053: 8435/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 8436 8437var global = __webpack_require__(7854); 8438 8439var TypeError = global.TypeError; 8440 8441module.exports = function (passed, required) { 8442 if (passed < required) throw TypeError('Not enough arguments'); 8443 return passed; 8444}; 8445 8446 8447/***/ }), 8448 8449/***/ 6061: 8450/***/ (function(__unused_webpack_module, exports, __webpack_require__) { 8451 8452var wellKnownSymbol = __webpack_require__(5112); 8453 8454exports.f = wellKnownSymbol; 8455 8456 8457/***/ }), 8458 8459/***/ 5112: 8460/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 8461 8462var global = __webpack_require__(7854); 8463var shared = __webpack_require__(2309); 8464var hasOwn = __webpack_require__(2597); 8465var uid = __webpack_require__(9711); 8466var NATIVE_SYMBOL = __webpack_require__(133); 8467var USE_SYMBOL_AS_UID = __webpack_require__(3307); 8468 8469var WellKnownSymbolsStore = shared('wks'); 8470var Symbol = global.Symbol; 8471var symbolFor = Symbol && Symbol['for']; 8472var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol : Symbol && Symbol.withoutSetter || uid; 8473 8474module.exports = function (name) { 8475 if (!hasOwn(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) { 8476 var description = 'Symbol.' + name; 8477 if (NATIVE_SYMBOL && hasOwn(Symbol, name)) { 8478 WellKnownSymbolsStore[name] = Symbol[name]; 8479 } else if (USE_SYMBOL_AS_UID && symbolFor) { 8480 WellKnownSymbolsStore[name] = symbolFor(description); 8481 } else { 8482 WellKnownSymbolsStore[name] = createWellKnownSymbol(description); 8483 } 8484 } return WellKnownSymbolsStore[name]; 8485}; 8486 8487 8488/***/ }), 8489 8490/***/ 1361: 8491/***/ (function(module) { 8492 8493// a string of all valid unicode whitespaces 8494module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + 8495 '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; 8496 8497 8498/***/ }), 8499 8500/***/ 9191: 8501/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 8502 8503"use strict"; 8504 8505var getBuiltIn = __webpack_require__(5005); 8506var hasOwn = __webpack_require__(2597); 8507var createNonEnumerableProperty = __webpack_require__(8880); 8508var isPrototypeOf = __webpack_require__(7976); 8509var setPrototypeOf = __webpack_require__(7674); 8510var copyConstructorProperties = __webpack_require__(9920); 8511var inheritIfRequired = __webpack_require__(9587); 8512var normalizeStringArgument = __webpack_require__(6277); 8513var installErrorCause = __webpack_require__(8340); 8514var clearErrorStack = __webpack_require__(7741); 8515var ERROR_STACK_INSTALLABLE = __webpack_require__(2914); 8516var IS_PURE = __webpack_require__(1913); 8517 8518module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) { 8519 var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1; 8520 var path = FULL_NAME.split('.'); 8521 var ERROR_NAME = path[path.length - 1]; 8522 var OriginalError = getBuiltIn.apply(null, path); 8523 8524 if (!OriginalError) return; 8525 8526 var OriginalErrorPrototype = OriginalError.prototype; 8527 8528 // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006 8529 if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause; 8530 8531 if (!FORCED) return OriginalError; 8532 8533 var BaseError = getBuiltIn('Error'); 8534 8535 var WrappedError = wrapper(function (a, b) { 8536 var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined); 8537 var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError(); 8538 if (message !== undefined) createNonEnumerableProperty(result, 'message', message); 8539 if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(result, 'stack', clearErrorStack(result.stack, 2)); 8540 if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError); 8541 if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]); 8542 return result; 8543 }); 8544 8545 WrappedError.prototype = OriginalErrorPrototype; 8546 8547 if (ERROR_NAME !== 'Error') { 8548 if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError); 8549 else copyConstructorProperties(WrappedError, BaseError, { name: true }); 8550 } 8551 8552 copyConstructorProperties(WrappedError, OriginalError); 8553 8554 if (!IS_PURE) try { 8555 // Safari 13- bug: WebAssembly errors does not have a proper `.name` 8556 if (OriginalErrorPrototype.name !== ERROR_NAME) { 8557 createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME); 8558 } 8559 OriginalErrorPrototype.constructor = WrappedError; 8560 } catch (error) { /* empty */ } 8561 8562 return WrappedError; 8563}; 8564 8565 8566/***/ }), 8567 8568/***/ 2120: 8569/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 8570 8571var $ = __webpack_require__(2109); 8572var getBuiltIn = __webpack_require__(5005); 8573var apply = __webpack_require__(2104); 8574var fails = __webpack_require__(7293); 8575var wrapErrorConstructorWithCause = __webpack_require__(9191); 8576 8577var AGGREGATE_ERROR = 'AggregateError'; 8578var $AggregateError = getBuiltIn(AGGREGATE_ERROR); 8579var FORCED = !fails(function () { 8580 return $AggregateError([1]).errors[0] !== 1; 8581}) && fails(function () { 8582 return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7; 8583}); 8584 8585// https://github.com/tc39/proposal-error-cause 8586$({ global: true, forced: FORCED }, { 8587 AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) { 8588 // eslint-disable-next-line no-unused-vars -- required for functions `.length` 8589 return function AggregateError(errors, message) { return apply(init, this, arguments); }; 8590 }, FORCED, true) 8591}); 8592 8593 8594/***/ }), 8595 8596/***/ 9170: 8597/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 8598 8599"use strict"; 8600 8601var $ = __webpack_require__(2109); 8602var global = __webpack_require__(7854); 8603var isPrototypeOf = __webpack_require__(7976); 8604var getPrototypeOf = __webpack_require__(9518); 8605var setPrototypeOf = __webpack_require__(7674); 8606var copyConstructorProperties = __webpack_require__(9920); 8607var create = __webpack_require__(30); 8608var createNonEnumerableProperty = __webpack_require__(8880); 8609var createPropertyDescriptor = __webpack_require__(9114); 8610var clearErrorStack = __webpack_require__(7741); 8611var installErrorCause = __webpack_require__(8340); 8612var iterate = __webpack_require__(408); 8613var normalizeStringArgument = __webpack_require__(6277); 8614var wellKnownSymbol = __webpack_require__(5112); 8615var ERROR_STACK_INSTALLABLE = __webpack_require__(2914); 8616 8617var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 8618var Error = global.Error; 8619var push = [].push; 8620 8621var $AggregateError = function AggregateError(errors, message /* , options */) { 8622 var options = arguments.length > 2 ? arguments[2] : undefined; 8623 var isInstance = isPrototypeOf(AggregateErrorPrototype, this); 8624 var that; 8625 if (setPrototypeOf) { 8626 that = setPrototypeOf(new Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype); 8627 } else { 8628 that = isInstance ? this : create(AggregateErrorPrototype); 8629 createNonEnumerableProperty(that, TO_STRING_TAG, 'Error'); 8630 } 8631 if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message)); 8632 if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty(that, 'stack', clearErrorStack(that.stack, 1)); 8633 installErrorCause(that, options); 8634 var errorsArray = []; 8635 iterate(errors, push, { that: errorsArray }); 8636 createNonEnumerableProperty(that, 'errors', errorsArray); 8637 return that; 8638}; 8639 8640if (setPrototypeOf) setPrototypeOf($AggregateError, Error); 8641else copyConstructorProperties($AggregateError, Error, { name: true }); 8642 8643var AggregateErrorPrototype = $AggregateError.prototype = create(Error.prototype, { 8644 constructor: createPropertyDescriptor(1, $AggregateError), 8645 message: createPropertyDescriptor(1, ''), 8646 name: createPropertyDescriptor(1, 'AggregateError') 8647}); 8648 8649// `AggregateError` constructor 8650// https://tc39.es/ecma262/#sec-aggregate-error-constructor 8651$({ global: true }, {
vendor: 4,473 bytes, lines 8652-8795
8652 AggregateError: $AggregateError 8653}); 8654 8655 8656/***/ }), 8657 8658/***/ 8264: 8659/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 8660 8661"use strict"; 8662 8663var $ = __webpack_require__(2109); 8664var global = __webpack_require__(7854); 8665var arrayBufferModule = __webpack_require__(3331); 8666var setSpecies = __webpack_require__(6340); 8667 8668var ARRAY_BUFFER = 'ArrayBuffer'; 8669var ArrayBuffer = arrayBufferModule[ARRAY_BUFFER]; 8670var NativeArrayBuffer = global[ARRAY_BUFFER]; 8671 8672// `ArrayBuffer` constructor 8673// https://tc39.es/ecma262/#sec-arraybuffer-constructor 8674$({ global: true, forced: NativeArrayBuffer !== ArrayBuffer }, { 8675 ArrayBuffer: ArrayBuffer 8676}); 8677 8678setSpecies(ARRAY_BUFFER); 8679 8680 8681/***/ }), 8682 8683/***/ 6938: 8684/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 8685 8686var $ = __webpack_require__(2109); 8687var ArrayBufferViewCore = __webpack_require__(260); 8688 8689var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; 8690 8691// `ArrayBuffer.isView` method 8692// https://tc39.es/ecma262/#sec-arraybuffer.isview 8693$({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { 8694 isView: ArrayBufferViewCore.isView 8695}); 8696 8697 8698/***/ }), 8699 8700/***/ 9575: 8701/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 8702 8703"use strict"; 8704 8705var $ = __webpack_require__(2109); 8706var uncurryThis = __webpack_require__(1702); 8707var fails = __webpack_require__(7293); 8708var ArrayBufferModule = __webpack_require__(3331); 8709var anObject = __webpack_require__(9670); 8710var toAbsoluteIndex = __webpack_require__(1400); 8711var toLength = __webpack_require__(7466); 8712var speciesConstructor = __webpack_require__(6707); 8713 8714var ArrayBuffer = ArrayBufferModule.ArrayBuffer; 8715var DataView = ArrayBufferModule.DataView; 8716var DataViewPrototype = DataView.prototype; 8717var un$ArrayBufferSlice = uncurryThis(ArrayBuffer.prototype.slice); 8718var getUint8 = uncurryThis(DataViewPrototype.getUint8); 8719var setUint8 = uncurryThis(DataViewPrototype.setUint8); 8720 8721var INCORRECT_SLICE = fails(function () { 8722 return !new ArrayBuffer(2).slice(1, undefined).byteLength; 8723}); 8724 8725// `ArrayBuffer.prototype.slice` method 8726// https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice 8727$({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, { 8728 slice: function slice(start, end) { 8729 if (un$ArrayBufferSlice && end === undefined) { 8730 return un$ArrayBufferSlice(anObject(this), start); // FF fix 8731 } 8732 var length = anObject(this).byteLength; 8733 var first = toAbsoluteIndex(start, length); 8734 var fin = toAbsoluteIndex(end === undefined ? length : end, length); 8735 var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first)); 8736 var viewSource = new DataView(this); 8737 var viewTarget = new DataView(result); 8738 var index = 0; 8739 while (first < fin) { 8740 setUint8(viewTarget, index++, getUint8(viewSource, first++)); 8741 } return result; 8742 } 8743}); 8744 8745 8746/***/ }), 8747 8748/***/ 2262: 8749/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 8750 8751"use strict"; 8752 8753var $ = __webpack_require__(2109); 8754var toObject = __webpack_require__(7908); 8755var lengthOfArrayLike = __webpack_require__(6244); 8756var toIntegerOrInfinity = __webpack_require__(9303); 8757var addToUnscopables = __webpack_require__(1223); 8758 8759// `Array.prototype.at` method 8760// https://github.com/tc39/proposal-relative-indexing-method 8761$({ target: 'Array', proto: true }, { 8762 at: function at(index) { 8763 var O = toObject(this); 8764 var len = lengthOfArrayLike(O); 8765 var relativeIndex = toIntegerOrInfinity(index); 8766 var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; 8767 return (k < 0 || k >= len) ? undefined : O[k]; 8768 } 8769}); 8770 8771addToUnscopables('at'); 8772 8773 8774/***/ }), 8775 8776/***/ 2222: 8777/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 8778 8779"use strict"; 8780 8781var $ = __webpack_require__(2109); 8782var global = __webpack_require__(7854); 8783var fails = __webpack_require__(7293); 8784var isArray = __webpack_require__(3157); 8785var isObject = __webpack_require__(111); 8786var toObject = __webpack_require__(7908); 8787var lengthOfArrayLike = __webpack_require__(6244); 8788var createProperty = __webpack_require__(6135); 8789var arraySpeciesCreate = __webpack_require__(5417); 8790var arrayMethodHasSpeciesSupport = __webpack_require__(1194); 8791var wellKnownSymbol = __webpack_require__(5112); 8792var V8_VERSION = __webpack_require__(7392); 8793 8794var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable'); 8795var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
vendor: 15,627 bytes, lines 8796-9312
8796var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; 8797var TypeError = global.TypeError; 8798 8799// We can't use this feature detection in V8 since it causes 8800// deoptimization and serious performance degradation 8801// https://github.com/zloirock/core-js/issues/679 8802var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () { 8803 var array = []; 8804 array[IS_CONCAT_SPREADABLE] = false; 8805 return array.concat()[0] !== array; 8806}); 8807 8808var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat'); 8809 8810var isConcatSpreadable = function (O) { 8811 if (!isObject(O)) return false; 8812 var spreadable = O[IS_CONCAT_SPREADABLE]; 8813 return spreadable !== undefined ? !!spreadable : isArray(O); 8814}; 8815 8816var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; 8817 8818// `Array.prototype.concat` method 8819// https://tc39.es/ecma262/#sec-array.prototype.concat 8820// with adding support of @@isConcatSpreadable and @@species 8821$({ target: 'Array', proto: true, forced: FORCED }, { 8822 // eslint-disable-next-line no-unused-vars -- required for `.length` 8823 concat: function concat(arg) { 8824 var O = toObject(this); 8825 var A = arraySpeciesCreate(O, 0); 8826 var n = 0; 8827 var i, k, length, len, E; 8828 for (i = -1, length = arguments.length; i < length; i++) { 8829 E = i === -1 ? O : arguments[i]; 8830 if (isConcatSpreadable(E)) { 8831 len = lengthOfArrayLike(E); 8832 if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); 8833 for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); 8834 } else { 8835 if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); 8836 createProperty(A, n++, E); 8837 } 8838 } 8839 A.length = n; 8840 return A; 8841 } 8842}); 8843 8844 8845/***/ }), 8846 8847/***/ 545: 8848/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 8849 8850var $ = __webpack_require__(2109); 8851var copyWithin = __webpack_require__(1048); 8852var addToUnscopables = __webpack_require__(1223); 8853 8854// `Array.prototype.copyWithin` method 8855// https://tc39.es/ecma262/#sec-array.prototype.copywithin 8856$({ target: 'Array', proto: true }, { 8857 copyWithin: copyWithin 8858}); 8859 8860// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables 8861addToUnscopables('copyWithin'); 8862 8863 8864/***/ }), 8865 8866/***/ 6541: 8867/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 8868 8869"use strict"; 8870 8871var $ = __webpack_require__(2109); 8872var $every = (__webpack_require__(2092).every); 8873var arrayMethodIsStrict = __webpack_require__(2133); 8874 8875var STRICT_METHOD = arrayMethodIsStrict('every'); 8876 8877// `Array.prototype.every` method 8878// https://tc39.es/ecma262/#sec-array.prototype.every 8879$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, { 8880 every: function every(callbackfn /* , thisArg */) { 8881 return $every(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 8882 } 8883}); 8884 8885 8886/***/ }), 8887 8888/***/ 3290: 8889/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 8890 8891var $ = __webpack_require__(2109); 8892var fill = __webpack_require__(1285); 8893var addToUnscopables = __webpack_require__(1223); 8894 8895// `Array.prototype.fill` method 8896// https://tc39.es/ecma262/#sec-array.prototype.fill 8897$({ target: 'Array', proto: true }, { 8898 fill: fill 8899}); 8900 8901// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables 8902addToUnscopables('fill'); 8903 8904 8905/***/ }), 8906 8907/***/ 7327: 8908/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 8909 8910"use strict"; 8911 8912var $ = __webpack_require__(2109); 8913var $filter = (__webpack_require__(2092).filter); 8914var arrayMethodHasSpeciesSupport = __webpack_require__(1194); 8915 8916var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter'); 8917 8918// `Array.prototype.filter` method 8919// https://tc39.es/ecma262/#sec-array.prototype.filter 8920// with adding support of @@species 8921$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { 8922 filter: function filter(callbackfn /* , thisArg */) { 8923 return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 8924 } 8925}); 8926 8927 8928/***/ }), 8929 8930/***/ 4553: 8931/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 8932 8933"use strict"; 8934 8935var $ = __webpack_require__(2109); 8936var $findIndex = (__webpack_require__(2092).findIndex); 8937var addToUnscopables = __webpack_require__(1223); 8938 8939var FIND_INDEX = 'findIndex'; 8940var SKIPS_HOLES = true; 8941 8942// Shouldn't skip holes 8943if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; }); 8944 8945// `Array.prototype.findIndex` method 8946// https://tc39.es/ecma262/#sec-array.prototype.findindex 8947$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { 8948 findIndex: function findIndex(callbackfn /* , that = undefined */) { 8949 return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 8950 } 8951}); 8952 8953// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables 8954addToUnscopables(FIND_INDEX); 8955 8956 8957/***/ }), 8958 8959/***/ 9826: 8960/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 8961 8962"use strict"; 8963 8964var $ = __webpack_require__(2109); 8965var $find = (__webpack_require__(2092).find); 8966var addToUnscopables = __webpack_require__(1223); 8967 8968var FIND = 'find'; 8969var SKIPS_HOLES = true; 8970 8971// Shouldn't skip holes 8972if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; }); 8973 8974// `Array.prototype.find` method 8975// https://tc39.es/ecma262/#sec-array.prototype.find 8976$({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { 8977 find: function find(callbackfn /* , that = undefined */) { 8978 return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 8979 } 8980}); 8981 8982// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables 8983addToUnscopables(FIND); 8984 8985 8986/***/ }), 8987 8988/***/ 6535: 8989/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 8990 8991"use strict"; 8992 8993var $ = __webpack_require__(2109); 8994var flattenIntoArray = __webpack_require__(6790); 8995var aCallable = __webpack_require__(9662); 8996var toObject = __webpack_require__(7908); 8997var lengthOfArrayLike = __webpack_require__(6244); 8998var arraySpeciesCreate = __webpack_require__(5417); 8999 9000// `Array.prototype.flatMap` method 9001// https://tc39.es/ecma262/#sec-array.prototype.flatmap 9002$({ target: 'Array', proto: true }, { 9003 flatMap: function flatMap(callbackfn /* , thisArg */) { 9004 var O = toObject(this); 9005 var sourceLen = lengthOfArrayLike(O); 9006 var A; 9007 aCallable(callbackfn); 9008 A = arraySpeciesCreate(O, 0); 9009 A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 9010 return A; 9011 } 9012}); 9013 9014 9015/***/ }), 9016 9017/***/ 4944: 9018/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9019 9020"use strict"; 9021 9022var $ = __webpack_require__(2109); 9023var flattenIntoArray = __webpack_require__(6790); 9024var toObject = __webpack_require__(7908); 9025var lengthOfArrayLike = __webpack_require__(6244); 9026var toIntegerOrInfinity = __webpack_require__(9303); 9027var arraySpeciesCreate = __webpack_require__(5417); 9028 9029// `Array.prototype.flat` method 9030// https://tc39.es/ecma262/#sec-array.prototype.flat 9031$({ target: 'Array', proto: true }, { 9032 flat: function flat(/* depthArg = 1 */) { 9033 var depthArg = arguments.length ? arguments[0] : undefined; 9034 var O = toObject(this); 9035 var sourceLen = lengthOfArrayLike(O); 9036 var A = arraySpeciesCreate(O, 0); 9037 A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity(depthArg)); 9038 return A; 9039 } 9040}); 9041 9042 9043/***/ }), 9044 9045/***/ 9554: 9046/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9047 9048"use strict"; 9049 9050var $ = __webpack_require__(2109); 9051var forEach = __webpack_require__(8533); 9052 9053// `Array.prototype.forEach` method 9054// https://tc39.es/ecma262/#sec-array.prototype.foreach 9055// eslint-disable-next-line es/no-array-prototype-foreach -- safe 9056$({ target: 'Array', proto: true, forced: [].forEach != forEach }, { 9057 forEach: forEach 9058}); 9059 9060 9061/***/ }), 9062 9063/***/ 1038: 9064/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9065 9066var $ = __webpack_require__(2109); 9067var from = __webpack_require__(8457); 9068var checkCorrectnessOfIteration = __webpack_require__(7072); 9069 9070var INCORRECT_ITERATION = !checkCorrectnessOfIteration(function (iterable) { 9071 // eslint-disable-next-line es/no-array-from -- required for testing 9072 Array.from(iterable); 9073}); 9074 9075// `Array.from` method 9076// https://tc39.es/ecma262/#sec-array.from 9077$({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, { 9078 from: from 9079}); 9080 9081 9082/***/ }), 9083 9084/***/ 6699: 9085/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9086 9087"use strict"; 9088 9089var $ = __webpack_require__(2109); 9090var $includes = (__webpack_require__(1318).includes); 9091var addToUnscopables = __webpack_require__(1223); 9092 9093// `Array.prototype.includes` method 9094// https://tc39.es/ecma262/#sec-array.prototype.includes 9095$({ target: 'Array', proto: true }, { 9096 includes: function includes(el /* , fromIndex = 0 */) { 9097 return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined); 9098 } 9099}); 9100 9101// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables 9102addToUnscopables('includes'); 9103 9104 9105/***/ }), 9106 9107/***/ 2772: 9108/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9109 9110"use strict"; 9111 9112/* eslint-disable es/no-array-prototype-indexof -- required for testing */ 9113var $ = __webpack_require__(2109); 9114var uncurryThis = __webpack_require__(1702); 9115var $IndexOf = (__webpack_require__(1318).indexOf); 9116var arrayMethodIsStrict = __webpack_require__(2133); 9117 9118var un$IndexOf = uncurryThis([].indexOf); 9119 9120var NEGATIVE_ZERO = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0; 9121var STRICT_METHOD = arrayMethodIsStrict('indexOf'); 9122 9123// `Array.prototype.indexOf` method 9124// https://tc39.es/ecma262/#sec-array.prototype.indexof 9125$({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || !STRICT_METHOD }, { 9126 indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { 9127 var fromIndex = arguments.length > 1 ? arguments[1] : undefined; 9128 return NEGATIVE_ZERO 9129 // convert -0 to +0 9130 ? un$IndexOf(this, searchElement, fromIndex) || 0 9131 : $IndexOf(this, searchElement, fromIndex); 9132 } 9133}); 9134 9135 9136/***/ }), 9137 9138/***/ 9753: 9139/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9140 9141var $ = __webpack_require__(2109); 9142var isArray = __webpack_require__(3157); 9143 9144// `Array.isArray` method 9145// https://tc39.es/ecma262/#sec-array.isarray 9146$({ target: 'Array', stat: true }, { 9147 isArray: isArray 9148}); 9149 9150 9151/***/ }), 9152 9153/***/ 6992: 9154/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 9155 9156"use strict"; 9157 9158var toIndexedObject = __webpack_require__(5656); 9159var addToUnscopables = __webpack_require__(1223); 9160var Iterators = __webpack_require__(7497); 9161var InternalStateModule = __webpack_require__(9909); 9162var defineProperty = (__webpack_require__(3070).f); 9163var defineIterator = __webpack_require__(654); 9164var IS_PURE = __webpack_require__(1913); 9165var DESCRIPTORS = __webpack_require__(9781); 9166 9167var ARRAY_ITERATOR = 'Array Iterator'; 9168var setInternalState = InternalStateModule.set; 9169var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR); 9170 9171// `Array.prototype.entries` method 9172// https://tc39.es/ecma262/#sec-array.prototype.entries 9173// `Array.prototype.keys` method 9174// https://tc39.es/ecma262/#sec-array.prototype.keys 9175// `Array.prototype.values` method 9176// https://tc39.es/ecma262/#sec-array.prototype.values 9177// `Array.prototype[@@iterator]` method 9178// https://tc39.es/ecma262/#sec-array.prototype-@@iterator 9179// `CreateArrayIterator` internal method 9180// https://tc39.es/ecma262/#sec-createarrayiterator 9181module.exports = defineIterator(Array, 'Array', function (iterated, kind) { 9182 setInternalState(this, { 9183 type: ARRAY_ITERATOR, 9184 target: toIndexedObject(iterated), // target 9185 index: 0, // next index 9186 kind: kind // kind 9187 }); 9188// `%ArrayIteratorPrototype%.next` method 9189// https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next 9190}, function () { 9191 var state = getInternalState(this); 9192 var target = state.target; 9193 var kind = state.kind; 9194 var index = state.index++; 9195 if (!target || index >= target.length) { 9196 state.target = undefined; 9197 return { value: undefined, done: true }; 9198 } 9199 if (kind == 'keys') return { value: index, done: false }; 9200 if (kind == 'values') return { value: target[index], done: false }; 9201 return { value: [index, target[index]], done: false }; 9202}, 'values'); 9203 9204// argumentsList[@@iterator] is %ArrayProto_values% 9205// https://tc39.es/ecma262/#sec-createunmappedargumentsobject 9206// https://tc39.es/ecma262/#sec-createmappedargumentsobject 9207var values = Iterators.Arguments = Iterators.Array; 9208 9209// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables 9210addToUnscopables('keys'); 9211addToUnscopables('values'); 9212addToUnscopables('entries'); 9213 9214// V8 ~ Chrome 45- bug 9215if (!IS_PURE && DESCRIPTORS && values.name !== 'values') try { 9216 defineProperty(values, 'name', { value: 'values' }); 9217} catch (error) { /* empty */ } 9218 9219 9220/***/ }), 9221 9222/***/ 9600: 9223/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9224 9225"use strict"; 9226 9227var $ = __webpack_require__(2109); 9228var uncurryThis = __webpack_require__(1702); 9229var IndexedObject = __webpack_require__(8361); 9230var toIndexedObject = __webpack_require__(5656); 9231var arrayMethodIsStrict = __webpack_require__(2133); 9232 9233var un$Join = uncurryThis([].join); 9234 9235var ES3_STRINGS = IndexedObject != Object; 9236var STRICT_METHOD = arrayMethodIsStrict('join', ','); 9237 9238// `Array.prototype.join` method 9239// https://tc39.es/ecma262/#sec-array.prototype.join 9240$({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, { 9241 join: function join(separator) { 9242 return un$Join(toIndexedObject(this), separator === undefined ? ',' : separator); 9243 } 9244}); 9245 9246 9247/***/ }), 9248 9249/***/ 4986: 9250/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9251 9252var $ = __webpack_require__(2109); 9253var lastIndexOf = __webpack_require__(6583); 9254 9255// `Array.prototype.lastIndexOf` method 9256// https://tc39.es/ecma262/#sec-array.prototype.lastindexof 9257// eslint-disable-next-line es/no-array-prototype-lastindexof -- required for testing 9258$({ target: 'Array', proto: true, forced: lastIndexOf !== [].lastIndexOf }, { 9259 lastIndexOf: lastIndexOf 9260}); 9261 9262 9263/***/ }), 9264 9265/***/ 1249: 9266/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9267 9268"use strict"; 9269 9270var $ = __webpack_require__(2109); 9271var $map = (__webpack_require__(2092).map); 9272var arrayMethodHasSpeciesSupport = __webpack_require__(1194); 9273 9274var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map'); 9275 9276// `Array.prototype.map` method 9277// https://tc39.es/ecma262/#sec-array.prototype.map 9278// with adding support of @@species 9279$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { 9280 map: function map(callbackfn /* , thisArg */) { 9281 return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 9282 } 9283}); 9284 9285 9286/***/ }), 9287 9288/***/ 6572: 9289/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9290 9291"use strict"; 9292 9293var $ = __webpack_require__(2109); 9294var global = __webpack_require__(7854); 9295var fails = __webpack_require__(7293); 9296var isConstructor = __webpack_require__(4411); 9297var createProperty = __webpack_require__(6135); 9298 9299var Array = global.Array; 9300 9301var ISNT_GENERIC = fails(function () { 9302 function F() { /* empty */ } 9303 return !(Array.of.call(F) instanceof F); 9304}); 9305 9306// `Array.of` method 9307// https://tc39.es/ecma262/#sec-array.of 9308// WebKit Array.of isn't generic 9309$({ target: 'Array', stat: true, forced: ISNT_GENERIC }, { 9310 of: function of(/* ...args */) { 9311 var index = 0; 9312 var argumentsLength = arguments.length;
9313 var result = new (isConstructor(this) ? this : Array)(argumentsLength); 9314 while (argumentsLength > index) createProperty(result, index, arguments[index++]); 9315 result.length = argumentsLength; 9316 return result; 9317 } 9318}); 9319 9320 9321/***/ }), 9322 9323/***/ 6644: 9324/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9325 9326"use strict"; 9327 9328var $ = __webpack_require__(2109); 9329var $reduceRight = (__webpack_require__(3671).right); 9330var arrayMethodIsStrict = __webpack_require__(2133); 9331var CHROME_VERSION = __webpack_require__(7392); 9332var IS_NODE = __webpack_require__(5268); 9333 9334var STRICT_METHOD = arrayMethodIsStrict('reduceRight'); 9335// Chrome 80-82 has a critical bug 9336// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982 9337var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; 9338 9339// `Array.prototype.reduceRight` method 9340// https://tc39.es/ecma262/#sec-array.prototype.reduceright 9341$({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, { 9342 reduceRight: function reduceRight(callbackfn /* , initialValue */) { 9343 return $reduceRight(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); 9344 } 9345}); 9346 9347 9348/***/ }), 9349 9350/***/ 5827: 9351/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9352 9353"use strict"; 9354 9355var $ = __webpack_require__(2109); 9356var $reduce = (__webpack_require__(3671).left); 9357var arrayMethodIsStrict = __webpack_require__(2133); 9358var CHROME_VERSION = __webpack_require__(7392); 9359var IS_NODE = __webpack_require__(5268); 9360 9361var STRICT_METHOD = arrayMethodIsStrict('reduce'); 9362// Chrome 80-82 has a critical bug 9363// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982 9364var CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83; 9365 9366// `Array.prototype.reduce` method 9367// https://tc39.es/ecma262/#sec-array.prototype.reduce 9368$({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
vendor: 7,765 bytes, lines 9369-9630
9369 reduce: function reduce(callbackfn /* , initialValue */) { 9370 var length = arguments.length; 9371 return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined); 9372 } 9373}); 9374 9375 9376/***/ }), 9377 9378/***/ 5069: 9379/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9380 9381"use strict"; 9382 9383var $ = __webpack_require__(2109); 9384var uncurryThis = __webpack_require__(1702); 9385var isArray = __webpack_require__(3157); 9386 9387var un$Reverse = uncurryThis([].reverse); 9388var test = [1, 2]; 9389 9390// `Array.prototype.reverse` method 9391// https://tc39.es/ecma262/#sec-array.prototype.reverse 9392// fix for Safari 12.0 bug 9393// https://bugs.webkit.org/show_bug.cgi?id=188794 9394$({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, { 9395 reverse: function reverse() { 9396 // eslint-disable-next-line no-self-assign -- dirty hack 9397 if (isArray(this)) this.length = this.length; 9398 return un$Reverse(this); 9399 } 9400}); 9401 9402 9403/***/ }), 9404 9405/***/ 7042: 9406/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9407 9408"use strict"; 9409 9410var $ = __webpack_require__(2109); 9411var global = __webpack_require__(7854); 9412var isArray = __webpack_require__(3157); 9413var isConstructor = __webpack_require__(4411); 9414var isObject = __webpack_require__(111); 9415var toAbsoluteIndex = __webpack_require__(1400); 9416var lengthOfArrayLike = __webpack_require__(6244); 9417var toIndexedObject = __webpack_require__(5656); 9418var createProperty = __webpack_require__(6135); 9419var wellKnownSymbol = __webpack_require__(5112); 9420var arrayMethodHasSpeciesSupport = __webpack_require__(1194); 9421var un$Slice = __webpack_require__(206); 9422 9423var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('slice'); 9424 9425var SPECIES = wellKnownSymbol('species'); 9426var Array = global.Array; 9427var max = Math.max; 9428 9429// `Array.prototype.slice` method 9430// https://tc39.es/ecma262/#sec-array.prototype.slice 9431// fallback for not array-like ES3 strings and DOM objects 9432$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { 9433 slice: function slice(start, end) { 9434 var O = toIndexedObject(this); 9435 var length = lengthOfArrayLike(O); 9436 var k = toAbsoluteIndex(start, length); 9437 var fin = toAbsoluteIndex(end === undefined ? length : end, length); 9438 // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible 9439 var Constructor, result, n; 9440 if (isArray(O)) { 9441 Constructor = O.constructor; 9442 // cross-realm fallback 9443 if (isConstructor(Constructor) && (Constructor === Array || isArray(Constructor.prototype))) { 9444 Constructor = undefined; 9445 } else if (isObject(Constructor)) { 9446 Constructor = Constructor[SPECIES]; 9447 if (Constructor === null) Constructor = undefined; 9448 } 9449 if (Constructor === Array || Constructor === undefined) { 9450 return un$Slice(O, k, fin); 9451 } 9452 } 9453 result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0)); 9454 for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); 9455 result.length = n; 9456 return result; 9457 } 9458}); 9459 9460 9461/***/ }), 9462 9463/***/ 5212: 9464/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9465 9466"use strict"; 9467 9468var $ = __webpack_require__(2109); 9469var $some = (__webpack_require__(2092).some); 9470var arrayMethodIsStrict = __webpack_require__(2133); 9471 9472var STRICT_METHOD = arrayMethodIsStrict('some'); 9473 9474// `Array.prototype.some` method 9475// https://tc39.es/ecma262/#sec-array.prototype.some 9476$({ target: 'Array', proto: true, forced: !STRICT_METHOD }, { 9477 some: function some(callbackfn /* , thisArg */) { 9478 return $some(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); 9479 } 9480}); 9481 9482 9483/***/ }), 9484 9485/***/ 2707: 9486/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9487 9488"use strict"; 9489 9490var $ = __webpack_require__(2109); 9491var uncurryThis = __webpack_require__(1702); 9492var aCallable = __webpack_require__(9662); 9493var toObject = __webpack_require__(7908); 9494var lengthOfArrayLike = __webpack_require__(6244); 9495var toString = __webpack_require__(1340); 9496var fails = __webpack_require__(7293); 9497var internalSort = __webpack_require__(4362); 9498var arrayMethodIsStrict = __webpack_require__(2133); 9499var FF = __webpack_require__(8886); 9500var IE_OR_EDGE = __webpack_require__(256); 9501var V8 = __webpack_require__(7392); 9502var WEBKIT = __webpack_require__(8008); 9503 9504var test = []; 9505var un$Sort = uncurryThis(test.sort); 9506var push = uncurryThis(test.push); 9507 9508// IE8- 9509var FAILS_ON_UNDEFINED = fails(function () { 9510 test.sort(undefined); 9511}); 9512// V8 bug 9513var FAILS_ON_NULL = fails(function () { 9514 test.sort(null); 9515}); 9516// Old WebKit 9517var STRICT_METHOD = arrayMethodIsStrict('sort'); 9518 9519var STABLE_SORT = !fails(function () { 9520 // feature detection can be too slow, so check engines versions 9521 if (V8) return V8 < 70; 9522 if (FF && FF > 3) return; 9523 if (IE_OR_EDGE) return true; 9524 if (WEBKIT) return WEBKIT < 603; 9525 9526 var result = ''; 9527 var code, chr, value, index; 9528 9529 // generate an array with more 512 elements (Chakra and old V8 fails only in this case) 9530 for (code = 65; code < 76; code++) { 9531 chr = String.fromCharCode(code); 9532 9533 switch (code) { 9534 case 66: case 69: case 70: case 72: value = 3; break; 9535 case 68: case 71: value = 4; break; 9536 default: value = 2; 9537 } 9538 9539 for (index = 0; index < 47; index++) { 9540 test.push({ k: chr + index, v: value }); 9541 } 9542 } 9543 9544 test.sort(function (a, b) { return b.v - a.v; }); 9545 9546 for (index = 0; index < test.length; index++) { 9547 chr = test[index].k.charAt(0); 9548 if (result.charAt(result.length - 1) !== chr) result += chr; 9549 } 9550 9551 return result !== 'DGBEFHACIJK'; 9552}); 9553 9554var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT; 9555 9556var getSortCompare = function (comparefn) { 9557 return function (x, y) { 9558 if (y === undefined) return -1; 9559 if (x === undefined) return 1; 9560 if (comparefn !== undefined) return +comparefn(x, y) || 0; 9561 return toString(x) > toString(y) ? 1 : -1; 9562 }; 9563}; 9564 9565// `Array.prototype.sort` method 9566// https://tc39.es/ecma262/#sec-array.prototype.sort 9567$({ target: 'Array', proto: true, forced: FORCED }, { 9568 sort: function sort(comparefn) { 9569 if (comparefn !== undefined) aCallable(comparefn); 9570 9571 var array = toObject(this); 9572 9573 if (STABLE_SORT) return comparefn === undefined ? un$Sort(array) : un$Sort(array, comparefn); 9574 9575 var items = []; 9576 var arrayLength = lengthOfArrayLike(array); 9577 var itemsLength, index; 9578 9579 for (index = 0; index < arrayLength; index++) { 9580 if (index in array) push(items, array[index]); 9581 } 9582 9583 internalSort(items, getSortCompare(comparefn)); 9584 9585 itemsLength = items.length; 9586 index = 0; 9587 9588 while (index < itemsLength) array[index] = items[index++]; 9589 while (index < arrayLength) delete array[index++]; 9590 9591 return array; 9592 } 9593}); 9594 9595 9596/***/ }), 9597 9598/***/ 8706: 9599/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9600 9601var setSpecies = __webpack_require__(6340); 9602 9603// `Array[@@species]` getter 9604// https://tc39.es/ecma262/#sec-get-array-@@species 9605setSpecies('Array'); 9606 9607 9608/***/ }), 9609 9610/***/ 561: 9611/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9612 9613"use strict"; 9614 9615var $ = __webpack_require__(2109); 9616var global = __webpack_require__(7854); 9617var toAbsoluteIndex = __webpack_require__(1400); 9618var toIntegerOrInfinity = __webpack_require__(9303); 9619var lengthOfArrayLike = __webpack_require__(6244); 9620var toObject = __webpack_require__(7908); 9621var arraySpeciesCreate = __webpack_require__(5417); 9622var createProperty = __webpack_require__(6135); 9623var arrayMethodHasSpeciesSupport = __webpack_require__(1194); 9624 9625var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice'); 9626 9627var TypeError = global.TypeError; 9628var max = Math.max; 9629var min = Math.min; 9630var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
vendor: 4,210 bytes, lines 9631-9768
9631var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded'; 9632 9633// `Array.prototype.splice` method 9634// https://tc39.es/ecma262/#sec-array.prototype.splice 9635// with adding support of @@species 9636$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { 9637 splice: function splice(start, deleteCount /* , ...items */) { 9638 var O = toObject(this); 9639 var len = lengthOfArrayLike(O); 9640 var actualStart = toAbsoluteIndex(start, len); 9641 var argumentsLength = arguments.length; 9642 var insertCount, actualDeleteCount, A, k, from, to; 9643 if (argumentsLength === 0) { 9644 insertCount = actualDeleteCount = 0; 9645 } else if (argumentsLength === 1) { 9646 insertCount = 0; 9647 actualDeleteCount = len - actualStart; 9648 } else { 9649 insertCount = argumentsLength - 2; 9650 actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); 9651 } 9652 if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) { 9653 throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED); 9654 } 9655 A = arraySpeciesCreate(O, actualDeleteCount); 9656 for (k = 0; k < actualDeleteCount; k++) { 9657 from = actualStart + k; 9658 if (from in O) createProperty(A, k, O[from]); 9659 } 9660 A.length = actualDeleteCount; 9661 if (insertCount < actualDeleteCount) { 9662 for (k = actualStart; k < len - actualDeleteCount; k++) { 9663 from = k + actualDeleteCount; 9664 to = k + insertCount; 9665 if (from in O) O[to] = O[from]; 9666 else delete O[to]; 9667 } 9668 for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1]; 9669 } else if (insertCount > actualDeleteCount) { 9670 for (k = len - actualDeleteCount; k > actualStart; k--) { 9671 from = k + actualDeleteCount - 1; 9672 to = k + insertCount - 1; 9673 if (from in O) O[to] = O[from]; 9674 else delete O[to]; 9675 } 9676 } 9677 for (k = 0; k < insertCount; k++) { 9678 O[k + actualStart] = arguments[k + 2]; 9679 } 9680 O.length = len - actualDeleteCount + insertCount; 9681 return A; 9682 } 9683}); 9684 9685 9686/***/ }), 9687 9688/***/ 9244: 9689/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9690 9691// this method was added to unscopables after implementation 9692// in popular engines, so it's moved to a separate module 9693var addToUnscopables = __webpack_require__(1223); 9694 9695// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables 9696addToUnscopables('flatMap'); 9697 9698 9699/***/ }), 9700 9701/***/ 3792: 9702/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9703 9704// this method was added to unscopables after implementation 9705// in popular engines, so it's moved to a separate module 9706var addToUnscopables = __webpack_require__(1223); 9707 9708// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables 9709addToUnscopables('flat'); 9710 9711 9712/***/ }), 9713 9714/***/ 6716: 9715/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9716 9717var $ = __webpack_require__(2109); 9718var ArrayBufferModule = __webpack_require__(3331); 9719var NATIVE_ARRAY_BUFFER = __webpack_require__(4019); 9720 9721// `DataView` constructor 9722// https://tc39.es/ecma262/#sec-dataview-constructor 9723$({ global: true, forced: !NATIVE_ARRAY_BUFFER }, { 9724 DataView: ArrayBufferModule.DataView 9725}); 9726 9727 9728/***/ }), 9729 9730/***/ 3016: 9731/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9732 9733"use strict"; 9734 9735var $ = __webpack_require__(2109); 9736var uncurryThis = __webpack_require__(1702); 9737var fails = __webpack_require__(7293); 9738 9739var FORCED = fails(function () { 9740 return new Date(16e11).getYear() !== 120; 9741}); 9742 9743var getFullYear = uncurryThis(Date.prototype.getFullYear); 9744 9745// `Date.prototype.getYear` method 9746// https://tc39.es/ecma262/#sec-date.prototype.getyear 9747$({ target: 'Date', proto: true, forced: FORCED }, { 9748 getYear: function getYear() { 9749 return getFullYear(this) - 1900; 9750 } 9751}); 9752 9753 9754/***/ }), 9755 9756/***/ 3843: 9757/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9758 9759var $ = __webpack_require__(2109); 9760var global = __webpack_require__(7854); 9761var uncurryThis = __webpack_require__(1702); 9762 9763var Date = global.Date; 9764var getTime = uncurryThis(Date.prototype.getTime); 9765 9766// `Date.now` method 9767// https://tc39.es/ecma262/#sec-date.now 9768$({ target: 'Date', stat: true }, {
vendor: 12,296 bytes, lines 9769-10174
9769 now: function now() { 9770 return getTime(new Date()); 9771 } 9772}); 9773 9774 9775/***/ }), 9776 9777/***/ 1801: 9778/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9779 9780"use strict"; 9781 9782var $ = __webpack_require__(2109); 9783var uncurryThis = __webpack_require__(1702); 9784var toIntegerOrInfinity = __webpack_require__(9303); 9785 9786var DatePrototype = Date.prototype; 9787var getTime = uncurryThis(DatePrototype.getTime); 9788var setFullYear = uncurryThis(DatePrototype.setFullYear); 9789 9790// `Date.prototype.setYear` method 9791// https://tc39.es/ecma262/#sec-date.prototype.setyear 9792$({ target: 'Date', proto: true }, { 9793 setYear: function setYear(year) { 9794 // validate 9795 getTime(this); 9796 var yi = toIntegerOrInfinity(year); 9797 var yyyy = 0 <= yi && yi <= 99 ? yi + 1900 : yi; 9798 return setFullYear(this, yyyy); 9799 } 9800}); 9801 9802 9803/***/ }), 9804 9805/***/ 9550: 9806/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9807 9808var $ = __webpack_require__(2109); 9809 9810// `Date.prototype.toGMTString` method 9811// https://tc39.es/ecma262/#sec-date.prototype.togmtstring 9812$({ target: 'Date', proto: true }, { 9813 toGMTString: Date.prototype.toUTCString 9814}); 9815 9816 9817/***/ }), 9818 9819/***/ 8733: 9820/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9821 9822var $ = __webpack_require__(2109); 9823var toISOString = __webpack_require__(5573); 9824 9825// `Date.prototype.toISOString` method 9826// https://tc39.es/ecma262/#sec-date.prototype.toisostring 9827// PhantomJS / old WebKit has a broken implementations 9828$({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOString }, { 9829 toISOString: toISOString 9830}); 9831 9832 9833/***/ }), 9834 9835/***/ 5735: 9836/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9837 9838"use strict"; 9839 9840var $ = __webpack_require__(2109); 9841var fails = __webpack_require__(7293); 9842var toObject = __webpack_require__(7908); 9843var toPrimitive = __webpack_require__(7593); 9844 9845var FORCED = fails(function () { 9846 return new Date(NaN).toJSON() !== null 9847 || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; 9848}); 9849 9850// `Date.prototype.toJSON` method 9851// https://tc39.es/ecma262/#sec-date.prototype.tojson 9852$({ target: 'Date', proto: true, forced: FORCED }, { 9853 // eslint-disable-next-line no-unused-vars -- required for `.length` 9854 toJSON: function toJSON(key) { 9855 var O = toObject(this); 9856 var pv = toPrimitive(O, 'number'); 9857 return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); 9858 } 9859}); 9860 9861 9862/***/ }), 9863 9864/***/ 6078: 9865/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9866 9867var hasOwn = __webpack_require__(2597); 9868var redefine = __webpack_require__(1320); 9869var dateToPrimitive = __webpack_require__(8709); 9870var wellKnownSymbol = __webpack_require__(5112); 9871 9872var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); 9873var DatePrototype = Date.prototype; 9874 9875// `Date.prototype[@@toPrimitive]` method 9876// https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive 9877if (!hasOwn(DatePrototype, TO_PRIMITIVE)) { 9878 redefine(DatePrototype, TO_PRIMITIVE, dateToPrimitive); 9879} 9880 9881 9882/***/ }), 9883 9884/***/ 3710: 9885/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9886 9887var uncurryThis = __webpack_require__(1702); 9888var redefine = __webpack_require__(1320); 9889 9890var DatePrototype = Date.prototype; 9891var INVALID_DATE = 'Invalid Date'; 9892var TO_STRING = 'toString'; 9893var un$DateToString = uncurryThis(DatePrototype[TO_STRING]); 9894var getTime = uncurryThis(DatePrototype.getTime); 9895 9896// `Date.prototype.toString` method 9897// https://tc39.es/ecma262/#sec-date.prototype.tostring 9898if (String(new Date(NaN)) != INVALID_DATE) { 9899 redefine(DatePrototype, TO_STRING, function toString() { 9900 var value = getTime(this); 9901 // eslint-disable-next-line no-self-compare -- NaN check 9902 return value === value ? un$DateToString(this) : INVALID_DATE; 9903 }); 9904} 9905 9906 9907/***/ }), 9908 9909/***/ 1703: 9910/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9911 9912/* eslint-disable no-unused-vars -- required for functions `.length` */ 9913var $ = __webpack_require__(2109); 9914var global = __webpack_require__(7854); 9915var apply = __webpack_require__(2104); 9916var wrapErrorConstructorWithCause = __webpack_require__(9191); 9917 9918var WEB_ASSEMBLY = 'WebAssembly'; 9919var WebAssembly = global[WEB_ASSEMBLY]; 9920 9921var FORCED = Error('e', { cause: 7 }).cause !== 7; 9922 9923var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) { 9924 var O = {}; 9925 O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED); 9926 $({ global: true, forced: FORCED }, O); 9927}; 9928 9929var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) { 9930 if (WebAssembly && WebAssembly[ERROR_NAME]) { 9931 var O = {}; 9932 O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED); 9933 $({ target: WEB_ASSEMBLY, stat: true, forced: FORCED }, O); 9934 } 9935}; 9936 9937// https://github.com/tc39/proposal-error-cause 9938exportGlobalErrorCauseWrapper('Error', function (init) { 9939 return function Error(message) { return apply(init, this, arguments); }; 9940}); 9941exportGlobalErrorCauseWrapper('EvalError', function (init) { 9942 return function EvalError(message) { return apply(init, this, arguments); }; 9943}); 9944exportGlobalErrorCauseWrapper('RangeError', function (init) { 9945 return function RangeError(message) { return apply(init, this, arguments); }; 9946}); 9947exportGlobalErrorCauseWrapper('ReferenceError', function (init) { 9948 return function ReferenceError(message) { return apply(init, this, arguments); }; 9949}); 9950exportGlobalErrorCauseWrapper('SyntaxError', function (init) { 9951 return function SyntaxError(message) { return apply(init, this, arguments); }; 9952}); 9953exportGlobalErrorCauseWrapper('TypeError', function (init) { 9954 return function TypeError(message) { return apply(init, this, arguments); }; 9955}); 9956exportGlobalErrorCauseWrapper('URIError', function (init) { 9957 return function URIError(message) { return apply(init, this, arguments); }; 9958}); 9959exportWebAssemblyErrorCauseWrapper('CompileError', function (init) { 9960 return function CompileError(message) { return apply(init, this, arguments); }; 9961}); 9962exportWebAssemblyErrorCauseWrapper('LinkError', function (init) { 9963 return function LinkError(message) { return apply(init, this, arguments); }; 9964}); 9965exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) { 9966 return function RuntimeError(message) { return apply(init, this, arguments); }; 9967}); 9968 9969 9970/***/ }), 9971 9972/***/ 6647: 9973/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9974 9975var redefine = __webpack_require__(1320); 9976var errorToString = __webpack_require__(7762); 9977 9978var ErrorPrototype = Error.prototype; 9979 9980// `Error.prototype.toString` method fix 9981// https://tc39.es/ecma262/#sec-error.prototype.tostring 9982if (ErrorPrototype.toString !== errorToString) { 9983 redefine(ErrorPrototype, 'toString', errorToString); 9984} 9985 9986 9987/***/ }), 9988 9989/***/ 2130: 9990/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 9991 9992"use strict"; 9993 9994var $ = __webpack_require__(2109); 9995var uncurryThis = __webpack_require__(1702); 9996var toString = __webpack_require__(1340); 9997 9998var charAt = uncurryThis(''.charAt); 9999var charCodeAt = uncurryThis(''.charCodeAt); 10000var exec = uncurryThis(/./.exec); 10001var numberToString = uncurryThis(1.0.toString); 10002var toUpperCase = uncurryThis(''.toUpperCase); 10003 10004var raw = /[\w*+\-./@]/; 10005 10006var hex = function (code, length) { 10007 var result = numberToString(code, 16); 10008 while (result.length < length) result = '0' + result; 10009 return result; 10010}; 10011 10012// `escape` method 10013// https://tc39.es/ecma262/#sec-escape-string 10014$({ global: true }, { 10015 escape: function escape(string) { 10016 var str = toString(string); 10017 var result = ''; 10018 var length = str.length; 10019 var index = 0; 10020 var chr, code; 10021 while (index < length) { 10022 chr = charAt(str, index++); 10023 if (exec(raw, chr)) { 10024 result += chr; 10025 } else { 10026 code = charCodeAt(chr, 0); 10027 if (code < 256) { 10028 result += '%' + hex(code, 2); 10029 } else { 10030 result += '%u' + toUpperCase(hex(code, 4)); 10031 } 10032 } 10033 } return result; 10034 } 10035}); 10036 10037 10038/***/ }), 10039 10040/***/ 4812: 10041/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10042 10043var $ = __webpack_require__(2109); 10044var bind = __webpack_require__(7065); 10045 10046// `Function.prototype.bind` method 10047// https://tc39.es/ecma262/#sec-function.prototype.bind 10048$({ target: 'Function', proto: true, forced: Function.bind !== bind }, { 10049 bind: bind 10050}); 10051 10052 10053/***/ }), 10054 10055/***/ 4855: 10056/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10057 10058"use strict"; 10059 10060var isCallable = __webpack_require__(614); 10061var isObject = __webpack_require__(111); 10062var definePropertyModule = __webpack_require__(3070); 10063var getPrototypeOf = __webpack_require__(9518); 10064var wellKnownSymbol = __webpack_require__(5112); 10065 10066var HAS_INSTANCE = wellKnownSymbol('hasInstance'); 10067var FunctionPrototype = Function.prototype; 10068 10069// `Function.prototype[@@hasInstance]` method 10070// https://tc39.es/ecma262/#sec-function.prototype-@@hasinstance 10071if (!(HAS_INSTANCE in FunctionPrototype)) { 10072 definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, { value: function (O) { 10073 if (!isCallable(this) || !isObject(O)) return false; 10074 var P = this.prototype; 10075 if (!isObject(P)) return O instanceof this; 10076 // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: 10077 while (O = getPrototypeOf(O)) if (P === O) return true; 10078 return false; 10079 } }); 10080} 10081 10082 10083/***/ }), 10084 10085/***/ 8309: 10086/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10087 10088var DESCRIPTORS = __webpack_require__(9781); 10089var FUNCTION_NAME_EXISTS = (__webpack_require__(6530).EXISTS); 10090var uncurryThis = __webpack_require__(1702); 10091var defineProperty = (__webpack_require__(3070).f); 10092 10093var FunctionPrototype = Function.prototype; 10094var functionToString = uncurryThis(FunctionPrototype.toString); 10095var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/; 10096var regExpExec = uncurryThis(nameRE.exec); 10097var NAME = 'name'; 10098 10099// Function instances `.name` property 10100// https://tc39.es/ecma262/#sec-function-instances-name 10101if (DESCRIPTORS && !FUNCTION_NAME_EXISTS) { 10102 defineProperty(FunctionPrototype, NAME, { 10103 configurable: true, 10104 get: function () { 10105 try { 10106 return regExpExec(nameRE, functionToString(this))[1]; 10107 } catch (error) { 10108 return ''; 10109 } 10110 } 10111 }); 10112} 10113 10114 10115/***/ }), 10116 10117/***/ 5837: 10118/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10119 10120var $ = __webpack_require__(2109); 10121var global = __webpack_require__(7854); 10122 10123// `globalThis` object 10124// https://tc39.es/ecma262/#sec-globalthis 10125$({ global: true }, { 10126 globalThis: global 10127}); 10128 10129 10130/***/ }), 10131 10132/***/ 8862: 10133/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10134 10135var $ = __webpack_require__(2109); 10136var global = __webpack_require__(7854); 10137var getBuiltIn = __webpack_require__(5005); 10138var apply = __webpack_require__(2104); 10139var uncurryThis = __webpack_require__(1702); 10140var fails = __webpack_require__(7293); 10141 10142var Array = global.Array; 10143var $stringify = getBuiltIn('JSON', 'stringify'); 10144var exec = uncurryThis(/./.exec); 10145var charAt = uncurryThis(''.charAt); 10146var charCodeAt = uncurryThis(''.charCodeAt); 10147var replace = uncurryThis(''.replace); 10148var numberToString = uncurryThis(1.0.toString); 10149 10150var tester = /[\uD800-\uDFFF]/g; 10151var low = /^[\uD800-\uDBFF]$/; 10152var hi = /^[\uDC00-\uDFFF]$/; 10153 10154var fix = function (match, offset, string) { 10155 var prev = charAt(string, offset - 1); 10156 var next = charAt(string, offset + 1); 10157 if ((exec(low, match) && !exec(hi, next)) || (exec(hi, match) && !exec(low, prev))) { 10158 return '\\u' + numberToString(charCodeAt(match, 0), 16); 10159 } return match; 10160}; 10161 10162var FORCED = fails(function () { 10163 return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"' 10164 || $stringify('\uDEAD') !== '"\\udead"'; 10165}); 10166 10167if ($stringify) { 10168 // `JSON.stringify` method 10169 // https://tc39.es/ecma262/#sec-json.stringify 10170 // https://github.com/tc39/proposal-well-formed-stringify 10171 $({ target: 'JSON', stat: true, forced: FORCED }, { 10172 // eslint-disable-next-line no-unused-vars -- required for `.length` 10173 stringify: function stringify(it, replacer, space) { 10174 for (var i = 0, l = arguments.length, args = Array(l); i < l; i++) args[i] = arguments[i];
10175 var result = apply($stringify, null, args); 10176 return typeof result == 'string' ? replace(result, tester, fix) : result; 10177 } 10178 }); 10179} 10180 10181 10182/***/ }), 10183 10184/***/ 3706: 10185/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10186 10187var global = __webpack_require__(7854); 10188var setToStringTag = __webpack_require__(8003); 10189 10190// JSON[@@toStringTag] property 10191// https://tc39.es/ecma262/#sec-json-@@tostringtag 10192setToStringTag(global.JSON, 'JSON', true); 10193 10194 10195/***/ }), 10196 10197/***/ 1532: 10198/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10199 10200"use strict"; 10201 10202var collection = __webpack_require__(7710); 10203var collectionStrong = __webpack_require__(5631); 10204 10205// `Map` constructor 10206// https://tc39.es/ecma262/#sec-map-objects 10207collection('Map', function (init) { 10208 return function Map() { return init(this, arguments.length ? arguments[0] : undefined); }; 10209}, collectionStrong); 10210 10211 10212/***/ }), 10213 10214/***/ 9752: 10215/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10216 10217var $ = __webpack_require__(2109); 10218var log1p = __webpack_require__(6513); 10219 10220// eslint-disable-next-line es/no-math-acosh -- required for testing 10221var $acosh = Math.acosh; 10222var log = Math.log; 10223var sqrt = Math.sqrt; 10224var LN2 = Math.LN2; 10225 10226var FORCED = !$acosh 10227 // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 10228 || Math.floor($acosh(Number.MAX_VALUE)) != 710 10229 // Tor Browser bug: Math.acosh(Infinity) -> NaN 10230 || $acosh(Infinity) != Infinity; 10231 10232// `Math.acosh` method 10233// https://tc39.es/ecma262/#sec-math.acosh 10234$({ target: 'Math', stat: true, forced: FORCED }, { 10235 acosh: function acosh(x) { 10236 return (x = +x) < 1 ? NaN : x > 94906265.62425156 10237 ? log(x) + LN2 10238 : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1)); 10239 } 10240}); 10241 10242 10243/***/ }), 10244 10245/***/ 2376: 10246/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10247 10248var $ = __webpack_require__(2109); 10249 10250// eslint-disable-next-line es/no-math-asinh -- required for testing 10251var $asinh = Math.asinh; 10252var log = Math.log; 10253var sqrt = Math.sqrt; 10254 10255function asinh(x) { 10256 return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : log(x + sqrt(x * x + 1)); 10257} 10258 10259// `Math.asinh` method 10260// https://tc39.es/ecma262/#sec-math.asinh 10261// Tor Browser bug: Math.asinh(0) -> -0 10262$({ target: 'Math', stat: true, forced: !($asinh && 1 / $asinh(0) > 0) }, { 10263 asinh: asinh 10264}); 10265 10266 10267/***/ }), 10268 10269/***/ 3181: 10270/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10271 10272var $ = __webpack_require__(2109); 10273 10274// eslint-disable-next-line es/no-math-atanh -- required for testing 10275var $atanh = Math.atanh; 10276var log = Math.log; 10277 10278// `Math.atanh` method 10279// https://tc39.es/ecma262/#sec-math.atanh 10280// Tor Browser bug: Math.atanh(-0) -> 0 10281$({ target: 'Math', stat: true, forced: !($atanh && 1 / $atanh(-0) < 0) }, { 10282 atanh: function atanh(x) { 10283 return (x = +x) == 0 ? x : log((1 + x) / (1 - x)) / 2; 10284 } 10285}); 10286 10287 10288/***/ }), 10289 10290/***/ 3484: 10291/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10292 10293var $ = __webpack_require__(2109); 10294var sign = __webpack_require__(4310); 10295 10296var abs = Math.abs; 10297var pow = Math.pow; 10298 10299// `Math.cbrt` method 10300// https://tc39.es/ecma262/#sec-math.cbrt 10301$({ target: 'Math', stat: true }, { 10302 cbrt: function cbrt(x) { 10303 return sign(x = +x) * pow(abs(x), 1 / 3); 10304 } 10305}); 10306 10307 10308/***/ }), 10309 10310/***/ 2388: 10311/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10312 10313var $ = __webpack_require__(2109); 10314 10315var floor = Math.floor; 10316var log = Math.log; 10317var LOG2E = Math.LOG2E; 10318 10319// `Math.clz32` method 10320// https://tc39.es/ecma262/#sec-math.clz32 10321$({ target: 'Math', stat: true }, { 10322 clz32: function clz32(x) { 10323 return (x >>>= 0) ? 31 - floor(log(x + 0.5) * LOG2E) : 32; 10324 } 10325}); 10326 10327 10328/***/ }), 10329 10330/***/ 8621: 10331/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10332 10333var $ = __webpack_require__(2109); 10334var expm1 = __webpack_require__(6736); 10335 10336// eslint-disable-next-line es/no-math-cosh -- required for testing 10337var $cosh = Math.cosh; 10338var abs = Math.abs; 10339var E = Math.E; 10340 10341// `Math.cosh` method 10342// https://tc39.es/ecma262/#sec-math.cosh 10343$({ target: 'Math', stat: true, forced: !$cosh || $cosh(710) === Infinity }, { 10344 cosh: function cosh(x) { 10345 var t = expm1(abs(x) - 1) + 1; 10346 return (t + 1 / (t * E * E)) * (E / 2); 10347 } 10348}); 10349 10350 10351/***/ }), 10352 10353/***/ 403: 10354/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10355 10356var $ = __webpack_require__(2109); 10357var expm1 = __webpack_require__(6736); 10358 10359// `Math.expm1` method 10360// https://tc39.es/ecma262/#sec-math.expm1 10361// eslint-disable-next-line es/no-math-expm1 -- required for testing 10362$({ target: 'Math', stat: true, forced: expm1 != Math.expm1 }, { expm1: expm1 }); 10363 10364 10365/***/ }), 10366 10367/***/ 4755: 10368/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10369 10370var $ = __webpack_require__(2109); 10371var fround = __webpack_require__(6130); 10372 10373// `Math.fround` method 10374// https://tc39.es/ecma262/#sec-math.fround 10375$({ target: 'Math', stat: true }, { fround: fround }); 10376 10377 10378/***/ }), 10379 10380/***/ 5438: 10381/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10382 10383var $ = __webpack_require__(2109); 10384 10385// eslint-disable-next-line es/no-math-hypot -- required for testing 10386var $hypot = Math.hypot; 10387var abs = Math.abs; 10388var sqrt = Math.sqrt; 10389 10390// Chrome 77 bug 10391// https://bugs.chromium.org/p/v8/issues/detail?id=9546 10392var BUGGY = !!$hypot && $hypot(Infinity, NaN) !== Infinity; 10393 10394// `Math.hypot` method 10395// https://tc39.es/ecma262/#sec-math.hypot 10396$({ target: 'Math', stat: true, forced: BUGGY }, { 10397 // eslint-disable-next-line no-unused-vars -- required for `.length` 10398 hypot: function hypot(value1, value2) { 10399 var sum = 0; 10400 var i = 0; 10401 var aLen = arguments.length; 10402 var larg = 0; 10403 var arg, div; 10404 while (i < aLen) { 10405 arg = abs(arguments[i++]); 10406 if (larg < arg) { 10407 div = larg / arg; 10408 sum = sum * div * div + 1; 10409 larg = arg; 10410 } else if (arg > 0) { 10411 div = arg / larg; 10412 sum += div * div; 10413 } else sum += arg; 10414 } 10415 return larg === Infinity ? Infinity : larg * sqrt(sum); 10416 } 10417}); 10418 10419 10420/***/ }), 10421 10422/***/ 332: 10423/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10424 10425var $ = __webpack_require__(2109); 10426var fails = __webpack_require__(7293); 10427 10428// eslint-disable-next-line es/no-math-imul -- required for testing 10429var $imul = Math.imul; 10430 10431var FORCED = fails(function () { 10432 return $imul(0xFFFFFFFF, 5) != -5 || $imul.length != 2; 10433}); 10434 10435// `Math.imul` method 10436// https://tc39.es/ecma262/#sec-math.imul
10437// some WebKit versions fails with big numbers, some has wrong arity 10438$({ target: 'Math', stat: true, forced: FORCED }, { 10439 imul: function imul(x, y) { 10440 var UINT16 = 0xFFFF; 10441 var xn = +x; 10442 var yn = +y; 10443 var xl = UINT16 & xn; 10444 var yl = UINT16 & yn; 10445 return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); 10446 } 10447}); 10448 10449 10450/***/ }), 10451 10452/***/ 658: 10453/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10454 10455var $ = __webpack_require__(2109); 10456var log10 = __webpack_require__(202); 10457 10458// `Math.log10` method 10459// https://tc39.es/ecma262/#sec-math.log10 10460$({ target: 'Math', stat: true }, { 10461 log10: log10 10462}); 10463 10464 10465/***/ }), 10466 10467/***/ 197: 10468/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10469 10470var $ = __webpack_require__(2109); 10471var log1p = __webpack_require__(6513); 10472 10473// `Math.log1p` method 10474// https://tc39.es/ecma262/#sec-math.log1p 10475$({ target: 'Math', stat: true }, { log1p: log1p }); 10476 10477 10478/***/ }), 10479 10480/***/ 4914: 10481/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10482 10483var $ = __webpack_require__(2109); 10484 10485var log = Math.log; 10486var LN2 = Math.LN2; 10487 10488// `Math.log2` method 10489// https://tc39.es/ecma262/#sec-math.log2 10490$({ target: 'Math', stat: true }, { 10491 log2: function log2(x) { 10492 return log(x) / LN2; 10493 } 10494}); 10495 10496 10497/***/ }), 10498 10499/***/ 2420: 10500/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10501 10502var $ = __webpack_require__(2109); 10503var sign = __webpack_require__(4310); 10504 10505// `Math.sign` method 10506// https://tc39.es/ecma262/#sec-math.sign 10507$({ target: 'Math', stat: true }, { 10508 sign: sign 10509}); 10510 10511 10512/***/ }), 10513 10514/***/ 160: 10515/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10516 10517var $ = __webpack_require__(2109); 10518var fails = __webpack_require__(7293); 10519var expm1 = __webpack_require__(6736); 10520 10521var abs = Math.abs; 10522var exp = Math.exp; 10523var E = Math.E; 10524 10525var FORCED = fails(function () { 10526 // eslint-disable-next-line es/no-math-sinh -- required for testing 10527 return Math.sinh(-2e-17) != -2e-17; 10528}); 10529 10530// `Math.sinh` method 10531// https://tc39.es/ecma262/#sec-math.sinh 10532// V8 near Chromium 38 has a problem with very small numbers 10533$({ target: 'Math', stat: true, forced: FORCED }, { 10534 sinh: function sinh(x) { 10535 return abs(x = +x) < 1 ? (expm1(x) - expm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (E / 2); 10536 } 10537}); 10538 10539 10540/***/ }), 10541 10542/***/ 970: 10543/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10544 10545var $ = __webpack_require__(2109); 10546var expm1 = __webpack_require__(6736); 10547 10548var exp = Math.exp; 10549 10550// `Math.tanh` method 10551// https://tc39.es/ecma262/#sec-math.tanh 10552$({ target: 'Math', stat: true }, { 10553 tanh: function tanh(x) { 10554 var a = expm1(x = +x); 10555 var b = expm1(-x); 10556 return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x)); 10557 } 10558}); 10559 10560 10561/***/ }), 10562 10563/***/ 2703: 10564/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10565 10566var setToStringTag = __webpack_require__(8003); 10567 10568// Math[@@toStringTag] property 10569// https://tc39.es/ecma262/#sec-math-@@tostringtag 10570setToStringTag(Math, 'Math', true); 10571 10572 10573/***/ }), 10574 10575/***/ 3689: 10576/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10577 10578var $ = __webpack_require__(2109); 10579 10580var ceil = Math.ceil; 10581var floor = Math.floor; 10582 10583// `Math.trunc` method 10584// https://tc39.es/ecma262/#sec-math.trunc 10585$({ target: 'Math', stat: true }, { 10586 trunc: function trunc(it) { 10587 return (it > 0 ? floor : ceil)(it); 10588 } 10589}); 10590 10591 10592/***/ }), 10593 10594/***/ 9653: 10595/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10596 10597"use strict"; 10598 10599var DESCRIPTORS = __webpack_require__(9781); 10600var global = __webpack_require__(7854); 10601var uncurryThis = __webpack_require__(1702); 10602var isForced = __webpack_require__(4705); 10603var redefine = __webpack_require__(1320); 10604var hasOwn = __webpack_require__(2597); 10605var inheritIfRequired = __webpack_require__(9587); 10606var isPrototypeOf = __webpack_require__(7976); 10607var isSymbol = __webpack_require__(2190); 10608var toPrimitive = __webpack_require__(7593); 10609var fails = __webpack_require__(7293); 10610var getOwnPropertyNames = (__webpack_require__(8006).f); 10611var getOwnPropertyDescriptor = (__webpack_require__(1236).f); 10612var defineProperty = (__webpack_require__(3070).f); 10613var thisNumberValue = __webpack_require__(863); 10614var trim = (__webpack_require__(3111).trim); 10615 10616var NUMBER = 'Number'; 10617var NativeNumber = global[NUMBER]; 10618var NumberPrototype = NativeNumber.prototype; 10619var TypeError = global.TypeError; 10620var arraySlice = uncurryThis(''.slice);
vendor: 4,549 bytes, lines 10621-10759
10621var charCodeAt = uncurryThis(''.charCodeAt); 10622 10623// `ToNumeric` abstract operation 10624// https://tc39.es/ecma262/#sec-tonumeric 10625var toNumeric = function (value) { 10626 var primValue = toPrimitive(value, 'number'); 10627 return typeof primValue == 'bigint' ? primValue : toNumber(primValue); 10628}; 10629 10630// `ToNumber` abstract operation 10631// https://tc39.es/ecma262/#sec-tonumber 10632var toNumber = function (argument) { 10633 var it = toPrimitive(argument, 'number'); 10634 var first, third, radix, maxCode, digits, length, index, code; 10635 if (isSymbol(it)) throw TypeError('Cannot convert a Symbol value to a number'); 10636 if (typeof it == 'string' && it.length > 2) { 10637 it = trim(it); 10638 first = charCodeAt(it, 0); 10639 if (first === 43 || first === 45) { 10640 third = charCodeAt(it, 2); 10641 if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix 10642 } else if (first === 48) { 10643 switch (charCodeAt(it, 1)) { 10644 case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i 10645 case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i 10646 default: return +it; 10647 } 10648 digits = arraySlice(it, 2); 10649 length = digits.length; 10650 for (index = 0; index < length; index++) { 10651 code = charCodeAt(digits, index); 10652 // parseInt parses a string to a first unavailable symbol 10653 // but ToNumber should return NaN if a string contains unavailable symbols 10654 if (code < 48 || code > maxCode) return NaN; 10655 } return parseInt(digits, radix); 10656 } 10657 } return +it; 10658}; 10659 10660// `Number` constructor 10661// https://tc39.es/ecma262/#sec-number-constructor 10662if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) { 10663 var NumberWrapper = function Number(value) { 10664 var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value)); 10665 var dummy = this; 10666 // check on 1..constructor(foo) case 10667 return isPrototypeOf(NumberPrototype, dummy) && fails(function () { thisNumberValue(dummy); }) 10668 ? inheritIfRequired(Object(n), dummy, NumberWrapper) : n; 10669 }; 10670 for (var keys = DESCRIPTORS ? getOwnPropertyNames(NativeNumber) : ( 10671 // ES3: 10672 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + 10673 // ES2015 (in case, if modules with ES2015 Number statics required before): 10674 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' + 10675 // ESNext 10676 'fromString,range' 10677 ).split(','), j = 0, key; keys.length > j; j++) { 10678 if (hasOwn(NativeNumber, key = keys[j]) && !hasOwn(NumberWrapper, key)) { 10679 defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key)); 10680 } 10681 } 10682 NumberWrapper.prototype = NumberPrototype; 10683 NumberPrototype.constructor = NumberWrapper; 10684 redefine(global, NUMBER, NumberWrapper); 10685} 10686 10687 10688/***/ }), 10689 10690/***/ 3299: 10691/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10692 10693var $ = __webpack_require__(2109); 10694 10695// `Number.EPSILON` constant 10696// https://tc39.es/ecma262/#sec-number.epsilon 10697$({ target: 'Number', stat: true }, { 10698 EPSILON: Math.pow(2, -52) 10699}); 10700 10701 10702/***/ }), 10703 10704/***/ 5192: 10705/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10706 10707var $ = __webpack_require__(2109); 10708var numberIsFinite = __webpack_require__(7023); 10709 10710// `Number.isFinite` method 10711// https://tc39.es/ecma262/#sec-number.isfinite 10712$({ target: 'Number', stat: true }, { isFinite: numberIsFinite }); 10713 10714 10715/***/ }), 10716 10717/***/ 3161: 10718/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10719 10720var $ = __webpack_require__(2109); 10721var isIntegralNumber = __webpack_require__(5988); 10722 10723// `Number.isInteger` method 10724// https://tc39.es/ecma262/#sec-number.isinteger 10725$({ target: 'Number', stat: true }, { 10726 isInteger: isIntegralNumber 10727}); 10728 10729 10730/***/ }), 10731 10732/***/ 4048: 10733/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10734 10735var $ = __webpack_require__(2109); 10736 10737// `Number.isNaN` method 10738// https://tc39.es/ecma262/#sec-number.isnan 10739$({ target: 'Number', stat: true }, { 10740 isNaN: function isNaN(number) { 10741 // eslint-disable-next-line no-self-compare -- NaN check 10742 return number != number; 10743 } 10744}); 10745 10746 10747/***/ }), 10748 10749/***/ 8285: 10750/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10751 10752var $ = __webpack_require__(2109); 10753var isIntegralNumber = __webpack_require__(5988); 10754 10755var abs = Math.abs; 10756 10757// `Number.isSafeInteger` method 10758// https://tc39.es/ecma262/#sec-number.issafeinteger 10759$({ target: 'Number', stat: true }, {
vendor: 12,740 bytes, lines 10760-11216
10760 isSafeInteger: function isSafeInteger(number) { 10761 return isIntegralNumber(number) && abs(number) <= 0x1FFFFFFFFFFFFF; 10762 } 10763}); 10764 10765 10766/***/ }), 10767 10768/***/ 4363: 10769/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10770 10771var $ = __webpack_require__(2109); 10772 10773// `Number.MAX_SAFE_INTEGER` constant 10774// https://tc39.es/ecma262/#sec-number.max_safe_integer 10775$({ target: 'Number', stat: true }, { 10776 MAX_SAFE_INTEGER: 0x1FFFFFFFFFFFFF 10777}); 10778 10779 10780/***/ }), 10781 10782/***/ 5994: 10783/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10784 10785var $ = __webpack_require__(2109); 10786 10787// `Number.MIN_SAFE_INTEGER` constant 10788// https://tc39.es/ecma262/#sec-number.min_safe_integer 10789$({ target: 'Number', stat: true }, { 10790 MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF 10791}); 10792 10793 10794/***/ }), 10795 10796/***/ 1874: 10797/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10798 10799var $ = __webpack_require__(2109); 10800var parseFloat = __webpack_require__(2814); 10801 10802// `Number.parseFloat` method 10803// https://tc39.es/ecma262/#sec-number.parseFloat 10804// eslint-disable-next-line es/no-number-parsefloat -- required for testing 10805$({ target: 'Number', stat: true, forced: Number.parseFloat != parseFloat }, { 10806 parseFloat: parseFloat 10807}); 10808 10809 10810/***/ }), 10811 10812/***/ 9494: 10813/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10814 10815var $ = __webpack_require__(2109); 10816var parseInt = __webpack_require__(3009); 10817 10818// `Number.parseInt` method 10819// https://tc39.es/ecma262/#sec-number.parseint 10820// eslint-disable-next-line es/no-number-parseint -- required for testing 10821$({ target: 'Number', stat: true, forced: Number.parseInt != parseInt }, { 10822 parseInt: parseInt 10823}); 10824 10825 10826/***/ }), 10827 10828/***/ 1354: 10829/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10830 10831"use strict"; 10832 10833var $ = __webpack_require__(2109); 10834var global = __webpack_require__(7854); 10835var uncurryThis = __webpack_require__(1702); 10836var toIntegerOrInfinity = __webpack_require__(9303); 10837var thisNumberValue = __webpack_require__(863); 10838var $repeat = __webpack_require__(8415); 10839var log10 = __webpack_require__(202); 10840var fails = __webpack_require__(7293); 10841 10842var RangeError = global.RangeError; 10843var String = global.String; 10844var isFinite = global.isFinite; 10845var abs = Math.abs; 10846var floor = Math.floor; 10847var pow = Math.pow; 10848var round = Math.round; 10849var un$ToExponential = uncurryThis(1.0.toExponential); 10850var repeat = uncurryThis($repeat); 10851var stringSlice = uncurryThis(''.slice); 10852 10853// Edge 17- 10854var ROUNDS_PROPERLY = un$ToExponential(-6.9e-11, 4) === '-6.9000e-11' 10855 // IE11- && Edge 14- 10856 && un$ToExponential(1.255, 2) === '1.25e+0' 10857 // FF86-, V8 ~ Chrome 49-50 10858 && un$ToExponential(12345, 3) === '1.235e+4' 10859 // FF86-, V8 ~ Chrome 49-50 10860 && un$ToExponential(25, 0) === '3e+1'; 10861 10862// IE8- 10863var THROWS_ON_INFINITY_FRACTION = fails(function () { 10864 un$ToExponential(1, Infinity); 10865}) && fails(function () { 10866 un$ToExponential(1, -Infinity); 10867}); 10868 10869// Safari <11 && FF <50 10870var PROPER_NON_FINITE_THIS_CHECK = !fails(function () { 10871 un$ToExponential(Infinity, Infinity); 10872}) && !fails(function () { 10873 un$ToExponential(NaN, Infinity); 10874}); 10875 10876var FORCED = !ROUNDS_PROPERLY || !THROWS_ON_INFINITY_FRACTION || !PROPER_NON_FINITE_THIS_CHECK; 10877 10878// `Number.prototype.toExponential` method 10879// https://tc39.es/ecma262/#sec-number.prototype.toexponential 10880$({ target: 'Number', proto: true, forced: FORCED }, { 10881 toExponential: function toExponential(fractionDigits) { 10882 var x = thisNumberValue(this); 10883 if (fractionDigits === undefined) return un$ToExponential(x); 10884 var f = toIntegerOrInfinity(fractionDigits); 10885 if (!isFinite(x)) return String(x); 10886 // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation 10887 if (f < 0 || f > 20) throw RangeError('Incorrect fraction digits'); 10888 if (ROUNDS_PROPERLY) return un$ToExponential(x, f); 10889 var s = ''; 10890 var m = ''; 10891 var e = 0; 10892 var c = ''; 10893 var d = ''; 10894 if (x < 0) { 10895 s = '-'; 10896 x = -x; 10897 } 10898 if (x === 0) { 10899 e = 0; 10900 m = repeat('0', f + 1); 10901 } else { 10902 // this block is based on https://gist.github.com/SheetJSDev/1100ad56b9f856c95299ed0e068eea08 10903 // TODO: improve accuracy with big fraction digits 10904 var l = log10(x); 10905 e = floor(l); 10906 var n = 0; 10907 var w = pow(10, e - f); 10908 n = round(x / w); 10909 if (2 * x >= (2 * n + 1) * w) { 10910 n += 1; 10911 } 10912 if (n >= pow(10, f + 1)) { 10913 n /= 10; 10914 e += 1; 10915 } 10916 m = String(n); 10917 } 10918 if (f !== 0) { 10919 m = stringSlice(m, 0, 1) + '.' + stringSlice(m, 1); 10920 } 10921 if (e === 0) { 10922 c = '+'; 10923 d = '0'; 10924 } else { 10925 c = e > 0 ? '+' : '-'; 10926 d = String(abs(e)); 10927 } 10928 m += 'e' + c + d; 10929 return s + m; 10930 } 10931}); 10932 10933 10934/***/ }), 10935 10936/***/ 6977: 10937/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 10938 10939"use strict"; 10940 10941var $ = __webpack_require__(2109); 10942var global = __webpack_require__(7854); 10943var uncurryThis = __webpack_require__(1702); 10944var toIntegerOrInfinity = __webpack_require__(9303); 10945var thisNumberValue = __webpack_require__(863); 10946var $repeat = __webpack_require__(8415); 10947var fails = __webpack_require__(7293); 10948 10949var RangeError = global.RangeError; 10950var String = global.String; 10951var floor = Math.floor; 10952var repeat = uncurryThis($repeat); 10953var stringSlice = uncurryThis(''.slice); 10954var un$ToFixed = uncurryThis(1.0.toFixed); 10955 10956var pow = function (x, n, acc) { 10957 return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); 10958}; 10959 10960var log = function (x) { 10961 var n = 0; 10962 var x2 = x; 10963 while (x2 >= 4096) { 10964 n += 12; 10965 x2 /= 4096; 10966 } 10967 while (x2 >= 2) { 10968 n += 1; 10969 x2 /= 2; 10970 } return n; 10971}; 10972 10973var multiply = function (data, n, c) { 10974 var index = -1; 10975 var c2 = c; 10976 while (++index < 6) { 10977 c2 += n * data[index]; 10978 data[index] = c2 % 1e7; 10979 c2 = floor(c2 / 1e7); 10980 } 10981}; 10982 10983var divide = function (data, n) { 10984 var index = 6; 10985 var c = 0; 10986 while (--index >= 0) { 10987 c += data[index]; 10988 data[index] = floor(c / n); 10989 c = (c % n) * 1e7; 10990 } 10991}; 10992 10993var dataToString = function (data) { 10994 var index = 6; 10995 var s = ''; 10996 while (--index >= 0) { 10997 if (s !== '' || index === 0 || data[index] !== 0) { 10998 var t = String(data[index]); 10999 s = s === '' ? t : s + repeat('0', 7 - t.length) + t; 11000 } 11001 } return s; 11002}; 11003 11004var FORCED = fails(function () { 11005 return un$ToFixed(0.00008, 3) !== '0.000' || 11006 un$ToFixed(0.9, 0) !== '1' || 11007 un$ToFixed(1.255, 2) !== '1.25' || 11008 un$ToFixed(1000000000000000128.0, 0) !== '1000000000000000128'; 11009}) || !fails(function () { 11010 // V8 ~ Android 4.3- 11011 un$ToFixed({}); 11012}); 11013 11014// `Number.prototype.toFixed` method 11015// https://tc39.es/ecma262/#sec-number.prototype.tofixed 11016$({ target: 'Number', proto: true, forced: FORCED }, { 11017 toFixed: function toFixed(fractionDigits) { 11018 var number = thisNumberValue(this); 11019 var fractDigits = toIntegerOrInfinity(fractionDigits); 11020 var data = [0, 0, 0, 0, 0, 0]; 11021 var sign = ''; 11022 var result = '0'; 11023 var e, z, j, k; 11024 11025 // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation 11026 if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits'); 11027 // eslint-disable-next-line no-self-compare -- NaN check 11028 if (number != number) return 'NaN'; 11029 if (number <= -1e21 || number >= 1e21) return String(number); 11030 if (number < 0) { 11031 sign = '-'; 11032 number = -number; 11033 } 11034 if (number > 1e-21) { 11035 e = log(number * pow(2, 69, 1)) - 69; 11036 z = e < 0 ? number * pow(2, -e, 1) : number / pow(2, e, 1); 11037 z *= 0x10000000000000; 11038 e = 52 - e; 11039 if (e > 0) { 11040 multiply(data, 0, z); 11041 j = fractDigits; 11042 while (j >= 7) { 11043 multiply(data, 1e7, 0); 11044 j -= 7; 11045 } 11046 multiply(data, pow(10, j, 1), 0); 11047 j = e - 1; 11048 while (j >= 23) { 11049 divide(data, 1 << 23); 11050 j -= 23; 11051 } 11052 divide(data, 1 << j); 11053 multiply(data, 1, 1); 11054 divide(data, 2); 11055 result = dataToString(data); 11056 } else { 11057 multiply(data, 0, z); 11058 multiply(data, 1 << -e, 0); 11059 result = dataToString(data) + repeat('0', fractDigits); 11060 } 11061 } 11062 if (fractDigits > 0) { 11063 k = result.length; 11064 result = sign + (k <= fractDigits 11065 ? '0.' + repeat('0', fractDigits - k) + result 11066 : stringSlice(result, 0, k - fractDigits) + '.' + stringSlice(result, k - fractDigits)); 11067 } else { 11068 result = sign + result; 11069 } return result; 11070 } 11071}); 11072 11073 11074/***/ }), 11075 11076/***/ 5147: 11077/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11078 11079"use strict"; 11080 11081var $ = __webpack_require__(2109); 11082var uncurryThis = __webpack_require__(1702); 11083var fails = __webpack_require__(7293); 11084var thisNumberValue = __webpack_require__(863); 11085 11086var un$ToPrecision = uncurryThis(1.0.toPrecision); 11087 11088var FORCED = fails(function () { 11089 // IE7- 11090 return un$ToPrecision(1, undefined) !== '1'; 11091}) || !fails(function () { 11092 // V8 ~ Android 4.3- 11093 un$ToPrecision({}); 11094}); 11095 11096// `Number.prototype.toPrecision` method 11097// https://tc39.es/ecma262/#sec-number.prototype.toprecision 11098$({ target: 'Number', proto: true, forced: FORCED }, { 11099 toPrecision: function toPrecision(precision) { 11100 return precision === undefined 11101 ? un$ToPrecision(thisNumberValue(this)) 11102 : un$ToPrecision(thisNumberValue(this), precision); 11103 } 11104}); 11105 11106 11107/***/ }), 11108 11109/***/ 9601: 11110/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11111 11112var $ = __webpack_require__(2109); 11113var assign = __webpack_require__(1574); 11114 11115// `Object.assign` method 11116// https://tc39.es/ecma262/#sec-object.assign 11117// eslint-disable-next-line es/no-object-assign -- required for testing 11118$({ target: 'Object', stat: true, forced: Object.assign !== assign }, { 11119 assign: assign 11120}); 11121 11122 11123/***/ }), 11124 11125/***/ 8011: 11126/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11127 11128var $ = __webpack_require__(2109); 11129var DESCRIPTORS = __webpack_require__(9781); 11130var create = __webpack_require__(30); 11131 11132// `Object.create` method 11133// https://tc39.es/ecma262/#sec-object.create 11134$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, { 11135 create: create 11136}); 11137 11138 11139/***/ }), 11140 11141/***/ 9595: 11142/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11143 11144"use strict"; 11145 11146var $ = __webpack_require__(2109); 11147var DESCRIPTORS = __webpack_require__(9781); 11148var FORCED = __webpack_require__(9026); 11149var aCallable = __webpack_require__(9662); 11150var toObject = __webpack_require__(7908); 11151var definePropertyModule = __webpack_require__(3070); 11152 11153// `Object.prototype.__defineGetter__` method 11154// https://tc39.es/ecma262/#sec-object.prototype.__defineGetter__ 11155if (DESCRIPTORS) { 11156 $({ target: 'Object', proto: true, forced: FORCED }, { 11157 __defineGetter__: function __defineGetter__(P, getter) { 11158 definePropertyModule.f(toObject(this), P, { get: aCallable(getter), enumerable: true, configurable: true }); 11159 } 11160 }); 11161} 11162 11163 11164/***/ }), 11165 11166/***/ 3321: 11167/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11168 11169var $ = __webpack_require__(2109); 11170var DESCRIPTORS = __webpack_require__(9781); 11171var defineProperties = (__webpack_require__(6048).f); 11172 11173// `Object.defineProperties` method 11174// https://tc39.es/ecma262/#sec-object.defineproperties 11175// eslint-disable-next-line es/no-object-defineproperties -- safe 11176$({ target: 'Object', stat: true, forced: Object.defineProperties !== defineProperties, sham: !DESCRIPTORS }, { 11177 defineProperties: defineProperties 11178}); 11179 11180 11181/***/ }), 11182 11183/***/ 9070: 11184/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11185 11186var $ = __webpack_require__(2109); 11187var DESCRIPTORS = __webpack_require__(9781); 11188var defineProperty = (__webpack_require__(3070).f); 11189 11190// `Object.defineProperty` method 11191// https://tc39.es/ecma262/#sec-object.defineproperty 11192// eslint-disable-next-line es/no-object-defineproperty -- safe 11193$({ target: 'Object', stat: true, forced: Object.defineProperty !== defineProperty, sham: !DESCRIPTORS }, { 11194 defineProperty: defineProperty 11195}); 11196 11197 11198/***/ }), 11199 11200/***/ 5500: 11201/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11202 11203"use strict"; 11204 11205var $ = __webpack_require__(2109); 11206var DESCRIPTORS = __webpack_require__(9781); 11207var FORCED = __webpack_require__(9026); 11208var aCallable = __webpack_require__(9662); 11209var toObject = __webpack_require__(7908); 11210var definePropertyModule = __webpack_require__(3070); 11211 11212// `Object.prototype.__defineSetter__` method 11213// https://tc39.es/ecma262/#sec-object.prototype.__defineSetter__ 11214if (DESCRIPTORS) { 11215 $({ target: 'Object', proto: true, forced: FORCED }, { 11216 __defineSetter__: function __defineSetter__(P, setter) {
vendor: 16,311 bytes, lines 11217-11771
11217 definePropertyModule.f(toObject(this), P, { set: aCallable(setter), enumerable: true, configurable: true }); 11218 } 11219 }); 11220} 11221 11222 11223/***/ }), 11224 11225/***/ 9720: 11226/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11227 11228var $ = __webpack_require__(2109); 11229var $entries = (__webpack_require__(4699).entries); 11230 11231// `Object.entries` method 11232// https://tc39.es/ecma262/#sec-object.entries 11233$({ target: 'Object', stat: true }, { 11234 entries: function entries(O) { 11235 return $entries(O); 11236 } 11237}); 11238 11239 11240/***/ }), 11241 11242/***/ 3371: 11243/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11244 11245var $ = __webpack_require__(2109); 11246var FREEZING = __webpack_require__(6677); 11247var fails = __webpack_require__(7293); 11248var isObject = __webpack_require__(111); 11249var onFreeze = (__webpack_require__(2423).onFreeze); 11250 11251// eslint-disable-next-line es/no-object-freeze -- safe 11252var $freeze = Object.freeze; 11253var FAILS_ON_PRIMITIVES = fails(function () { $freeze(1); }); 11254 11255// `Object.freeze` method 11256// https://tc39.es/ecma262/#sec-object.freeze 11257$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { 11258 freeze: function freeze(it) { 11259 return $freeze && isObject(it) ? $freeze(onFreeze(it)) : it; 11260 } 11261}); 11262 11263 11264/***/ }), 11265 11266/***/ 8559: 11267/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11268 11269var $ = __webpack_require__(2109); 11270var iterate = __webpack_require__(408); 11271var createProperty = __webpack_require__(6135); 11272 11273// `Object.fromEntries` method 11274// https://github.com/tc39/proposal-object-from-entries 11275$({ target: 'Object', stat: true }, { 11276 fromEntries: function fromEntries(iterable) { 11277 var obj = {}; 11278 iterate(iterable, function (k, v) { 11279 createProperty(obj, k, v); 11280 }, { AS_ENTRIES: true }); 11281 return obj; 11282 } 11283}); 11284 11285 11286/***/ }), 11287 11288/***/ 5003: 11289/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11290 11291var $ = __webpack_require__(2109); 11292var fails = __webpack_require__(7293); 11293var toIndexedObject = __webpack_require__(5656); 11294var nativeGetOwnPropertyDescriptor = (__webpack_require__(1236).f); 11295var DESCRIPTORS = __webpack_require__(9781); 11296 11297var FAILS_ON_PRIMITIVES = fails(function () { nativeGetOwnPropertyDescriptor(1); }); 11298var FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES; 11299 11300// `Object.getOwnPropertyDescriptor` method 11301// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor 11302$({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, { 11303 getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) { 11304 return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key); 11305 } 11306}); 11307 11308 11309/***/ }), 11310 11311/***/ 9337: 11312/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11313 11314var $ = __webpack_require__(2109); 11315var DESCRIPTORS = __webpack_require__(9781); 11316var ownKeys = __webpack_require__(3887); 11317var toIndexedObject = __webpack_require__(5656); 11318var getOwnPropertyDescriptorModule = __webpack_require__(1236); 11319var createProperty = __webpack_require__(6135); 11320 11321// `Object.getOwnPropertyDescriptors` method 11322// https://tc39.es/ecma262/#sec-object.getownpropertydescriptors 11323$({ target: 'Object', stat: true, sham: !DESCRIPTORS }, { 11324 getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { 11325 var O = toIndexedObject(object); 11326 var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; 11327 var keys = ownKeys(O); 11328 var result = {}; 11329 var index = 0; 11330 var key, descriptor; 11331 while (keys.length > index) { 11332 descriptor = getOwnPropertyDescriptor(O, key = keys[index++]); 11333 if (descriptor !== undefined) createProperty(result, key, descriptor); 11334 } 11335 return result; 11336 } 11337}); 11338 11339 11340/***/ }), 11341 11342/***/ 6210: 11343/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11344 11345var $ = __webpack_require__(2109); 11346var fails = __webpack_require__(7293); 11347var getOwnPropertyNames = (__webpack_require__(1156).f); 11348 11349// eslint-disable-next-line es/no-object-getownpropertynames -- required for testing 11350var FAILS_ON_PRIMITIVES = fails(function () { return !Object.getOwnPropertyNames(1); }); 11351 11352// `Object.getOwnPropertyNames` method 11353// https://tc39.es/ecma262/#sec-object.getownpropertynames 11354$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { 11355 getOwnPropertyNames: getOwnPropertyNames 11356}); 11357 11358 11359/***/ }), 11360 11361/***/ 489: 11362/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11363 11364var $ = __webpack_require__(2109); 11365var fails = __webpack_require__(7293); 11366var toObject = __webpack_require__(7908); 11367var nativeGetPrototypeOf = __webpack_require__(9518); 11368var CORRECT_PROTOTYPE_GETTER = __webpack_require__(8544); 11369 11370var FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); }); 11371 11372// `Object.getPrototypeOf` method 11373// https://tc39.es/ecma262/#sec-object.getprototypeof 11374$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, { 11375 getPrototypeOf: function getPrototypeOf(it) { 11376 return nativeGetPrototypeOf(toObject(it)); 11377 } 11378}); 11379 11380 11381 11382/***/ }), 11383 11384/***/ 6314: 11385/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11386 11387var $ = __webpack_require__(2109); 11388var hasOwn = __webpack_require__(2597); 11389 11390// `Object.hasOwn` method 11391// https://github.com/tc39/proposal-accessible-object-hasownproperty 11392$({ target: 'Object', stat: true }, { 11393 hasOwn: hasOwn 11394}); 11395 11396 11397/***/ }), 11398 11399/***/ 1825: 11400/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11401 11402var $ = __webpack_require__(2109); 11403var $isExtensible = __webpack_require__(2050); 11404 11405// `Object.isExtensible` method 11406// https://tc39.es/ecma262/#sec-object.isextensible 11407// eslint-disable-next-line es/no-object-isextensible -- safe 11408$({ target: 'Object', stat: true, forced: Object.isExtensible !== $isExtensible }, { 11409 isExtensible: $isExtensible 11410}); 11411 11412 11413/***/ }), 11414 11415/***/ 8410: 11416/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11417 11418var $ = __webpack_require__(2109); 11419var fails = __webpack_require__(7293); 11420var isObject = __webpack_require__(111); 11421var classof = __webpack_require__(4326); 11422var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(7556); 11423 11424// eslint-disable-next-line es/no-object-isfrozen -- safe 11425var $isFrozen = Object.isFrozen; 11426var FAILS_ON_PRIMITIVES = fails(function () { $isFrozen(1); }); 11427 11428// `Object.isFrozen` method 11429// https://tc39.es/ecma262/#sec-object.isfrozen 11430$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE }, { 11431 isFrozen: function isFrozen(it) { 11432 if (!isObject(it)) return true; 11433 if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return true; 11434 return $isFrozen ? $isFrozen(it) : false; 11435 } 11436}); 11437 11438 11439/***/ }), 11440 11441/***/ 2200: 11442/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11443 11444var $ = __webpack_require__(2109); 11445var fails = __webpack_require__(7293); 11446var isObject = __webpack_require__(111); 11447var classof = __webpack_require__(4326); 11448var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(7556); 11449 11450// eslint-disable-next-line es/no-object-issealed -- safe 11451var $isSealed = Object.isSealed; 11452var FAILS_ON_PRIMITIVES = fails(function () { $isSealed(1); }); 11453 11454// `Object.isSealed` method 11455// https://tc39.es/ecma262/#sec-object.issealed 11456$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE }, { 11457 isSealed: function isSealed(it) { 11458 if (!isObject(it)) return true; 11459 if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) == 'ArrayBuffer') return true; 11460 return $isSealed ? $isSealed(it) : false; 11461 } 11462}); 11463 11464 11465/***/ }), 11466 11467/***/ 3304: 11468/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11469 11470var $ = __webpack_require__(2109); 11471var is = __webpack_require__(1150); 11472 11473// `Object.is` method 11474// https://tc39.es/ecma262/#sec-object.is 11475$({ target: 'Object', stat: true }, { 11476 is: is 11477}); 11478 11479 11480/***/ }), 11481 11482/***/ 7941: 11483/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11484 11485var $ = __webpack_require__(2109); 11486var toObject = __webpack_require__(7908); 11487var nativeKeys = __webpack_require__(1956); 11488var fails = __webpack_require__(7293); 11489 11490var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); }); 11491 11492// `Object.keys` method 11493// https://tc39.es/ecma262/#sec-object.keys 11494$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { 11495 keys: function keys(it) { 11496 return nativeKeys(toObject(it)); 11497 } 11498}); 11499 11500 11501/***/ }), 11502 11503/***/ 4869: 11504/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11505 11506"use strict"; 11507 11508var $ = __webpack_require__(2109); 11509var DESCRIPTORS = __webpack_require__(9781); 11510var FORCED = __webpack_require__(9026); 11511var toObject = __webpack_require__(7908); 11512var toPropertyKey = __webpack_require__(4948); 11513var getPrototypeOf = __webpack_require__(9518); 11514var getOwnPropertyDescriptor = (__webpack_require__(1236).f); 11515 11516// `Object.prototype.__lookupGetter__` method 11517// https://tc39.es/ecma262/#sec-object.prototype.__lookupGetter__ 11518if (DESCRIPTORS) { 11519 $({ target: 'Object', proto: true, forced: FORCED }, { 11520 __lookupGetter__: function __lookupGetter__(P) { 11521 var O = toObject(this); 11522 var key = toPropertyKey(P); 11523 var desc; 11524 do { 11525 if (desc = getOwnPropertyDescriptor(O, key)) return desc.get; 11526 } while (O = getPrototypeOf(O)); 11527 } 11528 }); 11529} 11530 11531 11532/***/ }), 11533 11534/***/ 3952: 11535/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11536 11537"use strict"; 11538 11539var $ = __webpack_require__(2109); 11540var DESCRIPTORS = __webpack_require__(9781); 11541var FORCED = __webpack_require__(9026); 11542var toObject = __webpack_require__(7908); 11543var toPropertyKey = __webpack_require__(4948); 11544var getPrototypeOf = __webpack_require__(9518); 11545var getOwnPropertyDescriptor = (__webpack_require__(1236).f); 11546 11547// `Object.prototype.__lookupSetter__` method 11548// https://tc39.es/ecma262/#sec-object.prototype.__lookupSetter__ 11549if (DESCRIPTORS) { 11550 $({ target: 'Object', proto: true, forced: FORCED }, { 11551 __lookupSetter__: function __lookupSetter__(P) { 11552 var O = toObject(this); 11553 var key = toPropertyKey(P); 11554 var desc; 11555 do { 11556 if (desc = getOwnPropertyDescriptor(O, key)) return desc.set; 11557 } while (O = getPrototypeOf(O)); 11558 } 11559 }); 11560} 11561 11562 11563/***/ }), 11564 11565/***/ 7227: 11566/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11567 11568var $ = __webpack_require__(2109); 11569var isObject = __webpack_require__(111); 11570var onFreeze = (__webpack_require__(2423).onFreeze); 11571var FREEZING = __webpack_require__(6677); 11572var fails = __webpack_require__(7293); 11573 11574// eslint-disable-next-line es/no-object-preventextensions -- safe 11575var $preventExtensions = Object.preventExtensions; 11576var FAILS_ON_PRIMITIVES = fails(function () { $preventExtensions(1); }); 11577 11578// `Object.preventExtensions` method 11579// https://tc39.es/ecma262/#sec-object.preventextensions 11580$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { 11581 preventExtensions: function preventExtensions(it) { 11582 return $preventExtensions && isObject(it) ? $preventExtensions(onFreeze(it)) : it; 11583 } 11584}); 11585 11586 11587/***/ }), 11588 11589/***/ 514: 11590/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11591 11592var $ = __webpack_require__(2109); 11593var isObject = __webpack_require__(111); 11594var onFreeze = (__webpack_require__(2423).onFreeze); 11595var FREEZING = __webpack_require__(6677); 11596var fails = __webpack_require__(7293); 11597 11598// eslint-disable-next-line es/no-object-seal -- safe 11599var $seal = Object.seal; 11600var FAILS_ON_PRIMITIVES = fails(function () { $seal(1); }); 11601 11602// `Object.seal` method 11603// https://tc39.es/ecma262/#sec-object.seal 11604$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { 11605 seal: function seal(it) { 11606 return $seal && isObject(it) ? $seal(onFreeze(it)) : it; 11607 } 11608}); 11609 11610 11611/***/ }), 11612 11613/***/ 8304: 11614/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11615 11616var $ = __webpack_require__(2109); 11617var setPrototypeOf = __webpack_require__(7674); 11618 11619// `Object.setPrototypeOf` method 11620// https://tc39.es/ecma262/#sec-object.setprototypeof 11621$({ target: 'Object', stat: true }, { 11622 setPrototypeOf: setPrototypeOf 11623}); 11624 11625 11626/***/ }), 11627 11628/***/ 1539: 11629/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11630 11631var TO_STRING_TAG_SUPPORT = __webpack_require__(1694); 11632var redefine = __webpack_require__(1320); 11633var toString = __webpack_require__(288); 11634 11635// `Object.prototype.toString` method 11636// https://tc39.es/ecma262/#sec-object.prototype.tostring 11637if (!TO_STRING_TAG_SUPPORT) { 11638 redefine(Object.prototype, 'toString', toString, { unsafe: true }); 11639} 11640 11641 11642/***/ }), 11643 11644/***/ 6833: 11645/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11646 11647var $ = __webpack_require__(2109); 11648var $values = (__webpack_require__(4699).values); 11649 11650// `Object.values` method 11651// https://tc39.es/ecma262/#sec-object.values 11652$({ target: 'Object', stat: true }, { 11653 values: function values(O) { 11654 return $values(O); 11655 } 11656}); 11657 11658 11659/***/ }), 11660 11661/***/ 4678: 11662/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11663 11664var $ = __webpack_require__(2109); 11665var $parseFloat = __webpack_require__(2814); 11666 11667// `parseFloat` method 11668// https://tc39.es/ecma262/#sec-parsefloat-string 11669$({ global: true, forced: parseFloat != $parseFloat }, { 11670 parseFloat: $parseFloat 11671}); 11672 11673 11674/***/ }), 11675 11676/***/ 1058: 11677/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11678 11679var $ = __webpack_require__(2109); 11680var $parseInt = __webpack_require__(3009); 11681 11682// `parseInt` method 11683// https://tc39.es/ecma262/#sec-parseint-string-radix 11684$({ global: true, forced: parseInt != $parseInt }, { 11685 parseInt: $parseInt 11686}); 11687 11688 11689/***/ }), 11690 11691/***/ 7922: 11692/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11693 11694"use strict"; 11695 11696var $ = __webpack_require__(2109); 11697var call = __webpack_require__(6916); 11698var aCallable = __webpack_require__(9662); 11699var newPromiseCapabilityModule = __webpack_require__(8523); 11700var perform = __webpack_require__(2534); 11701var iterate = __webpack_require__(408); 11702 11703// `Promise.allSettled` method 11704// https://tc39.es/ecma262/#sec-promise.allsettled 11705$({ target: 'Promise', stat: true }, { 11706 allSettled: function allSettled(iterable) { 11707 var C = this; 11708 var capability = newPromiseCapabilityModule.f(C); 11709 var resolve = capability.resolve; 11710 var reject = capability.reject; 11711 var result = perform(function () { 11712 var promiseResolve = aCallable(C.resolve); 11713 var values = []; 11714 var counter = 0; 11715 var remaining = 1; 11716 iterate(iterable, function (promise) { 11717 var index = counter++; 11718 var alreadyCalled = false; 11719 remaining++; 11720 call(promiseResolve, C, promise).then(function (value) { 11721 if (alreadyCalled) return; 11722 alreadyCalled = true; 11723 values[index] = { status: 'fulfilled', value: value }; 11724 --remaining || resolve(values); 11725 }, function (error) { 11726 if (alreadyCalled) return; 11727 alreadyCalled = true; 11728 values[index] = { status: 'rejected', reason: error }; 11729 --remaining || resolve(values); 11730 }); 11731 }); 11732 --remaining || resolve(values); 11733 }); 11734 if (result.error) reject(result.value); 11735 return capability.promise; 11736 } 11737}); 11738 11739 11740/***/ }), 11741 11742/***/ 4668: 11743/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11744 11745"use strict"; 11746 11747var $ = __webpack_require__(2109); 11748var aCallable = __webpack_require__(9662); 11749var getBuiltIn = __webpack_require__(5005); 11750var call = __webpack_require__(6916); 11751var newPromiseCapabilityModule = __webpack_require__(8523); 11752var perform = __webpack_require__(2534); 11753var iterate = __webpack_require__(408); 11754 11755var PROMISE_ANY_ERROR = 'No one promise resolved'; 11756 11757// `Promise.any` method 11758// https://tc39.es/ecma262/#sec-promise.any 11759$({ target: 'Promise', stat: true }, { 11760 any: function any(iterable) { 11761 var C = this; 11762 var AggregateError = getBuiltIn('AggregateError'); 11763 var capability = newPromiseCapabilityModule.f(C); 11764 var resolve = capability.resolve; 11765 var reject = capability.reject; 11766 var result = perform(function () { 11767 var promiseResolve = aCallable(C.resolve); 11768 var errors = []; 11769 var counter = 0; 11770 var remaining = 1; 11771 var alreadyResolved = false;
vendor: 1,838 bytes, lines 11772-11822
11772 iterate(iterable, function (promise) { 11773 var index = counter++; 11774 var alreadyRejected = false; 11775 remaining++; 11776 call(promiseResolve, C, promise).then(function (value) { 11777 if (alreadyRejected || alreadyResolved) return; 11778 alreadyResolved = true; 11779 resolve(value); 11780 }, function (error) { 11781 if (alreadyRejected || alreadyResolved) return; 11782 alreadyRejected = true; 11783 errors[index] = error; 11784 --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR)); 11785 }); 11786 }); 11787 --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR)); 11788 }); 11789 if (result.error) reject(result.value); 11790 return capability.promise; 11791 } 11792}); 11793 11794 11795/***/ }), 11796 11797/***/ 7727: 11798/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11799 11800"use strict"; 11801 11802var $ = __webpack_require__(2109); 11803var IS_PURE = __webpack_require__(1913); 11804var NativePromise = __webpack_require__(3366); 11805var fails = __webpack_require__(7293); 11806var getBuiltIn = __webpack_require__(5005); 11807var isCallable = __webpack_require__(614); 11808var speciesConstructor = __webpack_require__(6707); 11809var promiseResolve = __webpack_require__(9478); 11810var redefine = __webpack_require__(1320); 11811 11812// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829 11813var NON_GENERIC = !!NativePromise && fails(function () { 11814 // eslint-disable-next-line unicorn/no-thenable -- required for testing 11815 NativePromise.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ }); 11816}); 11817 11818// `Promise.prototype.finally` method 11819// https://tc39.es/ecma262/#sec-promise.prototype.finally 11820$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, { 11821 'finally': function (onFinally) { 11822 var C = speciesConstructor(this, getBuiltIn('Promise'));
vendor: 4,187 bytes, lines 11823-11924
11823 var isFunction = isCallable(onFinally); 11824 return this.then( 11825 isFunction ? function (x) { 11826 return promiseResolve(C, onFinally()).then(function () { return x; }); 11827 } : onFinally, 11828 isFunction ? function (e) { 11829 return promiseResolve(C, onFinally()).then(function () { throw e; }); 11830 } : onFinally 11831 ); 11832 } 11833}); 11834 11835// makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then` 11836if (!IS_PURE && isCallable(NativePromise)) { 11837 var method = getBuiltIn('Promise').prototype['finally']; 11838 if (NativePromise.prototype['finally'] !== method) { 11839 redefine(NativePromise.prototype, 'finally', method, { unsafe: true }); 11840 } 11841} 11842 11843 11844/***/ }), 11845 11846/***/ 8674: 11847/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 11848 11849"use strict"; 11850 11851var $ = __webpack_require__(2109); 11852var IS_PURE = __webpack_require__(1913); 11853var global = __webpack_require__(7854); 11854var getBuiltIn = __webpack_require__(5005); 11855var call = __webpack_require__(6916); 11856var NativePromise = __webpack_require__(3366); 11857var redefine = __webpack_require__(1320); 11858var redefineAll = __webpack_require__(2248); 11859var setPrototypeOf = __webpack_require__(7674); 11860var setToStringTag = __webpack_require__(8003); 11861var setSpecies = __webpack_require__(6340); 11862var aCallable = __webpack_require__(9662); 11863var isCallable = __webpack_require__(614); 11864var isObject = __webpack_require__(111); 11865var anInstance = __webpack_require__(5787); 11866var inspectSource = __webpack_require__(2788); 11867var iterate = __webpack_require__(408); 11868var checkCorrectnessOfIteration = __webpack_require__(7072); 11869var speciesConstructor = __webpack_require__(6707); 11870var task = (__webpack_require__(261).set); 11871var microtask = __webpack_require__(5948); 11872var promiseResolve = __webpack_require__(9478); 11873var hostReportErrors = __webpack_require__(842); 11874var newPromiseCapabilityModule = __webpack_require__(8523); 11875var perform = __webpack_require__(2534); 11876var Queue = __webpack_require__(8572); 11877var InternalStateModule = __webpack_require__(9909); 11878var isForced = __webpack_require__(4705); 11879var wellKnownSymbol = __webpack_require__(5112); 11880var IS_BROWSER = __webpack_require__(7871); 11881var IS_NODE = __webpack_require__(5268); 11882var V8_VERSION = __webpack_require__(7392); 11883 11884var SPECIES = wellKnownSymbol('species'); 11885var PROMISE = 'Promise'; 11886 11887var getInternalState = InternalStateModule.getterFor(PROMISE); 11888var setInternalState = InternalStateModule.set; 11889var getInternalPromiseState = InternalStateModule.getterFor(PROMISE); 11890var NativePromisePrototype = NativePromise && NativePromise.prototype; 11891var PromiseConstructor = NativePromise; 11892var PromisePrototype = NativePromisePrototype; 11893var TypeError = global.TypeError; 11894var document = global.document; 11895var process = global.process; 11896var newPromiseCapability = newPromiseCapabilityModule.f; 11897var newGenericPromiseCapability = newPromiseCapability; 11898 11899var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent); 11900var NATIVE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent); 11901var UNHANDLED_REJECTION = 'unhandledrejection'; 11902var REJECTION_HANDLED = 'rejectionhandled'; 11903var PENDING = 0; 11904var FULFILLED = 1; 11905var REJECTED = 2; 11906var HANDLED = 1; 11907var UNHANDLED = 2; 11908var SUBCLASSING = false; 11909 11910var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen; 11911 11912var FORCED = isForced(PROMISE, function () { 11913 var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(PromiseConstructor); 11914 var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(PromiseConstructor); 11915 // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables 11916 // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 11917 // We can't detect it synchronously, so just check versions 11918 if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true; 11919 // We need Promise#finally in the pure version for preventing prototype pollution 11920 if (IS_PURE && !PromisePrototype['finally']) return true; 11921 // We can't use @@species feature detection in V8 since it causes 11922 // deoptimization and performance degradation 11923 // https://github.com/zloirock/core-js/issues/679 11924 if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
vendor: 10,898 bytes, lines 11925-12264
11925 // Detect correctness of subclassing with @@species support 11926 var promise = new PromiseConstructor(function (resolve) { resolve(1); }); 11927 var FakePromise = function (exec) { 11928 exec(function () { /* empty */ }, function () { /* empty */ }); 11929 }; 11930 var constructor = promise.constructor = {}; 11931 constructor[SPECIES] = FakePromise; 11932 SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise; 11933 if (!SUBCLASSING) return true; 11934 // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test 11935 return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_REJECTION_EVENT; 11936}); 11937 11938var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) { 11939 PromiseConstructor.all(iterable)['catch'](function () { /* empty */ }); 11940}); 11941 11942// helpers 11943var isThenable = function (it) { 11944 var then; 11945 return isObject(it) && isCallable(then = it.then) ? then : false; 11946}; 11947 11948var callReaction = function (reaction, state) { 11949 var value = state.value; 11950 var ok = state.state == FULFILLED; 11951 var handler = ok ? reaction.ok : reaction.fail; 11952 var resolve = reaction.resolve; 11953 var reject = reaction.reject; 11954 var domain = reaction.domain; 11955 var result, then, exited; 11956 try { 11957 if (handler) { 11958 if (!ok) { 11959 if (state.rejection === UNHANDLED) onHandleUnhandled(state); 11960 state.rejection = HANDLED; 11961 } 11962 if (handler === true) result = value; 11963 else { 11964 if (domain) domain.enter(); 11965 result = handler(value); // can throw 11966 if (domain) { 11967 domain.exit(); 11968 exited = true; 11969 } 11970 } 11971 if (result === reaction.promise) { 11972 reject(TypeError('Promise-chain cycle')); 11973 } else if (then = isThenable(result)) { 11974 call(then, result, resolve, reject); 11975 } else resolve(result); 11976 } else reject(value); 11977 } catch (error) { 11978 if (domain && !exited) domain.exit(); 11979 reject(error); 11980 } 11981}; 11982 11983var notify = function (state, isReject) { 11984 if (state.notified) return; 11985 state.notified = true; 11986 microtask(function () { 11987 var reactions = state.reactions; 11988 var reaction; 11989 while (reaction = reactions.get()) { 11990 callReaction(reaction, state); 11991 } 11992 state.notified = false; 11993 if (isReject && !state.rejection) onUnhandled(state); 11994 }); 11995}; 11996 11997var dispatchEvent = function (name, promise, reason) { 11998 var event, handler; 11999 if (DISPATCH_EVENT) { 12000 event = document.createEvent('Event'); 12001 event.promise = promise; 12002 event.reason = reason; 12003 event.initEvent(name, false, true); 12004 global.dispatchEvent(event); 12005 } else event = { promise: promise, reason: reason }; 12006 if (!NATIVE_REJECTION_EVENT && (handler = global['on' + name])) handler(event); 12007 else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason); 12008}; 12009 12010var onUnhandled = function (state) { 12011 call(task, global, function () { 12012 var promise = state.facade; 12013 var value = state.value; 12014 var IS_UNHANDLED = isUnhandled(state); 12015 var result; 12016 if (IS_UNHANDLED) { 12017 result = perform(function () { 12018 if (IS_NODE) { 12019 process.emit('unhandledRejection', value, promise); 12020 } else dispatchEvent(UNHANDLED_REJECTION, promise, value); 12021 }); 12022 // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should 12023 state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED; 12024 if (result.error) throw result.value; 12025 } 12026 }); 12027}; 12028 12029var isUnhandled = function (state) { 12030 return state.rejection !== HANDLED && !state.parent; 12031}; 12032 12033var onHandleUnhandled = function (state) { 12034 call(task, global, function () { 12035 var promise = state.facade; 12036 if (IS_NODE) { 12037 process.emit('rejectionHandled', promise); 12038 } else dispatchEvent(REJECTION_HANDLED, promise, state.value); 12039 }); 12040}; 12041 12042var bind = function (fn, state, unwrap) { 12043 return function (value) { 12044 fn(state, value, unwrap); 12045 }; 12046}; 12047 12048var internalReject = function (state, value, unwrap) { 12049 if (state.done) return; 12050 state.done = true; 12051 if (unwrap) state = unwrap; 12052 state.value = value; 12053 state.state = REJECTED; 12054 notify(state, true); 12055}; 12056 12057var internalResolve = function (state, value, unwrap) { 12058 if (state.done) return; 12059 state.done = true; 12060 if (unwrap) state = unwrap; 12061 try { 12062 if (state.facade === value) throw TypeError("Promise can't be resolved itself"); 12063 var then = isThenable(value); 12064 if (then) { 12065 microtask(function () { 12066 var wrapper = { done: false }; 12067 try { 12068 call(then, value, 12069 bind(internalResolve, wrapper, state), 12070 bind(internalReject, wrapper, state) 12071 ); 12072 } catch (error) { 12073 internalReject(wrapper, error, state); 12074 } 12075 }); 12076 } else { 12077 state.value = value; 12078 state.state = FULFILLED; 12079 notify(state, false); 12080 } 12081 } catch (error) { 12082 internalReject({ done: false }, error, state); 12083 } 12084}; 12085 12086// constructor polyfill 12087if (FORCED) { 12088 // 25.4.3.1 Promise(executor) 12089 PromiseConstructor = function Promise(executor) { 12090 anInstance(this, PromisePrototype); 12091 aCallable(executor); 12092 call(Internal, this); 12093 var state = getInternalState(this); 12094 try { 12095 executor(bind(internalResolve, state), bind(internalReject, state)); 12096 } catch (error) { 12097 internalReject(state, error); 12098 } 12099 }; 12100 PromisePrototype = PromiseConstructor.prototype; 12101 // eslint-disable-next-line no-unused-vars -- required for `.length` 12102 Internal = function Promise(executor) { 12103 setInternalState(this, { 12104 type: PROMISE, 12105 done: false, 12106 notified: false, 12107 parent: false, 12108 reactions: new Queue(), 12109 rejection: false, 12110 state: PENDING, 12111 value: undefined 12112 }); 12113 }; 12114 Internal.prototype = redefineAll(PromisePrototype, { 12115 // `Promise.prototype.then` method 12116 // https://tc39.es/ecma262/#sec-promise.prototype.then 12117 // eslint-disable-next-line unicorn/no-thenable -- safe 12118 then: function then(onFulfilled, onRejected) { 12119 var state = getInternalPromiseState(this); 12120 var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor)); 12121 state.parent = true; 12122 reaction.ok = isCallable(onFulfilled) ? onFulfilled : true; 12123 reaction.fail = isCallable(onRejected) && onRejected; 12124 reaction.domain = IS_NODE ? process.domain : undefined; 12125 if (state.state == PENDING) state.reactions.add(reaction); 12126 else microtask(function () { 12127 callReaction(reaction, state); 12128 }); 12129 return reaction.promise; 12130 }, 12131 // `Promise.prototype.catch` method 12132 // https://tc39.es/ecma262/#sec-promise.prototype.catch 12133 'catch': function (onRejected) { 12134 return this.then(undefined, onRejected); 12135 } 12136 }); 12137 OwnPromiseCapability = function () { 12138 var promise = new Internal(); 12139 var state = getInternalState(promise); 12140 this.promise = promise; 12141 this.resolve = bind(internalResolve, state); 12142 this.reject = bind(internalReject, state); 12143 }; 12144 newPromiseCapabilityModule.f = newPromiseCapability = function (C) { 12145 return C === PromiseConstructor || C === PromiseWrapper 12146 ? new OwnPromiseCapability(C) 12147 : newGenericPromiseCapability(C); 12148 }; 12149 12150 if (!IS_PURE && isCallable(NativePromise) && NativePromisePrototype !== Object.prototype) { 12151 nativeThen = NativePromisePrototype.then; 12152 12153 if (!SUBCLASSING) { 12154 // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs 12155 redefine(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) { 12156 var that = this; 12157 return new PromiseConstructor(function (resolve, reject) { 12158 call(nativeThen, that, resolve, reject); 12159 }).then(onFulfilled, onRejected); 12160 // https://github.com/zloirock/core-js/issues/640 12161 }, { unsafe: true }); 12162 12163 // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then` 12164 redefine(NativePromisePrototype, 'catch', PromisePrototype['catch'], { unsafe: true }); 12165 } 12166 12167 // make `.constructor === Promise` work for native promise-based APIs 12168 try { 12169 delete NativePromisePrototype.constructor; 12170 } catch (error) { /* empty */ } 12171 12172 // make `instanceof Promise` work for native promise-based APIs 12173 if (setPrototypeOf) { 12174 setPrototypeOf(NativePromisePrototype, PromisePrototype); 12175 } 12176 } 12177} 12178 12179$({ global: true, wrap: true, forced: FORCED }, { 12180 Promise: PromiseConstructor 12181}); 12182 12183setToStringTag(PromiseConstructor, PROMISE, false, true); 12184setSpecies(PROMISE); 12185 12186PromiseWrapper = getBuiltIn(PROMISE); 12187 12188// statics 12189$({ target: PROMISE, stat: true, forced: FORCED }, { 12190 // `Promise.reject` method 12191 // https://tc39.es/ecma262/#sec-promise.reject 12192 reject: function reject(r) { 12193 var capability = newPromiseCapability(this); 12194 call(capability.reject, undefined, r); 12195 return capability.promise; 12196 } 12197}); 12198 12199$({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, { 12200 // `Promise.resolve` method 12201 // https://tc39.es/ecma262/#sec-promise.resolve 12202 resolve: function resolve(x) { 12203 return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x); 12204 } 12205}); 12206 12207$({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, { 12208 // `Promise.all` method 12209 // https://tc39.es/ecma262/#sec-promise.all 12210 all: function all(iterable) { 12211 var C = this; 12212 var capability = newPromiseCapability(C); 12213 var resolve = capability.resolve; 12214 var reject = capability.reject; 12215 var result = perform(function () { 12216 var $promiseResolve = aCallable(C.resolve); 12217 var values = []; 12218 var counter = 0; 12219 var remaining = 1; 12220 iterate(iterable, function (promise) { 12221 var index = counter++; 12222 var alreadyCalled = false; 12223 remaining++; 12224 call($promiseResolve, C, promise).then(function (value) { 12225 if (alreadyCalled) return; 12226 alreadyCalled = true; 12227 values[index] = value; 12228 --remaining || resolve(values); 12229 }, reject); 12230 }); 12231 --remaining || resolve(values); 12232 }); 12233 if (result.error) reject(result.value); 12234 return capability.promise; 12235 }, 12236 // `Promise.race` method 12237 // https://tc39.es/ecma262/#sec-promise.race 12238 race: function race(iterable) { 12239 var C = this; 12240 var capability = newPromiseCapability(C); 12241 var reject = capability.reject; 12242 var result = perform(function () { 12243 var $promiseResolve = aCallable(C.resolve); 12244 iterate(iterable, function (promise) { 12245 call($promiseResolve, C, promise).then(capability.resolve, reject); 12246 }); 12247 }); 12248 if (result.error) reject(result.value); 12249 return capability.promise; 12250 } 12251}); 12252 12253 12254/***/ }), 12255 12256/***/ 224: 12257/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12258 12259var $ = __webpack_require__(2109); 12260var functionApply = __webpack_require__(2104); 12261var aCallable = __webpack_require__(9662); 12262var anObject = __webpack_require__(9670); 12263var fails = __webpack_require__(7293); 12264
vendor: 13,912 bytes, lines 12265-12682
12265// MS Edge argumentsList argument is optional 12266var OPTIONAL_ARGUMENTS_LIST = !fails(function () { 12267 // eslint-disable-next-line es/no-reflect -- required for testing 12268 Reflect.apply(function () { /* empty */ }); 12269}); 12270 12271// `Reflect.apply` method 12272// https://tc39.es/ecma262/#sec-reflect.apply 12273$({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, { 12274 apply: function apply(target, thisArgument, argumentsList) { 12275 return functionApply(aCallable(target), thisArgument, anObject(argumentsList)); 12276 } 12277}); 12278 12279 12280/***/ }), 12281 12282/***/ 2419: 12283/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12284 12285var $ = __webpack_require__(2109); 12286var getBuiltIn = __webpack_require__(5005); 12287var apply = __webpack_require__(2104); 12288var bind = __webpack_require__(7065); 12289var aConstructor = __webpack_require__(9483); 12290var anObject = __webpack_require__(9670); 12291var isObject = __webpack_require__(111); 12292var create = __webpack_require__(30); 12293var fails = __webpack_require__(7293); 12294 12295var nativeConstruct = getBuiltIn('Reflect', 'construct'); 12296var ObjectPrototype = Object.prototype; 12297var push = [].push; 12298 12299// `Reflect.construct` method 12300// https://tc39.es/ecma262/#sec-reflect.construct 12301// MS Edge supports only 2 arguments and argumentsList argument is optional 12302// FF Nightly sets third argument as `new.target`, but does not create `this` from it 12303var NEW_TARGET_BUG = fails(function () { 12304 function F() { /* empty */ } 12305 return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F); 12306}); 12307 12308var ARGS_BUG = !fails(function () { 12309 nativeConstruct(function () { /* empty */ }); 12310}); 12311 12312var FORCED = NEW_TARGET_BUG || ARGS_BUG; 12313 12314$({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, { 12315 construct: function construct(Target, args /* , newTarget */) { 12316 aConstructor(Target); 12317 anObject(args); 12318 var newTarget = arguments.length < 3 ? Target : aConstructor(arguments[2]); 12319 if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget); 12320 if (Target == newTarget) { 12321 // w/o altered newTarget, optimization for 0-4 arguments 12322 switch (args.length) { 12323 case 0: return new Target(); 12324 case 1: return new Target(args[0]); 12325 case 2: return new Target(args[0], args[1]); 12326 case 3: return new Target(args[0], args[1], args[2]); 12327 case 4: return new Target(args[0], args[1], args[2], args[3]); 12328 } 12329 // w/o altered newTarget, lot of arguments case 12330 var $args = [null]; 12331 apply(push, $args, args); 12332 return new (apply(bind, Target, $args))(); 12333 } 12334 // with altered newTarget, not support built-in constructors 12335 var proto = newTarget.prototype; 12336 var instance = create(isObject(proto) ? proto : ObjectPrototype); 12337 var result = apply(Target, instance, args); 12338 return isObject(result) ? result : instance; 12339 } 12340}); 12341 12342 12343/***/ }), 12344 12345/***/ 9596: 12346/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12347 12348var $ = __webpack_require__(2109); 12349var DESCRIPTORS = __webpack_require__(9781); 12350var anObject = __webpack_require__(9670); 12351var toPropertyKey = __webpack_require__(4948); 12352var definePropertyModule = __webpack_require__(3070); 12353var fails = __webpack_require__(7293); 12354 12355// MS Edge has broken Reflect.defineProperty - throwing instead of returning false 12356var ERROR_INSTEAD_OF_FALSE = fails(function () { 12357 // eslint-disable-next-line es/no-reflect -- required for testing 12358 Reflect.defineProperty(definePropertyModule.f({}, 1, { value: 1 }), 1, { value: 2 }); 12359}); 12360 12361// `Reflect.defineProperty` method 12362// https://tc39.es/ecma262/#sec-reflect.defineproperty 12363$({ target: 'Reflect', stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRIPTORS }, { 12364 defineProperty: function defineProperty(target, propertyKey, attributes) { 12365 anObject(target); 12366 var key = toPropertyKey(propertyKey); 12367 anObject(attributes); 12368 try { 12369 definePropertyModule.f(target, key, attributes); 12370 return true; 12371 } catch (error) { 12372 return false; 12373 } 12374 } 12375}); 12376 12377 12378/***/ }), 12379 12380/***/ 2586: 12381/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12382 12383var $ = __webpack_require__(2109); 12384var anObject = __webpack_require__(9670); 12385var getOwnPropertyDescriptor = (__webpack_require__(1236).f); 12386 12387// `Reflect.deleteProperty` method 12388// https://tc39.es/ecma262/#sec-reflect.deleteproperty 12389$({ target: 'Reflect', stat: true }, { 12390 deleteProperty: function deleteProperty(target, propertyKey) { 12391 var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey); 12392 return descriptor && !descriptor.configurable ? false : delete target[propertyKey]; 12393 } 12394}); 12395 12396 12397/***/ }), 12398 12399/***/ 5683: 12400/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12401 12402var $ = __webpack_require__(2109); 12403var DESCRIPTORS = __webpack_require__(9781); 12404var anObject = __webpack_require__(9670); 12405var getOwnPropertyDescriptorModule = __webpack_require__(1236); 12406 12407// `Reflect.getOwnPropertyDescriptor` method 12408// https://tc39.es/ecma262/#sec-reflect.getownpropertydescriptor 12409$({ target: 'Reflect', stat: true, sham: !DESCRIPTORS }, { 12410 getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { 12411 return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); 12412 } 12413}); 12414 12415 12416/***/ }), 12417 12418/***/ 9361: 12419/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12420 12421var $ = __webpack_require__(2109); 12422var anObject = __webpack_require__(9670); 12423var objectGetPrototypeOf = __webpack_require__(9518); 12424var CORRECT_PROTOTYPE_GETTER = __webpack_require__(8544); 12425 12426// `Reflect.getPrototypeOf` method 12427// https://tc39.es/ecma262/#sec-reflect.getprototypeof 12428$({ target: 'Reflect', stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, { 12429 getPrototypeOf: function getPrototypeOf(target) { 12430 return objectGetPrototypeOf(anObject(target)); 12431 } 12432}); 12433 12434 12435/***/ }), 12436 12437/***/ 4819: 12438/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12439 12440var $ = __webpack_require__(2109); 12441var call = __webpack_require__(6916); 12442var isObject = __webpack_require__(111); 12443var anObject = __webpack_require__(9670); 12444var isDataDescriptor = __webpack_require__(5032); 12445var getOwnPropertyDescriptorModule = __webpack_require__(1236); 12446var getPrototypeOf = __webpack_require__(9518); 12447 12448// `Reflect.get` method 12449// https://tc39.es/ecma262/#sec-reflect.get 12450function get(target, propertyKey /* , receiver */) { 12451 var receiver = arguments.length < 3 ? target : arguments[2]; 12452 var descriptor, prototype; 12453 if (anObject(target) === receiver) return target[propertyKey]; 12454 descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey); 12455 if (descriptor) return isDataDescriptor(descriptor) 12456 ? descriptor.value 12457 : descriptor.get === undefined ? undefined : call(descriptor.get, receiver); 12458 if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver); 12459} 12460 12461$({ target: 'Reflect', stat: true }, { 12462 get: get 12463}); 12464 12465 12466/***/ }), 12467 12468/***/ 1037: 12469/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12470 12471var $ = __webpack_require__(2109); 12472 12473// `Reflect.has` method 12474// https://tc39.es/ecma262/#sec-reflect.has 12475$({ target: 'Reflect', stat: true }, { 12476 has: function has(target, propertyKey) { 12477 return propertyKey in target; 12478 } 12479}); 12480 12481 12482/***/ }), 12483 12484/***/ 5898: 12485/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12486 12487var $ = __webpack_require__(2109); 12488var anObject = __webpack_require__(9670); 12489var $isExtensible = __webpack_require__(2050); 12490 12491// `Reflect.isExtensible` method 12492// https://tc39.es/ecma262/#sec-reflect.isextensible 12493$({ target: 'Reflect', stat: true }, { 12494 isExtensible: function isExtensible(target) { 12495 anObject(target); 12496 return $isExtensible(target); 12497 } 12498}); 12499 12500 12501/***/ }), 12502 12503/***/ 7318: 12504/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12505 12506var $ = __webpack_require__(2109); 12507var ownKeys = __webpack_require__(3887); 12508 12509// `Reflect.ownKeys` method 12510// https://tc39.es/ecma262/#sec-reflect.ownkeys 12511$({ target: 'Reflect', stat: true }, { 12512 ownKeys: ownKeys 12513}); 12514 12515 12516/***/ }), 12517 12518/***/ 4361: 12519/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12520 12521var $ = __webpack_require__(2109); 12522var getBuiltIn = __webpack_require__(5005); 12523var anObject = __webpack_require__(9670); 12524var FREEZING = __webpack_require__(6677); 12525 12526// `Reflect.preventExtensions` method 12527// https://tc39.es/ecma262/#sec-reflect.preventextensions 12528$({ target: 'Reflect', stat: true, sham: !FREEZING }, { 12529 preventExtensions: function preventExtensions(target) { 12530 anObject(target); 12531 try { 12532 var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions'); 12533 if (objectPreventExtensions) objectPreventExtensions(target); 12534 return true; 12535 } catch (error) { 12536 return false; 12537 } 12538 } 12539}); 12540 12541 12542/***/ }), 12543 12544/***/ 9532: 12545/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12546 12547var $ = __webpack_require__(2109); 12548var anObject = __webpack_require__(9670); 12549var aPossiblePrototype = __webpack_require__(6077); 12550var objectSetPrototypeOf = __webpack_require__(7674); 12551 12552// `Reflect.setPrototypeOf` method 12553// https://tc39.es/ecma262/#sec-reflect.setprototypeof 12554if (objectSetPrototypeOf) $({ target: 'Reflect', stat: true }, { 12555 setPrototypeOf: function setPrototypeOf(target, proto) { 12556 anObject(target); 12557 aPossiblePrototype(proto); 12558 try { 12559 objectSetPrototypeOf(target, proto); 12560 return true; 12561 } catch (error) { 12562 return false; 12563 } 12564 } 12565}); 12566 12567 12568/***/ }), 12569 12570/***/ 3593: 12571/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12572 12573var $ = __webpack_require__(2109); 12574var call = __webpack_require__(6916); 12575var anObject = __webpack_require__(9670); 12576var isObject = __webpack_require__(111); 12577var isDataDescriptor = __webpack_require__(5032); 12578var fails = __webpack_require__(7293); 12579var definePropertyModule = __webpack_require__(3070); 12580var getOwnPropertyDescriptorModule = __webpack_require__(1236); 12581var getPrototypeOf = __webpack_require__(9518); 12582var createPropertyDescriptor = __webpack_require__(9114); 12583 12584// `Reflect.set` method 12585// https://tc39.es/ecma262/#sec-reflect.set 12586function set(target, propertyKey, V /* , receiver */) { 12587 var receiver = arguments.length < 4 ? target : arguments[3]; 12588 var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); 12589 var existingDescriptor, prototype, setter; 12590 if (!ownDescriptor) { 12591 if (isObject(prototype = getPrototypeOf(target))) { 12592 return set(prototype, propertyKey, V, receiver); 12593 } 12594 ownDescriptor = createPropertyDescriptor(0); 12595 } 12596 if (isDataDescriptor(ownDescriptor)) { 12597 if (ownDescriptor.writable === false || !isObject(receiver)) return false; 12598 if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) { 12599 if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false; 12600 existingDescriptor.value = V; 12601 definePropertyModule.f(receiver, propertyKey, existingDescriptor); 12602 } else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V)); 12603 } else { 12604 setter = ownDescriptor.set; 12605 if (setter === undefined) return false; 12606 call(setter, receiver, V); 12607 } return true; 12608} 12609 12610// MS Edge 17-18 Reflect.set allows setting the property to object 12611// with non-writable property on the prototype 12612var MS_EDGE_BUG = fails(function () { 12613 var Constructor = function () { /* empty */ }; 12614 var object = definePropertyModule.f(new Constructor(), 'a', { configurable: true }); 12615 // eslint-disable-next-line es/no-reflect -- required for testing 12616 return Reflect.set(Constructor.prototype, 'a', 1, object) !== false; 12617}); 12618 12619$({ target: 'Reflect', stat: true, forced: MS_EDGE_BUG }, { 12620 set: set 12621}); 12622 12623 12624/***/ }), 12625 12626/***/ 1299: 12627/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12628 12629var $ = __webpack_require__(2109); 12630var global = __webpack_require__(7854); 12631var setToStringTag = __webpack_require__(8003); 12632 12633$({ global: true }, { Reflect: {} }); 12634 12635// Reflect[@@toStringTag] property 12636// https://tc39.es/ecma262/#sec-reflect-@@tostringtag 12637setToStringTag(global.Reflect, 'Reflect', true); 12638 12639 12640/***/ }), 12641 12642/***/ 4603: 12643/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12644 12645var DESCRIPTORS = __webpack_require__(9781); 12646var global = __webpack_require__(7854); 12647var uncurryThis = __webpack_require__(1702); 12648var isForced = __webpack_require__(4705); 12649var inheritIfRequired = __webpack_require__(9587); 12650var createNonEnumerableProperty = __webpack_require__(8880); 12651var defineProperty = (__webpack_require__(3070).f); 12652var getOwnPropertyNames = (__webpack_require__(8006).f); 12653var isPrototypeOf = __webpack_require__(7976); 12654var isRegExp = __webpack_require__(7850); 12655var toString = __webpack_require__(1340); 12656var regExpFlags = __webpack_require__(7066); 12657var stickyHelpers = __webpack_require__(2999); 12658var redefine = __webpack_require__(1320); 12659var fails = __webpack_require__(7293); 12660var hasOwn = __webpack_require__(2597); 12661var enforceInternalState = (__webpack_require__(9909).enforce); 12662var setSpecies = __webpack_require__(6340); 12663var wellKnownSymbol = __webpack_require__(5112); 12664var UNSUPPORTED_DOT_ALL = __webpack_require__(9441); 12665var UNSUPPORTED_NCG = __webpack_require__(7168); 12666 12667var MATCH = wellKnownSymbol('match'); 12668var NativeRegExp = global.RegExp; 12669var RegExpPrototype = NativeRegExp.prototype; 12670var SyntaxError = global.SyntaxError; 12671var getFlags = uncurryThis(regExpFlags); 12672var exec = uncurryThis(RegExpPrototype.exec); 12673var charAt = uncurryThis(''.charAt); 12674var replace = uncurryThis(''.replace); 12675var stringIndexOf = uncurryThis(''.indexOf); 12676var stringSlice = uncurryThis(''.slice); 12677// TODO: Use only propper RegExpIdentifierName 12678var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/; 12679var re1 = /a/g; 12680var re2 = /a/g; 12681 12682// "new" should create a new object, old webkit bug
vendor: 11,759 bytes, lines 12683-13075
12683var CORRECT_NEW = new NativeRegExp(re1) !== re1; 12684 12685var MISSED_STICKY = stickyHelpers.MISSED_STICKY; 12686var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; 12687 12688var BASE_FORCED = DESCRIPTORS && 12689 (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails(function () { 12690 re2[MATCH] = false; 12691 // RegExp constructor can alter flags and IsRegExp works correct with @@match 12692 return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i'; 12693 })); 12694 12695var handleDotAll = function (string) { 12696 var length = string.length; 12697 var index = 0; 12698 var result = ''; 12699 var brackets = false; 12700 var chr; 12701 for (; index <= length; index++) { 12702 chr = charAt(string, index); 12703 if (chr === '\\') { 12704 result += chr + charAt(string, ++index); 12705 continue; 12706 } 12707 if (!brackets && chr === '.') { 12708 result += '[\\s\\S]'; 12709 } else { 12710 if (chr === '[') { 12711 brackets = true; 12712 } else if (chr === ']') { 12713 brackets = false; 12714 } result += chr; 12715 } 12716 } return result; 12717}; 12718 12719var handleNCG = function (string) { 12720 var length = string.length; 12721 var index = 0; 12722 var result = ''; 12723 var named = []; 12724 var names = {}; 12725 var brackets = false; 12726 var ncg = false; 12727 var groupid = 0; 12728 var groupname = ''; 12729 var chr; 12730 for (; index <= length; index++) { 12731 chr = charAt(string, index); 12732 if (chr === '\\') { 12733 chr = chr + charAt(string, ++index); 12734 } else if (chr === ']') { 12735 brackets = false; 12736 } else if (!brackets) switch (true) { 12737 case chr === '[': 12738 brackets = true; 12739 break; 12740 case chr === '(': 12741 if (exec(IS_NCG, stringSlice(string, index + 1))) { 12742 index += 2; 12743 ncg = true; 12744 } 12745 result += chr; 12746 groupid++; 12747 continue; 12748 case chr === '>' && ncg: 12749 if (groupname === '' || hasOwn(names, groupname)) { 12750 throw new SyntaxError('Invalid capture group name'); 12751 } 12752 names[groupname] = true; 12753 named[named.length] = [groupname, groupid]; 12754 ncg = false; 12755 groupname = ''; 12756 continue; 12757 } 12758 if (ncg) groupname += chr; 12759 else result += chr; 12760 } return [result, named]; 12761}; 12762 12763// `RegExp` constructor 12764// https://tc39.es/ecma262/#sec-regexp-constructor 12765if (isForced('RegExp', BASE_FORCED)) { 12766 var RegExpWrapper = function RegExp(pattern, flags) { 12767 var thisIsRegExp = isPrototypeOf(RegExpPrototype, this); 12768 var patternIsRegExp = isRegExp(pattern); 12769 var flagsAreUndefined = flags === undefined; 12770 var groups = []; 12771 var rawPattern = pattern; 12772 var rawFlags, dotAll, sticky, handled, result, state; 12773 12774 if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) { 12775 return pattern; 12776 } 12777 12778 if (patternIsRegExp || isPrototypeOf(RegExpPrototype, pattern)) { 12779 pattern = pattern.source; 12780 if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : getFlags(rawPattern); 12781 } 12782 12783 pattern = pattern === undefined ? '' : toString(pattern); 12784 flags = flags === undefined ? '' : toString(flags); 12785 rawPattern = pattern; 12786 12787 if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) { 12788 dotAll = !!flags && stringIndexOf(flags, 's') > -1; 12789 if (dotAll) flags = replace(flags, /s/g, ''); 12790 } 12791 12792 rawFlags = flags; 12793 12794 if (MISSED_STICKY && 'sticky' in re1) { 12795 sticky = !!flags && stringIndexOf(flags, 'y') > -1; 12796 if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, ''); 12797 } 12798 12799 if (UNSUPPORTED_NCG) { 12800 handled = handleNCG(pattern); 12801 pattern = handled[0]; 12802 groups = handled[1]; 12803 } 12804 12805 result = inheritIfRequired(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype, RegExpWrapper); 12806 12807 if (dotAll || sticky || groups.length) { 12808 state = enforceInternalState(result); 12809 if (dotAll) { 12810 state.dotAll = true; 12811 state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags); 12812 } 12813 if (sticky) state.sticky = true; 12814 if (groups.length) state.groups = groups; 12815 } 12816 12817 if (pattern !== rawPattern) try { 12818 // fails in old engines, but we have no alternatives for unsupported regex syntax 12819 createNonEnumerableProperty(result, 'source', rawPattern === '' ? '(?:)' : rawPattern); 12820 } catch (error) { /* empty */ } 12821 12822 return result; 12823 }; 12824 12825 var proxy = function (key) { 12826 key in RegExpWrapper || defineProperty(RegExpWrapper, key, { 12827 configurable: true, 12828 get: function () { return NativeRegExp[key]; }, 12829 set: function (it) { NativeRegExp[key] = it; } 12830 }); 12831 }; 12832 12833 for (var keys = getOwnPropertyNames(NativeRegExp), index = 0; keys.length > index;) { 12834 proxy(keys[index++]); 12835 } 12836 12837 RegExpPrototype.constructor = RegExpWrapper; 12838 RegExpWrapper.prototype = RegExpPrototype; 12839 redefine(global, 'RegExp', RegExpWrapper); 12840} 12841 12842// https://tc39.es/ecma262/#sec-get-regexp-@@species 12843setSpecies('RegExp'); 12844 12845 12846/***/ }), 12847 12848/***/ 8450: 12849/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12850 12851var global = __webpack_require__(7854); 12852var DESCRIPTORS = __webpack_require__(9781); 12853var UNSUPPORTED_DOT_ALL = __webpack_require__(9441); 12854var classof = __webpack_require__(4326); 12855var defineProperty = (__webpack_require__(3070).f); 12856var getInternalState = (__webpack_require__(9909).get); 12857 12858var RegExpPrototype = RegExp.prototype; 12859var TypeError = global.TypeError; 12860 12861// `RegExp.prototype.dotAll` getter 12862// https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall 12863if (DESCRIPTORS && UNSUPPORTED_DOT_ALL) { 12864 defineProperty(RegExpPrototype, 'dotAll', { 12865 configurable: true, 12866 get: function () { 12867 if (this === RegExpPrototype) return undefined; 12868 // We can't use InternalStateModule.getterFor because 12869 // we don't add metadata for regexps created by a literal. 12870 if (classof(this) === 'RegExp') { 12871 return !!getInternalState(this).dotAll; 12872 } 12873 throw TypeError('Incompatible receiver, RegExp required'); 12874 } 12875 }); 12876} 12877 12878 12879/***/ }), 12880 12881/***/ 4916: 12882/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12883 12884"use strict"; 12885 12886var $ = __webpack_require__(2109); 12887var exec = __webpack_require__(2261); 12888 12889// `RegExp.prototype.exec` method 12890// https://tc39.es/ecma262/#sec-regexp.prototype.exec 12891$({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { 12892 exec: exec 12893}); 12894 12895 12896/***/ }), 12897 12898/***/ 2087: 12899/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12900 12901var DESCRIPTORS = __webpack_require__(9781); 12902var objectDefinePropertyModule = __webpack_require__(3070); 12903var regExpFlags = __webpack_require__(7066); 12904var fails = __webpack_require__(7293); 12905 12906var RegExpPrototype = RegExp.prototype; 12907 12908var FORCED = DESCRIPTORS && fails(function () { 12909 // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe 12910 return Object.getOwnPropertyDescriptor(RegExpPrototype, 'flags').get.call({ dotAll: true, sticky: true }) !== 'sy'; 12911}); 12912 12913// `RegExp.prototype.flags` getter 12914// https://tc39.es/ecma262/#sec-get-regexp.prototype.flags 12915if (FORCED) objectDefinePropertyModule.f(RegExpPrototype, 'flags', { 12916 configurable: true, 12917 get: regExpFlags 12918}); 12919 12920 12921/***/ }), 12922 12923/***/ 8386: 12924/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12925 12926var global = __webpack_require__(7854); 12927var DESCRIPTORS = __webpack_require__(9781); 12928var MISSED_STICKY = (__webpack_require__(2999).MISSED_STICKY); 12929var classof = __webpack_require__(4326); 12930var defineProperty = (__webpack_require__(3070).f); 12931var getInternalState = (__webpack_require__(9909).get); 12932 12933var RegExpPrototype = RegExp.prototype; 12934var TypeError = global.TypeError; 12935 12936// `RegExp.prototype.sticky` getter 12937// https://tc39.es/ecma262/#sec-get-regexp.prototype.sticky 12938if (DESCRIPTORS && MISSED_STICKY) { 12939 defineProperty(RegExpPrototype, 'sticky', { 12940 configurable: true, 12941 get: function () { 12942 if (this === RegExpPrototype) return undefined; 12943 // We can't use InternalStateModule.getterFor because 12944 // we don't add metadata for regexps created by a literal. 12945 if (classof(this) === 'RegExp') { 12946 return !!getInternalState(this).sticky; 12947 } 12948 throw TypeError('Incompatible receiver, RegExp required'); 12949 } 12950 }); 12951} 12952 12953 12954/***/ }), 12955 12956/***/ 7601: 12957/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 12958 12959"use strict"; 12960 12961// TODO: Remove from `core-js@4` since it's moved to entry points 12962__webpack_require__(4916); 12963var $ = __webpack_require__(2109); 12964var global = __webpack_require__(7854); 12965var call = __webpack_require__(6916); 12966var uncurryThis = __webpack_require__(1702); 12967var isCallable = __webpack_require__(614); 12968var isObject = __webpack_require__(111); 12969 12970var DELEGATES_TO_EXEC = function () { 12971 var execCalled = false; 12972 var re = /[ac]/; 12973 re.exec = function () { 12974 execCalled = true; 12975 return /./.exec.apply(this, arguments); 12976 }; 12977 return re.test('abc') === true && execCalled; 12978}(); 12979 12980var Error = global.Error; 12981var un$Test = uncurryThis(/./.test); 12982 12983// `RegExp.prototype.test` method 12984// https://tc39.es/ecma262/#sec-regexp.prototype.test 12985$({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, { 12986 test: function (str) { 12987 var exec = this.exec; 12988 if (!isCallable(exec)) return un$Test(this, str); 12989 var result = call(exec, this, str); 12990 if (result !== null && !isObject(result)) { 12991 throw new Error('RegExp exec method returned something other than an Object or null'); 12992 } 12993 return !!result; 12994 } 12995}); 12996 12997 12998/***/ }), 12999 13000/***/ 9714: 13001/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13002 13003"use strict"; 13004 13005var uncurryThis = __webpack_require__(1702); 13006var PROPER_FUNCTION_NAME = (__webpack_require__(6530).PROPER); 13007var redefine = __webpack_require__(1320); 13008var anObject = __webpack_require__(9670); 13009var isPrototypeOf = __webpack_require__(7976); 13010var $toString = __webpack_require__(1340); 13011var fails = __webpack_require__(7293); 13012var regExpFlags = __webpack_require__(7066); 13013 13014var TO_STRING = 'toString'; 13015var RegExpPrototype = RegExp.prototype; 13016var n$ToString = RegExpPrototype[TO_STRING]; 13017var getFlags = uncurryThis(regExpFlags); 13018 13019var NOT_GENERIC = fails(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; }); 13020// FF44- RegExp#toString has a wrong name 13021var INCORRECT_NAME = PROPER_FUNCTION_NAME && n$ToString.name != TO_STRING; 13022 13023// `RegExp.prototype.toString` method 13024// https://tc39.es/ecma262/#sec-regexp.prototype.tostring 13025if (NOT_GENERIC || INCORRECT_NAME) { 13026 redefine(RegExp.prototype, TO_STRING, function toString() { 13027 var R = anObject(this); 13028 var p = $toString(R.source); 13029 var rf = R.flags; 13030 var f = $toString(rf === undefined && isPrototypeOf(RegExpPrototype, R) && !('flags' in RegExpPrototype) ? getFlags(R) : rf); 13031 return '/' + p + '/' + f; 13032 }, { unsafe: true }); 13033} 13034 13035 13036/***/ }), 13037 13038/***/ 189: 13039/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13040 13041"use strict"; 13042 13043var collection = __webpack_require__(7710); 13044var collectionStrong = __webpack_require__(5631); 13045 13046// `Set` constructor 13047// https://tc39.es/ecma262/#sec-set-objects 13048collection('Set', function (init) { 13049 return function Set() { return init(this, arguments.length ? arguments[0] : undefined); }; 13050}, collectionStrong); 13051 13052 13053/***/ }), 13054 13055/***/ 5218: 13056/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13057 13058"use strict"; 13059 13060var $ = __webpack_require__(2109); 13061var createHTML = __webpack_require__(4230); 13062var forcedStringHTMLMethod = __webpack_require__(3429); 13063 13064// `String.prototype.anchor` method 13065// https://tc39.es/ecma262/#sec-string.prototype.anchor 13066$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('anchor') }, { 13067 anchor: function anchor(name) { 13068 return createHTML(this, 'a', 'name', name); 13069 } 13070}); 13071 13072 13073/***/ }), 13074 13075/***/ 4506:
vendor: 5,605 bytes, lines 13076-13264
13076/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13077 13078"use strict"; 13079 13080var $ = __webpack_require__(2109); 13081var uncurryThis = __webpack_require__(1702); 13082var requireObjectCoercible = __webpack_require__(4488); 13083var toIntegerOrInfinity = __webpack_require__(9303); 13084var toString = __webpack_require__(1340); 13085var fails = __webpack_require__(7293); 13086 13087var charAt = uncurryThis(''.charAt); 13088 13089var FORCED = fails(function () { 13090 return 'ð ®·'.at(-2) !== '\uD842'; 13091}); 13092 13093// `String.prototype.at` method 13094// https://github.com/tc39/proposal-relative-indexing-method 13095$({ target: 'String', proto: true, forced: FORCED }, { 13096 at: function at(index) { 13097 var S = toString(requireObjectCoercible(this)); 13098 var len = S.length; 13099 var relativeIndex = toIntegerOrInfinity(index); 13100 var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; 13101 return (k < 0 || k >= len) ? undefined : charAt(S, k); 13102 } 13103}); 13104 13105 13106/***/ }), 13107 13108/***/ 4475: 13109/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13110 13111"use strict"; 13112 13113var $ = __webpack_require__(2109); 13114var createHTML = __webpack_require__(4230); 13115var forcedStringHTMLMethod = __webpack_require__(3429); 13116 13117// `String.prototype.big` method 13118// https://tc39.es/ecma262/#sec-string.prototype.big 13119$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('big') }, { 13120 big: function big() { 13121 return createHTML(this, 'big', '', ''); 13122 } 13123}); 13124 13125 13126/***/ }), 13127 13128/***/ 7929: 13129/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13130 13131"use strict"; 13132 13133var $ = __webpack_require__(2109); 13134var createHTML = __webpack_require__(4230); 13135var forcedStringHTMLMethod = __webpack_require__(3429); 13136 13137// `String.prototype.blink` method 13138// https://tc39.es/ecma262/#sec-string.prototype.blink 13139$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('blink') }, { 13140 blink: function blink() { 13141 return createHTML(this, 'blink', '', ''); 13142 } 13143}); 13144 13145 13146/***/ }), 13147 13148/***/ 915: 13149/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13150 13151"use strict"; 13152 13153var $ = __webpack_require__(2109); 13154var createHTML = __webpack_require__(4230); 13155var forcedStringHTMLMethod = __webpack_require__(3429); 13156 13157// `String.prototype.bold` method 13158// https://tc39.es/ecma262/#sec-string.prototype.bold 13159$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('bold') }, { 13160 bold: function bold() { 13161 return createHTML(this, 'b', '', ''); 13162 } 13163}); 13164 13165 13166/***/ }), 13167 13168/***/ 9841: 13169/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13170 13171"use strict"; 13172 13173var $ = __webpack_require__(2109); 13174var codeAt = (__webpack_require__(8710).codeAt); 13175 13176// `String.prototype.codePointAt` method 13177// https://tc39.es/ecma262/#sec-string.prototype.codepointat 13178$({ target: 'String', proto: true }, { 13179 codePointAt: function codePointAt(pos) { 13180 return codeAt(this, pos); 13181 } 13182}); 13183 13184 13185/***/ }), 13186 13187/***/ 7852: 13188/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13189 13190"use strict"; 13191 13192var $ = __webpack_require__(2109); 13193var uncurryThis = __webpack_require__(1702); 13194var getOwnPropertyDescriptor = (__webpack_require__(1236).f); 13195var toLength = __webpack_require__(7466); 13196var toString = __webpack_require__(1340); 13197var notARegExp = __webpack_require__(3929); 13198var requireObjectCoercible = __webpack_require__(4488); 13199var correctIsRegExpLogic = __webpack_require__(4964); 13200var IS_PURE = __webpack_require__(1913); 13201 13202// eslint-disable-next-line es/no-string-prototype-endswith -- safe 13203var un$EndsWith = uncurryThis(''.endsWith); 13204var slice = uncurryThis(''.slice); 13205var min = Math.min; 13206 13207var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith'); 13208// https://github.com/zloirock/core-js/pull/702 13209var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () { 13210 var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith'); 13211 return descriptor && !descriptor.writable; 13212}(); 13213 13214// `String.prototype.endsWith` method 13215// https://tc39.es/ecma262/#sec-string.prototype.endswith 13216$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { 13217 endsWith: function endsWith(searchString /* , endPosition = @length */) { 13218 var that = toString(requireObjectCoercible(this)); 13219 notARegExp(searchString); 13220 var endPosition = arguments.length > 1 ? arguments[1] : undefined; 13221 var len = that.length; 13222 var end = endPosition === undefined ? len : min(toLength(endPosition), len); 13223 var search = toString(searchString); 13224 return un$EndsWith 13225 ? un$EndsWith(that, search, end) 13226 : slice(that, end - search.length, end) === search; 13227 } 13228}); 13229 13230 13231/***/ }), 13232 13233/***/ 9253: 13234/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13235 13236"use strict"; 13237 13238var $ = __webpack_require__(2109); 13239var createHTML = __webpack_require__(4230); 13240var forcedStringHTMLMethod = __webpack_require__(3429); 13241 13242// `String.prototype.fixed` method 13243// https://tc39.es/ecma262/#sec-string.prototype.fixed 13244$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fixed') }, { 13245 fixed: function fixed() { 13246 return createHTML(this, 'tt', '', ''); 13247 } 13248}); 13249 13250 13251/***/ }), 13252 13253/***/ 2125: 13254/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13255 13256"use strict"; 13257 13258var $ = __webpack_require__(2109); 13259var createHTML = __webpack_require__(4230); 13260var forcedStringHTMLMethod = __webpack_require__(3429); 13261 13262// `String.prototype.fontcolor` method 13263// https://tc39.es/ecma262/#sec-string.prototype.fontcolor 13264$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontcolor') }, {
vendor: 5,527 bytes, lines 13265-13450
13265 fontcolor: function fontcolor(color) { 13266 return createHTML(this, 'font', 'color', color); 13267 } 13268}); 13269 13270 13271/***/ }), 13272 13273/***/ 8830: 13274/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13275 13276"use strict"; 13277 13278var $ = __webpack_require__(2109); 13279var createHTML = __webpack_require__(4230); 13280var forcedStringHTMLMethod = __webpack_require__(3429); 13281 13282// `String.prototype.fontsize` method 13283// https://tc39.es/ecma262/#sec-string.prototype.fontsize 13284$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('fontsize') }, { 13285 fontsize: function fontsize(size) { 13286 return createHTML(this, 'font', 'size', size); 13287 } 13288}); 13289 13290 13291/***/ }), 13292 13293/***/ 4953: 13294/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13295 13296var $ = __webpack_require__(2109); 13297var global = __webpack_require__(7854); 13298var uncurryThis = __webpack_require__(1702); 13299var toAbsoluteIndex = __webpack_require__(1400); 13300 13301var RangeError = global.RangeError; 13302var fromCharCode = String.fromCharCode; 13303// eslint-disable-next-line es/no-string-fromcodepoint -- required for testing 13304var $fromCodePoint = String.fromCodePoint; 13305var join = uncurryThis([].join); 13306 13307// length should be 1, old FF problem 13308var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length != 1; 13309 13310// `String.fromCodePoint` method 13311// https://tc39.es/ecma262/#sec-string.fromcodepoint 13312$({ target: 'String', stat: true, forced: INCORRECT_LENGTH }, { 13313 // eslint-disable-next-line no-unused-vars -- required for `.length` 13314 fromCodePoint: function fromCodePoint(x) { 13315 var elements = []; 13316 var length = arguments.length; 13317 var i = 0; 13318 var code; 13319 while (length > i) { 13320 code = +arguments[i++]; 13321 if (toAbsoluteIndex(code, 0x10FFFF) !== code) throw RangeError(code + ' is not a valid code point'); 13322 elements[i] = code < 0x10000 13323 ? fromCharCode(code) 13324 : fromCharCode(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00); 13325 } return join(elements, ''); 13326 } 13327}); 13328 13329 13330/***/ }), 13331 13332/***/ 2023: 13333/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13334 13335"use strict"; 13336 13337var $ = __webpack_require__(2109); 13338var uncurryThis = __webpack_require__(1702); 13339var notARegExp = __webpack_require__(3929); 13340var requireObjectCoercible = __webpack_require__(4488); 13341var toString = __webpack_require__(1340); 13342var correctIsRegExpLogic = __webpack_require__(4964); 13343 13344var stringIndexOf = uncurryThis(''.indexOf); 13345 13346// `String.prototype.includes` method 13347// https://tc39.es/ecma262/#sec-string.prototype.includes 13348$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, { 13349 includes: function includes(searchString /* , position = 0 */) { 13350 return !!~stringIndexOf( 13351 toString(requireObjectCoercible(this)), 13352 toString(notARegExp(searchString)), 13353 arguments.length > 1 ? arguments[1] : undefined 13354 ); 13355 } 13356}); 13357 13358 13359/***/ }), 13360 13361/***/ 8734: 13362/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13363 13364"use strict"; 13365 13366var $ = __webpack_require__(2109); 13367var createHTML = __webpack_require__(4230); 13368var forcedStringHTMLMethod = __webpack_require__(3429); 13369 13370// `String.prototype.italics` method 13371// https://tc39.es/ecma262/#sec-string.prototype.italics 13372$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('italics') }, { 13373 italics: function italics() { 13374 return createHTML(this, 'i', '', ''); 13375 } 13376}); 13377 13378 13379/***/ }), 13380 13381/***/ 8783: 13382/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13383 13384"use strict"; 13385 13386var charAt = (__webpack_require__(8710).charAt); 13387var toString = __webpack_require__(1340); 13388var InternalStateModule = __webpack_require__(9909); 13389var defineIterator = __webpack_require__(654); 13390 13391var STRING_ITERATOR = 'String Iterator'; 13392var setInternalState = InternalStateModule.set; 13393var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); 13394 13395// `String.prototype[@@iterator]` method 13396// https://tc39.es/ecma262/#sec-string.prototype-@@iterator 13397defineIterator(String, 'String', function (iterated) { 13398 setInternalState(this, { 13399 type: STRING_ITERATOR, 13400 string: toString(iterated), 13401 index: 0 13402 }); 13403// `%StringIteratorPrototype%.next` method 13404// https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next 13405}, function next() { 13406 var state = getInternalState(this); 13407 var string = state.string; 13408 var index = state.index; 13409 var point; 13410 if (index >= string.length) return { value: undefined, done: true }; 13411 point = charAt(string, index); 13412 state.index += point.length; 13413 return { value: point, done: false }; 13414}); 13415 13416 13417/***/ }), 13418 13419/***/ 9254: 13420/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13421 13422"use strict"; 13423 13424var $ = __webpack_require__(2109); 13425var createHTML = __webpack_require__(4230); 13426var forcedStringHTMLMethod = __webpack_require__(3429); 13427 13428// `String.prototype.link` method 13429// https://tc39.es/ecma262/#sec-string.prototype.link 13430$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, { 13431 link: function link(url) { 13432 return createHTML(this, 'a', 'href', url); 13433 } 13434}); 13435 13436 13437/***/ }), 13438 13439/***/ 6373: 13440/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13441 13442"use strict"; 13443 13444/* eslint-disable es/no-string-prototype-matchall -- safe */ 13445var $ = __webpack_require__(2109); 13446var global = __webpack_require__(7854); 13447var call = __webpack_require__(6916); 13448var uncurryThis = __webpack_require__(1702); 13449var createIteratorConstructor = __webpack_require__(4994); 13450var requireObjectCoercible = __webpack_require__(4488);
13451var toLength = __webpack_require__(7466); 13452var toString = __webpack_require__(1340); 13453var anObject = __webpack_require__(9670); 13454var classof = __webpack_require__(4326); 13455var isPrototypeOf = __webpack_require__(7976); 13456var isRegExp = __webpack_require__(7850); 13457var regExpFlags = __webpack_require__(7066); 13458var getMethod = __webpack_require__(8173); 13459var redefine = __webpack_require__(1320); 13460var fails = __webpack_require__(7293); 13461var wellKnownSymbol = __webpack_require__(5112); 13462var speciesConstructor = __webpack_require__(6707); 13463var advanceStringIndex = __webpack_require__(1530); 13464var regExpExec = __webpack_require__(7651); 13465var InternalStateModule = __webpack_require__(9909); 13466var IS_PURE = __webpack_require__(1913); 13467 13468var MATCH_ALL = wellKnownSymbol('matchAll'); 13469var REGEXP_STRING = 'RegExp String'; 13470var REGEXP_STRING_ITERATOR = REGEXP_STRING + ' Iterator'; 13471var setInternalState = InternalStateModule.set; 13472var getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR); 13473var RegExpPrototype = RegExp.prototype; 13474var TypeError = global.TypeError; 13475var getFlags = uncurryThis(regExpFlags); 13476var stringIndexOf = uncurryThis(''.indexOf); 13477var un$MatchAll = uncurryThis(''.matchAll); 13478 13479var WORKS_WITH_NON_GLOBAL_REGEX = !!un$MatchAll && !fails(function () { 13480 un$MatchAll('a', /./); 13481}); 13482 13483var $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string, $global, fullUnicode) { 13484 setInternalState(this, { 13485 type: REGEXP_STRING_ITERATOR, 13486 regexp: regexp, 13487 string: string, 13488 global: $global, 13489 unicode: fullUnicode, 13490 done: false 13491 }); 13492}, REGEXP_STRING, function next() { 13493 var state = getInternalState(this); 13494 if (state.done) return { value: undefined, done: true }; 13495 var R = state.regexp; 13496 var S = state.string; 13497 var match = regExpExec(R, S); 13498 if (match === null) return { value: undefined, done: state.done = true }; 13499 if (state.global) { 13500 if (toString(match[0]) === '') R.lastIndex = advanceStringIndex(S, toLength(R.lastIndex), state.unicode); 13501 return { value: match, done: false }; 13502 } 13503 state.done = true; 13504 return { value: match, done: false }; 13505}); 13506 13507var $matchAll = function (string) { 13508 var R = anObject(this); 13509 var S = toString(string); 13510 var C, flagsValue, flags, matcher, $global, fullUnicode; 13511 C = speciesConstructor(R, RegExp); 13512 flagsValue = R.flags; 13513 if (flagsValue === undefined && isPrototypeOf(RegExpPrototype, R) && !('flags' in RegExpPrototype)) { 13514 flagsValue = getFlags(R); 13515 } 13516 flags = flagsValue === undefined ? '' : toString(flagsValue); 13517 matcher = new C(C === RegExp ? R.source : R, flags); 13518 $global = !!~stringIndexOf(flags, 'g'); 13519 fullUnicode = !!~stringIndexOf(flags, 'u'); 13520 matcher.lastIndex = toLength(R.lastIndex); 13521 return new $RegExpStringIterator(matcher, S, $global, fullUnicode); 13522}; 13523 13524// `String.prototype.matchAll` method 13525// https://tc39.es/ecma262/#sec-string.prototype.matchall 13526$({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, { 13527 matchAll: function matchAll(regexp) { 13528 var O = requireObjectCoercible(this); 13529 var flags, S, matcher, rx; 13530 if (regexp != null) { 13531 if (isRegExp(regexp)) { 13532 flags = toString(requireObjectCoercible('flags' in RegExpPrototype 13533 ? regexp.flags 13534 : getFlags(regexp) 13535 )); 13536 if (!~stringIndexOf(flags, 'g')) throw TypeError('`.matchAll` does not allow non-global regexes'); 13537 } 13538 if (WORKS_WITH_NON_GLOBAL_REGEX) return un$MatchAll(O, regexp); 13539 matcher = getMethod(regexp, MATCH_ALL); 13540 if (matcher === undefined && IS_PURE && classof(regexp) == 'RegExp') matcher = $matchAll; 13541 if (matcher) return call(matcher, regexp, O); 13542 } else if (WORKS_WITH_NON_GLOBAL_REGEX) return un$MatchAll(O, regexp); 13543 S = toString(O); 13544 rx = new RegExp(regexp, 'g'); 13545 return IS_PURE ? call($matchAll, rx, S) : rx[MATCH_ALL](S); 13546 } 13547}); 13548 13549IS_PURE || MATCH_ALL in RegExpPrototype || redefine(RegExpPrototype, MATCH_ALL, $matchAll); 13550 13551 13552/***/ }), 13553 13554/***/ 4723: 13555/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13556 13557"use strict"; 13558 13559var call = __webpack_require__(6916); 13560var fixRegExpWellKnownSymbolLogic = __webpack_require__(7007); 13561var anObject = __webpack_require__(9670);
vendor: 5,334 bytes, lines 13562-13733
13562var toLength = __webpack_require__(7466); 13563var toString = __webpack_require__(1340); 13564var requireObjectCoercible = __webpack_require__(4488); 13565var getMethod = __webpack_require__(8173); 13566var advanceStringIndex = __webpack_require__(1530); 13567var regExpExec = __webpack_require__(7651); 13568 13569// @@match logic 13570fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) { 13571 return [ 13572 // `String.prototype.match` method 13573 // https://tc39.es/ecma262/#sec-string.prototype.match 13574 function match(regexp) { 13575 var O = requireObjectCoercible(this); 13576 var matcher = regexp == undefined ? undefined : getMethod(regexp, MATCH); 13577 return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString(O)); 13578 }, 13579 // `RegExp.prototype[@@match]` method 13580 // https://tc39.es/ecma262/#sec-regexp.prototype-@@match 13581 function (string) { 13582 var rx = anObject(this); 13583 var S = toString(string); 13584 var res = maybeCallNative(nativeMatch, rx, S); 13585 13586 if (res.done) return res.value; 13587 13588 if (!rx.global) return regExpExec(rx, S); 13589 13590 var fullUnicode = rx.unicode; 13591 rx.lastIndex = 0; 13592 var A = []; 13593 var n = 0; 13594 var result; 13595 while ((result = regExpExec(rx, S)) !== null) { 13596 var matchStr = toString(result[0]); 13597 A[n] = matchStr; 13598 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); 13599 n++; 13600 } 13601 return n === 0 ? null : A; 13602 } 13603 ]; 13604}); 13605 13606 13607/***/ }), 13608 13609/***/ 6528: 13610/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13611 13612"use strict"; 13613 13614var $ = __webpack_require__(2109); 13615var $padEnd = (__webpack_require__(6650).end); 13616var WEBKIT_BUG = __webpack_require__(7061); 13617 13618// `String.prototype.padEnd` method 13619// https://tc39.es/ecma262/#sec-string.prototype.padend 13620$({ target: 'String', proto: true, forced: WEBKIT_BUG }, { 13621 padEnd: function padEnd(maxLength /* , fillString = ' ' */) { 13622 return $padEnd(this, maxLength, arguments.length > 1 ? arguments[1] : undefined); 13623 } 13624}); 13625 13626 13627/***/ }), 13628 13629/***/ 3112: 13630/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13631 13632"use strict"; 13633 13634var $ = __webpack_require__(2109); 13635var $padStart = (__webpack_require__(6650).start); 13636var WEBKIT_BUG = __webpack_require__(7061); 13637 13638// `String.prototype.padStart` method 13639// https://tc39.es/ecma262/#sec-string.prototype.padstart 13640$({ target: 'String', proto: true, forced: WEBKIT_BUG }, { 13641 padStart: function padStart(maxLength /* , fillString = ' ' */) { 13642 return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined); 13643 } 13644}); 13645 13646 13647/***/ }), 13648 13649/***/ 8992: 13650/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13651 13652var $ = __webpack_require__(2109); 13653var uncurryThis = __webpack_require__(1702); 13654var toIndexedObject = __webpack_require__(5656); 13655var toObject = __webpack_require__(7908); 13656var toString = __webpack_require__(1340); 13657var lengthOfArrayLike = __webpack_require__(6244); 13658 13659var push = uncurryThis([].push); 13660var join = uncurryThis([].join); 13661 13662// `String.raw` method 13663// https://tc39.es/ecma262/#sec-string.raw 13664$({ target: 'String', stat: true }, { 13665 raw: function raw(template) { 13666 var rawTemplate = toIndexedObject(toObject(template).raw); 13667 var literalSegments = lengthOfArrayLike(rawTemplate); 13668 var argumentsLength = arguments.length; 13669 var elements = []; 13670 var i = 0; 13671 while (literalSegments > i) { 13672 push(elements, toString(rawTemplate[i++])); 13673 if (i === literalSegments) return join(elements, ''); 13674 if (i < argumentsLength) push(elements, toString(arguments[i])); 13675 } 13676 } 13677}); 13678 13679 13680/***/ }), 13681 13682/***/ 2481: 13683/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13684 13685var $ = __webpack_require__(2109); 13686var repeat = __webpack_require__(8415); 13687 13688// `String.prototype.repeat` method 13689// https://tc39.es/ecma262/#sec-string.prototype.repeat 13690$({ target: 'String', proto: true }, { 13691 repeat: repeat 13692}); 13693 13694 13695/***/ }), 13696 13697/***/ 8757: 13698/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13699 13700"use strict"; 13701 13702var $ = __webpack_require__(2109); 13703var global = __webpack_require__(7854); 13704var call = __webpack_require__(6916); 13705var uncurryThis = __webpack_require__(1702); 13706var requireObjectCoercible = __webpack_require__(4488); 13707var isCallable = __webpack_require__(614); 13708var isRegExp = __webpack_require__(7850); 13709var toString = __webpack_require__(1340); 13710var getMethod = __webpack_require__(8173); 13711var regExpFlags = __webpack_require__(7066); 13712var getSubstitution = __webpack_require__(647); 13713var wellKnownSymbol = __webpack_require__(5112); 13714var IS_PURE = __webpack_require__(1913); 13715 13716var REPLACE = wellKnownSymbol('replace'); 13717var RegExpPrototype = RegExp.prototype; 13718var TypeError = global.TypeError; 13719var getFlags = uncurryThis(regExpFlags); 13720var indexOf = uncurryThis(''.indexOf); 13721var replace = uncurryThis(''.replace); 13722var stringSlice = uncurryThis(''.slice); 13723var max = Math.max; 13724 13725var stringIndexOf = function (string, searchValue, fromIndex) { 13726 if (fromIndex > string.length) return -1; 13727 if (searchValue === '') return fromIndex; 13728 return indexOf(string, searchValue, fromIndex); 13729}; 13730 13731// `String.prototype.replaceAll` method 13732// https://tc39.es/ecma262/#sec-string.prototype.replaceall 13733$({ target: 'String', proto: true }, {
vendor: 4,778 bytes, lines 13734-13862
13734 replaceAll: function replaceAll(searchValue, replaceValue) { 13735 var O = requireObjectCoercible(this); 13736 var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement; 13737 var position = 0; 13738 var endOfLastMatch = 0; 13739 var result = ''; 13740 if (searchValue != null) { 13741 IS_REG_EXP = isRegExp(searchValue); 13742 if (IS_REG_EXP) { 13743 flags = toString(requireObjectCoercible('flags' in RegExpPrototype 13744 ? searchValue.flags 13745 : getFlags(searchValue) 13746 )); 13747 if (!~indexOf(flags, 'g')) throw TypeError('`.replaceAll` does not allow non-global regexes'); 13748 } 13749 replacer = getMethod(searchValue, REPLACE); 13750 if (replacer) { 13751 return call(replacer, searchValue, O, replaceValue); 13752 } else if (IS_PURE && IS_REG_EXP) { 13753 return replace(toString(O), searchValue, replaceValue); 13754 } 13755 } 13756 string = toString(O); 13757 searchString = toString(searchValue); 13758 functionalReplace = isCallable(replaceValue); 13759 if (!functionalReplace) replaceValue = toString(replaceValue); 13760 searchLength = searchString.length; 13761 advanceBy = max(1, searchLength); 13762 position = stringIndexOf(string, searchString, 0); 13763 while (position !== -1) { 13764 replacement = functionalReplace 13765 ? toString(replaceValue(searchString, position, string)) 13766 : getSubstitution(searchString, string, position, [], undefined, replaceValue); 13767 result += stringSlice(string, endOfLastMatch, position) + replacement; 13768 endOfLastMatch = position + searchLength; 13769 position = stringIndexOf(string, searchString, position + advanceBy); 13770 } 13771 if (endOfLastMatch < string.length) { 13772 result += stringSlice(string, endOfLastMatch); 13773 } 13774 return result; 13775 } 13776}); 13777 13778 13779/***/ }), 13780 13781/***/ 5306: 13782/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13783 13784"use strict"; 13785 13786var apply = __webpack_require__(2104); 13787var call = __webpack_require__(6916); 13788var uncurryThis = __webpack_require__(1702); 13789var fixRegExpWellKnownSymbolLogic = __webpack_require__(7007); 13790var fails = __webpack_require__(7293); 13791var anObject = __webpack_require__(9670); 13792var isCallable = __webpack_require__(614); 13793var toIntegerOrInfinity = __webpack_require__(9303); 13794var toLength = __webpack_require__(7466); 13795var toString = __webpack_require__(1340); 13796var requireObjectCoercible = __webpack_require__(4488); 13797var advanceStringIndex = __webpack_require__(1530); 13798var getMethod = __webpack_require__(8173); 13799var getSubstitution = __webpack_require__(647); 13800var regExpExec = __webpack_require__(7651); 13801var wellKnownSymbol = __webpack_require__(5112); 13802 13803var REPLACE = wellKnownSymbol('replace'); 13804var max = Math.max; 13805var min = Math.min; 13806var concat = uncurryThis([].concat); 13807var push = uncurryThis([].push); 13808var stringIndexOf = uncurryThis(''.indexOf); 13809var stringSlice = uncurryThis(''.slice); 13810 13811var maybeToString = function (it) { 13812 return it === undefined ? it : String(it); 13813}; 13814 13815// IE <= 11 replaces $0 with the whole match, as if it was $& 13816// https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0 13817var REPLACE_KEEPS_$0 = (function () { 13818 // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing 13819 return 'a'.replace(/./, '$0') === '$0'; 13820})(); 13821 13822// Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string 13823var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () { 13824 if (/./[REPLACE]) { 13825 return /./[REPLACE]('a', '$0') === ''; 13826 } 13827 return false; 13828})(); 13829 13830var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { 13831 var re = /./; 13832 re.exec = function () { 13833 var result = []; 13834 result.groups = { a: '7' }; 13835 return result; 13836 }; 13837 // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive 13838 return ''.replace(re, '$<a>') !== '7'; 13839}); 13840 13841// @@replace logic 13842fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) { 13843 var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0'; 13844 13845 return [ 13846 // `String.prototype.replace` method 13847 // https://tc39.es/ecma262/#sec-string.prototype.replace 13848 function replace(searchValue, replaceValue) { 13849 var O = requireObjectCoercible(this); 13850 var replacer = searchValue == undefined ? undefined : getMethod(searchValue, REPLACE); 13851 return replacer 13852 ? call(replacer, searchValue, O, replaceValue) 13853 : call(nativeReplace, toString(O), searchValue, replaceValue); 13854 }, 13855 // `RegExp.prototype[@@replace]` method 13856 // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace 13857 function (string, replaceValue) { 13858 var rx = anObject(this); 13859 var S = toString(string); 13860 13861 if ( 13862 typeof replaceValue == 'string' &&
vendor: 4,491 bytes, lines 13863-13985
13863 stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 && 13864 stringIndexOf(replaceValue, '$<') === -1 13865 ) { 13866 var res = maybeCallNative(nativeReplace, rx, S, replaceValue); 13867 if (res.done) return res.value; 13868 } 13869 13870 var functionalReplace = isCallable(replaceValue); 13871 if (!functionalReplace) replaceValue = toString(replaceValue); 13872 13873 var global = rx.global; 13874 if (global) { 13875 var fullUnicode = rx.unicode; 13876 rx.lastIndex = 0; 13877 } 13878 var results = []; 13879 while (true) { 13880 var result = regExpExec(rx, S); 13881 if (result === null) break; 13882 13883 push(results, result); 13884 if (!global) break; 13885 13886 var matchStr = toString(result[0]); 13887 if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); 13888 } 13889 13890 var accumulatedResult = ''; 13891 var nextSourcePosition = 0; 13892 for (var i = 0; i < results.length; i++) { 13893 result = results[i]; 13894 13895 var matched = toString(result[0]); 13896 var position = max(min(toIntegerOrInfinity(result.index), S.length), 0); 13897 var captures = []; 13898 // NOTE: This is equivalent to 13899 // captures = result.slice(1).map(maybeToString) 13900 // but for some reason `nativeSlice.call(result, 1, result.length)` (called in 13901 // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and 13902 // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. 13903 for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j])); 13904 var namedCaptures = result.groups; 13905 if (functionalReplace) { 13906 var replacerArgs = concat([matched], captures, position, S); 13907 if (namedCaptures !== undefined) push(replacerArgs, namedCaptures); 13908 var replacement = toString(apply(replaceValue, undefined, replacerArgs)); 13909 } else { 13910 replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); 13911 } 13912 if (position >= nextSourcePosition) { 13913 accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement; 13914 nextSourcePosition = position + matched.length; 13915 } 13916 } 13917 return accumulatedResult + stringSlice(S, nextSourcePosition); 13918 } 13919 ]; 13920}, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); 13921 13922 13923/***/ }), 13924 13925/***/ 4765: 13926/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13927 13928"use strict"; 13929 13930var call = __webpack_require__(6916); 13931var fixRegExpWellKnownSymbolLogic = __webpack_require__(7007); 13932var anObject = __webpack_require__(9670); 13933var requireObjectCoercible = __webpack_require__(4488); 13934var sameValue = __webpack_require__(1150); 13935var toString = __webpack_require__(1340); 13936var getMethod = __webpack_require__(8173); 13937var regExpExec = __webpack_require__(7651); 13938 13939// @@search logic 13940fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) { 13941 return [ 13942 // `String.prototype.search` method 13943 // https://tc39.es/ecma262/#sec-string.prototype.search 13944 function search(regexp) { 13945 var O = requireObjectCoercible(this); 13946 var searcher = regexp == undefined ? undefined : getMethod(regexp, SEARCH); 13947 return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O)); 13948 }, 13949 // `RegExp.prototype[@@search]` method 13950 // https://tc39.es/ecma262/#sec-regexp.prototype-@@search 13951 function (string) { 13952 var rx = anObject(this); 13953 var S = toString(string); 13954 var res = maybeCallNative(nativeSearch, rx, S); 13955 13956 if (res.done) return res.value; 13957 13958 var previousLastIndex = rx.lastIndex; 13959 if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; 13960 var result = regExpExec(rx, S); 13961 if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; 13962 return result === null ? -1 : result.index; 13963 } 13964 ]; 13965}); 13966 13967 13968/***/ }), 13969 13970/***/ 7268: 13971/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13972 13973"use strict"; 13974 13975var $ = __webpack_require__(2109); 13976var createHTML = __webpack_require__(4230); 13977var forcedStringHTMLMethod = __webpack_require__(3429); 13978 13979// `String.prototype.small` method 13980// https://tc39.es/ecma262/#sec-string.prototype.small 13981$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('small') }, { 13982 small: function small() { 13983 return createHTML(this, 'small', '', ''); 13984 } 13985}
vendor: 7,106 bytes, lines 13985-14169
13985); 13986 13987 13988/***/ }), 13989 13990/***/ 3123: 13991/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 13992 13993"use strict"; 13994 13995var apply = __webpack_require__(2104); 13996var call = __webpack_require__(6916); 13997var uncurryThis = __webpack_require__(1702); 13998var fixRegExpWellKnownSymbolLogic = __webpack_require__(7007); 13999var isRegExp = __webpack_require__(7850); 14000var anObject = __webpack_require__(9670); 14001var requireObjectCoercible = __webpack_require__(4488); 14002var speciesConstructor = __webpack_require__(6707); 14003var advanceStringIndex = __webpack_require__(1530); 14004var toLength = __webpack_require__(7466); 14005var toString = __webpack_require__(1340); 14006var getMethod = __webpack_require__(8173); 14007var arraySlice = __webpack_require__(1589); 14008var callRegExpExec = __webpack_require__(7651); 14009var regexpExec = __webpack_require__(2261); 14010var stickyHelpers = __webpack_require__(2999); 14011var fails = __webpack_require__(7293); 14012 14013var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; 14014var MAX_UINT32 = 0xFFFFFFFF; 14015var min = Math.min; 14016var $push = [].push; 14017var exec = uncurryThis(/./.exec); 14018var push = uncurryThis($push); 14019var stringSlice = uncurryThis(''.slice); 14020 14021// Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec 14022// Weex JS has frozen built-in prototypes, so use try / catch wrapper 14023var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () { 14024 // eslint-disable-next-line regexp/no-empty-group -- required for testing 14025 var re = /(?:)/; 14026 var originalExec = re.exec; 14027 re.exec = function () { return originalExec.apply(this, arguments); }; 14028 var result = 'ab'.split(re); 14029 return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b'; 14030}); 14031 14032// @@split logic 14033fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNative) { 14034 var internalSplit; 14035 if ( 14036 'abbc'.split(/(b)*/)[1] == 'c' || 14037 // eslint-disable-next-line regexp/no-empty-group -- required for testing 14038 'test'.split(/(?:)/, -1).length != 4 || 14039 'ab'.split(/(?:ab)*/).length != 2 || 14040 '.'.split(/(.?)(.?)/).length != 4 || 14041 // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing 14042 '.'.split(/()()/).length > 1 || 14043 ''.split(/.?/).length 14044 ) { 14045 // based on es5-shim implementation, need to rework it 14046 internalSplit = function (separator, limit) { 14047 var string = toString(requireObjectCoercible(this)); 14048 var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; 14049 if (lim === 0) return []; 14050 if (separator === undefined) return [string]; 14051 // If `separator` is not a regex, use native split 14052 if (!isRegExp(separator)) { 14053 return call(nativeSplit, string, separator, lim); 14054 } 14055 var output = []; 14056 var flags = (separator.ignoreCase ? 'i' : '') + 14057 (separator.multiline ? 'm' : '') + 14058 (separator.unicode ? 'u' : '') + 14059 (separator.sticky ? 'y' : ''); 14060 var lastLastIndex = 0; 14061 // Make `global` and avoid `lastIndex` issues by working with a copy 14062 var separatorCopy = new RegExp(separator.source, flags + 'g'); 14063 var match, lastIndex, lastLength; 14064 while (match = call(regexpExec, separatorCopy, string)) { 14065 lastIndex = separatorCopy.lastIndex; 14066 if (lastIndex > lastLastIndex) { 14067 push(output, stringSlice(string, lastLastIndex, match.index)); 14068 if (match.length > 1 && match.index < string.length) apply($push, output, arraySlice(match, 1)); 14069 lastLength = match[0].length; 14070 lastLastIndex = lastIndex; 14071 if (output.length >= lim) break; 14072 } 14073 if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop 14074 } 14075 if (lastLastIndex === string.length) { 14076 if (lastLength || !exec(separatorCopy, '')) push(output, ''); 14077 } else push(output, stringSlice(string, lastLastIndex)); 14078 return output.length > lim ? arraySlice(output, 0, lim) : output; 14079 }; 14080 // Chakra, V8 14081 } else if ('0'.split(undefined, 0).length) { 14082 internalSplit = function (separator, limit) { 14083 return separator === undefined && limit === 0 ? [] : call(nativeSplit, this, separator, limit); 14084 }; 14085 } else internalSplit = nativeSplit; 14086 14087 return [ 14088 // `String.prototype.split` method 14089 // https://tc39.es/ecma262/#sec-string.prototype.split 14090 function split(separator, limit) { 14091 var O = requireObjectCoercible(this); 14092 var splitter = separator == undefined ? undefined : getMethod(separator, SPLIT); 14093 return splitter 14094 ? call(splitter, separator, O, limit) 14095 : call(internalSplit, toString(O), separator, limit); 14096 }, 14097 // `RegExp.prototype[@@split]` method 14098 // https://tc39.es/ecma262/#sec-regexp.prototype-@@split 14099 // 14100 // NOTE: This cannot be properly polyfilled in engines that don't support 14101 // the 'y' flag. 14102 function (string, limit) { 14103 var rx = anObject(this); 14104 var S = toString(string); 14105 var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit); 14106 14107 if (res.done) return res.value; 14108 14109 var C = speciesConstructor(rx, RegExp); 14110 14111 var unicodeMatching = rx.unicode; 14112 var flags = (rx.ignoreCase ? 'i' : '') + 14113 (rx.multiline ? 'm' : '') + 14114 (rx.unicode ? 'u' : '') + 14115 (UNSUPPORTED_Y ? 'g' : 'y'); 14116 14117 // ^(? + rx + ) is needed, in combination with some S slicing, to 14118 // simulate the 'y' flag. 14119 var splitter = new C(UNSUPPORTED_Y ? '^(?:' + rx.source + ')' : rx, flags); 14120 var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; 14121 if (lim === 0) return []; 14122 if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; 14123 var p = 0; 14124 var q = 0; 14125 var A = []; 14126 while (q < S.length) { 14127 splitter.lastIndex = UNSUPPORTED_Y ? 0 : q; 14128 var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice(S, q) : S); 14129 var e; 14130 if ( 14131 z === null || 14132 (e = min(toLength(splitter.lastIndex + (UNSUPPORTED_Y ? q : 0)), S.length)) === p 14133 ) { 14134 q = advanceStringIndex(S, q, unicodeMatching); 14135 } else { 14136 push(A, stringSlice(S, p, q)); 14137 if (A.length === lim) return A; 14138 for (var i = 1; i <= z.length - 1; i++) { 14139 push(A, z[i]); 14140 if (A.length === lim) return A; 14141 } 14142 q = p = e; 14143 } 14144 } 14145 push(A, stringSlice(S, p)); 14146 return A; 14147 } 14148 ]; 14149}, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y); 14150 14151 14152/***/ }), 14153 14154/***/ 6755: 14155/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14156 14157"use strict"; 14158 14159var $ = __webpack_require__(2109); 14160var uncurryThis = __webpack_require__(1702); 14161var getOwnPropertyDescriptor = (__webpack_require__(1236).f); 14162var toLength = __webpack_require__(7466); 14163var toString = __webpack_require__(1340); 14164var notARegExp = __webpack_require__(3929); 14165var requireObjectCoercible = __webpack_require__(4488); 14166var correctIsRegExpLogic = __webpack_require__(4964); 14167var IS_PURE = __webpack_require__(1913); 14168 14169// eslint-disable-next-line es
vendor: 4,520 bytes, lines 14169-14313
14169/no-string-prototype-startswith -- safe 14170var un$StartsWith = uncurryThis(''.startsWith); 14171var stringSlice = uncurryThis(''.slice); 14172var min = Math.min; 14173 14174var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith'); 14175// https://github.com/zloirock/core-js/pull/702 14176var MDN_POLYFILL_BUG = !IS_PURE && !CORRECT_IS_REGEXP_LOGIC && !!function () { 14177 var descriptor = getOwnPropertyDescriptor(String.prototype, 'startsWith'); 14178 return descriptor && !descriptor.writable; 14179}(); 14180 14181// `String.prototype.startsWith` method 14182// https://tc39.es/ecma262/#sec-string.prototype.startswith 14183$({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { 14184 startsWith: function startsWith(searchString /* , position = 0 */) { 14185 var that = toString(requireObjectCoercible(this)); 14186 notARegExp(searchString); 14187 var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length)); 14188 var search = toString(searchString); 14189 return un$StartsWith 14190 ? un$StartsWith(that, search, index) 14191 : stringSlice(that, index, index + search.length) === search; 14192 } 14193}); 14194 14195 14196/***/ }), 14197 14198/***/ 7397: 14199/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14200 14201"use strict"; 14202 14203var $ = __webpack_require__(2109); 14204var createHTML = __webpack_require__(4230); 14205var forcedStringHTMLMethod = __webpack_require__(3429); 14206 14207// `String.prototype.strike` method 14208// https://tc39.es/ecma262/#sec-string.prototype.strike 14209$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('strike') }, { 14210 strike: function strike() { 14211 return createHTML(this, 'strike', '', ''); 14212 } 14213}); 14214 14215 14216/***/ }), 14217 14218/***/ 86: 14219/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14220 14221"use strict"; 14222 14223var $ = __webpack_require__(2109); 14224var createHTML = __webpack_require__(4230); 14225var forcedStringHTMLMethod = __webpack_require__(3429); 14226 14227// `String.prototype.sub` method 14228// https://tc39.es/ecma262/#sec-string.prototype.sub 14229$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sub') }, { 14230 sub: function sub() { 14231 return createHTML(this, 'sub', '', ''); 14232 } 14233}); 14234 14235 14236/***/ }), 14237 14238/***/ 3650: 14239/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14240 14241"use strict"; 14242 14243var $ = __webpack_require__(2109); 14244var uncurryThis = __webpack_require__(1702); 14245var requireObjectCoercible = __webpack_require__(4488); 14246var toIntegerOrInfinity = __webpack_require__(9303); 14247var toString = __webpack_require__(1340); 14248 14249var stringSlice = uncurryThis(''.slice); 14250var max = Math.max; 14251var min = Math.min; 14252 14253// eslint-disable-next-line unicorn/prefer-string-slice -- required for testing 14254var FORCED = !''.substr || 'ab'.substr(-1) !== 'b'; 14255 14256// `String.prototype.substr` method 14257// https://tc39.es/ecma262/#sec-string.prototype.substr 14258$({ target: 'String', proto: true, forced: FORCED }, { 14259 substr: function substr(start, length) { 14260 var that = toString(requireObjectCoercible(this)); 14261 var size = that.length; 14262 var intStart = toIntegerOrInfinity(start); 14263 var intLength, intEnd; 14264 if (intStart === Infinity) intStart = 0; 14265 if (intStart < 0) intStart = max(size + intStart, 0); 14266 intLength = length === undefined ? size : toIntegerOrInfinity(length); 14267 if (intLength <= 0 || intLength === Infinity) return ''; 14268 intEnd = min(intStart + intLength, size); 14269 return intStart >= intEnd ? '' : stringSlice(that, intStart, intEnd); 14270 } 14271}); 14272 14273 14274/***/ }), 14275 14276/***/ 623: 14277/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14278 14279"use strict"; 14280 14281var $ = __webpack_require__(2109); 14282var createHTML = __webpack_require__(4230); 14283var forcedStringHTMLMethod = __webpack_require__(3429); 14284 14285// `String.prototype.sup` method 14286// https://tc39.es/ecma262/#sec-string.prototype.sup 14287$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('sup') }, { 14288 sup: function sup() { 14289 return createHTML(this, 'sup', '', ''); 14290 } 14291}); 14292 14293 14294/***/ }), 14295 14296/***/ 8702: 14297/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14298 14299"use strict"; 14300 14301var $ = __webpack_require__(2109); 14302var $trimEnd = (__webpack_require__(3111).end); 14303var forcedStringTrimMethod = __webpack_require__(6091); 14304 14305var FORCED = forcedStringTrimMethod('trimEnd'); 14306 14307var trimEnd = FORCED ? function trimEnd() { 14308 return $trimEnd(this); 14309// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe 14310} : ''.trimEnd; 14311 14312// `String.prototype.{ trimEnd, trimRight }` methods 14313// https://tc39.es/ecma262/#sec-string.prototype.trimend
14314// https://tc39.es/ecma262/#String.prototype.trimright 14315$({ target: 'String', proto: true, name: 'trimEnd', forced: FORCED }, { 14316 trimEnd: trimEnd, 14317 trimRight: trimEnd 14318}); 14319 14320 14321/***/ }), 14322 14323/***/ 5674: 14324/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14325 14326"use strict"; 14327 14328var $ = __webpack_require__(2109); 14329var $trimStart = (__webpack_require__(3111).start); 14330var forcedStringTrimMethod = __webpack_require__(6091); 14331 14332var FORCED = forcedStringTrimMethod('trimStart'); 14333 14334var trimStart = FORCED ? function trimStart() { 14335 return $trimStart(this); 14336// eslint-disable-next-line es/no-string-prototype-trimstart-trimend -- safe 14337} : ''.trimStart; 14338 14339// `String.prototype.{ trimStart, trimLeft }` methods 14340// https://tc39.es/ecma262/#sec-string.prototype.trimstart 14341// https://tc39.es/ecma262/#String.prototype.trimleft 14342$({ target: 'String', proto: true, name: 'trimStart', forced: FORCED }, { 14343 trimStart: trimStart, 14344 trimLeft: trimStart 14345}); 14346 14347 14348/***/ }), 14349 14350/***/ 3210: 14351/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14352 14353"use strict"; 14354 14355var $ = __webpack_require__(2109); 14356var $trim = (__webpack_require__(3111).trim); 14357var forcedStringTrimMethod = __webpack_require__(6091); 14358 14359// `String.prototype.trim` method 14360// https://tc39.es/ecma262/#sec-string.prototype.trim 14361$({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, { 14362 trim: function trim() { 14363 return $trim(this); 14364 } 14365}); 14366 14367 14368/***/ }), 14369 14370/***/ 2443: 14371/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14372 14373var defineWellKnownSymbol = __webpack_require__(7235); 14374 14375// `Symbol.asyncIterator` well-known symbol 14376// https://tc39.es/ecma262/#sec-symbol.asynciterator 14377defineWellKnownSymbol('asyncIterator'); 14378 14379 14380/***/ }), 14381 14382/***/ 1817: 14383/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14384 14385"use strict";
vendor: 5,432 bytes, lines 14386-14532
14386// `Symbol.prototype.description` getter 14387// https://tc39.es/ecma262/#sec-symbol.prototype.description 14388 14389var $ = __webpack_require__(2109); 14390var DESCRIPTORS = __webpack_require__(9781); 14391var global = __webpack_require__(7854); 14392var uncurryThis = __webpack_require__(1702); 14393var hasOwn = __webpack_require__(2597); 14394var isCallable = __webpack_require__(614); 14395var isPrototypeOf = __webpack_require__(7976); 14396var toString = __webpack_require__(1340); 14397var defineProperty = (__webpack_require__(3070).f); 14398var copyConstructorProperties = __webpack_require__(9920); 14399 14400var NativeSymbol = global.Symbol; 14401var SymbolPrototype = NativeSymbol && NativeSymbol.prototype; 14402 14403if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototype) || 14404 // Safari 12 bug 14405 NativeSymbol().description !== undefined 14406)) { 14407 var EmptyStringDescriptionStore = {}; 14408 // wrap Symbol constructor for correct work with undefined description 14409 var SymbolWrapper = function Symbol() { 14410 var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString(arguments[0]); 14411 var result = isPrototypeOf(SymbolPrototype, this) 14412 ? new NativeSymbol(description) 14413 // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)' 14414 : description === undefined ? NativeSymbol() : NativeSymbol(description); 14415 if (description === '') EmptyStringDescriptionStore[result] = true; 14416 return result; 14417 }; 14418 14419 copyConstructorProperties(SymbolWrapper, NativeSymbol); 14420 SymbolWrapper.prototype = SymbolPrototype; 14421 SymbolPrototype.constructor = SymbolWrapper; 14422 14423 var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)'; 14424 var symbolToString = uncurryThis(SymbolPrototype.toString); 14425 var symbolValueOf = uncurryThis(SymbolPrototype.valueOf); 14426 var regexp = /^Symbol\((.*)\)[^)]+$/; 14427 var replace = uncurryThis(''.replace); 14428 var stringSlice = uncurryThis(''.slice); 14429 14430 defineProperty(SymbolPrototype, 'description', { 14431 configurable: true, 14432 get: function description() { 14433 var symbol = symbolValueOf(this); 14434 var string = symbolToString(symbol); 14435 if (hasOwn(EmptyStringDescriptionStore, symbol)) return ''; 14436 var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1'); 14437 return desc === '' ? undefined : desc; 14438 } 14439 }); 14440 14441 $({ global: true, forced: true }, { 14442 Symbol: SymbolWrapper 14443 }); 14444} 14445 14446 14447/***/ }), 14448 14449/***/ 2401: 14450/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14451 14452var defineWellKnownSymbol = __webpack_require__(7235); 14453 14454// `Symbol.hasInstance` well-known symbol 14455// https://tc39.es/ecma262/#sec-symbol.hasinstance 14456defineWellKnownSymbol('hasInstance'); 14457 14458 14459/***/ }), 14460 14461/***/ 8722: 14462/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14463 14464var defineWellKnownSymbol = __webpack_require__(7235); 14465 14466// `Symbol.isConcatSpreadable` well-known symbol 14467// https://tc39.es/ecma262/#sec-symbol.isconcatspreadable 14468defineWellKnownSymbol('isConcatSpreadable'); 14469 14470 14471/***/ }), 14472 14473/***/ 2165: 14474/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14475 14476var defineWellKnownSymbol = __webpack_require__(7235); 14477 14478// `Symbol.iterator` well-known symbol 14479// https://tc39.es/ecma262/#sec-symbol.iterator 14480defineWellKnownSymbol('iterator'); 14481 14482 14483/***/ }), 14484 14485/***/ 2526: 14486/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14487 14488"use strict"; 14489 14490var $ = __webpack_require__(2109); 14491var global = __webpack_require__(7854); 14492var getBuiltIn = __webpack_require__(5005); 14493var apply = __webpack_require__(2104); 14494var call = __webpack_require__(6916); 14495var uncurryThis = __webpack_require__(1702); 14496var IS_PURE = __webpack_require__(1913); 14497var DESCRIPTORS = __webpack_require__(9781); 14498var NATIVE_SYMBOL = __webpack_require__(133); 14499var fails = __webpack_require__(7293); 14500var hasOwn = __webpack_require__(2597); 14501var isArray = __webpack_require__(3157); 14502var isCallable = __webpack_require__(614); 14503var isObject = __webpack_require__(111); 14504var isPrototypeOf = __webpack_require__(7976); 14505var isSymbol = __webpack_require__(2190); 14506var anObject = __webpack_require__(9670); 14507var toObject = __webpack_require__(7908); 14508var toIndexedObject = __webpack_require__(5656); 14509var toPropertyKey = __webpack_require__(4948); 14510var $toString = __webpack_require__(1340); 14511var createPropertyDescriptor = __webpack_require__(9114); 14512var nativeObjectCreate = __webpack_require__(30); 14513var objectKeys = __webpack_require__(1956); 14514var getOwnPropertyNamesModule = __webpack_require__(8006); 14515var getOwnPropertyNamesExternal = __webpack_require__(1156); 14516var getOwnPropertySymbolsModule = __webpack_require__(5181); 14517var getOwnPropertyDescriptorModule = __webpack_require__(1236); 14518var definePropertyModule = __webpack_require__(3070); 14519var definePropertiesModule = __webpack_require__(6048); 14520var propertyIsEnumerableModule = __webpack_require__(5296); 14521var arraySlice = __webpack_require__(206); 14522var redefine = __webpack_require__(1320); 14523var shared = __webpack_require__(2309); 14524var sharedKey = __webpack_require__(6200); 14525var hiddenKeys = __webpack_require__(3501); 14526var uid = __webpack_require__(9711); 14527var wellKnownSymbol = __webpack_require__(5112); 14528var wrappedWellKnownSymbolModule = __webpack_require__(6061); 14529var defineWellKnownSymbol = __webpack_require__(7235); 14530var setToStringTag = __webpack_require__(8003); 14531var InternalStateModule = __webpack_require__(9909); 14532var $forEach = (__webpack_require__(2092).forEach)
vendor: 10,986 bytes, lines 14532-14818
14532; 14533 14534var HIDDEN = sharedKey('hidden'); 14535var SYMBOL = 'Symbol'; 14536var PROTOTYPE = 'prototype'; 14537var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); 14538 14539var setInternalState = InternalStateModule.set; 14540var getInternalState = InternalStateModule.getterFor(SYMBOL); 14541 14542var ObjectPrototype = Object[PROTOTYPE]; 14543var $Symbol = global.Symbol; 14544var SymbolPrototype = $Symbol && $Symbol[PROTOTYPE]; 14545var TypeError = global.TypeError; 14546var QObject = global.QObject; 14547var $stringify = getBuiltIn('JSON', 'stringify'); 14548var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; 14549var nativeDefineProperty = definePropertyModule.f; 14550var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; 14551var nativePropertyIsEnumerable = propertyIsEnumerableModule.f; 14552var push = uncurryThis([].push); 14553 14554var AllSymbols = shared('symbols'); 14555var ObjectPrototypeSymbols = shared('op-symbols'); 14556var StringToSymbolRegistry = shared('string-to-symbol-registry'); 14557var SymbolToStringRegistry = shared('symbol-to-string-registry'); 14558var WellKnownSymbolsStore = shared('wks'); 14559 14560// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 14561var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; 14562 14563// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 14564var setSymbolDescriptor = DESCRIPTORS && fails(function () { 14565 return nativeObjectCreate(nativeDefineProperty({}, 'a', { 14566 get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; } 14567 })).a != 7; 14568}) ? function (O, P, Attributes) { 14569 var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, P); 14570 if (ObjectPrototypeDescriptor) delete ObjectPrototype[P]; 14571 nativeDefineProperty(O, P, Attributes); 14572 if (ObjectPrototypeDescriptor && O !== ObjectPrototype) { 14573 nativeDefineProperty(ObjectPrototype, P, ObjectPrototypeDescriptor); 14574 } 14575} : nativeDefineProperty; 14576 14577var wrap = function (tag, description) { 14578 var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype); 14579 setInternalState(symbol, { 14580 type: SYMBOL, 14581 tag: tag, 14582 description: description 14583 }); 14584 if (!DESCRIPTORS) symbol.description = description; 14585 return symbol; 14586}; 14587 14588var $defineProperty = function defineProperty(O, P, Attributes) { 14589 if (O === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, P, Attributes); 14590 anObject(O); 14591 var key = toPropertyKey(P); 14592 anObject(Attributes); 14593 if (hasOwn(AllSymbols, key)) { 14594 if (!Attributes.enumerable) { 14595 if (!hasOwn(O, HIDDEN)) nativeDefineProperty(O, HIDDEN, createPropertyDescriptor(1, {})); 14596 O[HIDDEN][key] = true; 14597 } else { 14598 if (hasOwn(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false; 14599 Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor(0, false) }); 14600 } return setSymbolDescriptor(O, key, Attributes); 14601 } return nativeDefineProperty(O, key, Attributes); 14602}; 14603 14604var $defineProperties = function defineProperties(O, Properties) { 14605 anObject(O); 14606 var properties = toIndexedObject(Properties); 14607 var keys = objectKeys(properties).concat($getOwnPropertySymbols(properties)); 14608 $forEach(keys, function (key) { 14609 if (!DESCRIPTORS || call($propertyIsEnumerable, properties, key)) $defineProperty(O, key, properties[key]); 14610 }); 14611 return O; 14612}; 14613 14614var $create = function create(O, Properties) { 14615 return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties); 14616}; 14617 14618var $propertyIsEnumerable = function propertyIsEnumerable(V) { 14619 var P = toPropertyKey(V); 14620 var enumerable = call(nativePropertyIsEnumerable, this, P); 14621 if (this === ObjectPrototype && hasOwn(AllSymbols, P) && !hasOwn(ObjectPrototypeSymbols, P)) return false; 14622 return enumerable || !hasOwn(this, P) || !hasOwn(AllSymbols, P) || hasOwn(this, HIDDEN) && this[HIDDEN][P] 14623 ? enumerable : true; 14624}; 14625 14626var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) { 14627 var it = toIndexedObject(O); 14628 var key = toPropertyKey(P); 14629 if (it === ObjectPrototype && hasOwn(AllSymbols, key) && !hasOwn(ObjectPrototypeSymbols, key)) return; 14630 var descriptor = nativeGetOwnPropertyDescriptor(it, key); 14631 if (descriptor && hasOwn(AllSymbols, key) && !(hasOwn(it, HIDDEN) && it[HIDDEN][key])) { 14632 descriptor.enumerable = true; 14633 } 14634 return descriptor; 14635}; 14636 14637var $getOwnPropertyNames = function getOwnPropertyNames(O) { 14638 var names = nativeGetOwnPropertyNames(toIndexedObject(O)); 14639 var result = []; 14640 $forEach(names, function (key) { 14641 if (!hasOwn(AllSymbols, key) && !hasOwn(hiddenKeys, key)) push(result, key); 14642 }); 14643 return result; 14644}; 14645 14646var $getOwnPropertySymbols = function getOwnPropertySymbols(O) { 14647 var IS_OBJECT_PROTOTYPE = O === ObjectPrototype; 14648 var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject(O)); 14649 var result = []; 14650 $forEach(names, function (key) { 14651 if (hasOwn(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn(ObjectPrototype, key))) { 14652 push(result, AllSymbols[key]); 14653 } 14654 }); 14655 return result; 14656}; 14657 14658// `Symbol` constructor 14659// https://tc39.es/ecma262/#sec-symbol-constructor 14660if (!NATIVE_SYMBOL) { 14661 $Symbol = function Symbol() { 14662 if (isPrototypeOf(SymbolPrototype, this)) throw TypeError('Symbol is not a constructor'); 14663 var description = !arguments.length || arguments[0] === undefined ? undefined : $toString(arguments[0]); 14664 var tag = uid(description); 14665 var setter = function (value) { 14666 if (this === ObjectPrototype) call(setter, ObjectPrototypeSymbols, value); 14667 if (hasOwn(this, HIDDEN) && hasOwn(this[HIDDEN], tag)) this[HIDDEN][tag] = false; 14668 setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value)); 14669 }; 14670 if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter }); 14671 return wrap(tag, description); 14672 }; 14673 14674 SymbolPrototype = $Symbol[PROTOTYPE]; 14675 14676 redefine(SymbolPrototype, 'toString', function toString() { 14677 return getInternalState(this).tag; 14678 }); 14679 14680 redefine($Symbol, 'withoutSetter', function (description) { 14681 return wrap(uid(description), description); 14682 }); 14683 14684 propertyIsEnumerableModule.f = $propertyIsEnumerable; 14685 definePropertyModule.f = $defineProperty; 14686 definePropertiesModule.f = $defineProperties; 14687 getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor; 14688 getOwnPropertyNamesModule.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames; 14689 getOwnPropertySymbolsModule.f = $getOwnPropertySymbols; 14690 14691 wrappedWellKnownSymbolModule.f = function (name) { 14692 return wrap(wellKnownSymbol(name), name); 14693 }; 14694 14695 if (DESCRIPTORS) { 14696 // https://github.com/tc39/proposal-Symbol-description 14697 nativeDefineProperty(SymbolPrototype, 'description', { 14698 configurable: true, 14699 get: function description() { 14700 return getInternalState(this).description; 14701 } 14702 }); 14703 if (!IS_PURE) { 14704 redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true }); 14705 } 14706 } 14707} 14708 14709$({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, { 14710 Symbol: $Symbol 14711}); 14712 14713$forEach(objectKeys(WellKnownSymbolsStore), function (name) { 14714 defineWellKnownSymbol(name); 14715}); 14716 14717$({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, { 14718 // `Symbol.for` method 14719 // https://tc39.es/ecma262/#sec-symbol.for 14720 'for': function (key) { 14721 var string = $toString(key); 14722 if (hasOwn(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string]; 14723 var symbol = $Symbol(string); 14724 StringToSymbolRegistry[string] = symbol; 14725 SymbolToStringRegistry[symbol] = string; 14726 return symbol; 14727 }, 14728 // `Symbol.keyFor` method 14729 // https://tc39.es/ecma262/#sec-symbol.keyfor 14730 keyFor: function keyFor(sym) { 14731 if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol'); 14732 if (hasOwn(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym]; 14733 }, 14734 useSetter: function () { USE_SETTER = true; }, 14735 useSimple: function () { USE_SETTER = false; } 14736}); 14737 14738$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, { 14739 // `Object.create` method 14740 // https://tc39.es/ecma262/#sec-object.create 14741 create: $create, 14742 // `Object.defineProperty` method 14743 // https://tc39.es/ecma262/#sec-object.defineproperty 14744 defineProperty: $defineProperty, 14745 // `Object.defineProperties` method 14746 // https://tc39.es/ecma262/#sec-object.defineproperties 14747 defineProperties: $defineProperties, 14748 // `Object.getOwnPropertyDescriptor` method 14749 // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors 14750 getOwnPropertyDescriptor: $getOwnPropertyDescriptor 14751}); 14752 14753$({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, { 14754 // `Object.getOwnPropertyNames` method 14755 // https://tc39.es/ecma262/#sec-object.getownpropertynames 14756 getOwnPropertyNames: $getOwnPropertyNames, 14757 // `Object.getOwnPropertySymbols` method 14758 // https://tc39.es/ecma262/#sec-object.getownpropertysymbols 14759 getOwnPropertySymbols: $getOwnPropertySymbols 14760}); 14761 14762// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives 14763// https://bugs.chromium.org/p/v8/issues/detail?id=3443 14764$({ target: 'Object', stat: true, forced: fails(function () { getOwnPropertySymbolsModule.f(1); }) }, { 14765 getOwnPropertySymbols: function getOwnPropertySymbols(it) { 14766 return getOwnPropertySymbolsModule.f(toObject(it)); 14767 } 14768}); 14769 14770// `JSON.stringify` method behavior with symbols 14771// https://tc39.es/ecma262/#sec-json.stringify 14772if ($stringify) { 14773 var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails(function () { 14774 var symbol = $Symbol(); 14775 // MS Edge converts symbol values to JSON as {} 14776 return $stringify([symbol]) != '[null]' 14777 // WebKit converts symbol values to JSON as null 14778 || $stringify({ a: symbol }) != '{}' 14779 // V8 throws on boxed symbols 14780 || $stringify(Object(symbol)) != '{}'; 14781 }); 14782 14783 $({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, { 14784 // eslint-disable-next-line no-unused-vars -- required for `.length` 14785 stringify: function stringify(it, replacer, space) { 14786 var args = arraySlice(arguments); 14787 var $replacer = replacer; 14788 if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined 14789 if (!isArray(replacer)) replacer = function (key, value) { 14790 if (isCallable($replacer)) value = call($replacer, this, key, value); 14791 if (!isSymbol(value)) return value; 14792 }; 14793 args[1] = replacer; 14794 return apply($stringify, null, args); 14795 } 14796 }); 14797} 14798 14799// `Symbol.prototype[@@toPrimitive]` method 14800// https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive 14801if (!SymbolPrototype[TO_PRIMITIVE]) { 14802 var valueOf = SymbolPrototype.valueOf; 14803 // eslint-disable-next-line no-unused-vars -- required for .length 14804 redefine(SymbolPrototype, TO_PRIMITIVE, function (hint) { 14805 // TODO: improve hint logic 14806 return call(valueOf, this); 14807 }); 14808} 14809// `Symbol.prototype[@@toStringTag]` property 14810// https://tc39.es/ecma262/#sec-symbol.prototype-@@tostringtag 14811setToStringTag($Symbol, SYMBOL); 14812 14813hiddenKeys[HIDDEN] = true; 14814 14815 14816/***/ }), 14817 14818/***/
vendor: 30,777 bytes, lines 14818-15821
148186066: 14819/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14820 14821var defineWellKnownSymbol = __webpack_require__(7235); 14822 14823// `Symbol.matchAll` well-known symbol 14824// https://tc39.es/ecma262/#sec-symbol.matchall 14825defineWellKnownSymbol('matchAll'); 14826 14827 14828/***/ }), 14829 14830/***/ 9007: 14831/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14832 14833var defineWellKnownSymbol = __webpack_require__(7235); 14834 14835// `Symbol.match` well-known symbol 14836// https://tc39.es/ecma262/#sec-symbol.match 14837defineWellKnownSymbol('match'); 14838 14839 14840/***/ }), 14841 14842/***/ 3510: 14843/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14844 14845var defineWellKnownSymbol = __webpack_require__(7235); 14846 14847// `Symbol.replace` well-known symbol 14848// https://tc39.es/ecma262/#sec-symbol.replace 14849defineWellKnownSymbol('replace'); 14850 14851 14852/***/ }), 14853 14854/***/ 1840: 14855/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14856 14857var defineWellKnownSymbol = __webpack_require__(7235); 14858 14859// `Symbol.search` well-known symbol 14860// https://tc39.es/ecma262/#sec-symbol.search 14861defineWellKnownSymbol('search'); 14862 14863 14864/***/ }), 14865 14866/***/ 6982: 14867/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14868 14869var defineWellKnownSymbol = __webpack_require__(7235); 14870 14871// `Symbol.species` well-known symbol 14872// https://tc39.es/ecma262/#sec-symbol.species 14873defineWellKnownSymbol('species'); 14874 14875 14876/***/ }), 14877 14878/***/ 2159: 14879/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14880 14881var defineWellKnownSymbol = __webpack_require__(7235); 14882 14883// `Symbol.split` well-known symbol 14884// https://tc39.es/ecma262/#sec-symbol.split 14885defineWellKnownSymbol('split'); 14886 14887 14888/***/ }), 14889 14890/***/ 6649: 14891/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14892 14893var defineWellKnownSymbol = __webpack_require__(7235); 14894 14895// `Symbol.toPrimitive` well-known symbol 14896// https://tc39.es/ecma262/#sec-symbol.toprimitive 14897defineWellKnownSymbol('toPrimitive'); 14898 14899 14900/***/ }), 14901 14902/***/ 9341: 14903/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14904 14905var defineWellKnownSymbol = __webpack_require__(7235); 14906 14907// `Symbol.toStringTag` well-known symbol 14908// https://tc39.es/ecma262/#sec-symbol.tostringtag 14909defineWellKnownSymbol('toStringTag'); 14910 14911 14912/***/ }), 14913 14914/***/ 543: 14915/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14916 14917var defineWellKnownSymbol = __webpack_require__(7235); 14918 14919// `Symbol.unscopables` well-known symbol 14920// https://tc39.es/ecma262/#sec-symbol.unscopables 14921defineWellKnownSymbol('unscopables'); 14922 14923 14924/***/ }), 14925 14926/***/ 8675: 14927/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14928 14929"use strict"; 14930 14931var ArrayBufferViewCore = __webpack_require__(260); 14932var lengthOfArrayLike = __webpack_require__(6244); 14933var toIntegerOrInfinity = __webpack_require__(9303); 14934 14935var aTypedArray = ArrayBufferViewCore.aTypedArray; 14936var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 14937 14938// `%TypedArray%.prototype.at` method 14939// https://github.com/tc39/proposal-relative-indexing-method 14940exportTypedArrayMethod('at', function at(index) { 14941 var O = aTypedArray(this); 14942 var len = lengthOfArrayLike(O); 14943 var relativeIndex = toIntegerOrInfinity(index); 14944 var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; 14945 return (k < 0 || k >= len) ? undefined : O[k]; 14946}); 14947 14948 14949/***/ }), 14950 14951/***/ 2990: 14952/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14953 14954"use strict"; 14955 14956var uncurryThis = __webpack_require__(1702); 14957var ArrayBufferViewCore = __webpack_require__(260); 14958var $ArrayCopyWithin = __webpack_require__(1048); 14959 14960var u$ArrayCopyWithin = uncurryThis($ArrayCopyWithin); 14961var aTypedArray = ArrayBufferViewCore.aTypedArray; 14962var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 14963 14964// `%TypedArray%.prototype.copyWithin` method 14965// https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin 14966exportTypedArrayMethod('copyWithin', function copyWithin(target, start /* , end */) { 14967 return u$ArrayCopyWithin(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined); 14968}); 14969 14970 14971/***/ }), 14972 14973/***/ 8927: 14974/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14975 14976"use strict"; 14977 14978var ArrayBufferViewCore = __webpack_require__(260); 14979var $every = (__webpack_require__(2092).every); 14980 14981var aTypedArray = ArrayBufferViewCore.aTypedArray; 14982var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 14983 14984// `%TypedArray%.prototype.every` method 14985// https://tc39.es/ecma262/#sec-%typedarray%.prototype.every 14986exportTypedArrayMethod('every', function every(callbackfn /* , thisArg */) { 14987 return $every(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 14988}); 14989 14990 14991/***/ }), 14992 14993/***/ 3105: 14994/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 14995 14996"use strict"; 14997 14998var ArrayBufferViewCore = __webpack_require__(260); 14999var call = __webpack_require__(6916); 15000var $fill = __webpack_require__(1285); 15001 15002var aTypedArray = ArrayBufferViewCore.aTypedArray; 15003var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15004 15005// `%TypedArray%.prototype.fill` method 15006// https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill 15007exportTypedArrayMethod('fill', function fill(value /* , start, end */) { 15008 var length = arguments.length; 15009 return call( 15010 $fill, 15011 aTypedArray(this), 15012 value, 15013 length > 1 ? arguments[1] : undefined, 15014 length > 2 ? arguments[2] : undefined 15015 ); 15016}); 15017 15018 15019/***/ }), 15020 15021/***/ 5035: 15022/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15023 15024"use strict"; 15025 15026var ArrayBufferViewCore = __webpack_require__(260); 15027var $filter = (__webpack_require__(2092).filter); 15028var fromSpeciesAndList = __webpack_require__(3074); 15029 15030var aTypedArray = ArrayBufferViewCore.aTypedArray; 15031var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15032 15033// `%TypedArray%.prototype.filter` method 15034// https://tc39.es/ecma262/#sec-%typedarray%.prototype.filter 15035exportTypedArrayMethod('filter', function filter(callbackfn /* , thisArg */) { 15036 var list = $filter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 15037 return fromSpeciesAndList(this, list); 15038}); 15039 15040 15041/***/ }), 15042 15043/***/ 7174: 15044/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15045 15046"use strict"; 15047 15048var ArrayBufferViewCore = __webpack_require__(260); 15049var $findIndex = (__webpack_require__(2092).findIndex); 15050 15051var aTypedArray = ArrayBufferViewCore.aTypedArray; 15052var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15053 15054// `%TypedArray%.prototype.findIndex` method 15055// https://tc39.es/ecma262/#sec-%typedarray%.prototype.findindex 15056exportTypedArrayMethod('findIndex', function findIndex(predicate /* , thisArg */) { 15057 return $findIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); 15058}); 15059 15060 15061/***/ }), 15062 15063/***/ 4345: 15064/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15065 15066"use strict"; 15067 15068var ArrayBufferViewCore = __webpack_require__(260); 15069var $find = (__webpack_require__(2092).find); 15070 15071var aTypedArray = ArrayBufferViewCore.aTypedArray; 15072var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15073 15074// `%TypedArray%.prototype.find` method 15075// https://tc39.es/ecma262/#sec-%typedarray%.prototype.find 15076exportTypedArrayMethod('find', function find(predicate /* , thisArg */) { 15077 return $find(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); 15078}); 15079 15080 15081/***/ }), 15082 15083/***/ 4197: 15084/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15085 15086var createTypedArrayConstructor = __webpack_require__(9843); 15087 15088// `Float32Array` constructor 15089// https://tc39.es/ecma262/#sec-typedarray-objects 15090createTypedArrayConstructor('Float32', function (init) { 15091 return function Float32Array(data, byteOffset, length) { 15092 return init(this, data, byteOffset, length); 15093 }; 15094}); 15095 15096 15097/***/ }), 15098 15099/***/ 6495: 15100/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15101 15102var createTypedArrayConstructor = __webpack_require__(9843); 15103 15104// `Float64Array` constructor 15105// https://tc39.es/ecma262/#sec-typedarray-objects 15106createTypedArrayConstructor('Float64', function (init) { 15107 return function Float64Array(data, byteOffset, length) { 15108 return init(this, data, byteOffset, length); 15109 }; 15110}); 15111 15112 15113/***/ }), 15114 15115/***/ 2846: 15116/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15117 15118"use strict"; 15119 15120var ArrayBufferViewCore = __webpack_require__(260); 15121var $forEach = (__webpack_require__(2092).forEach); 15122 15123var aTypedArray = ArrayBufferViewCore.aTypedArray; 15124var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15125 15126// `%TypedArray%.prototype.forEach` method 15127// https://tc39.es/ecma262/#sec-%typedarray%.prototype.foreach 15128exportTypedArrayMethod('forEach', function forEach(callbackfn /* , thisArg */) { 15129 $forEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 15130}); 15131 15132 15133/***/ }), 15134 15135/***/ 8145: 15136/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15137 15138"use strict"; 15139 15140var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(3832); 15141var exportTypedArrayStaticMethod = (__webpack_require__(260).exportTypedArrayStaticMethod); 15142var typedArrayFrom = __webpack_require__(7321); 15143 15144// `%TypedArray%.from` method 15145// https://tc39.es/ecma262/#sec-%typedarray%.from 15146exportTypedArrayStaticMethod('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); 15147 15148 15149/***/ }), 15150 15151/***/ 4731: 15152/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15153 15154"use strict"; 15155 15156var ArrayBufferViewCore = __webpack_require__(260); 15157var $includes = (__webpack_require__(1318).includes); 15158 15159var aTypedArray = ArrayBufferViewCore.aTypedArray; 15160var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15161 15162// `%TypedArray%.prototype.includes` method 15163// https://tc39.es/ecma262/#sec-%typedarray%.prototype.includes 15164exportTypedArrayMethod('includes', function includes(searchElement /* , fromIndex */) { 15165 return $includes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); 15166}); 15167 15168 15169/***/ }), 15170 15171/***/ 7209: 15172/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15173 15174"use strict"; 15175 15176var ArrayBufferViewCore = __webpack_require__(260); 15177var $indexOf = (__webpack_require__(1318).indexOf); 15178 15179var aTypedArray = ArrayBufferViewCore.aTypedArray; 15180var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15181 15182// `%TypedArray%.prototype.indexOf` method 15183// https://tc39.es/ecma262/#sec-%typedarray%.prototype.indexof 15184exportTypedArrayMethod('indexOf', function indexOf(searchElement /* , fromIndex */) { 15185 return $indexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); 15186}); 15187 15188 15189/***/ }), 15190 15191/***/ 5109: 15192/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15193 15194var createTypedArrayConstructor = __webpack_require__(9843); 15195 15196// `Int16Array` constructor 15197// https://tc39.es/ecma262/#sec-typedarray-objects 15198createTypedArrayConstructor('Int16', function (init) { 15199 return function Int16Array(data, byteOffset, length) { 15200 return init(this, data, byteOffset, length); 15201 }; 15202}); 15203 15204 15205/***/ }), 15206 15207/***/ 5125: 15208/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15209 15210var createTypedArrayConstructor = __webpack_require__(9843); 15211 15212// `Int32Array` constructor 15213// https://tc39.es/ecma262/#sec-typedarray-objects 15214createTypedArrayConstructor('Int32', function (init) { 15215 return function Int32Array(data, byteOffset, length) { 15216 return init(this, data, byteOffset, length); 15217 }; 15218}); 15219 15220 15221/***/ }), 15222 15223/***/ 7145: 15224/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15225 15226var createTypedArrayConstructor = __webpack_require__(9843); 15227 15228// `Int8Array` constructor 15229// https://tc39.es/ecma262/#sec-typedarray-objects 15230createTypedArrayConstructor('Int8', function (init) { 15231 return function Int8Array(data, byteOffset, length) { 15232 return init(this, data, byteOffset, length); 15233 }; 15234}); 15235 15236 15237/***/ }), 15238 15239/***/ 6319: 15240/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15241 15242"use strict"; 15243 15244var global = __webpack_require__(7854); 15245var fails = __webpack_require__(7293); 15246var uncurryThis = __webpack_require__(1702); 15247var ArrayBufferViewCore = __webpack_require__(260); 15248var ArrayIterators = __webpack_require__(6992); 15249var wellKnownSymbol = __webpack_require__(5112); 15250 15251var ITERATOR = wellKnownSymbol('iterator'); 15252var Uint8Array = global.Uint8Array; 15253var arrayValues = uncurryThis(ArrayIterators.values); 15254var arrayKeys = uncurryThis(ArrayIterators.keys); 15255var arrayEntries = uncurryThis(ArrayIterators.entries); 15256var aTypedArray = ArrayBufferViewCore.aTypedArray; 15257var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15258var TypedArrayPrototype = Uint8Array && Uint8Array.prototype; 15259 15260var GENERIC = !fails(function () { 15261 TypedArrayPrototype[ITERATOR].call([1]); 15262}); 15263 15264var ITERATOR_IS_VALUES = !!TypedArrayPrototype 15265 && TypedArrayPrototype.values 15266 && TypedArrayPrototype[ITERATOR] === TypedArrayPrototype.values 15267 && TypedArrayPrototype.values.name === 'values'; 15268 15269var typedArrayValues = function values() { 15270 return arrayValues(aTypedArray(this)); 15271}; 15272 15273// `%TypedArray%.prototype.entries` method 15274// https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries 15275exportTypedArrayMethod('entries', function entries() { 15276 return arrayEntries(aTypedArray(this)); 15277}, GENERIC); 15278// `%TypedArray%.prototype.keys` method 15279// https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys 15280exportTypedArrayMethod('keys', function keys() { 15281 return arrayKeys(aTypedArray(this)); 15282}, GENERIC); 15283// `%TypedArray%.prototype.values` method 15284// https://tc39.es/ecma262/#sec-%typedarray%.prototype.values 15285exportTypedArrayMethod('values', typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' }); 15286// `%TypedArray%.prototype[@@iterator]` method 15287// https://tc39.es/ecma262/#sec-%typedarray%.prototype-@@iterator 15288exportTypedArrayMethod(ITERATOR, typedArrayValues, GENERIC || !ITERATOR_IS_VALUES, { name: 'values' }); 15289 15290 15291/***/ }), 15292 15293/***/ 8867: 15294/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15295 15296"use strict"; 15297 15298var ArrayBufferViewCore = __webpack_require__(260); 15299var uncurryThis = __webpack_require__(1702); 15300 15301var aTypedArray = ArrayBufferViewCore.aTypedArray; 15302var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15303var $join = uncurryThis([].join); 15304 15305// `%TypedArray%.prototype.join` method 15306// https://tc39.es/ecma262/#sec-%typedarray%.prototype.join 15307exportTypedArrayMethod('join', function join(separator) { 15308 return $join(aTypedArray(this), separator); 15309}); 15310 15311 15312/***/ }), 15313 15314/***/ 7789: 15315/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15316 15317"use strict"; 15318 15319var ArrayBufferViewCore = __webpack_require__(260); 15320var apply = __webpack_require__(2104); 15321var $lastIndexOf = __webpack_require__(6583); 15322 15323var aTypedArray = ArrayBufferViewCore.aTypedArray; 15324var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15325 15326// `%TypedArray%.prototype.lastIndexOf` method 15327// https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof 15328exportTypedArrayMethod('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) { 15329 var length = arguments.length; 15330 return apply($lastIndexOf, aTypedArray(this), length > 1 ? [searchElement, arguments[1]] : [searchElement]); 15331}); 15332 15333 15334/***/ }), 15335 15336/***/ 3739: 15337/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15338 15339"use strict"; 15340 15341var ArrayBufferViewCore = __webpack_require__(260); 15342var $map = (__webpack_require__(2092).map); 15343var typedArraySpeciesConstructor = __webpack_require__(6304); 15344 15345var aTypedArray = ArrayBufferViewCore.aTypedArray; 15346var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15347 15348// `%TypedArray%.prototype.map` method 15349// https://tc39.es/ecma262/#sec-%typedarray%.prototype.map 15350exportTypedArrayMethod('map', function map(mapfn /* , thisArg */) { 15351 return $map(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined, function (O, length) { 15352 return new (typedArraySpeciesConstructor(O))(length); 15353 }); 15354}); 15355 15356 15357/***/ }), 15358 15359/***/ 5206: 15360/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15361 15362"use strict"; 15363 15364var ArrayBufferViewCore = __webpack_require__(260); 15365var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(3832); 15366 15367var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; 15368var exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod; 15369 15370// `%TypedArray%.of` method 15371// https://tc39.es/ecma262/#sec-%typedarray%.of 15372exportTypedArrayStaticMethod('of', function of(/* ...items */) { 15373 var index = 0; 15374 var length = arguments.length; 15375 var result = new (aTypedArrayConstructor(this))(length); 15376 while (length > index) result[index] = arguments[index++]; 15377 return result; 15378}, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); 15379 15380 15381/***/ }), 15382 15383/***/ 4483: 15384/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15385 15386"use strict"; 15387 15388var ArrayBufferViewCore = __webpack_require__(260); 15389var $reduceRight = (__webpack_require__(3671).right); 15390 15391var aTypedArray = ArrayBufferViewCore.aTypedArray; 15392var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15393 15394// `%TypedArray%.prototype.reduceRicht` method 15395// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright 15396exportTypedArrayMethod('reduceRight', function reduceRight(callbackfn /* , initialValue */) { 15397 var length = arguments.length; 15398 return $reduceRight(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined); 15399}); 15400 15401 15402/***/ }), 15403 15404/***/ 9368: 15405/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15406 15407"use strict"; 15408 15409var ArrayBufferViewCore = __webpack_require__(260); 15410var $reduce = (__webpack_require__(3671).left); 15411 15412var aTypedArray = ArrayBufferViewCore.aTypedArray; 15413var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15414 15415// `%TypedArray%.prototype.reduce` method 15416// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce 15417exportTypedArrayMethod('reduce', function reduce(callbackfn /* , initialValue */) { 15418 var length = arguments.length; 15419 return $reduce(aTypedArray(this), callbackfn, length, length > 1 ? arguments[1] : undefined); 15420}); 15421 15422 15423/***/ }), 15424 15425/***/ 2056: 15426/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15427 15428"use strict"; 15429 15430var ArrayBufferViewCore = __webpack_require__(260); 15431 15432var aTypedArray = ArrayBufferViewCore.aTypedArray; 15433var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15434var floor = Math.floor; 15435 15436// `%TypedArray%.prototype.reverse` method 15437// https://tc39.es/ecma262/#sec-%typedarray%.prototype.reverse 15438exportTypedArrayMethod('reverse', function reverse() { 15439 var that = this; 15440 var length = aTypedArray(that).length; 15441 var middle = floor(length / 2); 15442 var index = 0; 15443 var value; 15444 while (index < middle) { 15445 value = that[index]; 15446 that[index++] = that[--length]; 15447 that[length] = value; 15448 } return that; 15449}); 15450 15451 15452/***/ }), 15453 15454/***/ 3462: 15455/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15456 15457"use strict"; 15458 15459var global = __webpack_require__(7854); 15460var call = __webpack_require__(6916); 15461var ArrayBufferViewCore = __webpack_require__(260); 15462var lengthOfArrayLike = __webpack_require__(6244); 15463var toOffset = __webpack_require__(4590); 15464var toIndexedObject = __webpack_require__(7908); 15465var fails = __webpack_require__(7293); 15466 15467var RangeError = global.RangeError; 15468var Int8Array = global.Int8Array; 15469var Int8ArrayPrototype = Int8Array && Int8Array.prototype; 15470var $set = Int8ArrayPrototype && Int8ArrayPrototype.set; 15471var aTypedArray = ArrayBufferViewCore.aTypedArray; 15472var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15473 15474var WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS = !fails(function () { 15475 // eslint-disable-next-line es/no-typed-arrays -- required for testing 15476 var array = new Uint8ClampedArray(2); 15477 call($set, array, { length: 1, 0: 3 }, 1); 15478 return array[1] !== 3; 15479}); 15480 15481// https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other 15482var TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function () { 15483 var array = new Int8Array(2); 15484 array.set(1); 15485 array.set('2', 1); 15486 return array[0] !== 0 || array[1] !== 2; 15487}); 15488 15489// `%TypedArray%.prototype.set` method 15490// https://tc39.es/ecma262/#sec-%typedarray%.prototype.set 15491exportTypedArrayMethod('set', function set(arrayLike /* , offset */) { 15492 aTypedArray(this); 15493 var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1); 15494 var src = toIndexedObject(arrayLike); 15495 if (WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS) return call($set, this, src, offset); 15496 var length = this.length; 15497 var len = lengthOfArrayLike(src); 15498 var index = 0; 15499 if (len + offset > length) throw RangeError('Wrong length'); 15500 while (index < len) this[offset + index] = src[index++]; 15501}, !WORKS_WITH_OBJECTS_AND_GEERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG); 15502 15503 15504/***/ }), 15505 15506/***/ 678: 15507/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15508 15509"use strict"; 15510 15511var ArrayBufferViewCore = __webpack_require__(260); 15512var typedArraySpeciesConstructor = __webpack_require__(6304); 15513var fails = __webpack_require__(7293); 15514var arraySlice = __webpack_require__(206); 15515 15516var aTypedArray = ArrayBufferViewCore.aTypedArray; 15517var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15518 15519var FORCED = fails(function () { 15520 // eslint-disable-next-line es/no-typed-arrays -- required for testing 15521 new Int8Array(1).slice(); 15522}); 15523 15524// `%TypedArray%.prototype.slice` method 15525// https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice 15526exportTypedArrayMethod('slice', function slice(start, end) { 15527 var list = arraySlice(aTypedArray(this), start, end); 15528 var C = typedArraySpeciesConstructor(this); 15529 var index = 0; 15530 var length = list.length; 15531 var result = new C(length); 15532 while (length > index) result[index] = list[index++]; 15533 return result; 15534}, FORCED); 15535 15536 15537/***/ }), 15538 15539/***/ 7462: 15540/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15541 15542"use strict"; 15543 15544var ArrayBufferViewCore = __webpack_require__(260); 15545var $some = (__webpack_require__(2092).some); 15546 15547var aTypedArray = ArrayBufferViewCore.aTypedArray; 15548var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15549 15550// `%TypedArray%.prototype.some` method 15551// https://tc39.es/ecma262/#sec-%typedarray%.prototype.some 15552exportTypedArrayMethod('some', function some(callbackfn /* , thisArg */) { 15553 return $some(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); 15554}); 15555 15556 15557/***/ }), 15558 15559/***/ 3824: 15560/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15561 15562"use strict"; 15563 15564var global = __webpack_require__(7854); 15565var uncurryThis = __webpack_require__(1702); 15566var fails = __webpack_require__(7293); 15567var aCallable = __webpack_require__(9662); 15568var internalSort = __webpack_require__(4362); 15569var ArrayBufferViewCore = __webpack_require__(260); 15570var FF = __webpack_require__(8886); 15571var IE_OR_EDGE = __webpack_require__(256); 15572var V8 = __webpack_require__(7392); 15573var WEBKIT = __webpack_require__(8008); 15574 15575var Array = global.Array; 15576var aTypedArray = ArrayBufferViewCore.aTypedArray; 15577var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15578var Uint16Array = global.Uint16Array; 15579var un$Sort = Uint16Array && uncurryThis(Uint16Array.prototype.sort); 15580 15581// WebKit 15582var ACCEPT_INCORRECT_ARGUMENTS = !!un$Sort && !(fails(function () { 15583 un$Sort(new Uint16Array(2), null); 15584}) && fails(function () { 15585 un$Sort(new Uint16Array(2), {}); 15586})); 15587 15588var STABLE_SORT = !!un$Sort && !fails(function () { 15589 // feature detection can be too slow, so check engines versions 15590 if (V8) return V8 < 74; 15591 if (FF) return FF < 67; 15592 if (IE_OR_EDGE) return true; 15593 if (WEBKIT) return WEBKIT < 602; 15594 15595 var array = new Uint16Array(516); 15596 var expected = Array(516); 15597 var index, mod; 15598 15599 for (index = 0; index < 516; index++) { 15600 mod = index % 4; 15601 array[index] = 515 - index; 15602 expected[index] = index - 2 * mod + 3; 15603 } 15604 15605 un$Sort(array, function (a, b) { 15606 return (a / 4 | 0) - (b / 4 | 0); 15607 }); 15608 15609 for (index = 0; index < 516; index++) { 15610 if (array[index] !== expected[index]) return true; 15611 } 15612}); 15613 15614var getSortCompare = function (comparefn) { 15615 return function (x, y) { 15616 if (comparefn !== undefined) return +comparefn(x, y) || 0; 15617 // eslint-disable-next-line no-self-compare -- NaN check 15618 if (y !== y) return -1; 15619 // eslint-disable-next-line no-self-compare -- NaN check 15620 if (x !== x) return 1; 15621 if (x === 0 && y === 0) return 1 / x > 0 && 1 / y < 0 ? 1 : -1; 15622 return x > y; 15623 }; 15624}; 15625 15626// `%TypedArray%.prototype.sort` method 15627// https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort 15628exportTypedArrayMethod('sort', function sort(comparefn) { 15629 if (comparefn !== undefined) aCallable(comparefn); 15630 if (STABLE_SORT) return un$Sort(this, comparefn); 15631 15632 return internalSort(aTypedArray(this), getSortCompare(comparefn)); 15633}, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS); 15634 15635 15636/***/ }), 15637 15638/***/ 5021: 15639/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15640 15641"use strict"; 15642 15643var ArrayBufferViewCore = __webpack_require__(260); 15644var toLength = __webpack_require__(7466); 15645var toAbsoluteIndex = __webpack_require__(1400); 15646var typedArraySpeciesConstructor = __webpack_require__(6304); 15647 15648var aTypedArray = ArrayBufferViewCore.aTypedArray; 15649var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15650 15651// `%TypedArray%.prototype.subarray` method 15652// https://tc39.es/ecma262/#sec-%typedarray%.prototype.subarray 15653exportTypedArrayMethod('subarray', function subarray(begin, end) { 15654 var O = aTypedArray(this); 15655 var length = O.length; 15656 var beginIndex = toAbsoluteIndex(begin, length); 15657 var C = typedArraySpeciesConstructor(O); 15658 return new C( 15659 O.buffer, 15660 O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT, 15661 toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex) 15662 ); 15663}); 15664 15665 15666/***/ }), 15667 15668/***/ 2974: 15669/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15670 15671"use strict"; 15672 15673var global = __webpack_require__(7854); 15674var apply = __webpack_require__(2104); 15675var ArrayBufferViewCore = __webpack_require__(260); 15676var fails = __webpack_require__(7293); 15677var arraySlice = __webpack_require__(206); 15678 15679var Int8Array = global.Int8Array; 15680var aTypedArray = ArrayBufferViewCore.aTypedArray; 15681var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; 15682var $toLocaleString = [].toLocaleString; 15683 15684// iOS Safari 6.x fails here 15685var TO_LOCALE_STRING_BUG = !!Int8Array && fails(function () { 15686 $toLocaleString.call(new Int8Array(1)); 15687}); 15688 15689var FORCED = fails(function () { 15690 return [1, 2].toLocaleString() != new Int8Array([1, 2]).toLocaleString(); 15691}) || !fails(function () { 15692 Int8Array.prototype.toLocaleString.call([1, 2]); 15693}); 15694 15695// `%TypedArray%.prototype.toLocaleString` method 15696// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring 15697exportTypedArrayMethod('toLocaleString', function toLocaleString() { 15698 return apply( 15699 $toLocaleString, 15700 TO_LOCALE_STRING_BUG ? arraySlice(aTypedArray(this)) : aTypedArray(this), 15701 arraySlice(arguments) 15702 ); 15703}, FORCED); 15704 15705 15706/***/ }), 15707 15708/***/ 5016: 15709/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15710 15711"use strict"; 15712 15713var exportTypedArrayMethod = (__webpack_require__(260).exportTypedArrayMethod); 15714var fails = __webpack_require__(7293); 15715var global = __webpack_require__(7854); 15716var uncurryThis = __webpack_require__(1702); 15717 15718var Uint8Array = global.Uint8Array; 15719var Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {}; 15720var arrayToString = [].toString; 15721var join = uncurryThis([].join); 15722 15723if (fails(function () { arrayToString.call({}); })) { 15724 arrayToString = function toString() { 15725 return join(this); 15726 }; 15727} 15728 15729var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString; 15730 15731// `%TypedArray%.prototype.toString` method 15732// https://tc39.es/ecma262/#sec-%typedarray%.prototype.tostring 15733exportTypedArrayMethod('toString', arrayToString, IS_NOT_ARRAY_METHOD); 15734 15735 15736/***/ }), 15737 15738/***/ 8255: 15739/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15740 15741var createTypedArrayConstructor = __webpack_require__(9843); 15742 15743// `Uint16Array` constructor 15744// https://tc39.es/ecma262/#sec-typedarray-objects 15745createTypedArrayConstructor('Uint16', function (init) { 15746 return function Uint16Array(data, byteOffset, length) { 15747 return init(this, data, byteOffset, length); 15748 }; 15749}); 15750 15751 15752/***/ }), 15753 15754/***/ 9135: 15755/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15756 15757var createTypedArrayConstructor = __webpack_require__(9843); 15758 15759// `Uint32Array` constructor 15760// https://tc39.es/ecma262/#sec-typedarray-objects 15761createTypedArrayConstructor('Uint32', function (init) { 15762 return function Uint32Array(data, byteOffset, length) { 15763 return init(this, data, byteOffset, length); 15764 }; 15765}); 15766 15767 15768/***/ }), 15769 15770/***/ 2472: 15771/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15772 15773var createTypedArrayConstructor = __webpack_require__(9843); 15774 15775// `Uint8Array` constructor 15776// https://tc39.es/ecma262/#sec-typedarray-objects 15777createTypedArrayConstructor('Uint8', function (init) { 15778 return function Uint8Array(data, byteOffset, length) { 15779 return init(this, data, byteOffset, length); 15780 }; 15781}); 15782 15783 15784/***/ }), 15785 15786/***/ 9743: 15787/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15788 15789var createTypedArrayConstructor = __webpack_require__(9843); 15790 15791// `Uint8ClampedArray` constructor 15792// https://tc39.es/ecma262/#sec-typedarray-objects 15793createTypedArrayConstructor('Uint8', function (init) { 15794 return function Uint8ClampedArray(data, byteOffset, length) { 15795 return init(this, data, byteOffset, length); 15796 }; 15797}, true); 15798 15799 15800/***/ }), 15801 15802/***/ 8221: 15803/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15804 15805"use strict"; 15806 15807var $ = __webpack_require__(2109); 15808var uncurryThis = __webpack_require__(1702); 15809var toString = __webpack_require__(1340); 15810 15811var fromCharCode = String.fromCharCode; 15812var charAt = uncurryThis(''.charAt); 15813var exec = uncurryThis(/./.exec); 15814var stringSlice = uncurryThis(''.slice); 15815 15816var hex2 = /^[\da-f]{2}$/i; 15817var hex4 = /^[\da-f]{4}$/i; 15818 15819// `unescape` method 15820// https://tc39.es/ecma262/#sec-unescape-string 15821$({ global: true }, {
vendor: 4,602 bytes, lines 15822-15960
15822 unescape: function unescape(string) { 15823 var str = toString(string); 15824 var result = ''; 15825 var length = str.length; 15826 var index = 0; 15827 var chr, part; 15828 while (index < length) { 15829 chr = charAt(str, index++); 15830 if (chr === '%') { 15831 if (charAt(str, index) === 'u') { 15832 part = stringSlice(str, index + 1, index + 5); 15833 if (exec(hex4, part)) { 15834 result += fromCharCode(parseInt(part, 16)); 15835 index += 5; 15836 continue; 15837 } 15838 } else { 15839 part = stringSlice(str, index, index + 2); 15840 if (exec(hex2, part)) { 15841 result += fromCharCode(parseInt(part, 16)); 15842 index += 2; 15843 continue; 15844 } 15845 } 15846 } 15847 result += chr; 15848 } return result; 15849 } 15850}); 15851 15852 15853/***/ }), 15854 15855/***/ 4129: 15856/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15857 15858"use strict"; 15859 15860var global = __webpack_require__(7854); 15861var uncurryThis = __webpack_require__(1702); 15862var redefineAll = __webpack_require__(2248); 15863var InternalMetadataModule = __webpack_require__(2423); 15864var collection = __webpack_require__(7710); 15865var collectionWeak = __webpack_require__(9320); 15866var isObject = __webpack_require__(111); 15867var isExtensible = __webpack_require__(2050); 15868var enforceInternalState = (__webpack_require__(9909).enforce); 15869var NATIVE_WEAK_MAP = __webpack_require__(8536); 15870 15871var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; 15872var InternalWeakMap; 15873 15874var wrapper = function (init) { 15875 return function WeakMap() { 15876 return init(this, arguments.length ? arguments[0] : undefined); 15877 }; 15878}; 15879 15880// `WeakMap` constructor 15881// https://tc39.es/ecma262/#sec-weakmap-constructor 15882var $WeakMap = collection('WeakMap', wrapper, collectionWeak); 15883 15884// IE11 WeakMap frozen keys fix 15885// We can't use feature detection because it crash some old IE builds 15886// https://github.com/zloirock/core-js/issues/485 15887if (NATIVE_WEAK_MAP && IS_IE11) { 15888 InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true); 15889 InternalMetadataModule.enable(); 15890 var WeakMapPrototype = $WeakMap.prototype; 15891 var nativeDelete = uncurryThis(WeakMapPrototype['delete']); 15892 var nativeHas = uncurryThis(WeakMapPrototype.has); 15893 var nativeGet = uncurryThis(WeakMapPrototype.get); 15894 var nativeSet = uncurryThis(WeakMapPrototype.set); 15895 redefineAll(WeakMapPrototype, { 15896 'delete': function (key) { 15897 if (isObject(key) && !isExtensible(key)) { 15898 var state = enforceInternalState(this); 15899 if (!state.frozen) state.frozen = new InternalWeakMap(); 15900 return nativeDelete(this, key) || state.frozen['delete'](key); 15901 } return nativeDelete(this, key); 15902 }, 15903 has: function has(key) { 15904 if (isObject(key) && !isExtensible(key)) { 15905 var state = enforceInternalState(this); 15906 if (!state.frozen) state.frozen = new InternalWeakMap(); 15907 return nativeHas(this, key) || state.frozen.has(key); 15908 } return nativeHas(this, key); 15909 }, 15910 get: function get(key) { 15911 if (isObject(key) && !isExtensible(key)) { 15912 var state = enforceInternalState(this); 15913 if (!state.frozen) state.frozen = new InternalWeakMap(); 15914 return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key); 15915 } return nativeGet(this, key); 15916 }, 15917 set: function set(key, value) { 15918 if (isObject(key) && !isExtensible(key)) { 15919 var state = enforceInternalState(this); 15920 if (!state.frozen) state.frozen = new InternalWeakMap(); 15921 nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value); 15922 } else nativeSet(this, key, value); 15923 return this; 15924 } 15925 }); 15926} 15927 15928 15929/***/ }), 15930 15931/***/ 8478: 15932/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15933 15934"use strict"; 15935 15936var collection = __webpack_require__(7710); 15937var collectionWeak = __webpack_require__(9320); 15938 15939// `WeakSet` constructor 15940// https://tc39.es/ecma262/#sec-weakset-constructor 15941collection('WeakSet', function (init) { 15942 return function WeakSet() { return init(this, arguments.length ? arguments[0] : undefined); }; 15943}, collectionWeak); 15944 15945 15946/***/ }), 15947 15948/***/ 5505: 15949/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 15950 15951var $ = __webpack_require__(2109); 15952var getBuiltIn = __webpack_require__(5005); 15953var uncurryThis = __webpack_require__(1702); 15954var fails = __webpack_require__(7293); 15955var toString = __webpack_require__(1340); 15956var hasOwn = __webpack_require__(2597); 15957var validateArgumentsLength = __webpack_require__(8053); 15958var ctoi = (__webpack_require__(4170).ctoi); 15959 15960var disallowed = /[^\d+/a-z]/i;
vendor: 7,507 bytes, lines 15961-16169
15961var whitespaces = /[\t\n\f\r ]+/g; 15962var finalEq = /[=]+$/; 15963 15964var $atob = getBuiltIn('atob'); 15965var fromCharCode = String.fromCharCode; 15966var charAt = uncurryThis(''.charAt); 15967var replace = uncurryThis(''.replace); 15968var exec = uncurryThis(disallowed.exec); 15969 15970var NO_SPACES_IGNORE = fails(function () { 15971 return atob(' ') !== ''; 15972}); 15973 15974var NO_ARG_RECEIVING_CHECK = !NO_SPACES_IGNORE && !fails(function () { 15975 $atob(); 15976}); 15977 15978// `atob` method 15979// https://html.spec.whatwg.org/multipage/webappapis.html#dom-atob 15980$({ global: true, enumerable: true, forced: NO_SPACES_IGNORE || NO_ARG_RECEIVING_CHECK }, { 15981 atob: function atob(data) { 15982 validateArgumentsLength(arguments.length, 1); 15983 if (NO_ARG_RECEIVING_CHECK) return $atob(data); 15984 var string = replace(toString(data), whitespaces, ''); 15985 var output = ''; 15986 var position = 0; 15987 var bc = 0; 15988 var chr, bs; 15989 if (string.length % 4 == 0) { 15990 string = replace(string, finalEq, ''); 15991 } 15992 if (string.length % 4 == 1 || exec(disallowed, string)) { 15993 throw new (getBuiltIn('DOMException'))('The string is not correctly encoded', 'InvalidCharacterError'); 15994 } 15995 while (chr = charAt(string, position++)) { 15996 if (hasOwn(ctoi, chr)) { 15997 bs = bc % 4 ? bs * 64 + ctoi[chr] : ctoi[chr]; 15998 if (bc++ % 4) output += fromCharCode(255 & bs >> (-2 * bc & 6)); 15999 } 16000 } return output; 16001 } 16002}); 16003 16004 16005/***/ }), 16006 16007/***/ 7479: 16008/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 16009 16010var $ = __webpack_require__(2109); 16011var getBuiltIn = __webpack_require__(5005); 16012var uncurryThis = __webpack_require__(1702); 16013var fails = __webpack_require__(7293); 16014var toString = __webpack_require__(1340); 16015var validateArgumentsLength = __webpack_require__(8053); 16016var itoc = (__webpack_require__(4170).itoc); 16017 16018var $btoa = getBuiltIn('btoa'); 16019var charAt = uncurryThis(''.charAt); 16020var charCodeAt = uncurryThis(''.charCodeAt); 16021 16022var NO_ARG_RECEIVING_CHECK = !!$btoa && !fails(function () { 16023 $btoa(); 16024}); 16025 16026// `btoa` method 16027// https://html.spec.whatwg.org/multipage/webappapis.html#dom-btoa 16028$({ global: true, enumerable: true, forced: NO_ARG_RECEIVING_CHECK }, { 16029 btoa: function btoa(data) { 16030 validateArgumentsLength(arguments.length, 1); 16031 if (NO_ARG_RECEIVING_CHECK) return $btoa(data); 16032 var string = toString(data); 16033 var output = ''; 16034 var position = 0; 16035 var map = itoc; 16036 var block, charCode; 16037 while (charAt(string, position) || (map = '=', position % 1)) { 16038 charCode = charCodeAt(string, position += 3 / 4); 16039 if (charCode > 0xFF) { 16040 throw new (getBuiltIn('DOMException'))('The string contains characters outside of the Latin1 range', 'InvalidCharacterError'); 16041 } 16042 block = block << 8 | charCode; 16043 output += charAt(map, 63 & block >> 8 - position % 1 * 8); 16044 } return output; 16045 } 16046}); 16047 16048 16049/***/ }), 16050 16051/***/ 4747: 16052/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 16053 16054var global = __webpack_require__(7854); 16055var DOMIterables = __webpack_require__(8324); 16056var DOMTokenListPrototype = __webpack_require__(8509); 16057var forEach = __webpack_require__(8533); 16058var createNonEnumerableProperty = __webpack_require__(8880); 16059 16060var handlePrototype = function (CollectionPrototype) { 16061 // some Chrome versions have non-configurable methods on DOMTokenList 16062 if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try { 16063 createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach); 16064 } catch (error) { 16065 CollectionPrototype.forEach = forEach; 16066 } 16067}; 16068 16069for (var COLLECTION_NAME in DOMIterables) { 16070 if (DOMIterables[COLLECTION_NAME]) { 16071 handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype); 16072 } 16073} 16074 16075handlePrototype(DOMTokenListPrototype); 16076 16077 16078/***/ }), 16079 16080/***/ 3948: 16081/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 16082 16083var global = __webpack_require__(7854); 16084var DOMIterables = __webpack_require__(8324); 16085var DOMTokenListPrototype = __webpack_require__(8509); 16086var ArrayIteratorMethods = __webpack_require__(6992); 16087var createNonEnumerableProperty = __webpack_require__(8880); 16088var wellKnownSymbol = __webpack_require__(5112); 16089 16090var ITERATOR = wellKnownSymbol('iterator'); 16091var TO_STRING_TAG = wellKnownSymbol('toStringTag'); 16092var ArrayValues = ArrayIteratorMethods.values; 16093 16094var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) { 16095 if (CollectionPrototype) { 16096 // some Chrome versions have non-configurable methods on DOMTokenList 16097 if (CollectionPrototype[ITERATOR] !== ArrayValues) try { 16098 createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues); 16099 } catch (error) { 16100 CollectionPrototype[ITERATOR] = ArrayValues; 16101 } 16102 if (!CollectionPrototype[TO_STRING_TAG]) { 16103 createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME); 16104 } 16105 if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) { 16106 // some Chrome versions have non-configurable methods on DOMTokenList 16107 if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try { 16108 createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]); 16109 } catch (error) { 16110 CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME]; 16111 } 16112 } 16113 } 16114}; 16115 16116for (var COLLECTION_NAME in DOMIterables) { 16117 handlePrototype(global[COLLECTION_NAME] && global[COLLECTION_NAME].prototype, COLLECTION_NAME); 16118} 16119 16120handlePrototype(DOMTokenListPrototype, 'DOMTokenList'); 16121 16122 16123/***/ }), 16124 16125/***/ 7714: 16126/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 16127 16128"use strict"; 16129 16130var $ = __webpack_require__(2109); 16131var tryNodeRequire = __webpack_require__(4038); 16132var getBuiltIn = __webpack_require__(5005); 16133var fails = __webpack_require__(7293); 16134var create = __webpack_require__(30); 16135var createPropertyDescriptor = __webpack_require__(9114); 16136var defineProperty = (__webpack_require__(3070).f); 16137var defineProperties = (__webpack_require__(6048).f); 16138var redefine = __webpack_require__(1320); 16139var hasOwn = __webpack_require__(2597); 16140var anInstance = __webpack_require__(5787); 16141var anObject = __webpack_require__(9670); 16142var errorToString = __webpack_require__(7762); 16143var normalizeStringArgument = __webpack_require__(6277); 16144var DOMExceptionConstants = __webpack_require__(3678); 16145var clearErrorStack = __webpack_require__(7741); 16146var InternalStateModule = __webpack_require__(9909); 16147var DESCRIPTORS = __webpack_require__(9781); 16148var IS_PURE = __webpack_require__(1913); 16149 16150var DOM_EXCEPTION = 'DOMException'; 16151var DATA_CLONE_ERR = 'DATA_CLONE_ERR'; 16152var Error = getBuiltIn('Error'); 16153// NodeJS < 17.0 does not expose `DOMException` to global 16154var NativeDOMException = getBuiltIn(DOM_EXCEPTION) || (function () { 16155 try { 16156 // NodeJS < 15.0 does not expose `MessageChannel` to global 16157 var MessageChannel = getBuiltIn('MessageChannel') || tryNodeRequire('worker_threads').MessageChannel; 16158 // eslint-disable-next-line es/no-weak-map, unicorn/require-post-message-target-origin -- safe 16159 new MessageChannel().port1.postMessage(new WeakMap()); 16160 } catch (error) { 16161 if (error.name == DATA_CLONE_ERR && error.code == 25) return error.constructor; 16162 } 16163})(); 16164var NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype; 16165var ErrorPrototype = Error.prototype; 16166var setInternalState = InternalStateModule.set; 16167var getInternalState = InternalStateModule.getterFor(DOM_EXCEPTION); 16168var HAS_STACK = 'stack' in Error(DOM_EXCEPTION); 16169
vendor: 4,717 bytes, lines 16170-16299
16170var codeFor = function (name) { 16171 return hasOwn(DOMExceptionConstants, name) && DOMExceptionConstants[name].m ? DOMExceptionConstants[name].c : 0; 16172}; 16173 16174var $DOMException = function DOMException() { 16175 anInstance(this, DOMExceptionPrototype); 16176 var argumentsLength = arguments.length; 16177 var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]); 16178 var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error'); 16179 var code = codeFor(name); 16180 setInternalState(this, { 16181 type: DOM_EXCEPTION, 16182 name: name, 16183 message: message, 16184 code: code 16185 }); 16186 if (!DESCRIPTORS) { 16187 this.name = name; 16188 this.message = message; 16189 this.code = code; 16190 } 16191 if (HAS_STACK) { 16192 var error = Error(message); 16193 error.name = DOM_EXCEPTION; 16194 defineProperty(this, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); 16195 } 16196}; 16197 16198var DOMExceptionPrototype = $DOMException.prototype = create(ErrorPrototype); 16199 16200var createGetterDescriptor = function (get) { 16201 return { enumerable: true, configurable: true, get: get }; 16202}; 16203 16204var getterFor = function (key) { 16205 return createGetterDescriptor(function () { 16206 return getInternalState(this)[key]; 16207 }); 16208}; 16209 16210if (DESCRIPTORS) defineProperties(DOMExceptionPrototype, { 16211 name: getterFor('name'), 16212 message: getterFor('message'), 16213 code: getterFor('code') 16214}); 16215 16216defineProperty(DOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, $DOMException)); 16217 16218// FF36- DOMException is a function, but can't be constructed 16219var INCORRECT_CONSTRUCTOR = fails(function () { 16220 return !(new NativeDOMException() instanceof Error); 16221}); 16222 16223// Safari 10.1 / Chrome 32- / IE8- DOMException.prototype.toString bugs 16224var INCORRECT_TO_STRING = INCORRECT_CONSTRUCTOR || fails(function () { 16225 return ErrorPrototype.toString !== errorToString || String(new NativeDOMException(1, 2)) !== '2: 1'; 16226}); 16227 16228// Deno 1.6.3- DOMException.prototype.code just missed 16229var INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails(function () { 16230 return new NativeDOMException(1, 'DataCloneError').code !== 25; 16231}); 16232 16233// Deno 1.6.3- DOMException constants just missed 16234var MISSED_CONSTANTS = INCORRECT_CONSTRUCTOR 16235 || NativeDOMException[DATA_CLONE_ERR] !== 25 16236 || NativeDOMExceptionPrototype[DATA_CLONE_ERR] !== 25; 16237 16238var FORCED_CONSTRUCTOR = IS_PURE ? INCORRECT_TO_STRING || INCORRECT_CODE || MISSED_CONSTANTS : INCORRECT_CONSTRUCTOR; 16239 16240// `DOMException` constructor 16241// https://webidl.spec.whatwg.org/#idl-DOMException 16242$({ global: true, forced: FORCED_CONSTRUCTOR }, { 16243 DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException 16244}); 16245 16246var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); 16247var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; 16248 16249if (INCORRECT_TO_STRING && (IS_PURE || NativeDOMException === PolyfilledDOMException)) { 16250 redefine(PolyfilledDOMExceptionPrototype, 'toString', errorToString); 16251} 16252 16253if (INCORRECT_CODE && DESCRIPTORS && NativeDOMException === PolyfilledDOMException) { 16254 defineProperty(PolyfilledDOMExceptionPrototype, 'code', createGetterDescriptor(function () { 16255 return codeFor(anObject(this).name); 16256 })); 16257} 16258 16259for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { 16260 var constant = DOMExceptionConstants[key]; 16261 var constantName = constant.s; 16262 var descriptor = createPropertyDescriptor(6, constant.c); 16263 if (!hasOwn(PolyfilledDOMException, constantName)) { 16264 defineProperty(PolyfilledDOMException, constantName, descriptor); 16265 } 16266 if (!hasOwn(PolyfilledDOMExceptionPrototype, constantName)) { 16267 defineProperty(PolyfilledDOMExceptionPrototype, constantName, descriptor); 16268 } 16269} 16270 16271 16272/***/ }), 16273 16274/***/ 2801: 16275/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 16276 16277"use strict"; 16278 16279var $ = __webpack_require__(2109); 16280var getBuiltIn = __webpack_require__(5005); 16281var createPropertyDescriptor = __webpack_require__(9114); 16282var defineProperty = (__webpack_require__(3070).f); 16283var hasOwn = __webpack_require__(2597); 16284var anInstance = __webpack_require__(5787); 16285var inheritIfRequired = __webpack_require__(9587); 16286var normalizeStringArgument = __webpack_require__(6277); 16287var DOMExceptionConstants = __webpack_require__(3678); 16288var clearErrorStack = __webpack_require__(7741); 16289var IS_PURE = __webpack_require__(1913); 16290 16291var DOM_EXCEPTION = 'DOMException'; 16292var Error = getBuiltIn('Error'); 16293var NativeDOMException = getBuiltIn(DOM_EXCEPTION); 16294 16295var $DOMException = function DOMException() { 16296 anInstance(this, DOMExceptionPrototype); 16297 var argumentsLength = arguments.length; 16298 var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]); 16299 var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error');
vendor: 33,419 bytes, lines 16300-17277
16300 var that = new NativeDOMException(message, name); 16301 var error = Error(message); 16302 error.name = DOM_EXCEPTION; 16303 defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); 16304 inheritIfRequired(that, this, $DOMException); 16305 return that; 16306}; 16307 16308var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype; 16309 16310var ERROR_HAS_STACK = 'stack' in Error(DOM_EXCEPTION); 16311var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2); 16312var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !DOM_EXCEPTION_HAS_STACK; 16313 16314// `DOMException` constructor patch for `.stack` where it's required 16315// https://webidl.spec.whatwg.org/#es-DOMException-specialness 16316$({ global: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic 16317 DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException 16318}); 16319 16320var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); 16321var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; 16322 16323if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) { 16324 if (!IS_PURE) { 16325 defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException)); 16326 } 16327 16328 for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { 16329 var constant = DOMExceptionConstants[key]; 16330 var constantName = constant.s; 16331 if (!hasOwn(PolyfilledDOMException, constantName)) { 16332 defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c)); 16333 } 16334 } 16335} 16336 16337 16338/***/ }), 16339 16340/***/ 1174: 16341/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 16342 16343var getBuiltIn = __webpack_require__(5005); 16344var setToStringTag = __webpack_require__(8003); 16345 16346var DOM_EXCEPTION = 'DOMException'; 16347 16348setToStringTag(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION); 16349 16350 16351/***/ }), 16352 16353/***/ 4633: 16354/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 16355 16356var $ = __webpack_require__(2109); 16357var global = __webpack_require__(7854); 16358var task = __webpack_require__(261); 16359 16360var FORCED = !global.setImmediate || !global.clearImmediate; 16361 16362// http://w3c.github.io/setImmediate/ 16363$({ global: true, bind: true, enumerable: true, forced: FORCED }, { 16364 // `setImmediate` method 16365 // http://w3c.github.io/setImmediate/#si-setImmediate 16366 setImmediate: task.set, 16367 // `clearImmediate` method 16368 // http://w3c.github.io/setImmediate/#si-clearImmediate 16369 clearImmediate: task.clear 16370}); 16371 16372 16373/***/ }), 16374 16375/***/ 5844: 16376/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 16377 16378var $ = __webpack_require__(2109); 16379var global = __webpack_require__(7854); 16380var microtask = __webpack_require__(5948); 16381var aCallable = __webpack_require__(9662); 16382var validateArgumentsLength = __webpack_require__(8053); 16383var IS_NODE = __webpack_require__(5268); 16384 16385var process = global.process; 16386 16387// `queueMicrotask` method 16388// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask 16389$({ global: true, enumerable: true, noTargetGet: true }, { 16390 queueMicrotask: function queueMicrotask(fn) { 16391 validateArgumentsLength(arguments.length, 1); 16392 aCallable(fn); 16393 var domain = IS_NODE && process.domain; 16394 microtask(domain ? domain.bind(fn) : fn); 16395 } 16396}); 16397 16398 16399/***/ }), 16400 16401/***/ 1295: 16402/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 16403 16404var IS_PURE = __webpack_require__(1913); 16405var $ = __webpack_require__(2109); 16406var global = __webpack_require__(7854); 16407var getBuiltin = __webpack_require__(5005); 16408var uncurryThis = __webpack_require__(1702); 16409var fails = __webpack_require__(7293); 16410var uid = __webpack_require__(9711); 16411var isCallable = __webpack_require__(614); 16412var isConstructor = __webpack_require__(4411); 16413var isObject = __webpack_require__(111); 16414var isSymbol = __webpack_require__(2190); 16415var iterate = __webpack_require__(408); 16416var anObject = __webpack_require__(9670); 16417var classof = __webpack_require__(648); 16418var hasOwn = __webpack_require__(2597); 16419var createProperty = __webpack_require__(6135); 16420var createNonEnumerableProperty = __webpack_require__(8880); 16421var lengthOfArrayLike = __webpack_require__(6244); 16422var validateArgumentsLength = __webpack_require__(8053); 16423var regExpFlags = __webpack_require__(7066); 16424var ERROR_STACK_INSTALLABLE = __webpack_require__(2914); 16425 16426var Object = global.Object; 16427var Date = global.Date; 16428var Error = global.Error; 16429var EvalError = global.EvalError; 16430var RangeError = global.RangeError; 16431var ReferenceError = global.ReferenceError; 16432var SyntaxError = global.SyntaxError; 16433var TypeError = global.TypeError; 16434var URIError = global.URIError; 16435var PerformanceMark = global.PerformanceMark; 16436var WebAssembly = global.WebAssembly; 16437var CompileError = WebAssembly && WebAssembly.CompileError || Error; 16438var LinkError = WebAssembly && WebAssembly.LinkError || Error; 16439var RuntimeError = WebAssembly && WebAssembly.RuntimeError || Error; 16440var DOMException = getBuiltin('DOMException'); 16441var Set = getBuiltin('Set'); 16442var Map = getBuiltin('Map'); 16443var MapPrototype = Map.prototype; 16444var mapHas = uncurryThis(MapPrototype.has); 16445var mapGet = uncurryThis(MapPrototype.get); 16446var mapSet = uncurryThis(MapPrototype.set); 16447var setAdd = uncurryThis(Set.prototype.add); 16448var objectKeys = getBuiltin('Object', 'keys'); 16449var push = uncurryThis([].push); 16450var booleanValueOf = uncurryThis(true.valueOf); 16451var numberValueOf = uncurryThis(1.0.valueOf); 16452var stringValueOf = uncurryThis(''.valueOf); 16453var getFlags = uncurryThis(regExpFlags); 16454var getTime = uncurryThis(Date.prototype.getTime); 16455var PERFORMANCE_MARK = uid('structuredClone'); 16456var DATA_CLONE_ERROR = 'DataCloneError'; 16457var TRANSFERRING = 'Transferring'; 16458 16459var checkBasicSemantic = function (structuredCloneImplementation) { 16460 return !fails(function () { 16461 var set1 = new global.Set([7]); 16462 var set2 = structuredCloneImplementation(set1); 16463 var number = structuredCloneImplementation(Object(7)); 16464 return set2 == set1 || !set2.has(7) || typeof number != 'object' || number != 7; 16465 }) && structuredCloneImplementation; 16466}; 16467 16468// https://github.com/whatwg/html/pull/5749 16469var checkNewErrorsSemantic = function (structuredCloneImplementation) { 16470 return !fails(function () { 16471 var test = structuredCloneImplementation(new global.AggregateError([1], PERFORMANCE_MARK, { cause: 3 })); 16472 return test.name != 'AggregateError' || test.errors[0] != 1 || test.message != PERFORMANCE_MARK || test.cause != 3; 16473 }) && structuredCloneImplementation; 16474}; 16475 16476// FF94+, Safari TP134+, Chrome Canary 98+, NodeJS 17.0+, Deno 1.13+ 16477// current FF and Safari implementations can't clone errors 16478// https://bugzilla.mozilla.org/show_bug.cgi?id=1556604 16479// no one of current implementations supports new (html/5749) error cloning semantic 16480var nativeStructuredClone = global.structuredClone; 16481 16482var FORCED_REPLACEMENT = IS_PURE || !checkNewErrorsSemantic(nativeStructuredClone); 16483 16484// Chrome 82+, Safari 14.1+, Deno 1.11+ 16485// Chrome 78-81 implementation swaps `.name` and `.message` of cloned `DOMException` 16486// Safari 14.1 implementation doesn't clone some `RegExp` flags, so requires a workaround 16487// current Safari implementation can't clone errors 16488// Deno 1.2-1.10 implementations too naive 16489// NodeJS 16.0+ does not have `PerformanceMark` constructor, structured cloning implementation 16490// from `performance.mark` is too naive and can't clone, for example, `RegExp` or some boxed primitives 16491// https://github.com/nodejs/node/issues/40840 16492// no one of current implementations supports new (html/5749) error cloning semantic 16493var structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function (value) { 16494 return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail; 16495}); 16496 16497var nativeRestrictedStructuredClone = checkBasicSemantic(nativeStructuredClone) || structuredCloneFromMark; 16498 16499var throwUncloneable = function (type) { 16500 throw new DOMException('Uncloneable type: ' + type, DATA_CLONE_ERROR); 16501}; 16502 16503var throwUnpolyfillable = function (type, kind) { 16504 throw new DOMException((kind || 'Cloning') + ' of ' + type + ' cannot be properly polyfilled in this engine', DATA_CLONE_ERROR); 16505}; 16506 16507var structuredCloneInternal = function (value, map) { 16508 if (isSymbol(value)) throwUncloneable('Symbol'); 16509 if (!isObject(value)) return value; 16510 // effectively preserves circular references 16511 if (map) { 16512 if (mapHas(map, value)) return mapGet(map, value); 16513 } else map = new Map(); 16514 16515 var type = classof(value); 16516 var deep = false; 16517 var C, name, cloned, dataTransfer, i, length, keys, key, source, target; 16518 16519 switch (type) { 16520 case 'Array': 16521 cloned = []; 16522 deep = true; 16523 break; 16524 case 'Object': 16525 cloned = {}; 16526 deep = true; 16527 break; 16528 case 'Map': 16529 cloned = new Map(); 16530 deep = true; 16531 break; 16532 case 'Set': 16533 cloned = new Set(); 16534 deep = true; 16535 break; 16536 case 'RegExp': 16537 // in this block because of a Safari 14.1 bug 16538 // old FF does not clone regexes passed to the constructor, so get the source and flags directly 16539 cloned = new RegExp(value.source, 'flags' in value ? value.flags : getFlags(value)); 16540 break; 16541 case 'Error': 16542 name = value.name; 16543 switch (name) { 16544 case 'AggregateError': 16545 cloned = getBuiltin('AggregateError')([]); 16546 break; 16547 case 'EvalError': 16548 cloned = EvalError(); 16549 break; 16550 case 'RangeError': 16551 cloned = RangeError(); 16552 break; 16553 case 'ReferenceError': 16554 cloned = ReferenceError(); 16555 break; 16556 case 'SyntaxError': 16557 cloned = SyntaxError(); 16558 break; 16559 case 'TypeError': 16560 cloned = TypeError(); 16561 break; 16562 case 'URIError': 16563 cloned = URIError(); 16564 break; 16565 case 'CompileError': 16566 cloned = CompileError(); 16567 break; 16568 case 'LinkError': 16569 cloned = LinkError(); 16570 break; 16571 case 'RuntimeError': 16572 cloned = RuntimeError(); 16573 break; 16574 default: 16575 cloned = Error(); 16576 } 16577 deep = true; 16578 break; 16579 case 'DOMException': 16580 cloned = new DOMException(value.message, value.name); 16581 deep = true; 16582 break; 16583 case 'DataView': 16584 case 'Int8Array': 16585 case 'Uint8Array': 16586 case 'Uint8ClampedArray': 16587 case 'Int16Array': 16588 case 'Uint16Array': 16589 case 'Int32Array': 16590 case 'Uint32Array': 16591 case 'Float32Array': 16592 case 'Float64Array': 16593 case 'BigInt64Array': 16594 case 'BigUint64Array': 16595 C = global[type]; 16596 // in some old engines like Safari 9, typeof C is 'object' 16597 // on Uint8ClampedArray or some other constructors 16598 if (!isObject(C)) throwUnpolyfillable(type); 16599 cloned = new C( 16600 // this is safe, since arraybuffer cannot have circular references 16601 structuredCloneInternal(value.buffer, map), 16602 value.byteOffset, 16603 type === 'DataView' ? value.byteLength : value.length 16604 ); 16605 break; 16606 case 'DOMQuad': 16607 try { 16608 cloned = new DOMQuad( 16609 structuredCloneInternal(value.p1, map), 16610 structuredCloneInternal(value.p2, map), 16611 structuredCloneInternal(value.p3, map), 16612 structuredCloneInternal(value.p4, map) 16613 ); 16614 } catch (error) { 16615 if (nativeRestrictedStructuredClone) { 16616 cloned = nativeRestrictedStructuredClone(value); 16617 } else throwUnpolyfillable(type); 16618 } 16619 break; 16620 case 'FileList': 16621 C = global.DataTransfer; 16622 if (isConstructor(C)) { 16623 dataTransfer = new C(); 16624 for (i = 0, length = lengthOfArrayLike(value); i < length; i++) { 16625 dataTransfer.items.add(structuredCloneInternal(value[i], map)); 16626 } 16627 cloned = dataTransfer.files; 16628 } else if (nativeRestrictedStructuredClone) { 16629 cloned = nativeRestrictedStructuredClone(value); 16630 } else throwUnpolyfillable(type); 16631 break; 16632 case 'ImageData': 16633 // Safari 9 ImageData is a constructor, but typeof ImageData is 'object' 16634 try { 16635 cloned = new ImageData( 16636 structuredCloneInternal(value.data, map), 16637 value.width, 16638 value.height, 16639 { colorSpace: value.colorSpace } 16640 ); 16641 } catch (error) { 16642 if (nativeRestrictedStructuredClone) { 16643 cloned = nativeRestrictedStructuredClone(value); 16644 } else throwUnpolyfillable(type); 16645 } break; 16646 default: 16647 if (nativeRestrictedStructuredClone) { 16648 cloned = nativeRestrictedStructuredClone(value); 16649 } else switch (type) { 16650 case 'BigInt': 16651 // can be a 3rd party polyfill 16652 cloned = Object(value.valueOf()); 16653 break; 16654 case 'Boolean': 16655 cloned = Object(booleanValueOf(value)); 16656 break; 16657 case 'Number': 16658 cloned = Object(numberValueOf(value)); 16659 break; 16660 case 'String': 16661 cloned = Object(stringValueOf(value)); 16662 break; 16663 case 'Date': 16664 cloned = new Date(getTime(value)); 16665 break; 16666 case 'ArrayBuffer': 16667 C = global.DataView; 16668 // `ArrayBuffer#slice` is not available in IE10 16669 // `ArrayBuffer#slice` and `DataView` are not available in old FF 16670 if (!C && typeof value.slice != 'function') throwUnpolyfillable(type); 16671 // detached buffers throws in `DataView` and `.slice` 16672 try { 16673 if (typeof value.slice == 'function') { 16674 cloned = value.slice(0); 16675 } else { 16676 length = value.byteLength; 16677 cloned = new ArrayBuffer(length); 16678 source = new C(value); 16679 target = new C(cloned); 16680 for (i = 0; i < length; i++) { 16681 target.setUint8(i, source.getUint8(i)); 16682 } 16683 } 16684 } catch (error) { 16685 throw new DOMException('ArrayBuffer is detached', DATA_CLONE_ERROR); 16686 } break; 16687 case 'SharedArrayBuffer': 16688 // SharedArrayBuffer should use shared memory, we can't polyfill it, so return the original 16689 cloned = value; 16690 break; 16691 case 'Blob': 16692 try { 16693 cloned = value.slice(0, value.size, value.type); 16694 } catch (error) { 16695 throwUnpolyfillable(type); 16696 } break; 16697 case 'DOMPoint': 16698 case 'DOMPointReadOnly': 16699 C = global[type]; 16700 try { 16701 cloned = C.fromPoint 16702 ? C.fromPoint(value) 16703 : new C(value.x, value.y, value.z, value.w); 16704 } catch (error) { 16705 throwUnpolyfillable(type); 16706 } break; 16707 case 'DOMRect': 16708 case 'DOMRectReadOnly': 16709 C = global[type]; 16710 try { 16711 cloned = C.fromRect 16712 ? C.fromRect(value) 16713 : new C(value.x, value.y, value.width, value.height); 16714 } catch (error) { 16715 throwUnpolyfillable(type); 16716 } break; 16717 case 'DOMMatrix': 16718 case 'DOMMatrixReadOnly': 16719 C = global[type]; 16720 try { 16721 cloned = C.fromMatrix 16722 ? C.fromMatrix(value) 16723 : new C(value); 16724 } catch (error) { 16725 throwUnpolyfillable(type); 16726 } break; 16727 case 'AudioData': 16728 case 'VideoFrame': 16729 if (!isCallable(value.clone)) throwUnpolyfillable(type); 16730 try { 16731 cloned = value.clone(); 16732 } catch (error) { 16733 throwUncloneable(type); 16734 } break; 16735 case 'File': 16736 try { 16737 cloned = new File([value], value.name, value); 16738 } catch (error) { 16739 throwUnpolyfillable(type); 16740 } break; 16741 case 'CryptoKey': 16742 case 'GPUCompilationMessage': 16743 case 'GPUCompilationInfo': 16744 case 'ImageBitmap': 16745 case 'RTCCertificate': 16746 case 'WebAssembly.Module': 16747 throwUnpolyfillable(type); 16748 // break omitted 16749 default: 16750 throwUncloneable(type); 16751 } 16752 } 16753 16754 mapSet(map, value, cloned); 16755 16756 if (deep) switch (type) { 16757 case 'Array': 16758 case 'Object': 16759 keys = objectKeys(value); 16760 for (i = 0, length = lengthOfArrayLike(keys); i < length; i++) { 16761 key = keys[i]; 16762 createProperty(cloned, key, structuredCloneInternal(value[key], map)); 16763 } break; 16764 case 'Map': 16765 value.forEach(function (v, k) { 16766 mapSet(cloned, structuredCloneInternal(k, map), structuredCloneInternal(v, map)); 16767 }); 16768 break; 16769 case 'Set': 16770 value.forEach(function (v) { 16771 setAdd(cloned, structuredCloneInternal(v, map)); 16772 }); 16773 break; 16774 case 'Error': 16775 createNonEnumerableProperty(cloned, 'message', structuredCloneInternal(value.message, map)); 16776 if (hasOwn(value, 'cause')) { 16777 createNonEnumerableProperty(cloned, 'cause', structuredCloneInternal(value.cause, map)); 16778 } 16779 if (name == 'AggregateError') { 16780 cloned.errors = structuredCloneInternal(value.errors, map); 16781 } // break omitted 16782 case 'DOMException': 16783 if (ERROR_STACK_INSTALLABLE) { 16784 createNonEnumerableProperty(cloned, 'stack', structuredCloneInternal(value.stack, map)); 16785 } 16786 } 16787 16788 return cloned; 16789}; 16790 16791var PROPER_TRANSFER = nativeStructuredClone && !fails(function () { 16792 var buffer = new ArrayBuffer(8); 16793 var clone = nativeStructuredClone(buffer, { transfer: [buffer] }); 16794 return buffer.byteLength != 0 || clone.byteLength != 8; 16795}); 16796 16797var tryToTransfer = function (rawTransfer, map) { 16798 if (!isObject(rawTransfer)) throw TypeError('Transfer option cannot be converted to a sequence'); 16799 16800 var transfer = []; 16801 16802 iterate(rawTransfer, function (value) { 16803 push(transfer, anObject(value)); 16804 }); 16805 16806 var i = 0; 16807 var length = lengthOfArrayLike(transfer); 16808 var value, type, C, transferredArray, transferred, canvas, context; 16809 16810 if (PROPER_TRANSFER) { 16811 transferredArray = nativeStructuredClone(transfer, { transfer: transfer }); 16812 while (i < length) mapSet(map, transfer[i], transferredArray[i++]); 16813 } else while (i < length) { 16814 value = transfer[i++]; 16815 if (mapHas(map, value)) throw new DOMException('Duplicate transferable', DATA_CLONE_ERROR); 16816 16817 type = classof(value); 16818 16819 switch (type) { 16820 case 'ImageBitmap': 16821 C = global.OffscreenCanvas; 16822 if (!isConstructor(C)) throwUnpolyfillable(type, TRANSFERRING); 16823 try { 16824 canvas = new C(value.width, value.height); 16825 context = canvas.getContext('bitmaprenderer'); 16826 context.transferFromImageBitmap(value); 16827 transferred = canvas.transferToImageBitmap(); 16828 } catch (error) { /* empty */ } 16829 break; 16830 case 'AudioData': 16831 case 'VideoFrame': 16832 if (!isCallable(value.clone) || !isCallable(value.close)) throwUnpolyfillable(type, TRANSFERRING); 16833 try { 16834 transferred = value.clone(); 16835 value.close(); 16836 } catch (error) { /* empty */ } 16837 break; 16838 case 'ArrayBuffer': 16839 case 'MessagePort': 16840 case 'OffscreenCanvas': 16841 case 'ReadableStream': 16842 case 'TransformStream': 16843 case 'WritableStream': 16844 throwUnpolyfillable(type, TRANSFERRING); 16845 } 16846 16847 if (transferred === undefined) throw new DOMException('This object cannot be transferred: ' + type, DATA_CLONE_ERROR); 16848 mapSet(map, value, transferred); 16849 } 16850}; 16851 16852$({ global: true, enumerable: true, sham: !PROPER_TRANSFER, forced: FORCED_REPLACEMENT }, { 16853 structuredClone: function structuredClone(value /* , { transfer } */) { 16854 var options = validateArgumentsLength(arguments.length, 1) > 1 ? anObject(arguments[1]) : undefined; 16855 var transfer = options ? options.transfer : undefined; 16856 var map; 16857 16858 if (transfer !== undefined) { 16859 map = new Map(); 16860 tryToTransfer(transfer, map); 16861 } 16862 16863 return structuredCloneInternal(value, map); 16864 } 16865}); 16866 16867 16868/***/ }), 16869 16870/***/ 2564: 16871/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 16872 16873var $ = __webpack_require__(2109); 16874var global = __webpack_require__(7854); 16875var apply = __webpack_require__(2104); 16876var isCallable = __webpack_require__(614); 16877var userAgent = __webpack_require__(8113); 16878var arraySlice = __webpack_require__(206); 16879var validateArgumentsLength = __webpack_require__(8053); 16880 16881var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check 16882var Function = global.Function; 16883 16884var wrap = function (scheduler) { 16885 return function (handler, timeout /* , ...arguments */) { 16886 var boundArgs = validateArgumentsLength(arguments.length, 1) > 2; 16887 var fn = isCallable(handler) ? handler : Function(handler); 16888 var args = boundArgs ? arraySlice(arguments, 2) : undefined; 16889 return scheduler(boundArgs ? function () { 16890 apply(fn, this, args); 16891 } : fn, timeout); 16892 }; 16893}; 16894 16895// ie9- setTimeout & setInterval additional parameters fix 16896// https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers 16897$({ global: true, bind: true, forced: MSIE }, { 16898 // `setTimeout` method 16899 // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout 16900 setTimeout: wrap(global.setTimeout), 16901 // `setInterval` method 16902 // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval 16903 setInterval: wrap(global.setInterval) 16904}); 16905 16906 16907/***/ }), 16908 16909/***/ 1637: 16910/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 16911 16912"use strict"; 16913 16914// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` 16915__webpack_require__(6992); 16916var $ = __webpack_require__(2109); 16917var global = __webpack_require__(7854); 16918var getBuiltIn = __webpack_require__(5005); 16919var call = __webpack_require__(6916); 16920var uncurryThis = __webpack_require__(1702); 16921var USE_NATIVE_URL = __webpack_require__(590); 16922var redefine = __webpack_require__(1320); 16923var redefineAll = __webpack_require__(2248); 16924var setToStringTag = __webpack_require__(8003); 16925var createIteratorConstructor = __webpack_require__(4994); 16926var InternalStateModule = __webpack_require__(9909); 16927var anInstance = __webpack_require__(5787); 16928var isCallable = __webpack_require__(614); 16929var hasOwn = __webpack_require__(2597); 16930var bind = __webpack_require__(9974); 16931var classof = __webpack_require__(648); 16932var anObject = __webpack_require__(9670); 16933var isObject = __webpack_require__(111); 16934var $toString = __webpack_require__(1340); 16935var create = __webpack_require__(30); 16936var createPropertyDescriptor = __webpack_require__(9114); 16937var getIterator = __webpack_require__(8554); 16938var getIteratorMethod = __webpack_require__(1246); 16939var validateArgumentsLength = __webpack_require__(8053); 16940var wellKnownSymbol = __webpack_require__(5112); 16941var arraySort = __webpack_require__(4362); 16942 16943var ITERATOR = wellKnownSymbol('iterator'); 16944var URL_SEARCH_PARAMS = 'URLSearchParams'; 16945var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator'; 16946var setInternalState = InternalStateModule.set; 16947var getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS); 16948var getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR); 16949 16950var n$Fetch = getBuiltIn('fetch'); 16951var N$Request = getBuiltIn('Request'); 16952var Headers = getBuiltIn('Headers'); 16953var RequestPrototype = N$Request && N$Request.prototype; 16954var HeadersPrototype = Headers && Headers.prototype; 16955var RegExp = global.RegExp; 16956var TypeError = global.TypeError; 16957var decodeURIComponent = global.decodeURIComponent; 16958var encodeURIComponent = global.encodeURIComponent; 16959var charAt = uncurryThis(''.charAt); 16960var join = uncurryThis([].join); 16961var push = uncurryThis([].push); 16962var replace = uncurryThis(''.replace); 16963var shift = uncurryThis([].shift); 16964var splice = uncurryThis([].splice); 16965var split = uncurryThis(''.split); 16966var stringSlice = uncurryThis(''.slice); 16967 16968var plus = /\+/g; 16969var sequences = Array(4); 16970 16971var percentSequence = function (bytes) { 16972 return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\da-f]{2}){' + bytes + '})', 'gi')); 16973}; 16974 16975var percentDecode = function (sequence) { 16976 try { 16977 return decodeURIComponent(sequence); 16978 } catch (error) { 16979 return sequence; 16980 } 16981}; 16982 16983var deserialize = function (it) { 16984 var result = replace(it, plus, ' '); 16985 var bytes = 4; 16986 try { 16987 return decodeURIComponent(result); 16988 } catch (error) { 16989 while (bytes) { 16990 result = replace(result, percentSequence(bytes--), percentDecode); 16991 } 16992 return result; 16993 } 16994}; 16995 16996var find = /[!'()~]|%20/g; 16997 16998var replacements = { 16999 '!': '%21', 17000 "'": '%27', 17001 '(': '%28', 17002 ')': '%29', 17003 '~': '%7E', 17004 '%20': '+' 17005}; 17006 17007var replacer = function (match) { 17008 return replacements[match]; 17009}; 17010 17011var serialize = function (it) { 17012 return replace(encodeURIComponent(it), find, replacer); 17013}; 17014 17015var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) { 17016 setInternalState(this, { 17017 type: URL_SEARCH_PARAMS_ITERATOR, 17018 iterator: getIterator(getInternalParamsState(params).entries), 17019 kind: kind 17020 }); 17021}, 'Iterator', function next() { 17022 var state = getInternalIteratorState(this); 17023 var kind = state.kind; 17024 var step = state.iterator.next(); 17025 var entry = step.value; 17026 if (!step.done) { 17027 step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value]; 17028 } return step; 17029}, true); 17030 17031var URLSearchParamsState = function (init) { 17032 this.entries = []; 17033 this.url = null; 17034 17035 if (init !== undefined) { 17036 if (isObject(init)) this.parseObject(init); 17037 else this.parseQuery(typeof init == 'string' ? charAt(init, 0) === '?' ? stringSlice(init, 1) : init : $toString(init)); 17038 } 17039}; 17040 17041URLSearchParamsState.prototype = { 17042 type: URL_SEARCH_PARAMS, 17043 bindURL: function (url) { 17044 this.url = url; 17045 this.update(); 17046 }, 17047 parseObject: function (object) { 17048 var iteratorMethod = getIteratorMethod(object); 17049 var iterator, next, step, entryIterator, entryNext, first, second; 17050 17051 if (iteratorMethod) { 17052 iterator = getIterator(object, iteratorMethod); 17053 next = iterator.next; 17054 while (!(step = call(next, iterator)).done) { 17055 entryIterator = getIterator(anObject(step.value)); 17056 entryNext = entryIterator.next; 17057 if ( 17058 (first = call(entryNext, entryIterator)).done || 17059 (second = call(entryNext, entryIterator)).done || 17060 !call(entryNext, entryIterator).done 17061 ) throw TypeError('Expected sequence with length 2'); 17062 push(this.entries, { key: $toString(first.value), value: $toString(second.value) }); 17063 } 17064 } else for (var key in object) if (hasOwn(object, key)) { 17065 push(this.entries, { key: key, value: $toString(object[key]) }); 17066 } 17067 }, 17068 parseQuery: function (query) { 17069 if (query) { 17070 var attributes = split(query, '&'); 17071 var index = 0; 17072 var attribute, entry; 17073 while (index < attributes.length) { 17074 attribute = attributes[index++]; 17075 if (attribute.length) { 17076 entry = split(attribute, '='); 17077 push(this.entries, { 17078 key: deserialize(shift(entry)), 17079 value: deserialize(join(entry, '=')) 17080 }); 17081 } 17082 } 17083 } 17084 }, 17085 serialize: function () { 17086 var entries = this.entries; 17087 var result = []; 17088 var index = 0; 17089 var entry; 17090 while (index < entries.length) { 17091 entry = entries[index++]; 17092 push(result, serialize(entry.key) + '=' + serialize(entry.value)); 17093 } return join(result, '&'); 17094 }, 17095 update: function () { 17096 this.entries.length = 0; 17097 this.parseQuery(this.url.query); 17098 }, 17099 updateURL: function () { 17100 if (this.url) this.url.update(); 17101 } 17102}; 17103 17104// `URLSearchParams` constructor 17105// https://url.spec.whatwg.org/#interface-urlsearchparams 17106var URLSearchParamsConstructor = function URLSearchParams(/* init */) { 17107 anInstance(this, URLSearchParamsPrototype); 17108 var init = arguments.length > 0 ? arguments[0] : undefined; 17109 setInternalState(this, new URLSearchParamsState(init)); 17110}; 17111 17112var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype; 17113 17114redefineAll(URLSearchParamsPrototype, { 17115 // `URLSearchParams.prototype.append` method 17116 // https://url.spec.whatwg.org/#dom-urlsearchparams-append 17117 append: function append(name, value) { 17118 validateArgumentsLength(arguments.length, 2); 17119 var state = getInternalParamsState(this); 17120 push(state.entries, { key: $toString(name), value: $toString(value) }); 17121 state.updateURL(); 17122 }, 17123 // `URLSearchParams.prototype.delete` method 17124 // https://url.spec.whatwg.org/#dom-urlsearchparams-delete 17125 'delete': function (name) { 17126 validateArgumentsLength(arguments.length, 1); 17127 var state = getInternalParamsState(this); 17128 var entries = state.entries; 17129 var key = $toString(name); 17130 var index = 0; 17131 while (index < entries.length) { 17132 if (entries[index].key === key) splice(entries, index, 1); 17133 else index++; 17134 } 17135 state.updateURL(); 17136 }, 17137 // `URLSearchParams.prototype.get` method 17138 // https://url.spec.whatwg.org/#dom-urlsearchparams-get 17139 get: function get(name) { 17140 validateArgumentsLength(arguments.length, 1); 17141 var entries = getInternalParamsState(this).entries; 17142 var key = $toString(name); 17143 var index = 0; 17144 for (; index < entries.length; index++) { 17145 if (entries[index].key === key) return entries[index].value; 17146 } 17147 return null; 17148 }, 17149 // `URLSearchParams.prototype.getAll` method 17150 // https://url.spec.whatwg.org/#dom-urlsearchparams-getall 17151 getAll: function getAll(name) { 17152 validateArgumentsLength(arguments.length, 1); 17153 var entries = getInternalParamsState(this).entries; 17154 var key = $toString(name); 17155 var result = []; 17156 var index = 0; 17157 for (; index < entries.length; index++) { 17158 if (entries[index].key === key) push(result, entries[index].value); 17159 } 17160 return result; 17161 }, 17162 // `URLSearchParams.prototype.has` method 17163 // https://url.spec.whatwg.org/#dom-urlsearchparams-has 17164 has: function has(name) { 17165 validateArgumentsLength(arguments.length, 1); 17166 var entries = getInternalParamsState(this).entries; 17167 var key = $toString(name); 17168 var index = 0; 17169 while (index < entries.length) { 17170 if (entries[index++].key === key) return true; 17171 } 17172 return false; 17173 }, 17174 // `URLSearchParams.prototype.set` method 17175 // https://url.spec.whatwg.org/#dom-urlsearchparams-set 17176 set: function set(name, value) { 17177 validateArgumentsLength(arguments.length, 1); 17178 var state = getInternalParamsState(this); 17179 var entries = state.entries; 17180 var found = false; 17181 var key = $toString(name); 17182 var val = $toString(value); 17183 var index = 0; 17184 var entry; 17185 for (; index < entries.length; index++) { 17186 entry = entries[index]; 17187 if (entry.key === key) { 17188 if (found) splice(entries, index--, 1); 17189 else { 17190 found = true; 17191 entry.value = val; 17192 } 17193 } 17194 } 17195 if (!found) push(entries, { key: key, value: val }); 17196 state.updateURL(); 17197 }, 17198 // `URLSearchParams.prototype.sort` method 17199 // https://url.spec.whatwg.org/#dom-urlsearchparams-sort 17200 sort: function sort() { 17201 var state = getInternalParamsState(this); 17202 arraySort(state.entries, function (a, b) { 17203 return a.key > b.key ? 1 : -1; 17204 }); 17205 state.updateURL(); 17206 }, 17207 // `URLSearchParams.prototype.forEach` method 17208 forEach: function forEach(callback /* , thisArg */) { 17209 var entries = getInternalParamsState(this).entries; 17210 var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined); 17211 var index = 0; 17212 var entry; 17213 while (index < entries.length) { 17214 entry = entries[index++]; 17215 boundFunction(entry.value, entry.key, this); 17216 } 17217 }, 17218 // `URLSearchParams.prototype.keys` method 17219 keys: function keys() { 17220 return new URLSearchParamsIterator(this, 'keys'); 17221 }, 17222 // `URLSearchParams.prototype.values` method 17223 values: function values() { 17224 return new URLSearchParamsIterator(this, 'values'); 17225 }, 17226 // `URLSearchParams.prototype.entries` method 17227 entries: function entries() { 17228 return new URLSearchParamsIterator(this, 'entries'); 17229 } 17230}, { enumerable: true }); 17231 17232// `URLSearchParams.prototype[@@iterator]` method 17233redefine(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, { name: 'entries' }); 17234 17235// `URLSearchParams.prototype.toString` method 17236// https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior 17237redefine(URLSearchParamsPrototype, 'toString', function toString() { 17238 return getInternalParamsState(this).serialize(); 17239}, { enumerable: true }); 17240 17241setToStringTag(URLSearchParamsConstructor, URL_SEARCH_PARAMS); 17242 17243$({ global: true, forced: !USE_NATIVE_URL }, { 17244 URLSearchParams: URLSearchParamsConstructor 17245}); 17246 17247// Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams` 17248if (!USE_NATIVE_URL && isCallable(Headers)) { 17249 var headersHas = uncurryThis(HeadersPrototype.has); 17250 var headersSet = uncurryThis(HeadersPrototype.set); 17251 17252 var wrapRequestOptions = function (init) { 17253 if (isObject(init)) { 17254 var body = init.body; 17255 var headers; 17256 if (classof(body) === URL_SEARCH_PARAMS) { 17257 headers = init.headers ? new Headers(init.headers) : new Headers(); 17258 if (!headersHas(headers, 'content-type')) { 17259 headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8'); 17260 } 17261 return create(init, { 17262 body: createPropertyDescriptor(0, $toString(body)), 17263 headers: createPropertyDescriptor(0, headers) 17264 }); 17265 } 17266 } return init; 17267 }; 17268 17269 if (isCallable(n$Fetch)) { 17270 $({ global: true, enumerable: true, forced: true }, { 17271 fetch: function fetch(input /* , init */) { 17272 return n$Fetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); 17273 } 17274 }); 17275 } 17276 17277 if (isCallable(N$Request)) {
vendor: 1,641 bytes, lines 17278-17325
17278 var RequestConstructor = function Request(input /* , init */) { 17279 anInstance(this, RequestPrototype); 17280 return new N$Request(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); 17281 }; 17282 17283 RequestPrototype.constructor = RequestConstructor; 17284 RequestConstructor.prototype = RequestPrototype; 17285 17286 $({ global: true, forced: true }, { 17287 Request: RequestConstructor 17288 }); 17289 } 17290} 17291 17292module.exports = { 17293 URLSearchParams: URLSearchParamsConstructor, 17294 getState: getInternalParamsState 17295}; 17296 17297 17298/***/ }), 17299 17300/***/ 285: 17301/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 17302 17303"use strict"; 17304 17305// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` 17306__webpack_require__(8783); 17307var $ = __webpack_require__(2109); 17308var DESCRIPTORS = __webpack_require__(9781); 17309var USE_NATIVE_URL = __webpack_require__(590); 17310var global = __webpack_require__(7854); 17311var bind = __webpack_require__(9974); 17312var uncurryThis = __webpack_require__(1702); 17313var defineProperties = (__webpack_require__(6048).f); 17314var redefine = __webpack_require__(1320); 17315var anInstance = __webpack_require__(5787); 17316var hasOwn = __webpack_require__(2597); 17317var assign = __webpack_require__(1574); 17318var arrayFrom = __webpack_require__(8457); 17319var arraySlice = __webpack_require__(1589); 17320var codeAt = (__webpack_require__(8710).codeAt); 17321var toASCII = __webpack_require__(3197); 17322var $toString = __webpack_require__(1340); 17323var setToStringTag = __webpack_require__(8003); 17324var validateArgumentsLength = __webpack_require__(8053); 17325var URLSearchParamsModule = __webpack_require__(1637
vendor: 30,810 bytes, lines 17325-18280
17325); 17326var InternalStateModule = __webpack_require__(9909); 17327 17328var setInternalState = InternalStateModule.set; 17329var getInternalURLState = InternalStateModule.getterFor('URL'); 17330var URLSearchParams = URLSearchParamsModule.URLSearchParams; 17331var getInternalSearchParamsState = URLSearchParamsModule.getState; 17332 17333var NativeURL = global.URL; 17334var TypeError = global.TypeError; 17335var parseInt = global.parseInt; 17336var floor = Math.floor; 17337var pow = Math.pow; 17338var charAt = uncurryThis(''.charAt); 17339var exec = uncurryThis(/./.exec); 17340var join = uncurryThis([].join); 17341var numberToString = uncurryThis(1.0.toString); 17342var pop = uncurryThis([].pop); 17343var push = uncurryThis([].push); 17344var replace = uncurryThis(''.replace); 17345var shift = uncurryThis([].shift); 17346var split = uncurryThis(''.split); 17347var stringSlice = uncurryThis(''.slice); 17348var toLowerCase = uncurryThis(''.toLowerCase); 17349var unshift = uncurryThis([].unshift); 17350 17351var INVALID_AUTHORITY = 'Invalid authority'; 17352var INVALID_SCHEME = 'Invalid scheme'; 17353var INVALID_HOST = 'Invalid host'; 17354var INVALID_PORT = 'Invalid port'; 17355 17356var ALPHA = /[a-z]/i; 17357// eslint-disable-next-line regexp/no-obscure-range -- safe 17358var ALPHANUMERIC = /[\d+-.a-z]/i; 17359var DIGIT = /\d/; 17360var HEX_START = /^0x/i; 17361var OCT = /^[0-7]+$/; 17362var DEC = /^\d+$/; 17363var HEX = /^[\da-f]+$/i; 17364/* eslint-disable regexp/no-control-character -- safe */ 17365var FORBIDDEN_HOST_CODE_POINT = /[\0\t\n\r #%/:<>?@[\\\]^|]/; 17366var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /[\0\t\n\r #/:<>?@[\\\]^|]/; 17367var LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE = /^[\u0000-\u0020]+|[\u0000-\u0020]+$/g; 17368var TAB_AND_NEW_LINE = /[\t\n\r]/g; 17369/* eslint-enable regexp/no-control-character -- safe */ 17370var EOF; 17371 17372// https://url.spec.whatwg.org/#ipv4-number-parser 17373var parseIPv4 = function (input) { 17374 var parts = split(input, '.'); 17375 var partsLength, numbers, index, part, radix, number, ipv4; 17376 if (parts.length && parts[parts.length - 1] == '') { 17377 parts.length--; 17378 } 17379 partsLength = parts.length; 17380 if (partsLength > 4) return input; 17381 numbers = []; 17382 for (index = 0; index < partsLength; index++) { 17383 part = parts[index]; 17384 if (part == '') return input; 17385 radix = 10; 17386 if (part.length > 1 && charAt(part, 0) == '0') { 17387 radix = exec(HEX_START, part) ? 16 : 8; 17388 part = stringSlice(part, radix == 8 ? 1 : 2); 17389 } 17390 if (part === '') { 17391 number = 0; 17392 } else { 17393 if (!exec(radix == 10 ? DEC : radix == 8 ? OCT : HEX, part)) return input; 17394 number = parseInt(part, radix); 17395 } 17396 push(numbers, number); 17397 } 17398 for (index = 0; index < partsLength; index++) { 17399 number = numbers[index]; 17400 if (index == partsLength - 1) { 17401 if (number >= pow(256, 5 - partsLength)) return null; 17402 } else if (number > 255) return null; 17403 } 17404 ipv4 = pop(numbers); 17405 for (index = 0; index < numbers.length; index++) { 17406 ipv4 += numbers[index] * pow(256, 3 - index); 17407 } 17408 return ipv4; 17409}; 17410 17411// https://url.spec.whatwg.org/#concept-ipv6-parser 17412// eslint-disable-next-line max-statements -- TODO 17413var parseIPv6 = function (input) { 17414 var address = [0, 0, 0, 0, 0, 0, 0, 0]; 17415 var pieceIndex = 0; 17416 var compress = null; 17417 var pointer = 0; 17418 var value, length, numbersSeen, ipv4Piece, number, swaps, swap; 17419 17420 var chr = function () { 17421 return charAt(input, pointer); 17422 }; 17423 17424 if (chr() == ':') { 17425 if (charAt(input, 1) != ':') return; 17426 pointer += 2; 17427 pieceIndex++; 17428 compress = pieceIndex; 17429 } 17430 while (chr()) { 17431 if (pieceIndex == 8) return; 17432 if (chr() == ':') { 17433 if (compress !== null) return; 17434 pointer++; 17435 pieceIndex++; 17436 compress = pieceIndex; 17437 continue; 17438 } 17439 value = length = 0; 17440 while (length < 4 && exec(HEX, chr())) { 17441 value = value * 16 + parseInt(chr(), 16); 17442 pointer++; 17443 length++; 17444 } 17445 if (chr() == '.') { 17446 if (length == 0) return; 17447 pointer -= length; 17448 if (pieceIndex > 6) return; 17449 numbersSeen = 0; 17450 while (chr()) { 17451 ipv4Piece = null; 17452 if (numbersSeen > 0) { 17453 if (chr() == '.' && numbersSeen < 4) pointer++; 17454 else return; 17455 } 17456 if (!exec(DIGIT, chr())) return; 17457 while (exec(DIGIT, chr())) { 17458 number = parseInt(chr(), 10); 17459 if (ipv4Piece === null) ipv4Piece = number; 17460 else if (ipv4Piece == 0) return; 17461 else ipv4Piece = ipv4Piece * 10 + number; 17462 if (ipv4Piece > 255) return; 17463 pointer++; 17464 } 17465 address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece; 17466 numbersSeen++; 17467 if (numbersSeen == 2 || numbersSeen == 4) pieceIndex++; 17468 } 17469 if (numbersSeen != 4) return; 17470 break; 17471 } else if (chr() == ':') { 17472 pointer++; 17473 if (!chr()) return; 17474 } else if (chr()) return; 17475 address[pieceIndex++] = value; 17476 } 17477 if (compress !== null) { 17478 swaps = pieceIndex - compress; 17479 pieceIndex = 7; 17480 while (pieceIndex != 0 && swaps > 0) { 17481 swap = address[pieceIndex]; 17482 address[pieceIndex--] = address[compress + swaps - 1]; 17483 address[compress + --swaps] = swap; 17484 } 17485 } else if (pieceIndex != 8) return; 17486 return address; 17487}; 17488 17489var findLongestZeroSequence = function (ipv6) { 17490 var maxIndex = null; 17491 var maxLength = 1; 17492 var currStart = null; 17493 var currLength = 0; 17494 var index = 0; 17495 for (; index < 8; index++) { 17496 if (ipv6[index] !== 0) { 17497 if (currLength > maxLength) { 17498 maxIndex = currStart; 17499 maxLength = currLength; 17500 } 17501 currStart = null; 17502 currLength = 0; 17503 } else { 17504 if (currStart === null) currStart = index; 17505 ++currLength; 17506 } 17507 } 17508 if (currLength > maxLength) { 17509 maxIndex = currStart; 17510 maxLength = currLength; 17511 } 17512 return maxIndex; 17513}; 17514 17515// https://url.spec.whatwg.org/#host-serializing 17516var serializeHost = function (host) { 17517 var result, index, compress, ignore0; 17518 // ipv4 17519 if (typeof host == 'number') { 17520 result = []; 17521 for (index = 0; index < 4; index++) { 17522 unshift(result, host % 256); 17523 host = floor(host / 256); 17524 } return join(result, '.'); 17525 // ipv6 17526 } else if (typeof host == 'object') { 17527 result = ''; 17528 compress = findLongestZeroSequence(host); 17529 for (index = 0; index < 8; index++) { 17530 if (ignore0 && host[index] === 0) continue; 17531 if (ignore0) ignore0 = false; 17532 if (compress === index) { 17533 result += index ? ':' : '::'; 17534 ignore0 = true; 17535 } else { 17536 result += numberToString(host[index], 16); 17537 if (index < 7) result += ':'; 17538 } 17539 } 17540 return '[' + result + ']'; 17541 } return host; 17542}; 17543 17544var C0ControlPercentEncodeSet = {}; 17545var fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, { 17546 ' ': 1, '"': 1, '<': 1, '>': 1, '`': 1 17547}); 17548var pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, { 17549 '#': 1, '?': 1, '{': 1, '}': 1 17550}); 17551var userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, { 17552 '/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\': 1, ']': 1, '^': 1, '|': 1 17553}); 17554 17555var percentEncode = function (chr, set) { 17556 var code = codeAt(chr, 0); 17557 return code > 0x20 && code < 0x7F && !hasOwn(set, chr) ? chr : encodeURIComponent(chr); 17558}; 17559 17560// https://url.spec.whatwg.org/#special-scheme 17561var specialSchemes = { 17562 ftp: 21, 17563 file: null, 17564 http: 80, 17565 https: 443, 17566 ws: 80, 17567 wss: 443 17568}; 17569 17570// https://url.spec.whatwg.org/#windows-drive-letter 17571var isWindowsDriveLetter = function (string, normalized) { 17572 var second; 17573 return string.length == 2 && exec(ALPHA, charAt(string, 0)) 17574 && ((second = charAt(string, 1)) == ':' || (!normalized && second == '|')); 17575}; 17576 17577// https://url.spec.whatwg.org/#start-with-a-windows-drive-letter 17578var startsWithWindowsDriveLetter = function (string) { 17579 var third; 17580 return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && ( 17581 string.length == 2 || 17582 ((third = charAt(string, 2)) === '/' || third === '\\' || third === '?' || third === '#') 17583 ); 17584}; 17585 17586// https://url.spec.whatwg.org/#single-dot-path-segment 17587var isSingleDot = function (segment) { 17588 return segment === '.' || toLowerCase(segment) === '%2e'; 17589}; 17590 17591// https://url.spec.whatwg.org/#double-dot-path-segment 17592var isDoubleDot = function (segment) { 17593 segment = toLowerCase(segment); 17594 return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e'; 17595}; 17596 17597// States: 17598var SCHEME_START = {}; 17599var SCHEME = {}; 17600var NO_SCHEME = {}; 17601var SPECIAL_RELATIVE_OR_AUTHORITY = {}; 17602var PATH_OR_AUTHORITY = {}; 17603var RELATIVE = {}; 17604var RELATIVE_SLASH = {}; 17605var SPECIAL_AUTHORITY_SLASHES = {}; 17606var SPECIAL_AUTHORITY_IGNORE_SLASHES = {}; 17607var AUTHORITY = {}; 17608var HOST = {}; 17609var HOSTNAME = {}; 17610var PORT = {}; 17611var FILE = {}; 17612var FILE_SLASH = {}; 17613var FILE_HOST = {}; 17614var PATH_START = {}; 17615var PATH = {}; 17616var CANNOT_BE_A_BASE_URL_PATH = {}; 17617var QUERY = {}; 17618var FRAGMENT = {}; 17619 17620var URLState = function (url, isBase, base) { 17621 var urlString = $toString(url); 17622 var baseState, failure, searchParams; 17623 if (isBase) { 17624 failure = this.parse(urlString); 17625 if (failure) throw TypeError(failure); 17626 this.searchParams = null; 17627 } else { 17628 if (base !== undefined) baseState = new URLState(base, true); 17629 failure = this.parse(urlString, null, baseState); 17630 if (failure) throw TypeError(failure); 17631 searchParams = getInternalSearchParamsState(new URLSearchParams()); 17632 searchParams.bindURL(this); 17633 this.searchParams = searchParams; 17634 } 17635}; 17636 17637URLState.prototype = { 17638 type: 'URL', 17639 // https://url.spec.whatwg.org/#url-parsing 17640 // eslint-disable-next-line max-statements -- TODO 17641 parse: function (input, stateOverride, base) { 17642 var url = this; 17643 var state = stateOverride || SCHEME_START; 17644 var pointer = 0; 17645 var buffer = ''; 17646 var seenAt = false; 17647 var seenBracket = false; 17648 var seenPasswordToken = false; 17649 var codePoints, chr, bufferCodePoints, failure; 17650 17651 input = $toString(input); 17652 17653 if (!stateOverride) { 17654 url.scheme = ''; 17655 url.username = ''; 17656 url.password = ''; 17657 url.host = null; 17658 url.port = null; 17659 url.path = []; 17660 url.query = null; 17661 url.fragment = null; 17662 url.cannotBeABaseURL = false; 17663 input = replace(input, LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE, ''); 17664 } 17665 17666 input = replace(input, TAB_AND_NEW_LINE, ''); 17667 17668 codePoints = arrayFrom(input); 17669 17670 while (pointer <= codePoints.length) { 17671 chr = codePoints[pointer]; 17672 switch (state) { 17673 case SCHEME_START: 17674 if (chr && exec(ALPHA, chr)) { 17675 buffer += toLowerCase(chr); 17676 state = SCHEME; 17677 } else if (!stateOverride) { 17678 state = NO_SCHEME; 17679 continue; 17680 } else return INVALID_SCHEME; 17681 break; 17682 17683 case SCHEME: 17684 if (chr && (exec(ALPHANUMERIC, chr) || chr == '+' || chr == '-' || chr == '.')) { 17685 buffer += toLowerCase(chr); 17686 } else if (chr == ':') { 17687 if (stateOverride && ( 17688 (url.isSpecial() != hasOwn(specialSchemes, buffer)) || 17689 (buffer == 'file' && (url.includesCredentials() || url.port !== null)) || 17690 (url.scheme == 'file' && !url.host) 17691 )) return; 17692 url.scheme = buffer; 17693 if (stateOverride) { 17694 if (url.isSpecial() && specialSchemes[url.scheme] == url.port) url.port = null; 17695 return; 17696 } 17697 buffer = ''; 17698 if (url.scheme == 'file') { 17699 state = FILE; 17700 } else if (url.isSpecial() && base && base.scheme == url.scheme) { 17701 state = SPECIAL_RELATIVE_OR_AUTHORITY; 17702 } else if (url.isSpecial()) { 17703 state = SPECIAL_AUTHORITY_SLASHES; 17704 } else if (codePoints[pointer + 1] == '/') { 17705 state = PATH_OR_AUTHORITY; 17706 pointer++; 17707 } else { 17708 url.cannotBeABaseURL = true; 17709 push(url.path, ''); 17710 state = CANNOT_BE_A_BASE_URL_PATH; 17711 } 17712 } else if (!stateOverride) { 17713 buffer = ''; 17714 state = NO_SCHEME; 17715 pointer = 0; 17716 continue; 17717 } else return INVALID_SCHEME; 17718 break; 17719 17720 case NO_SCHEME: 17721 if (!base || (base.cannotBeABaseURL && chr != '#')) return INVALID_SCHEME; 17722 if (base.cannotBeABaseURL && chr == '#') { 17723 url.scheme = base.scheme; 17724 url.path = arraySlice(base.path); 17725 url.query = base.query; 17726 url.fragment = ''; 17727 url.cannotBeABaseURL = true; 17728 state = FRAGMENT; 17729 break; 17730 } 17731 state = base.scheme == 'file' ? FILE : RELATIVE; 17732 continue; 17733 17734 case SPECIAL_RELATIVE_OR_AUTHORITY: 17735 if (chr == '/' && codePoints[pointer + 1] == '/') { 17736 state = SPECIAL_AUTHORITY_IGNORE_SLASHES; 17737 pointer++; 17738 } else { 17739 state = RELATIVE; 17740 continue; 17741 } break; 17742 17743 case PATH_OR_AUTHORITY: 17744 if (chr == '/') { 17745 state = AUTHORITY; 17746 break; 17747 } else { 17748 state = PATH; 17749 continue; 17750 } 17751 17752 case RELATIVE: 17753 url.scheme = base.scheme; 17754 if (chr == EOF) { 17755 url.username = base.username; 17756 url.password = base.password; 17757 url.host = base.host; 17758 url.port = base.port; 17759 url.path = arraySlice(base.path); 17760 url.query = base.query; 17761 } else if (chr == '/' || (chr == '\\' && url.isSpecial())) { 17762 state = RELATIVE_SLASH; 17763 } else if (chr == '?') { 17764 url.username = base.username; 17765 url.password = base.password; 17766 url.host = base.host; 17767 url.port = base.port; 17768 url.path = arraySlice(base.path); 17769 url.query = ''; 17770 state = QUERY; 17771 } else if (chr == '#') { 17772 url.username = base.username; 17773 url.password = base.password; 17774 url.host = base.host; 17775 url.port = base.port; 17776 url.path = arraySlice(base.path); 17777 url.query = base.query; 17778 url.fragment = ''; 17779 state = FRAGMENT; 17780 } else { 17781 url.username = base.username; 17782 url.password = base.password; 17783 url.host = base.host; 17784 url.port = base.port; 17785 url.path = arraySlice(base.path); 17786 url.path.length--; 17787 state = PATH; 17788 continue; 17789 } break; 17790 17791 case RELATIVE_SLASH: 17792 if (url.isSpecial() && (chr == '/' || chr == '\\')) { 17793 state = SPECIAL_AUTHORITY_IGNORE_SLASHES; 17794 } else if (chr == '/') { 17795 state = AUTHORITY; 17796 } else { 17797 url.username = base.username; 17798 url.password = base.password; 17799 url.host = base.host; 17800 url.port = base.port; 17801 state = PATH; 17802 continue; 17803 } break; 17804 17805 case SPECIAL_AUTHORITY_SLASHES: 17806 state = SPECIAL_AUTHORITY_IGNORE_SLASHES; 17807 if (chr != '/' || charAt(buffer, pointer + 1) != '/') continue; 17808 pointer++; 17809 break; 17810 17811 case SPECIAL_AUTHORITY_IGNORE_SLASHES: 17812 if (chr != '/' && chr != '\\') { 17813 state = AUTHORITY; 17814 continue; 17815 } break; 17816 17817 case AUTHORITY: 17818 if (chr == '@') { 17819 if (seenAt) buffer = '%40' + buffer; 17820 seenAt = true; 17821 bufferCodePoints = arrayFrom(buffer); 17822 for (var i = 0; i < bufferCodePoints.length; i++) { 17823 var codePoint = bufferCodePoints[i]; 17824 if (codePoint == ':' && !seenPasswordToken) { 17825 seenPasswordToken = true; 17826 continue; 17827 } 17828 var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet); 17829 if (seenPasswordToken) url.password += encodedCodePoints; 17830 else url.username += encodedCodePoints; 17831 } 17832 buffer = ''; 17833 } else if ( 17834 chr == EOF || chr == '/' || chr == '?' || chr == '#' || 17835 (chr == '\\' && url.isSpecial()) 17836 ) { 17837 if (seenAt && buffer == '') return INVALID_AUTHORITY; 17838 pointer -= arrayFrom(buffer).length + 1; 17839 buffer = ''; 17840 state = HOST; 17841 } else buffer += chr; 17842 break; 17843 17844 case HOST: 17845 case HOSTNAME: 17846 if (stateOverride && url.scheme == 'file') { 17847 state = FILE_HOST; 17848 continue; 17849 } else if (chr == ':' && !seenBracket) { 17850 if (buffer == '') return INVALID_HOST; 17851 failure = url.parseHost(buffer); 17852 if (failure) return failure; 17853 buffer = ''; 17854 state = PORT; 17855 if (stateOverride == HOSTNAME) return; 17856 } else if ( 17857 chr == EOF || chr == '/' || chr == '?' || chr == '#' || 17858 (chr == '\\' && url.isSpecial()) 17859 ) { 17860 if (url.isSpecial() && buffer == '') return INVALID_HOST; 17861 if (stateOverride && buffer == '' && (url.includesCredentials() || url.port !== null)) return; 17862 failure = url.parseHost(buffer); 17863 if (failure) return failure; 17864 buffer = ''; 17865 state = PATH_START; 17866 if (stateOverride) return; 17867 continue; 17868 } else { 17869 if (chr == '[') seenBracket = true; 17870 else if (chr == ']') seenBracket = false; 17871 buffer += chr; 17872 } break; 17873 17874 case PORT: 17875 if (exec(DIGIT, chr)) { 17876 buffer += chr; 17877 } else if ( 17878 chr == EOF || chr == '/' || chr == '?' || chr == '#' || 17879 (chr == '\\' && url.isSpecial()) || 17880 stateOverride 17881 ) { 17882 if (buffer != '') { 17883 var port = parseInt(buffer, 10); 17884 if (port > 0xFFFF) return INVALID_PORT; 17885 url.port = (url.isSpecial() && port === specialSchemes[url.scheme]) ? null : port; 17886 buffer = ''; 17887 } 17888 if (stateOverride) return; 17889 state = PATH_START; 17890 continue; 17891 } else return INVALID_PORT; 17892 break; 17893 17894 case FILE: 17895 url.scheme = 'file'; 17896 if (chr == '/' || chr == '\\') state = FILE_SLASH; 17897 else if (base && base.scheme == 'file') { 17898 if (chr == EOF) { 17899 url.host = base.host; 17900 url.path = arraySlice(base.path); 17901 url.query = base.query; 17902 } else if (chr == '?') { 17903 url.host = base.host; 17904 url.path = arraySlice(base.path); 17905 url.query = ''; 17906 state = QUERY; 17907 } else if (chr == '#') { 17908 url.host = base.host; 17909 url.path = arraySlice(base.path); 17910 url.query = base.query; 17911 url.fragment = ''; 17912 state = FRAGMENT; 17913 } else { 17914 if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) { 17915 url.host = base.host; 17916 url.path = arraySlice(base.path); 17917 url.shortenPath(); 17918 } 17919 state = PATH; 17920 continue; 17921 } 17922 } else { 17923 state = PATH; 17924 continue; 17925 } break; 17926 17927 case FILE_SLASH: 17928 if (chr == '/' || chr == '\\') { 17929 state = FILE_HOST; 17930 break; 17931 } 17932 if (base && base.scheme == 'file' && !startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) { 17933 if (isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]); 17934 else url.host = base.host; 17935 } 17936 state = PATH; 17937 continue; 17938 17939 case FILE_HOST: 17940 if (chr == EOF || chr == '/' || chr == '\\' || chr == '?' || chr == '#') { 17941 if (!stateOverride && isWindowsDriveLetter(buffer)) { 17942 state = PATH; 17943 } else if (buffer == '') { 17944 url.host = ''; 17945 if (stateOverride) return; 17946 state = PATH_START; 17947 } else { 17948 failure = url.parseHost(buffer); 17949 if (failure) return failure; 17950 if (url.host == 'localhost') url.host = ''; 17951 if (stateOverride) return; 17952 buffer = ''; 17953 state = PATH_START; 17954 } continue; 17955 } else buffer += chr; 17956 break; 17957 17958 case PATH_START: 17959 if (url.isSpecial()) { 17960 state = PATH; 17961 if (chr != '/' && chr != '\\') continue; 17962 } else if (!stateOverride && chr == '?') { 17963 url.query = ''; 17964 state = QUERY; 17965 } else if (!stateOverride && chr == '#') { 17966 url.fragment = ''; 17967 state = FRAGMENT; 17968 } else if (chr != EOF) { 17969 state = PATH; 17970 if (chr != '/') continue; 17971 } break; 17972 17973 case PATH: 17974 if ( 17975 chr == EOF || chr == '/' || 17976 (chr == '\\' && url.isSpecial()) || 17977 (!stateOverride && (chr == '?' || chr == '#')) 17978 ) { 17979 if (isDoubleDot(buffer)) { 17980 url.shortenPath(); 17981 if (chr != '/' && !(chr == '\\' && url.isSpecial())) { 17982 push(url.path, ''); 17983 } 17984 } else if (isSingleDot(buffer)) { 17985 if (chr != '/' && !(chr == '\\' && url.isSpecial())) { 17986 push(url.path, ''); 17987 } 17988 } else { 17989 if (url.scheme == 'file' && !url.path.length && isWindowsDriveLetter(buffer)) { 17990 if (url.host) url.host = ''; 17991 buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter 17992 } 17993 push(url.path, buffer); 17994 } 17995 buffer = ''; 17996 if (url.scheme == 'file' && (chr == EOF || chr == '?' || chr == '#')) { 17997 while (url.path.length > 1 && url.path[0] === '') { 17998 shift(url.path); 17999 } 18000 } 18001 if (chr == '?') { 18002 url.query = ''; 18003 state = QUERY; 18004 } else if (chr == '#') { 18005 url.fragment = ''; 18006 state = FRAGMENT; 18007 } 18008 } else { 18009 buffer += percentEncode(chr, pathPercentEncodeSet); 18010 } break; 18011 18012 case CANNOT_BE_A_BASE_URL_PATH: 18013 if (chr == '?') { 18014 url.query = ''; 18015 state = QUERY; 18016 } else if (chr == '#') { 18017 url.fragment = ''; 18018 state = FRAGMENT; 18019 } else if (chr != EOF) { 18020 url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet); 18021 } break; 18022 18023 case QUERY: 18024 if (!stateOverride && chr == '#') { 18025 url.fragment = ''; 18026 state = FRAGMENT; 18027 } else if (chr != EOF) { 18028 if (chr == "'" && url.isSpecial()) url.query += '%27'; 18029 else if (chr == '#') url.query += '%23'; 18030 else url.query += percentEncode(chr, C0ControlPercentEncodeSet); 18031 } break; 18032 18033 case FRAGMENT: 18034 if (chr != EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet); 18035 break; 18036 } 18037 18038 pointer++; 18039 } 18040 }, 18041 // https://url.spec.whatwg.org/#host-parsing 18042 parseHost: function (input) { 18043 var result, codePoints, index; 18044 if (charAt(input, 0) == '[') { 18045 if (charAt(input, input.length - 1) != ']') return INVALID_HOST; 18046 result = parseIPv6(stringSlice(input, 1, -1)); 18047 if (!result) return INVALID_HOST; 18048 this.host = result; 18049 // opaque host 18050 } else if (!this.isSpecial()) { 18051 if (exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) return INVALID_HOST; 18052 result = ''; 18053 codePoints = arrayFrom(input); 18054 for (index = 0; index < codePoints.length; index++) { 18055 result += percentEncode(codePoints[index], C0ControlPercentEncodeSet); 18056 } 18057 this.host = result; 18058 } else { 18059 input = toASCII(input); 18060 if (exec(FORBIDDEN_HOST_CODE_POINT, input)) return INVALID_HOST; 18061 result = parseIPv4(input); 18062 if (result === null) return INVALID_HOST; 18063 this.host = result; 18064 } 18065 }, 18066 // https://url.spec.whatwg.org/#cannot-have-a-username-password-port 18067 cannotHaveUsernamePasswordPort: function () { 18068 return !this.host || this.cannotBeABaseURL || this.scheme == 'file'; 18069 }, 18070 // https://url.spec.whatwg.org/#include-credentials 18071 includesCredentials: function () { 18072 return this.username != '' || this.password != ''; 18073 }, 18074 // https://url.spec.whatwg.org/#is-special 18075 isSpecial: function () { 18076 return hasOwn(specialSchemes, this.scheme); 18077 }, 18078 // https://url.spec.whatwg.org/#shorten-a-urls-path 18079 shortenPath: function () { 18080 var path = this.path; 18081 var pathSize = path.length; 18082 if (pathSize && (this.scheme != 'file' || pathSize != 1 || !isWindowsDriveLetter(path[0], true))) { 18083 path.length--; 18084 } 18085 }, 18086 // https://url.spec.whatwg.org/#concept-url-serializer 18087 serialize: function () { 18088 var url = this; 18089 var scheme = url.scheme; 18090 var username = url.username; 18091 var password = url.password; 18092 var host = url.host; 18093 var port = url.port; 18094 var path = url.path; 18095 var query = url.query; 18096 var fragment = url.fragment; 18097 var output = scheme + ':'; 18098 if (host !== null) { 18099 output += '//'; 18100 if (url.includesCredentials()) { 18101 output += username + (password ? ':' + password : '') + '@'; 18102 } 18103 output += serializeHost(host); 18104 if (port !== null) output += ':' + port; 18105 } else if (scheme == 'file') output += '//'; 18106 output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : ''; 18107 if (query !== null) output += '?' + query; 18108 if (fragment !== null) output += '#' + fragment; 18109 return output; 18110 }, 18111 // https://url.spec.whatwg.org/#dom-url-href 18112 setHref: function (href) { 18113 var failure = this.parse(href); 18114 if (failure) throw TypeError(failure); 18115 this.searchParams.update(); 18116 }, 18117 // https://url.spec.whatwg.org/#dom-url-origin 18118 getOrigin: function () { 18119 var scheme = this.scheme; 18120 var port = this.port; 18121 if (scheme == 'blob') try { 18122 return new URLConstructor(scheme.path[0]).origin; 18123 } catch (error) { 18124 return 'null'; 18125 } 18126 if (scheme == 'file' || !this.isSpecial()) return 'null'; 18127 return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : ''); 18128 }, 18129 // https://url.spec.whatwg.org/#dom-url-protocol 18130 getProtocol: function () { 18131 return this.scheme + ':'; 18132 }, 18133 setProtocol: function (protocol) { 18134 this.parse($toString(protocol) + ':', SCHEME_START); 18135 }, 18136 // https://url.spec.whatwg.org/#dom-url-username 18137 getUsername: function () { 18138 return this.username; 18139 }, 18140 setUsername: function (username) { 18141 var codePoints = arrayFrom($toString(username)); 18142 if (this.cannotHaveUsernamePasswordPort()) return; 18143 this.username = ''; 18144 for (var i = 0; i < codePoints.length; i++) { 18145 this.username += percentEncode(codePoints[i], userinfoPercentEncodeSet); 18146 } 18147 }, 18148 // https://url.spec.whatwg.org/#dom-url-password 18149 getPassword: function () { 18150 return this.password; 18151 }, 18152 setPassword: function (password) { 18153 var codePoints = arrayFrom($toString(password)); 18154 if (this.cannotHaveUsernamePasswordPort()) return; 18155 this.password = ''; 18156 for (var i = 0; i < codePoints.length; i++) { 18157 this.password += percentEncode(codePoints[i], userinfoPercentEncodeSet); 18158 } 18159 }, 18160 // https://url.spec.whatwg.org/#dom-url-host 18161 getHost: function () { 18162 var host = this.host; 18163 var port = this.port; 18164 return host === null ? '' 18165 : port === null ? serializeHost(host) 18166 : serializeHost(host) + ':' + port; 18167 }, 18168 setHost: function (host) { 18169 if (this.cannotBeABaseURL) return; 18170 this.parse(host, HOST); 18171 }, 18172 // https://url.spec.whatwg.org/#dom-url-hostname 18173 getHostname: function () { 18174 var host = this.host; 18175 return host === null ? '' : serializeHost(host); 18176 }, 18177 setHostname: function (hostname) { 18178 if (this.cannotBeABaseURL) return; 18179 this.parse(hostname, HOSTNAME); 18180 }, 18181 // https://url.spec.whatwg.org/#dom-url-port 18182 getPort: function () { 18183 var port = this.port; 18184 return port === null ? '' : $toString(port); 18185 }, 18186 setPort: function (port) { 18187 if (this.cannotHaveUsernamePasswordPort()) return; 18188 port = $toString(port); 18189 if (port == '') this.port = null; 18190 else this.parse(port, PORT); 18191 }, 18192 // https://url.spec.whatwg.org/#dom-url-pathname 18193 getPathname: function () { 18194 var path = this.path; 18195 return this.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : ''; 18196 }, 18197 setPathname: function (pathname) { 18198 if (this.cannotBeABaseURL) return; 18199 this.path = []; 18200 this.parse(pathname, PATH_START); 18201 }, 18202 // https://url.spec.whatwg.org/#dom-url-search 18203 getSearch: function () { 18204 var query = this.query; 18205 return query ? '?' + query : ''; 18206 }, 18207 setSearch: function (search) { 18208 search = $toString(search); 18209 if (search == '') { 18210 this.query = null; 18211 } else { 18212 if ('?' == charAt(search, 0)) search = stringSlice(search, 1); 18213 this.query = ''; 18214 this.parse(search, QUERY); 18215 } 18216 this.searchParams.update(); 18217 }, 18218 // https://url.spec.whatwg.org/#dom-url-searchparams 18219 getSearchParams: function () { 18220 return this.searchParams.facade; 18221 }, 18222 // https://url.spec.whatwg.org/#dom-url-hash 18223 getHash: function () { 18224 var fragment = this.fragment; 18225 return fragment ? '#' + fragment : ''; 18226 }, 18227 setHash: function (hash) { 18228 hash = $toString(hash); 18229 if (hash == '') { 18230 this.fragment = null; 18231 return; 18232 } 18233 if ('#' == charAt(hash, 0)) hash = stringSlice(hash, 1); 18234 this.fragment = ''; 18235 this.parse(hash, FRAGMENT); 18236 }, 18237 update: function () { 18238 this.query = this.searchParams.serialize() || null; 18239 } 18240}; 18241 18242// `URL` constructor 18243// https://url.spec.whatwg.org/#url-class 18244var URLConstructor = function URL(url /* , base */) { 18245 var that = anInstance(this, URLPrototype); 18246 var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined; 18247 var state = setInternalState(that, new URLState(url, false, base)); 18248 if (!DESCRIPTORS) { 18249 that.href = state.serialize(); 18250 that.origin = state.getOrigin(); 18251 that.protocol = state.getProtocol(); 18252 that.username = state.getUsername(); 18253 that.password = state.getPassword(); 18254 that.host = state.getHost(); 18255 that.hostname = state.getHostname(); 18256 that.port = state.getPort(); 18257 that.pathname = state.getPathname(); 18258 that.search = state.getSearch(); 18259 that.searchParams = state.getSearchParams(); 18260 that.hash = state.getHash(); 18261 } 18262}; 18263 18264var URLPrototype = URLConstructor.prototype; 18265 18266var accessorDescriptor = function (getter, setter) { 18267 return { 18268 get: function () { 18269 return getInternalURLState(this)[getter](); 18270 }, 18271 set: setter && function (value) { 18272 return getInternalURLState(this)[setter](value); 18273 }, 18274 configurable: true, 18275 enumerable: true 18276 }; 18277}; 18278 18279if (DESCRIPTORS) { 18280
vendor: 3,369 bytes, lines 18280-18362
18280defineProperties(URLPrototype, { 18281 // `URL.prototype.href` accessors pair 18282 // https://url.spec.whatwg.org/#dom-url-href 18283 href: accessorDescriptor('serialize', 'setHref'), 18284 // `URL.prototype.origin` getter 18285 // https://url.spec.whatwg.org/#dom-url-origin 18286 origin: accessorDescriptor('getOrigin'), 18287 // `URL.prototype.protocol` accessors pair 18288 // https://url.spec.whatwg.org/#dom-url-protocol 18289 protocol: accessorDescriptor('getProtocol', 'setProtocol'), 18290 // `URL.prototype.username` accessors pair 18291 // https://url.spec.whatwg.org/#dom-url-username 18292 username: accessorDescriptor('getUsername', 'setUsername'), 18293 // `URL.prototype.password` accessors pair 18294 // https://url.spec.whatwg.org/#dom-url-password 18295 password: accessorDescriptor('getPassword', 'setPassword'), 18296 // `URL.prototype.host` accessors pair 18297 // https://url.spec.whatwg.org/#dom-url-host 18298 host: accessorDescriptor('getHost', 'setHost'), 18299 // `URL.prototype.hostname` accessors pair 18300 // https://url.spec.whatwg.org/#dom-url-hostname 18301 hostname: accessorDescriptor('getHostname', 'setHostname'), 18302 // `URL.prototype.port` accessors pair 18303 // https://url.spec.whatwg.org/#dom-url-port 18304 port: accessorDescriptor('getPort', 'setPort'), 18305 // `URL.prototype.pathname` accessors pair 18306 // https://url.spec.whatwg.org/#dom-url-pathname 18307 pathname: accessorDescriptor('getPathname', 'setPathname'), 18308 // `URL.prototype.search` accessors pair 18309 // https://url.spec.whatwg.org/#dom-url-search 18310 search: accessorDescriptor('getSearch', 'setSearch'), 18311 // `URL.prototype.searchParams` getter 18312 // https://url.spec.whatwg.org/#dom-url-searchparams 18313 searchParams: accessorDescriptor('getSearchParams'), 18314 // `URL.prototype.hash` accessors pair 18315 // https://url.spec.whatwg.org/#dom-url-hash 18316 hash: accessorDescriptor('getHash', 'setHash') 18317 }); 18318} 18319 18320// `URL.prototype.toJSON` method 18321// https://url.spec.whatwg.org/#dom-url-tojson 18322redefine(URLPrototype, 'toJSON', function toJSON() { 18323 return getInternalURLState(this).serialize(); 18324}, { enumerable: true }); 18325 18326// `URL.prototype.toString` method 18327// https://url.spec.whatwg.org/#URL-stringification-behavior 18328redefine(URLPrototype, 'toString', function toString() { 18329 return getInternalURLState(this).serialize(); 18330}, { enumerable: true }); 18331 18332if (NativeURL) { 18333 var nativeCreateObjectURL = NativeURL.createObjectURL; 18334 var nativeRevokeObjectURL = NativeURL.revokeObjectURL; 18335 // `URL.createObjectURL` method 18336 // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL 18337 if (nativeCreateObjectURL) redefine(URLConstructor, 'createObjectURL', bind(nativeCreateObjectURL, NativeURL)); 18338 // `URL.revokeObjectURL` method 18339 // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL 18340 if (nativeRevokeObjectURL) redefine(URLConstructor, 'revokeObjectURL', bind(nativeRevokeObjectURL, NativeURL)); 18341} 18342 18343setToStringTag(URLConstructor, 'URL'); 18344 18345$({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, { 18346 URL: URLConstructor 18347}); 18348 18349 18350/***/ }), 18351 18352/***/ 3753: 18353/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) { 18354 18355"use strict"; 18356 18357var $ = __webpack_require__(2109); 18358var call = __webpack_require__(6916); 18359 18360// `URL.prototype.toJSON` method 18361// https://url.spec.whatwg.org/#dom-url-tojson 18362$({ target: 'URL', proto: true, enumerable: true }, {
18363 toJSON: function toJSON() { 18364 return call(URL.prototype.toString, this); 18365 } 18366}); 18367 18368 18369/***/ }), 18370 18371/***/ 8594: 18372/***/ (function(module, __unused_webpack_exports, __webpack_require__) { 18373 18374__webpack_require__(2526); 18375__webpack_require__(1817); 18376__webpack_require__(2443); 18377__webpack_require__(2401); 18378__webpack_require__(8722); 18379__webpack_require__(2165); 18380__webpack_require__(9007); 18381__webpack_require__(6066); 18382__webpack_require__(3510); 18383__webpack_require__(1840); 18384__webpack_require__(6982); 18385__webpack_require__(2159); 18386__webpack_require__(6649); 18387__webpack_require__(9341); 18388__webpack_require__(543); 18389__webpack_require__(1703); 18390__webpack_require__(6647); 18391__webpack_require__(9170); 18392__webpack_require__(2120); 18393__webpack_require__(2262); 18394__webpack_require__(2222); 18395__webpack_require__(545); 18396__webpack_require__(6541); 18397__webpack_require__(3290); 18398__webpack_require__(7327); 18399__webpack_require__(9826); 18400__webpack_require__(4553); 18401__webpack_require__(4944); 18402__webpack_require__(6535); 18403__webpack_require__(9554); 18404__webpack_require__(1038); 18405__webpack_require__(6699); 18406__webpack_require__(2772); 18407__webpack_require__(9753); 18408__webpack_require__(6992); 18409__webpack_require__(9600); 18410__webpack_require__(4986); 18411__webpack_require__(1249); 18412__webpack_require__(6572); 18413__webpack_require__(5827); 18414__webpack_require__(6644); 18415__webpack_require__(5069); 18416__webpack_require__(7042); 18417__webpack_require__(5212); 18418__webpack_require__(2707); 18419__webpack_require__(8706); 18420__webpack_require__(561); 18421__webpack_require__(3792); 18422__webpack_require__(9244); 18423__webpack_require__(8264); 18424__webpack_require__(6938); 18425__webpack_require__(9575); 18426__webpack_require__(6716); 18427__webpack_require__(3016); 18428__webpack_require__(3843); 18429__webpack_require__(1801); 18430__webpack_require__(9550); 18431__webpack_require__(8733); 18432__webpack_require__(5735); 18433__webpack_require__(6078); 18434__webpack_require__(3710); 18435__webpack_require__(2130); 18436__webpack_require__(4812); 18437__webpack_require__(4855); 18438__webpack_require__(8309); 18439__webpack_require__(5837); 18440__webpack_require__(8862); 18441__webpack_require__(3706); 18442__webpack_require__(1532); 18443__webpack_require__(9752); 18444__webpack_require__(2376); 18445__webpack_require__(3181); 18446__webpack_require__(3484); 18447__webpack_require__(2388); 18448__webpack_require__(8621); 18449__webpack_require__(403); 18450__webpack_require__(4755); 18451__webpack_require__(5438); 18452__webpack_require__(332); 18453__webpack_require__(658); 18454__webpack_require__(197); 18455__webpack_require__(4914); 18456__webpack_require__(2420); 18457__webpack_require__(160); 18458__webpack_require__(970); 18459__webpack_require__(2703); 18460__webpack_require__(3689); 18461__webpack_require__(9653); 18462__webpack_require__(3299); 18463__webpack_require__(5192); 18464__webpack_require__(3161); 18465__webpack_require__(4048); 18466__webpack_require__(8285); 18467__webpack_require__(4363); 18468__webpack_require__(5994); 18469__webpack_require__(1874); 18470__webpack_require__(9494); 18471__webpack_require__(1354); 18472__webpack_require__(6977); 18473__webpack_require__(5147); 18474__webpack_require__(9601); 18475__webpack_require__(8011); 18476__webpack_require__(9595); 18477__webpack_require__(3321); 18478__webpack_require__(9070); 18479__webpack_require__(5500); 18480__webpack_require__(9720); 18481__webpack_require__(3371); 18482__webpack_require__(8559); 18483__webpack_require__(5003); 18484__webpack_require__(9337); 18485__webpack_require__(6210); 18486__webpack_require__(489); 18487__webpack_require__(6314); 18488__webpack_require__(3304); 18489__webpack_require__(1825); 18490__webpack_require__(8410); 18491__webpack_require__(2200); 18492__webpack_require__(7941); 18493__webpack_require__(4869); 18494__webpack_require__(3952); 18495__webpack_require__(7227); 18496__webpack_require__(514); 18497__webpack_require__(8304); 18498__webpack_require__(1539); 18499__webpack_require__(6833); 18500__webpack_require__(4678); 18501__webpack_require__(1058); 18502__webpack_require__(8674); 18503__webpack_require__(7922); 18504__webpack_require__(4668); 18505__webpack_require__(7727); 18506__webpack_require__(224); 18507__webpack_require__(2419); 18508__webpack_require__(9596); 18509__webpack_require__(2586); 18510__webpack_require__(4819); 18511__webpack_require__(5683); 18512__webpack_require__(9361); 18513__webpack_require__(1037); 18514__webpack_require__(5898); 18515__webpack_require__(7318); 18516__webpack_require__(4361); 18517__webpack_require__(3593); 18518__webpack_require__(9532); 18519__webpack_require__(1299); 18520__webpack_require__(4603); 18521__webpack_require__(8450); 18522__webpack_require__(4916); 18523__webpack_require__(2087); 18524__webpack_require__(8386); 18525__webpack_require__(7601); 18526__webpack_require__(9714); 18527__webpack_require__(189); 18528__webpack_require__(4506); 18529__webpack_require__(9841); 18530__webpack_require__(7852); 18531__webpack_require__(4953); 18532__webpack_require__(2023); 18533__webpack_require__(8783); 18534__webpack_require__(4723); 18535__webpack_require__(6373); 18536__webpack_require__(6528); 18537__webpack_require__(3112); 18538__webpack_require__(8992); 18539__webpack_require__(2481); 18540__webpack_require__(5306); 18541__webpack_require__(8757); 18542__webpack_require__(4765); 18543__webpack_require__(3123); 18544__webpack_require__(6755); 18545__webpack_require__(3650); 18546__webpack_require__(3210); 18547__webpack_require__(8702); 18548__webpack_require__(5674); 18549__webpack_require__(5218); 18550__webpack_require__(4475); 18551__webpack_require__(7929); 18552__webpack_require__(915); 18553__webpack_require__(9253); 18554__webpack_require__(2125); 18555__webpack_require__(8830); 18556__webpack_require__(8734); 18557__webpack_require__(9254); 18558__webpack_require__(7268); 18559__webpack_require__(7397); 18560__webpack_require__(86); 18561__webpack_require__(623); 18562__webpack_require__(4197); 18563__webpack_require__(6495); 18564__webpack_require__(7145); 18565__webpack_require__(5109); 18566__webpack_require__(5125); 18567__webpack_require__(2472); 18568__webpack_require__(9743); 18569__webpack_require__(8255); 18570__webpack_require__(9135); 18571__webpack_require__(8675); 18572__webpack_require__(2990); 18573__webpack_require__(8927); 18574__webpack_require__(3105); 18575__webpack_require__(5035); 18576__webpack_require__(4345); 18577__webpack_require__(7174); 18578__webpack_require__(2846); 18579__webpack_require__(8145); 18580__webpack_require__(4731); 18581__webpack_require__(7209); 18582__webpack_require__(6319);
18583__webpack_require__(8867); 18584__webpack_require__(7789); 18585__webpack_require__(3739); 18586__webpack_require__(5206); 18587__webpack_require__(9368); 18588__webpack_require__(4483); 18589__webpack_require__(2056); 18590__webpack_require__(3462); 18591__webpack_require__(678); 18592__webpack_require__(7462); 18593__webpack_require__(3824); 18594__webpack_require__(5021); 18595__webpack_require__(2974); 18596__webpack_require__(5016); 18597__webpack_require__(8221); 18598__webpack_require__(4129); 18599__webpack_require__(8478); 18600__webpack_require__(5505); 18601__webpack_require__(7479); 18602__webpack_require__(4747); 18603__webpack_require__(3948); 18604__webpack_require__(7714); 18605__webpack_require__(2801); 18606__webpack_require__(1174); 18607__webpack_require__(4633); 18608__webpack_require__(5844); 18609__webpack_require__(1295); 18610__webpack_require__(2564); 18611__webpack_require__(285); 18612__webpack_require__(3753); 18613__webpack_require__(1637); 18614 18615/* unused reexport */ __webpack_require__(857); 18616 18617 18618/***/ }), 18619 18620/***/ 5666: 18621/***/ (function(module
vendor: 17,270 bytes, lines 18621-19120
18621) { 18622 18623/** 18624 * Copyright (c) 2014-present, Facebook, Inc. 18625 * 18626 * This source code is licensed under the MIT license found in the 18627 * LICENSE file in the root directory of this source tree. 18628 */ 18629 18630var runtime = (function (exports) { 18631 "use strict"; 18632 18633 var Op = Object.prototype; 18634 var hasOwn = Op.hasOwnProperty; 18635 var undefined; // More compressible than void 0. 18636 var $Symbol = typeof Symbol === "function" ? Symbol : {}; 18637 var iteratorSymbol = $Symbol.iterator || "@@iterator"; 18638 var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator"; 18639 var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; 18640 18641 function define(obj, key, value) { 18642 Object.defineProperty(obj, key, { 18643 value: value, 18644 enumerable: true, 18645 configurable: true, 18646 writable: true 18647 }); 18648 return obj[key]; 18649 } 18650 try { 18651 // IE 8 has a broken Object.defineProperty that only works on DOM objects. 18652 define({}, ""); 18653 } catch (err) { 18654 define = function(obj, key, value) { 18655 return obj[key] = value; 18656 }; 18657 } 18658 18659 function wrap(innerFn, outerFn, self, tryLocsList) { 18660 // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator. 18661 var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator; 18662 var generator = Object.create(protoGenerator.prototype); 18663 var context = new Context(tryLocsList || []); 18664 18665 // The ._invoke method unifies the implementations of the .next, 18666 // .throw, and .return methods. 18667 generator._invoke = makeInvokeMethod(innerFn, self, context); 18668 18669 return generator; 18670 } 18671 exports.wrap = wrap; 18672 18673 // Try/catch helper to minimize deoptimizations. Returns a completion 18674 // record like context.tryEntries[i].completion. This interface could 18675 // have been (and was previously) designed to take a closure to be 18676 // invoked without arguments, but in all the cases we care about we 18677 // already have an existing method we want to call, so there's no need 18678 // to create a new function object. We can even get away with assuming 18679 // the method takes exactly one argument, since that happens to be true 18680 // in every case, so we don't have to touch the arguments object. The 18681 // only additional allocation required is the completion record, which 18682 // has a stable shape and so hopefully should be cheap to allocate. 18683 function tryCatch(fn, obj, arg) { 18684 try { 18685 return { type: "normal", arg: fn.call(obj, arg) }; 18686 } catch (err) { 18687 return { type: "throw", arg: err }; 18688 } 18689 } 18690 18691 var GenStateSuspendedStart = "suspendedStart"; 18692 var GenStateSuspendedYield = "suspendedYield"; 18693 var GenStateExecuting = "executing"; 18694 var GenStateCompleted = "completed"; 18695 18696 // Returning this object from the innerFn has the same effect as 18697 // breaking out of the dispatch switch statement. 18698 var ContinueSentinel = {}; 18699 18700 // Dummy constructor functions that we use as the .constructor and 18701 // .constructor.prototype properties for functions that return Generator 18702 // objects. For full spec compliance, you may wish to configure your 18703 // minifier not to mangle the names of these two functions. 18704 function Generator() {} 18705 function GeneratorFunction() {} 18706 function GeneratorFunctionPrototype() {} 18707 18708 // This is a polyfill for %IteratorPrototype% for environments that 18709 // don't natively support it. 18710 var IteratorPrototype = {}; 18711 define(IteratorPrototype, iteratorSymbol, function () { 18712 return this; 18713 }); 18714 18715 var getProto = Object.getPrototypeOf; 18716 var NativeIteratorPrototype = getProto && getProto(getProto(values([]))); 18717 if (NativeIteratorPrototype && 18718 NativeIteratorPrototype !== Op && 18719 hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) { 18720 // This environment has a native %IteratorPrototype%; use it instead 18721 // of the polyfill. 18722 IteratorPrototype = NativeIteratorPrototype; 18723 } 18724 18725 var Gp = GeneratorFunctionPrototype.prototype = 18726 Generator.prototype = Object.create(IteratorPrototype); 18727 GeneratorFunction.prototype = GeneratorFunctionPrototype; 18728 define(Gp, "constructor", GeneratorFunctionPrototype); 18729 define(GeneratorFunctionPrototype, "constructor", GeneratorFunction); 18730 GeneratorFunction.displayName = define( 18731 GeneratorFunctionPrototype, 18732 toStringTagSymbol, 18733 "GeneratorFunction" 18734 ); 18735 18736 // Helper for defining the .next, .throw, and .return methods of the 18737 // Iterator interface in terms of a single ._invoke method. 18738 function defineIteratorMethods(prototype) { 18739 ["next", "throw", "return"].forEach(function(method) { 18740 define(prototype, method, function(arg) { 18741 return this._invoke(method, arg); 18742 }); 18743 }); 18744 } 18745 18746 exports.isGeneratorFunction = function(genFun) { 18747 var ctor = typeof genFun === "function" && genFun.constructor; 18748 return ctor 18749 ? ctor === GeneratorFunction || 18750 // For the native GeneratorFunction constructor, the best we can 18751 // do is to check its .name property. 18752 (ctor.displayName || ctor.name) === "GeneratorFunction" 18753 : false; 18754 }; 18755 18756 exports.mark = function(genFun) { 18757 if (Object.setPrototypeOf) { 18758 Object.setPrototypeOf(genFun, GeneratorFunctionPrototype); 18759 } else { 18760 genFun.__proto__ = GeneratorFunctionPrototype; 18761 define(genFun, toStringTagSymbol, "GeneratorFunction"); 18762 } 18763 genFun.prototype = Object.create(Gp); 18764 return genFun; 18765 }; 18766 18767 // Within the body of any async function, `await x` is transformed to 18768 // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test 18769 // `hasOwn.call(value, "__await")` to determine if the yielded value is 18770 // meant to be awaited. 18771 exports.awrap = function(arg) { 18772 return { __await: arg }; 18773 }; 18774 18775 function AsyncIterator(generator, PromiseImpl) { 18776 function invoke(method, arg, resolve, reject) { 18777 var record = tryCatch(generator[method], generator, arg); 18778 if (record.type === "throw") { 18779 reject(record.arg); 18780 } else { 18781 var result = record.arg; 18782 var value = result.value; 18783 if (value && 18784 typeof value === "object" && 18785 hasOwn.call(value, "__await")) { 18786 return PromiseImpl.resolve(value.__await).then(function(value) { 18787 invoke("next", value, resolve, reject); 18788 }, function(err) { 18789 invoke("throw", err, resolve, reject); 18790 }); 18791 } 18792 18793 return PromiseImpl.resolve(value).then(function(unwrapped) { 18794 // When a yielded Promise is resolved, its final value becomes 18795 // the .value of the Promise<{value,done}> result for the 18796 // current iteration. 18797 result.value = unwrapped; 18798 resolve(result); 18799 }, function(error) { 18800 // If a rejected Promise was yielded, throw the rejection back 18801 // into the async generator function so it can be handled there. 18802 return invoke("throw", error, resolve, reject); 18803 }); 18804 } 18805 } 18806 18807 var previousPromise; 18808 18809 function enqueue(method, arg) { 18810 function callInvokeWithMethodAndArg() { 18811 return new PromiseImpl(function(resolve, reject) { 18812 invoke(method, arg, resolve, reject); 18813 }); 18814 } 18815 18816 return previousPromise = 18817 // If enqueue has been called before, then we want to wait until 18818 // all previous Promises have been resolved before calling invoke, 18819 // so that results are always delivered in the correct order. If 18820 // enqueue has not been called before, then it is important to 18821 // call invoke immediately, without waiting on a callback to fire, 18822 // so that the async generator function has the opportunity to do 18823 // any necessary setup in a predictable way. This predictability 18824 // is why the Promise constructor synchronously invokes its 18825 // executor callback, and why async functions synchronously 18826 // execute code before the first await. Since we implement simple 18827 // async functions in terms of async generators, it is especially 18828 // important to get this right, even though it requires care. 18829 previousPromise ? previousPromise.then( 18830 callInvokeWithMethodAndArg, 18831 // Avoid propagating failures to Promises returned by later 18832 // invocations of the iterator. 18833 callInvokeWithMethodAndArg 18834 ) : callInvokeWithMethodAndArg(); 18835 } 18836 18837 // Define the unified helper method that is used to implement .next, 18838 // .throw, and .return (see defineIteratorMethods). 18839 this._invoke = enqueue; 18840 } 18841 18842 defineIteratorMethods(AsyncIterator.prototype); 18843 define(AsyncIterator.prototype, asyncIteratorSymbol, function () { 18844 return this; 18845 }); 18846 exports.AsyncIterator = AsyncIterator; 18847 18848 // Note that simple async functions are implemented on top of 18849 // AsyncIterator objects; they just return a Promise for the value of 18850 // the final result produced by the iterator. 18851 exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) { 18852 if (PromiseImpl === void 0) PromiseImpl = Promise; 18853 18854 var iter = new AsyncIterator( 18855 wrap(innerFn, outerFn, self, tryLocsList), 18856 PromiseImpl 18857 ); 18858 18859 return exports.isGeneratorFunction(outerFn) 18860 ? iter // If outerFn is a generator, return the full iterator. 18861 : iter.next().then(function(result) { 18862 return result.done ? result.value : iter.next(); 18863 }); 18864 }; 18865 18866 function makeInvokeMethod(innerFn, self, context) { 18867 var state = GenStateSuspendedStart; 18868 18869 return function invoke(method, arg) { 18870 if (state === GenStateExecuting) { 18871 throw new Error("Generator is already running"); 18872 } 18873 18874 if (state === GenStateCompleted) { 18875 if (method === "throw") { 18876 throw arg; 18877 } 18878 18879 // Be forgiving, per 25.3.3.3.3 of the spec: 18880 // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume 18881 return doneResult(); 18882 } 18883 18884 context.method = method; 18885 context.arg = arg; 18886 18887 while (true) { 18888 var delegate = context.delegate; 18889 if (delegate) { 18890 var delegateResult = maybeInvokeDelegate(delegate, context); 18891 if (delegateResult) { 18892 if (delegateResult === ContinueSentinel) continue; 18893 return delegateResult; 18894 } 18895 } 18896 18897 if (context.method === "next") { 18898 // Setting context._sent for legacy support of Babel's 18899 // function.sent implementation. 18900 context.sent = context._sent = context.arg; 18901 18902 } else if (context.method === "throw") { 18903 if (state === GenStateSuspendedStart) { 18904 state = GenStateCompleted; 18905 throw context.arg; 18906 } 18907 18908 context.dispatchException(context.arg); 18909 18910 } else if (context.method === "return") { 18911 context.abrupt("return", context.arg); 18912 } 18913 18914 state = GenStateExecuting; 18915 18916 var record = tryCatch(innerFn, self, context); 18917 if (record.type === "normal") { 18918 // If an exception is thrown from innerFn, we leave state === 18919 // GenStateExecuting and loop back for another invocation. 18920 state = context.done 18921 ? GenStateCompleted 18922 : GenStateSuspendedYield; 18923 18924 if (record.arg === ContinueSentinel) { 18925 continue; 18926 } 18927 18928 return { 18929 value: record.arg, 18930 done: context.done 18931 }; 18932 18933 } else if (record.type === "throw") { 18934 state = GenStateCompleted; 18935 // Dispatch the exception by looping back around to the 18936 // context.dispatchException(context.arg) call above. 18937 context.method = "throw"; 18938 context.arg = record.arg; 18939 } 18940 } 18941 }; 18942 } 18943 18944 // Call delegate.iterator[context.method](context.arg) and handle the 18945 // result, either by returning a { value, done } result from the 18946 // delegate iterator, or by modifying context.method and context.arg, 18947 // setting context.delegate to null, and returning the ContinueSentinel. 18948 function maybeInvokeDelegate(delegate, context) { 18949 var method = delegate.iterator[context.method]; 18950 if (method === undefined) { 18951 // A .throw or .return when the delegate iterator has no .throw 18952 // method always terminates the yield* loop. 18953 context.delegate = null; 18954 18955 if (context.method === "throw") { 18956 // Note: ["return"] must be used for ES3 parsing compatibility. 18957 if (delegate.iterator["return"]) { 18958 // If the delegate iterator has a return method, give it a 18959 // chance to clean up. 18960 context.method = "return"; 18961 context.arg = undefined; 18962 maybeInvokeDelegate(delegate, context); 18963 18964 if (context.method === "throw") { 18965 // If maybeInvokeDelegate(context) changed context.method from 18966 // "return" to "throw", let that override the TypeError below. 18967 return ContinueSentinel; 18968 } 18969 } 18970 18971 context.method = "throw"; 18972 context.arg = new TypeError( 18973 "The iterator does not provide a 'throw' method"); 18974 } 18975 18976 return ContinueSentinel; 18977 } 18978 18979 var record = tryCatch(method, delegate.iterator, context.arg); 18980 18981 if (record.type === "throw") { 18982 context.method = "throw"; 18983 context.arg = record.arg; 18984 context.delegate = null; 18985 return ContinueSentinel; 18986 } 18987 18988 var info = record.arg; 18989 18990 if (! info) { 18991 context.method = "throw"; 18992 context.arg = new TypeError("iterator result is not an object"); 18993 context.delegate = null; 18994 return ContinueSentinel; 18995 } 18996 18997 if (info.done) { 18998 // Assign the result of the finished delegate to the temporary 18999 // variable specified by delegate.resultName (see delegateYield). 19000 context[delegate.resultName] = info.value; 19001 19002 // Resume execution at the desired location (see delegateYield). 19003 context.next = delegate.nextLoc; 19004 19005 // If context.method was "throw" but the delegate handled the 19006 // exception, let the outer generator proceed normally. If 19007 // context.method was "next", forget context.arg since it has been 19008 // "consumed" by the delegate iterator. If context.method was 19009 // "return", allow the original .return call to continue in the 19010 // outer generator. 19011 if (context.method !== "return") { 19012 context.method = "next"; 19013 context.arg = undefined; 19014 } 19015 19016 } else { 19017 // Re-yield the result returned by the delegate method. 19018 return info; 19019 } 19020 19021 // The delegate iterator is finished, so forget it and continue with 19022 // the outer generator. 19023 context.delegate = null; 19024 return ContinueSentinel; 19025 } 19026 19027 // Define Generator.prototype.{next,throw,return} in terms of the 19028 // unified ._invoke helper method. 19029 defineIteratorMethods(Gp); 19030 19031 define(Gp, toStringTagSymbol, "Generator"); 19032 19033 // A Generator should always return itself as the iterator object when the 19034 // @@iterator function is called on it. Some browsers' implementations of the 19035 // iterator prototype chain incorrectly implement this, causing the Generator 19036 // object to not be returned from this call. This ensures that doesn't happen. 19037 // See https://github.com/facebook/regenerator/issues/274 for more details. 19038 define(Gp, iteratorSymbol, function() { 19039 return this; 19040 }); 19041 19042 define(Gp, "toString", function() { 19043 return "[object Generator]"; 19044 }); 19045 19046 function pushTryEntry(locs) { 19047 var entry = { tryLoc: locs[0] }; 19048 19049 if (1 in locs) { 19050 entry.catchLoc = locs[1]; 19051 } 19052 19053 if (2 in locs) { 19054 entry.finallyLoc = locs[2]; 19055 entry.afterLoc = locs[3]; 19056 } 19057 19058 this.tryEntries.push(entry); 19059 } 19060 19061 function resetTryEntry(entry) { 19062 var record = entry.completion || {}; 19063 record.type = "normal"; 19064 delete record.arg; 19065 entry.completion = record; 19066 } 19067 19068 function Context(tryLocsList) { 19069 // The root entry object (effectively a try statement without a catch 19070 // or a finally block) gives us a place to store values thrown from 19071 // locations where there is no enclosing try statement. 19072 this.tryEntries = [{ tryLoc: "root" }]; 19073 tryLocsList.forEach(pushTryEntry, this); 19074 this.reset(true); 19075 } 19076 19077 exports.keys = function(object) { 19078 var keys = []; 19079 for (var key in object) { 19080 keys.push(key); 19081 } 19082 keys.reverse(); 19083 19084 // Rather than returning an object with a next method, we keep 19085 // things simple and return the next function itself. 19086 return function next() { 19087 while (keys.length) { 19088 var key = keys.pop(); 19089 if (key in object) { 19090 next.value = key; 19091 next.done = false; 19092 return next; 19093 } 19094 } 19095 19096 // To avoid creating an additional object, we just hang the .value 19097 // and .done properties off the next function object itself. This 19098 // also ensures that the minifier will not anonymize the function. 19099 next.done = true; 19100 return next; 19101 }; 19102 }; 19103 19104 function values(iterable) { 19105 if (iterable) { 19106 var iteratorMethod = iterable[iteratorSymbol]; 19107 if (iteratorMethod) { 19108 return iteratorMethod.call(iterable); 19109 } 19110 19111 if (typeof iterable.next === "function") { 19112 return iterable; 19113 } 19114 19115 if (!isNaN(iterable.length)) { 19116 var i = -1, next = function next() { 19117 while (++i < iterable.length) { 19118 if (hasOwn.call(iterable, i)) { 19119 next.value = iterable[i]; 19120 next.done = false;
vendor: 6,560 bytes, lines 19121-19355
19121 return next; 19122 } 19123 } 19124 19125 next.value = undefined; 19126 next.done = true; 19127 19128 return next; 19129 }; 19130 19131 return next.next = next; 19132 } 19133 } 19134 19135 // Return an iterator with no values. 19136 return { next: doneResult }; 19137 } 19138 exports.values = values; 19139 19140 function doneResult() { 19141 return { value: undefined, done: true }; 19142 } 19143 19144 Context.prototype = { 19145 constructor: Context, 19146 19147 reset: function(skipTempReset) { 19148 this.prev = 0; 19149 this.next = 0; 19150 // Resetting context._sent for legacy support of Babel's 19151 // function.sent implementation. 19152 this.sent = this._sent = undefined; 19153 this.done = false; 19154 this.delegate = null; 19155 19156 this.method = "next"; 19157 this.arg = undefined; 19158 19159 this.tryEntries.forEach(resetTryEntry); 19160 19161 if (!skipTempReset) { 19162 for (var name in this) { 19163 // Not sure about the optimal order of these conditions: 19164 if (name.charAt(0) === "t" && 19165 hasOwn.call(this, name) && 19166 !isNaN(+name.slice(1))) { 19167 this[name] = undefined; 19168 } 19169 } 19170 } 19171 }, 19172 19173 stop: function() { 19174 this.done = true; 19175 19176 var rootEntry = this.tryEntries[0]; 19177 var rootRecord = rootEntry.completion; 19178 if (rootRecord.type === "throw") { 19179 throw rootRecord.arg; 19180 } 19181 19182 return this.rval; 19183 }, 19184 19185 dispatchException: function(exception) { 19186 if (this.done) { 19187 throw exception; 19188 } 19189 19190 var context = this; 19191 function handle(loc, caught) { 19192 record.type = "throw"; 19193 record.arg = exception; 19194 context.next = loc; 19195 19196 if (caught) { 19197 // If the dispatched exception was caught by a catch block, 19198 // then let that catch block handle the exception normally. 19199 context.method = "next"; 19200 context.arg = undefined; 19201 } 19202 19203 return !! caught; 19204 } 19205 19206 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 19207 var entry = this.tryEntries[i]; 19208 var record = entry.completion; 19209 19210 if (entry.tryLoc === "root") { 19211 // Exception thrown outside of any try block that could handle 19212 // it, so set the completion value of the entire function to 19213 // throw the exception. 19214 return handle("end"); 19215 } 19216 19217 if (entry.tryLoc <= this.prev) { 19218 var hasCatch = hasOwn.call(entry, "catchLoc"); 19219 var hasFinally = hasOwn.call(entry, "finallyLoc"); 19220 19221 if (hasCatch && hasFinally) { 19222 if (this.prev < entry.catchLoc) { 19223 return handle(entry.catchLoc, true); 19224 } else if (this.prev < entry.finallyLoc) { 19225 return handle(entry.finallyLoc); 19226 } 19227 19228 } else if (hasCatch) { 19229 if (this.prev < entry.catchLoc) { 19230 return handle(entry.catchLoc, true); 19231 } 19232 19233 } else if (hasFinally) { 19234 if (this.prev < entry.finallyLoc) { 19235 return handle(entry.finallyLoc); 19236 } 19237 19238 } else { 19239 throw new Error("try statement without catch or finally"); 19240 } 19241 } 19242 } 19243 }, 19244 19245 abrupt: function(type, arg) { 19246 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 19247 var entry = this.tryEntries[i]; 19248 if (entry.tryLoc <= this.prev && 19249 hasOwn.call(entry, "finallyLoc") && 19250 this.prev < entry.finallyLoc) { 19251 var finallyEntry = entry; 19252 break; 19253 } 19254 } 19255 19256 if (finallyEntry && 19257 (type === "break" || 19258 type === "continue") && 19259 finallyEntry.tryLoc <= arg && 19260 arg <= finallyEntry.finallyLoc) { 19261 // Ignore the finally entry if control is not jumping to a 19262 // location outside the try/catch block. 19263 finallyEntry = null; 19264 } 19265 19266 var record = finallyEntry ? finallyEntry.completion : {}; 19267 record.type = type; 19268 record.arg = arg; 19269 19270 if (finallyEntry) { 19271 this.method = "next"; 19272 this.next = finallyEntry.finallyLoc; 19273 return ContinueSentinel; 19274 } 19275 19276 return this.complete(record); 19277 }, 19278 19279 complete: function(record, afterLoc) { 19280 if (record.type === "throw") { 19281 throw record.arg; 19282 } 19283 19284 if (record.type === "break" || 19285 record.type === "continue") { 19286 this.next = record.arg; 19287 } else if (record.type === "return") { 19288 this.rval = this.arg = record.arg; 19289 this.method = "return"; 19290 this.next = "end"; 19291 } else if (record.type === "normal" && afterLoc) { 19292 this.next = afterLoc; 19293 } 19294 19295 return ContinueSentinel; 19296 }, 19297 19298 finish: function(finallyLoc) { 19299 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 19300 var entry = this.tryEntries[i]; 19301 if (entry.finallyLoc === finallyLoc) { 19302 this.complete(entry.completion, entry.afterLoc); 19303 resetTryEntry(entry); 19304 return ContinueSentinel; 19305 } 19306 } 19307 }, 19308 19309 "catch": function(tryLoc) { 19310 for (var i = this.tryEntries.length - 1; i >= 0; --i) { 19311 var entry = this.tryEntries[i]; 19312 if (entry.tryLoc === tryLoc) { 19313 var record = entry.completion; 19314 if (record.type === "throw") { 19315 var thrown = record.arg; 19316 resetTryEntry(entry); 19317 } 19318 return thrown; 19319 } 19320 } 19321 19322 // The context.catch method must only be called with a location 19323 // argument that corresponds to a known catch block. 19324 throw new Error("illegal catch attempt"); 19325 }, 19326 19327 delegateYield: function(iterable, resultName, nextLoc) { 19328 this.delegate = { 19329 iterator: values(iterable), 19330 resultName: resultName, 19331 nextLoc: nextLoc 19332 }; 19333 19334 if (this.method === "next") { 19335 // Deliberately forget the last sent value so that we don't 19336 // accidentally pass it on to the delegate. 19337 this.arg = undefined; 19338 } 19339 19340 return ContinueSentinel; 19341 } 19342 }; 19343 19344 // Regardless of whether this script is executing as a CommonJS module 19345 // or not, return the runtime object so that we can declare the variable 19346 // regeneratorRuntime in the outer scope, which allows this module to be 19347 // injected easily by `bin/regenerator --include-runtime script.js`. 19348 return exports; 19349 19350}( 19351 // If this script is executing as a CommonJS module, use module.exports 19352 // as the regeneratorRuntime namespace. Otherwise create a new empty 19353 // object. Either way, the resulting object will be used to initialize 19354 // the regeneratorRuntime variable at the top of this file. 19355
19355 true ? module.exports : 0 19356)); 19357 19358try { 19359 regeneratorRuntime = runtime; 19360} catch (accidentalStrictMode) { 19361 // This module should not be running in strict mode, so the above 19362 // assignment should always work unless something is misconfigured. Just 19363 // in case runtime.js accidentally runs in strict mode, in modern engines 19364 // we can explicitly access globalThis. In older engines we can escape 19365 // strict mode using a global Function call. This could conceivably fail 19366 // if a Content Security Policy forbids using Function, but in that case 19367 // the proper solution is to fix the accidental strict mode problem. If 19368 // you've misconfigured your bundler to force strict mode and applied a 19369 // CSP to forbid Function, and you're not willing to fix either of those 19370 // problems, please detail your unique predicament in a GitHub issue. 19371 if (typeof globalThis === "object") { 19372 globalThis.regeneratorRuntime = runtime; 19373 } else { 19374 Function("r", "regeneratorRuntime = r")(runtime); 19375 } 19376} 19377 19378 19379/***/ }), 19380 19381/***/ 5861: 19382/***/ (function(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) { 19383 19384"use strict"; 19385/* harmony export */ __webpack_require__.d(__webpack_exports__, { 19386/* harmony export */ "Z": function() { return /* binding */ _asyncToGenerator; } 19387/* harmony export */ }); 19388function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { 19389 try { 19390 var info = gen[key](arg); 19391 var value = info.value; 19392 } catch (error) { 19393 reject(error); 19394 return; 19395 } 19396 19397 if (info.done) { 19398 resolve(value); 19399 } else { 19400 Promise.resolve(value).then(_next, _throw); 19401 } 19402} 19403 19404function _asyncToGenerator(fn) { 19405 return function () { 19406 var self = this, 19407 args = arguments; 19408 return new Promise(function (resolve, reject) { 19409 var gen = fn.apply(self, args); 19410 19411 function _next(value) { 19412 asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); 19413 } 19414 19415 function _throw(err) { 19416 asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); 19417 } 19418 19419 _next(undefined); 19420 }); 19421 }; 19422} 19423 19424/***/ }) 19425 19426/******/ }); 19427/************************************************************************/ 19428/******/ // The module cache 19429/******/ var __webpack_module_cache__ = {}; 19430/******/ 19431/******/ // The require function 19432/******/ function __webpack_require__(moduleId) { 19433/******/ // Check if module is in cache 19434/******/ var cachedModule = __webpack_module_cache__[moduleId]; 19435/******/ if (cachedModule !== undefined) { 19436/******/ return cachedModule.exports; 19437/******/ } 19438/******/ // Create a new module (and put it into the cache) 19439/******/ var module = __webpack_module_cache__[moduleId] = { 19440/******/ // no module.id needed 19441/******/ // no module.loaded needed 19442/******/ exports: {} 19443/******/ }; 19444/******/ 19445/******/ // Execute the module function 19446/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); 19447/******/ 19448/******/ // Return the exports of the module 19449/******/ return module.exports; 19450/******/ } 19451/******/ 19452/************************************************************************/ 19453/******/ /* webpack/runtime/compat get default export */ 19454/******/ !function() { 19455/******/ // getDefaultExport function for compatibility with non-harmony modules 19456/******/ __webpack_require__.n = function(module) {
vendor: 1,873 bytes, lines 19457-19506
19457/******/ var getter = module && module.__esModule ? 19458/******/ function() { return module['default']; } : 19459/******/ function() { return module; }; 19460/******/ __webpack_require__.d(getter, { a: getter }); 19461/******/ return getter; 19462/******/ }; 19463/******/ }(); 19464/******/ 19465/******/ /* webpack/runtime/define property getters */ 19466/******/ !function() { 19467/******/ // define getter functions for harmony exports 19468/******/ __webpack_require__.d = function(exports, definition) { 19469/******/ for(var key in definition) { 19470/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { 19471/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); 19472/******/ } 19473/******/ } 19474/******/ }; 19475/******/ }(); 19476/******/ 19477/******/ /* webpack/runtime/global */ 19478/******/ !function() { 19479/******/ __webpack_require__.g = (function() { 19480/******/ if (typeof globalThis === 'object') return globalThis; 19481/******/ try { 19482/******/ return this || new Function('return this')(); 19483/******/ } catch (e) { 19484/******/ if (typeof window === 'object') return window; 19485/******/ } 19486/******/ })(); 19487/******/ }(); 19488/******/ 19489/******/ /* webpack/runtime/hasOwnProperty shorthand */ 19490/******/ !function() { 19491/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } 19492/******/ }(); 19493/******/ 19494/************************************************************************/ 19495/******/ 19496/******/ // startup 19497/******/ // Load entry module and return exports 19498/******/ // This entry module used 'module' so it can't be inlined 19499/******/ __webpack_require__(8594); 19500/******/ __webpack_require__(5579); 19501/******/ __webpack_require__(732); 19502/******/ var __webpack_exports__ = __webpack_require__(9008); 19503/******/ 19504/******/ })() 19505; 19506//# sourceMappingURL=ig_donation.js.map
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.