diff --git a/www.eng/index.html b/www.eng/index.html index 8835c7a..4ea0593 100644 --- a/www.eng/index.html +++ b/www.eng/index.html @@ -15,6 +15,7 @@ + diff --git a/www.eng/js/plugins/GTP_OmoriFixes.js b/www.eng/js/plugins/GTP_OmoriFixes.js index ee80755..f5fc122 100644 --- a/www.eng/js/plugins/GTP_OmoriFixes.js +++ b/www.eng/js/plugins/GTP_OmoriFixes.js @@ -366,9 +366,6 @@ Gamefall.OmoriFixes = Gamefall.OmoriFixes || {}; if (!!this.hasSteamwork()) { this.getAchievementsData(); } - if (!Utils.isOptionValid("test") && window.navigator.plugins.namedItem('Native Client') !== null) { - throw new Error("This game does not work in SDK mode.") - } if (Utils.isMac()) { const nw_window = window; nw_window.on("restore", () => { diff --git a/www.eng/js/plugins/VND_CordovaFixes.js b/www.eng/js/plugins/VND_CordovaFixes.js index f8f809c..1daa496 100644 --- a/www.eng/js/plugins/VND_CordovaFixes.js +++ b/www.eng/js/plugins/VND_CordovaFixes.js @@ -301,8 +301,9 @@ document.addEventListener("deviceready", () => { return false; } - setSayGexValue(path, (v) => { v.exists = true; }, {exists: true, content: null}); - return xhr.status === 200 || xhr.status === 0; + var status = xhr.status === 200 || xhr.responseText !== ""; + setSayGexValue(path, (v) => { v.exists = status; }, {exists: status, content: null}); + return status; } NativeFunctions.readSaveFileUTF8 = function(path) { diff --git a/www.eng/js/plugins/VND_ONSControls.js b/www.eng/js/plugins/VND_ONSControls.js index d71caba..23f3f71 100644 --- a/www.eng/js/plugins/VND_ONSControls.js +++ b/www.eng/js/plugins/VND_ONSControls.js @@ -512,7 +512,10 @@ VirtualGamepad.gamepad = { //============================================================================= VirtualGamepad._originalNavigator = navigator.getGamepads; VirtualGamepad.updateNavigator = function() { - var gamepads = VirtualGamepad._originalNavigator.call(navigator); + var gamepads = []; + for (gamepad of VirtualGamepad._originalNavigator.call(navigator)) { + gamepads.push(gamepad); + } navigator.getGamepads = function() { var index = ONSControls.options.gamepadIndex; gamepads[index] = VirtualGamepad.gamepad; @@ -570,28 +573,28 @@ ONSControls.configManager = function() { //============================================================================= // * Class Variables //============================================================================= -ConfigManager.ONSConfig ||= {}; -ConfigManager.ONSConfig.customPos ||= false; -ConfigManager.ONSConfig.buttonsScale ||= ONSControls.options.buttonsScale; -ConfigManager.ONSConfig.buttonsOpacity ||= ONSControls.options.buttonsOpacity; -ConfigManager.ONSConfig.safeArea ||= 1; -ConfigManager.ONSConfig.buttonsSize ||= ONSControls._controlsCanvas.vh(0.18) * ConfigManager.ONSConfig.buttonsScale; -ConfigManager.ONSConfig.buttonsX ||= ONSControls._controlsCanvas.screen.width - ConfigManager.ONSConfig.buttonsSize; -ConfigManager.ONSConfig.buttonsY ||= ONSControls._controlsCanvas.screen.height - ConfigManager.ONSConfig.buttonsSize; -ConfigManager.ONSConfig.dPadSize ||= ONSControls._controlsCanvas.vh(0.36) * ConfigManager.ONSConfig.buttonsScale; -ConfigManager.ONSConfig.dPadX ||= ConfigManager.ONSConfig.dPadSize / 2; -ConfigManager.ONSConfig.dPadY ||= ONSControls._controlsCanvas.screen.height - ConfigManager.ONSConfig.dPadSize / 2; -ConfigManager.ONSConfig.bumpersOffsetX ||= 16; -ConfigManager.ONSConfig.bumpersOffsetY ||= ONSControls._controlsCanvas.vh(0.30); -ConfigManager.ONSConfig.bumpersWidth ||= ONSControls._controlsCanvas.vh(0.188) * ConfigManager.ONSConfig.buttonsScale; -ConfigManager.ONSConfig.bumpersHeight ||= ONSControls._controlsCanvas.vh(0.12) * ConfigManager.ONSConfig.buttonsScale; -ConfigManager.ONSConfig.LBX ||= ConfigManager.ONSConfig.bumpersOffsetX + ConfigManager.ONSConfig.bumpersWidth / 2; -ConfigManager.ONSConfig.LBY ||= ConfigManager.ONSConfig.bumpersOffsetY + ConfigManager.ONSConfig.bumpersHeight / 2; -ConfigManager.ONSConfig.RBX ||= ConfigManager.ONSConfig.bumpersOffsetX + ConfigManager.ONSConfig.bumpersWidth / 2; -ConfigManager.ONSConfig.RBY ||= ConfigManager.ONSConfig.bumpersOffsetY + ConfigManager.ONSConfig.bumpersHeight / 2; -ConfigManager.ONSConfig.additonalSize ||= ONSControls._controlsCanvas.vh(0.06) * ConfigManager.ONSConfig.buttonsScale; -ConfigManager.ONSConfig.showX ||= ONSControls._controlsCanvas.screen.width - ConfigManager.ONSConfig.additonalSize / 2; -ConfigManager.ONSConfig.showY ||= ONSControls._controlsCanvas.screen.height - ConfigManager.ONSConfig.additonalSize / 2; +ConfigManager.ONSConfig = (typeof x === 'undefined') ? {} : ConfigManager.ONSConfig; +ConfigManager.ONSConfig.customPos = (typeof x === 'undefined') ? false : ConfigManager.ONSConfig.customPos; +ConfigManager.ONSConfig.buttonsScale = (typeof x === 'undefined') ? ONSControls.options.buttonsScale : ConfigManager.ONSConfig.buttonsScale; +ConfigManager.ONSConfig.buttonsOpacity = (typeof x === 'undefined') ? ONSControls.options.buttonsOpacity : ConfigManager.ONSConfig.buttonsOpacity; +ConfigManager.ONSConfig.safeArea = (typeof x === 'undefined') ? 1 : ConfigManager.ONSConfig.safeArea; +ConfigManager.ONSConfig.buttonsSize = (typeof x === 'undefined') ? ONSControls._controlsCanvas.vh(0.18) * ConfigManager.ONSConfig.buttonsScale : ConfigManager.ONSConfig.buttonsSize; +ConfigManager.ONSConfig.buttonsX = (typeof x === 'undefined') ? ONSControls._controlsCanvas.screen.width - ConfigManager.ONSConfig.buttonsSize : ConfigManager.ONSConfig.buttonsX; +ConfigManager.ONSConfig.buttonsY = (typeof x === 'undefined') ? ONSControls._controlsCanvas.screen.height - ConfigManager.ONSConfig.buttonsSize : ConfigManager.ONSConfig.buttonsY; +ConfigManager.ONSConfig.dPadSize = (typeof x === 'undefined') ? ONSControls._controlsCanvas.vh(0.36) * ConfigManager.ONSConfig.buttonsScale : ConfigManager.ONSConfig.dPadSize; +ConfigManager.ONSConfig.dPadX = (typeof x === 'undefined') ? ConfigManager.ONSConfig.dPadSize / 2 : ConfigManager.ONSConfig.dPadX; +ConfigManager.ONSConfig.dPadY = (typeof x === 'undefined') ? ONSControls._controlsCanvas.screen.height - ConfigManager.ONSConfig.dPadSize / 2 : ConfigManager.ONSConfig.dPadY; +ConfigManager.ONSConfig.bumpersOffsetX = (typeof x === 'undefined') ? 16 : ConfigManager.ONSConfig.bumpersOffsetX; +ConfigManager.ONSConfig.bumpersOffsetY = (typeof x === 'undefined') ? ONSControls._controlsCanvas.vh(0.30) : ConfigManager.ONSConfig.bumpersOffsetY; +ConfigManager.ONSConfig.bumpersWidth = (typeof x === 'undefined') ? ONSControls._controlsCanvas.vh(0.188) * ConfigManager.ONSConfig.buttonsScale : ConfigManager.ONSConfig.bumpersWidth; +ConfigManager.ONSConfig.bumpersHeight = (typeof x === 'undefined') ? ONSControls._controlsCanvas.vh(0.12) * ConfigManager.ONSConfig.buttonsScale : ConfigManager.ONSConfig.bumpersHeight; +ConfigManager.ONSConfig.LBX = (typeof x === 'undefined') ? ConfigManager.ONSConfig.bumpersOffsetX + ConfigManager.ONSConfig.bumpersWidth / 2 : ConfigManager.ONSConfig.LBX; +ConfigManager.ONSConfig.LBY = (typeof x === 'undefined') ? ConfigManager.ONSConfig.bumpersOffsetY + ConfigManager.ONSConfig.bumpersHeight / 2 : ConfigManager.ONSConfig.LBY; +ConfigManager.ONSConfig.RBX = (typeof x === 'undefined') ? ConfigManager.ONSConfig.bumpersOffsetX + ConfigManager.ONSConfig.bumpersWidth / 2 : ConfigManager.ONSConfig.RBX; +ConfigManager.ONSConfig.RBY = (typeof x === 'undefined') ? ConfigManager.ONSConfig.bumpersOffsetY + ConfigManager.ONSConfig.bumpersHeight / 2 : ConfigManager.ONSConfig.RBY; +ConfigManager.ONSConfig.additonalSize = (typeof x === 'undefined') ? ONSControls._controlsCanvas.vh(0.06) * ConfigManager.ONSConfig.buttonsScale : ConfigManager.ONSConfig.additonalSize; +ConfigManager.ONSConfig.showX = (typeof x === 'undefined') ? ONSControls._controlsCanvas.screen.width - ConfigManager.ONSConfig.additonalSize / 2 : ConfigManager.ONSConfig.showX; +ConfigManager.ONSConfig.showY = (typeof x === 'undefined') ? ONSControls._controlsCanvas.screen.height - ConfigManager.ONSConfig.additonalSize / 2 : ConfigManager.ONSConfig.showY; //============================================================================= // * Restore defaults //============================================================================= diff --git a/www.eng/js/porting/compat/corejs.js b/www.eng/js/porting/compat/corejs.js index c36dbea..270f809 100644 --- a/www.eng/js/porting/compat/corejs.js +++ b/www.eng/js/porting/compat/corejs.js @@ -1,29 +1,26 @@ /** - * core-js 3.0.0 - * https://github.com/zloirock/core-js - * License: http://rock.mit-license.org - * © 2019 Denis Pushkarev (zloirock.ru) + * core-js 3.36.0 + * © 2014-2024 Denis Pushkarev (zloirock.ru) + * license: https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE + * source: https://github.com/zloirock/core-js */ -!function (undefined) { - 'use strict'; /******/ (function (modules) { // webpackBootstrap +!function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function - /******/ function __webpack_require__(moduleId) { + /******/ var __webpack_require__ = function (moduleId) { /******/ /******/ // Check if module is in cache - /******/ if (installedModules[moduleId]) { + /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; - /******/ -} + /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} - /******/ -}; + /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); @@ -33,8 +30,7 @@ /******/ /******/ // Return the exports of the module /******/ return module.exports; - /******/ -} + /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) @@ -44,53 +40,47 @@ /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports - /******/ __webpack_require__.d = function (exports, name, getter) { - /******/ if (!__webpack_require__.o(exports, name)) { + /******/ __webpack_require__.d = function(exports, name, getter) { + /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); - /******/ -} - /******/ -}; + /******/ } + /******/ }; /******/ /******/ // define __esModule on exports - /******/ __webpack_require__.r = function (exports) { - /******/ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /******/ __webpack_require__.r = function(exports) { + /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); - /******/ -} + /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); - /******/ -}; + /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require - /******/ __webpack_require__.t = function (value, mode) { - /******/ if (mode & 1) value = __webpack_require__(value); - /******/ if (mode & 8) return value; - /******/ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; + /******/ __webpack_require__.t = function(value, mode) { + /******/ if(mode & 1) value = __webpack_require__(value); + /******/ if(mode & 8) return value; + /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); - /******/ if (mode & 2 && typeof value != 'string') for (var key in value) __webpack_require__.d(ns, key, function (key) { return value[key]; }.bind(null, key)); + /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; - /******/ -}; + /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules - /******/ __webpack_require__.n = function (module) { + /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; - /******/ -}; + /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call - /******/ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; + /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; @@ -98,13982 +88,15842 @@ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 0); - /******/ -}) + /******/ }) /************************************************************************/ - /******/([ + /******/ ([ /* 0 */ - /***/ (function (module, exports, __webpack_require__) { - - __webpack_require__(1); - __webpack_require__(55); - __webpack_require__(56); - __webpack_require__(57); - __webpack_require__(58); - __webpack_require__(59); - __webpack_require__(60); - __webpack_require__(61); - __webpack_require__(62); - __webpack_require__(63); - __webpack_require__(64); - __webpack_require__(65); - __webpack_require__(66); - __webpack_require__(67); - __webpack_require__(68); - __webpack_require__(73); - __webpack_require__(76); - __webpack_require__(81); - __webpack_require__(83); - __webpack_require__(84); - __webpack_require__(85); - __webpack_require__(86); - __webpack_require__(88); - __webpack_require__(89); - __webpack_require__(91); - __webpack_require__(99); - __webpack_require__(100); - __webpack_require__(101); - __webpack_require__(102); - __webpack_require__(110); - __webpack_require__(111); - __webpack_require__(113); - __webpack_require__(114); - __webpack_require__(115); - __webpack_require__(117); - __webpack_require__(118); - __webpack_require__(119); - __webpack_require__(120); - __webpack_require__(121); - __webpack_require__(122); - __webpack_require__(125); - __webpack_require__(126); - __webpack_require__(127); - __webpack_require__(128); - __webpack_require__(134); - __webpack_require__(135); - __webpack_require__(137); - __webpack_require__(138); - __webpack_require__(139); - __webpack_require__(141); - __webpack_require__(142); - __webpack_require__(144); - __webpack_require__(145); - __webpack_require__(147); - __webpack_require__(148); - __webpack_require__(149); - __webpack_require__(150); - __webpack_require__(157); - __webpack_require__(159); - __webpack_require__(160); - __webpack_require__(161); - __webpack_require__(163); - __webpack_require__(164); - __webpack_require__(166); - __webpack_require__(167); - __webpack_require__(169); - __webpack_require__(170); - __webpack_require__(171); - __webpack_require__(172); - __webpack_require__(173); - __webpack_require__(174); - __webpack_require__(175); - __webpack_require__(176); - __webpack_require__(177); - __webpack_require__(178); - __webpack_require__(179); - __webpack_require__(182); - __webpack_require__(183); - __webpack_require__(185); - __webpack_require__(187); - __webpack_require__(188); - __webpack_require__(189); - __webpack_require__(190); - __webpack_require__(191); - __webpack_require__(193); - __webpack_require__(195); - __webpack_require__(198); - __webpack_require__(199); - __webpack_require__(201); - __webpack_require__(202); - __webpack_require__(204); - __webpack_require__(205); - __webpack_require__(206); - __webpack_require__(207); - __webpack_require__(209); - __webpack_require__(210); - __webpack_require__(211); - __webpack_require__(212); - __webpack_require__(213); - __webpack_require__(214); - __webpack_require__(215); - __webpack_require__(217); - __webpack_require__(218); - __webpack_require__(219); - __webpack_require__(220); - __webpack_require__(221); - __webpack_require__(222); - __webpack_require__(223); - __webpack_require__(224); - __webpack_require__(225); - __webpack_require__(226); - __webpack_require__(228); - __webpack_require__(229); - __webpack_require__(230); - __webpack_require__(231); - __webpack_require__(239); - __webpack_require__(240); - __webpack_require__(241); - __webpack_require__(242); - __webpack_require__(243); - __webpack_require__(244); - __webpack_require__(245); - __webpack_require__(246); - __webpack_require__(247); - __webpack_require__(248); - __webpack_require__(249); - __webpack_require__(250); - __webpack_require__(251); - __webpack_require__(252); - __webpack_require__(253); - __webpack_require__(256); - __webpack_require__(258); - __webpack_require__(259); - __webpack_require__(260); - __webpack_require__(261); - __webpack_require__(263); - __webpack_require__(266); - __webpack_require__(267); - __webpack_require__(268); - __webpack_require__(269); - __webpack_require__(273); - __webpack_require__(275); - __webpack_require__(276); - __webpack_require__(277); - __webpack_require__(278); - __webpack_require__(279); - __webpack_require__(280); - __webpack_require__(281); - __webpack_require__(282); - __webpack_require__(284); - __webpack_require__(285); - __webpack_require__(286); - __webpack_require__(289); - __webpack_require__(290); - __webpack_require__(291); - __webpack_require__(292); - __webpack_require__(293); - __webpack_require__(294); - __webpack_require__(295); - __webpack_require__(296); - __webpack_require__(297); - __webpack_require__(298); - __webpack_require__(299); - __webpack_require__(300); - __webpack_require__(301); - __webpack_require__(306); - __webpack_require__(307); - __webpack_require__(308); - __webpack_require__(309); - __webpack_require__(310); - __webpack_require__(311); - __webpack_require__(312); - __webpack_require__(313); - __webpack_require__(314); - __webpack_require__(315); - __webpack_require__(316); - __webpack_require__(317); - __webpack_require__(318); - __webpack_require__(319); - __webpack_require__(320); - __webpack_require__(321); - __webpack_require__(322); - __webpack_require__(323); - __webpack_require__(324); - __webpack_require__(325); - __webpack_require__(326); - __webpack_require__(327); - __webpack_require__(328); - __webpack_require__(329); - __webpack_require__(330); - __webpack_require__(331); - __webpack_require__(332); - __webpack_require__(333); - __webpack_require__(334); - __webpack_require__(335); - __webpack_require__(336); - __webpack_require__(337); - __webpack_require__(338); - __webpack_require__(339); - __webpack_require__(341); - __webpack_require__(342); - __webpack_require__(343); - __webpack_require__(344); - __webpack_require__(345); - __webpack_require__(347); - __webpack_require__(348); - __webpack_require__(349); - __webpack_require__(351); - __webpack_require__(354); - __webpack_require__(355); - __webpack_require__(356); - __webpack_require__(357); - __webpack_require__(359); - __webpack_require__(360); - __webpack_require__(362); - __webpack_require__(363); - __webpack_require__(364); - __webpack_require__(365); - __webpack_require__(366); - __webpack_require__(367); - __webpack_require__(369); - __webpack_require__(370); - __webpack_require__(371); - __webpack_require__(372); - __webpack_require__(373); - __webpack_require__(374); - __webpack_require__(375); - __webpack_require__(377); - __webpack_require__(378); - __webpack_require__(379); - __webpack_require__(380); - __webpack_require__(381); - __webpack_require__(382); - __webpack_require__(383); - __webpack_require__(384); - __webpack_require__(385); - __webpack_require__(386); - __webpack_require__(387); - __webpack_require__(388); - __webpack_require__(389); - __webpack_require__(390); - __webpack_require__(391); - __webpack_require__(393); - __webpack_require__(394); - __webpack_require__(395); - __webpack_require__(396); - __webpack_require__(397); - __webpack_require__(398); - __webpack_require__(399); - __webpack_require__(400); - __webpack_require__(401); - __webpack_require__(403); - __webpack_require__(404); - __webpack_require__(405); - __webpack_require__(407); - __webpack_require__(408); - __webpack_require__(409); - __webpack_require__(410); - __webpack_require__(411); - __webpack_require__(412); - __webpack_require__(413); - __webpack_require__(414); - __webpack_require__(415); - __webpack_require__(416); - __webpack_require__(417); - __webpack_require__(418); - __webpack_require__(419); - __webpack_require__(420); - __webpack_require__(421); - __webpack_require__(422); - __webpack_require__(423); - __webpack_require__(424); - __webpack_require__(425); - __webpack_require__(426); - __webpack_require__(427); - __webpack_require__(428); - __webpack_require__(429); - __webpack_require__(430); - __webpack_require__(431); - __webpack_require__(432); - __webpack_require__(433); - __webpack_require__(434); - __webpack_require__(435); - __webpack_require__(437); - __webpack_require__(438); - __webpack_require__(439); - __webpack_require__(440); - __webpack_require__(441); - __webpack_require__(445); - module.exports = __webpack_require__(444); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + __webpack_require__(1); + __webpack_require__(83); + __webpack_require__(99); + __webpack_require__(100); + __webpack_require__(102); + __webpack_require__(104); + __webpack_require__(105); + __webpack_require__(109); + __webpack_require__(111); + __webpack_require__(114); + __webpack_require__(115); + __webpack_require__(117); + __webpack_require__(121); + __webpack_require__(130); + __webpack_require__(131); + __webpack_require__(133); + __webpack_require__(134); + __webpack_require__(135); + __webpack_require__(136); + __webpack_require__(166); + __webpack_require__(167); + __webpack_require__(168); + __webpack_require__(169); + __webpack_require__(170); + __webpack_require__(171); + __webpack_require__(173); + __webpack_require__(174); + __webpack_require__(175); + __webpack_require__(179); + __webpack_require__(180); + __webpack_require__(183); + __webpack_require__(184); + __webpack_require__(185); + __webpack_require__(188); + __webpack_require__(189); + __webpack_require__(190); + __webpack_require__(193); + __webpack_require__(194); + __webpack_require__(204); + __webpack_require__(208); + __webpack_require__(210); + __webpack_require__(212); + __webpack_require__(214); + __webpack_require__(215); + __webpack_require__(216); + __webpack_require__(217); + __webpack_require__(218); + __webpack_require__(222); + __webpack_require__(224); + __webpack_require__(225); + __webpack_require__(229); + __webpack_require__(230); + __webpack_require__(232); + __webpack_require__(233); + __webpack_require__(234); + __webpack_require__(235); + __webpack_require__(237); + __webpack_require__(238); + __webpack_require__(240); + __webpack_require__(241); + __webpack_require__(242); + __webpack_require__(243); + __webpack_require__(244); + __webpack_require__(245); + __webpack_require__(246); + __webpack_require__(250); + __webpack_require__(265); + __webpack_require__(266); + __webpack_require__(268); + __webpack_require__(269); + __webpack_require__(274); + __webpack_require__(276); + __webpack_require__(277); + __webpack_require__(279); + __webpack_require__(280); + __webpack_require__(281); + __webpack_require__(282); + __webpack_require__(283); + __webpack_require__(285); + __webpack_require__(290); + __webpack_require__(291); + __webpack_require__(292); + __webpack_require__(293); + __webpack_require__(294); + __webpack_require__(295); + __webpack_require__(297); + __webpack_require__(298); + __webpack_require__(299); + __webpack_require__(300); + __webpack_require__(301); + __webpack_require__(302); + __webpack_require__(303); + __webpack_require__(304); + __webpack_require__(305); + __webpack_require__(306); + __webpack_require__(307); + __webpack_require__(310); + __webpack_require__(312); + __webpack_require__(314); + __webpack_require__(316); + __webpack_require__(317); + __webpack_require__(318); + __webpack_require__(319); + __webpack_require__(320); + __webpack_require__(321); + __webpack_require__(323); + __webpack_require__(325); + __webpack_require__(326); + __webpack_require__(327); + __webpack_require__(328); + __webpack_require__(329); + __webpack_require__(330); + __webpack_require__(332); + __webpack_require__(333); + __webpack_require__(334); + __webpack_require__(335); + __webpack_require__(336); + __webpack_require__(337); + __webpack_require__(338); + __webpack_require__(341); + __webpack_require__(342); + __webpack_require__(343); + __webpack_require__(344); + __webpack_require__(345); + __webpack_require__(346); + __webpack_require__(347); + __webpack_require__(348); + __webpack_require__(352); + __webpack_require__(353); + __webpack_require__(355); + __webpack_require__(356); + __webpack_require__(357); + __webpack_require__(358); + __webpack_require__(359); + __webpack_require__(360); + __webpack_require__(361); + __webpack_require__(362); + __webpack_require__(363); + __webpack_require__(365); + __webpack_require__(368); + __webpack_require__(369); + __webpack_require__(376); + __webpack_require__(379); + __webpack_require__(380); + __webpack_require__(381); + __webpack_require__(382); + __webpack_require__(383); + __webpack_require__(385); + __webpack_require__(386); + __webpack_require__(388); + __webpack_require__(389); + __webpack_require__(391); + __webpack_require__(392); + __webpack_require__(394); + __webpack_require__(395); + __webpack_require__(396); + __webpack_require__(397); + __webpack_require__(398); + __webpack_require__(399); + __webpack_require__(400); + __webpack_require__(402); + __webpack_require__(403); + __webpack_require__(405); + __webpack_require__(406); + __webpack_require__(408); + __webpack_require__(410); + __webpack_require__(413); + __webpack_require__(417); + __webpack_require__(418); + __webpack_require__(420); + __webpack_require__(421); + __webpack_require__(423); + __webpack_require__(424); + __webpack_require__(425); + __webpack_require__(426); + __webpack_require__(427); + __webpack_require__(428); + __webpack_require__(429); + __webpack_require__(432); + __webpack_require__(433); + __webpack_require__(434); + __webpack_require__(435); + __webpack_require__(440); + __webpack_require__(441); + __webpack_require__(443); + __webpack_require__(444); + __webpack_require__(446); + __webpack_require__(447); + __webpack_require__(448); + __webpack_require__(449); + __webpack_require__(452); + __webpack_require__(453); + __webpack_require__(454); + __webpack_require__(455); + __webpack_require__(458); + __webpack_require__(459); + __webpack_require__(460); + __webpack_require__(465); + __webpack_require__(466); + __webpack_require__(467); + __webpack_require__(469); + __webpack_require__(470); + module.exports = __webpack_require__(471); + + + /***/ }), /* 1 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // ECMAScript 6 symbols shim - var global = __webpack_require__(2); - var has = __webpack_require__(3); - var DESCRIPTORS = __webpack_require__(4); - var IS_PURE = __webpack_require__(6); - var $export = __webpack_require__(7); - var redefine = __webpack_require__(22); - var hiddenKeys = __webpack_require__(30); - var fails = __webpack_require__(5); - var shared = __webpack_require__(25); - var setToStringTag = __webpack_require__(42); - var uid = __webpack_require__(29); - var wellKnownSymbol = __webpack_require__(43); - var wrappedWellKnownSymbolModule = __webpack_require__(45); - var defineWellKnownSymbol = __webpack_require__(46); - var enumKeys = __webpack_require__(48); - var isArray = __webpack_require__(50); - var anObject = __webpack_require__(21); - var isObject = __webpack_require__(16); - var toIndexedObject = __webpack_require__(11); - var toPrimitive = __webpack_require__(15); - var createPropertyDescriptor = __webpack_require__(10); - var nativeObjectCreate = __webpack_require__(51); - var getOwnPropertyNamesExternal = __webpack_require__(54); - var getOwnPropertyDescriptorModule = __webpack_require__(8); - var definePropertyModule = __webpack_require__(20); - var propertyIsEnumerableModule = __webpack_require__(9); - var hide = __webpack_require__(19); - var objectKeys = __webpack_require__(49); - var HIDDEN = __webpack_require__(28)('hidden'); - var InternalStateModule = __webpack_require__(26); - var SYMBOL = 'Symbol'; - var setInternalState = InternalStateModule.set; - var getInternalState = InternalStateModule.getterFor(SYMBOL); - var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - var nativeDefineProperty = definePropertyModule.f; - var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; - var $Symbol = global.Symbol; - var JSON = global.JSON; - var nativeJSONStringify = JSON && JSON.stringify; - var PROTOTYPE = 'prototype'; - var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); - var nativePropertyIsEnumerable = propertyIsEnumerableModule.f; - var SymbolRegistry = shared('symbol-registry'); - var AllSymbols = shared('symbols'); - var ObjectPrototypeSymbols = shared('op-symbols'); - var WellKnownSymbolsStore = shared('wks'); - var ObjectPrototype = Object[PROTOTYPE]; - var QObject = global.QObject; - var NATIVE_SYMBOL = __webpack_require__(44); - // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 - var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; - - // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 - var setSymbolDescriptor = DESCRIPTORS && fails(function () { - return nativeObjectCreate(nativeDefineProperty({}, 'a', { - get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; } - })).a != 7; - }) ? function (it, key, D) { - var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, key); - if (ObjectPrototypeDescriptor) delete ObjectPrototype[key]; - nativeDefineProperty(it, key, D); - if (ObjectPrototypeDescriptor && it !== ObjectPrototype) { - nativeDefineProperty(ObjectPrototype, key, ObjectPrototypeDescriptor); - } - } : nativeDefineProperty; - - var wrap = function (tag, description) { - var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE]); - setInternalState(symbol, { - type: SYMBOL, - tag: tag, - description: description - }); - if (!DESCRIPTORS) symbol.description = description; - return symbol; - }; - - var isSymbol = NATIVE_SYMBOL && typeof $Symbol.iterator == 'symbol' ? function (it) { - return typeof it == 'symbol'; - } : function (it) { - return Object(it) instanceof $Symbol; - }; - - var $defineProperty = function defineProperty(it, key, D) { - if (it === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, key, D); - anObject(it); - key = toPrimitive(key, true); - anObject(D); - if (has(AllSymbols, key)) { - if (!D.enumerable) { - if (!has(it, HIDDEN)) nativeDefineProperty(it, HIDDEN, createPropertyDescriptor(1, {})); - it[HIDDEN][key] = true; - } else { - if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; - D = nativeObjectCreate(D, { enumerable: createPropertyDescriptor(0, false) }); - } return setSymbolDescriptor(it, key, D); - } return nativeDefineProperty(it, key, D); - }; - - var $defineProperties = function defineProperties(it, P) { - anObject(it); - var keys = enumKeys(P = toIndexedObject(P)); - var i = 0; - var l = keys.length; - var key; - while (l > i) $defineProperty(it, key = keys[i++], P[key]); - return it; - }; - - var $create = function create(it, P) { - return P === undefined ? nativeObjectCreate(it) : $defineProperties(nativeObjectCreate(it), P); - }; - - var $propertyIsEnumerable = function propertyIsEnumerable(key) { - var E = nativePropertyIsEnumerable.call(this, key = toPrimitive(key, true)); - if (this === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return false; - return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; - }; - - var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { - it = toIndexedObject(it); - key = toPrimitive(key, true); - if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return; - var D = nativeGetOwnPropertyDescriptor(it, key); - if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; - return D; - }; - - var $getOwnPropertyNames = function getOwnPropertyNames(it) { - var names = nativeGetOwnPropertyNames(toIndexedObject(it)); - var result = []; - var i = 0; - var key; - while (names.length > i) { - if (!has(AllSymbols, key = names[i++]) && !has(hiddenKeys, key)) result.push(key); - } return result; - }; - - var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { - var IS_OP = it === ObjectPrototype; - var names = nativeGetOwnPropertyNames(IS_OP ? ObjectPrototypeSymbols : toIndexedObject(it)); - var result = []; - var i = 0; - var key; - while (names.length > i) { - if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectPrototype, key) : true)) result.push(AllSymbols[key]); - } return result; - }; - - // `Symbol` constructor - // https://tc39.github.io/ecma262/#sec-symbol-constructor - if (!NATIVE_SYMBOL) { - $Symbol = function Symbol() { - if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor'); - var description = arguments[0] === undefined ? undefined : String(arguments[0]); - var tag = uid(description); - var setter = function (value) { - if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value); - if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; - setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value)); - }; - if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter }); - return wrap(tag, description); - }; - redefine($Symbol[PROTOTYPE], 'toString', function toString() { - return getInternalState(this).tag; - }); - - propertyIsEnumerableModule.f = $propertyIsEnumerable; - definePropertyModule.f = $defineProperty; - getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor; - __webpack_require__(33).f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames; - __webpack_require__(40).f = $getOwnPropertySymbols; - - if (DESCRIPTORS) { - // https://github.com/tc39/proposal-Symbol-description - nativeDefineProperty($Symbol[PROTOTYPE], 'description', { - configurable: true, - get: function description() { - return getInternalState(this).description; - } - }); - if (!IS_PURE) { - redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true }); - } - } - - wrappedWellKnownSymbolModule.f = function (name) { - return wrap(wellKnownSymbol(name), name); - }; - } - - $export({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, { Symbol: $Symbol }); - - for (var wellKnownSymbols = objectKeys(WellKnownSymbolsStore), k = 0; wellKnownSymbols.length > k;) { - defineWellKnownSymbol(wellKnownSymbols[k++]); - } - - $export({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, { - // `Symbol.for` method - // https://tc39.github.io/ecma262/#sec-symbol.for - 'for': function (key) { - return has(SymbolRegistry, key += '') - ? SymbolRegistry[key] - : SymbolRegistry[key] = $Symbol(key); - }, - // `Symbol.keyFor` method - // https://tc39.github.io/ecma262/#sec-symbol.keyfor - keyFor: function keyFor(sym) { - if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol'); - for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; - }, - useSetter: function () { USE_SETTER = true; }, - useSimple: function () { USE_SETTER = false; } - }); - - $export({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, { - // `Object.create` method - // https://tc39.github.io/ecma262/#sec-object.create - create: $create, - // `Object.defineProperty` method - // https://tc39.github.io/ecma262/#sec-object.defineproperty - defineProperty: $defineProperty, - // `Object.defineProperties` method - // https://tc39.github.io/ecma262/#sec-object.defineproperties - defineProperties: $defineProperties, - // `Object.getOwnPropertyDescriptor` method - // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors - getOwnPropertyDescriptor: $getOwnPropertyDescriptor - }); - - $export({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, { - // `Object.getOwnPropertyNames` method - // https://tc39.github.io/ecma262/#sec-object.getownpropertynames - getOwnPropertyNames: $getOwnPropertyNames, - // `Object.getOwnPropertySymbols` method - // https://tc39.github.io/ecma262/#sec-object.getownpropertysymbols - getOwnPropertySymbols: $getOwnPropertySymbols - }); - - // `JSON.stringify` method behavior with symbols - // https://tc39.github.io/ecma262/#sec-json.stringify - JSON && $export({ - target: 'JSON', stat: true, forced: !NATIVE_SYMBOL || fails(function () { - var symbol = $Symbol(); - // MS Edge converts symbol values to JSON as {} - return nativeJSONStringify([symbol]) != '[null]' - // WebKit converts symbol values to JSON as null - || nativeJSONStringify({ a: symbol }) != '{}' - // V8 throws on boxed symbols - || nativeJSONStringify(Object(symbol)) != '{}'; - }) - }, { - stringify: function stringify(it) { - var args = [it]; - var i = 1; - var replacer, $replacer; - while (arguments.length > i) args.push(arguments[i++]); - $replacer = replacer = args[1]; - if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined - if (!isArray(replacer)) replacer = function (key, value) { - if (typeof $replacer == 'function') value = $replacer.call(this, key, value); - if (!isSymbol(value)) return value; - }; - args[1] = replacer; - return nativeJSONStringify.apply(JSON, args); - } - }); - - // `Symbol.prototype[@@toPrimitive]` method - // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@toprimitive - if (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) hide($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); - // `Symbol.prototype[@@toStringTag]` property - // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@tostringtag - setToStringTag($Symbol, SYMBOL); - - hiddenKeys[HIDDEN] = true; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable no-unused-vars -- required for functions `.length` */ + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var apply = __webpack_require__(67); + var wrapErrorConstructorWithCause = __webpack_require__(68); + + var WEB_ASSEMBLY = 'WebAssembly'; + var WebAssembly = global[WEB_ASSEMBLY]; + + // eslint-disable-next-line es/no-error-cause -- feature detection + var FORCED = new Error('e', { cause: 7 }).cause !== 7; + + var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) { + var O = {}; + O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED); + $({ global: true, constructor: true, arity: 1, forced: FORCED }, O); + }; + + var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) { + if (WebAssembly && WebAssembly[ERROR_NAME]) { + var O = {}; + O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED); + $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O); + } + }; + + // https://tc39.es/ecma262/#sec-nativeerror + exportGlobalErrorCauseWrapper('Error', function (init) { + return function Error(message) { return apply(init, this, arguments); }; + }); + exportGlobalErrorCauseWrapper('EvalError', function (init) { + return function EvalError(message) { return apply(init, this, arguments); }; + }); + exportGlobalErrorCauseWrapper('RangeError', function (init) { + return function RangeError(message) { return apply(init, this, arguments); }; + }); + exportGlobalErrorCauseWrapper('ReferenceError', function (init) { + return function ReferenceError(message) { return apply(init, this, arguments); }; + }); + exportGlobalErrorCauseWrapper('SyntaxError', function (init) { + return function SyntaxError(message) { return apply(init, this, arguments); }; + }); + exportGlobalErrorCauseWrapper('TypeError', function (init) { + return function TypeError(message) { return apply(init, this, arguments); }; + }); + exportGlobalErrorCauseWrapper('URIError', function (init) { + return function URIError(message) { return apply(init, this, arguments); }; + }); + exportWebAssemblyErrorCauseWrapper('CompileError', function (init) { + return function CompileError(message) { return apply(init, this, arguments); }; + }); + exportWebAssemblyErrorCauseWrapper('LinkError', function (init) { + return function LinkError(message) { return apply(init, this, arguments); }; + }); + exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) { + return function RuntimeError(message) { return apply(init, this, arguments); }; + }); + + + /***/ }), /* 2 */ - /***/ (function (module, exports) { - - // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 - module.exports = typeof window == 'object' && window && window.Math == Math ? window - : typeof self == 'object' && self && self.Math == Math ? self - // eslint-disable-next-line no-new-func - : Function('return this')(); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var getOwnPropertyDescriptor = __webpack_require__(4).f; + var createNonEnumerableProperty = __webpack_require__(42); + var defineBuiltIn = __webpack_require__(46); + var defineGlobalProperty = __webpack_require__(36); + var copyConstructorProperties = __webpack_require__(54); + var isForced = __webpack_require__(66); + + /* + options.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.dontCallGetSet - prevent calling a getter on target + options.name - the .name of the function if it does not match the key + */ + module.exports = function (options, source) { + var TARGET = options.target; + var GLOBAL = options.global; + var STATIC = options.stat; + var FORCED, target, key, targetProperty, sourceProperty, descriptor; + if (GLOBAL) { + target = global; + } else if (STATIC) { + target = global[TARGET] || defineGlobalProperty(TARGET, {}); + } else { + target = global[TARGET] && global[TARGET].prototype; + } + if (target) for (key in source) { + sourceProperty = source[key]; + if (options.dontCallGetSet) { + descriptor = getOwnPropertyDescriptor(target, key); + targetProperty = descriptor && descriptor.value; + } else targetProperty = target[key]; + FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); + // contained in target + if (!FORCED && targetProperty !== undefined) { + if (typeof sourceProperty == typeof targetProperty) continue; + copyConstructorProperties(sourceProperty, targetProperty); + } + // add a flag to not completely full polyfills + if (options.sham || (targetProperty && targetProperty.sham)) { + createNonEnumerableProperty(sourceProperty, 'sham', true); + } + defineBuiltIn(target, key, sourceProperty, options); + } + }; + + + /***/ }), /* 3 */ - /***/ (function (module, exports) { - - var hasOwnProperty = {}.hasOwnProperty; - - module.exports = function (it, key) { - return hasOwnProperty.call(it, key); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var check = function (it) { + return it && it.Math === Math && it; + }; + + // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 + module.exports = + // eslint-disable-next-line es/no-global-this -- safe + check(typeof globalThis == 'object' && globalThis) || + check(typeof window == 'object' && window) || + // eslint-disable-next-line no-restricted-globals -- safe + check(typeof self == 'object' && self) || + check(typeof global == 'object' && global) || + check(typeof this == 'object' && this) || + // eslint-disable-next-line no-new-func -- fallback + (function () { return this; })() || Function('return this')(); + + + /***/ }), /* 4 */ - /***/ (function (module, exports, __webpack_require__) { - - // Thank's IE8 for his funny defineProperty - module.exports = !__webpack_require__(5)(function () { - return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var call = __webpack_require__(7); + var propertyIsEnumerableModule = __webpack_require__(9); + var createPropertyDescriptor = __webpack_require__(10); + var toIndexedObject = __webpack_require__(11); + var toPropertyKey = __webpack_require__(17); + var hasOwn = __webpack_require__(37); + var IE8_DOM_DEFINE = __webpack_require__(40); + + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + + // `Object.getOwnPropertyDescriptor` method + // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor + exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { + O = toIndexedObject(O); + P = toPropertyKey(P); + if (IE8_DOM_DEFINE) try { + return $getOwnPropertyDescriptor(O, P); + } catch (error) { /* empty */ } + if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); + }; + + + /***/ }), /* 5 */ - /***/ (function (module, exports) { - - module.exports = function (exec) { - try { - return !!exec(); - } catch (e) { - return true; - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + + // Detect IE8's incomplete defineProperty implementation + module.exports = !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; + }); + + + /***/ }), /* 6 */ - /***/ (function (module, exports) { - - module.exports = false; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = function (exec) { + try { + return !!exec(); + } catch (error) { + return true; + } + }; + + + /***/ }), /* 7 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var getOwnPropertyDescriptor = __webpack_require__(8).f; - var hide = __webpack_require__(19); - var redefine = __webpack_require__(22); - var setGlobal = __webpack_require__(23); - var copyConstructorProperties = __webpack_require__(31); - var isForced = __webpack_require__(41); - - /* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.noTargetGet - prevent calling a getter on target - */ - module.exports = function (options, source) { - var TARGET = options.target; - var GLOBAL = options.global; - var STATIC = options.stat; - var FORCED, target, key, targetProperty, sourceProperty, descriptor; - if (GLOBAL) { - target = global; - } else if (STATIC) { - target = global[TARGET] || setGlobal(TARGET, {}); - } else { - target = (global[TARGET] || {}).prototype; - } - if (target) for (key in source) { - sourceProperty = source[key]; - if (options.noTargetGet) { - descriptor = getOwnPropertyDescriptor(target, key); - targetProperty = descriptor && descriptor.value; - } else targetProperty = target[key]; - FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); - // contained in target - if (!FORCED && targetProperty !== undefined) { - if (typeof sourceProperty === typeof targetProperty) continue; - copyConstructorProperties(sourceProperty, targetProperty); - } - // add a flag to not completely full polyfills - if (options.sham || (targetProperty && targetProperty.sham)) { - hide(sourceProperty, 'sham', true); - } - // extend global - redefine(target, key, sourceProperty, options); - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var NATIVE_BIND = __webpack_require__(8); + + var call = Function.prototype.call; + + module.exports = NATIVE_BIND ? call.bind(call) : function () { + return call.apply(call, arguments); + }; + + + /***/ }), /* 8 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - var propertyIsEnumerableModule = __webpack_require__(9); - var createPropertyDescriptor = __webpack_require__(10); - var toIndexedObject = __webpack_require__(11); - var toPrimitive = __webpack_require__(15); - var has = __webpack_require__(3); - var IE8_DOM_DEFINE = __webpack_require__(17); - var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - - exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { - O = toIndexedObject(O); - P = toPrimitive(P, true); - if (IE8_DOM_DEFINE) try { - return nativeGetOwnPropertyDescriptor(O, P); - } catch (e) { /* empty */ } - if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + + module.exports = !fails(function () { + // eslint-disable-next-line es/no-function-prototype-bind -- safe + var test = (function () { /* empty */ }).bind(); + // eslint-disable-next-line no-prototype-builtins -- safe + return typeof test != 'function' || test.hasOwnProperty('prototype'); + }); + + + /***/ }), /* 9 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var nativePropertyIsEnumerable = {}.propertyIsEnumerable; - var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - - // Nashorn ~ JDK8 bug - var NASHORN_BUG = nativeGetOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1); - - exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { - var descriptor = nativeGetOwnPropertyDescriptor(this, V); - return !!descriptor && descriptor.enumerable; - } : nativePropertyIsEnumerable; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $propertyIsEnumerable = {}.propertyIsEnumerable; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + + // Nashorn ~ JDK8 bug + var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); + + // `Object.prototype.propertyIsEnumerable` method implementation + // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable + exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { + var descriptor = getOwnPropertyDescriptor(this, V); + return !!descriptor && descriptor.enumerable; + } : $propertyIsEnumerable; + + + /***/ }), /* 10 */ - /***/ (function (module, exports) { - - module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; + }; + + + /***/ }), /* 11 */ - /***/ (function (module, exports, __webpack_require__) { - - // toObject with fallback for non-array-like ES3 strings - var IndexedObject = __webpack_require__(12); - var requireObjectCoercible = __webpack_require__(14); - - module.exports = function (it) { - return IndexedObject(requireObjectCoercible(it)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // toObject with fallback for non-array-like ES3 strings + var IndexedObject = __webpack_require__(12); + var requireObjectCoercible = __webpack_require__(15); + + module.exports = function (it) { + return IndexedObject(requireObjectCoercible(it)); + }; + + + /***/ }), /* 12 */ - /***/ (function (module, exports, __webpack_require__) { - - // fallback for non-array-like ES3 and non-enumerable old V8 strings - var fails = __webpack_require__(5); - var classof = __webpack_require__(13); - var split = ''.split; - - module.exports = fails(function () { - // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 - // eslint-disable-next-line no-prototype-builtins - return !Object('z').propertyIsEnumerable(0); - }) ? function (it) { - return classof(it) == 'String' ? split.call(it, '') : Object(it); - } : Object; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var fails = __webpack_require__(6); + var classof = __webpack_require__(14); + + var $Object = Object; + var split = uncurryThis(''.split); + + // fallback for non-array-like ES3 and non-enumerable old V8 strings + module.exports = fails(function () { + // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 + // eslint-disable-next-line no-prototype-builtins -- safe + return !$Object('z').propertyIsEnumerable(0); + }) ? function (it) { + return classof(it) === 'String' ? split(it, '') : $Object(it); + } : $Object; + + + /***/ }), /* 13 */ - /***/ (function (module, exports) { - - var toString = {}.toString; - - module.exports = function (it) { - return toString.call(it).slice(8, -1); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var NATIVE_BIND = __webpack_require__(8); + + var FunctionPrototype = Function.prototype; + var call = FunctionPrototype.call; + var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); + + module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { + return function () { + return call.apply(fn, arguments); + }; + }; + + + /***/ }), /* 14 */ - /***/ (function (module, exports) { - - // `RequireObjectCoercible` abstract operation - // https://tc39.github.io/ecma262/#sec-requireobjectcoercible - module.exports = function (it) { - if (it == undefined) throw TypeError("Can't call method on " + it); - return it; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + var toString = uncurryThis({}.toString); + var stringSlice = uncurryThis(''.slice); + + module.exports = function (it) { + return stringSlice(toString(it), 8, -1); + }; + + + /***/ }), /* 15 */ - /***/ (function (module, exports, __webpack_require__) { - - // 7.1.1 ToPrimitive(input [, PreferredType]) - var isObject = __webpack_require__(16); - // instead of the ES6 spec version, we didn't implement @@toPrimitive case - // and the second argument - flag - preferred type is a string - module.exports = function (it, S) { - if (!isObject(it)) return it; - var fn, val; - if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; - if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; - if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; - throw TypeError("Can't convert object to primitive value"); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isNullOrUndefined = __webpack_require__(16); + + var $TypeError = TypeError; + + // `RequireObjectCoercible` abstract operation + // https://tc39.es/ecma262/#sec-requireobjectcoercible + module.exports = function (it) { + if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); + return it; + }; + + + /***/ }), /* 16 */ - /***/ (function (module, exports) { - - module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // we can't use just `it == null` since of `document.all` special case + // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec + module.exports = function (it) { + return it === null || it === undefined; + }; + + + /***/ }), /* 17 */ - /***/ (function (module, exports, __webpack_require__) { - - // Thank's IE8 for his funny defineProperty - module.exports = !__webpack_require__(4) && !__webpack_require__(5)(function () { - return Object.defineProperty(__webpack_require__(18)('div'), 'a', { - get: function () { return 7; } - }).a != 7; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toPrimitive = __webpack_require__(18); + var isSymbol = __webpack_require__(21); + + // `ToPropertyKey` abstract operation + // https://tc39.es/ecma262/#sec-topropertykey + module.exports = function (argument) { + var key = toPrimitive(argument, 'string'); + return isSymbol(key) ? key : key + ''; + }; + + + /***/ }), /* 18 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var document = __webpack_require__(2).document; - // typeof document.createElement is 'object' in old IE - var exist = isObject(document) && isObject(document.createElement); - - module.exports = function (it) { - return exist ? document.createElement(it) : {}; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var isObject = __webpack_require__(19); + var isSymbol = __webpack_require__(21); + var getMethod = __webpack_require__(28); + var ordinaryToPrimitive = __webpack_require__(31); + var wellKnownSymbol = __webpack_require__(32); + + var $TypeError = TypeError; + var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); + + // `ToPrimitive` abstract operation + // https://tc39.es/ecma262/#sec-toprimitive + module.exports = function (input, pref) { + if (!isObject(input) || isSymbol(input)) return input; + var exoticToPrim = getMethod(input, TO_PRIMITIVE); + var result; + if (exoticToPrim) { + if (pref === undefined) pref = 'default'; + result = call(exoticToPrim, input, pref); + if (!isObject(result) || isSymbol(result)) return result; + throw new $TypeError("Can't convert object to primitive value"); + } + if (pref === undefined) pref = 'number'; + return ordinaryToPrimitive(input, pref); + }; + + + /***/ }), /* 19 */ - /***/ (function (module, exports, __webpack_require__) { - - var definePropertyModule = __webpack_require__(20); - var createPropertyDescriptor = __webpack_require__(10); - - module.exports = __webpack_require__(4) ? function (object, key, value) { - return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); - } : function (object, key, value) { - object[key] = value; - return object; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isCallable = __webpack_require__(20); + + module.exports = function (it) { + return typeof it == 'object' ? it !== null : isCallable(it); + }; + + + /***/ }), /* 20 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - var IE8_DOM_DEFINE = __webpack_require__(17); - var anObject = __webpack_require__(21); - var toPrimitive = __webpack_require__(15); - var nativeDefineProperty = Object.defineProperty; - - exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) { - anObject(O); - P = toPrimitive(P, true); - anObject(Attributes); - if (IE8_DOM_DEFINE) try { - return nativeDefineProperty(O, P, Attributes); - } catch (e) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); - if ('value' in Attributes) O[P] = Attributes.value; - return O; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot + var documentAll = typeof document == 'object' && document.all; + + // `IsCallable` abstract operation + // https://tc39.es/ecma262/#sec-iscallable + // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing + module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { + return typeof argument == 'function' || argument === documentAll; + } : function (argument) { + return typeof argument == 'function'; + }; + + + /***/ }), /* 21 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - - module.exports = function (it) { - if (!isObject(it)) { - throw TypeError(String(it) + ' is not an object'); - } return it; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + var isCallable = __webpack_require__(20); + var isPrototypeOf = __webpack_require__(23); + var USE_SYMBOL_AS_UID = __webpack_require__(24); + + var $Object = Object; + + module.exports = USE_SYMBOL_AS_UID ? function (it) { + return typeof it == 'symbol'; + } : function (it) { + var $Symbol = getBuiltIn('Symbol'); + return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); + }; + + + /***/ }), /* 22 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var hide = __webpack_require__(19); - var has = __webpack_require__(3); - var setGlobal = __webpack_require__(23); - var nativeFunctionToString = __webpack_require__(24); - var InternalStateModule = __webpack_require__(26); - var getInternalState = InternalStateModule.get; - var enforceInternalState = InternalStateModule.enforce; - var TEMPLATE = String(nativeFunctionToString).split('toString'); - - __webpack_require__(25)('inspectSource', function (it) { - return nativeFunctionToString.call(it); - }); - - (module.exports = function (O, key, value, options) { - var unsafe = options ? !!options.unsafe : false; - var simple = options ? !!options.enumerable : false; - var noTargetGet = options ? !!options.noTargetGet : false; - if (typeof value == 'function') { - if (typeof key == 'string' && !has(value, 'name')) hide(value, 'name', key); - enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : ''); - } - if (O === global) { - if (simple) O[key] = value; - else setGlobal(key, value); - return; - } else if (!unsafe) { - delete O[key]; - } else if (!noTargetGet && O[key]) { - simple = true; - } - if (simple) O[key] = value; - else hide(O, key, value); - // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative - })(Function.prototype, 'toString', function toString() { - return typeof this == 'function' && getInternalState(this).source || nativeFunctionToString.call(this); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var isCallable = __webpack_require__(20); + + var aFunction = function (argument) { + return isCallable(argument) ? argument : undefined; + }; + + module.exports = function (namespace, method) { + return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; + }; + + + /***/ }), /* 23 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var hide = __webpack_require__(19); - - module.exports = function (key, value) { - try { - hide(global, key, value); - } catch (e) { - global[key] = value; - } return value; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + module.exports = uncurryThis({}.isPrototypeOf); + + + /***/ }), /* 24 */ - /***/ (function (module, exports, __webpack_require__) { - - module.exports = __webpack_require__(25)('native-function-to-string', Function.toString); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable es/no-symbol -- required for testing */ + var NATIVE_SYMBOL = __webpack_require__(25); + + module.exports = NATIVE_SYMBOL + && !Symbol.sham + && typeof Symbol.iterator == 'symbol'; + + + /***/ }), /* 25 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var setGlobal = __webpack_require__(23); - var SHARED = '__core-js_shared__'; - var store = global[SHARED] || setGlobal(SHARED, {}); - - (module.exports = function (key, value) { - return store[key] || (store[key] = value !== undefined ? value : {}); - })('versions', []).push({ - version: '3.0.0', - mode: __webpack_require__(6) ? 'pure' : 'global', - copyright: '© 2019 Denis Pushkarev (zloirock.ru)' - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable es/no-symbol -- required for testing */ + var V8_VERSION = __webpack_require__(26); + var fails = __webpack_require__(6); + var global = __webpack_require__(3); + + var $String = global.String; + + // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing + module.exports = !!Object.getOwnPropertySymbols && !fails(function () { + var symbol = Symbol('symbol detection'); + // Chrome 38 Symbol has incorrect toString conversion + // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances + // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, + // of course, fail. + return !$String(symbol) || !(Object(symbol) instanceof Symbol) || + // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances + !Symbol.sham && V8_VERSION && V8_VERSION < 41; + }); + + + /***/ }), /* 26 */ - /***/ (function (module, exports, __webpack_require__) { - - var NATIVE_WEAK_MAP = __webpack_require__(27); - var isObject = __webpack_require__(16); - var hide = __webpack_require__(19); - var objectHas = __webpack_require__(3); - var sharedKey = __webpack_require__(28); - var hiddenKeys = __webpack_require__(30); - var WeakMap = __webpack_require__(2).WeakMap; - var set, get, has; - - var enforce = function (it) { - return has(it) ? get(it) : set(it, {}); - }; - - var getterFor = function (TYPE) { - return function (it) { - var state; - if (!isObject(it) || (state = get(it)).type !== TYPE) { - throw TypeError('Incompatible receiver, ' + TYPE + ' required'); - } return state; - }; - }; - - if (NATIVE_WEAK_MAP) { - var store = new WeakMap(); - var wmget = store.get; - var wmhas = store.has; - var wmset = store.set; - set = function (it, metadata) { - wmset.call(store, it, metadata); - return metadata; - }; - get = function (it) { - return wmget.call(store, it) || {}; - }; - has = function (it) { - return wmhas.call(store, it); - }; - } else { - var STATE = sharedKey('state'); - hiddenKeys[STATE] = true; - set = function (it, metadata) { - hide(it, STATE, metadata); - return metadata; - }; - get = function (it) { - return objectHas(it, STATE) ? it[STATE] : {}; - }; - has = function (it) { - return objectHas(it, STATE); - }; - } - - module.exports = { - set: set, - get: get, - has: has, - enforce: enforce, - getterFor: getterFor - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var userAgent = __webpack_require__(27); + + var process = global.process; + var Deno = global.Deno; + var versions = process && process.versions || Deno && Deno.version; + var v8 = versions && versions.v8; + var match, version; + + if (v8) { + match = v8.split('.'); + // in old Chrome, versions of V8 isn't V8 = Chrome / 10 + // but their correct versions are not interesting for us + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); + } + + // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` + // so check `userAgent` even if `.v8` exists, but 0 + if (!version && userAgent) { + match = userAgent.match(/Edge\/(\d+)/); + if (!match || match[1] >= 74) { + match = userAgent.match(/Chrome\/(\d+)/); + if (match) version = +match[1]; + } + } + + module.exports = version; + + + /***/ }), /* 27 */ - /***/ (function (module, exports, __webpack_require__) { - - var nativeFunctionToString = __webpack_require__(24); - var WeakMap = __webpack_require__(2).WeakMap; - - module.exports = typeof WeakMap === 'function' && /native code/.test(nativeFunctionToString.call(WeakMap)); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; + + + /***/ }), /* 28 */ - /***/ (function (module, exports, __webpack_require__) { - - var shared = __webpack_require__(25)('keys'); - var uid = __webpack_require__(29); - - module.exports = function (key) { - return shared[key] || (shared[key] = uid(key)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aCallable = __webpack_require__(29); + var isNullOrUndefined = __webpack_require__(16); + + // `GetMethod` abstract operation + // https://tc39.es/ecma262/#sec-getmethod + module.exports = function (V, P) { + var func = V[P]; + return isNullOrUndefined(func) ? undefined : aCallable(func); + }; + + + /***/ }), /* 29 */ - /***/ (function (module, exports) { - - var id = 0; - var postfix = Math.random(); - - module.exports = function (key) { - return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + postfix).toString(36)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isCallable = __webpack_require__(20); + var tryToString = __webpack_require__(30); + + var $TypeError = TypeError; + + // `Assert: IsCallable(argument) is true` + module.exports = function (argument) { + if (isCallable(argument)) return argument; + throw new $TypeError(tryToString(argument) + ' is not a function'); + }; + + + /***/ }), /* 30 */ - /***/ (function (module, exports) { - - module.exports = {}; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $String = String; + + module.exports = function (argument) { + try { + return $String(argument); + } catch (error) { + return 'Object'; + } + }; + + + /***/ }), /* 31 */ - /***/ (function (module, exports, __webpack_require__) { - - var has = __webpack_require__(3); - var ownKeys = __webpack_require__(32); - var getOwnPropertyDescriptorModule = __webpack_require__(8); - var definePropertyModule = __webpack_require__(20); - - module.exports = function (target, source) { - var keys = ownKeys(source); - var defineProperty = definePropertyModule.f; - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var isCallable = __webpack_require__(20); + var isObject = __webpack_require__(19); + + var $TypeError = TypeError; + + // `OrdinaryToPrimitive` abstract operation + // https://tc39.es/ecma262/#sec-ordinarytoprimitive + module.exports = function (input, pref) { + var fn, val; + if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; + if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + throw new $TypeError("Can't convert object to primitive value"); + }; + + + /***/ }), /* 32 */ - /***/ (function (module, exports, __webpack_require__) { - - var getOwnPropertyNamesModule = __webpack_require__(33); - var getOwnPropertySymbolsModule = __webpack_require__(40); - var anObject = __webpack_require__(21); - var Reflect = __webpack_require__(2).Reflect; - - // all object keys, includes non-enumerable and symbols - module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { - var keys = getOwnPropertyNamesModule.f(anObject(it)); - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var shared = __webpack_require__(33); + var hasOwn = __webpack_require__(37); + var uid = __webpack_require__(39); + var NATIVE_SYMBOL = __webpack_require__(25); + var USE_SYMBOL_AS_UID = __webpack_require__(24); + + var Symbol = global.Symbol; + var WellKnownSymbolsStore = shared('wks'); + var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; + + module.exports = function (name) { + if (!hasOwn(WellKnownSymbolsStore, name)) { + WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) + ? Symbol[name] + : createWellKnownSymbol('Symbol.' + name); + } return WellKnownSymbolsStore[name]; + }; + + + /***/ }), /* 33 */ - /***/ (function (module, exports, __webpack_require__) { - - // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) - var internalObjectKeys = __webpack_require__(34); - var hiddenKeys = __webpack_require__(39).concat('length', 'prototype'); - - exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { - return internalObjectKeys(O, hiddenKeys); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var store = __webpack_require__(34); + + module.exports = function (key, value) { + return store[key] || (store[key] = value || {}); + }; + + + /***/ }), /* 34 */ - /***/ (function (module, exports, __webpack_require__) { - - var has = __webpack_require__(3); - var toIndexedObject = __webpack_require__(11); - var arrayIndexOf = __webpack_require__(35)(false); - var hiddenKeys = __webpack_require__(30); - - module.exports = function (object, names) { - var O = toIndexedObject(object); - var i = 0; - var result = []; - var key; - for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key); - // Don't enum bug & hidden keys - while (names.length > i) if (has(O, key = names[i++])) { - ~arrayIndexOf(result, key) || result.push(key); - } - return result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var IS_PURE = __webpack_require__(35); + var globalThis = __webpack_require__(3); + var defineGlobalProperty = __webpack_require__(36); + + var SHARED = '__core-js_shared__'; + var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); + + (store.versions || (store.versions = [])).push({ + version: '3.36.0', + mode: IS_PURE ? 'pure' : 'global', + copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE', + source: 'https://github.com/zloirock/core-js' + }); + + + /***/ }), /* 35 */ - /***/ (function (module, exports, __webpack_require__) { - - var toIndexedObject = __webpack_require__(11); - var toLength = __webpack_require__(36); - var toAbsoluteIndex = __webpack_require__(38); - - // `Array.prototype.{ indexOf, includes }` methods implementation - // false -> Array#indexOf - // https://tc39.github.io/ecma262/#sec-array.prototype.indexof - // true -> Array#includes - // https://tc39.github.io/ecma262/#sec-array.prototype.includes - module.exports = function (IS_INCLUDES) { - return function ($this, el, fromIndex) { - var O = toIndexedObject($this); - var length = toLength(O.length); - var index = toAbsoluteIndex(fromIndex, length); - var value; - // Array#includes uses SameValueZero equality algorithm - // eslint-disable-next-line no-self-compare - if (IS_INCLUDES && el != el) while (length > index) { - value = O[index++]; - // eslint-disable-next-line no-self-compare - if (value != value) return true; - // Array#indexOf ignores holes, Array#includes - not - } else for (; length > index; index++) if (IS_INCLUDES || index in O) { - if (O[index] === el) return IS_INCLUDES || index || 0; - } return !IS_INCLUDES && -1; - }; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = false; + + + /***/ }), /* 36 */ - /***/ (function (module, exports, __webpack_require__) { - - var toInteger = __webpack_require__(37); - var min = Math.min; - - // `ToLength` abstract operation - // https://tc39.github.io/ecma262/#sec-tolength - module.exports = function (argument) { - return argument > 0 ? min(toInteger(argument), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + + // eslint-disable-next-line es/no-object-defineproperty -- safe + var defineProperty = Object.defineProperty; + + module.exports = function (key, value) { + try { + defineProperty(global, key, { value: value, configurable: true, writable: true }); + } catch (error) { + global[key] = value; + } return value; + }; + + + /***/ }), /* 37 */ - /***/ (function (module, exports) { - - var ceil = Math.ceil; - var floor = Math.floor; - - // `ToInteger` abstract operation - // https://tc39.github.io/ecma262/#sec-tointeger - module.exports = function (argument) { - return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var toObject = __webpack_require__(38); + + var hasOwnProperty = uncurryThis({}.hasOwnProperty); + + // `HasOwnProperty` abstract operation + // https://tc39.es/ecma262/#sec-hasownproperty + // eslint-disable-next-line es/no-object-hasown -- safe + module.exports = Object.hasOwn || function hasOwn(it, key) { + return hasOwnProperty(toObject(it), key); + }; + + + /***/ }), /* 38 */ - /***/ (function (module, exports, __webpack_require__) { - - var toInteger = __webpack_require__(37); - var max = Math.max; - var min = Math.min; - - // Helper for a popular repeating case of the spec: - // Let integer be ? ToInteger(index). - // If integer < 0, let result be max((length + integer), 0); else let result be min(length, length). - module.exports = function (index, length) { - var integer = toInteger(index); - return integer < 0 ? max(integer + length, 0) : min(integer, length); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var requireObjectCoercible = __webpack_require__(15); + + var $Object = Object; + + // `ToObject` abstract operation + // https://tc39.es/ecma262/#sec-toobject + module.exports = function (argument) { + return $Object(requireObjectCoercible(argument)); + }; + + + /***/ }), /* 39 */ - /***/ (function (module, exports) { - - // IE8- don't enum bug keys - module.exports = [ - 'constructor', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'toLocaleString', - 'toString', - 'valueOf' - ]; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + var id = 0; + var postfix = Math.random(); + var toString = uncurryThis(1.0.toString); + + module.exports = function (key) { + return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); + }; + + + /***/ }), /* 40 */ - /***/ (function (module, exports) { - - exports.f = Object.getOwnPropertySymbols; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var fails = __webpack_require__(6); + var createElement = __webpack_require__(41); + + // Thanks to IE8 for its funny defineProperty + module.exports = !DESCRIPTORS && !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty(createElement('div'), 'a', { + get: function () { return 7; } + }).a !== 7; + }); + + + /***/ }), /* 41 */ - /***/ (function (module, exports, __webpack_require__) { - - var fails = __webpack_require__(5); - var replacement = /#|\.prototype\./; - - var isForced = function (feature, detection) { - var value = data[normalize(feature)]; - return value == POLYFILL ? true - : value == NATIVE ? false - : typeof detection == 'function' ? fails(detection) - : !!detection; - }; - - var normalize = isForced.normalize = function (string) { - return String(string).replace(replacement, '.').toLowerCase(); - }; - - var data = isForced.data = {}; - var NATIVE = isForced.NATIVE = 'N'; - var POLYFILL = isForced.POLYFILL = 'P'; - - module.exports = isForced; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var isObject = __webpack_require__(19); + + var document = global.document; + // typeof document.createElement is 'object' in old IE + var EXISTS = isObject(document) && isObject(document.createElement); + + module.exports = function (it) { + return EXISTS ? document.createElement(it) : {}; + }; + + + /***/ }), /* 42 */ - /***/ (function (module, exports, __webpack_require__) { - - var defineProperty = __webpack_require__(20).f; - var has = __webpack_require__(3); - var TO_STRING_TAG = __webpack_require__(43)('toStringTag'); - - module.exports = function (it, TAG, STATIC) { - if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) { - defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG }); - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var definePropertyModule = __webpack_require__(43); + var createPropertyDescriptor = __webpack_require__(10); + + module.exports = DESCRIPTORS ? function (object, key, value) { + return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); + } : function (object, key, value) { + object[key] = value; + return object; + }; + + + /***/ }), /* 43 */ - /***/ (function (module, exports, __webpack_require__) { - - var store = __webpack_require__(25)('wks'); - var uid = __webpack_require__(29); - var Symbol = __webpack_require__(2).Symbol; - var NATIVE_SYMBOL = __webpack_require__(44); - - module.exports = function (name) { - return store[name] || (store[name] = NATIVE_SYMBOL && Symbol[name] - || (NATIVE_SYMBOL ? Symbol : uid)('Symbol.' + name)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var IE8_DOM_DEFINE = __webpack_require__(40); + var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(44); + var anObject = __webpack_require__(45); + var toPropertyKey = __webpack_require__(17); + + var $TypeError = TypeError; + // eslint-disable-next-line es/no-object-defineproperty -- safe + var $defineProperty = Object.defineProperty; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var ENUMERABLE = 'enumerable'; + var CONFIGURABLE = 'configurable'; + var WRITABLE = 'writable'; + + // `Object.defineProperty` method + // https://tc39.es/ecma262/#sec-object.defineproperty + exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { + anObject(O); + P = toPropertyKey(P); + anObject(Attributes); + if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { + var current = $getOwnPropertyDescriptor(O, P); + if (current && current[WRITABLE]) { + O[P] = Attributes.value; + Attributes = { + configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], + enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], + writable: false + }; + } + } return $defineProperty(O, P, Attributes); + } : $defineProperty : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPropertyKey(P); + anObject(Attributes); + if (IE8_DOM_DEFINE) try { + return $defineProperty(O, P, Attributes); + } catch (error) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; + }; + + + /***/ }), /* 44 */ - /***/ (function (module, exports, __webpack_require__) { - - // Chrome 38 Symbol has incorrect toString conversion - module.exports = !__webpack_require__(5)(function () { - // eslint-disable-next-line no-undef - String(Symbol()); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var fails = __webpack_require__(6); + + // V8 ~ Chrome 36- + // https://bugs.chromium.org/p/v8/issues/detail?id=3334 + module.exports = DESCRIPTORS && fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty(function () { /* empty */ }, 'prototype', { + value: 42, + writable: false + }).prototype !== 42; + }); + + + /***/ }), /* 45 */ - /***/ (function (module, exports, __webpack_require__) { - - exports.f = __webpack_require__(43); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isObject = __webpack_require__(19); + + var $String = String; + var $TypeError = TypeError; + + // `Assert: Type(argument) is Object` + module.exports = function (argument) { + if (isObject(argument)) return argument; + throw new $TypeError($String(argument) + ' is not an object'); + }; + + + /***/ }), /* 46 */ - /***/ (function (module, exports, __webpack_require__) { - - var path = __webpack_require__(47); - var has = __webpack_require__(3); - var wrappedWellKnownSymbolModule = __webpack_require__(45); - var defineProperty = __webpack_require__(20).f; - - module.exports = function (NAME) { - var Symbol = path.Symbol || (path.Symbol = {}); - if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, { - value: wrappedWellKnownSymbolModule.f(NAME) - }); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isCallable = __webpack_require__(20); + var definePropertyModule = __webpack_require__(43); + var makeBuiltIn = __webpack_require__(47); + var defineGlobalProperty = __webpack_require__(36); + + module.exports = function (O, key, value, options) { + if (!options) options = {}; + var simple = options.enumerable; + var name = options.name !== undefined ? options.name : key; + if (isCallable(value)) makeBuiltIn(value, name, options); + if (options.global) { + if (simple) O[key] = value; + else defineGlobalProperty(key, value); + } else { + try { + if (!options.unsafe) delete O[key]; + else if (O[key]) simple = true; + } catch (error) { /* empty */ } + if (simple) O[key] = value; + else definePropertyModule.f(O, key, { + value: value, + enumerable: false, + configurable: !options.nonConfigurable, + writable: !options.nonWritable + }); + } return O; + }; + + + /***/ }), /* 47 */ - /***/ (function (module, exports, __webpack_require__) { - - module.exports = __webpack_require__(2); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var fails = __webpack_require__(6); + var isCallable = __webpack_require__(20); + var hasOwn = __webpack_require__(37); + var DESCRIPTORS = __webpack_require__(5); + var CONFIGURABLE_FUNCTION_NAME = __webpack_require__(48).CONFIGURABLE; + var inspectSource = __webpack_require__(49); + var InternalStateModule = __webpack_require__(50); + + var enforceInternalState = InternalStateModule.enforce; + var getInternalState = InternalStateModule.get; + var $String = String; + // eslint-disable-next-line es/no-object-defineproperty -- safe + var defineProperty = Object.defineProperty; + var stringSlice = uncurryThis(''.slice); + var replace = uncurryThis(''.replace); + var join = uncurryThis([].join); + + var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { + return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; + }); + + var TEMPLATE = String(String).split('String'); + + var makeBuiltIn = module.exports = function (value, name, options) { + if (stringSlice($String(name), 0, 7) === 'Symbol(') { + name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; + } + if (options && options.getter) name = 'get ' + name; + if (options && options.setter) name = 'set ' + name; + if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { + if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); + else value.name = name; + } + if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { + defineProperty(value, 'length', { value: options.arity }); + } + try { + if (options && hasOwn(options, 'constructor') && options.constructor) { + if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable + } else if (value.prototype) value.prototype = undefined; + } catch (error) { /* empty */ } + var state = enforceInternalState(value); + if (!hasOwn(state, 'source')) { + state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); + } return value; + }; + + // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative + // eslint-disable-next-line no-extend-native -- required + Function.prototype.toString = makeBuiltIn(function toString() { + return isCallable(this) && getInternalState(this).source || inspectSource(this); + }, 'toString'); + + + /***/ }), /* 48 */ - /***/ (function (module, exports, __webpack_require__) { - - var objectKeys = __webpack_require__(49); - var getOwnPropertySymbolsModule = __webpack_require__(40); - var propertyIsEnumerableModule = __webpack_require__(9); - - // all enumerable object keys, includes symbols - module.exports = function (it) { - var result = objectKeys(it); - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - if (getOwnPropertySymbols) { - var symbols = getOwnPropertySymbols(it); - var propertyIsEnumerable = propertyIsEnumerableModule.f; - var i = 0; - var key; - while (symbols.length > i) if (propertyIsEnumerable.call(it, key = symbols[i++])) result.push(key); - } return result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var hasOwn = __webpack_require__(37); + + var FunctionPrototype = Function.prototype; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; + + var EXISTS = hasOwn(FunctionPrototype, 'name'); + // additional protection from minified / mangled / dropped function names + var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; + var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); + + module.exports = { + EXISTS: EXISTS, + PROPER: PROPER, + CONFIGURABLE: CONFIGURABLE + }; + + + /***/ }), /* 49 */ - /***/ (function (module, exports, __webpack_require__) { - - // 19.1.2.14 / 15.2.3.14 Object.keys(O) - var internalObjectKeys = __webpack_require__(34); - var enumBugKeys = __webpack_require__(39); - - module.exports = Object.keys || function keys(O) { - return internalObjectKeys(O, enumBugKeys); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var isCallable = __webpack_require__(20); + var store = __webpack_require__(34); + + var functionToString = uncurryThis(Function.toString); + + // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper + if (!isCallable(store.inspectSource)) { + store.inspectSource = function (it) { + return functionToString(it); + }; + } + + module.exports = store.inspectSource; + + + /***/ }), /* 50 */ - /***/ (function (module, exports, __webpack_require__) { - - var classof = __webpack_require__(13); - - // `IsArray` abstract operation - // https://tc39.github.io/ecma262/#sec-isarray - module.exports = Array.isArray || function isArray(arg) { - return classof(arg) == 'Array'; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var NATIVE_WEAK_MAP = __webpack_require__(51); + var global = __webpack_require__(3); + var isObject = __webpack_require__(19); + var createNonEnumerableProperty = __webpack_require__(42); + var hasOwn = __webpack_require__(37); + var shared = __webpack_require__(34); + var sharedKey = __webpack_require__(52); + var hiddenKeys = __webpack_require__(53); + + var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; + var TypeError = global.TypeError; + var WeakMap = global.WeakMap; + var set, get, has; + + var enforce = function (it) { + return has(it) ? get(it) : set(it, {}); + }; + + var getterFor = function (TYPE) { + return function (it) { + var state; + if (!isObject(it) || (state = get(it)).type !== TYPE) { + throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); + } return state; + }; + }; + + if (NATIVE_WEAK_MAP || shared.state) { + var store = shared.state || (shared.state = new WeakMap()); + /* eslint-disable no-self-assign -- prototype methods protection */ + store.get = store.get; + store.has = store.has; + store.set = store.set; + /* eslint-enable no-self-assign -- prototype methods protection */ + set = function (it, metadata) { + if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + store.set(it, metadata); + return metadata; + }; + get = function (it) { + return store.get(it) || {}; + }; + has = function (it) { + return store.has(it); + }; + } else { + var STATE = sharedKey('state'); + hiddenKeys[STATE] = true; + set = function (it, metadata) { + if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + createNonEnumerableProperty(it, STATE, metadata); + return metadata; + }; + get = function (it) { + return hasOwn(it, STATE) ? it[STATE] : {}; + }; + has = function (it) { + return hasOwn(it, STATE); + }; + } + + module.exports = { + set: set, + get: get, + has: has, + enforce: enforce, + getterFor: getterFor + }; + + + /***/ }), /* 51 */ - /***/ (function (module, exports, __webpack_require__) { - - // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) - var anObject = __webpack_require__(21); - var defineProperties = __webpack_require__(52); - var enumBugKeys = __webpack_require__(39); - var html = __webpack_require__(53); - var documentCreateElement = __webpack_require__(18); - var IE_PROTO = __webpack_require__(28)('IE_PROTO'); - var PROTOTYPE = 'prototype'; - var Empty = function () { /* empty */ }; - - // Create object with fake `null` prototype: use iframe Object with cleared prototype - var createDict = function () { - // Thrash, waste and sodomy: IE GC bug - var iframe = documentCreateElement('iframe'); - var length = enumBugKeys.length; - var lt = '<'; - var script = 'script'; - var gt = '>'; - var js = 'java' + script + ':'; - var iframeDocument; - iframe.style.display = 'none'; - html.appendChild(iframe); - iframe.src = String(js); - iframeDocument = iframe.contentWindow.document; - iframeDocument.open(); - iframeDocument.write(lt + script + gt + 'document.F=Object' + lt + '/' + script + gt); - iframeDocument.close(); - createDict = iframeDocument.F; - while (length--) delete createDict[PROTOTYPE][enumBugKeys[length]]; - return createDict(); - }; - - module.exports = Object.create || function create(O, Properties) { - var result; - if (O !== null) { - Empty[PROTOTYPE] = anObject(O); - result = new Empty(); - Empty[PROTOTYPE] = null; - // add "__proto__" for Object.getPrototypeOf polyfill - result[IE_PROTO] = O; - } else result = createDict(); - return Properties === undefined ? result : defineProperties(result, Properties); - }; - - __webpack_require__(30)[IE_PROTO] = true; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var isCallable = __webpack_require__(20); + + var WeakMap = global.WeakMap; + + module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); + + + /***/ }), /* 52 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - var definePropertyModule = __webpack_require__(20); - var anObject = __webpack_require__(21); - var objectKeys = __webpack_require__(49); - - module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) { - anObject(O); - var keys = objectKeys(Properties); - var length = keys.length; - var i = 0; - var key; - while (length > i) definePropertyModule.f(O, key = keys[i++], Properties[key]); - return O; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var shared = __webpack_require__(33); + var uid = __webpack_require__(39); + + var keys = shared('keys'); + + module.exports = function (key) { + return keys[key] || (keys[key] = uid(key)); + }; + + + /***/ }), /* 53 */ - /***/ (function (module, exports, __webpack_require__) { - - var document = __webpack_require__(2).document; - - module.exports = document && document.documentElement; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = {}; + + + /***/ }), /* 54 */ - /***/ (function (module, exports, __webpack_require__) { - - // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window - var toIndexedObject = __webpack_require__(11); - var nativeGetOwnPropertyNames = __webpack_require__(33).f; - var toString = {}.toString; - - var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames - ? Object.getOwnPropertyNames(window) : []; - - var getWindowNames = function (it) { - try { - return nativeGetOwnPropertyNames(it); - } catch (e) { - return windowNames.slice(); - } - }; - - module.exports.f = function getOwnPropertyNames(it) { - return windowNames && toString.call(it) == '[object Window]' - ? getWindowNames(it) - : nativeGetOwnPropertyNames(toIndexedObject(it)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var hasOwn = __webpack_require__(37); + var ownKeys = __webpack_require__(55); + var getOwnPropertyDescriptorModule = __webpack_require__(4); + var definePropertyModule = __webpack_require__(43); + + module.exports = function (target, source, exceptions) { + var keys = ownKeys(source); + var defineProperty = definePropertyModule.f; + var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } + } + }; + + + /***/ }), /* 55 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - // `Symbol.prototype.description` getter - // https://tc39.github.io/ecma262/#sec-symbol.prototype.description - - var DESCRIPTORS = __webpack_require__(4); - var has = __webpack_require__(3); - var isObject = __webpack_require__(16); - var defineProperty = __webpack_require__(20).f; - var copyConstructorProperties = __webpack_require__(31); - var NativeSymbol = __webpack_require__(2).Symbol; - - if (DESCRIPTORS && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) || - // Safari 12 bug - NativeSymbol().description !== undefined - )) { - var EmptyStringDescriptionStore = {}; - // wrap Symbol constructor for correct work with undefined description - var SymbolWrapper = function Symbol() { - var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]); - var result = this instanceof SymbolWrapper - ? new NativeSymbol(description) - // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)' - : description === undefined ? NativeSymbol() : NativeSymbol(description); - if (description === '') EmptyStringDescriptionStore[result] = true; - return result; - }; - copyConstructorProperties(SymbolWrapper, NativeSymbol); - var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype; - symbolPrototype.constructor = SymbolWrapper; - - var symbolToString = symbolPrototype.toString; - var native = String(NativeSymbol('test')) == 'Symbol(test)'; - var regexp = /^Symbol\((.*)\)[^)]+$/; - defineProperty(symbolPrototype, 'description', { - configurable: true, - get: function description() { - var symbol = isObject(this) ? this.valueOf() : this; - var string = symbolToString.call(symbol); - if (has(EmptyStringDescriptionStore, symbol)) return ''; - var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1'); - return desc === '' ? undefined : desc; - } - }); - - __webpack_require__(7)({ global: true, forced: true }, { Symbol: SymbolWrapper }); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + var getOwnPropertyNamesModule = __webpack_require__(56); + var getOwnPropertySymbolsModule = __webpack_require__(65); + var anObject = __webpack_require__(45); + + var concat = uncurryThis([].concat); + + // all object keys, includes non-enumerable and symbols + module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { + var keys = getOwnPropertyNamesModule.f(anObject(it)); + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; + }; + + + /***/ }), /* 56 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.asyncIterator` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.asynciterator - __webpack_require__(46)('asyncIterator'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var internalObjectKeys = __webpack_require__(57); + var enumBugKeys = __webpack_require__(64); + + var hiddenKeys = enumBugKeys.concat('length', 'prototype'); + + // `Object.getOwnPropertyNames` method + // https://tc39.es/ecma262/#sec-object.getownpropertynames + // eslint-disable-next-line es/no-object-getownpropertynames -- safe + exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return internalObjectKeys(O, hiddenKeys); + }; + + + /***/ }), /* 57 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.hasInstance` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.hasinstance - __webpack_require__(46)('hasInstance'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var hasOwn = __webpack_require__(37); + var toIndexedObject = __webpack_require__(11); + var indexOf = __webpack_require__(58).indexOf; + var hiddenKeys = __webpack_require__(53); + + var push = uncurryThis([].push); + + module.exports = function (object, names) { + var O = toIndexedObject(object); + var i = 0; + var result = []; + var key; + for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); + // Don't enum bug & hidden keys + while (names.length > i) if (hasOwn(O, key = names[i++])) { + ~indexOf(result, key) || push(result, key); + } + return result; + }; + + + /***/ }), /* 58 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.isConcatSpreadable` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.isconcatspreadable - __webpack_require__(46)('isConcatSpreadable'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toIndexedObject = __webpack_require__(11); + var toAbsoluteIndex = __webpack_require__(59); + var lengthOfArrayLike = __webpack_require__(62); + + // `Array.prototype.{ indexOf, includes }` methods implementation + var createMethod = function (IS_INCLUDES) { + return function ($this, el, fromIndex) { + var O = toIndexedObject($this); + var length = lengthOfArrayLike(O); + if (length === 0) return !IS_INCLUDES && -1; + var index = toAbsoluteIndex(fromIndex, length); + var value; + // Array#includes uses SameValueZero equality algorithm + // eslint-disable-next-line no-self-compare -- NaN check + if (IS_INCLUDES && el !== el) while (length > index) { + value = O[index++]; + // eslint-disable-next-line no-self-compare -- NaN check + if (value !== value) return true; + // Array#indexOf ignores holes, Array#includes - not + } else for (;length > index; index++) { + if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; + }; + }; + + module.exports = { + // `Array.prototype.includes` method + // https://tc39.es/ecma262/#sec-array.prototype.includes + includes: createMethod(true), + // `Array.prototype.indexOf` method + // https://tc39.es/ecma262/#sec-array.prototype.indexof + indexOf: createMethod(false) + }; + + + /***/ }), /* 59 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.iterator` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.iterator - __webpack_require__(46)('iterator'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toIntegerOrInfinity = __webpack_require__(60); + + var max = Math.max; + var min = Math.min; + + // Helper for a popular repeating case of the spec: + // Let integer be ? ToInteger(index). + // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). + module.exports = function (index, length) { + var integer = toIntegerOrInfinity(index); + return integer < 0 ? max(integer + length, 0) : min(integer, length); + }; + + + /***/ }), /* 60 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.match` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.match - __webpack_require__(46)('match'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var trunc = __webpack_require__(61); + + // `ToIntegerOrInfinity` abstract operation + // https://tc39.es/ecma262/#sec-tointegerorinfinity + module.exports = function (argument) { + var number = +argument; + // eslint-disable-next-line no-self-compare -- NaN check + return number !== number || number === 0 ? 0 : trunc(number); + }; + + + /***/ }), /* 61 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.replace` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.replace - __webpack_require__(46)('replace'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var ceil = Math.ceil; + var floor = Math.floor; + + // `Math.trunc` method + // https://tc39.es/ecma262/#sec-math.trunc + // eslint-disable-next-line es/no-math-trunc -- safe + module.exports = Math.trunc || function trunc(x) { + var n = +x; + return (n > 0 ? floor : ceil)(n); + }; + + + /***/ }), /* 62 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.search` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.search - __webpack_require__(46)('search'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toLength = __webpack_require__(63); + + // `LengthOfArrayLike` abstract operation + // https://tc39.es/ecma262/#sec-lengthofarraylike + module.exports = function (obj) { + return toLength(obj.length); + }; + + + /***/ }), /* 63 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.species` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.species - __webpack_require__(46)('species'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toIntegerOrInfinity = __webpack_require__(60); + + var min = Math.min; + + // `ToLength` abstract operation + // https://tc39.es/ecma262/#sec-tolength + module.exports = function (argument) { + var len = toIntegerOrInfinity(argument); + return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + }; + + + /***/ }), /* 64 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.split` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.split - __webpack_require__(46)('split'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // IE8- don't enum bug keys + module.exports = [ + 'constructor', + 'hasOwnProperty', + 'isPrototypeOf', + 'propertyIsEnumerable', + 'toLocaleString', + 'toString', + 'valueOf' + ]; + + + /***/ }), /* 65 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.toPrimitive` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.toprimitive - __webpack_require__(46)('toPrimitive'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe + exports.f = Object.getOwnPropertySymbols; + + + /***/ }), /* 66 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.toStringTag` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.tostringtag - __webpack_require__(46)('toStringTag'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + var isCallable = __webpack_require__(20); + + var replacement = /#|\.prototype\./; + + var isForced = function (feature, detection) { + var value = data[normalize(feature)]; + return value === POLYFILL ? true + : value === NATIVE ? false + : isCallable(detection) ? fails(detection) + : !!detection; + }; + + var normalize = isForced.normalize = function (string) { + return String(string).replace(replacement, '.').toLowerCase(); + }; + + var data = isForced.data = {}; + var NATIVE = isForced.NATIVE = 'N'; + var POLYFILL = isForced.POLYFILL = 'P'; + + module.exports = isForced; + + + /***/ }), /* 67 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.unscopables` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.unscopables - __webpack_require__(46)('unscopables'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var NATIVE_BIND = __webpack_require__(8); + + var FunctionPrototype = Function.prototype; + var apply = FunctionPrototype.apply; + var call = FunctionPrototype.call; + + // eslint-disable-next-line es/no-reflect -- safe + module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () { + return call.apply(apply, arguments); + }); + + + /***/ }), /* 68 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var isArray = __webpack_require__(50); - var isObject = __webpack_require__(16); - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var createProperty = __webpack_require__(70); - var arraySpeciesCreate = __webpack_require__(71); - var IS_CONCAT_SPREADABLE = __webpack_require__(43)('isConcatSpreadable'); - var MAX_SAFE_INTEGER = 0x1fffffffffffff; - var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; - - var IS_CONCAT_SPREADABLE_SUPPORT = !__webpack_require__(5)(function () { - var array = []; - array[IS_CONCAT_SPREADABLE] = false; - return array.concat()[0] !== array; - }); - - var SPECIES_SUPPORT = __webpack_require__(72)('concat'); - - var isConcatSpreadable = function (O) { - if (!isObject(O)) return false; - var spreadable = O[IS_CONCAT_SPREADABLE]; - return spreadable !== undefined ? !!spreadable : isArray(O); - }; - - var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; - - // `Array.prototype.concat` method - // https://tc39.github.io/ecma262/#sec-array.prototype.concat - // with adding support of @@isConcatSpreadable and @@species - __webpack_require__(7)({ target: 'Array', proto: true, forced: FORCED }, { - concat: function concat(arg) { // eslint-disable-line no-unused-vars - var O = toObject(this); - var A = arraySpeciesCreate(O, 0); - var n = 0; - var i, k, length, len, E; - for (i = -1, length = arguments.length; i < length; i++) { - E = i === -1 ? O : arguments[i]; - if (isConcatSpreadable(E)) { - len = toLength(E.length); - if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); - for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); - } else { - if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); - createProperty(A, n++, E); - } - } - A.length = n; - return A; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + var hasOwn = __webpack_require__(37); + var createNonEnumerableProperty = __webpack_require__(42); + var isPrototypeOf = __webpack_require__(23); + var setPrototypeOf = __webpack_require__(69); + var copyConstructorProperties = __webpack_require__(54); + var proxyAccessor = __webpack_require__(73); + var inheritIfRequired = __webpack_require__(74); + var normalizeStringArgument = __webpack_require__(75); + var installErrorCause = __webpack_require__(79); + var installErrorStack = __webpack_require__(80); + var DESCRIPTORS = __webpack_require__(5); + var IS_PURE = __webpack_require__(35); + + module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) { + var STACK_TRACE_LIMIT = 'stackTraceLimit'; + var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1; + var path = FULL_NAME.split('.'); + var ERROR_NAME = path[path.length - 1]; + var OriginalError = getBuiltIn.apply(null, path); + + if (!OriginalError) return; + + var OriginalErrorPrototype = OriginalError.prototype; + + // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006 + if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause; + + if (!FORCED) return OriginalError; + + var BaseError = getBuiltIn('Error'); + + var WrappedError = wrapper(function (a, b) { + var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined); + var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError(); + if (message !== undefined) createNonEnumerableProperty(result, 'message', message); + installErrorStack(result, WrappedError, result.stack, 2); + if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError); + if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]); + return result; + }); + + WrappedError.prototype = OriginalErrorPrototype; + + if (ERROR_NAME !== 'Error') { + if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError); + else copyConstructorProperties(WrappedError, BaseError, { name: true }); + } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) { + proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT); + proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace'); + } + + copyConstructorProperties(WrappedError, OriginalError); + + if (!IS_PURE) try { + // Safari 13- bug: WebAssembly errors does not have a proper `.name` + if (OriginalErrorPrototype.name !== ERROR_NAME) { + createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME); + } + OriginalErrorPrototype.constructor = WrappedError; + } catch (error) { /* empty */ } + + return WrappedError; + }; + + + /***/ }), /* 69 */ - /***/ (function (module, exports, __webpack_require__) { - - var requireObjectCoercible = __webpack_require__(14); - - // `ToObject` abstract operation - // https://tc39.github.io/ecma262/#sec-toobject - module.exports = function (argument) { - return Object(requireObjectCoercible(argument)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable no-proto -- safe */ + var uncurryThisAccessor = __webpack_require__(70); + var anObject = __webpack_require__(45); + var aPossiblePrototype = __webpack_require__(71); + + // `Object.setPrototypeOf` method + // https://tc39.es/ecma262/#sec-object.setprototypeof + // Works with __proto__ only. Old v8 can't work with null proto objects. + // eslint-disable-next-line es/no-object-setprototypeof -- safe + module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { + var CORRECT_SETTER = false; + var test = {}; + var setter; + try { + setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); + setter(test, []); + CORRECT_SETTER = test instanceof Array; + } catch (error) { /* empty */ } + return function setPrototypeOf(O, proto) { + anObject(O); + aPossiblePrototype(proto); + if (CORRECT_SETTER) setter(O, proto); + else O.__proto__ = proto; + return O; + }; + }() : undefined); + + + /***/ }), /* 70 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toPrimitive = __webpack_require__(15); - var definePropertyModule = __webpack_require__(20); - var createPropertyDescriptor = __webpack_require__(10); - - module.exports = function (object, key, value) { - var propertyKey = toPrimitive(key); - if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); - else object[propertyKey] = value; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var aCallable = __webpack_require__(29); + + module.exports = function (object, key, method) { + try { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); + } catch (error) { /* empty */ } + }; + + + /***/ }), /* 71 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var isArray = __webpack_require__(50); - var SPECIES = __webpack_require__(43)('species'); - - // `ArraySpeciesCreate` abstract operation - // https://tc39.github.io/ecma262/#sec-arrayspeciescreate - module.exports = function (originalArray, length) { - var C; - if (isArray(originalArray)) { - C = originalArray.constructor; - // cross-realm fallback - if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; - else if (isObject(C)) { - C = C[SPECIES]; - if (C === null) C = undefined; - } - } return new (C === undefined ? Array : C)(length === 0 ? 0 : length); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isPossiblePrototype = __webpack_require__(72); + + var $String = String; + var $TypeError = TypeError; + + module.exports = function (argument) { + if (isPossiblePrototype(argument)) return argument; + throw new $TypeError("Can't set " + $String(argument) + ' as a prototype'); + }; + + + /***/ }), /* 72 */ - /***/ (function (module, exports, __webpack_require__) { - - var fails = __webpack_require__(5); - var SPECIES = __webpack_require__(43)('species'); - - module.exports = function (METHOD_NAME) { - return !fails(function () { - var array = []; - var constructor = array.constructor = {}; - constructor[SPECIES] = function () { - return { foo: 1 }; - }; - return array[METHOD_NAME](Boolean).foo !== 1; - }); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isObject = __webpack_require__(19); + + module.exports = function (argument) { + return isObject(argument) || argument === null; + }; + + + /***/ }), /* 73 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Array.prototype.copyWithin` method - // https://tc39.github.io/ecma262/#sec-array.prototype.copywithin - __webpack_require__(7)({ target: 'Array', proto: true }, { - copyWithin: __webpack_require__(74) - }); - - // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables - __webpack_require__(75)('copyWithin'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineProperty = __webpack_require__(43).f; + + module.exports = function (Target, Source, key) { + key in Target || defineProperty(Target, key, { + configurable: true, + get: function () { return Source[key]; }, + set: function (it) { Source[key] = it; } + }); + }; + + + /***/ }), /* 74 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toObject = __webpack_require__(69); - var toAbsoluteIndex = __webpack_require__(38); - var toLength = __webpack_require__(36); - - // `Array.prototype.copyWithin` method implementation - // https://tc39.github.io/ecma262/#sec-array.prototype.copywithin - module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { - var O = toObject(this); - var len = toLength(O.length); - var to = toAbsoluteIndex(target, len); - var from = toAbsoluteIndex(start, len); - var end = arguments.length > 2 ? arguments[2] : undefined; - var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); - var inc = 1; - if (from < to && to < from + count) { - inc = -1; - from += count - 1; - to += count - 1; - } - while (count-- > 0) { - if (from in O) O[to] = O[from]; - else delete O[to]; - to += inc; - from += inc; - } return O; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isCallable = __webpack_require__(20); + var isObject = __webpack_require__(19); + var setPrototypeOf = __webpack_require__(69); + + // makes subclassing work correct for wrapped built-ins + module.exports = function ($this, dummy, Wrapper) { + var NewTarget, NewTargetPrototype; + if ( + // it can work only with native `setPrototypeOf` + setPrototypeOf && + // we haven't completely correct pre-ES6 way for getting `new.target`, so use this + isCallable(NewTarget = dummy.constructor) && + NewTarget !== Wrapper && + isObject(NewTargetPrototype = NewTarget.prototype) && + NewTargetPrototype !== Wrapper.prototype + ) setPrototypeOf($this, NewTargetPrototype); + return $this; + }; + + + /***/ }), /* 75 */ - /***/ (function (module, exports, __webpack_require__) { - - var UNSCOPABLES = __webpack_require__(43)('unscopables'); - var create = __webpack_require__(51); - var hide = __webpack_require__(19); - var ArrayPrototype = Array.prototype; - - // Array.prototype[@@unscopables] - // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables - if (ArrayPrototype[UNSCOPABLES] == undefined) { - hide(ArrayPrototype, UNSCOPABLES, create(null)); - } - - // add a key to Array.prototype[@@unscopables] - module.exports = function (key) { - ArrayPrototype[UNSCOPABLES][key] = true; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toString = __webpack_require__(76); + + module.exports = function (argument, $default) { + return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); + }; + + + /***/ }), /* 76 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalEvery = __webpack_require__(77)(4); - - var SLOPPY_METHOD = __webpack_require__(80)('every'); - - // `Array.prototype.every` method - // https://tc39.github.io/ecma262/#sec-array.prototype.every - __webpack_require__(7)({ target: 'Array', proto: true, forced: SLOPPY_METHOD }, { - every: function every(callbackfn /* , thisArg */) { - return internalEvery(this, callbackfn, arguments[1]); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classof = __webpack_require__(77); + + var $String = String; + + module.exports = function (argument) { + if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); + return $String(argument); + }; + + + /***/ }), /* 77 */ - /***/ (function (module, exports, __webpack_require__) { - - var bind = __webpack_require__(78); - var IndexedObject = __webpack_require__(12); - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var arraySpeciesCreate = __webpack_require__(71); - - // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation - // 0 -> Array#forEach - // https://tc39.github.io/ecma262/#sec-array.prototype.foreach - // 1 -> Array#map - // https://tc39.github.io/ecma262/#sec-array.prototype.map - // 2 -> Array#filter - // https://tc39.github.io/ecma262/#sec-array.prototype.filter - // 3 -> Array#some - // https://tc39.github.io/ecma262/#sec-array.prototype.some - // 4 -> Array#every - // https://tc39.github.io/ecma262/#sec-array.prototype.every - // 5 -> Array#find - // https://tc39.github.io/ecma262/#sec-array.prototype.find - // 6 -> Array#findIndex - // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex - module.exports = function (TYPE, specificCreate) { - var IS_MAP = TYPE == 1; - var IS_FILTER = TYPE == 2; - var IS_SOME = TYPE == 3; - var IS_EVERY = TYPE == 4; - var IS_FIND_INDEX = TYPE == 6; - var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; - var create = specificCreate || arraySpeciesCreate; - return function ($this, callbackfn, that) { - var O = toObject($this); - var self = IndexedObject(O); - var boundFunction = bind(callbackfn, that, 3); - var length = toLength(self.length); - var index = 0; - var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; - var value, result; - for (; length > index; index++) if (NO_HOLES || index in self) { - value = self[index]; - result = boundFunction(value, index, O); - if (TYPE) { - if (IS_MAP) target[index] = result; // map - else if (result) switch (TYPE) { - case 3: return true; // some - case 5: return value; // find - case 6: return index; // findIndex - case 2: target.push(value); // filter - } else if (IS_EVERY) return false; // every - } - } - return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; - }; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var TO_STRING_TAG_SUPPORT = __webpack_require__(78); + var isCallable = __webpack_require__(20); + var classofRaw = __webpack_require__(14); + var wellKnownSymbol = __webpack_require__(32); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var $Object = Object; + + // ES3 wrong here + var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; + + // fallback for IE11 Script Access Denied error + var tryGet = function (it, key) { + try { + return it[key]; + } catch (error) { /* empty */ } + }; + + // getting tag from ES6+ `Object.prototype.toString` + module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { + var O, tag, result; + return it === undefined ? 'Undefined' : it === null ? 'Null' + // @@toStringTag case + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag + // builtinTag case + : CORRECT_ARGUMENTS ? classofRaw(O) + // ES3 arguments fallback + : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; + }; + + + /***/ }), /* 78 */ - /***/ (function (module, exports, __webpack_require__) { - - var aFunction = __webpack_require__(79); - - // optional / simple context binding - module.exports = function (fn, that, length) { - aFunction(fn); - if (that === undefined) return fn; - switch (length) { - case 0: return function () { - return fn.call(that); - }; - case 1: return function (a) { - return fn.call(that, a); - }; - case 2: return function (a, b) { - return fn.call(that, a, b); - }; - case 3: return function (a, b, c) { - return fn.call(that, a, b, c); - }; - } - return function (/* ...args */) { - return fn.apply(that, arguments); - }; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var wellKnownSymbol = __webpack_require__(32); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var test = {}; + + test[TO_STRING_TAG] = 'z'; + + module.exports = String(test) === '[object z]'; + + + /***/ }), /* 79 */ - /***/ (function (module, exports) { - - module.exports = function (it) { - if (typeof it != 'function') { - throw TypeError(String(it) + ' is not a function'); - } return it; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isObject = __webpack_require__(19); + var createNonEnumerableProperty = __webpack_require__(42); + + // `InstallErrorCause` abstract operation + // https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause + module.exports = function (O, options) { + if (isObject(options) && 'cause' in options) { + createNonEnumerableProperty(O, 'cause', options.cause); + } + }; + + + /***/ }), /* 80 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var fails = __webpack_require__(5); - - module.exports = function (METHOD_NAME, argument) { - var method = [][METHOD_NAME]; - return !method || !fails(function () { - // eslint-disable-next-line no-useless-call - method.call(null, argument || function () { throw Error(); }, 1); - }); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var createNonEnumerableProperty = __webpack_require__(42); + var clearErrorStack = __webpack_require__(81); + var ERROR_STACK_INSTALLABLE = __webpack_require__(82); + + // non-standard V8 + var captureStackTrace = Error.captureStackTrace; + + module.exports = function (error, C, stack, dropEntries) { + if (ERROR_STACK_INSTALLABLE) { + if (captureStackTrace) captureStackTrace(error, C); + else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries)); + } + }; + + + /***/ }), /* 81 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Array.prototype.fill` method - // https://tc39.github.io/ecma262/#sec-array.prototype.fill - __webpack_require__(7)({ target: 'Array', proto: true }, { fill: __webpack_require__(82) }); - - // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables - __webpack_require__(75)('fill'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + var $Error = Error; + var replace = uncurryThis(''.replace); + + var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd'); + // eslint-disable-next-line redos/no-vulnerable -- safe + var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; + var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); + + module.exports = function (stack, dropEntries) { + if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) { + while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); + } return stack; + }; + + + /***/ }), /* 82 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toObject = __webpack_require__(69); - var toAbsoluteIndex = __webpack_require__(38); - var toLength = __webpack_require__(36); - - // `Array.prototype.fill` method implementation - // https://tc39.github.io/ecma262/#sec-array.prototype.fill - module.exports = function fill(value /* , start = 0, end = @length */) { - var O = toObject(this); - var length = toLength(O.length); - var argumentsLength = arguments.length; - var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length); - var end = argumentsLength > 2 ? arguments[2] : undefined; - var endPos = end === undefined ? length : toAbsoluteIndex(end, length); - while (endPos > index) O[index++] = value; - return O; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + var createPropertyDescriptor = __webpack_require__(10); + + module.exports = !fails(function () { + var error = new Error('a'); + if (!('stack' in error)) return true; + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7)); + return error.stack !== 7; + }); + + + /***/ }), /* 83 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalFilter = __webpack_require__(77)(2); - - var SPECIES_SUPPORT = __webpack_require__(72)('filter'); - - // `Array.prototype.filter` method - // https://tc39.github.io/ecma262/#sec-array.prototype.filter - // with adding support of @@species - __webpack_require__(7)({ target: 'Array', proto: true, forced: !SPECIES_SUPPORT }, { - filter: function filter(callbackfn /* , thisArg */) { - return internalFilter(this, callbackfn, arguments[1]); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove this module from `core-js@4` since it's replaced to module below + __webpack_require__(84); + + + /***/ }), /* 84 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalFind = __webpack_require__(77)(5); - var FIND = 'find'; - var SKIPS_HOLES = true; - - // Shouldn't skip holes - if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; }); - - // `Array.prototype.find` method - // https://tc39.github.io/ecma262/#sec-array.prototype.find - __webpack_require__(7)({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { - find: function find(callbackfn /* , that = undefined */) { - return internalFind(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables - __webpack_require__(75)(FIND); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isPrototypeOf = __webpack_require__(23); + var getPrototypeOf = __webpack_require__(85); + var setPrototypeOf = __webpack_require__(69); + var copyConstructorProperties = __webpack_require__(54); + var create = __webpack_require__(87); + var createNonEnumerableProperty = __webpack_require__(42); + var createPropertyDescriptor = __webpack_require__(10); + var installErrorCause = __webpack_require__(79); + var installErrorStack = __webpack_require__(80); + var iterate = __webpack_require__(91); + var normalizeStringArgument = __webpack_require__(75); + var wellKnownSymbol = __webpack_require__(32); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var $Error = Error; + var push = [].push; + + var $AggregateError = function AggregateError(errors, message /* , options */) { + var isInstance = isPrototypeOf(AggregateErrorPrototype, this); + var that; + if (setPrototypeOf) { + that = setPrototypeOf(new $Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype); + } else { + that = isInstance ? this : create(AggregateErrorPrototype); + createNonEnumerableProperty(that, TO_STRING_TAG, 'Error'); + } + if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message)); + installErrorStack(that, $AggregateError, that.stack, 1); + if (arguments.length > 2) installErrorCause(that, arguments[2]); + var errorsArray = []; + iterate(errors, push, { that: errorsArray }); + createNonEnumerableProperty(that, 'errors', errorsArray); + return that; + }; + + if (setPrototypeOf) setPrototypeOf($AggregateError, $Error); + else copyConstructorProperties($AggregateError, $Error, { name: true }); + + var AggregateErrorPrototype = $AggregateError.prototype = create($Error.prototype, { + constructor: createPropertyDescriptor(1, $AggregateError), + message: createPropertyDescriptor(1, ''), + name: createPropertyDescriptor(1, 'AggregateError') + }); + + // `AggregateError` constructor + // https://tc39.es/ecma262/#sec-aggregate-error-constructor + $({ global: true, constructor: true, arity: 2 }, { + AggregateError: $AggregateError + }); + + + /***/ }), /* 85 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalFindIndex = __webpack_require__(77)(6); - var FIND_INDEX = 'findIndex'; - var SKIPS_HOLES = true; - - // Shouldn't skip holes - if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; }); - - // `Array.prototype.findIndex` method - // https://tc39.github.io/ecma262/#sec-array.prototype.findindex - __webpack_require__(7)({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { - findIndex: function findIndex(callbackfn /* , that = undefined */) { - return internalFindIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables - __webpack_require__(75)(FIND_INDEX); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var hasOwn = __webpack_require__(37); + var isCallable = __webpack_require__(20); + var toObject = __webpack_require__(38); + var sharedKey = __webpack_require__(52); + var CORRECT_PROTOTYPE_GETTER = __webpack_require__(86); + + var IE_PROTO = sharedKey('IE_PROTO'); + var $Object = Object; + var ObjectPrototype = $Object.prototype; + + // `Object.getPrototypeOf` method + // https://tc39.es/ecma262/#sec-object.getprototypeof + // eslint-disable-next-line es/no-object-getprototypeof -- safe + module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { + var object = toObject(O); + if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; + var constructor = object.constructor; + if (isCallable(constructor) && object instanceof constructor) { + return constructor.prototype; + } return object instanceof $Object ? ObjectPrototype : null; + }; + + + /***/ }), /* 86 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var flattenIntoArray = __webpack_require__(87); - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var toInteger = __webpack_require__(37); - var arraySpeciesCreate = __webpack_require__(71); - - // `Array.prototype.flat` method - // https://github.com/tc39/proposal-flatMap - __webpack_require__(7)({ target: 'Array', proto: true }, { - flat: function flat(/* depthArg = 1 */) { - var depthArg = arguments[0]; - var O = toObject(this); - var sourceLen = toLength(O.length); - var A = arraySpeciesCreate(O, 0); - A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg)); - return A; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + + module.exports = !fails(function () { + function F() { /* empty */ } + F.prototype.constructor = null; + // eslint-disable-next-line es/no-object-getprototypeof -- required for testing + return Object.getPrototypeOf(new F()) !== F.prototype; + }); + + + /***/ }), /* 87 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var isArray = __webpack_require__(50); - var toLength = __webpack_require__(36); - var bind = __webpack_require__(78); - - // `FlattenIntoArray` abstract operation - // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray - var flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) { - var targetIndex = start; - var sourceIndex = 0; - var mapFn = mapper ? bind(mapper, thisArg, 3) : false; - var element; - - while (sourceIndex < sourceLen) { - if (sourceIndex in source) { - element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; - - if (depth > 0 && isArray(element)) { - targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1; - } else { - if (targetIndex >= 0x1fffffffffffff) throw TypeError(); - target[targetIndex] = element; - } - - targetIndex++; - } - sourceIndex++; - } - return targetIndex; - }; - - module.exports = flattenIntoArray; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* global ActiveXObject -- old IE, WSH */ + var anObject = __webpack_require__(45); + var definePropertiesModule = __webpack_require__(88); + var enumBugKeys = __webpack_require__(64); + var hiddenKeys = __webpack_require__(53); + var html = __webpack_require__(90); + var documentCreateElement = __webpack_require__(41); + var sharedKey = __webpack_require__(52); + + var GT = '>'; + var LT = '<'; + var PROTOTYPE = 'prototype'; + var SCRIPT = 'script'; + var IE_PROTO = sharedKey('IE_PROTO'); + + var EmptyConstructor = function () { /* empty */ }; + + var scriptTag = function (content) { + return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; + }; + + // Create object with fake `null` prototype: use ActiveX Object with cleared prototype + var NullProtoObjectViaActiveX = function (activeXDocument) { + activeXDocument.write(scriptTag('')); + activeXDocument.close(); + var temp = activeXDocument.parentWindow.Object; + activeXDocument = null; // avoid memory leak + return temp; + }; + + // Create object with fake `null` prototype: use iframe Object with cleared prototype + var NullProtoObjectViaIFrame = function () { + // Thrash, waste and sodomy: IE GC bug + var iframe = documentCreateElement('iframe'); + var JS = 'java' + SCRIPT + ':'; + var iframeDocument; + iframe.style.display = 'none'; + html.appendChild(iframe); + // https://github.com/zloirock/core-js/issues/475 + iframe.src = String(JS); + iframeDocument = iframe.contentWindow.document; + iframeDocument.open(); + iframeDocument.write(scriptTag('document.F=Object')); + iframeDocument.close(); + return iframeDocument.F; + }; + + // Check for document.domain and active x support + // No need to use active x approach when document.domain is not set + // see https://github.com/es-shims/es5-shim/issues/150 + // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 + // avoid IE GC bug + var activeXDocument; + var NullProtoObject = function () { + try { + activeXDocument = new ActiveXObject('htmlfile'); + } catch (error) { /* ignore */ } + NullProtoObject = typeof document != 'undefined' + ? document.domain && activeXDocument + ? NullProtoObjectViaActiveX(activeXDocument) // old IE + : NullProtoObjectViaIFrame() + : NullProtoObjectViaActiveX(activeXDocument); // WSH + var length = enumBugKeys.length; + while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; + return NullProtoObject(); + }; + + hiddenKeys[IE_PROTO] = true; + + // `Object.create` method + // https://tc39.es/ecma262/#sec-object.create + // eslint-disable-next-line es/no-object-create -- safe + module.exports = Object.create || function create(O, Properties) { + var result; + if (O !== null) { + EmptyConstructor[PROTOTYPE] = anObject(O); + result = new EmptyConstructor(); + EmptyConstructor[PROTOTYPE] = null; + // add "__proto__" for Object.getPrototypeOf polyfill + result[IE_PROTO] = O; + } else result = NullProtoObject(); + return Properties === undefined ? result : definePropertiesModule.f(result, Properties); + }; + + + /***/ }), /* 88 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var flattenIntoArray = __webpack_require__(87); - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var aFunction = __webpack_require__(79); - var arraySpeciesCreate = __webpack_require__(71); - - // `Array.prototype.flatMap` method - // https://github.com/tc39/proposal-flatMap - __webpack_require__(7)({ target: 'Array', proto: true }, { - flatMap: function flatMap(callbackfn /* , thisArg */) { - var O = toObject(this); - var sourceLen = toLength(O.length); - var A; - aFunction(callbackfn); - A = arraySpeciesCreate(O, 0); - A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]); - return A; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(44); + var definePropertyModule = __webpack_require__(43); + var anObject = __webpack_require__(45); + var toIndexedObject = __webpack_require__(11); + var objectKeys = __webpack_require__(89); + + // `Object.defineProperties` method + // https://tc39.es/ecma262/#sec-object.defineproperties + // eslint-disable-next-line es/no-object-defineproperties -- safe + exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { + anObject(O); + var props = toIndexedObject(Properties); + var keys = objectKeys(Properties); + var length = keys.length; + var index = 0; + var key; + while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); + return O; + }; + + + /***/ }), /* 89 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var forEach = __webpack_require__(90); - - // `Array.prototype.forEach` method - // https://tc39.github.io/ecma262/#sec-array.prototype.foreach - __webpack_require__(7)({ target: 'Array', proto: true, forced: [].forEach != forEach }, { forEach: forEach }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var internalObjectKeys = __webpack_require__(57); + var enumBugKeys = __webpack_require__(64); + + // `Object.keys` method + // https://tc39.es/ecma262/#sec-object.keys + // eslint-disable-next-line es/no-object-keys -- safe + module.exports = Object.keys || function keys(O) { + return internalObjectKeys(O, enumBugKeys); + }; + + + /***/ }), /* 90 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var nativeForEach = [].forEach; - var internalForEach = __webpack_require__(77)(0); - - var SLOPPY_METHOD = __webpack_require__(80)('forEach'); - - // `Array.prototype.forEach` method implementation - // https://tc39.github.io/ecma262/#sec-array.prototype.foreach - module.exports = SLOPPY_METHOD ? function forEach(callbackfn /* , thisArg */) { - return internalForEach(this, callbackfn, arguments[1]); - } : nativeForEach; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + + module.exports = getBuiltIn('document', 'documentElement'); + + + /***/ }), /* 91 */ - /***/ (function (module, exports, __webpack_require__) { - - var INCORRECT_ITERATION = !__webpack_require__(92)(function (iterable) { - Array.from(iterable); - }); - - // `Array.from` method - // https://tc39.github.io/ecma262/#sec-array.from - __webpack_require__(7)({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, { - from: __webpack_require__(93) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var bind = __webpack_require__(92); + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var tryToString = __webpack_require__(30); + var isArrayIteratorMethod = __webpack_require__(94); + var lengthOfArrayLike = __webpack_require__(62); + var isPrototypeOf = __webpack_require__(23); + var getIterator = __webpack_require__(96); + var getIteratorMethod = __webpack_require__(97); + var iteratorClose = __webpack_require__(98); + + var $TypeError = TypeError; + + var Result = function (stopped, result) { + this.stopped = stopped; + this.result = result; + }; + + var ResultPrototype = Result.prototype; + + module.exports = function (iterable, unboundFunction, options) { + var that = options && options.that; + var AS_ENTRIES = !!(options && options.AS_ENTRIES); + var IS_RECORD = !!(options && options.IS_RECORD); + var IS_ITERATOR = !!(options && options.IS_ITERATOR); + var INTERRUPTED = !!(options && options.INTERRUPTED); + var fn = bind(unboundFunction, that); + var iterator, iterFn, index, length, result, next, step; + + var stop = function (condition) { + if (iterator) iteratorClose(iterator, 'normal', condition); + return new Result(true, condition); + }; + + var callFn = function (value) { + if (AS_ENTRIES) { + anObject(value); + return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); + } return INTERRUPTED ? fn(value, stop) : fn(value); + }; + + if (IS_RECORD) { + iterator = iterable.iterator; + } else if (IS_ITERATOR) { + iterator = iterable; + } else { + iterFn = getIteratorMethod(iterable); + if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable'); + // optimisation for array iterators + if (isArrayIteratorMethod(iterFn)) { + for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { + result = callFn(iterable[index]); + if (result && isPrototypeOf(ResultPrototype, result)) return result; + } return new Result(false); + } + iterator = getIterator(iterable, iterFn); + } + + next = IS_RECORD ? iterable.next : iterator.next; + while (!(step = call(next, iterator)).done) { + try { + result = callFn(step.value); + } catch (error) { + iteratorClose(iterator, 'throw', error); + } + if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result; + } return new Result(false); + }; + + + /***/ }), /* 92 */ - /***/ (function (module, exports, __webpack_require__) { - - var ITERATOR = __webpack_require__(43)('iterator'); - var SAFE_CLOSING = false; - - try { - var called = 0; - var iteratorWithReturn = { - next: function () { - return { done: !!called++ }; - }, - 'return': function () { - SAFE_CLOSING = true; - } - }; - iteratorWithReturn[ITERATOR] = function () { - return this; - }; - // eslint-disable-next-line no-throw-literal - Array.from(iteratorWithReturn, function () { throw 2; }); - } catch (e) { /* empty */ } - - module.exports = function (exec, SKIP_CLOSING) { - if (!SKIP_CLOSING && !SAFE_CLOSING) return false; - var ITERATION_SUPPORT = false; - try { - var object = {}; - object[ITERATOR] = function () { - return { - next: function () { - return { done: ITERATION_SUPPORT = true }; - } - }; - }; - exec(object); - } catch (e) { /* empty */ } - return ITERATION_SUPPORT; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(93); + var aCallable = __webpack_require__(29); + var NATIVE_BIND = __webpack_require__(8); + + var bind = uncurryThis(uncurryThis.bind); + + // optional / simple context binding + module.exports = function (fn, that) { + aCallable(fn); + return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { + return fn.apply(that, arguments); + }; + }; + + + /***/ }), /* 93 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var bind = __webpack_require__(78); - var toObject = __webpack_require__(69); - var callWithSafeIterationClosing = __webpack_require__(94); - var isArrayIteratorMethod = __webpack_require__(95); - var toLength = __webpack_require__(36); - var createProperty = __webpack_require__(70); - var getIteratorMethod = __webpack_require__(97); - - // `Array.from` method - // https://tc39.github.io/ecma262/#sec-array.from - module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { - var O = toObject(arrayLike); - var C = typeof this == 'function' ? this : Array; - var argumentsLength = arguments.length; - var mapfn = argumentsLength > 1 ? arguments[1] : undefined; - var mapping = mapfn !== undefined; - var index = 0; - var iteratorMethod = getIteratorMethod(O); - var length, result, step, iterator; - if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2); - // if the target is not iterable or it's an array with the default iterator - use a simple case - if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) { - iterator = iteratorMethod.call(O); - result = new C(); - for (; !(step = iterator.next()).done; index++) { - createProperty(result, index, mapping - ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) - : step.value - ); - } - } else { - length = toLength(O.length); - result = new C(length); - for (; length > index; index++) { - createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); - } - } - result.length = index; - return result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classofRaw = __webpack_require__(14); + var uncurryThis = __webpack_require__(13); + + module.exports = function (fn) { + // Nashorn bug: + // https://github.com/zloirock/core-js/issues/1128 + // https://github.com/zloirock/core-js/issues/1130 + if (classofRaw(fn) === 'Function') return uncurryThis(fn); + }; + + + /***/ }), /* 94 */ - /***/ (function (module, exports, __webpack_require__) { - - var anObject = __webpack_require__(21); - - // call something on iterator step with safe closing on error - module.exports = function (iterator, fn, value, ENTRIES) { - try { - return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); - // 7.4.6 IteratorClose(iterator, completion) - } catch (e) { - var returnMethod = iterator['return']; - if (returnMethod !== undefined) anObject(returnMethod.call(iterator)); - throw e; - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var wellKnownSymbol = __webpack_require__(32); + var Iterators = __webpack_require__(95); + + var ITERATOR = wellKnownSymbol('iterator'); + var ArrayPrototype = Array.prototype; + + // check on default Array iterator + module.exports = function (it) { + return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); + }; + + + /***/ }), /* 95 */ - /***/ (function (module, exports, __webpack_require__) { - - // check on default Array iterator - var Iterators = __webpack_require__(96); - var ITERATOR = __webpack_require__(43)('iterator'); - var ArrayPrototype = Array.prototype; - - module.exports = function (it) { - return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = {}; + + + /***/ }), /* 96 */ - /***/ (function (module, exports) { - - module.exports = {}; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var tryToString = __webpack_require__(30); + var getIteratorMethod = __webpack_require__(97); + + var $TypeError = TypeError; + + module.exports = function (argument, usingIterator) { + var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; + if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); + throw new $TypeError(tryToString(argument) + ' is not iterable'); + }; + + + /***/ }), /* 97 */ - /***/ (function (module, exports, __webpack_require__) { - - var classof = __webpack_require__(98); - var ITERATOR = __webpack_require__(43)('iterator'); - var Iterators = __webpack_require__(96); - - module.exports = function (it) { - if (it != undefined) return it[ITERATOR] - || it['@@iterator'] - || Iterators[classof(it)]; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classof = __webpack_require__(77); + var getMethod = __webpack_require__(28); + var isNullOrUndefined = __webpack_require__(16); + var Iterators = __webpack_require__(95); + var wellKnownSymbol = __webpack_require__(32); + + var ITERATOR = wellKnownSymbol('iterator'); + + module.exports = function (it) { + if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) + || getMethod(it, '@@iterator') + || Iterators[classof(it)]; + }; + + + /***/ }), /* 98 */ - /***/ (function (module, exports, __webpack_require__) { - - var classofRaw = __webpack_require__(13); - var TO_STRING_TAG = __webpack_require__(43)('toStringTag'); - // ES3 wrong here - var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; - - // fallback for IE11 Script Access Denied error - var tryGet = function (it, key) { - try { - return it[key]; - } catch (e) { /* empty */ } - }; - - // getting tag from ES6+ `Object.prototype.toString` - module.exports = function (it) { - var O, tag, result; - return it === undefined ? 'Undefined' : it === null ? 'Null' - // @@toStringTag case - : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag - // builtinTag case - : CORRECT_ARGUMENTS ? classofRaw(O) - // ES3 arguments fallback - : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var getMethod = __webpack_require__(28); + + module.exports = function (iterator, kind, value) { + var innerResult, innerError; + anObject(iterator); + try { + innerResult = getMethod(iterator, 'return'); + if (!innerResult) { + if (kind === 'throw') throw value; + return value; + } + innerResult = call(innerResult, iterator); + } catch (error) { + innerError = true; + innerResult = error; + } + if (kind === 'throw') throw value; + if (innerError) throw innerResult; + anObject(innerResult); + return value; + }; + + + /***/ }), /* 99 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalIncludes = __webpack_require__(35)(true); - - // `Array.prototype.includes` method - // https://tc39.github.io/ecma262/#sec-array.prototype.includes - __webpack_require__(7)({ target: 'Array', proto: true }, { - includes: function includes(el /* , fromIndex = 0 */) { - return internalIncludes(this, el, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables - __webpack_require__(75)('includes'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var getBuiltIn = __webpack_require__(22); + var apply = __webpack_require__(67); + var fails = __webpack_require__(6); + var wrapErrorConstructorWithCause = __webpack_require__(68); + + var AGGREGATE_ERROR = 'AggregateError'; + var $AggregateError = getBuiltIn(AGGREGATE_ERROR); + + var FORCED = !fails(function () { + return $AggregateError([1]).errors[0] !== 1; + }) && fails(function () { + return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7; + }); + + // https://tc39.es/ecma262/#sec-aggregate-error + $({ global: true, constructor: true, arity: 2, forced: FORCED }, { + AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) { + // eslint-disable-next-line no-unused-vars -- required for functions `.length` + return function AggregateError(errors, message) { return apply(init, this, arguments); }; + }, FORCED, true) + }); + + + /***/ }), /* 100 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalIndexOf = __webpack_require__(35)(false); - var nativeIndexOf = [].indexOf; - - var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0; - var SLOPPY_METHOD = __webpack_require__(80)('indexOf'); - - // `Array.prototype.indexOf` method - // https://tc39.github.io/ecma262/#sec-array.prototype.indexof - __webpack_require__(7)({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || SLOPPY_METHOD }, { - indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { - return NEGATIVE_ZERO - // convert -0 to +0 - ? nativeIndexOf.apply(this, arguments) || 0 - : internalIndexOf(this, searchElement, arguments[1]); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var toObject = __webpack_require__(38); + var lengthOfArrayLike = __webpack_require__(62); + var toIntegerOrInfinity = __webpack_require__(60); + var addToUnscopables = __webpack_require__(101); + + // `Array.prototype.at` method + // https://tc39.es/ecma262/#sec-array.prototype.at + $({ target: 'Array', proto: true }, { + at: function at(index) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : O[k]; + } + }); + + addToUnscopables('at'); + + + /***/ }), /* 101 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Array.isArray` method - // https://tc39.github.io/ecma262/#sec-array.isarray - __webpack_require__(7)({ target: 'Array', stat: true }, { isArray: __webpack_require__(50) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var wellKnownSymbol = __webpack_require__(32); + var create = __webpack_require__(87); + var defineProperty = __webpack_require__(43).f; + + var UNSCOPABLES = wellKnownSymbol('unscopables'); + var ArrayPrototype = Array.prototype; + + // Array.prototype[@@unscopables] + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + if (ArrayPrototype[UNSCOPABLES] === undefined) { + defineProperty(ArrayPrototype, UNSCOPABLES, { + configurable: true, + value: create(null) + }); + } + + // add a key to Array.prototype[@@unscopables] + module.exports = function (key) { + ArrayPrototype[UNSCOPABLES][key] = true; + }; + + + /***/ }), /* 102 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toIndexedObject = __webpack_require__(11); - var addToUnscopables = __webpack_require__(75); - var Iterators = __webpack_require__(96); - var InternalStateModule = __webpack_require__(26); - var defineIterator = __webpack_require__(103); - var ARRAY_ITERATOR = 'Array Iterator'; - var setInternalState = InternalStateModule.set; - var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR); - - // `Array.prototype.entries` method - // https://tc39.github.io/ecma262/#sec-array.prototype.entries - // `Array.prototype.keys` method - // https://tc39.github.io/ecma262/#sec-array.prototype.keys - // `Array.prototype.values` method - // https://tc39.github.io/ecma262/#sec-array.prototype.values - // `Array.prototype[@@iterator]` method - // https://tc39.github.io/ecma262/#sec-array.prototype-@@iterator - // `CreateArrayIterator` internal method - // https://tc39.github.io/ecma262/#sec-createarrayiterator - module.exports = defineIterator(Array, 'Array', function (iterated, kind) { - setInternalState(this, { - type: ARRAY_ITERATOR, - target: toIndexedObject(iterated), // target - index: 0, // next index - kind: kind // kind - }); - // `%ArrayIteratorPrototype%.next` method - // https://tc39.github.io/ecma262/#sec-%arrayiteratorprototype%.next - }, function () { - var state = getInternalState(this); - var target = state.target; - var kind = state.kind; - var index = state.index++; - if (!target || index >= target.length) { - state.target = undefined; - return { value: undefined, done: true }; - } - if (kind == 'keys') return { value: index, done: false }; - if (kind == 'values') return { value: target[index], done: false }; - return { value: [index, target[index]], done: false }; - }, 'values'); - - // argumentsList[@@iterator] is %ArrayProto_values% - // https://tc39.github.io/ecma262/#sec-createunmappedargumentsobject - // https://tc39.github.io/ecma262/#sec-createmappedargumentsobject - Iterators.Arguments = Iterators.Array; - - // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables - addToUnscopables('keys'); - addToUnscopables('values'); - addToUnscopables('entries'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $findLast = __webpack_require__(103).findLast; + var addToUnscopables = __webpack_require__(101); + + // `Array.prototype.findLast` method + // https://tc39.es/ecma262/#sec-array.prototype.findlast + $({ target: 'Array', proto: true }, { + findLast: function findLast(callbackfn /* , that = undefined */) { + return $findLast(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + addToUnscopables('findLast'); + + + /***/ }), /* 103 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var $export = __webpack_require__(7); - var createIteratorConstructor = __webpack_require__(104); - var getPrototypeOf = __webpack_require__(106); - var setPrototypeOf = __webpack_require__(108); - var setToStringTag = __webpack_require__(42); - var hide = __webpack_require__(19); - var redefine = __webpack_require__(22); - var IS_PURE = __webpack_require__(6); - var ITERATOR = __webpack_require__(43)('iterator'); - var Iterators = __webpack_require__(96); - var IteratorsCore = __webpack_require__(105); - var IteratorPrototype = IteratorsCore.IteratorPrototype; - var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; - var KEYS = 'keys'; - var VALUES = 'values'; - var ENTRIES = 'entries'; - - var returnThis = function () { return this; }; - - module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { - createIteratorConstructor(IteratorConstructor, NAME, next); - - var getIterationMethod = function (KIND) { - if (KIND === DEFAULT && defaultIterator) return defaultIterator; - if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND]; - switch (KIND) { - case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; - case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; - case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; - } return function () { return new IteratorConstructor(this); }; - }; - - var TO_STRING_TAG = NAME + ' Iterator'; - var INCORRECT_VALUES_NAME = false; - var IterablePrototype = Iterable.prototype; - var nativeIterator = IterablePrototype[ITERATOR] - || IterablePrototype['@@iterator'] - || DEFAULT && IterablePrototype[DEFAULT]; - var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); - var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; - var CurrentIteratorPrototype, methods, KEY; - - // fix native - if (anyNativeIterator) { - CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); - if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { - if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { - if (setPrototypeOf) { - setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); - } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') { - hide(CurrentIteratorPrototype, ITERATOR, returnThis); - } - } - // Set @@toStringTag to native iterators - setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); - if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; - } - } - - // fix Array#{values, @@iterator}.name in V8 / FF - if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { - INCORRECT_VALUES_NAME = true; - defaultIterator = function values() { return nativeIterator.call(this); }; - } - - // define iterator - if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { - hide(IterablePrototype, ITERATOR, defaultIterator); - } - Iterators[NAME] = defaultIterator; - - // export additional methods - if (DEFAULT) { - methods = { - values: getIterationMethod(VALUES), - keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), - entries: getIterationMethod(ENTRIES) - }; - if (FORCED) for (KEY in methods) { - if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { - redefine(IterablePrototype, KEY, methods[KEY]); - } - } else $export({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); - } - - return methods; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var bind = __webpack_require__(92); + var IndexedObject = __webpack_require__(12); + var toObject = __webpack_require__(38); + var lengthOfArrayLike = __webpack_require__(62); + + // `Array.prototype.{ findLast, findLastIndex }` methods implementation + var createMethod = function (TYPE) { + var IS_FIND_LAST_INDEX = TYPE === 1; + return function ($this, callbackfn, that) { + var O = toObject($this); + var self = IndexedObject(O); + var index = lengthOfArrayLike(self); + var boundFunction = bind(callbackfn, that); + var value, result; + while (index-- > 0) { + value = self[index]; + result = boundFunction(value, index, O); + if (result) switch (TYPE) { + case 0: return value; // findLast + case 1: return index; // findLastIndex + } + } + return IS_FIND_LAST_INDEX ? -1 : undefined; + }; + }; + + module.exports = { + // `Array.prototype.findLast` method + // https://github.com/tc39/proposal-array-find-from-last + findLast: createMethod(0), + // `Array.prototype.findLastIndex` method + // https://github.com/tc39/proposal-array-find-from-last + findLastIndex: createMethod(1) + }; + + + /***/ }), /* 104 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var IteratorPrototype = __webpack_require__(105).IteratorPrototype; - var create = __webpack_require__(51); - var createPropertyDescriptor = __webpack_require__(10); - var setToStringTag = __webpack_require__(42); - var Iterators = __webpack_require__(96); - - var returnThis = function () { return this; }; - - module.exports = function (IteratorConstructor, NAME, next) { - var TO_STRING_TAG = NAME + ' Iterator'; - IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) }); - setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); - Iterators[TO_STRING_TAG] = returnThis; - return IteratorConstructor; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $findLastIndex = __webpack_require__(103).findLastIndex; + var addToUnscopables = __webpack_require__(101); + + // `Array.prototype.findLastIndex` method + // https://tc39.es/ecma262/#sec-array.prototype.findlastindex + $({ target: 'Array', proto: true }, { + findLastIndex: function findLastIndex(callbackfn /* , that = undefined */) { + return $findLastIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + addToUnscopables('findLastIndex'); + + + /***/ }), /* 105 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getPrototypeOf = __webpack_require__(106); - var hide = __webpack_require__(19); - var has = __webpack_require__(3); - var IS_PURE = __webpack_require__(6); - var ITERATOR = __webpack_require__(43)('iterator'); - var BUGGY_SAFARI_ITERATORS = false; - - var returnThis = function () { return this; }; - - // `%IteratorPrototype%` object - // https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object - var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; - - if ([].keys) { - arrayIterator = [].keys(); - // Safari 8 has buggy iterators w/o `next` - if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; - else { - PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; - } - } - - if (IteratorPrototype == undefined) IteratorPrototype = {}; - - // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() - if (!IS_PURE && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis); - - module.exports = { - IteratorPrototype: IteratorPrototype, - BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var toObject = __webpack_require__(38); + var lengthOfArrayLike = __webpack_require__(62); + var setArrayLength = __webpack_require__(106); + var doesNotExceedSafeInteger = __webpack_require__(108); + var fails = __webpack_require__(6); + + var INCORRECT_TO_LENGTH = fails(function () { + return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; + }); + + // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError + // https://bugs.chromium.org/p/v8/issues/detail?id=12681 + var properErrorOnNonWritableLength = function () { + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).push(); + } catch (error) { + return error instanceof TypeError; + } + }; + + var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); + + // `Array.prototype.push` method + // https://tc39.es/ecma262/#sec-array.prototype.push + $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + push: function push(item) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var argCount = arguments.length; + doesNotExceedSafeInteger(len + argCount); + for (var i = 0; i < argCount; i++) { + O[len] = arguments[i]; + len++; + } + setArrayLength(O, len); + return len; + } + }); + + + /***/ }), /* 106 */ - /***/ (function (module, exports, __webpack_require__) { - - // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) - var has = __webpack_require__(3); - var toObject = __webpack_require__(69); - var IE_PROTO = __webpack_require__(28)('IE_PROTO'); - var CORRECT_PROTOTYPE_GETTER = __webpack_require__(107); - var ObjectPrototype = Object.prototype; - - module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) { - O = toObject(O); - if (has(O, IE_PROTO)) return O[IE_PROTO]; - if (typeof O.constructor == 'function' && O instanceof O.constructor) { - return O.constructor.prototype; - } return O instanceof Object ? ObjectPrototype : null; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var isArray = __webpack_require__(107); + + var $TypeError = TypeError; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + + // Safari < 13 does not throw an error in this case + var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { + // makes no sense without proper strict mode support + if (this !== undefined) return true; + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).length = 1; + } catch (error) { + return error instanceof TypeError; + } + }(); + + module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { + if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { + throw new $TypeError('Cannot set read only .length'); + } return O.length = length; + } : function (O, length) { + return O.length = length; + }; + + + /***/ }), /* 107 */ - /***/ (function (module, exports, __webpack_require__) { - - module.exports = !__webpack_require__(5)(function () { - function F() { /* empty */ } - F.prototype.constructor = null; - return Object.getPrototypeOf(new F()) !== F.prototype; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classof = __webpack_require__(14); + + // `IsArray` abstract operation + // https://tc39.es/ecma262/#sec-isarray + // eslint-disable-next-line es/no-array-isarray -- safe + module.exports = Array.isArray || function isArray(argument) { + return classof(argument) === 'Array'; + }; + + + /***/ }), /* 108 */ - /***/ (function (module, exports, __webpack_require__) { - - // Works with __proto__ only. Old v8 can't work with null proto objects. - /* eslint-disable no-proto */ - var validateSetPrototypeOfArguments = __webpack_require__(109); - - module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { // eslint-disable-line - var correctSetter = false; - var test = {}; - var setter; - try { - setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; - setter.call(test, []); - correctSetter = test instanceof Array; - } catch (e) { /* empty */ } - return function setPrototypeOf(O, proto) { - validateSetPrototypeOfArguments(O, proto); - if (correctSetter) setter.call(O, proto); - else O.__proto__ = proto; - return O; - }; - }() : undefined); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $TypeError = TypeError; + var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 + + module.exports = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); + return it; + }; + + + /***/ }), /* 109 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var anObject = __webpack_require__(21); - - module.exports = function (O, proto) { - anObject(O); - if (!isObject(proto) && proto !== null) { - throw TypeError("Can't set " + String(proto) + ' as a prototype'); - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var arrayToReversed = __webpack_require__(110); + var toIndexedObject = __webpack_require__(11); + var addToUnscopables = __webpack_require__(101); + + var $Array = Array; + + // `Array.prototype.toReversed` method + // https://tc39.es/ecma262/#sec-array.prototype.toreversed + $({ target: 'Array', proto: true }, { + toReversed: function toReversed() { + return arrayToReversed(toIndexedObject(this), $Array); + } + }); + + addToUnscopables('toReversed'); + + + /***/ }), /* 110 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toIndexedObject = __webpack_require__(11); - var nativeJoin = [].join; - - var ES3_STRINGS = __webpack_require__(12) != Object; - var SLOPPY_METHOD = __webpack_require__(80)('join', ','); - - // `Array.prototype.join` method - // https://tc39.github.io/ecma262/#sec-array.prototype.join - __webpack_require__(7)({ target: 'Array', proto: true, forced: ES3_STRINGS || SLOPPY_METHOD }, { - join: function join(separator) { - return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var lengthOfArrayLike = __webpack_require__(62); + + // https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toReversed + // https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed + module.exports = function (O, C) { + var len = lengthOfArrayLike(O); + var A = new C(len); + var k = 0; + for (; k < len; k++) A[k] = O[len - k - 1]; + return A; + }; + + + /***/ }), /* 111 */ - /***/ (function (module, exports, __webpack_require__) { - - var arrayLastIndexOf = __webpack_require__(112); - - // `Array.prototype.lastIndexOf` method - // https://tc39.github.io/ecma262/#sec-array.prototype.lastindexof - __webpack_require__(7)({ target: 'Array', proto: true, forced: arrayLastIndexOf !== [].lastIndexOf }, { - lastIndexOf: arrayLastIndexOf - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var aCallable = __webpack_require__(29); + var toIndexedObject = __webpack_require__(11); + var arrayFromConstructorAndList = __webpack_require__(112); + var getBuiltInPrototypeMethod = __webpack_require__(113); + var addToUnscopables = __webpack_require__(101); + + var $Array = Array; + var sort = uncurryThis(getBuiltInPrototypeMethod('Array', 'sort')); + + // `Array.prototype.toSorted` method + // https://tc39.es/ecma262/#sec-array.prototype.tosorted + $({ target: 'Array', proto: true }, { + toSorted: function toSorted(compareFn) { + if (compareFn !== undefined) aCallable(compareFn); + var O = toIndexedObject(this); + var A = arrayFromConstructorAndList($Array, O); + return sort(A, compareFn); + } + }); + + addToUnscopables('toSorted'); + + + /***/ }), /* 112 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toIndexedObject = __webpack_require__(11); - var toInteger = __webpack_require__(37); - var toLength = __webpack_require__(36); - var nativeLastIndexOf = [].lastIndexOf; - - var NEGATIVE_ZERO = !!nativeLastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0; - var SLOPPY_METHOD = __webpack_require__(80)('lastIndexOf'); - - // `Array.prototype.lastIndexOf` method implementation - // https://tc39.github.io/ecma262/#sec-array.prototype.lastindexof - module.exports = (NEGATIVE_ZERO || SLOPPY_METHOD) ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { - // convert -0 to +0 - if (NEGATIVE_ZERO) return nativeLastIndexOf.apply(this, arguments) || 0; - var O = toIndexedObject(this); - var length = toLength(O.length); - var index = length - 1; - if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1])); - if (index < 0) index = length + index; - for (; index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0; - return -1; - } : nativeLastIndexOf; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var lengthOfArrayLike = __webpack_require__(62); + + module.exports = function (Constructor, list, $length) { + var index = 0; + var length = arguments.length > 2 ? $length : lengthOfArrayLike(list); + var result = new Constructor(length); + while (length > index) result[index] = list[index++]; + return result; + }; + + + /***/ }), /* 113 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalMap = __webpack_require__(77)(1); - - var SPECIES_SUPPORT = __webpack_require__(72)('map'); - - // `Array.prototype.map` method - // https://tc39.github.io/ecma262/#sec-array.prototype.map - // with adding support of @@species - __webpack_require__(7)({ target: 'Array', proto: true, forced: !SPECIES_SUPPORT }, { - map: function map(callbackfn /* , thisArg */) { - return internalMap(this, callbackfn, arguments[1]); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + + module.exports = function (CONSTRUCTOR, METHOD) { + var Constructor = global[CONSTRUCTOR]; + var Prototype = Constructor && Constructor.prototype; + return Prototype && Prototype[METHOD]; + }; + + + /***/ }), /* 114 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createProperty = __webpack_require__(70); - - var ISNT_GENERIC = __webpack_require__(5)(function () { - function F() { /* empty */ } - return !(Array.of.call(F) instanceof F); - }); - - // `Array.of` method - // https://tc39.github.io/ecma262/#sec-array.of - // WebKit Array.of isn't generic - __webpack_require__(7)({ target: 'Array', stat: true, forced: ISNT_GENERIC }, { - of: function of(/* ...args */) { - var index = 0; - var argumentsLength = arguments.length; - var result = new (typeof this == 'function' ? this : Array)(argumentsLength); - while (argumentsLength > index) createProperty(result, index, arguments[index++]); - result.length = argumentsLength; - return result; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var addToUnscopables = __webpack_require__(101); + var doesNotExceedSafeInteger = __webpack_require__(108); + var lengthOfArrayLike = __webpack_require__(62); + var toAbsoluteIndex = __webpack_require__(59); + var toIndexedObject = __webpack_require__(11); + var toIntegerOrInfinity = __webpack_require__(60); + + var $Array = Array; + var max = Math.max; + var min = Math.min; + + // `Array.prototype.toSpliced` method + // https://tc39.es/ecma262/#sec-array.prototype.tospliced + $({ target: 'Array', proto: true }, { + toSpliced: function toSpliced(start, deleteCount /* , ...items */) { + var O = toIndexedObject(this); + var len = lengthOfArrayLike(O); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var k = 0; + var insertCount, actualDeleteCount, newLen, A; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + insertCount = argumentsLength - 2; + actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); + } + newLen = doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); + A = $Array(newLen); + + for (; k < actualStart; k++) A[k] = O[k]; + for (; k < actualStart + insertCount; k++) A[k] = arguments[k - actualStart + 2]; + for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount]; + + return A; + } + }); + + addToUnscopables('toSpliced'); + + + /***/ }), /* 115 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalReduce = __webpack_require__(116); - - var SLOPPY_METHOD = __webpack_require__(80)('reduce'); - - // `Array.prototype.reduce` method - // https://tc39.github.io/ecma262/#sec-array.prototype.reduce - __webpack_require__(7)({ target: 'Array', proto: true, forced: SLOPPY_METHOD }, { - reduce: function reduce(callbackfn /* , initialValue */) { - return internalReduce(this, callbackfn, arguments.length, arguments[1], false); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var arrayWith = __webpack_require__(116); + var toIndexedObject = __webpack_require__(11); + + var $Array = Array; + + // `Array.prototype.with` method + // https://tc39.es/ecma262/#sec-array.prototype.with + $({ target: 'Array', proto: true }, { + 'with': function (index, value) { + return arrayWith(toIndexedObject(this), $Array, index, value); + } + }); + + + /***/ }), /* 116 */ - /***/ (function (module, exports, __webpack_require__) { - - var aFunction = __webpack_require__(79); - var toObject = __webpack_require__(69); - var IndexedObject = __webpack_require__(12); - var toLength = __webpack_require__(36); - - // `Array.prototype.{ reduce, reduceRight }` methods implementation - // https://tc39.github.io/ecma262/#sec-array.prototype.reduce - // https://tc39.github.io/ecma262/#sec-array.prototype.reduceright - module.exports = function (that, callbackfn, argumentsLength, memo, isRight) { - aFunction(callbackfn); - var O = toObject(that); - var self = IndexedObject(O); - var length = toLength(O.length); - var index = isRight ? length - 1 : 0; - var i = isRight ? -1 : 1; - if (argumentsLength < 2) while (true) { - if (index in self) { - memo = self[index]; - index += i; - break; - } - index += i; - if (isRight ? index < 0 : length <= index) { - throw TypeError('Reduce of empty array with no initial value'); - } - } - for (; isRight ? index >= 0 : length > index; index += i) if (index in self) { - memo = callbackfn(memo, self[index], index, O); - } - return memo; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var lengthOfArrayLike = __webpack_require__(62); + var toIntegerOrInfinity = __webpack_require__(60); + + var $RangeError = RangeError; + + // https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with + // https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with + module.exports = function (O, C, index, value) { + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex; + if (actualIndex >= len || actualIndex < 0) throw new $RangeError('Incorrect index'); + var A = new C(len); + var k = 0; + for (; k < len; k++) A[k] = k === actualIndex ? value : O[k]; + return A; + }; + + + /***/ }), /* 117 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalReduceRight = __webpack_require__(116); - - var SLOPPY_METHOD = __webpack_require__(80)('reduceRight'); - - // `Array.prototype.reduceRight` method - // https://tc39.github.io/ecma262/#sec-array.prototype.reduceright - __webpack_require__(7)({ target: 'Array', proto: true, forced: SLOPPY_METHOD }, { - reduceRight: function reduceRight(callbackfn /* , initialValue */) { - return internalReduceRight(this, callbackfn, arguments.length, arguments[1], true); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var defineBuiltInAccessor = __webpack_require__(118); + var isDetached = __webpack_require__(119); + + var ArrayBufferPrototype = ArrayBuffer.prototype; + + if (DESCRIPTORS && !('detached' in ArrayBufferPrototype)) { + defineBuiltInAccessor(ArrayBufferPrototype, 'detached', { + configurable: true, + get: function detached() { + return isDetached(this); + } + }); + } + + + /***/ }), /* 118 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var isArray = __webpack_require__(50); - var nativeReverse = [].reverse; - var test = [1, 2]; - - // `Array.prototype.reverse` method - // https://tc39.github.io/ecma262/#sec-array.prototype.reverse - // fix for Safari 12.0 bug - // https://bugs.webkit.org/show_bug.cgi?id=188794 - __webpack_require__(7)({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, { - reverse: function reverse() { - if (isArray(this)) this.length = this.length; - return nativeReverse.call(this); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var makeBuiltIn = __webpack_require__(47); + var defineProperty = __webpack_require__(43); + + module.exports = function (target, name, descriptor) { + if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); + if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); + return defineProperty.f(target, name, descriptor); + }; + + + /***/ }), /* 119 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var isObject = __webpack_require__(16); - var isArray = __webpack_require__(50); - var toAbsoluteIndex = __webpack_require__(38); - var toLength = __webpack_require__(36); - var toIndexedObject = __webpack_require__(11); - var createProperty = __webpack_require__(70); - var SPECIES = __webpack_require__(43)('species'); - var nativeSlice = [].slice; - var max = Math.max; - - var SPECIES_SUPPORT = __webpack_require__(72)('slice'); - - // `Array.prototype.slice` method - // https://tc39.github.io/ecma262/#sec-array.prototype.slice - // fallback for not array-like ES3 strings and DOM objects - __webpack_require__(7)({ target: 'Array', proto: true, forced: !SPECIES_SUPPORT }, { - slice: function slice(start, end) { - var O = toIndexedObject(this); - var length = toLength(O.length); - var k = toAbsoluteIndex(start, length); - var fin = toAbsoluteIndex(end === undefined ? length : end, length); - // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible - var Constructor, result, n; - if (isArray(O)) { - Constructor = O.constructor; - // cross-realm fallback - if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) { - Constructor = undefined; - } else if (isObject(Constructor)) { - Constructor = Constructor[SPECIES]; - if (Constructor === null) Constructor = undefined; - } - if (Constructor === Array || Constructor === undefined) { - return nativeSlice.call(O, k, fin); - } - } - result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0)); - for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); - result.length = n; - return result; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var arrayBufferByteLength = __webpack_require__(120); + + var slice = uncurryThis(ArrayBuffer.prototype.slice); + + module.exports = function (O) { + if (arrayBufferByteLength(O) !== 0) return false; + try { + slice(O, 0, 0); + return false; + } catch (error) { + return true; + } + }; + + + /***/ }), /* 120 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalSome = __webpack_require__(77)(3); - - var SLOPPY_METHOD = __webpack_require__(80)('some'); - - // `Array.prototype.some` method - // https://tc39.github.io/ecma262/#sec-array.prototype.some - __webpack_require__(7)({ target: 'Array', proto: true, forced: SLOPPY_METHOD }, { - some: function some(callbackfn /* , thisArg */) { - return internalSome(this, callbackfn, arguments[1]); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThisAccessor = __webpack_require__(70); + var classof = __webpack_require__(14); + + var $TypeError = TypeError; + + // Includes + // - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]). + // - If IsSharedArrayBuffer(O) is true, throw a TypeError exception. + module.exports = uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) { + if (classof(O) !== 'ArrayBuffer') throw new $TypeError('ArrayBuffer expected'); + return O.byteLength; + }; + + + /***/ }), /* 121 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var aFunction = __webpack_require__(79); - var toObject = __webpack_require__(69); - var fails = __webpack_require__(5); - var nativeSort = [].sort; - var test = [1, 2, 3]; - - // IE8- - var FAILS_ON_UNDEFINED = fails(function () { - test.sort(undefined); - }); - // V8 bug - var FAILS_ON_NULL = fails(function () { - test.sort(null); - }); - // Old WebKit - var SLOPPY_METHOD = __webpack_require__(80)('sort'); - - var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || SLOPPY_METHOD; - - // `Array.prototype.sort` method - // https://tc39.github.io/ecma262/#sec-array.prototype.sort - __webpack_require__(7)({ target: 'Array', proto: true, forced: FORCED }, { - sort: function sort(comparefn) { - return comparefn === undefined - ? nativeSort.call(toObject(this)) - : nativeSort.call(toObject(this), aFunction(comparefn)); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $transfer = __webpack_require__(122); + + // `ArrayBuffer.prototype.transfer` method + // https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfer + if ($transfer) $({ target: 'ArrayBuffer', proto: true }, { + transfer: function transfer() { + return $transfer(this, arguments.length ? arguments[0] : undefined, true); + } + }); + + + /***/ }), /* 122 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Array[@@species]` getter - // https://tc39.github.io/ecma262/#sec-get-array-@@species - __webpack_require__(123)('Array'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var uncurryThis = __webpack_require__(13); + var uncurryThisAccessor = __webpack_require__(70); + var toIndex = __webpack_require__(123); + var isDetached = __webpack_require__(119); + var arrayBufferByteLength = __webpack_require__(120); + var detachTransferable = __webpack_require__(124); + var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(127); + + var structuredClone = global.structuredClone; + var ArrayBuffer = global.ArrayBuffer; + var DataView = global.DataView; + var TypeError = global.TypeError; + var min = Math.min; + var ArrayBufferPrototype = ArrayBuffer.prototype; + var DataViewPrototype = DataView.prototype; + var slice = uncurryThis(ArrayBufferPrototype.slice); + var isResizable = uncurryThisAccessor(ArrayBufferPrototype, 'resizable', 'get'); + var maxByteLength = uncurryThisAccessor(ArrayBufferPrototype, 'maxByteLength', 'get'); + var getInt8 = uncurryThis(DataViewPrototype.getInt8); + var setInt8 = uncurryThis(DataViewPrototype.setInt8); + + module.exports = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferable) && function (arrayBuffer, newLength, preserveResizability) { + var byteLength = arrayBufferByteLength(arrayBuffer); + var newByteLength = newLength === undefined ? byteLength : toIndex(newLength); + var fixedLength = !isResizable || !isResizable(arrayBuffer); + var newBuffer; + if (isDetached(arrayBuffer)) throw new TypeError('ArrayBuffer is detached'); + if (PROPER_STRUCTURED_CLONE_TRANSFER) { + arrayBuffer = structuredClone(arrayBuffer, { transfer: [arrayBuffer] }); + if (byteLength === newByteLength && (preserveResizability || fixedLength)) return arrayBuffer; + } + if (byteLength >= newByteLength && (!preserveResizability || fixedLength)) { + newBuffer = slice(arrayBuffer, 0, newByteLength); + } else { + var options = preserveResizability && !fixedLength && maxByteLength ? { maxByteLength: maxByteLength(arrayBuffer) } : undefined; + newBuffer = new ArrayBuffer(newByteLength, options); + var a = new DataView(arrayBuffer); + var b = new DataView(newBuffer); + var copyLength = min(newByteLength, byteLength); + for (var i = 0; i < copyLength; i++) setInt8(b, i, getInt8(a, i)); + } + if (!PROPER_STRUCTURED_CLONE_TRANSFER) detachTransferable(arrayBuffer); + return newBuffer; + }; + + + /***/ }), /* 123 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var definePropertyModule = __webpack_require__(20); - var DESCRIPTORS = __webpack_require__(4); - var SPECIES = __webpack_require__(43)('species'); - - module.exports = function (CONSTRUCTOR_NAME) { - var C = getBuiltIn(CONSTRUCTOR_NAME); - var defineProperty = definePropertyModule.f; - if (DESCRIPTORS && C && !C[SPECIES]) defineProperty(C, SPECIES, { - configurable: true, - get: function () { return this; } - }); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toIntegerOrInfinity = __webpack_require__(60); + var toLength = __webpack_require__(63); + + var $RangeError = RangeError; + + // `ToIndex` abstract operation + // https://tc39.es/ecma262/#sec-toindex + module.exports = function (it) { + if (it === undefined) return 0; + var number = toIntegerOrInfinity(it); + var length = toLength(number); + if (number !== length) throw new $RangeError('Wrong length or index'); + return length; + }; + + + /***/ }), /* 124 */ - /***/ (function (module, exports, __webpack_require__) { - - var path = __webpack_require__(47); - var global = __webpack_require__(2); - - var aFunction = function (variable) { - return typeof variable == 'function' ? variable : undefined; - }; - - module.exports = function (namespace, method) { - return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace]) - : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method]; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var tryNodeRequire = __webpack_require__(125); + var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(127); + + var structuredClone = global.structuredClone; + var $ArrayBuffer = global.ArrayBuffer; + var $MessageChannel = global.MessageChannel; + var detach = false; + var WorkerThreads, channel, buffer, $detach; + + if (PROPER_STRUCTURED_CLONE_TRANSFER) { + detach = function (transferable) { + structuredClone(transferable, { transfer: [transferable] }); + }; + } else if ($ArrayBuffer) try { + if (!$MessageChannel) { + WorkerThreads = tryNodeRequire('worker_threads'); + if (WorkerThreads) $MessageChannel = WorkerThreads.MessageChannel; + } + + if ($MessageChannel) { + channel = new $MessageChannel(); + buffer = new $ArrayBuffer(2); + + $detach = function (transferable) { + channel.port1.postMessage(null, [transferable]); + }; + + if (buffer.byteLength === 2) { + $detach(buffer); + if (buffer.byteLength === 0) detach = $detach; + } + } + } catch (error) { /* empty */ } + + module.exports = detach; + + + /***/ }), /* 125 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toAbsoluteIndex = __webpack_require__(38); - var toInteger = __webpack_require__(37); - var toLength = __webpack_require__(36); - var toObject = __webpack_require__(69); - var arraySpeciesCreate = __webpack_require__(71); - var createProperty = __webpack_require__(70); - var max = Math.max; - var min = Math.min; - var MAX_SAFE_INTEGER = 0x1fffffffffffff; - var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded'; - - var SPECIES_SUPPORT = __webpack_require__(72)('splice'); - - // `Array.prototype.splice` method - // https://tc39.github.io/ecma262/#sec-array.prototype.splice - // with adding support of @@species - __webpack_require__(7)({ target: 'Array', proto: true, forced: !SPECIES_SUPPORT }, { - splice: function splice(start, deleteCount /* , ...items */) { - var O = toObject(this); - var len = toLength(O.length); - var actualStart = toAbsoluteIndex(start, len); - var argumentsLength = arguments.length; - var insertCount, actualDeleteCount, A, k, from, to; - if (argumentsLength === 0) { - insertCount = actualDeleteCount = 0; - } else if (argumentsLength === 1) { - insertCount = 0; - actualDeleteCount = len - actualStart; - } else { - insertCount = argumentsLength - 2; - actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart); - } - if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) { - throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED); - } - A = arraySpeciesCreate(O, actualDeleteCount); - for (k = 0; k < actualDeleteCount; k++) { - from = actualStart + k; - if (from in O) createProperty(A, k, O[from]); - } - A.length = actualDeleteCount; - if (insertCount < actualDeleteCount) { - for (k = actualStart; k < len - actualDeleteCount; k++) { - from = k + actualDeleteCount; - to = k + insertCount; - if (from in O) O[to] = O[from]; - else delete O[to]; - } - for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1]; - } else if (insertCount > actualDeleteCount) { - for (k = len - actualDeleteCount; k > actualStart; k--) { - from = k + actualDeleteCount - 1; - to = k + insertCount - 1; - if (from in O) O[to] = O[from]; - else delete O[to]; - } - } - for (k = 0; k < insertCount; k++) { - O[k + actualStart] = arguments[k + 2]; - } - O.length = len - actualDeleteCount + insertCount; - return A; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var IS_NODE = __webpack_require__(126); + + module.exports = function (name) { + try { + // eslint-disable-next-line no-new-func -- safe + if (IS_NODE) return Function('return require("' + name + '")')(); + } catch (error) { /* empty */ } + }; + + + /***/ }), /* 126 */ - /***/ (function (module, exports, __webpack_require__) { - - // this method was added to unscopables after implementation - // in popular engines, so it's moved to a separate module - __webpack_require__(75)('flat'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var classof = __webpack_require__(14); + + module.exports = classof(global.process) === 'process'; + + + /***/ }), /* 127 */ - /***/ (function (module, exports, __webpack_require__) { - - // this method was added to unscopables after implementation - // in popular engines, so it's moved to a separate module - __webpack_require__(75)('flatMap'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var fails = __webpack_require__(6); + var V8 = __webpack_require__(26); + var IS_BROWSER = __webpack_require__(128); + var IS_DENO = __webpack_require__(129); + var IS_NODE = __webpack_require__(126); + + var structuredClone = global.structuredClone; + + module.exports = !!structuredClone && !fails(function () { + // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation + // https://github.com/zloirock/core-js/issues/679 + if ((IS_DENO && V8 > 92) || (IS_NODE && V8 > 94) || (IS_BROWSER && V8 > 97)) return false; + var buffer = new ArrayBuffer(8); + var clone = structuredClone(buffer, { transfer: [buffer] }); + return buffer.byteLength !== 0 || clone.byteLength !== 8; + }); + + + /***/ }), /* 128 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ARRAY_BUFFER = 'ArrayBuffer'; - var ArrayBuffer = __webpack_require__(129)[ARRAY_BUFFER]; - var NativeArrayBuffer = __webpack_require__(2)[ARRAY_BUFFER]; - - // `ArrayBuffer` constructor - // https://tc39.github.io/ecma262/#sec-arraybuffer-constructor - __webpack_require__(7)({ global: true, forced: NativeArrayBuffer !== ArrayBuffer }, { - ArrayBuffer: ArrayBuffer - }); - - __webpack_require__(123)(ARRAY_BUFFER); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var IS_DENO = __webpack_require__(129); + var IS_NODE = __webpack_require__(126); + + module.exports = !IS_DENO && !IS_NODE + && typeof window == 'object' + && typeof document == 'object'; + + + /***/ }), /* 129 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var global = __webpack_require__(2); - var DESCRIPTORS = __webpack_require__(4); - var NATIVE_ARRAY_BUFFER = __webpack_require__(130).NATIVE_ARRAY_BUFFER; - var hide = __webpack_require__(19); - var redefineAll = __webpack_require__(131); - var fails = __webpack_require__(5); - var anInstance = __webpack_require__(132); - var toInteger = __webpack_require__(37); - var toLength = __webpack_require__(36); - var toIndex = __webpack_require__(133); - var getOwnPropertyNames = __webpack_require__(33).f; - var defineProperty = __webpack_require__(20).f; - var arrayFill = __webpack_require__(82); - var setToStringTag = __webpack_require__(42); - var InternalStateModule = __webpack_require__(26); - var getInternalState = InternalStateModule.get; - var setInternalState = InternalStateModule.set; - var ARRAY_BUFFER = 'ArrayBuffer'; - var DATA_VIEW = 'DataView'; - var PROTOTYPE = 'prototype'; - var WRONG_LENGTH = 'Wrong length'; - var WRONG_INDEX = 'Wrong index'; - var NativeArrayBuffer = global[ARRAY_BUFFER]; - var $ArrayBuffer = NativeArrayBuffer; - var $DataView = global[DATA_VIEW]; - var Math = global.Math; - var RangeError = global.RangeError; - // eslint-disable-next-line no-shadow-restricted-names - var Infinity = 1 / 0; - var abs = Math.abs; - var pow = Math.pow; - var floor = Math.floor; - var log = Math.log; - var LN2 = Math.LN2; - - // IEEE754 conversions based on https://github.com/feross/ieee754 - var packIEEE754 = function (number, mantissaLength, bytes) { - var buffer = new Array(bytes); - var exponentLength = bytes * 8 - mantissaLength - 1; - var eMax = (1 << exponentLength) - 1; - var eBias = eMax >> 1; - var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0; - var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0; - var index = 0; - var exponent, mantissa, c; - number = abs(number); - // eslint-disable-next-line no-self-compare - if (number != number || number === Infinity) { - // eslint-disable-next-line no-self-compare - mantissa = number != number ? 1 : 0; - exponent = eMax; - } else { - exponent = floor(log(number) / LN2); - if (number * (c = pow(2, -exponent)) < 1) { - exponent--; - c *= 2; - } - if (exponent + eBias >= 1) { - number += rt / c; - } else { - number += rt * pow(2, 1 - eBias); - } - if (number * c >= 2) { - exponent++; - c /= 2; - } - if (exponent + eBias >= eMax) { - mantissa = 0; - exponent = eMax; - } else if (exponent + eBias >= 1) { - mantissa = (number * c - 1) * pow(2, mantissaLength); - exponent = exponent + eBias; - } else { - mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength); - exponent = 0; - } - } - for (; mantissaLength >= 8; buffer[index++] = mantissa & 255, mantissa /= 256, mantissaLength -= 8); - exponent = exponent << mantissaLength | mantissa; - exponentLength += mantissaLength; - for (; exponentLength > 0; buffer[index++] = exponent & 255, exponent /= 256, exponentLength -= 8); - buffer[--index] |= sign * 128; - return buffer; - }; - - var unpackIEEE754 = function (buffer, mantissaLength) { - var bytes = buffer.length; - var exponentLength = bytes * 8 - mantissaLength - 1; - var eMax = (1 << exponentLength) - 1; - var eBias = eMax >> 1; - var nBits = exponentLength - 7; - var index = bytes - 1; - var sign = buffer[index--]; - var exponent = sign & 127; - var mantissa; - sign >>= 7; - for (; nBits > 0; exponent = exponent * 256 + buffer[index], index--, nBits -= 8); - mantissa = exponent & (1 << -nBits) - 1; - exponent >>= -nBits; - nBits += mantissaLength; - for (; nBits > 0; mantissa = mantissa * 256 + buffer[index], index--, nBits -= 8); - if (exponent === 0) { - exponent = 1 - eBias; - } else if (exponent === eMax) { - return mantissa ? NaN : sign ? -Infinity : Infinity; - } else { - mantissa = mantissa + pow(2, mantissaLength); - exponent = exponent - eBias; - } return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength); - }; - - var unpackInt32 = function (buffer) { - return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0]; - }; - - var packInt8 = function (number) { - return [number & 0xff]; - }; - - var packInt16 = function (number) { - return [number & 0xff, number >> 8 & 0xff]; - }; - - var packInt32 = function (number) { - return [number & 0xff, number >> 8 & 0xff, number >> 16 & 0xff, number >> 24 & 0xff]; - }; - - var packFloat32 = function (number) { - return packIEEE754(number, 23, 4); - }; - - var packFloat64 = function (number) { - return packIEEE754(number, 52, 8); - }; - - var addGetter = function (Constructor, key) { - defineProperty(Constructor[PROTOTYPE], key, { get: function () { return getInternalState(this)[key]; } }); - }; - - var get = function (view, count, index, isLittleEndian) { - var numIndex = +index; - var intIndex = toIndex(numIndex); - var store = getInternalState(view); - if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX); - var bytes = getInternalState(store.buffer).bytes; - var start = intIndex + store.byteOffset; - var pack = bytes.slice(start, start + count); - return isLittleEndian ? pack : pack.reverse(); - }; - - var set = function (view, count, index, conversion, value, isLittleEndian) { - var numIndex = +index; - var intIndex = toIndex(numIndex); - var store = getInternalState(view); - if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX); - var bytes = getInternalState(store.buffer).bytes; - var start = intIndex + store.byteOffset; - var pack = conversion(+value); - for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1]; - }; - - if (!NATIVE_ARRAY_BUFFER) { - $ArrayBuffer = function ArrayBuffer(length) { - anInstance(this, $ArrayBuffer, ARRAY_BUFFER); - var byteLength = toIndex(length); - setInternalState(this, { - bytes: arrayFill.call(new Array(byteLength), 0), - byteLength: byteLength - }); - if (!DESCRIPTORS) this.byteLength = byteLength; - }; - - $DataView = function DataView(buffer, byteOffset, byteLength) { - anInstance(this, $DataView, DATA_VIEW); - anInstance(buffer, $ArrayBuffer, DATA_VIEW); - var bufferLength = getInternalState(buffer).byteLength; - var offset = toInteger(byteOffset); - if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset'); - byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); - if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH); - setInternalState(this, { - buffer: buffer, - byteLength: byteLength, - byteOffset: offset - }); - if (!DESCRIPTORS) { - this.buffer = buffer; - this.byteLength = byteLength; - this.byteOffset = offset; - } - }; - - if (DESCRIPTORS) { - addGetter($ArrayBuffer, 'byteLength'); - addGetter($DataView, 'buffer'); - addGetter($DataView, 'byteLength'); - addGetter($DataView, 'byteOffset'); - } - - redefineAll($DataView[PROTOTYPE], { - getInt8: function getInt8(byteOffset) { - return get(this, 1, byteOffset)[0] << 24 >> 24; - }, - getUint8: function getUint8(byteOffset) { - return get(this, 1, byteOffset)[0]; - }, - getInt16: function getInt16(byteOffset /* , littleEndian */) { - var bytes = get(this, 2, byteOffset, arguments[1]); - return (bytes[1] << 8 | bytes[0]) << 16 >> 16; - }, - getUint16: function getUint16(byteOffset /* , littleEndian */) { - var bytes = get(this, 2, byteOffset, arguments[1]); - return bytes[1] << 8 | bytes[0]; - }, - getInt32: function getInt32(byteOffset /* , littleEndian */) { - return unpackInt32(get(this, 4, byteOffset, arguments[1])); - }, - getUint32: function getUint32(byteOffset /* , littleEndian */) { - return unpackInt32(get(this, 4, byteOffset, arguments[1])) >>> 0; - }, - getFloat32: function getFloat32(byteOffset /* , littleEndian */) { - return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23); - }, - getFloat64: function getFloat64(byteOffset /* , littleEndian */) { - return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52); - }, - setInt8: function setInt8(byteOffset, value) { - set(this, 1, byteOffset, packInt8, value); - }, - setUint8: function setUint8(byteOffset, value) { - set(this, 1, byteOffset, packInt8, value); - }, - setInt16: function setInt16(byteOffset, value /* , littleEndian */) { - set(this, 2, byteOffset, packInt16, value, arguments[2]); - }, - setUint16: function setUint16(byteOffset, value /* , littleEndian */) { - set(this, 2, byteOffset, packInt16, value, arguments[2]); - }, - setInt32: function setInt32(byteOffset, value /* , littleEndian */) { - set(this, 4, byteOffset, packInt32, value, arguments[2]); - }, - setUint32: function setUint32(byteOffset, value /* , littleEndian */) { - set(this, 4, byteOffset, packInt32, value, arguments[2]); - }, - setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { - set(this, 4, byteOffset, packFloat32, value, arguments[2]); - }, - setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { - set(this, 8, byteOffset, packFloat64, value, arguments[2]); - } - }); - } else { - if (!fails(function () { - NativeArrayBuffer(1); - }) || !fails(function () { - new NativeArrayBuffer(-1); // eslint-disable-line no-new - }) || fails(function () { - new NativeArrayBuffer(); // eslint-disable-line no-new - new NativeArrayBuffer(1.5); // eslint-disable-line no-new - new NativeArrayBuffer(NaN); // eslint-disable-line no-new - return NativeArrayBuffer.name != ARRAY_BUFFER; - })) { - $ArrayBuffer = function ArrayBuffer(length) { - anInstance(this, $ArrayBuffer); - return new NativeArrayBuffer(toIndex(length)); - }; - var ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE] = NativeArrayBuffer[PROTOTYPE]; - for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) { - if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, NativeArrayBuffer[key]); - } - ArrayBufferPrototype.constructor = $ArrayBuffer; - } - // iOS Safari 7.x bug - var testView = new $DataView(new $ArrayBuffer(2)); - var nativeSetInt8 = $DataView[PROTOTYPE].setInt8; - testView.setInt8(0, 2147483648); - testView.setInt8(1, 2147483649); - if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll($DataView[PROTOTYPE], { - setInt8: function setInt8(byteOffset, value) { - nativeSetInt8.call(this, byteOffset, value << 24 >> 24); - }, - setUint8: function setUint8(byteOffset, value) { - nativeSetInt8.call(this, byteOffset, value << 24 >> 24); - } - }, { unsafe: true }); - } - - setToStringTag($ArrayBuffer, ARRAY_BUFFER); - setToStringTag($DataView, DATA_VIEW); - exports[ARRAY_BUFFER] = $ArrayBuffer; - exports[DATA_VIEW] = $DataView; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* global Deno -- Deno case */ + module.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object'; + + + /***/ }), /* 130 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var DESCRIPTORS = __webpack_require__(4); - var global = __webpack_require__(2); - var isObject = __webpack_require__(16); - var has = __webpack_require__(3); - var classof = __webpack_require__(98); - var hide = __webpack_require__(19); - var redefine = __webpack_require__(22); - var defineProperty = __webpack_require__(20).f; - var getPrototypeOf = __webpack_require__(106); - var setPrototypeOf = __webpack_require__(108); - var TO_STRING_TAG = __webpack_require__(43)('toStringTag'); - var TYPED_ARRAY_TAG = __webpack_require__(29)('TYPED_ARRAY_TAG'); - - var DataView = global.DataView; - var DataViewPrototype = DataView && DataView.prototype; - var Int8Array = global.Int8Array; - var Int8ArrayPrototype = Int8Array && Int8Array.prototype; - var Uint8ClampedArray = global.Uint8ClampedArray; - var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; - var TypedArray = Int8Array && getPrototypeOf(Int8Array); - var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype); - var ObjectPrototype = Object.prototype; - var isPrototypeOf = ObjectPrototype.isPrototypeOf; - - var NATIVE_ARRAY_BUFFER = !!(global.ArrayBuffer && global.DataView); - var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf; - var TYPED_ARRAY_TAG_REQIRED = false; - var NAME; - - var TypedArrayConstructorsList = { - Int8Array: 1, - Uint8Array: 1, - Uint8ClampedArray: 1, - Int16Array: 2, - Uint16Array: 2, - Int32Array: 4, - Uint32Array: 4, - Float32Array: 4, - Float64Array: 8 - }; - - var isView = function isView(it) { - var klass = classof(it); - return klass === 'DataView' || has(TypedArrayConstructorsList, klass); - }; - - var isTypedArray = function (it) { - return isObject(it) && has(TypedArrayConstructorsList, classof(it)); - }; - - var aTypedArray = function (it) { - if (isTypedArray(it)) return it; - throw TypeError('Target is not a typed array'); - }; - - var aTypedArrayConstructor = function (C) { - if (setPrototypeOf) { - if (isPrototypeOf.call(TypedArray, C)) return C; - } else for (var ARRAY in TypedArrayConstructorsList) if (has(TypedArrayConstructorsList, NAME)) { - var TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && (C === TypedArrayConstructor || isPrototypeOf.call(TypedArrayConstructor, C))) { - return C; - } - } throw TypeError('Target is not a typed array constructor'); - }; - - var exportProto = function (KEY, property, forced) { - if (!DESCRIPTORS) return; - if (forced) for (var ARRAY in TypedArrayConstructorsList) { - var TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && has(TypedArrayConstructor.prototype, KEY)) { - delete TypedArrayConstructor.prototype[KEY]; - } - } - if (!TypedArrayPrototype[KEY] || forced) { - redefine(TypedArrayPrototype, KEY, forced ? property - : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property); - } - }; - - var exportStatic = function (KEY, property, forced) { - var ARRAY, TypedArrayConstructor; - if (!DESCRIPTORS) return; - if (setPrototypeOf) { - if (forced) for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && has(TypedArrayConstructor, KEY)) { - delete TypedArrayConstructor[KEY]; - } - } - if (!TypedArray[KEY] || forced) { - // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable - try { - return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8Array[KEY] || property); - } catch (e) { /* empty */ } - } else return; - } - for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { - redefine(TypedArrayConstructor, KEY, property); - } - } - }; - - for (NAME in TypedArrayConstructorsList) { - if (!global[NAME]) NATIVE_ARRAY_BUFFER_VIEWS = false; - } - - // WebKit bug - typed arrays constructors prototype is Object.prototype - if (!NATIVE_ARRAY_BUFFER_VIEWS || typeof TypedArray != 'function' || TypedArray === Function.prototype) { - // eslint-disable-next-line no-shadow - TypedArray = function TypedArray() { - throw TypeError('Incorrect invocation'); - }; - if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { - if (global[NAME]) setPrototypeOf(global[NAME], TypedArray); - } - } - - if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { - TypedArrayPrototype = TypedArray.prototype; - if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { - if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype); - } - } - - // WebKit bug - one more object in Uint8ClampedArray prototype chain - if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { - setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); - } - - if (DESCRIPTORS && !has(TypedArrayPrototype, TO_STRING_TAG)) { - TYPED_ARRAY_TAG_REQIRED = true; - defineProperty(TypedArrayPrototype, TO_STRING_TAG, { - get: function () { - return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined; - } - }); - for (NAME in TypedArrayConstructorsList) if (global[NAME]) { - hide(global[NAME], TYPED_ARRAY_TAG, NAME); - } - } - - // WebKit bug - the same parent prototype for typed arrays and data view - if (NATIVE_ARRAY_BUFFER && setPrototypeOf && getPrototypeOf(DataViewPrototype) !== ObjectPrototype) { - setPrototypeOf(DataViewPrototype, ObjectPrototype); - } - - module.exports = { - NATIVE_ARRAY_BUFFER: NATIVE_ARRAY_BUFFER, - NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS, - TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQIRED && TYPED_ARRAY_TAG, - aTypedArray: aTypedArray, - aTypedArrayConstructor: aTypedArrayConstructor, - exportProto: exportProto, - exportStatic: exportStatic, - isView: isView, - isTypedArray: isTypedArray, - TypedArray: TypedArray, - TypedArrayPrototype: TypedArrayPrototype - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $transfer = __webpack_require__(122); + + // `ArrayBuffer.prototype.transferToFixedLength` method + // https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfertofixedlength + if ($transfer) $({ target: 'ArrayBuffer', proto: true }, { + transferToFixedLength: function transferToFixedLength() { + return $transfer(this, arguments.length ? arguments[0] : undefined, false); + } + }); + + + /***/ }), /* 131 */ - /***/ (function (module, exports, __webpack_require__) { - - var redefine = __webpack_require__(22); - - module.exports = function (target, src, options) { - for (var key in src) redefine(target, key, src[key], options); - return target; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var aCallable = __webpack_require__(29); + var requireObjectCoercible = __webpack_require__(15); + var iterate = __webpack_require__(91); + var MapHelpers = __webpack_require__(132); + var IS_PURE = __webpack_require__(35); + + var Map = MapHelpers.Map; + var has = MapHelpers.has; + var get = MapHelpers.get; + var set = MapHelpers.set; + var push = uncurryThis([].push); + + // `Map.groupBy` method + // https://github.com/tc39/proposal-array-grouping + $({ target: 'Map', stat: true, forced: IS_PURE }, { + groupBy: function groupBy(items, callbackfn) { + requireObjectCoercible(items); + aCallable(callbackfn); + var map = new Map(); + var k = 0; + iterate(items, function (value) { + var key = callbackfn(value, k++); + if (!has(map, key)) set(map, key, [value]); + else push(get(map, key), value); + }); + return map; + } + }); + + + /***/ }), /* 132 */ - /***/ (function (module, exports) { - - module.exports = function (it, Constructor, name) { - if (!(it instanceof Constructor)) { - throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation'); - } return it; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + // eslint-disable-next-line es/no-map -- safe + var MapPrototype = Map.prototype; + + module.exports = { + // eslint-disable-next-line es/no-map -- safe + Map: Map, + set: uncurryThis(MapPrototype.set), + get: uncurryThis(MapPrototype.get), + has: uncurryThis(MapPrototype.has), + remove: uncurryThis(MapPrototype['delete']), + proto: MapPrototype + }; + + + /***/ }), /* 133 */ - /***/ (function (module, exports, __webpack_require__) { - - var toInteger = __webpack_require__(37); - var toLength = __webpack_require__(36); - - // `ToIndex` abstract operation - // https://tc39.github.io/ecma262/#sec-toindex - module.exports = function (it) { - if (it === undefined) return 0; - var number = toInteger(it); - var length = toLength(number); - if (number !== length) throw RangeError('Wrong length or index'); - return length; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + var aCallable = __webpack_require__(29); + var requireObjectCoercible = __webpack_require__(15); + var toPropertyKey = __webpack_require__(17); + var iterate = __webpack_require__(91); + + var create = getBuiltIn('Object', 'create'); + var push = uncurryThis([].push); + + // `Object.groupBy` method + // https://github.com/tc39/proposal-array-grouping + $({ target: 'Object', stat: true }, { + groupBy: function groupBy(items, callbackfn) { + requireObjectCoercible(items); + aCallable(callbackfn); + var obj = create(null); + var k = 0; + iterate(items, function (value) { + var key = toPropertyKey(callbackfn(value, k++)); + // in some IE versions, `hasOwnProperty` returns incorrect result on integer keys + // but since it's a `null` prototype object, we can safely use `in` + if (key in obj) push(obj[key], value); + else obj[key] = [value]; + }); + return obj; + } + }); + + + /***/ }), /* 134 */ - /***/ (function (module, exports, __webpack_require__) { - - var ArrayBufferViewCore = __webpack_require__(130); - var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; - - // `ArrayBuffer.isView` method - // https://tc39.github.io/ecma262/#sec-arraybuffer.isview - __webpack_require__(7)({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { - isView: ArrayBufferViewCore.isView - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var hasOwn = __webpack_require__(37); + + // `Object.hasOwn` method + // https://tc39.es/ecma262/#sec-object.hasown + $({ target: 'Object', stat: true }, { + hasOwn: hasOwn + }); + + + /***/ }), /* 135 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ArrayBufferModule = __webpack_require__(129); - var anObject = __webpack_require__(21); - var toAbsoluteIndex = __webpack_require__(38); - var toLength = __webpack_require__(36); - var speciesConstructor = __webpack_require__(136); - var ArrayBuffer = ArrayBufferModule.ArrayBuffer; - var DataView = ArrayBufferModule.DataView; - var nativeArrayBufferSlice = ArrayBuffer.prototype.slice; - - var INCORRECT_SLICE = __webpack_require__(5)(function () { - return !new ArrayBuffer(2).slice(1, undefined).byteLength; - }); - - // `ArrayBuffer.prototype.slice` method - // https://tc39.github.io/ecma262/#sec-arraybuffer.prototype.slice - __webpack_require__(7)({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, { - slice: function slice(start, end) { - if (nativeArrayBufferSlice !== undefined && end === undefined) { - return nativeArrayBufferSlice.call(anObject(this), start); // FF fix - } - var length = anObject(this).byteLength; - var first = toAbsoluteIndex(start, length); - var fin = toAbsoluteIndex(end === undefined ? length : end, length); - var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first)); - var viewSource = new DataView(this); - var viewTarget = new DataView(result); - var index = 0; - while (first < fin) { - viewTarget.setUint8(index++, viewSource.getUint8(first++)); - } return result; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var defineBuiltInAccessor = __webpack_require__(118); + var isObject = __webpack_require__(19); + var isPossiblePrototype = __webpack_require__(72); + var toObject = __webpack_require__(38); + var requireObjectCoercible = __webpack_require__(15); + + // eslint-disable-next-line es/no-object-getprototypeof -- safe + var getPrototypeOf = Object.getPrototypeOf; + // eslint-disable-next-line es/no-object-setprototypeof -- safe + var setPrototypeOf = Object.setPrototypeOf; + var ObjectPrototype = Object.prototype; + var PROTO = '__proto__'; + + // `Object.prototype.__proto__` accessor + // https://tc39.es/ecma262/#sec-object.prototype.__proto__ + if (DESCRIPTORS && getPrototypeOf && setPrototypeOf && !(PROTO in ObjectPrototype)) try { + defineBuiltInAccessor(ObjectPrototype, PROTO, { + configurable: true, + get: function __proto__() { + return getPrototypeOf(toObject(this)); + }, + set: function __proto__(proto) { + var O = requireObjectCoercible(this); + if (isPossiblePrototype(proto) && isObject(O)) { + setPrototypeOf(O, proto); + } + } + }); + } catch (error) { /* empty */ } + + + /***/ }), /* 136 */ - /***/ (function (module, exports, __webpack_require__) { - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var SPECIES = __webpack_require__(43)('species'); - - // `SpeciesConstructor` abstract operation - // https://tc39.github.io/ecma262/#sec-speciesconstructor - module.exports = function (O, defaultConstructor) { - var C = anObject(O).constructor; - var S; - return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove this module from `core-js@4` since it's split to modules listed below + __webpack_require__(137); + __webpack_require__(158); + __webpack_require__(161); + __webpack_require__(162); + __webpack_require__(163); + __webpack_require__(164); + + + /***/ }), /* 137 */ - /***/ (function (module, exports, __webpack_require__) { - - var NATIVE_ARRAY_BUFFER = __webpack_require__(130).NATIVE_ARRAY_BUFFER; - - // `DataView` constructor - // https://tc39.github.io/ecma262/#sec-dataview-constructor - __webpack_require__(7)({ global: true, forced: !NATIVE_ARRAY_BUFFER }, { - DataView: __webpack_require__(129).DataView - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var IS_PURE = __webpack_require__(35); + var IS_NODE = __webpack_require__(126); + var global = __webpack_require__(3); + var call = __webpack_require__(7); + var defineBuiltIn = __webpack_require__(46); + var setPrototypeOf = __webpack_require__(69); + var setToStringTag = __webpack_require__(138); + var setSpecies = __webpack_require__(139); + var aCallable = __webpack_require__(29); + var isCallable = __webpack_require__(20); + var isObject = __webpack_require__(19); + var anInstance = __webpack_require__(140); + var speciesConstructor = __webpack_require__(141); + var task = __webpack_require__(144).set; + var microtask = __webpack_require__(148); + var hostReportErrors = __webpack_require__(153); + var perform = __webpack_require__(154); + var Queue = __webpack_require__(150); + var InternalStateModule = __webpack_require__(50); + var NativePromiseConstructor = __webpack_require__(155); + var PromiseConstructorDetection = __webpack_require__(156); + var newPromiseCapabilityModule = __webpack_require__(157); + + var PROMISE = 'Promise'; + var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR; + var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT; + var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING; + var getInternalPromiseState = InternalStateModule.getterFor(PROMISE); + var setInternalState = InternalStateModule.set; + var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + var PromiseConstructor = NativePromiseConstructor; + var PromisePrototype = NativePromisePrototype; + var TypeError = global.TypeError; + var document = global.document; + var process = global.process; + var newPromiseCapability = newPromiseCapabilityModule.f; + var newGenericPromiseCapability = newPromiseCapability; + + var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent); + var UNHANDLED_REJECTION = 'unhandledrejection'; + var REJECTION_HANDLED = 'rejectionhandled'; + var PENDING = 0; + var FULFILLED = 1; + var REJECTED = 2; + var HANDLED = 1; + var UNHANDLED = 2; + + var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen; + + // helpers + var isThenable = function (it) { + var then; + return isObject(it) && isCallable(then = it.then) ? then : false; + }; + + var callReaction = function (reaction, state) { + var value = state.value; + var ok = state.state === FULFILLED; + var handler = ok ? reaction.ok : reaction.fail; + var resolve = reaction.resolve; + var reject = reaction.reject; + var domain = reaction.domain; + var result, then, exited; + try { + if (handler) { + if (!ok) { + if (state.rejection === UNHANDLED) onHandleUnhandled(state); + state.rejection = HANDLED; + } + if (handler === true) result = value; + else { + if (domain) domain.enter(); + result = handler(value); // can throw + if (domain) { + domain.exit(); + exited = true; + } + } + if (result === reaction.promise) { + reject(new TypeError('Promise-chain cycle')); + } else if (then = isThenable(result)) { + call(then, result, resolve, reject); + } else resolve(result); + } else reject(value); + } catch (error) { + if (domain && !exited) domain.exit(); + reject(error); + } + }; + + var notify = function (state, isReject) { + if (state.notified) return; + state.notified = true; + microtask(function () { + var reactions = state.reactions; + var reaction; + while (reaction = reactions.get()) { + callReaction(reaction, state); + } + state.notified = false; + if (isReject && !state.rejection) onUnhandled(state); + }); + }; + + var dispatchEvent = function (name, promise, reason) { + var event, handler; + if (DISPATCH_EVENT) { + event = document.createEvent('Event'); + event.promise = promise; + event.reason = reason; + event.initEvent(name, false, true); + global.dispatchEvent(event); + } else event = { promise: promise, reason: reason }; + if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event); + else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason); + }; + + var onUnhandled = function (state) { + call(task, global, function () { + var promise = state.facade; + var value = state.value; + var IS_UNHANDLED = isUnhandled(state); + var result; + if (IS_UNHANDLED) { + result = perform(function () { + if (IS_NODE) { + process.emit('unhandledRejection', value, promise); + } else dispatchEvent(UNHANDLED_REJECTION, promise, value); + }); + // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should + state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED; + if (result.error) throw result.value; + } + }); + }; + + var isUnhandled = function (state) { + return state.rejection !== HANDLED && !state.parent; + }; + + var onHandleUnhandled = function (state) { + call(task, global, function () { + var promise = state.facade; + if (IS_NODE) { + process.emit('rejectionHandled', promise); + } else dispatchEvent(REJECTION_HANDLED, promise, state.value); + }); + }; + + var bind = function (fn, state, unwrap) { + return function (value) { + fn(state, value, unwrap); + }; + }; + + var internalReject = function (state, value, unwrap) { + if (state.done) return; + state.done = true; + if (unwrap) state = unwrap; + state.value = value; + state.state = REJECTED; + notify(state, true); + }; + + var internalResolve = function (state, value, unwrap) { + if (state.done) return; + state.done = true; + if (unwrap) state = unwrap; + try { + if (state.facade === value) throw new TypeError("Promise can't be resolved itself"); + var then = isThenable(value); + if (then) { + microtask(function () { + var wrapper = { done: false }; + try { + call(then, value, + bind(internalResolve, wrapper, state), + bind(internalReject, wrapper, state) + ); + } catch (error) { + internalReject(wrapper, error, state); + } + }); + } else { + state.value = value; + state.state = FULFILLED; + notify(state, false); + } + } catch (error) { + internalReject({ done: false }, error, state); + } + }; + + // constructor polyfill + if (FORCED_PROMISE_CONSTRUCTOR) { + // 25.4.3.1 Promise(executor) + PromiseConstructor = function Promise(executor) { + anInstance(this, PromisePrototype); + aCallable(executor); + call(Internal, this); + var state = getInternalPromiseState(this); + try { + executor(bind(internalResolve, state), bind(internalReject, state)); + } catch (error) { + internalReject(state, error); + } + }; + + PromisePrototype = PromiseConstructor.prototype; + + // eslint-disable-next-line no-unused-vars -- required for `.length` + Internal = function Promise(executor) { + setInternalState(this, { + type: PROMISE, + done: false, + notified: false, + parent: false, + reactions: new Queue(), + rejection: false, + state: PENDING, + value: undefined + }); + }; + + // `Promise.prototype.then` method + // https://tc39.es/ecma262/#sec-promise.prototype.then + Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) { + var state = getInternalPromiseState(this); + var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor)); + state.parent = true; + reaction.ok = isCallable(onFulfilled) ? onFulfilled : true; + reaction.fail = isCallable(onRejected) && onRejected; + reaction.domain = IS_NODE ? process.domain : undefined; + if (state.state === PENDING) state.reactions.add(reaction); + else microtask(function () { + callReaction(reaction, state); + }); + return reaction.promise; + }); + + OwnPromiseCapability = function () { + var promise = new Internal(); + var state = getInternalPromiseState(promise); + this.promise = promise; + this.resolve = bind(internalResolve, state); + this.reject = bind(internalReject, state); + }; + + newPromiseCapabilityModule.f = newPromiseCapability = function (C) { + return C === PromiseConstructor || C === PromiseWrapper + ? new OwnPromiseCapability(C) + : newGenericPromiseCapability(C); + }; + + if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) { + nativeThen = NativePromisePrototype.then; + + if (!NATIVE_PROMISE_SUBCLASSING) { + // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs + defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) { + var that = this; + return new PromiseConstructor(function (resolve, reject) { + call(nativeThen, that, resolve, reject); + }).then(onFulfilled, onRejected); + // https://github.com/zloirock/core-js/issues/640 + }, { unsafe: true }); + } + + // make `.constructor === Promise` work for native promise-based APIs + try { + delete NativePromisePrototype.constructor; + } catch (error) { /* empty */ } + + // make `instanceof Promise` work for native promise-based APIs + if (setPrototypeOf) { + setPrototypeOf(NativePromisePrototype, PromisePrototype); + } + } + } + + $({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { + Promise: PromiseConstructor + }); + + setToStringTag(PromiseConstructor, PROMISE, false, true); + setSpecies(PROMISE); + + + /***/ }), /* 138 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Date.now` method - // https://tc39.github.io/ecma262/#sec-date.now - __webpack_require__(7)({ target: 'Date', stat: true }, { - now: function now() { - return new Date().getTime(); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineProperty = __webpack_require__(43).f; + var hasOwn = __webpack_require__(37); + var wellKnownSymbol = __webpack_require__(32); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + + module.exports = function (target, TAG, STATIC) { + if (target && !STATIC) target = target.prototype; + if (target && !hasOwn(target, TO_STRING_TAG)) { + defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG }); + } + }; + + + /***/ }), /* 139 */ - /***/ (function (module, exports, __webpack_require__) { - - var toISOString = __webpack_require__(140); - - // `Date.prototype.toISOString` method - // https://tc39.github.io/ecma262/#sec-date.prototype.toisostring - // PhantomJS / old WebKit has a broken implementations - __webpack_require__(7)({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOString }, { - toISOString: toISOString - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + var defineBuiltInAccessor = __webpack_require__(118); + var wellKnownSymbol = __webpack_require__(32); + var DESCRIPTORS = __webpack_require__(5); + + var SPECIES = wellKnownSymbol('species'); + + module.exports = function (CONSTRUCTOR_NAME) { + var Constructor = getBuiltIn(CONSTRUCTOR_NAME); + + if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) { + defineBuiltInAccessor(Constructor, SPECIES, { + configurable: true, + get: function () { return this; } + }); + } + }; + + + /***/ }), /* 140 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var fails = __webpack_require__(5); - var prototype = Date.prototype; - var getTime = prototype.getTime; - var nativeDateToISOString = prototype.toISOString; - - var leadingZero = function (number) { - return number > 9 ? number : '0' + number; - }; - - // `Date.prototype.toISOString` method implementation - // https://tc39.github.io/ecma262/#sec-date.prototype.toisostring - // PhantomJS / old WebKit fails here: - module.exports = (fails(function () { - return nativeDateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; - }) || !fails(function () { - nativeDateToISOString.call(new Date(NaN)); - })) ? function toISOString() { - if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value'); - var date = this; - var year = date.getUTCFullYear(); - var milliseconds = date.getUTCMilliseconds(); - var sign = year < 0 ? '-' : year > 9999 ? '+' : ''; - return sign + ('00000' + Math.abs(year)).slice(sign ? -6 : -4) + - '-' + leadingZero(date.getUTCMonth() + 1) + - '-' + leadingZero(date.getUTCDate()) + - 'T' + leadingZero(date.getUTCHours()) + - ':' + leadingZero(date.getUTCMinutes()) + - ':' + leadingZero(date.getUTCSeconds()) + - '.' + (milliseconds > 99 ? milliseconds : '0' + leadingZero(milliseconds)) + - 'Z'; - } : nativeDateToISOString; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isPrototypeOf = __webpack_require__(23); + + var $TypeError = TypeError; + + module.exports = function (it, Prototype) { + if (isPrototypeOf(Prototype, it)) return it; + throw new $TypeError('Incorrect invocation'); + }; + + + /***/ }), /* 141 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toObject = __webpack_require__(69); - var toPrimitive = __webpack_require__(15); - - var FORCED = __webpack_require__(5)(function () { - return new Date(NaN).toJSON() !== null - || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; - }); - - // `Date.prototype.toJSON` method - // https://tc39.github.io/ecma262/#sec-date.prototype.tojson - __webpack_require__(7)({ target: 'Date', proto: true, forced: FORCED }, { - // eslint-disable-next-line no-unused-vars - toJSON: function toJSON(key) { - var O = toObject(this); - var pv = toPrimitive(O); - return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var anObject = __webpack_require__(45); + var aConstructor = __webpack_require__(142); + var isNullOrUndefined = __webpack_require__(16); + var wellKnownSymbol = __webpack_require__(32); + + var SPECIES = wellKnownSymbol('species'); + + // `SpeciesConstructor` abstract operation + // https://tc39.es/ecma262/#sec-speciesconstructor + module.exports = function (O, defaultConstructor) { + var C = anObject(O).constructor; + var S; + return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S); + }; + + + /***/ }), /* 142 */ - /***/ (function (module, exports, __webpack_require__) { - - var hide = __webpack_require__(19); - var TO_PRIMITIVE = __webpack_require__(43)('toPrimitive'); - var dateToPrimitive = __webpack_require__(143); - var DatePrototype = Date.prototype; - - // `Date.prototype[@@toPrimitive]` method - // https://tc39.github.io/ecma262/#sec-date.prototype-@@toprimitive - if (!(TO_PRIMITIVE in DatePrototype)) hide(DatePrototype, TO_PRIMITIVE, dateToPrimitive); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isConstructor = __webpack_require__(143); + var tryToString = __webpack_require__(30); + + var $TypeError = TypeError; + + // `Assert: IsConstructor(argument) is true` + module.exports = function (argument) { + if (isConstructor(argument)) return argument; + throw new $TypeError(tryToString(argument) + ' is not a constructor'); + }; + + + /***/ }), /* 143 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var toPrimitive = __webpack_require__(15); - - module.exports = function (hint) { - if (hint !== 'string' && hint !== 'number' && hint !== 'default') { - throw TypeError('Incorrect hint'); - } return toPrimitive(anObject(this), hint !== 'number'); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var fails = __webpack_require__(6); + var isCallable = __webpack_require__(20); + var classof = __webpack_require__(77); + var getBuiltIn = __webpack_require__(22); + var inspectSource = __webpack_require__(49); + + var noop = function () { /* empty */ }; + var construct = getBuiltIn('Reflect', 'construct'); + var constructorRegExp = /^\s*(?:class|function)\b/; + var exec = uncurryThis(constructorRegExp.exec); + var INCORRECT_TO_STRING = !constructorRegExp.test(noop); + + var isConstructorModern = function isConstructor(argument) { + if (!isCallable(argument)) return false; + try { + construct(noop, [], argument); + return true; + } catch (error) { + return false; + } + }; + + var isConstructorLegacy = function isConstructor(argument) { + if (!isCallable(argument)) return false; + switch (classof(argument)) { + case 'AsyncFunction': + case 'GeneratorFunction': + case 'AsyncGeneratorFunction': return false; + } + try { + // we can't check .prototype since constructors produced by .bind haven't it + // `Function#toString` throws on some built-it function in some legacy engines + // (for example, `DOMQuad` and similar in FF41-) + return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); + } catch (error) { + return true; + } + }; + + isConstructorLegacy.sham = true; + + // `IsConstructor` abstract operation + // https://tc39.es/ecma262/#sec-isconstructor + module.exports = !construct || fails(function () { + var called; + return isConstructorModern(isConstructorModern.call) + || !isConstructorModern(Object) + || !isConstructorModern(function () { called = true; }) + || called; + }) ? isConstructorLegacy : isConstructorModern; + + + /***/ }), /* 144 */ - /***/ (function (module, exports, __webpack_require__) { - - var DatePrototype = Date.prototype; - var INVALID_DATE = 'Invalid Date'; - var TO_STRING = 'toString'; - var nativeDateToString = DatePrototype[TO_STRING]; - var getTime = DatePrototype.getTime; - - // `Date.prototype.toString` method - // https://tc39.github.io/ecma262/#sec-date.prototype.tostring - if (new Date(NaN) + '' != INVALID_DATE) { - __webpack_require__(22)(DatePrototype, TO_STRING, function toString() { - var value = getTime.call(this); - // eslint-disable-next-line no-self-compare - return value === value ? nativeDateToString.call(this) : INVALID_DATE; - }); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var apply = __webpack_require__(67); + var bind = __webpack_require__(92); + var isCallable = __webpack_require__(20); + var hasOwn = __webpack_require__(37); + var fails = __webpack_require__(6); + var html = __webpack_require__(90); + var arraySlice = __webpack_require__(145); + var createElement = __webpack_require__(41); + var validateArgumentsLength = __webpack_require__(146); + var IS_IOS = __webpack_require__(147); + var IS_NODE = __webpack_require__(126); + + var set = global.setImmediate; + var clear = global.clearImmediate; + var process = global.process; + var Dispatch = global.Dispatch; + var Function = global.Function; + var MessageChannel = global.MessageChannel; + var String = global.String; + var counter = 0; + var queue = {}; + var ONREADYSTATECHANGE = 'onreadystatechange'; + var $location, defer, channel, port; + + fails(function () { + // Deno throws a ReferenceError on `location` access without `--location` flag + $location = global.location; + }); + + var run = function (id) { + if (hasOwn(queue, id)) { + var fn = queue[id]; + delete queue[id]; + fn(); + } + }; + + var runner = function (id) { + return function () { + run(id); + }; + }; + + var eventListener = function (event) { + run(event.data); + }; + + var globalPostMessageDefer = function (id) { + // old engines have not location.origin + global.postMessage(String(id), $location.protocol + '//' + $location.host); + }; + + // Node.js 0.9+ & IE10+ has setImmediate, otherwise: + if (!set || !clear) { + set = function setImmediate(handler) { + validateArgumentsLength(arguments.length, 1); + var fn = isCallable(handler) ? handler : Function(handler); + var args = arraySlice(arguments, 1); + queue[++counter] = function () { + apply(fn, undefined, args); + }; + defer(counter); + return counter; + }; + clear = function clearImmediate(id) { + delete queue[id]; + }; + // Node.js 0.8- + if (IS_NODE) { + defer = function (id) { + process.nextTick(runner(id)); + }; + // Sphere (JS game engine) Dispatch API + } else if (Dispatch && Dispatch.now) { + defer = function (id) { + Dispatch.now(runner(id)); + }; + // Browsers with MessageChannel, includes WebWorkers + // except iOS - https://github.com/zloirock/core-js/issues/624 + } else if (MessageChannel && !IS_IOS) { + channel = new MessageChannel(); + port = channel.port2; + channel.port1.onmessage = eventListener; + defer = bind(port.postMessage, port); + // Browsers with postMessage, skip WebWorkers + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' + } else if ( + global.addEventListener && + isCallable(global.postMessage) && + !global.importScripts && + $location && $location.protocol !== 'file:' && + !fails(globalPostMessageDefer) + ) { + defer = globalPostMessageDefer; + global.addEventListener('message', eventListener, false); + // IE8- + } else if (ONREADYSTATECHANGE in createElement('script')) { + defer = function (id) { + html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () { + html.removeChild(this); + run(id); + }; + }; + // Rest old browsers + } else { + defer = function (id) { + setTimeout(runner(id), 0); + }; + } + } + + module.exports = { + set: set, + clear: clear + }; + + + /***/ }), /* 145 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Function.prototype.bind` method - // https://tc39.github.io/ecma262/#sec-function.prototype.bind - __webpack_require__(7)({ target: 'Function', proto: true }, { - bind: __webpack_require__(146) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + module.exports = uncurryThis([].slice); + + + /***/ }), /* 146 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var aFunction = __webpack_require__(79); - var isObject = __webpack_require__(16); - var arraySlice = [].slice; - var factories = {}; - - var construct = function (C, argsLength, args) { - if (!(argsLength in factories)) { - for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']'; - // eslint-disable-next-line no-new-func - factories[argsLength] = Function('C,a', 'return new C(' + list.join(',') + ')'); - } return factories[argsLength](C, args); - }; - - // `Function.prototype.bind` method implementation - // https://tc39.github.io/ecma262/#sec-function.prototype.bind - module.exports = Function.bind || function bind(that /* , ...args */) { - var fn = aFunction(this); - var partArgs = arraySlice.call(arguments, 1); - var boundFunction = function bound(/* args... */) { - var args = partArgs.concat(arraySlice.call(arguments)); - return this instanceof boundFunction ? construct(fn, args.length, args) : fn.apply(that, args); - }; - if (isObject(fn.prototype)) boundFunction.prototype = fn.prototype; - return boundFunction; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $TypeError = TypeError; + + module.exports = function (passed, required) { + if (passed < required) throw new $TypeError('Not enough arguments'); + return passed; + }; + + + /***/ }), /* 147 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var isObject = __webpack_require__(16); - var definePropertyModule = __webpack_require__(20); - var getPrototypeOf = __webpack_require__(106); - var HAS_INSTANCE = __webpack_require__(43)('hasInstance'); - var FunctionPrototype = Function.prototype; - - // `Function.prototype[@@hasInstance]` method - // https://tc39.github.io/ecma262/#sec-function.prototype-@@hasinstance - if (!(HAS_INSTANCE in FunctionPrototype)) { - definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, { - value: function (O) { - if (typeof this != 'function' || !isObject(O)) return false; - if (!isObject(this.prototype)) return O instanceof this; - // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: - while (O = getPrototypeOf(O)) if (this.prototype === O) return true; - return false; - } - }); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var userAgent = __webpack_require__(27); + + // eslint-disable-next-line redos/no-vulnerable -- safe + module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent); + + + /***/ }), /* 148 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - var defineProperty = __webpack_require__(20).f; - var FunctionPrototype = Function.prototype; - var FunctionPrototypeToString = FunctionPrototype.toString; - var nameRE = /^\s*function ([^ (]*)/; - var NAME = 'name'; - - // Function instances `.name` property - // https://tc39.github.io/ecma262/#sec-function-instances-name - if (DESCRIPTORS && !(NAME in FunctionPrototype)) { - defineProperty(FunctionPrototype, NAME, { - configurable: true, - get: function () { - try { - return FunctionPrototypeToString.call(this).match(nameRE)[1]; - } catch (e) { - return ''; - } - } - }); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var safeGetBuiltIn = __webpack_require__(149); + var bind = __webpack_require__(92); + var macrotask = __webpack_require__(144).set; + var Queue = __webpack_require__(150); + var IS_IOS = __webpack_require__(147); + var IS_IOS_PEBBLE = __webpack_require__(151); + var IS_WEBOS_WEBKIT = __webpack_require__(152); + var IS_NODE = __webpack_require__(126); + + var MutationObserver = global.MutationObserver || global.WebKitMutationObserver; + var document = global.document; + var process = global.process; + var Promise = global.Promise; + var microtask = safeGetBuiltIn('queueMicrotask'); + var notify, toggle, node, promise, then; + + // modern engines have queueMicrotask method + if (!microtask) { + var queue = new Queue(); + + var flush = function () { + var parent, fn; + if (IS_NODE && (parent = process.domain)) parent.exit(); + while (fn = queue.get()) try { + fn(); + } catch (error) { + if (queue.head) notify(); + throw error; + } + if (parent) parent.enter(); + }; + + // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339 + // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898 + if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) { + toggle = true; + node = document.createTextNode(''); + new MutationObserver(flush).observe(node, { characterData: true }); + notify = function () { + node.data = toggle = !toggle; + }; + // environments with maybe non-completely correct, but existent Promise + } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) { + // Promise.resolve without an argument throws an error in LG WebOS 2 + promise = Promise.resolve(undefined); + // workaround of WebKit ~ iOS Safari 10.1 bug + promise.constructor = Promise; + then = bind(promise.then, promise); + notify = function () { + then(flush); + }; + // Node.js without promises + } else if (IS_NODE) { + notify = function () { + process.nextTick(flush); + }; + // for other environments - macrotask based on: + // - setImmediate + // - MessageChannel + // - window.postMessage + // - onreadystatechange + // - setTimeout + } else { + // `webpack` dev server bug on IE global methods - use bind(fn, global) + macrotask = bind(macrotask, global); + notify = function () { + macrotask(flush); + }; + } + + microtask = function (fn) { + if (!queue.head) notify(); + queue.add(fn); + }; + } + + module.exports = microtask; + + + /***/ }), /* 149 */ - /***/ (function (module, exports, __webpack_require__) { - - // JSON[@@toStringTag] property - // https://tc39.github.io/ecma262/#sec-json-@@tostringtag - __webpack_require__(42)(__webpack_require__(2).JSON, 'JSON', true); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var DESCRIPTORS = __webpack_require__(5); + + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + + // Avoid NodeJS experimental warning + module.exports = function (name) { + if (!DESCRIPTORS) return global[name]; + var descriptor = getOwnPropertyDescriptor(global, name); + return descriptor && descriptor.value; + }; + + + /***/ }), /* 150 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // `Map` constructor - // https://tc39.github.io/ecma262/#sec-map-objects - module.exports = __webpack_require__(151)('Map', function (get) { - return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; - }, __webpack_require__(156), true); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var Queue = function () { + this.head = null; + this.tail = null; + }; + + Queue.prototype = { + add: function (item) { + var entry = { item: item, next: null }; + var tail = this.tail; + if (tail) tail.next = entry; + else this.head = entry; + this.tail = entry; + }, + get: function () { + var entry = this.head; + if (entry) { + var next = this.head = entry.next; + if (next === null) this.tail = null; + return entry.item; + } + } + }; + + module.exports = Queue; + + + /***/ }), /* 151 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var global = __webpack_require__(2); - var isForced = __webpack_require__(41); - var $export = __webpack_require__(7); - var redefine = __webpack_require__(22); - var InternalMetadataModule = __webpack_require__(152); - var iterate = __webpack_require__(154); - var anInstance = __webpack_require__(132); - var isObject = __webpack_require__(16); - var fails = __webpack_require__(5); - var checkCorrectnessOfIteration = __webpack_require__(92); - var setToStringTag = __webpack_require__(42); - var inheritIfRequired = __webpack_require__(155); - - module.exports = function (CONSTRUCTOR_NAME, wrapper, common, IS_MAP, IS_WEAK) { - var NativeConstructor = global[CONSTRUCTOR_NAME]; - var NativePrototype = NativeConstructor && NativeConstructor.prototype; - var Constructor = NativeConstructor; - var ADDER = IS_MAP ? 'set' : 'add'; - var exported = {}; - - var fixMethod = function (KEY) { - var nativeMethod = NativePrototype[KEY]; - redefine(NativePrototype, KEY, - KEY == 'add' ? function add(a) { - nativeMethod.call(this, a === 0 ? 0 : a); - return this; - } : KEY == 'delete' ? function (a) { - return IS_WEAK && !isObject(a) ? false : nativeMethod.call(this, a === 0 ? 0 : a); - } : KEY == 'get' ? function get(a) { - return IS_WEAK && !isObject(a) ? undefined : nativeMethod.call(this, a === 0 ? 0 : a); - } : KEY == 'has' ? function has(a) { - return IS_WEAK && !isObject(a) ? false : nativeMethod.call(this, a === 0 ? 0 : a); - } : function set(a, b) { - nativeMethod.call(this, a === 0 ? 0 : a, b); - return this; - } - ); - }; - - // eslint-disable-next-line max-len - if (isForced(CONSTRUCTOR_NAME, typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () { - new NativeConstructor().entries().next(); - })))) { - // create collection constructor - Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); - InternalMetadataModule.REQUIRED = true; - } else if (isForced(CONSTRUCTOR_NAME, true)) { - var instance = new Constructor(); - // early implementations not supports chaining - var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; - // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false - var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); - // most early implementations doesn't supports iterables, most modern - not close it correctly - // eslint-disable-next-line no-new - var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); }); - // for early implementations -0 and +0 not the same - var BUGGY_ZERO = !IS_WEAK && fails(function () { - // V8 ~ Chromium 42- fails only with 5+ elements - var $instance = new NativeConstructor(); - var index = 5; - while (index--) $instance[ADDER](index, index); - return !$instance.has(-0); - }); - - if (!ACCEPT_ITERABLES) { - Constructor = wrapper(function (target, iterable) { - anInstance(target, Constructor, CONSTRUCTOR_NAME); - var that = inheritIfRequired(new NativeConstructor(), target, Constructor); - if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP); - return that; - }); - Constructor.prototype = NativePrototype; - NativePrototype.constructor = Constructor; - } - - if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { - fixMethod('delete'); - fixMethod('has'); - IS_MAP && fixMethod('get'); - } - - if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); - - // weak collections should not contains .clear method - if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear; - } - - exported[CONSTRUCTOR_NAME] = Constructor; - $export({ global: true, forced: Constructor != NativeConstructor }, exported); - - setToStringTag(Constructor, CONSTRUCTOR_NAME); - - if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); - - return Constructor; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var userAgent = __webpack_require__(27); + + module.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined'; + + + /***/ }), /* 152 */ - /***/ (function (module, exports, __webpack_require__) { - - var METADATA = __webpack_require__(29)('meta'); - var FREEZING = __webpack_require__(153); - var isObject = __webpack_require__(16); - var has = __webpack_require__(3); - var defineProperty = __webpack_require__(20).f; - var id = 0; - - var isExtensible = Object.isExtensible || function () { - return true; - }; - - var setMetadata = function (it) { - defineProperty(it, METADATA, { - value: { - objectID: 'O' + ++id, // object ID - weakData: {} // weak collections IDs - } - }); - }; - - var fastKey = function (it, create) { - // return a primitive with prefix - if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; - if (!has(it, METADATA)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return 'F'; - // not necessary to add metadata - if (!create) return 'E'; - // add missing metadata - setMetadata(it); - // return object ID - } return it[METADATA].objectID; - }; - - var getWeakData = function (it, create) { - if (!has(it, METADATA)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return true; - // not necessary to add metadata - if (!create) return false; - // add missing metadata - setMetadata(it); - // return the store of weak collections IDs - } return it[METADATA].weakData; - }; - - // add metadata on freeze-family methods calling - var onFreeze = function (it) { - if (FREEZING && meta.REQUIRED && isExtensible(it) && !has(it, METADATA)) setMetadata(it); - return it; - }; - - var meta = module.exports = { - REQUIRED: false, - fastKey: fastKey, - getWeakData: getWeakData, - onFreeze: onFreeze - }; - - __webpack_require__(30)[METADATA] = true; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var userAgent = __webpack_require__(27); + + module.exports = /web0s(?!.*chrome)/i.test(userAgent); + + + /***/ }), /* 153 */ - /***/ (function (module, exports, __webpack_require__) { - - module.exports = !__webpack_require__(5)(function () { - return Object.isExtensible(Object.preventExtensions({})); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = function (a, b) { + try { + // eslint-disable-next-line no-console -- safe + arguments.length === 1 ? console.error(a) : console.error(a, b); + } catch (error) { /* empty */ } + }; + + + /***/ }), /* 154 */ - /***/ (function (module, exports, __webpack_require__) { - - var anObject = __webpack_require__(21); - var isArrayIteratorMethod = __webpack_require__(95); - var toLength = __webpack_require__(36); - var bind = __webpack_require__(78); - var getIteratorMethod = __webpack_require__(97); - var callWithSafeIterationClosing = __webpack_require__(94); - var BREAK = {}; - - var exports = module.exports = function (iterable, fn, that, ENTRIES, ITERATOR) { - var boundFunction = bind(fn, that, ENTRIES ? 2 : 1); - var iterator, iterFn, index, length, result, step; - - if (ITERATOR) { - iterator = iterable; - } else { - iterFn = getIteratorMethod(iterable); - if (typeof iterFn != 'function') throw TypeError('Target is not iterable'); - // optimisation for array iterators - if (isArrayIteratorMethod(iterFn)) { - for (index = 0, length = toLength(iterable.length); length > index; index++) { - result = ENTRIES ? boundFunction(anObject(step = iterable[index])[0], step[1]) : boundFunction(iterable[index]); - if (result === BREAK) return BREAK; - } return; - } - iterator = iterFn.call(iterable); - } - - while (!(step = iterator.next()).done) { - if (callWithSafeIterationClosing(iterator, boundFunction, step.value, ENTRIES) === BREAK) return BREAK; - } - }; - - exports.BREAK = BREAK; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = function (exec) { + try { + return { error: false, value: exec() }; + } catch (error) { + return { error: true, value: error }; + } + }; + + + /***/ }), /* 155 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var setPrototypeOf = __webpack_require__(108); - - module.exports = function (that, target, C) { - var S = target.constructor; - var P; - if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { - setPrototypeOf(that, P); - } return that; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + + module.exports = global.Promise; + + + /***/ }), /* 156 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var defineProperty = __webpack_require__(20).f; - var create = __webpack_require__(51); - var redefineAll = __webpack_require__(131); - var bind = __webpack_require__(78); - var anInstance = __webpack_require__(132); - var iterate = __webpack_require__(154); - var defineIterator = __webpack_require__(103); - var setSpecies = __webpack_require__(123); - var DESCRIPTORS = __webpack_require__(4); - var fastKey = __webpack_require__(152).fastKey; - var InternalStateModule = __webpack_require__(26); - var setInternalState = InternalStateModule.set; - var internalStateGetterFor = InternalStateModule.getterFor; - - module.exports = { - getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance(that, C, CONSTRUCTOR_NAME); - setInternalState(that, { - type: CONSTRUCTOR_NAME, - index: create(null), - first: undefined, - last: undefined, - size: 0 - }); - if (!DESCRIPTORS) that.size = 0; - if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP); - }); - - var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); - - var define = function (that, key, value) { - var state = getInternalState(that); - var entry = getEntry(that, key); - var previous, index; - // change existing entry - if (entry) { - entry.value = value; - // create new entry - } else { - state.last = entry = { - index: index = fastKey(key, true), - key: key, - value: value, - previous: previous = state.last, - next: undefined, - removed: false - }; - if (!state.first) state.first = entry; - if (previous) previous.next = entry; - if (DESCRIPTORS) state.size++; - else that.size++; - // add to index - if (index !== 'F') state.index[index] = entry; - } return that; - }; - - var getEntry = function (that, key) { - var state = getInternalState(that); - // fast case - var index = fastKey(key); - var entry; - if (index !== 'F') return state.index[index]; - // frozen object case - for (entry = state.first; entry; entry = entry.next) { - if (entry.key == key) return entry; - } - }; - - redefineAll(C.prototype, { - // 23.1.3.1 Map.prototype.clear() - // 23.2.3.2 Set.prototype.clear() - clear: function clear() { - var that = this; - var state = getInternalState(that); - var data = state.index; - var entry = state.first; - while (entry) { - entry.removed = true; - if (entry.previous) entry.previous = entry.previous.next = undefined; - delete data[entry.index]; - entry = entry.next; - } - state.first = state.last = undefined; - if (DESCRIPTORS) state.size = 0; - else that.size = 0; - }, - // 23.1.3.3 Map.prototype.delete(key) - // 23.2.3.4 Set.prototype.delete(value) - 'delete': function (key) { - var that = this; - var state = getInternalState(that); - var entry = getEntry(that, key); - if (entry) { - var next = entry.next; - var prev = entry.previous; - delete state.index[entry.index]; - entry.removed = true; - if (prev) prev.next = next; - if (next) next.previous = prev; - if (state.first == entry) state.first = next; - if (state.last == entry) state.last = prev; - if (DESCRIPTORS) state.size--; - else that.size--; - } return !!entry; - }, - // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) - // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) - forEach: function forEach(callbackfn /* , that = undefined */) { - var state = getInternalState(this); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var entry; - while (entry = entry ? entry.next : state.first) { - boundFunction(entry.value, entry.key, this); - // revert to the last existing entry - while (entry && entry.removed) entry = entry.previous; - } - }, - // 23.1.3.7 Map.prototype.has(key) - // 23.2.3.7 Set.prototype.has(value) - has: function has(key) { - return !!getEntry(this, key); - } - }); - - redefineAll(C.prototype, IS_MAP ? { - // 23.1.3.6 Map.prototype.get(key) - get: function get(key) { - var entry = getEntry(this, key); - return entry && entry.value; - }, - // 23.1.3.9 Map.prototype.set(key, value) - set: function set(key, value) { - return define(this, key === 0 ? 0 : key, value); - } - } : { - // 23.2.3.1 Set.prototype.add(value) - add: function add(value) { - return define(this, value = value === 0 ? 0 : value, value); - } - }); - if (DESCRIPTORS) defineProperty(C.prototype, 'size', { - get: function () { - return getInternalState(this).size; - } - }); - return C; - }, - setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) { - var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator'; - var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); - var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); - // add .keys, .values, .entries, [@@iterator] - // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 - defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) { - setInternalState(this, { - type: ITERATOR_NAME, - target: iterated, - state: getInternalCollectionState(iterated), - kind: kind, - last: undefined - }); - }, function () { - var state = getInternalIteratorState(this); - var kind = state.kind; - var entry = state.last; - // revert to the last existing entry - while (entry && entry.removed) entry = entry.previous; - // get next entry - if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) { - // or finish the iteration - state.target = undefined; - return { value: undefined, done: true }; - } - // return step by kind - if (kind == 'keys') return { value: entry.key, done: false }; - if (kind == 'values') return { value: entry.value, done: false }; - return { value: [entry.key, entry.value], done: false }; - }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); - - // add [@@species], 23.1.2.2, 23.2.2.2 - setSpecies(CONSTRUCTOR_NAME); - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var NativePromiseConstructor = __webpack_require__(155); + var isCallable = __webpack_require__(20); + var isForced = __webpack_require__(66); + var inspectSource = __webpack_require__(49); + var wellKnownSymbol = __webpack_require__(32); + var IS_BROWSER = __webpack_require__(128); + var IS_DENO = __webpack_require__(129); + var IS_PURE = __webpack_require__(35); + var V8_VERSION = __webpack_require__(26); + + var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + var SPECIES = wellKnownSymbol('species'); + var SUBCLASSING = false; + var NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent); + + var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () { + var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor); + var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor); + // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables + // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 + // We can't detect it synchronously, so just check versions + if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true; + // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution + if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true; + // We can't use @@species feature detection in V8 since it causes + // deoptimization and performance degradation + // https://github.com/zloirock/core-js/issues/679 + if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) { + // Detect correctness of subclassing with @@species support + var promise = new NativePromiseConstructor(function (resolve) { resolve(1); }); + var FakePromise = function (exec) { + exec(function () { /* empty */ }, function () { /* empty */ }); + }; + var constructor = promise.constructor = {}; + constructor[SPECIES] = FakePromise; + SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise; + if (!SUBCLASSING) return true; + // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test + } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT; + }); + + module.exports = { + CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR, + REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT, + SUBCLASSING: SUBCLASSING + }; + + + /***/ }), /* 157 */ - /***/ (function (module, exports, __webpack_require__) { - - var log1p = __webpack_require__(158); - var nativeAcosh = Math.acosh; - var log = Math.log; - var sqrt = Math.sqrt; - var LN2 = Math.LN2; - - var FORCED = !nativeAcosh - // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 - || Math.floor(nativeAcosh(Number.MAX_VALUE)) != 710 - // Tor Browser bug: Math.acosh(Infinity) -> NaN - || nativeAcosh(Infinity) != Infinity; - - // `Math.acosh` method - // https://tc39.github.io/ecma262/#sec-math.acosh - __webpack_require__(7)({ target: 'Math', stat: true, forced: FORCED }, { - acosh: function acosh(x) { - return (x = +x) < 1 ? NaN : x > 94906265.62425156 - ? log(x) + LN2 - : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1)); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aCallable = __webpack_require__(29); + + var $TypeError = TypeError; + + var PromiseCapability = function (C) { + var resolve, reject; + this.promise = new C(function ($$resolve, $$reject) { + if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor'); + resolve = $$resolve; + reject = $$reject; + }); + this.resolve = aCallable(resolve); + this.reject = aCallable(reject); + }; + + // `NewPromiseCapability` abstract operation + // https://tc39.es/ecma262/#sec-newpromisecapability + module.exports.f = function (C) { + return new PromiseCapability(C); + }; + + + /***/ }), /* 158 */ - /***/ (function (module, exports) { - - // `Math.log1p` method implementation - // https://tc39.github.io/ecma262/#sec-math.log1p - module.exports = Math.log1p || function log1p(x) { - return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var newPromiseCapabilityModule = __webpack_require__(157); + var perform = __webpack_require__(154); + var iterate = __webpack_require__(91); + var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(159); + + // `Promise.all` method + // https://tc39.es/ecma262/#sec-promise.all + $({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + all: function all(iterable) { + var C = this; + var capability = newPromiseCapabilityModule.f(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var $promiseResolve = aCallable(C.resolve); + var values = []; + var counter = 0; + var remaining = 1; + iterate(iterable, function (promise) { + var index = counter++; + var alreadyCalled = false; + remaining++; + call($promiseResolve, C, promise).then(function (value) { + if (alreadyCalled) return; + alreadyCalled = true; + values[index] = value; + --remaining || resolve(values); + }, reject); + }); + --remaining || resolve(values); + }); + if (result.error) reject(result.value); + return capability.promise; + } + }); + + + /***/ }), /* 159 */ - /***/ (function (module, exports, __webpack_require__) { - - var nativeAsinh = Math.asinh; - var log = Math.log; - var sqrt = Math.sqrt; - - function asinh(x) { - return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : log(x + sqrt(x * x + 1)); - } - - // `Math.asinh` method - // https://tc39.github.io/ecma262/#sec-math.asinh - // Tor Browser bug: Math.asinh(0) -> -0 - __webpack_require__(7)({ target: 'Math', stat: true, forced: !(nativeAsinh && 1 / nativeAsinh(0) > 0) }, { - asinh: asinh - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var NativePromiseConstructor = __webpack_require__(155); + var checkCorrectnessOfIteration = __webpack_require__(160); + var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(156).CONSTRUCTOR; + + module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) { + NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ }); + }); + + + /***/ }), /* 160 */ - /***/ (function (module, exports, __webpack_require__) { - - var nativeAtanh = Math.atanh; - var log = Math.log; - - // `Math.atanh` method - // https://tc39.github.io/ecma262/#sec-math.atanh - // Tor Browser bug: Math.atanh(-0) -> 0 - __webpack_require__(7)({ target: 'Math', stat: true, forced: !(nativeAtanh && 1 / nativeAtanh(-0) < 0) }, { - atanh: function atanh(x) { - return (x = +x) == 0 ? x : log((1 + x) / (1 - x)) / 2; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var wellKnownSymbol = __webpack_require__(32); + + var ITERATOR = wellKnownSymbol('iterator'); + var SAFE_CLOSING = false; + + try { + var called = 0; + var iteratorWithReturn = { + next: function () { + return { done: !!called++ }; + }, + 'return': function () { + SAFE_CLOSING = true; + } + }; + iteratorWithReturn[ITERATOR] = function () { + return this; + }; + // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing + Array.from(iteratorWithReturn, function () { throw 2; }); + } catch (error) { /* empty */ } + + module.exports = function (exec, SKIP_CLOSING) { + try { + if (!SKIP_CLOSING && !SAFE_CLOSING) return false; + } catch (error) { return false; } // workaround of old WebKit + `eval` bug + var ITERATION_SUPPORT = false; + try { + var object = {}; + object[ITERATOR] = function () { + return { + next: function () { + return { done: ITERATION_SUPPORT = true }; + } + }; + }; + exec(object); + } catch (error) { /* empty */ } + return ITERATION_SUPPORT; + }; + + + /***/ }), /* 161 */ - /***/ (function (module, exports, __webpack_require__) { - - var sign = __webpack_require__(162); - var abs = Math.abs; - var pow = Math.pow; - - // `Math.cbrt` method - // https://tc39.github.io/ecma262/#sec-math.cbrt - __webpack_require__(7)({ target: 'Math', stat: true }, { - cbrt: function cbrt(x) { - return sign(x = +x) * pow(abs(x), 1 / 3); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var IS_PURE = __webpack_require__(35); + var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(156).CONSTRUCTOR; + var NativePromiseConstructor = __webpack_require__(155); + var getBuiltIn = __webpack_require__(22); + var isCallable = __webpack_require__(20); + var defineBuiltIn = __webpack_require__(46); + + var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + + // `Promise.prototype.catch` method + // https://tc39.es/ecma262/#sec-promise.prototype.catch + $({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, { + 'catch': function (onRejected) { + return this.then(undefined, onRejected); + } + }); + + // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then` + if (!IS_PURE && isCallable(NativePromiseConstructor)) { + var method = getBuiltIn('Promise').prototype['catch']; + if (NativePromisePrototype['catch'] !== method) { + defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true }); + } + } + + + /***/ }), /* 162 */ - /***/ (function (module, exports) { - - // `Math.sign` method implementation - // https://tc39.github.io/ecma262/#sec-math.sign - module.exports = Math.sign || function sign(x) { - // eslint-disable-next-line no-self-compare - return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var newPromiseCapabilityModule = __webpack_require__(157); + var perform = __webpack_require__(154); + var iterate = __webpack_require__(91); + var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(159); + + // `Promise.race` method + // https://tc39.es/ecma262/#sec-promise.race + $({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + race: function race(iterable) { + var C = this; + var capability = newPromiseCapabilityModule.f(C); + var reject = capability.reject; + var result = perform(function () { + var $promiseResolve = aCallable(C.resolve); + iterate(iterable, function (promise) { + call($promiseResolve, C, promise).then(capability.resolve, reject); + }); + }); + if (result.error) reject(result.value); + return capability.promise; + } + }); + + + /***/ }), /* 163 */ - /***/ (function (module, exports, __webpack_require__) { - - var floor = Math.floor; - var log = Math.log; - var LOG2E = Math.LOG2E; - - // `Math.clz32` method - // https://tc39.github.io/ecma262/#sec-math.clz32 - __webpack_require__(7)({ target: 'Math', stat: true }, { - clz32: function clz32(x) { - return (x >>>= 0) ? 31 - floor(log(x + 0.5) * LOG2E) : 32; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var newPromiseCapabilityModule = __webpack_require__(157); + var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(156).CONSTRUCTOR; + + // `Promise.reject` method + // https://tc39.es/ecma262/#sec-promise.reject + $({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { + reject: function reject(r) { + var capability = newPromiseCapabilityModule.f(this); + var capabilityReject = capability.reject; + capabilityReject(r); + return capability.promise; + } + }); + + + /***/ }), /* 164 */ - /***/ (function (module, exports, __webpack_require__) { - - var expm1 = __webpack_require__(165); - var nativeCosh = Math.cosh; - var abs = Math.abs; - var E = Math.E; - - // `Math.cosh` method - // https://tc39.github.io/ecma262/#sec-math.cosh - __webpack_require__(7)({ target: 'Math', stat: true, forced: !nativeCosh || nativeCosh(710) === Infinity }, { - cosh: function cosh(x) { - var t = expm1(abs(x) - 1) + 1; - return (t + 1 / (t * E * E)) * (E / 2); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var getBuiltIn = __webpack_require__(22); + var IS_PURE = __webpack_require__(35); + var NativePromiseConstructor = __webpack_require__(155); + var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(156).CONSTRUCTOR; + var promiseResolve = __webpack_require__(165); + + var PromiseConstructorWrapper = getBuiltIn('Promise'); + var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR; + + // `Promise.resolve` method + // https://tc39.es/ecma262/#sec-promise.resolve + $({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, { + resolve: function resolve(x) { + return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x); + } + }); + + + /***/ }), /* 165 */ - /***/ (function (module, exports) { - - var nativeExpm1 = Math.expm1; - - // `Math.expm1` method implementation - // https://tc39.github.io/ecma262/#sec-math.expm1 - module.exports = (!nativeExpm1 - // Old FF bug - || nativeExpm1(10) > 22025.465794806719 || nativeExpm1(10) < 22025.4657948067165168 - // Tor Browser bug - || nativeExpm1(-2e-17) != -2e-17 - ) ? function expm1(x) { - return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1; - } : nativeExpm1; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var anObject = __webpack_require__(45); + var isObject = __webpack_require__(19); + var newPromiseCapability = __webpack_require__(157); + + module.exports = function (C, x) { + anObject(C); + if (isObject(x) && x.constructor === C) return x; + var promiseCapability = newPromiseCapability.f(C); + var resolve = promiseCapability.resolve; + resolve(x); + return promiseCapability.promise; + }; + + + /***/ }), /* 166 */ - /***/ (function (module, exports, __webpack_require__) { - - var expm1Implementation = __webpack_require__(165); - - // `Math.expm1` method - // https://tc39.github.io/ecma262/#sec-math.expm1 - __webpack_require__(7)({ target: 'Math', stat: true, forced: expm1Implementation != Math.expm1 }, { - expm1: expm1Implementation + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var newPromiseCapabilityModule = __webpack_require__(157); + var perform = __webpack_require__(154); + var iterate = __webpack_require__(91); + var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(159); + + // `Promise.allSettled` method + // https://tc39.es/ecma262/#sec-promise.allsettled + $({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + allSettled: function allSettled(iterable) { + var C = this; + var capability = newPromiseCapabilityModule.f(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var promiseResolve = aCallable(C.resolve); + var values = []; + var counter = 0; + var remaining = 1; + iterate(iterable, function (promise) { + var index = counter++; + var alreadyCalled = false; + remaining++; + call(promiseResolve, C, promise).then(function (value) { + if (alreadyCalled) return; + alreadyCalled = true; + values[index] = { status: 'fulfilled', value: value }; + --remaining || resolve(values); + }, function (error) { + if (alreadyCalled) return; + alreadyCalled = true; + values[index] = { status: 'rejected', reason: error }; + --remaining || resolve(values); }); - - - /***/ -}), + }); + --remaining || resolve(values); + }); + if (result.error) reject(result.value); + return capability.promise; + } + }); + + + /***/ }), /* 167 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.fround` method - // https://tc39.github.io/ecma262/#sec-math.fround - __webpack_require__(7)({ target: 'Math', stat: true }, { fround: __webpack_require__(168) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var getBuiltIn = __webpack_require__(22); + var newPromiseCapabilityModule = __webpack_require__(157); + var perform = __webpack_require__(154); + var iterate = __webpack_require__(91); + var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(159); + + var PROMISE_ANY_ERROR = 'No one promise resolved'; + + // `Promise.any` method + // https://tc39.es/ecma262/#sec-promise.any + $({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + any: function any(iterable) { + var C = this; + var AggregateError = getBuiltIn('AggregateError'); + var capability = newPromiseCapabilityModule.f(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var promiseResolve = aCallable(C.resolve); + var errors = []; + var counter = 0; + var remaining = 1; + var alreadyResolved = false; + iterate(iterable, function (promise) { + var index = counter++; + var alreadyRejected = false; + remaining++; + call(promiseResolve, C, promise).then(function (value) { + if (alreadyRejected || alreadyResolved) return; + alreadyResolved = true; + resolve(value); + }, function (error) { + if (alreadyRejected || alreadyResolved) return; + alreadyRejected = true; + errors[index] = error; + --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR)); + }); + }); + --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR)); + }); + if (result.error) reject(result.value); + return capability.promise; + } + }); + + + /***/ }), /* 168 */ - /***/ (function (module, exports, __webpack_require__) { - - var sign = __webpack_require__(162); - var pow = Math.pow; - var EPSILON = pow(2, -52); - var EPSILON32 = pow(2, -23); - var MAX32 = pow(2, 127) * (2 - EPSILON32); - var MIN32 = pow(2, -126); - - var roundTiesToEven = function (n) { - return n + 1 / EPSILON - 1 / EPSILON; - }; - - // `Math.fround` method implementation - // https://tc39.github.io/ecma262/#sec-math.fround - module.exports = Math.fround || function fround(x) { - var $abs = Math.abs(x); - var $sign = sign(x); - var a, result; - if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; - a = (1 + EPSILON32 / EPSILON) * $abs; - result = a - (a - $abs); - // eslint-disable-next-line no-self-compare - if (result > MAX32 || result != result) return $sign * Infinity; - return $sign * result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var IS_PURE = __webpack_require__(35); + var NativePromiseConstructor = __webpack_require__(155); + var fails = __webpack_require__(6); + var getBuiltIn = __webpack_require__(22); + var isCallable = __webpack_require__(20); + var speciesConstructor = __webpack_require__(141); + var promiseResolve = __webpack_require__(165); + var defineBuiltIn = __webpack_require__(46); + + var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + + // Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829 + var NON_GENERIC = !!NativePromiseConstructor && fails(function () { + // eslint-disable-next-line unicorn/no-thenable -- required for testing + NativePromisePrototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ }); + }); + + // `Promise.prototype.finally` method + // https://tc39.es/ecma262/#sec-promise.prototype.finally + $({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, { + 'finally': function (onFinally) { + var C = speciesConstructor(this, getBuiltIn('Promise')); + var isFunction = isCallable(onFinally); + return this.then( + isFunction ? function (x) { + return promiseResolve(C, onFinally()).then(function () { return x; }); + } : onFinally, + isFunction ? function (e) { + return promiseResolve(C, onFinally()).then(function () { throw e; }); + } : onFinally + ); + } + }); + + // makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then` + if (!IS_PURE && isCallable(NativePromiseConstructor)) { + var method = getBuiltIn('Promise').prototype['finally']; + if (NativePromisePrototype['finally'] !== method) { + defineBuiltIn(NativePromisePrototype, 'finally', method, { unsafe: true }); + } + } + + + /***/ }), /* 169 */ - /***/ (function (module, exports, __webpack_require__) { - - var abs = Math.abs; - var sqrt = Math.sqrt; - - // `Math.hypot` method - // https://tc39.github.io/ecma262/#sec-math.hypot - __webpack_require__(7)({ target: 'Math', stat: true }, { - hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars - var sum = 0; - var i = 0; - var aLen = arguments.length; - var larg = 0; - var arg, div; - while (i < aLen) { - arg = abs(arguments[i++]); - if (larg < arg) { - div = larg / arg; - sum = sum * div * div + 1; - larg = arg; - } else if (arg > 0) { - div = arg / larg; - sum += div * div; - } else sum += arg; - } - return larg === Infinity ? Infinity : larg * sqrt(sum); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var newPromiseCapabilityModule = __webpack_require__(157); + + // `Promise.withResolvers` method + // https://github.com/tc39/proposal-promise-with-resolvers + $({ target: 'Promise', stat: true }, { + withResolvers: function withResolvers() { + var promiseCapability = newPromiseCapabilityModule.f(this); + return { + promise: promiseCapability.promise, + resolve: promiseCapability.resolve, + reject: promiseCapability.reject + }; + } + }); + + + /***/ }), /* 170 */ - /***/ (function (module, exports, __webpack_require__) { - - var nativeImul = Math.imul; - - var FORCED = __webpack_require__(5)(function () { - return nativeImul(0xffffffff, 5) != -5 || nativeImul.length != 2; - }); - - // `Math.imul` method - // https://tc39.github.io/ecma262/#sec-math.imul - // some WebKit versions fails with big numbers, some has wrong arity - __webpack_require__(7)({ target: 'Math', stat: true, forced: FORCED }, { - imul: function imul(x, y) { - var UINT16 = 0xffff; - var xn = +x; - var yn = +y; - var xl = UINT16 & xn; - var yl = UINT16 & yn; - return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var setToStringTag = __webpack_require__(138); + + $({ global: true }, { Reflect: {} }); + + // Reflect[@@toStringTag] property + // https://tc39.es/ecma262/#sec-reflect-@@tostringtag + setToStringTag(global.Reflect, 'Reflect', true); + + + /***/ }), /* 171 */ - /***/ (function (module, exports, __webpack_require__) { - - var log = Math.log; - var LOG10E = Math.LOG10E; - - // `Math.log10` method - // https://tc39.github.io/ecma262/#sec-math.log10 - __webpack_require__(7)({ target: 'Math', stat: true }, { - log10: function log10(x) { - return log(x) * LOG10E; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var DESCRIPTORS = __webpack_require__(5); + var defineBuiltInAccessor = __webpack_require__(118); + var regExpFlags = __webpack_require__(172); + var fails = __webpack_require__(6); + + // babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError + var RegExp = global.RegExp; + var RegExpPrototype = RegExp.prototype; + + var FORCED = DESCRIPTORS && fails(function () { + var INDICES_SUPPORT = true; + try { + RegExp('.', 'd'); + } catch (error) { + INDICES_SUPPORT = false; + } + + var O = {}; + // modern V8 bug + var calls = ''; + var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy'; + + var addGetter = function (key, chr) { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty(O, key, { get: function () { + calls += chr; + return true; + } }); + }; + + var pairs = { + dotAll: 's', + global: 'g', + ignoreCase: 'i', + multiline: 'm', + sticky: 'y' + }; + + if (INDICES_SUPPORT) pairs.hasIndices = 'd'; + + for (var key in pairs) addGetter(key, pairs[key]); + + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var result = Object.getOwnPropertyDescriptor(RegExpPrototype, 'flags').get.call(O); + + return result !== expected || calls !== expected; + }); + + // `RegExp.prototype.flags` getter + // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags + if (FORCED) defineBuiltInAccessor(RegExpPrototype, 'flags', { + configurable: true, + get: regExpFlags + }); + + + /***/ }), /* 172 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.log1p` method - // https://tc39.github.io/ecma262/#sec-math.log1p - __webpack_require__(7)({ target: 'Math', stat: true }, { log1p: __webpack_require__(158) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var anObject = __webpack_require__(45); + + // `RegExp.prototype.flags` getter implementation + // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags + module.exports = function () { + var that = anObject(this); + var result = ''; + if (that.hasIndices) result += 'd'; + if (that.global) result += 'g'; + if (that.ignoreCase) result += 'i'; + if (that.multiline) result += 'm'; + if (that.dotAll) result += 's'; + if (that.unicode) result += 'u'; + if (that.unicodeSets) result += 'v'; + if (that.sticky) result += 'y'; + return result; + }; + + + /***/ }), /* 173 */ - /***/ (function (module, exports, __webpack_require__) { - - var log = Math.log; - var LN2 = Math.LN2; - - // `Math.log2` method - // https://tc39.github.io/ecma262/#sec-math.log2 - __webpack_require__(7)({ target: 'Math', stat: true }, { - log2: function log2(x) { - return log(x) / LN2; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var requireObjectCoercible = __webpack_require__(15); + var toIntegerOrInfinity = __webpack_require__(60); + var toString = __webpack_require__(76); + var fails = __webpack_require__(6); + + var charAt = uncurryThis(''.charAt); + + var FORCED = fails(function () { + // eslint-disable-next-line es/no-array-string-prototype-at -- safe + return '𠮷'.at(-2) !== '\uD842'; + }); + + // `String.prototype.at` method + // https://tc39.es/ecma262/#sec-string.prototype.at + $({ target: 'String', proto: true, forced: FORCED }, { + at: function at(index) { + var S = toString(requireObjectCoercible(this)); + var len = S.length; + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : charAt(S, k); + } + }); + + + /***/ }), /* 174 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.sign` method - // https://tc39.github.io/ecma262/#sec-math.sign - __webpack_require__(7)({ target: 'Math', stat: true }, { sign: __webpack_require__(162) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var requireObjectCoercible = __webpack_require__(15); + var toString = __webpack_require__(76); + + var charCodeAt = uncurryThis(''.charCodeAt); + + // `String.prototype.isWellFormed` method + // https://github.com/tc39/proposal-is-usv-string + $({ target: 'String', proto: true }, { + isWellFormed: function isWellFormed() { + var S = toString(requireObjectCoercible(this)); + var length = S.length; + for (var i = 0; i < length; i++) { + var charCode = charCodeAt(S, i); + // single UTF-16 code unit + if ((charCode & 0xF800) !== 0xD800) continue; + // unpaired surrogate + if (charCode >= 0xDC00 || ++i >= length || (charCodeAt(S, i) & 0xFC00) !== 0xDC00) return false; + } return true; + } + }); + + + /***/ }), /* 175 */ - /***/ (function (module, exports, __webpack_require__) { - - var expm1 = __webpack_require__(165); - var abs = Math.abs; - var exp = Math.exp; - var E = Math.E; - - var FORCED = __webpack_require__(5)(function () { - return Math.sinh(-2e-17) != -2e-17; - }); - - // `Math.sinh` method - // https://tc39.github.io/ecma262/#sec-math.sinh - // V8 near Chromium 38 has a problem with very small numbers - __webpack_require__(7)({ target: 'Math', stat: true, forced: FORCED }, { - sinh: function sinh(x) { - return abs(x = +x) < 1 ? (expm1(x) - expm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (E / 2); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var uncurryThis = __webpack_require__(13); + var requireObjectCoercible = __webpack_require__(15); + var isCallable = __webpack_require__(20); + var isNullOrUndefined = __webpack_require__(16); + var isRegExp = __webpack_require__(176); + var toString = __webpack_require__(76); + var getMethod = __webpack_require__(28); + var getRegExpFlags = __webpack_require__(177); + var getSubstitution = __webpack_require__(178); + var wellKnownSymbol = __webpack_require__(32); + var IS_PURE = __webpack_require__(35); + + var REPLACE = wellKnownSymbol('replace'); + var $TypeError = TypeError; + var indexOf = uncurryThis(''.indexOf); + var replace = uncurryThis(''.replace); + var stringSlice = uncurryThis(''.slice); + var max = Math.max; + + // `String.prototype.replaceAll` method + // https://tc39.es/ecma262/#sec-string.prototype.replaceall + $({ target: 'String', proto: true }, { + replaceAll: function replaceAll(searchValue, replaceValue) { + var O = requireObjectCoercible(this); + var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement; + var position = 0; + var endOfLastMatch = 0; + var result = ''; + if (!isNullOrUndefined(searchValue)) { + IS_REG_EXP = isRegExp(searchValue); + if (IS_REG_EXP) { + flags = toString(requireObjectCoercible(getRegExpFlags(searchValue))); + if (!~indexOf(flags, 'g')) throw new $TypeError('`.replaceAll` does not allow non-global regexes'); + } + replacer = getMethod(searchValue, REPLACE); + if (replacer) { + return call(replacer, searchValue, O, replaceValue); + } else if (IS_PURE && IS_REG_EXP) { + return replace(toString(O), searchValue, replaceValue); + } + } + string = toString(O); + searchString = toString(searchValue); + functionalReplace = isCallable(replaceValue); + if (!functionalReplace) replaceValue = toString(replaceValue); + searchLength = searchString.length; + advanceBy = max(1, searchLength); + position = indexOf(string, searchString); + while (position !== -1) { + replacement = functionalReplace + ? toString(replaceValue(searchString, position, string)) + : getSubstitution(searchString, string, position, [], undefined, replaceValue); + result += stringSlice(string, endOfLastMatch, position) + replacement; + endOfLastMatch = position + searchLength; + position = position + advanceBy > string.length ? -1 : indexOf(string, searchString, position + advanceBy); + } + if (endOfLastMatch < string.length) { + result += stringSlice(string, endOfLastMatch); + } + return result; + } + }); + + + /***/ }), /* 176 */ - /***/ (function (module, exports, __webpack_require__) { - - var expm1 = __webpack_require__(165); - var exp = Math.exp; - - // `Math.tanh` method - // https://tc39.github.io/ecma262/#sec-math.tanh - __webpack_require__(7)({ target: 'Math', stat: true }, { - tanh: function tanh(x) { - var a = expm1(x = +x); - var b = expm1(-x); - return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x)); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isObject = __webpack_require__(19); + var classof = __webpack_require__(14); + var wellKnownSymbol = __webpack_require__(32); + + var MATCH = wellKnownSymbol('match'); + + // `IsRegExp` abstract operation + // https://tc39.es/ecma262/#sec-isregexp + module.exports = function (it) { + var isRegExp; + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp'); + }; + + + /***/ }), /* 177 */ - /***/ (function (module, exports, __webpack_require__) { - - // Math[@@toStringTag] property - // https://tc39.github.io/ecma262/#sec-math-@@tostringtag - __webpack_require__(42)(Math, 'Math', true); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var hasOwn = __webpack_require__(37); + var isPrototypeOf = __webpack_require__(23); + var regExpFlags = __webpack_require__(172); + + var RegExpPrototype = RegExp.prototype; + + module.exports = function (R) { + var flags = R.flags; + return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R) + ? call(regExpFlags, R) : flags; + }; + + + /***/ }), /* 178 */ - /***/ (function (module, exports, __webpack_require__) { - - var ceil = Math.ceil; - var floor = Math.floor; - - // `Math.trunc` method - // https://tc39.github.io/ecma262/#sec-math.trunc - __webpack_require__(7)({ target: 'Math', stat: true }, { - trunc: function trunc(it) { - return (it > 0 ? floor : ceil)(it); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var toObject = __webpack_require__(38); + + var floor = Math.floor; + var charAt = uncurryThis(''.charAt); + var replace = uncurryThis(''.replace); + var stringSlice = uncurryThis(''.slice); + // eslint-disable-next-line redos/no-vulnerable -- safe + var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; + var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; + + // `GetSubstitution` abstract operation + // https://tc39.es/ecma262/#sec-getsubstitution + module.exports = function (matched, str, position, captures, namedCaptures, replacement) { + var tailPos = position + matched.length; + var m = captures.length; + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; + if (namedCaptures !== undefined) { + namedCaptures = toObject(namedCaptures); + symbols = SUBSTITUTION_SYMBOLS; + } + return replace(replacement, symbols, function (match, ch) { + var capture; + switch (charAt(ch, 0)) { + case '$': return '$'; + case '&': return matched; + case '`': return stringSlice(str, 0, position); + case "'": return stringSlice(str, tailPos); + case '<': + capture = namedCaptures[stringSlice(ch, 1, -1)]; + break; + default: // \d\d? + var n = +ch; + if (n === 0) return match; + if (n > m) { + var f = floor(n / 10); + if (f === 0) return match; + if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1); + return match; + } + capture = captures[n - 1]; + } + return capture === undefined ? '' : capture; + }); + }; + + + /***/ }), /* 179 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var global = __webpack_require__(2); - var isForced = __webpack_require__(41); - var has = __webpack_require__(3); - var classof = __webpack_require__(13); - var inheritIfRequired = __webpack_require__(155); - var toPrimitive = __webpack_require__(15); - var fails = __webpack_require__(5); - var getOwnPropertyNames = __webpack_require__(33).f; - var getOwnPropertyDescriptor = __webpack_require__(8).f; - var defineProperty = __webpack_require__(20).f; - var internalStringTrim = __webpack_require__(180); - var NUMBER = 'Number'; - var NativeNumber = global[NUMBER]; - var NumberPrototype = NativeNumber.prototype; - - // Opera ~12 has broken Object#toString - var BROKEN_CLASSOF = classof(__webpack_require__(51)(NumberPrototype)) == NUMBER; - var NATIVE_TRIM = 'trim' in String.prototype; - - // `ToNumber` abstract operation - // https://tc39.github.io/ecma262/#sec-tonumber - var toNumber = function (argument) { - var it = toPrimitive(argument, false); - var first, third, radix, maxCode, digits, length, i, code; - if (typeof it == 'string' && it.length > 2) { - it = NATIVE_TRIM ? it.trim() : internalStringTrim(it, 3); - first = it.charCodeAt(0); - if (first === 43 || first === 45) { - third = it.charCodeAt(2); - if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix - } else if (first === 48) { - switch (it.charCodeAt(1)) { - case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i - case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i - default: return +it; - } - digits = it.slice(2); - length = digits.length; - for (i = 0; i < length; i++) { - code = digits.charCodeAt(i); - // parseInt parses a string to a first unavailable symbol - // but ToNumber should return NaN if a string contains unavailable symbols - if (code < 48 || code > maxCode) return NaN; - } return parseInt(digits, radix); - } - } return +it; - }; - - // `Number` constructor - // https://tc39.github.io/ecma262/#sec-number-constructor - if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) { - var NumberWrapper = function Number(value) { - var it = arguments.length < 1 ? 0 : value; - var that = this; - return that instanceof NumberWrapper - // check on 1..constructor(foo) case - && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(that); }) : classof(that) != NUMBER) - ? inheritIfRequired(new NativeNumber(toNumber(it)), that, NumberWrapper) : toNumber(it); - }; - for (var keys = __webpack_require__(4) ? getOwnPropertyNames(NativeNumber) : ( - // ES3: - 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + - // ES2015 (in case, if modules with ES2015 Number statics required before): - 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + - 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger' - ).split(','), j = 0, key; keys.length > j; j++) { - if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) { - defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key)); - } - } - NumberWrapper.prototype = NumberPrototype; - NumberPrototype.constructor = NumberWrapper; - __webpack_require__(22)(global, NUMBER, NumberWrapper); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var uncurryThis = __webpack_require__(13); + var requireObjectCoercible = __webpack_require__(15); + var toString = __webpack_require__(76); + var fails = __webpack_require__(6); + + var $Array = Array; + var charAt = uncurryThis(''.charAt); + var charCodeAt = uncurryThis(''.charCodeAt); + var join = uncurryThis([].join); + // eslint-disable-next-line es/no-string-prototype-iswellformed-towellformed -- safe + var $toWellFormed = ''.toWellFormed; + var REPLACEMENT_CHARACTER = '\uFFFD'; + + // Safari bug + var TO_STRING_CONVERSION_BUG = $toWellFormed && fails(function () { + return call($toWellFormed, 1) !== '1'; + }); + + // `String.prototype.toWellFormed` method + // https://github.com/tc39/proposal-is-usv-string + $({ target: 'String', proto: true, forced: TO_STRING_CONVERSION_BUG }, { + toWellFormed: function toWellFormed() { + var S = toString(requireObjectCoercible(this)); + if (TO_STRING_CONVERSION_BUG) return call($toWellFormed, S); + var length = S.length; + var result = $Array(length); + for (var i = 0; i < length; i++) { + var charCode = charCodeAt(S, i); + // single UTF-16 code unit + if ((charCode & 0xF800) !== 0xD800) result[i] = charAt(S, i); + // unpaired surrogate + else if (charCode >= 0xDC00 || i + 1 >= length || (charCodeAt(S, i + 1) & 0xFC00) !== 0xDC00) result[i] = REPLACEMENT_CHARACTER; + // surrogate pair + else { + result[i] = charAt(S, i); + result[++i] = charAt(S, i); + } + } return join(result, ''); + } + }); + + + /***/ }), /* 180 */ - /***/ (function (module, exports, __webpack_require__) { - - var requireObjectCoercible = __webpack_require__(14); - var whitespace = '[' + __webpack_require__(181) + ']'; - var ltrim = RegExp('^' + whitespace + whitespace + '*'); - var rtrim = RegExp(whitespace + whitespace + '*$'); - - // 1 -> String#trimStart - // 2 -> String#trimEnd - // 3 -> String#trim - module.exports = function (string, TYPE) { - string = String(requireObjectCoercible(string)); - if (TYPE & 1) string = string.replace(ltrim, ''); - if (TYPE & 2) string = string.replace(rtrim, ''); - return string; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var ArrayBufferViewCore = __webpack_require__(181); + var lengthOfArrayLike = __webpack_require__(62); + var toIntegerOrInfinity = __webpack_require__(60); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.at` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.at + exportTypedArrayMethod('at', function at(index) { + var O = aTypedArray(this); + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : O[k]; + }); + + + /***/ }), /* 181 */ - /***/ (function (module, exports) { - - // a string of all valid unicode whitespaces - // eslint-disable-next-line max-len - module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var NATIVE_ARRAY_BUFFER = __webpack_require__(182); + var DESCRIPTORS = __webpack_require__(5); + var global = __webpack_require__(3); + var isCallable = __webpack_require__(20); + var isObject = __webpack_require__(19); + var hasOwn = __webpack_require__(37); + var classof = __webpack_require__(77); + var tryToString = __webpack_require__(30); + var createNonEnumerableProperty = __webpack_require__(42); + var defineBuiltIn = __webpack_require__(46); + var defineBuiltInAccessor = __webpack_require__(118); + var isPrototypeOf = __webpack_require__(23); + var getPrototypeOf = __webpack_require__(85); + var setPrototypeOf = __webpack_require__(69); + var wellKnownSymbol = __webpack_require__(32); + var uid = __webpack_require__(39); + var InternalStateModule = __webpack_require__(50); + + var enforceInternalState = InternalStateModule.enforce; + var getInternalState = InternalStateModule.get; + var Int8Array = global.Int8Array; + var Int8ArrayPrototype = Int8Array && Int8Array.prototype; + var Uint8ClampedArray = global.Uint8ClampedArray; + var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; + var TypedArray = Int8Array && getPrototypeOf(Int8Array); + var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype); + var ObjectPrototype = Object.prototype; + var TypeError = global.TypeError; + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG'); + var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor'; + // Fixing native typed arrays in Opera Presto crashes the browser, see #595 + var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera'; + var TYPED_ARRAY_TAG_REQUIRED = false; + var NAME, Constructor, Prototype; + + var TypedArrayConstructorsList = { + Int8Array: 1, + Uint8Array: 1, + Uint8ClampedArray: 1, + Int16Array: 2, + Uint16Array: 2, + Int32Array: 4, + Uint32Array: 4, + Float32Array: 4, + Float64Array: 8 + }; + + var BigIntArrayConstructorsList = { + BigInt64Array: 8, + BigUint64Array: 8 + }; + + var isView = function isView(it) { + if (!isObject(it)) return false; + var klass = classof(it); + return klass === 'DataView' + || hasOwn(TypedArrayConstructorsList, klass) + || hasOwn(BigIntArrayConstructorsList, klass); + }; + + var getTypedArrayConstructor = function (it) { + var proto = getPrototypeOf(it); + if (!isObject(proto)) return; + var state = getInternalState(proto); + return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto); + }; + + var isTypedArray = function (it) { + if (!isObject(it)) return false; + var klass = classof(it); + return hasOwn(TypedArrayConstructorsList, klass) + || hasOwn(BigIntArrayConstructorsList, klass); + }; + + var aTypedArray = function (it) { + if (isTypedArray(it)) return it; + throw new TypeError('Target is not a typed array'); + }; + + var aTypedArrayConstructor = function (C) { + if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C; + throw new TypeError(tryToString(C) + ' is not a typed array constructor'); + }; + + var exportTypedArrayMethod = function (KEY, property, forced, options) { + if (!DESCRIPTORS) return; + if (forced) for (var ARRAY in TypedArrayConstructorsList) { + var TypedArrayConstructor = global[ARRAY]; + if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try { + delete TypedArrayConstructor.prototype[KEY]; + } catch (error) { + // old WebKit bug - some methods are non-configurable + try { + TypedArrayConstructor.prototype[KEY] = property; + } catch (error2) { /* empty */ } + } + } + if (!TypedArrayPrototype[KEY] || forced) { + defineBuiltIn(TypedArrayPrototype, KEY, forced ? property + : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options); + } + }; + + var exportTypedArrayStaticMethod = function (KEY, property, forced) { + var ARRAY, TypedArrayConstructor; + if (!DESCRIPTORS) return; + if (setPrototypeOf) { + if (forced) for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global[ARRAY]; + if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try { + delete TypedArrayConstructor[KEY]; + } catch (error) { /* empty */ } + } + if (!TypedArray[KEY] || forced) { + // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable + try { + return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property); + } catch (error) { /* empty */ } + } else return; + } + for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global[ARRAY]; + if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { + defineBuiltIn(TypedArrayConstructor, KEY, property); + } + } + }; + + for (NAME in TypedArrayConstructorsList) { + Constructor = global[NAME]; + Prototype = Constructor && Constructor.prototype; + if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; + else NATIVE_ARRAY_BUFFER_VIEWS = false; + } + + for (NAME in BigIntArrayConstructorsList) { + Constructor = global[NAME]; + Prototype = Constructor && Constructor.prototype; + if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; + } + + // WebKit bug - typed arrays constructors prototype is Object.prototype + if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) { + // eslint-disable-next-line no-shadow -- safe + TypedArray = function TypedArray() { + throw new TypeError('Incorrect invocation'); + }; + if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { + if (global[NAME]) setPrototypeOf(global[NAME], TypedArray); + } + } + + if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { + TypedArrayPrototype = TypedArray.prototype; + if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { + if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype); + } + } + + // WebKit bug - one more object in Uint8ClampedArray prototype chain + if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { + setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); + } + + if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) { + TYPED_ARRAY_TAG_REQUIRED = true; + defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, { + configurable: true, + get: function () { + return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined; + } + }); + for (NAME in TypedArrayConstructorsList) if (global[NAME]) { + createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME); + } + } + + module.exports = { + NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS, + TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG, + aTypedArray: aTypedArray, + aTypedArrayConstructor: aTypedArrayConstructor, + exportTypedArrayMethod: exportTypedArrayMethod, + exportTypedArrayStaticMethod: exportTypedArrayStaticMethod, + getTypedArrayConstructor: getTypedArrayConstructor, + isView: isView, + isTypedArray: isTypedArray, + TypedArray: TypedArray, + TypedArrayPrototype: TypedArrayPrototype + }; + + + /***/ }), /* 182 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Number.EPSILON` constant - // https://tc39.github.io/ecma262/#sec-number.epsilon - __webpack_require__(7)({ target: 'Number', stat: true }, { EPSILON: Math.pow(2, -52) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // eslint-disable-next-line es/no-typed-arrays -- safe + module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined'; + + + /***/ }), /* 183 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Number.isFinite` method - // https://tc39.github.io/ecma262/#sec-number.isfinite - __webpack_require__(7)({ target: 'Number', stat: true }, { - isFinite: __webpack_require__(184) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var ArrayBufferViewCore = __webpack_require__(181); + var $findLast = __webpack_require__(103).findLast; + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.findLast` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.findlast + exportTypedArrayMethod('findLast', function findLast(predicate /* , thisArg */) { + return $findLast(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); + }); + + + /***/ }), /* 184 */ - /***/ (function (module, exports, __webpack_require__) { - - var globalIsFinite = __webpack_require__(2).isFinite; - - // `Number.isFinite` method - // https://tc39.github.io/ecma262/#sec-number.isfinite - module.exports = Number.isFinite || function isFinite(it) { - return typeof it == 'number' && globalIsFinite(it); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var ArrayBufferViewCore = __webpack_require__(181); + var $findLastIndex = __webpack_require__(103).findLastIndex; + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.findLastIndex` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.findlastindex + exportTypedArrayMethod('findLastIndex', function findLastIndex(predicate /* , thisArg */) { + return $findLastIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); + }); + + + /***/ }), /* 185 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Number.isInteger` method - // https://tc39.github.io/ecma262/#sec-number.isinteger - __webpack_require__(7)({ target: 'Number', stat: true }, { - isInteger: __webpack_require__(186) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var call = __webpack_require__(7); + var ArrayBufferViewCore = __webpack_require__(181); + var lengthOfArrayLike = __webpack_require__(62); + var toOffset = __webpack_require__(186); + var toIndexedObject = __webpack_require__(38); + var fails = __webpack_require__(6); + + var RangeError = global.RangeError; + var Int8Array = global.Int8Array; + var Int8ArrayPrototype = Int8Array && Int8Array.prototype; + var $set = Int8ArrayPrototype && Int8ArrayPrototype.set; + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + + var WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS = !fails(function () { + // eslint-disable-next-line es/no-typed-arrays -- required for testing + var array = new Uint8ClampedArray(2); + call($set, array, { length: 1, 0: 3 }, 1); + return array[1] !== 3; + }); + + // https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other + var TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function () { + var array = new Int8Array(2); + array.set(1); + array.set('2', 1); + return array[0] !== 0 || array[1] !== 2; + }); + + // `%TypedArray%.prototype.set` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.set + exportTypedArrayMethod('set', function set(arrayLike /* , offset */) { + aTypedArray(this); + var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1); + var src = toIndexedObject(arrayLike); + if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) return call($set, this, src, offset); + var length = this.length; + var len = lengthOfArrayLike(src); + var index = 0; + if (len + offset > length) throw new RangeError('Wrong length'); + while (index < len) this[offset + index] = src[index++]; + }, !WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG); + + + /***/ }), /* 186 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var floor = Math.floor; - - // `Number.isInteger` method implementation - // https://tc39.github.io/ecma262/#sec-number.isinteger - module.exports = function isInteger(it) { - return !isObject(it) && isFinite(it) && floor(it) === it; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toPositiveInteger = __webpack_require__(187); + + var $RangeError = RangeError; + + module.exports = function (it, BYTES) { + var offset = toPositiveInteger(it); + if (offset % BYTES) throw new $RangeError('Wrong offset'); + return offset; + }; + + + /***/ }), /* 187 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Number.isNaN` method - // https://tc39.github.io/ecma262/#sec-number.isnan - __webpack_require__(7)({ target: 'Number', stat: true }, { - isNaN: function isNaN(number) { - // eslint-disable-next-line no-self-compare - return number != number; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toIntegerOrInfinity = __webpack_require__(60); + + var $RangeError = RangeError; + + module.exports = function (it) { + var result = toIntegerOrInfinity(it); + if (result < 0) throw new $RangeError("The argument can't be less than 0"); + return result; + }; + + + /***/ }), /* 188 */ - /***/ (function (module, exports, __webpack_require__) { - - var isInteger = __webpack_require__(186); - var abs = Math.abs; - - // `Number.isSafeInteger` method - // https://tc39.github.io/ecma262/#sec-number.issafeinteger - __webpack_require__(7)({ target: 'Number', stat: true }, { - isSafeInteger: function isSafeInteger(number) { - return isInteger(number) && abs(number) <= 0x1fffffffffffff; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var arrayToReversed = __webpack_require__(110); + var ArrayBufferViewCore = __webpack_require__(181); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + + // `%TypedArray%.prototype.toReversed` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.toreversed + exportTypedArrayMethod('toReversed', function toReversed() { + return arrayToReversed(aTypedArray(this), getTypedArrayConstructor(this)); + }); + + + /***/ }), /* 189 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Number.MAX_SAFE_INTEGER` constant - // https://tc39.github.io/ecma262/#sec-number.max_safe_integer - __webpack_require__(7)({ target: 'Number', stat: true }, { MAX_SAFE_INTEGER: 0x1fffffffffffff }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var ArrayBufferViewCore = __webpack_require__(181); + var uncurryThis = __webpack_require__(13); + var aCallable = __webpack_require__(29); + var arrayFromConstructorAndList = __webpack_require__(112); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort); + + // `%TypedArray%.prototype.toSorted` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tosorted + exportTypedArrayMethod('toSorted', function toSorted(compareFn) { + if (compareFn !== undefined) aCallable(compareFn); + var O = aTypedArray(this); + var A = arrayFromConstructorAndList(getTypedArrayConstructor(O), O); + return sort(A, compareFn); + }); + + + /***/ }), /* 190 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Number.MIN_SAFE_INTEGER` constant - // https://tc39.github.io/ecma262/#sec-number.min_safe_integer - __webpack_require__(7)({ target: 'Number', stat: true }, { MIN_SAFE_INTEGER: -0x1fffffffffffff }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var arrayWith = __webpack_require__(116); + var ArrayBufferViewCore = __webpack_require__(181); + var isBigIntArray = __webpack_require__(191); + var toIntegerOrInfinity = __webpack_require__(60); + var toBigInt = __webpack_require__(192); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + + var PROPER_ORDER = !!function () { + try { + // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing + new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } }); + } catch (error) { + // some early implementations, like WebKit, does not follow the final semantic + // https://github.com/tc39/proposal-change-array-by-copy/pull/86 + return error === 8; + } + }(); + + // `%TypedArray%.prototype.with` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.with + exportTypedArrayMethod('with', { 'with': function (index, value) { + var O = aTypedArray(this); + var relativeIndex = toIntegerOrInfinity(index); + var actualValue = isBigIntArray(O) ? toBigInt(value) : +value; + return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue); + } }['with'], !PROPER_ORDER); + + + /***/ }), /* 191 */ - /***/ (function (module, exports, __webpack_require__) { - - var parseFloat = __webpack_require__(192); - - // `Number.parseFloat` method - // https://tc39.github.io/ecma262/#sec-number.parseFloat - __webpack_require__(7)({ target: 'Number', stat: true, forced: Number.parseFloat != parseFloat }, { - parseFloat: parseFloat - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classof = __webpack_require__(77); + + module.exports = function (it) { + var klass = classof(it); + return klass === 'BigInt64Array' || klass === 'BigUint64Array'; + }; + + + /***/ }), /* 192 */ - /***/ (function (module, exports, __webpack_require__) { - - var nativeParseFloat = __webpack_require__(2).parseFloat; - var internalStringTrim = __webpack_require__(180); - var whitespaces = __webpack_require__(181); - var FORCED = 1 / nativeParseFloat(whitespaces + '-0') !== -Infinity; - - module.exports = FORCED ? function parseFloat(str) { - var string = internalStringTrim(String(str), 3); - var result = nativeParseFloat(string); - return result === 0 && string.charAt(0) == '-' ? -0 : result; - } : nativeParseFloat; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toPrimitive = __webpack_require__(18); + + var $TypeError = TypeError; + + // `ToBigInt` abstract operation + // https://tc39.es/ecma262/#sec-tobigint + module.exports = function (argument) { + var prim = toPrimitive(argument, 'number'); + if (typeof prim == 'number') throw new $TypeError("Can't convert number to bigint"); + // eslint-disable-next-line es/no-bigint -- safe + return BigInt(prim); + }; + + + /***/ }), /* 193 */ - /***/ (function (module, exports, __webpack_require__) { - - var parseInt = __webpack_require__(194); - - // `Number.parseInt` method - // https://tc39.github.io/ecma262/#sec-number.parseint - __webpack_require__(7)({ target: 'Number', stat: true, forced: Number.parseInt != parseInt }, { - parseInt: parseInt - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isPrototypeOf = __webpack_require__(23); + var getPrototypeOf = __webpack_require__(85); + var setPrototypeOf = __webpack_require__(69); + var copyConstructorProperties = __webpack_require__(54); + var create = __webpack_require__(87); + var createNonEnumerableProperty = __webpack_require__(42); + var createPropertyDescriptor = __webpack_require__(10); + var installErrorStack = __webpack_require__(80); + var normalizeStringArgument = __webpack_require__(75); + var wellKnownSymbol = __webpack_require__(32); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var $Error = Error; + + var $SuppressedError = function SuppressedError(error, suppressed, message) { + var isInstance = isPrototypeOf(SuppressedErrorPrototype, this); + var that; + if (setPrototypeOf) { + that = setPrototypeOf(new $Error(), isInstance ? getPrototypeOf(this) : SuppressedErrorPrototype); + } else { + that = isInstance ? this : create(SuppressedErrorPrototype); + createNonEnumerableProperty(that, TO_STRING_TAG, 'Error'); + } + if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message)); + installErrorStack(that, $SuppressedError, that.stack, 1); + createNonEnumerableProperty(that, 'error', error); + createNonEnumerableProperty(that, 'suppressed', suppressed); + return that; + }; + + if (setPrototypeOf) setPrototypeOf($SuppressedError, $Error); + else copyConstructorProperties($SuppressedError, $Error, { name: true }); + + var SuppressedErrorPrototype = $SuppressedError.prototype = create($Error.prototype, { + constructor: createPropertyDescriptor(1, $SuppressedError), + message: createPropertyDescriptor(1, ''), + name: createPropertyDescriptor(1, 'SuppressedError') + }); + + // `SuppressedError` constructor + // https://github.com/tc39/proposal-explicit-resource-management + $({ global: true, constructor: true, arity: 3 }, { + SuppressedError: $SuppressedError + }); + + + /***/ }), /* 194 */ - /***/ (function (module, exports, __webpack_require__) { - - var nativeParseInt = __webpack_require__(2).parseInt; - var internalStringTrim = __webpack_require__(180); - var whitespaces = __webpack_require__(181); - var hex = /^[-+]?0[xX]/; - var FORCED = nativeParseInt(whitespaces + '08') !== 8 || nativeParseInt(whitespaces + '0x16') !== 22; - - module.exports = FORCED ? function parseInt(str, radix) { - var string = internalStringTrim(String(str), 3); - return nativeParseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); - } : nativeParseInt; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var fromAsync = __webpack_require__(195); + + // `Array.fromAsync` method + // https://github.com/tc39/proposal-array-from-async + $({ target: 'Array', stat: true }, { + fromAsync: fromAsync + }); + + + /***/ }), /* 195 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toInteger = __webpack_require__(37); - var thisNumberValue = __webpack_require__(196); - var repeat = __webpack_require__(197); - var nativeToFixed = 1.0.toFixed; - var floor = Math.floor; - var data = [0, 0, 0, 0, 0, 0]; - - var multiply = function (n, c) { - var i = -1; - var c2 = c; - while (++i < 6) { - c2 += n * data[i]; - data[i] = c2 % 1e7; - c2 = floor(c2 / 1e7); - } - }; - - var divide = function (n) { - var i = 6; - var c = 0; - while (--i >= 0) { - c += data[i]; - data[i] = floor(c / n); - c = (c % n) * 1e7; - } - }; - - var numToString = function () { - var i = 6; - var s = ''; - while (--i >= 0) { - if (s !== '' || i === 0 || data[i] !== 0) { - var t = String(data[i]); - s = s === '' ? t : s + repeat.call('0', 7 - t.length) + t; - } - } return s; - }; - - var pow = function (x, n, acc) { - return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); - }; - - var log = function (x) { - var n = 0; - var x2 = x; - while (x2 >= 4096) { - n += 12; - x2 /= 4096; - } - while (x2 >= 2) { - n += 1; - x2 /= 2; - } return n; - }; - - // `Number.prototype.toFixed` method - // https://tc39.github.io/ecma262/#sec-number.prototype.tofixed - __webpack_require__(7)({ - target: 'Number', proto: true, forced: nativeToFixed && ( - 0.00008.toFixed(3) !== '0.000' || - 0.9.toFixed(0) !== '1' || - 1.255.toFixed(2) !== '1.25' || - 1000000000000000128.0.toFixed(0) !== '1000000000000000128' - ) || !__webpack_require__(5)(function () { - // V8 ~ Android 4.3- - nativeToFixed.call({}); - }) - }, { - toFixed: function toFixed(fractionDigits) { - var x = thisNumberValue(this); - var f = toInteger(fractionDigits); - var s = ''; - var m = '0'; - var e, z, j, k; - if (f < 0 || f > 20) throw RangeError('Incorrect fraction digits'); - // eslint-disable-next-line no-self-compare - if (x != x) return 'NaN'; - if (x <= -1e21 || x >= 1e21) return String(x); - if (x < 0) { - s = '-'; - x = -x; - } - if (x > 1e-21) { - e = log(x * pow(2, 69, 1)) - 69; - z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1); - z *= 0x10000000000000; - e = 52 - e; - if (e > 0) { - multiply(0, z); - j = f; - while (j >= 7) { - multiply(1e7, 0); - j -= 7; - } - multiply(pow(10, j, 1), 0); - j = e - 1; - while (j >= 23) { - divide(1 << 23); - j -= 23; - } - divide(1 << j); - multiply(1, 1); - divide(2); - m = numToString(); - } else { - multiply(0, z); - multiply(1 << -e, 0); - m = numToString() + repeat.call('0', f); - } - } - if (f > 0) { - k = m.length; - m = s + (k <= f ? '0.' + repeat.call('0', f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f)); - } else { - m = s + m; - } return m; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var bind = __webpack_require__(92); + var uncurryThis = __webpack_require__(13); + var toObject = __webpack_require__(38); + var isConstructor = __webpack_require__(143); + var getAsyncIterator = __webpack_require__(196); + var getIterator = __webpack_require__(96); + var getIteratorDirect = __webpack_require__(201); + var getIteratorMethod = __webpack_require__(97); + var getMethod = __webpack_require__(28); + var getBuiltIn = __webpack_require__(22); + var getBuiltInPrototypeMethod = __webpack_require__(113); + var wellKnownSymbol = __webpack_require__(32); + var AsyncFromSyncIterator = __webpack_require__(197); + var toArray = __webpack_require__(202).toArray; + + var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); + var arrayIterator = uncurryThis(getBuiltInPrototypeMethod('Array', 'values')); + var arrayIteratorNext = uncurryThis(arrayIterator([]).next); + + var safeArrayIterator = function () { + return new SafeArrayIterator(this); + }; + + var SafeArrayIterator = function (O) { + this.iterator = arrayIterator(O); + }; + + SafeArrayIterator.prototype.next = function () { + return arrayIteratorNext(this.iterator); + }; + + // `Array.fromAsync` method implementation + // https://github.com/tc39/proposal-array-from-async + module.exports = function fromAsync(asyncItems /* , mapfn = undefined, thisArg = undefined */) { + var C = this; + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : undefined; + var thisArg = argumentsLength > 2 ? arguments[2] : undefined; + return new (getBuiltIn('Promise'))(function (resolve) { + var O = toObject(asyncItems); + if (mapfn !== undefined) mapfn = bind(mapfn, thisArg); + var usingAsyncIterator = getMethod(O, ASYNC_ITERATOR); + var usingSyncIterator = usingAsyncIterator ? undefined : getIteratorMethod(O) || safeArrayIterator; + var A = isConstructor(C) ? new C() : []; + var iterator = usingAsyncIterator + ? getAsyncIterator(O, usingAsyncIterator) + : new AsyncFromSyncIterator(getIteratorDirect(getIterator(O, usingSyncIterator))); + resolve(toArray(iterator, mapfn, A)); + }); + }; + + + /***/ }), /* 196 */ - /***/ (function (module, exports, __webpack_require__) { - - var classof = __webpack_require__(13); - - // `thisNumberValue` abstract operation - // https://tc39.github.io/ecma262/#sec-thisnumbervalue - module.exports = function (value) { - if (typeof value != 'number' && classof(value) != 'Number') { - throw TypeError('Incorrect invocation'); - } - return +value; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var AsyncFromSyncIterator = __webpack_require__(197); + var anObject = __webpack_require__(45); + var getIterator = __webpack_require__(96); + var getIteratorDirect = __webpack_require__(201); + var getMethod = __webpack_require__(28); + var wellKnownSymbol = __webpack_require__(32); + + var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); + + module.exports = function (it, usingIterator) { + var method = arguments.length < 2 ? getMethod(it, ASYNC_ITERATOR) : usingIterator; + return method ? anObject(call(method, it)) : new AsyncFromSyncIterator(getIteratorDirect(getIterator(it))); + }; + + + /***/ }), /* 197 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toInteger = __webpack_require__(37); - var requireObjectCoercible = __webpack_require__(14); - - // `String.prototype.repeat` method implementation - // https://tc39.github.io/ecma262/#sec-string.prototype.repeat - module.exports = ''.repeat || function repeat(count) { - var str = String(requireObjectCoercible(this)); - var result = ''; - var n = toInteger(count); - if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions'); - for (; n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str; - return result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var create = __webpack_require__(87); + var getMethod = __webpack_require__(28); + var defineBuiltIns = __webpack_require__(198); + var InternalStateModule = __webpack_require__(50); + var getBuiltIn = __webpack_require__(22); + var AsyncIteratorPrototype = __webpack_require__(199); + var createIterResultObject = __webpack_require__(200); + + var Promise = getBuiltIn('Promise'); + + var ASYNC_FROM_SYNC_ITERATOR = 'AsyncFromSyncIterator'; + var setInternalState = InternalStateModule.set; + var getInternalState = InternalStateModule.getterFor(ASYNC_FROM_SYNC_ITERATOR); + + var asyncFromSyncIteratorContinuation = function (result, resolve, reject) { + var done = result.done; + Promise.resolve(result.value).then(function (value) { + resolve(createIterResultObject(value, done)); + }, reject); + }; + + var AsyncFromSyncIterator = function AsyncIterator(iteratorRecord) { + iteratorRecord.type = ASYNC_FROM_SYNC_ITERATOR; + setInternalState(this, iteratorRecord); + }; + + AsyncFromSyncIterator.prototype = defineBuiltIns(create(AsyncIteratorPrototype), { + next: function next() { + var state = getInternalState(this); + return new Promise(function (resolve, reject) { + var result = anObject(call(state.next, state.iterator)); + asyncFromSyncIteratorContinuation(result, resolve, reject); + }); + }, + 'return': function () { + var iterator = getInternalState(this).iterator; + return new Promise(function (resolve, reject) { + var $return = getMethod(iterator, 'return'); + if ($return === undefined) return resolve(createIterResultObject(undefined, true)); + var result = anObject(call($return, iterator)); + asyncFromSyncIteratorContinuation(result, resolve, reject); + }); + } + }); + + module.exports = AsyncFromSyncIterator; + + + /***/ }), /* 198 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var fails = __webpack_require__(5); - var thisNumberValue = __webpack_require__(196); - var nativeToPrecision = 1.0.toPrecision; - - // `Number.prototype.toPrecision` method - // https://tc39.github.io/ecma262/#sec-number.prototype.toprecision - __webpack_require__(7)({ - target: 'Number', proto: true, forced: fails(function () { - // IE7- - return nativeToPrecision.call(1, undefined) !== '1'; - }) || !fails(function () { - // V8 ~ Android 4.3- - nativeToPrecision.call({}); - }) - }, { - toPrecision: function toPrecision(precision) { - return precision === undefined - ? nativeToPrecision.call(thisNumberValue(this)) - : nativeToPrecision.call(thisNumberValue(this), precision); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineBuiltIn = __webpack_require__(46); + + module.exports = function (target, src, options) { + for (var key in src) defineBuiltIn(target, key, src[key], options); + return target; + }; + + + /***/ }), /* 199 */ - /***/ (function (module, exports, __webpack_require__) { - - var assign = __webpack_require__(200); - - // `Object.assign` method - // https://tc39.github.io/ecma262/#sec-object.assign - __webpack_require__(7)({ target: 'Object', stat: true, forced: Object.assign !== assign }, { assign: assign }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var shared = __webpack_require__(34); + var isCallable = __webpack_require__(20); + var create = __webpack_require__(87); + var getPrototypeOf = __webpack_require__(85); + var defineBuiltIn = __webpack_require__(46); + var wellKnownSymbol = __webpack_require__(32); + var IS_PURE = __webpack_require__(35); + + var USE_FUNCTION_CONSTRUCTOR = 'USE_FUNCTION_CONSTRUCTOR'; + var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); + var AsyncIterator = global.AsyncIterator; + var PassedAsyncIteratorPrototype = shared.AsyncIteratorPrototype; + var AsyncIteratorPrototype, prototype; + + if (PassedAsyncIteratorPrototype) { + AsyncIteratorPrototype = PassedAsyncIteratorPrototype; + } else if (isCallable(AsyncIterator)) { + AsyncIteratorPrototype = AsyncIterator.prototype; + } else if (shared[USE_FUNCTION_CONSTRUCTOR] || global[USE_FUNCTION_CONSTRUCTOR]) { + try { + // eslint-disable-next-line no-new-func -- we have no alternatives without usage of modern syntax + prototype = getPrototypeOf(getPrototypeOf(getPrototypeOf(Function('return async function*(){}()')()))); + if (getPrototypeOf(prototype) === Object.prototype) AsyncIteratorPrototype = prototype; + } catch (error) { /* empty */ } + } + + if (!AsyncIteratorPrototype) AsyncIteratorPrototype = {}; + else if (IS_PURE) AsyncIteratorPrototype = create(AsyncIteratorPrototype); + + if (!isCallable(AsyncIteratorPrototype[ASYNC_ITERATOR])) { + defineBuiltIn(AsyncIteratorPrototype, ASYNC_ITERATOR, function () { + return this; + }); + } + + module.exports = AsyncIteratorPrototype; + + + /***/ }), /* 200 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // 19.1.2.1 Object.assign(target, source, ...) - var objectKeys = __webpack_require__(49); - var getOwnPropertySymbolsModule = __webpack_require__(40); - var propertyIsEnumerableModule = __webpack_require__(9); - var toObject = __webpack_require__(69); - var IndexedObject = __webpack_require__(12); - var nativeAssign = Object.assign; - - // should work with symbols and should have deterministic property order (V8 bug) - module.exports = !nativeAssign || __webpack_require__(5)(function () { - var A = {}; - var B = {}; - // eslint-disable-next-line no-undef - var symbol = Symbol(); - var alphabet = 'abcdefghijklmnopqrst'; - A[symbol] = 7; - alphabet.split('').forEach(function (chr) { B[chr] = chr; }); - return nativeAssign({}, A)[symbol] != 7 || objectKeys(nativeAssign({}, B)).join('') != alphabet; - }) ? function assign(target, source) { // eslint-disable-line no-unused-vars - var T = toObject(target); - var argumentsLength = arguments.length; - var index = 1; - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - var propertyIsEnumerable = propertyIsEnumerableModule.f; - while (argumentsLength > index) { - var S = IndexedObject(arguments[index++]); - var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S); - var length = keys.length; - var j = 0; - var key; - while (length > j) if (propertyIsEnumerable.call(S, key = keys[j++])) T[key] = S[key]; - } return T; - } : nativeAssign; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // `CreateIterResultObject` abstract operation + // https://tc39.es/ecma262/#sec-createiterresultobject + module.exports = function (value, done) { + return { value: value, done: done }; + }; + + + /***/ }), /* 201 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Object.create` method - // https://tc39.github.io/ecma262/#sec-object.create - __webpack_require__(7)({ - target: 'Object', stat: true, sham: !__webpack_require__(4) - }, { create: __webpack_require__(51) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // `GetIteratorDirect(obj)` abstract operation + // https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect + module.exports = function (obj) { + return { + iterator: obj, + next: obj.next, + done: false + }; + }; + + + /***/ }), /* 202 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toObject = __webpack_require__(69); - var aFunction = __webpack_require__(79); - var definePropertyModule = __webpack_require__(20); - var FORCED = __webpack_require__(203); - - // `Object.prototype.__defineGetter__` method - // https://tc39.github.io/ecma262/#sec-object.prototype.__defineGetter__ - if (__webpack_require__(4)) { - __webpack_require__(7)({ target: 'Object', proto: true, forced: FORCED }, { - __defineGetter__: function __defineGetter__(P, getter) { - definePropertyModule.f(toObject(this), P, { get: aFunction(getter), enumerable: true, configurable: true }); - } - }); - } - - - /***/ -}), - /* 203 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // Forced replacement object prototype accessors methods - module.exports = __webpack_require__(6) || !__webpack_require__(5)(function () { - var key = Math.random(); - // In FF throws only define methods - // eslint-disable-next-line no-undef, no-useless-call - __defineSetter__.call(null, key, function () { /* empty */ }); - delete __webpack_require__(2)[key]; - }); - - - /***/ -}), - /* 204 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - - // `Object.defineProperties` method - // https://tc39.github.io/ecma262/#sec-object.defineproperties - __webpack_require__(7)({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, { - defineProperties: __webpack_require__(52) - }); - - - /***/ -}), - /* 205 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - - // `Object.defineProperty` method - // https://tc39.github.io/ecma262/#sec-object.defineproperty - __webpack_require__(7)({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, { - defineProperty: __webpack_require__(20).f - }); - - - /***/ -}), - /* 206 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toObject = __webpack_require__(69); - var aFunction = __webpack_require__(79); - var definePropertyModule = __webpack_require__(20); - var FORCED = __webpack_require__(203); - - // `Object.prototype.__defineSetter__` method - // https://tc39.github.io/ecma262/#sec-object.prototype.__defineSetter__ - if (__webpack_require__(4)) { - __webpack_require__(7)({ target: 'Object', proto: true, forced: FORCED }, { - __defineSetter__: function __defineSetter__(P, setter) { - definePropertyModule.f(toObject(this), P, { set: aFunction(setter), enumerable: true, configurable: true }); - } - }); - } - - - /***/ -}), - /* 207 */ - /***/ (function (module, exports, __webpack_require__) { - - var objectToArray = __webpack_require__(208); - - // `Object.entries` method - // https://tc39.github.io/ecma262/#sec-object.entries - __webpack_require__(7)({ target: 'Object', stat: true }, { - entries: function entries(O) { - return objectToArray(O, true); - } - }); - - - /***/ -}), - /* 208 */ - /***/ (function (module, exports, __webpack_require__) { - - var objectKeys = __webpack_require__(49); - var toIndexedObject = __webpack_require__(11); - var propertyIsEnumerable = __webpack_require__(9).f; - - // TO_ENTRIES: true -> Object.entries - // TO_ENTRIES: false -> Object.values - module.exports = function (it, TO_ENTRIES) { - var O = toIndexedObject(it); - var keys = objectKeys(O); - var length = keys.length; - var i = 0; - var result = []; - var key; - while (length > i) if (propertyIsEnumerable.call(O, key = keys[i++])) { - result.push(TO_ENTRIES ? [key, O[key]] : O[key]); - } return result; - }; - - - /***/ -}), - /* 209 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var onFreeze = __webpack_require__(152).onFreeze; - var nativeFreeze = Object.freeze; - var FREEZING = __webpack_require__(153); - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeFreeze(1); }); - - // `Object.freeze` method - // https://tc39.github.io/ecma262/#sec-object.freeze - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { - freeze: function freeze(it) { - return nativeFreeze && isObject(it) ? nativeFreeze(onFreeze(it)) : it; - } - }); - - - /***/ -}), - /* 210 */ - /***/ (function (module, exports, __webpack_require__) { - - var iterate = __webpack_require__(154); - var createProperty = __webpack_require__(70); - - // `Object.fromEntries` method - // https://github.com/tc39/proposal-object-from-entries - __webpack_require__(7)({ target: 'Object', stat: true }, { - fromEntries: function fromEntries(iterable) { - var obj = {}; - iterate(iterable, function (k, v) { - createProperty(obj, k, v); - }, undefined, true); - return obj; - } - }); - - - /***/ -}), - /* 211 */ - /***/ (function (module, exports, __webpack_require__) { - - var toIndexedObject = __webpack_require__(11); - var nativeGetOwnPropertyDescriptor = __webpack_require__(8).f; - var DESCRIPTORS = __webpack_require__(4); - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeGetOwnPropertyDescriptor(1); }); - var FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES; - - // `Object.getOwnPropertyDescriptor` method - // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor - __webpack_require__(7)({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, { - getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) { - return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key); - } - }); - - - /***/ -}), - /* 212 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - var ownKeys = __webpack_require__(32); - var toIndexedObject = __webpack_require__(11); - var getOwnPropertyDescriptorModule = __webpack_require__(8); - var createProperty = __webpack_require__(70); - - // `Object.getOwnPropertyDescriptors` method - // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors - __webpack_require__(7)({ target: 'Object', stat: true, sham: !DESCRIPTORS }, { - getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { - var O = toIndexedObject(object); - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - var keys = ownKeys(O); - var result = {}; - var i = 0; - var key, descriptor; - while (keys.length > i) { - descriptor = getOwnPropertyDescriptor(O, key = keys[i++]); - if (descriptor !== undefined) createProperty(result, key, descriptor); - } - return result; - } - }); - - - /***/ -}), - /* 213 */ - /***/ (function (module, exports, __webpack_require__) { - - var nativeGetOwnPropertyNames = __webpack_require__(54).f; - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { Object.getOwnPropertyNames(1); }); - - // `Object.getOwnPropertyNames` method - // https://tc39.github.io/ecma262/#sec-object.getownpropertynames - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - getOwnPropertyNames: nativeGetOwnPropertyNames - }); - - - /***/ -}), - /* 214 */ - /***/ (function (module, exports, __webpack_require__) { - - var toObject = __webpack_require__(69); - var nativeGetPrototypeOf = __webpack_require__(106); - var CORRECT_PROTOTYPE_GETTER = __webpack_require__(107); - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeGetPrototypeOf(1); }); - - // `Object.getPrototypeOf` method - // https://tc39.github.io/ecma262/#sec-object.getprototypeof - __webpack_require__(7)({ - target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER - }, { - getPrototypeOf: function getPrototypeOf(it) { - return nativeGetPrototypeOf(toObject(it)); - } - }); - - - - /***/ -}), - /* 215 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Object.is` method - // https://tc39.github.io/ecma262/#sec-object.is - __webpack_require__(7)({ target: 'Object', stat: true }, { is: __webpack_require__(216) }); - - - /***/ -}), - /* 216 */ - /***/ (function (module, exports) { - - // `SameValue` abstract operation - // https://tc39.github.io/ecma262/#sec-samevalue - module.exports = Object.is || function is(x, y) { - // eslint-disable-next-line no-self-compare - return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; - }; - - - /***/ -}), - /* 217 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var nativeIsExtensible = Object.isExtensible; - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeIsExtensible(1); }); - - // `Object.isExtensible` method - // https://tc39.github.io/ecma262/#sec-object.isextensible - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - isExtensible: function isExtensible(it) { - return isObject(it) ? nativeIsExtensible ? nativeIsExtensible(it) : true : false; - } - }); - - - /***/ -}), - /* 218 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var nativeIsFrozen = Object.isFrozen; - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeIsFrozen(1); }); - - // `Object.isFrozen` method - // https://tc39.github.io/ecma262/#sec-object.isfrozen - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - isFrozen: function isFrozen(it) { - return isObject(it) ? nativeIsFrozen ? nativeIsFrozen(it) : false : true; - } - }); - - - /***/ -}), - /* 219 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var nativeIsSealed = Object.isSealed; - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeIsSealed(1); }); - - // `Object.isSealed` method - // https://tc39.github.io/ecma262/#sec-object.issealed - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - isSealed: function isSealed(it) { - return isObject(it) ? nativeIsSealed ? nativeIsSealed(it) : false : true; - } - }); - - - /***/ -}), - /* 220 */ - /***/ (function (module, exports, __webpack_require__) { - - var toObject = __webpack_require__(69); - var nativeKeys = __webpack_require__(49); - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeKeys(1); }); - - // `Object.keys` method - // https://tc39.github.io/ecma262/#sec-object.keys - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - keys: function keys(it) { - return nativeKeys(toObject(it)); - } - }); - - - /***/ -}), - /* 221 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toObject = __webpack_require__(69); - var toPrimitive = __webpack_require__(15); - var getPrototypeOf = __webpack_require__(106); - var getOwnPropertyDescriptor = __webpack_require__(8).f; - var FORCED = __webpack_require__(203); - - // `Object.prototype.__lookupGetter__` method - // https://tc39.github.io/ecma262/#sec-object.prototype.__lookupGetter__ - if (__webpack_require__(4)) { - __webpack_require__(7)({ target: 'Object', proto: true, forced: FORCED }, { - __lookupGetter__: function __lookupGetter__(P) { - var O = toObject(this); - var key = toPrimitive(P, true); - var desc; - do { - if (desc = getOwnPropertyDescriptor(O, key)) return desc.get; - } while (O = getPrototypeOf(O)); - } - }); - } - - - /***/ -}), - /* 222 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toObject = __webpack_require__(69); - var toPrimitive = __webpack_require__(15); - var getPrototypeOf = __webpack_require__(106); - var getOwnPropertyDescriptor = __webpack_require__(8).f; - var FORCED = __webpack_require__(203); - - // `Object.prototype.__lookupSetter__` method - // https://tc39.github.io/ecma262/#sec-object.prototype.__lookupSetter__ - if (__webpack_require__(4)) { - __webpack_require__(7)({ target: 'Object', proto: true, forced: FORCED }, { - __lookupSetter__: function __lookupSetter__(P) { - var O = toObject(this); - var key = toPrimitive(P, true); - var desc; - do { - if (desc = getOwnPropertyDescriptor(O, key)) return desc.set; - } while (O = getPrototypeOf(O)); - } - }); - } - - - /***/ -}), - /* 223 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var onFreeze = __webpack_require__(152).onFreeze; - var nativePreventExtensions = Object.preventExtensions; - var FREEZING = __webpack_require__(153); - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativePreventExtensions(1); }); - - // `Object.preventExtensions` method - // https://tc39.github.io/ecma262/#sec-object.preventextensions - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { - preventExtensions: function preventExtensions(it) { - return nativePreventExtensions && isObject(it) ? nativePreventExtensions(onFreeze(it)) : it; - } - }); - - - /***/ -}), - /* 224 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var onFreeze = __webpack_require__(152).onFreeze; - var nativeSeal = Object.seal; - var FREEZING = __webpack_require__(153); - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeSeal(1); }); - - // `Object.seal` method - // https://tc39.github.io/ecma262/#sec-object.seal - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { - seal: function seal(it) { - return nativeSeal && isObject(it) ? nativeSeal(onFreeze(it)) : it; - } - }); - - - /***/ -}), - /* 225 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Object.setPrototypeOf` method - // https://tc39.github.io/ecma262/#sec-object.setprototypeof - __webpack_require__(7)({ target: 'Object', stat: true }, { - setPrototypeOf: __webpack_require__(108) - }); - - - /***/ -}), - /* 226 */ - /***/ (function (module, exports, __webpack_require__) { - - var toString = __webpack_require__(227); - var ObjectPrototype = Object.prototype; - - // `Object.prototype.toString` method - // https://tc39.github.io/ecma262/#sec-object.prototype.tostring - if (toString !== ObjectPrototype.toString) { - __webpack_require__(22)(ObjectPrototype, 'toString', toString, { unsafe: true }); - } - - - /***/ -}), - /* 227 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var classof = __webpack_require__(98); - var TO_STRING_TAG = __webpack_require__(43)('toStringTag'); - var test = {}; - - test[TO_STRING_TAG] = 'z'; - - // `Object.prototype.toString` method implementation - // https://tc39.github.io/ecma262/#sec-object.prototype.tostring - module.exports = String(test) !== '[object z]' ? function toString() { - return '[object ' + classof(this) + ']'; - } : test.toString; - - - /***/ -}), - /* 228 */ - /***/ (function (module, exports, __webpack_require__) { - - var objectToArray = __webpack_require__(208); - - // `Object.values` method - // https://tc39.github.io/ecma262/#sec-object.values - __webpack_require__(7)({ target: 'Object', stat: true }, { - values: function values(O) { - return objectToArray(O); - } - }); - - - /***/ -}), - /* 229 */ - /***/ (function (module, exports, __webpack_require__) { - - var parseFloatImplementation = __webpack_require__(192); - - // `parseFloat` method - // https://tc39.github.io/ecma262/#sec-parsefloat-string - __webpack_require__(7)({ global: true, forced: parseFloat != parseFloatImplementation }, { - parseFloat: parseFloatImplementation - }); - - - /***/ -}), - /* 230 */ - /***/ (function (module, exports, __webpack_require__) { - - var parseIntImplementation = __webpack_require__(194); - - // `parseInt` method - // https://tc39.github.io/ecma262/#sec-parseint-string-radix - __webpack_require__(7)({ global: true, forced: parseInt != parseIntImplementation }, { - parseInt: parseIntImplementation - }); - - - /***/ -}), - /* 231 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var PROMISE = 'Promise'; - var IS_PURE = __webpack_require__(6); - var global = __webpack_require__(2); - var $export = __webpack_require__(7); - var isObject = __webpack_require__(16); - var aFunction = __webpack_require__(79); - var anInstance = __webpack_require__(132); - var classof = __webpack_require__(13); - var iterate = __webpack_require__(154); - var checkCorrectnessOfIteration = __webpack_require__(92); - var speciesConstructor = __webpack_require__(136); - var task = __webpack_require__(232).set; - var microtask = __webpack_require__(233); - var promiseResolve = __webpack_require__(235); - var hostReportErrors = __webpack_require__(237); - var newPromiseCapabilityModule = __webpack_require__(236); - var perform = __webpack_require__(238); - var userAgent = __webpack_require__(234); - var SPECIES = __webpack_require__(43)('species'); - var InternalStateModule = __webpack_require__(26); - var isForced = __webpack_require__(41); - var getInternalState = InternalStateModule.get; - var setInternalState = InternalStateModule.set; - var getInternalPromiseState = InternalStateModule.getterFor(PROMISE); - var PromiseConstructor = global[PROMISE]; - var TypeError = global.TypeError; - var document = global.document; - var process = global.process; - var $fetch = global.fetch; - var versions = process && process.versions; - var v8 = versions && versions.v8 || ''; - var newPromiseCapability = newPromiseCapabilityModule.f; - var newGenericPromiseCapability = newPromiseCapability; - var IS_NODE = classof(process) == 'process'; - var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent); - var UNHANDLED_REJECTION = 'unhandledrejection'; - var REJECTION_HANDLED = 'rejectionhandled'; - var PENDING = 0; - var FULFILLED = 1; - var REJECTED = 2; - var HANDLED = 1; - var UNHANDLED = 2; - var Internal, OwnPromiseCapability, PromiseWrapper; - - var FORCED = isForced(PROMISE, function () { - // correct subclassing with @@species support - var promise = PromiseConstructor.resolve(1); - var empty = function () { /* empty */ }; - var FakePromise = (promise.constructor = {})[SPECIES] = function (exec) { - exec(empty, empty); - }; - // unhandled rejections tracking support, NodeJS Promise without it fails @@species test - return !((IS_NODE || typeof PromiseRejectionEvent == 'function') - && (!IS_PURE || promise['finally']) - && promise.then(empty) instanceof FakePromise - // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables - // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 - // we can't detect it synchronously, so just check versions - && v8.indexOf('6.6') !== 0 - && userAgent.indexOf('Chrome/66') === -1); - }); - - var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) { - PromiseConstructor.all(iterable)['catch'](function () { /* empty */ }); - }); - - // helpers - var isThenable = function (it) { - var then; - return isObject(it) && typeof (then = it.then) == 'function' ? then : false; - }; - - var notify = function (promise, state, isReject) { - if (state.notified) return; - state.notified = true; - var chain = state.reactions; - microtask(function () { - var value = state.value; - var ok = state.state == FULFILLED; - var i = 0; - var run = function (reaction) { - var handler = ok ? reaction.ok : reaction.fail; - var resolve = reaction.resolve; - var reject = reaction.reject; - var domain = reaction.domain; - var result, then, exited; - try { - if (handler) { - if (!ok) { - if (state.rejection === UNHANDLED) onHandleUnhandled(promise, state); - state.rejection = HANDLED; - } - if (handler === true) result = value; - else { - if (domain) domain.enter(); - result = handler(value); // may throw - if (domain) { - domain.exit(); - exited = true; - } - } - if (result === reaction.promise) { - reject(TypeError('Promise-chain cycle')); - } else if (then = isThenable(result)) { - then.call(result, resolve, reject); - } else resolve(result); - } else reject(value); - } catch (e) { - if (domain && !exited) domain.exit(); - reject(e); - } - }; - while (chain.length > i) run(chain[i++]); // variable length - can't use forEach - state.reactions = []; - state.notified = false; - if (isReject && !state.rejection) onUnhandled(promise, state); - }); - }; - - var dispatchEvent = function (name, promise, reason) { - var event, handler; - if (DISPATCH_EVENT) { - event = document.createEvent('Event'); - event.promise = promise; - event.reason = reason; - event.initEvent(name, false, true); - global.dispatchEvent(event); - } else event = { promise: promise, reason: reason }; - if (handler = global['on' + name]) handler(event); - else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason); - }; - - var onUnhandled = function (promise, state) { - task.call(global, function () { - var value = state.value; - var IS_UNHANDLED = isUnhandled(state); - var result; - if (IS_UNHANDLED) { - result = perform(function () { - if (IS_NODE) { - process.emit('unhandledRejection', value, promise); - } else dispatchEvent(UNHANDLED_REJECTION, promise, value); - }); - // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should - state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED; - } - if (IS_UNHANDLED && result.e) throw result.v; - }); - }; - - var isUnhandled = function (state) { - return state.rejection !== HANDLED && !state.parent; - }; - - var onHandleUnhandled = function (promise, state) { - task.call(global, function () { - if (IS_NODE) { - process.emit('rejectionHandled', promise); - } else dispatchEvent(REJECTION_HANDLED, promise, state.value); - }); - }; - - var bind = function (fn, promise, state, unwrap) { - return function (value) { - fn(promise, state, value, unwrap); - }; - }; - - var internalReject = function (promise, state, value, unwrap) { - if (state.done) return; - state.done = true; - if (unwrap) state = unwrap; - state.value = value; - state.state = REJECTED; - notify(promise, state, true); - }; - - var internalResolve = function (promise, state, value, unwrap) { - if (state.done) return; - state.done = true; - if (unwrap) state = unwrap; + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://github.com/tc39/proposal-iterator-helpers + // https://github.com/tc39/proposal-array-from-async + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var isObject = __webpack_require__(19); + var doesNotExceedSafeInteger = __webpack_require__(108); + var getBuiltIn = __webpack_require__(22); + var getIteratorDirect = __webpack_require__(201); + var closeAsyncIteration = __webpack_require__(203); + + var createMethod = function (TYPE) { + var IS_TO_ARRAY = TYPE === 0; + var IS_FOR_EACH = TYPE === 1; + var IS_EVERY = TYPE === 2; + var IS_SOME = TYPE === 3; + return function (object, fn, target) { + anObject(object); + var MAPPING = fn !== undefined; + if (MAPPING || !IS_TO_ARRAY) aCallable(fn); + var record = getIteratorDirect(object); + var Promise = getBuiltIn('Promise'); + var iterator = record.iterator; + var next = record.next; + var counter = 0; + + return new Promise(function (resolve, reject) { + var ifAbruptCloseAsyncIterator = function (error) { + closeAsyncIteration(iterator, reject, error, reject); + }; + + var loop = function () { + try { + if (MAPPING) try { + doesNotExceedSafeInteger(counter); + } catch (error5) { ifAbruptCloseAsyncIterator(error5); } + Promise.resolve(anObject(call(next, iterator))).then(function (step) { try { - if (promise === value) throw TypeError("Promise can't be resolved itself"); - var then = isThenable(value); - if (then) { - microtask(function () { - var wrapper = { done: false }; + if (anObject(step).done) { + if (IS_TO_ARRAY) { + target.length = counter; + resolve(target); + } else resolve(IS_SOME ? false : IS_EVERY || undefined); + } else { + var value = step.value; + try { + if (MAPPING) { + var result = fn(value, counter); + + var handler = function ($result) { + if (IS_FOR_EACH) { + loop(); + } else if (IS_EVERY) { + $result ? loop() : closeAsyncIteration(iterator, resolve, false, reject); + } else if (IS_TO_ARRAY) { try { - then.call(value, - bind(internalResolve, promise, wrapper, state), - bind(internalReject, promise, wrapper, state) - ); - } catch (e) { - internalReject(promise, wrapper, e, state); - } - }); - } else { - state.value = value; - state.state = FULFILLED; - notify(promise, state, false); - } - } catch (e) { - internalReject(promise, { done: false }, e, state); - } - }; - - // constructor polyfill - if (FORCED) { - // 25.4.3.1 Promise(executor) - PromiseConstructor = function Promise(executor) { - anInstance(this, PromiseConstructor, PROMISE); - aFunction(executor); - Internal.call(this); - var state = getInternalState(this); - try { - executor(bind(internalResolve, this, state), bind(internalReject, this, state)); - } catch (err) { - internalReject(this, state, err); - } - }; - // eslint-disable-next-line no-unused-vars - Internal = function Promise(executor) { - setInternalState(this, { - type: PROMISE, - done: false, - notified: false, - parent: false, - reactions: [], - rejection: false, - state: PENDING, - value: undefined - }); - }; - Internal.prototype = __webpack_require__(131)(PromiseConstructor.prototype, { - // `Promise.prototype.then` method - // https://tc39.github.io/ecma262/#sec-promise.prototype.then - then: function then(onFulfilled, onRejected) { - var state = getInternalPromiseState(this); - var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor)); - reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; - reaction.fail = typeof onRejected == 'function' && onRejected; - reaction.domain = IS_NODE ? process.domain : undefined; - state.parent = true; - state.reactions.push(reaction); - if (state.state != PENDING) notify(this, state, false); - return reaction.promise; - }, - // `Promise.prototype.catch` method - // https://tc39.github.io/ecma262/#sec-promise.prototype.catch - 'catch': function (onRejected) { - return this.then(undefined, onRejected); - } - }); - OwnPromiseCapability = function () { - var promise = new Internal(); - var state = getInternalState(promise); - this.promise = promise; - this.resolve = bind(internalResolve, promise, state); - this.reject = bind(internalReject, promise, state); - }; - newPromiseCapabilityModule.f = newPromiseCapability = function (C) { - return C === PromiseConstructor || C === PromiseWrapper - ? new OwnPromiseCapability(C) - : newGenericPromiseCapability(C); - }; - - // wrap fetch result - if (!IS_PURE && typeof $fetch == 'function') $export({ global: true, enumerable: true, forced: true }, { - // eslint-disable-next-line no-unused-vars - fetch: function fetch(input) { - return promiseResolve(PromiseConstructor, $fetch.apply(global, arguments)); - } - }); + target[counter++] = $result; + loop(); + } catch (error4) { ifAbruptCloseAsyncIterator(error4); } + } else { + $result ? closeAsyncIteration(iterator, resolve, IS_SOME || value, reject) : loop(); + } + }; + + if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else handler(result); + } else { + target[counter++] = value; + loop(); + } + } catch (error3) { ifAbruptCloseAsyncIterator(error3); } + } + } catch (error2) { reject(error2); } + }, reject); + } catch (error) { reject(error); } + }; + + loop(); + }); + }; + }; + + module.exports = { + toArray: createMethod(0), + forEach: createMethod(1), + every: createMethod(2), + some: createMethod(3), + find: createMethod(4) + }; + + + /***/ }), + /* 203 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var getBuiltIn = __webpack_require__(22); + var getMethod = __webpack_require__(28); + + module.exports = function (iterator, method, argument, reject) { + try { + var returnMethod = getMethod(iterator, 'return'); + if (returnMethod) { + return getBuiltIn('Promise').resolve(call(returnMethod, iterator)).then(function () { + method(argument); + }, function (error) { + reject(error); + }); + } + } catch (error2) { + return reject(error2); + } method(argument); + }; + + + /***/ }), + /* 204 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $filterReject = __webpack_require__(205).filterReject; + var addToUnscopables = __webpack_require__(101); + + // `Array.prototype.filterReject` method + // https://github.com/tc39/proposal-array-filtering + $({ target: 'Array', proto: true, forced: true }, { + filterReject: function filterReject(callbackfn /* , thisArg */) { + return $filterReject(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + addToUnscopables('filterReject'); + + + /***/ }), + /* 205 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var bind = __webpack_require__(92); + var uncurryThis = __webpack_require__(13); + var IndexedObject = __webpack_require__(12); + var toObject = __webpack_require__(38); + var lengthOfArrayLike = __webpack_require__(62); + var arraySpeciesCreate = __webpack_require__(206); + + var push = uncurryThis([].push); + + // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation + var createMethod = function (TYPE) { + var IS_MAP = TYPE === 1; + var IS_FILTER = TYPE === 2; + var IS_SOME = TYPE === 3; + var IS_EVERY = TYPE === 4; + var IS_FIND_INDEX = TYPE === 6; + var IS_FILTER_REJECT = TYPE === 7; + var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; + return function ($this, callbackfn, that, specificCreate) { + var O = toObject($this); + var self = IndexedObject(O); + var length = lengthOfArrayLike(self); + var boundFunction = bind(callbackfn, that); + var index = 0; + var create = specificCreate || arraySpeciesCreate; + var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; + var value, result; + for (;length > index; index++) if (NO_HOLES || index in self) { + value = self[index]; + result = boundFunction(value, index, O); + if (TYPE) { + if (IS_MAP) target[index] = result; // map + else if (result) switch (TYPE) { + case 3: return true; // some + case 5: return value; // find + case 6: return index; // findIndex + case 2: push(target, value); // filter + } else switch (TYPE) { + case 4: return false; // every + case 7: push(target, value); // filterReject } - - $export({ global: true, wrap: true, forced: FORCED }, { Promise: PromiseConstructor }); - - __webpack_require__(42)(PromiseConstructor, PROMISE, false, true); - __webpack_require__(123)(PROMISE); - - PromiseWrapper = __webpack_require__(47)[PROMISE]; - - // statics - $export({ target: PROMISE, stat: true, forced: FORCED }, { - // `Promise.reject` method - // https://tc39.github.io/ecma262/#sec-promise.reject - reject: function reject(r) { - var capability = newPromiseCapability(this); - capability.reject.call(undefined, r); - return capability.promise; - } - }); - - $export({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, { - // `Promise.resolve` method - // https://tc39.github.io/ecma262/#sec-promise.resolve - resolve: function resolve(x) { - return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x); - } - }); - - $export({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, { - // `Promise.all` method - // https://tc39.github.io/ecma262/#sec-promise.all - all: function all(iterable) { - var C = this; - var capability = newPromiseCapability(C); - var resolve = capability.resolve; - var reject = capability.reject; - var result = perform(function () { - var values = []; - var counter = 0; - var remaining = 1; - iterate(iterable, function (promise) { - var index = counter++; - var alreadyCalled = false; - values.push(undefined); - remaining++; - C.resolve(promise).then(function (value) { - if (alreadyCalled) return; - alreadyCalled = true; - values[index] = value; - --remaining || resolve(values); - }, reject); - }); - --remaining || resolve(values); - }); - if (result.e) reject(result.v); - return capability.promise; - }, - // `Promise.race` method - // https://tc39.github.io/ecma262/#sec-promise.race - race: function race(iterable) { - var C = this; - var capability = newPromiseCapability(C); - var reject = capability.reject; - var result = perform(function () { - iterate(iterable, function (promise) { - C.resolve(promise).then(capability.resolve, reject); - }); - }); - if (result.e) reject(result.v); - return capability.promise; - } - }); - - - /***/ -}), + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; + }; + }; + + module.exports = { + // `Array.prototype.forEach` method + // https://tc39.es/ecma262/#sec-array.prototype.foreach + forEach: createMethod(0), + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + map: createMethod(1), + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + filter: createMethod(2), + // `Array.prototype.some` method + // https://tc39.es/ecma262/#sec-array.prototype.some + some: createMethod(3), + // `Array.prototype.every` method + // https://tc39.es/ecma262/#sec-array.prototype.every + every: createMethod(4), + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + find: createMethod(5), + // `Array.prototype.findIndex` method + // https://tc39.es/ecma262/#sec-array.prototype.findIndex + findIndex: createMethod(6), + // `Array.prototype.filterReject` method + // https://github.com/tc39/proposal-array-filtering + filterReject: createMethod(7) + }; + + + /***/ }), + /* 206 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var arraySpeciesConstructor = __webpack_require__(207); + + // `ArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#sec-arrayspeciescreate + module.exports = function (originalArray, length) { + return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); + }; + + + /***/ }), + /* 207 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isArray = __webpack_require__(107); + var isConstructor = __webpack_require__(143); + var isObject = __webpack_require__(19); + var wellKnownSymbol = __webpack_require__(32); + + var SPECIES = wellKnownSymbol('species'); + var $Array = Array; + + // a part of `ArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#sec-arrayspeciescreate + module.exports = function (originalArray) { + var C; + if (isArray(originalArray)) { + C = originalArray.constructor; + // cross-realm fallback + if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined; + else if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return C === undefined ? $Array : C; + }; + + + /***/ }), + /* 208 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $group = __webpack_require__(209); + var addToUnscopables = __webpack_require__(101); + + // `Array.prototype.group` method + // https://github.com/tc39/proposal-array-grouping + $({ target: 'Array', proto: true }, { + group: function group(callbackfn /* , thisArg */) { + var thisArg = arguments.length > 1 ? arguments[1] : undefined; + return $group(this, callbackfn, thisArg); + } + }); + + addToUnscopables('group'); + + + /***/ }), + /* 209 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var bind = __webpack_require__(92); + var uncurryThis = __webpack_require__(13); + var IndexedObject = __webpack_require__(12); + var toObject = __webpack_require__(38); + var toPropertyKey = __webpack_require__(17); + var lengthOfArrayLike = __webpack_require__(62); + var objectCreate = __webpack_require__(87); + var arrayFromConstructorAndList = __webpack_require__(112); + + var $Array = Array; + var push = uncurryThis([].push); + + module.exports = function ($this, callbackfn, that, specificConstructor) { + var O = toObject($this); + var self = IndexedObject(O); + var boundFunction = bind(callbackfn, that); + var target = objectCreate(null); + var length = lengthOfArrayLike(self); + var index = 0; + var Constructor, key, value; + for (;length > index; index++) { + value = self[index]; + key = toPropertyKey(boundFunction(value, index, O)); + // in some IE versions, `hasOwnProperty` returns incorrect result on integer keys + // but since it's a `null` prototype object, we can safely use `in` + if (key in target) push(target[key], value); + else target[key] = [value]; + } + // TODO: Remove this block from `core-js@4` + if (specificConstructor) { + Constructor = specificConstructor(O); + if (Constructor !== $Array) { + for (key in target) target[key] = arrayFromConstructorAndList(Constructor, target[key]); + } + } return target; + }; + + + /***/ }), + /* 210 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var $group = __webpack_require__(209); + var arrayMethodIsStrict = __webpack_require__(211); + var addToUnscopables = __webpack_require__(101); + + // `Array.prototype.groupBy` method + // https://github.com/tc39/proposal-array-grouping + // https://bugs.webkit.org/show_bug.cgi?id=236541 + $({ target: 'Array', proto: true, forced: !arrayMethodIsStrict('groupBy') }, { + groupBy: function groupBy(callbackfn /* , thisArg */) { + var thisArg = arguments.length > 1 ? arguments[1] : undefined; + return $group(this, callbackfn, thisArg); + } + }); + + addToUnscopables('groupBy'); + + + /***/ }), + /* 211 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + + module.exports = function (METHOD_NAME, argument) { + var method = [][METHOD_NAME]; + return !!method && fails(function () { + // eslint-disable-next-line no-useless-call -- required for testing + method.call(null, argument || function () { return 1; }, 1); + }); + }; + + + /***/ }), + /* 212 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var arrayMethodIsStrict = __webpack_require__(211); + var addToUnscopables = __webpack_require__(101); + var $groupToMap = __webpack_require__(213); + var IS_PURE = __webpack_require__(35); + + // `Array.prototype.groupByToMap` method + // https://github.com/tc39/proposal-array-grouping + // https://bugs.webkit.org/show_bug.cgi?id=236541 + $({ target: 'Array', proto: true, name: 'groupToMap', forced: IS_PURE || !arrayMethodIsStrict('groupByToMap') }, { + groupByToMap: $groupToMap + }); + + addToUnscopables('groupByToMap'); + + + /***/ }), + /* 213 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var bind = __webpack_require__(92); + var uncurryThis = __webpack_require__(13); + var IndexedObject = __webpack_require__(12); + var toObject = __webpack_require__(38); + var lengthOfArrayLike = __webpack_require__(62); + var MapHelpers = __webpack_require__(132); + + var Map = MapHelpers.Map; + var mapGet = MapHelpers.get; + var mapHas = MapHelpers.has; + var mapSet = MapHelpers.set; + var push = uncurryThis([].push); + + // `Array.prototype.groupToMap` method + // https://github.com/tc39/proposal-array-grouping + module.exports = function groupToMap(callbackfn /* , thisArg */) { + var O = toObject(this); + var self = IndexedObject(O); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var map = new Map(); + var length = lengthOfArrayLike(self); + var index = 0; + var key, value; + for (;length > index; index++) { + value = self[index]; + key = boundFunction(value, index, O); + if (mapHas(map, key)) push(mapGet(map, key), value); + else mapSet(map, key, [value]); + } return map; + }; + + + /***/ }), + /* 214 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var addToUnscopables = __webpack_require__(101); + var $groupToMap = __webpack_require__(213); + var IS_PURE = __webpack_require__(35); + + // `Array.prototype.groupToMap` method + // https://github.com/tc39/proposal-array-grouping + $({ target: 'Array', proto: true, forced: IS_PURE }, { + groupToMap: $groupToMap + }); + + addToUnscopables('groupToMap'); + + + /***/ }), + /* 215 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isArray = __webpack_require__(107); + + // eslint-disable-next-line es/no-object-isfrozen -- safe + var isFrozen = Object.isFrozen; + + var isFrozenStringArray = function (array, allowUndefined) { + if (!isFrozen || !isArray(array) || !isFrozen(array)) return false; + var index = 0; + var length = array.length; + var element; + while (index < length) { + element = array[index++]; + if (!(typeof element == 'string' || (allowUndefined && element === undefined))) { + return false; + } + } return length !== 0; + }; + + // `Array.isTemplateObject` method + // https://github.com/tc39/proposal-array-is-template-object + $({ target: 'Array', stat: true, sham: true, forced: true }, { + isTemplateObject: function isTemplateObject(value) { + if (!isFrozenStringArray(value, true)) return false; + var raw = value.raw; + return raw.length === value.length && isFrozenStringArray(raw, false); + } + }); + + + /***/ }), + /* 216 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var DESCRIPTORS = __webpack_require__(5); + var addToUnscopables = __webpack_require__(101); + var toObject = __webpack_require__(38); + var lengthOfArrayLike = __webpack_require__(62); + var defineBuiltInAccessor = __webpack_require__(118); + + // `Array.prototype.lastIndex` getter + // https://github.com/keithamus/proposal-array-last + if (DESCRIPTORS) { + defineBuiltInAccessor(Array.prototype, 'lastIndex', { + configurable: true, + get: function lastIndex() { + var O = toObject(this); + var len = lengthOfArrayLike(O); + return len === 0 ? 0 : len - 1; + } + }); + + addToUnscopables('lastIndex'); + } + + + /***/ }), + /* 217 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var DESCRIPTORS = __webpack_require__(5); + var addToUnscopables = __webpack_require__(101); + var toObject = __webpack_require__(38); + var lengthOfArrayLike = __webpack_require__(62); + var defineBuiltInAccessor = __webpack_require__(118); + + // `Array.prototype.lastIndex` accessor + // https://github.com/keithamus/proposal-array-last + if (DESCRIPTORS) { + defineBuiltInAccessor(Array.prototype, 'lastItem', { + configurable: true, + get: function lastItem() { + var O = toObject(this); + var len = lengthOfArrayLike(O); + return len === 0 ? undefined : O[len - 1]; + }, + set: function lastItem(value) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + return O[len === 0 ? 0 : len - 1] = value; + } + }); + + addToUnscopables('lastItem'); + } + + + /***/ }), + /* 218 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var addToUnscopables = __webpack_require__(101); + var uniqueBy = __webpack_require__(219); + + // `Array.prototype.uniqueBy` method + // https://github.com/tc39/proposal-array-unique + $({ target: 'Array', proto: true, forced: true }, { + uniqueBy: uniqueBy + }); + + addToUnscopables('uniqueBy'); + + + /***/ }), + /* 219 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var aCallable = __webpack_require__(29); + var isNullOrUndefined = __webpack_require__(16); + var lengthOfArrayLike = __webpack_require__(62); + var toObject = __webpack_require__(38); + var MapHelpers = __webpack_require__(132); + var iterate = __webpack_require__(220); + + var Map = MapHelpers.Map; + var mapHas = MapHelpers.has; + var mapSet = MapHelpers.set; + var push = uncurryThis([].push); + + // `Array.prototype.uniqueBy` method + // https://github.com/tc39/proposal-array-unique + module.exports = function uniqueBy(resolver) { + var that = toObject(this); + var length = lengthOfArrayLike(that); + var result = []; + var map = new Map(); + var resolverFunction = !isNullOrUndefined(resolver) ? aCallable(resolver) : function (value) { + return value; + }; + var index, item, key; + for (index = 0; index < length; index++) { + item = that[index]; + key = resolverFunction(item); + if (!mapHas(map, key)) mapSet(map, key, item); + } + iterate(map, function (value) { + push(result, value); + }); + return result; + }; + + + /***/ }), + /* 220 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var iterateSimple = __webpack_require__(221); + var MapHelpers = __webpack_require__(132); + + var Map = MapHelpers.Map; + var MapPrototype = MapHelpers.proto; + var forEach = uncurryThis(MapPrototype.forEach); + var entries = uncurryThis(MapPrototype.entries); + var next = entries(new Map()).next; + + module.exports = function (map, fn, interruptible) { + return interruptible ? iterateSimple({ iterator: entries(map), next: next }, function (entry) { + return fn(entry[1], entry[0]); + }) : forEach(map, fn); + }; + + + /***/ }), + /* 221 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + + module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) { + var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator; + var next = record.next; + var step, result; + while (!(step = call(next, iterator)).done) { + result = fn(step.value); + if (result !== undefined) return result; + } + }; + + + /***/ }), + /* 222 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://github.com/tc39/proposal-async-explicit-resource-management + var $ = __webpack_require__(2); + var DESCRIPTORS = __webpack_require__(5); + var getBuiltIn = __webpack_require__(22); + var aCallable = __webpack_require__(29); + var anInstance = __webpack_require__(140); + var defineBuiltIn = __webpack_require__(46); + var defineBuiltIns = __webpack_require__(198); + var defineBuiltInAccessor = __webpack_require__(118); + var wellKnownSymbol = __webpack_require__(32); + var InternalStateModule = __webpack_require__(50); + var addDisposableResource = __webpack_require__(223); + + var Promise = getBuiltIn('Promise'); + var SuppressedError = getBuiltIn('SuppressedError'); + var $ReferenceError = ReferenceError; + + var ASYNC_DISPOSE = wellKnownSymbol('asyncDispose'); + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + + var ASYNC_DISPOSABLE_STACK = 'AsyncDisposableStack'; + var setInternalState = InternalStateModule.set; + var getAsyncDisposableStackInternalState = InternalStateModule.getterFor(ASYNC_DISPOSABLE_STACK); + + var HINT = 'async-dispose'; + var DISPOSED = 'disposed'; + var PENDING = 'pending'; + + var getPendingAsyncDisposableStackInternalState = function (stack) { + var internalState = getAsyncDisposableStackInternalState(stack); + if (internalState.state === DISPOSED) throw new $ReferenceError(ASYNC_DISPOSABLE_STACK + ' already disposed'); + return internalState; + }; + + var $AsyncDisposableStack = function AsyncDisposableStack() { + setInternalState(anInstance(this, AsyncDisposableStackPrototype), { + type: ASYNC_DISPOSABLE_STACK, + state: PENDING, + stack: [] + }); + + if (!DESCRIPTORS) this.disposed = false; + }; + + var AsyncDisposableStackPrototype = $AsyncDisposableStack.prototype; + + defineBuiltIns(AsyncDisposableStackPrototype, { + disposeAsync: function disposeAsync() { + var asyncDisposableStack = this; + return new Promise(function (resolve, reject) { + var internalState = getAsyncDisposableStackInternalState(asyncDisposableStack); + if (internalState.state === DISPOSED) return resolve(undefined); + internalState.state = DISPOSED; + if (!DESCRIPTORS) asyncDisposableStack.disposed = true; + var stack = internalState.stack; + var i = stack.length; + var thrown = false; + var suppressed; + + var handleError = function (result) { + if (thrown) { + suppressed = new SuppressedError(result, suppressed); + } else { + thrown = true; + suppressed = result; + } + + loop(); + }; + + var loop = function () { + if (i) { + var disposeMethod = stack[--i]; + stack[i] = null; + try { + Promise.resolve(disposeMethod()).then(loop, handleError); + } catch (error) { + handleError(error); + } + } else { + internalState.stack = null; + thrown ? reject(suppressed) : resolve(undefined); + } + }; + + loop(); + }); + }, + use: function use(value) { + addDisposableResource(getPendingAsyncDisposableStackInternalState(this), value, HINT); + return value; + }, + adopt: function adopt(value, onDispose) { + var internalState = getPendingAsyncDisposableStackInternalState(this); + aCallable(onDispose); + addDisposableResource(internalState, undefined, HINT, function () { + return onDispose(value); + }); + return value; + }, + defer: function defer(onDispose) { + var internalState = getPendingAsyncDisposableStackInternalState(this); + aCallable(onDispose); + addDisposableResource(internalState, undefined, HINT, onDispose); + }, + move: function move() { + var internalState = getPendingAsyncDisposableStackInternalState(this); + var newAsyncDisposableStack = new $AsyncDisposableStack(); + getAsyncDisposableStackInternalState(newAsyncDisposableStack).stack = internalState.stack; + internalState.stack = []; + internalState.state = DISPOSED; + if (!DESCRIPTORS) this.disposed = true; + return newAsyncDisposableStack; + } + }); + + if (DESCRIPTORS) defineBuiltInAccessor(AsyncDisposableStackPrototype, 'disposed', { + configurable: true, + get: function disposed() { + return getAsyncDisposableStackInternalState(this).state === DISPOSED; + } + }); + + defineBuiltIn(AsyncDisposableStackPrototype, ASYNC_DISPOSE, AsyncDisposableStackPrototype.disposeAsync, { name: 'disposeAsync' }); + defineBuiltIn(AsyncDisposableStackPrototype, TO_STRING_TAG, ASYNC_DISPOSABLE_STACK, { nonWritable: true }); + + $({ global: true, constructor: true }, { + AsyncDisposableStack: $AsyncDisposableStack + }); + + + /***/ }), + /* 223 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var uncurryThis = __webpack_require__(13); + var bind = __webpack_require__(92); + var anObject = __webpack_require__(45); + var aCallable = __webpack_require__(29); + var isNullOrUndefined = __webpack_require__(16); + var getMethod = __webpack_require__(28); + var wellKnownSymbol = __webpack_require__(32); + + var ASYNC_DISPOSE = wellKnownSymbol('asyncDispose'); + var DISPOSE = wellKnownSymbol('dispose'); + + var push = uncurryThis([].push); + + // `GetDisposeMethod` abstract operation + // https://tc39.es/proposal-explicit-resource-management/#sec-getdisposemethod + var getDisposeMethod = function (V, hint) { + if (hint === 'async-dispose') { + var method = getMethod(V, ASYNC_DISPOSE); + if (method !== undefined) return method; + method = getMethod(V, DISPOSE); + return function () { + call(method, this); + }; + } return getMethod(V, DISPOSE); + }; + + // `CreateDisposableResource` abstract operation + // https://tc39.es/proposal-explicit-resource-management/#sec-createdisposableresource + var createDisposableResource = function (V, hint, method) { + if (arguments.length < 3 && !isNullOrUndefined(V)) { + method = aCallable(getDisposeMethod(anObject(V), hint)); + } + + return method === undefined ? function () { + return undefined; + } : bind(method, V); + }; + + // `AddDisposableResource` abstract operation + // https://tc39.es/proposal-explicit-resource-management/#sec-adddisposableresource + module.exports = function (disposable, V, hint, method) { + var resource; + if (arguments.length < 4) { + // When `V`` is either `null` or `undefined` and hint is `async-dispose`, + // we record that the resource was evaluated to ensure we will still perform an `Await` when resources are later disposed. + if (isNullOrUndefined(V) && hint === 'sync-dispose') return; + resource = createDisposableResource(V, hint); + } else { + resource = createDisposableResource(undefined, hint, method); + } + + push(disposable.stack, resource); + }; + + + /***/ }), + /* 224 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var anInstance = __webpack_require__(140); + var getPrototypeOf = __webpack_require__(85); + var createNonEnumerableProperty = __webpack_require__(42); + var hasOwn = __webpack_require__(37); + var wellKnownSymbol = __webpack_require__(32); + var AsyncIteratorPrototype = __webpack_require__(199); + var IS_PURE = __webpack_require__(35); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + + var $TypeError = TypeError; + + var AsyncIteratorConstructor = function AsyncIterator() { + anInstance(this, AsyncIteratorPrototype); + if (getPrototypeOf(this) === AsyncIteratorPrototype) throw new $TypeError('Abstract class AsyncIterator not directly constructable'); + }; + + AsyncIteratorConstructor.prototype = AsyncIteratorPrototype; + + if (!hasOwn(AsyncIteratorPrototype, TO_STRING_TAG)) { + createNonEnumerableProperty(AsyncIteratorPrototype, TO_STRING_TAG, 'AsyncIterator'); + } + + if (IS_PURE || !hasOwn(AsyncIteratorPrototype, 'constructor') || AsyncIteratorPrototype.constructor === Object) { + createNonEnumerableProperty(AsyncIteratorPrototype, 'constructor', AsyncIteratorConstructor); + } + + // `AsyncIterator` constructor + // https://github.com/tc39/proposal-async-iterator-helpers + $({ global: true, constructor: true, forced: IS_PURE }, { + AsyncIterator: AsyncIteratorConstructor + }); + + + /***/ }), + /* 225 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var indexed = __webpack_require__(226); + + // `AsyncIterator.prototype.asIndexedPairs` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'AsyncIterator', name: 'indexed', proto: true, real: true, forced: true }, { + asIndexedPairs: indexed + }); + + + /***/ }), + /* 226 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var map = __webpack_require__(227); + + var callback = function (value, counter) { + return [counter, value]; + }; + + // `AsyncIterator.prototype.indexed` method + // https://github.com/tc39/proposal-iterator-helpers + module.exports = function indexed() { + return call(map, this, callback); + }; + + + /***/ }), + /* 227 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var isObject = __webpack_require__(19); + var getIteratorDirect = __webpack_require__(201); + var createAsyncIteratorProxy = __webpack_require__(228); + var createIterResultObject = __webpack_require__(200); + var closeAsyncIteration = __webpack_require__(203); + + var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { + var state = this; + var iterator = state.iterator; + var mapper = state.mapper; + + return new Promise(function (resolve, reject) { + var doneAndReject = function (error) { + state.done = true; + reject(error); + }; + + var ifAbruptCloseAsyncIterator = function (error) { + closeAsyncIteration(iterator, doneAndReject, error, doneAndReject); + }; + + Promise.resolve(anObject(call(state.next, iterator))).then(function (step) { + try { + if (anObject(step).done) { + state.done = true; + resolve(createIterResultObject(undefined, true)); + } else { + var value = step.value; + try { + var result = mapper(value, state.counter++); + + var handler = function (mapped) { + resolve(createIterResultObject(mapped, false)); + }; + + if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else handler(result); + } catch (error2) { ifAbruptCloseAsyncIterator(error2); } + } + } catch (error) { doneAndReject(error); } + }, doneAndReject); + }); + }); + + // `AsyncIterator.prototype.map` method + // https://github.com/tc39/proposal-iterator-helpers + module.exports = function map(mapper) { + anObject(this); + aCallable(mapper); + return new AsyncIteratorProxy(getIteratorDirect(this), { + mapper: mapper + }); + }; + + + /***/ }), + /* 228 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var perform = __webpack_require__(154); + var anObject = __webpack_require__(45); + var create = __webpack_require__(87); + var createNonEnumerableProperty = __webpack_require__(42); + var defineBuiltIns = __webpack_require__(198); + var wellKnownSymbol = __webpack_require__(32); + var InternalStateModule = __webpack_require__(50); + var getBuiltIn = __webpack_require__(22); + var getMethod = __webpack_require__(28); + var AsyncIteratorPrototype = __webpack_require__(199); + var createIterResultObject = __webpack_require__(200); + var iteratorClose = __webpack_require__(98); + + var Promise = getBuiltIn('Promise'); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var ASYNC_ITERATOR_HELPER = 'AsyncIteratorHelper'; + var WRAP_FOR_VALID_ASYNC_ITERATOR = 'WrapForValidAsyncIterator'; + var setInternalState = InternalStateModule.set; + + var createAsyncIteratorProxyPrototype = function (IS_ITERATOR) { + var IS_GENERATOR = !IS_ITERATOR; + var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER); + + var getStateOrEarlyExit = function (that) { + var stateCompletion = perform(function () { + return getInternalState(that); + }); + + var stateError = stateCompletion.error; + var state = stateCompletion.value; + + if (stateError || (IS_GENERATOR && state.done)) { + return { exit: true, value: stateError ? Promise.reject(state) : Promise.resolve(createIterResultObject(undefined, true)) }; + } return { exit: false, value: state }; + }; + + return defineBuiltIns(create(AsyncIteratorPrototype), { + next: function next() { + var stateCompletion = getStateOrEarlyExit(this); + var state = stateCompletion.value; + if (stateCompletion.exit) return state; + var handlerCompletion = perform(function () { + return anObject(state.nextHandler(Promise)); + }); + var handlerError = handlerCompletion.error; + var value = handlerCompletion.value; + if (handlerError) state.done = true; + return handlerError ? Promise.reject(value) : Promise.resolve(value); + }, + 'return': function () { + var stateCompletion = getStateOrEarlyExit(this); + var state = stateCompletion.value; + if (stateCompletion.exit) return state; + state.done = true; + var iterator = state.iterator; + var returnMethod, result; + var completion = perform(function () { + if (state.inner) try { + iteratorClose(state.inner.iterator, 'normal'); + } catch (error) { + return iteratorClose(iterator, 'throw', error); + } + return getMethod(iterator, 'return'); + }); + returnMethod = result = completion.value; + if (completion.error) return Promise.reject(result); + if (returnMethod === undefined) return Promise.resolve(createIterResultObject(undefined, true)); + completion = perform(function () { + return call(returnMethod, iterator); + }); + result = completion.value; + if (completion.error) return Promise.reject(result); + return IS_ITERATOR ? Promise.resolve(result) : Promise.resolve(result).then(function (resolved) { + anObject(resolved); + return createIterResultObject(undefined, true); + }); + } + }); + }; + + var WrapForValidAsyncIteratorPrototype = createAsyncIteratorProxyPrototype(true); + var AsyncIteratorHelperPrototype = createAsyncIteratorProxyPrototype(false); + + createNonEnumerableProperty(AsyncIteratorHelperPrototype, TO_STRING_TAG, 'Async Iterator Helper'); + + module.exports = function (nextHandler, IS_ITERATOR) { + var AsyncIteratorProxy = function AsyncIterator(record, state) { + if (state) { + state.iterator = record.iterator; + state.next = record.next; + } else state = record; + state.type = IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER; + state.nextHandler = nextHandler; + state.counter = 0; + state.done = false; + setInternalState(this, state); + }; + + AsyncIteratorProxy.prototype = IS_ITERATOR ? WrapForValidAsyncIteratorPrototype : AsyncIteratorHelperPrototype; + + return AsyncIteratorProxy; + }; + + + /***/ }), + /* 229 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://github.com/tc39/proposal-async-explicit-resource-management + var call = __webpack_require__(7); + var defineBuiltIn = __webpack_require__(46); + var getBuiltIn = __webpack_require__(22); + var getMethod = __webpack_require__(28); + var hasOwn = __webpack_require__(37); + var wellKnownSymbol = __webpack_require__(32); + var AsyncIteratorPrototype = __webpack_require__(199); + + var ASYNC_DISPOSE = wellKnownSymbol('asyncDispose'); + var Promise = getBuiltIn('Promise'); + + if (!hasOwn(AsyncIteratorPrototype, ASYNC_DISPOSE)) { + defineBuiltIn(AsyncIteratorPrototype, ASYNC_DISPOSE, function () { + var O = this; + return new Promise(function (resolve, reject) { + var $return = getMethod(O, 'return'); + if ($return) { + Promise.resolve(call($return, O)).then(function () { + resolve(undefined); + }, reject); + } else resolve(undefined); + }); + }); + } + + + /***/ }), + /* 230 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var notANaN = __webpack_require__(231); + var toPositiveInteger = __webpack_require__(187); + var createAsyncIteratorProxy = __webpack_require__(228); + var createIterResultObject = __webpack_require__(200); + var IS_PURE = __webpack_require__(35); + + var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { + var state = this; + + return new Promise(function (resolve, reject) { + var doneAndReject = function (error) { + state.done = true; + reject(error); + }; + + var loop = function () { + try { + Promise.resolve(anObject(call(state.next, state.iterator))).then(function (step) { + try { + if (anObject(step).done) { + state.done = true; + resolve(createIterResultObject(undefined, true)); + } else if (state.remaining) { + state.remaining--; + loop(); + } else resolve(createIterResultObject(step.value, false)); + } catch (err) { doneAndReject(err); } + }, doneAndReject); + } catch (error) { doneAndReject(error); } + }; + + loop(); + }); + }); + + // `AsyncIterator.prototype.drop` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { + drop: function drop(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new AsyncIteratorProxy(getIteratorDirect(this), { + remaining: remaining + }); + } + }); + + + /***/ }), + /* 231 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $RangeError = RangeError; + + module.exports = function (it) { + // eslint-disable-next-line no-self-compare -- NaN check + if (it === it) return it; + throw new $RangeError('NaN is not allowed'); + }; + + + /***/ }), /* 232 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var classof = __webpack_require__(13); - var bind = __webpack_require__(78); - var html = __webpack_require__(53); - var createElement = __webpack_require__(18); - var set = global.setImmediate; - var clear = global.clearImmediate; - var process = global.process; - var MessageChannel = global.MessageChannel; - var Dispatch = global.Dispatch; - var counter = 0; - var queue = {}; - var ONREADYSTATECHANGE = 'onreadystatechange'; - var defer, channel, port; - - var run = function () { - var id = +this; - // eslint-disable-next-line no-prototype-builtins - if (queue.hasOwnProperty(id)) { - var fn = queue[id]; - delete queue[id]; - fn(); - } - }; - - var listener = function (event) { - run.call(event.data); - }; - - // Node.js 0.9+ & IE10+ has setImmediate, otherwise: - if (!set || !clear) { - set = function setImmediate(fn) { - var args = []; - var i = 1; - while (arguments.length > i) args.push(arguments[i++]); - queue[++counter] = function () { - // eslint-disable-next-line no-new-func - (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args); - }; - defer(counter); - return counter; - }; - clear = function clearImmediate(id) { - delete queue[id]; - }; - // Node.js 0.8- - if (classof(process) == 'process') { - defer = function (id) { - process.nextTick(bind(run, id, 1)); - }; - // Sphere (JS game engine) Dispatch API - } else if (Dispatch && Dispatch.now) { - defer = function (id) { - Dispatch.now(bind(run, id, 1)); - }; - // Browsers with MessageChannel, includes WebWorkers - } else if (MessageChannel) { - channel = new MessageChannel(); - port = channel.port2; - channel.port1.onmessage = listener; - defer = bind(port.postMessage, port, 1); - // Browsers with postMessage, skip WebWorkers - // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' - } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { - defer = function (id) { - global.postMessage(id + '', '*'); - }; - global.addEventListener('message', listener, false); - // IE8- - } else if (ONREADYSTATECHANGE in createElement('script')) { - defer = function (id) { - html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () { - html.removeChild(this); - run.call(id); - }; - }; - // Rest old browsers - } else { - defer = function (id) { - setTimeout(bind(run, id, 1), 0); - }; - } - } - - module.exports = { - set: set, - clear: clear - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $every = __webpack_require__(202).every; + + // `AsyncIterator.prototype.every` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true }, { + every: function every(predicate) { + return $every(this, predicate); + } + }); + + + /***/ }), /* 233 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var getOwnPropertyDescriptor = __webpack_require__(8).f; - var classof = __webpack_require__(13); - var macrotask = __webpack_require__(232).set; - var userAgent = __webpack_require__(234); - var MutationObserver = global.MutationObserver || global.WebKitMutationObserver; - var process = global.process; - var Promise = global.Promise; - var IS_NODE = classof(process) == 'process'; - // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask` - var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask'); - var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value; - - var flush, head, last, notify, toggle, node, promise; - - // modern engines have queueMicrotask method - if (!queueMicrotask) { - flush = function () { - var parent, fn; - if (IS_NODE && (parent = process.domain)) parent.exit(); - while (head) { - fn = head.fn; - head = head.next; - try { - fn(); - } catch (e) { - if (head) notify(); - else last = undefined; - throw e; - } - } last = undefined; - if (parent) parent.enter(); - }; - - // Node.js - if (IS_NODE) { - notify = function () { - process.nextTick(flush); - }; - // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339 - } else if (MutationObserver && !/(iPhone|iPod|iPad).*AppleWebKit/i.test(userAgent)) { - toggle = true; - node = document.createTextNode(''); - new MutationObserver(flush).observe(node, { characterData: true }); // eslint-disable-line no-new - notify = function () { - node.data = toggle = !toggle; - }; - // environments with maybe non-completely correct, but existent Promise - } else if (Promise && Promise.resolve) { - // Promise.resolve without an argument throws an error in LG WebOS 2 - promise = Promise.resolve(undefined); - notify = function () { - promise.then(flush); - }; - // for other environments - macrotask based on: - // - setImmediate - // - MessageChannel - // - window.postMessag - // - onreadystatechange - // - setTimeout + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var isObject = __webpack_require__(19); + var getIteratorDirect = __webpack_require__(201); + var createAsyncIteratorProxy = __webpack_require__(228); + var createIterResultObject = __webpack_require__(200); + var closeAsyncIteration = __webpack_require__(203); + var IS_PURE = __webpack_require__(35); + + var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { + var state = this; + var iterator = state.iterator; + var predicate = state.predicate; + + return new Promise(function (resolve, reject) { + var doneAndReject = function (error) { + state.done = true; + reject(error); + }; + + var ifAbruptCloseAsyncIterator = function (error) { + closeAsyncIteration(iterator, doneAndReject, error, doneAndReject); + }; + + var loop = function () { + try { + Promise.resolve(anObject(call(state.next, iterator))).then(function (step) { + try { + if (anObject(step).done) { + state.done = true; + resolve(createIterResultObject(undefined, true)); } else { - notify = function () { - // strange IE + webpack dev server bug - use .call(global) - macrotask.call(global, flush); + var value = step.value; + try { + var result = predicate(value, state.counter++); + + var handler = function (selected) { + selected ? resolve(createIterResultObject(value, false)) : loop(); }; + + if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else handler(result); + } catch (error3) { ifAbruptCloseAsyncIterator(error3); } } - } - - module.exports = queueMicrotask || function (fn) { - var task = { fn: fn, next: undefined }; - if (last) last.next = task; - if (!head) { - head = task; - notify(); - } last = task; - }; - - - /***/ -}), + } catch (error2) { doneAndReject(error2); } + }, doneAndReject); + } catch (error) { doneAndReject(error); } + }; + + loop(); + }); + }); + + // `AsyncIterator.prototype.filter` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { + filter: function filter(predicate) { + anObject(this); + aCallable(predicate); + return new AsyncIteratorProxy(getIteratorDirect(this), { + predicate: predicate + }); + } + }); + + + /***/ }), /* 234 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var navigator = global.navigator; - - module.exports = navigator && navigator.userAgent || ''; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $find = __webpack_require__(202).find; + + // `AsyncIterator.prototype.find` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true }, { + find: function find(predicate) { + return $find(this, predicate); + } + }); + + + /***/ }), /* 235 */ - /***/ (function (module, exports, __webpack_require__) { - - var anObject = __webpack_require__(21); - var isObject = __webpack_require__(16); - var newPromiseCapability = __webpack_require__(236); - - module.exports = function (C, x) { - anObject(C); - if (isObject(x) && x.constructor === C) return x; - var promiseCapability = newPromiseCapability.f(C); - var resolve = promiseCapability.resolve; - resolve(x); - return promiseCapability.promise; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var isObject = __webpack_require__(19); + var getIteratorDirect = __webpack_require__(201); + var createAsyncIteratorProxy = __webpack_require__(228); + var createIterResultObject = __webpack_require__(200); + var getAsyncIteratorFlattenable = __webpack_require__(236); + var closeAsyncIteration = __webpack_require__(203); + var IS_PURE = __webpack_require__(35); + + var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { + var state = this; + var iterator = state.iterator; + var mapper = state.mapper; + + return new Promise(function (resolve, reject) { + var doneAndReject = function (error) { + state.done = true; + reject(error); + }; + + var ifAbruptCloseAsyncIterator = function (error) { + closeAsyncIteration(iterator, doneAndReject, error, doneAndReject); + }; + + var outerLoop = function () { + try { + Promise.resolve(anObject(call(state.next, iterator))).then(function (step) { + try { + if (anObject(step).done) { + state.done = true; + resolve(createIterResultObject(undefined, true)); + } else { + var value = step.value; + try { + var result = mapper(value, state.counter++); + + var handler = function (mapped) { + try { + state.inner = getAsyncIteratorFlattenable(mapped); + innerLoop(); + } catch (error4) { ifAbruptCloseAsyncIterator(error4); } + }; + + if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else handler(result); + } catch (error3) { ifAbruptCloseAsyncIterator(error3); } + } + } catch (error2) { doneAndReject(error2); } + }, doneAndReject); + } catch (error) { doneAndReject(error); } + }; + + var innerLoop = function () { + var inner = state.inner; + if (inner) { + try { + Promise.resolve(anObject(call(inner.next, inner.iterator))).then(function (result) { + try { + if (anObject(result).done) { + state.inner = null; + outerLoop(); + } else resolve(createIterResultObject(result.value, false)); + } catch (error1) { ifAbruptCloseAsyncIterator(error1); } + }, ifAbruptCloseAsyncIterator); + } catch (error) { ifAbruptCloseAsyncIterator(error); } + } else outerLoop(); + }; + + innerLoop(); + }); + }); + + // `AsyncIterator.prototype.flaMap` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { + flatMap: function flatMap(mapper) { + anObject(this); + aCallable(mapper); + return new AsyncIteratorProxy(getIteratorDirect(this), { + mapper: mapper, + inner: null + }); + } + }); + + + /***/ }), /* 236 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // 25.4.1.5 NewPromiseCapability(C) - var aFunction = __webpack_require__(79); - - var PromiseCapability = function (C) { - var resolve, reject; - this.promise = new C(function ($$resolve, $$reject) { - if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); - resolve = $$resolve; - reject = $$reject; - }); - this.resolve = aFunction(resolve); - this.reject = aFunction(reject); - }; - - module.exports.f = function (C) { - return new PromiseCapability(C); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var isCallable = __webpack_require__(20); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var getIteratorMethod = __webpack_require__(97); + var getMethod = __webpack_require__(28); + var wellKnownSymbol = __webpack_require__(32); + var AsyncFromSyncIterator = __webpack_require__(197); + + var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); + + module.exports = function (obj) { + var object = anObject(obj); + var alreadyAsync = true; + var method = getMethod(object, ASYNC_ITERATOR); + var iterator; + if (!isCallable(method)) { + method = getIteratorMethod(object); + alreadyAsync = false; + } + if (method !== undefined) { + iterator = call(method, object); + } else { + iterator = object; + alreadyAsync = true; + } + anObject(iterator); + return getIteratorDirect(alreadyAsync ? iterator : new AsyncFromSyncIterator(getIteratorDirect(iterator))); + }; + + + /***/ }), /* 237 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - - module.exports = function (a, b) { - var console = global.console; - if (console && console.error) { - arguments.length === 1 ? console.error(a) : console.error(a, b); - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $forEach = __webpack_require__(202).forEach; + + // `AsyncIterator.prototype.forEach` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true }, { + forEach: function forEach(fn) { + return $forEach(this, fn); + } + }); + + + /***/ }), /* 238 */ - /***/ (function (module, exports) { - - module.exports = function (exec) { - try { - return { e: false, v: exec() }; - } catch (e) { - return { e: true, v: e }; - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var toObject = __webpack_require__(38); + var isPrototypeOf = __webpack_require__(23); + var getAsyncIteratorFlattenable = __webpack_require__(236); + var AsyncIteratorPrototype = __webpack_require__(199); + var WrapAsyncIterator = __webpack_require__(239); + var IS_PURE = __webpack_require__(35); + + // `AsyncIterator.from` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', stat: true, forced: IS_PURE }, { + from: function from(O) { + var iteratorRecord = getAsyncIteratorFlattenable(typeof O == 'string' ? toObject(O) : O); + return isPrototypeOf(AsyncIteratorPrototype, iteratorRecord.iterator) + ? iteratorRecord.iterator + : new WrapAsyncIterator(iteratorRecord); + } + }); + + + /***/ }), /* 239 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var speciesConstructor = __webpack_require__(136); - var promiseResolve = __webpack_require__(235); - - // `Promise.prototype.finally` method - // https://tc39.github.io/ecma262/#sec-promise.prototype.finally - __webpack_require__(7)({ target: 'Promise', proto: true, real: true }, { - 'finally': function (onFinally) { - var C = speciesConstructor(this, getBuiltIn('Promise')); - var isFunction = typeof onFinally == 'function'; - return this.then( - isFunction ? function (x) { - return promiseResolve(C, onFinally()).then(function () { return x; }); - } : onFinally, - isFunction ? function (e) { - return promiseResolve(C, onFinally()).then(function () { throw e; }); - } : onFinally - ); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var createAsyncIteratorProxy = __webpack_require__(228); + + module.exports = createAsyncIteratorProxy(function () { + return call(this.next, this.iterator); + }, true); + + + /***/ }), /* 240 */ - /***/ (function (module, exports, __webpack_require__) { - - var aFunction = __webpack_require__(79); - var anObject = __webpack_require__(21); - var nativeApply = (__webpack_require__(2).Reflect || {}).apply; - var functionApply = Function.apply; - - // MS Edge argumentsList argument is optional - var OPTIONAL_ARGUMENTS_LIST = !__webpack_require__(5)(function () { - nativeApply(function () { /* empty */ }); - }); - - // `Reflect.apply` method - // https://tc39.github.io/ecma262/#sec-reflect.apply - __webpack_require__(7)({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, { - apply: function apply(target, thisArgument, argumentsList) { - aFunction(target); - anObject(argumentsList); - return nativeApply - ? nativeApply(target, thisArgument, argumentsList) - : functionApply.call(target, thisArgument, argumentsList); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var indexed = __webpack_require__(226); + + // `AsyncIterator.prototype.indexed` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true, forced: true }, { + indexed: indexed + }); + + + /***/ }), /* 241 */ - /***/ (function (module, exports, __webpack_require__) { - - var create = __webpack_require__(51); - var aFunction = __webpack_require__(79); - var anObject = __webpack_require__(21); - var isObject = __webpack_require__(16); - var fails = __webpack_require__(5); - var bind = __webpack_require__(146); - var nativeConstruct = (__webpack_require__(2).Reflect || {}).construct; - - // `Reflect.construct` method - // https://tc39.github.io/ecma262/#sec-reflect.construct - // MS Edge supports only 2 arguments and argumentsList argument is optional - // FF Nightly sets third argument as `new.target`, but does not create `this` from it - var NEW_TARGET_BUG = fails(function () { - function F() { /* empty */ } - return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F); - }); - var ARGS_BUG = !fails(function () { - nativeConstruct(function () { /* empty */ }); - }); - var FORCED = NEW_TARGET_BUG || ARGS_BUG; - - __webpack_require__(7)({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, { - construct: function construct(Target, args /* , newTarget */) { - aFunction(Target); - anObject(args); - var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); - if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget); - if (Target == newTarget) { - // w/o altered newTarget, optimization for 0-4 arguments - switch (args.length) { - case 0: return new Target(); - case 1: return new Target(args[0]); - case 2: return new Target(args[0], args[1]); - case 3: return new Target(args[0], args[1], args[2]); - case 4: return new Target(args[0], args[1], args[2], args[3]); - } - // w/o altered newTarget, lot of arguments case - var $args = [null]; - $args.push.apply($args, args); - return new (bind.apply(Target, $args))(); - } - // with altered newTarget, not support built-in constructors - var proto = newTarget.prototype; - var instance = create(isObject(proto) ? proto : Object.prototype); - var result = Function.apply.call(Target, instance, args); - return isObject(result) ? result : instance; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var map = __webpack_require__(227); + var IS_PURE = __webpack_require__(35); + + // `AsyncIterator.prototype.map` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { + map: map + }); + + + + /***/ }), /* 242 */ - /***/ (function (module, exports, __webpack_require__) { - - var definePropertyModule = __webpack_require__(20); - var anObject = __webpack_require__(21); - var toPrimitive = __webpack_require__(15); - var DESCRIPTORS = __webpack_require__(4); - - // MS Edge has broken Reflect.defineProperty - throwing instead of returning false - var ERROR_INSTEAD_OF_FALSE = __webpack_require__(5)(function () { - // eslint-disable-next-line no-undef - Reflect.defineProperty(definePropertyModule.f({}, 1, { value: 1 }), 1, { value: 2 }); - }); - - // `Reflect.defineProperty` method - // https://tc39.github.io/ecma262/#sec-reflect.defineproperty - __webpack_require__(7)({ target: 'Reflect', stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRIPTORS }, { - defineProperty: function defineProperty(target, propertyKey, attributes) { - anObject(target); - propertyKey = toPrimitive(propertyKey, true); - anObject(attributes); - try { - definePropertyModule.f(target, propertyKey, attributes); - return true; - } catch (e) { - return false; - } - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var isObject = __webpack_require__(19); + var getBuiltIn = __webpack_require__(22); + var getIteratorDirect = __webpack_require__(201); + var closeAsyncIteration = __webpack_require__(203); + + var Promise = getBuiltIn('Promise'); + var $TypeError = TypeError; + + // `AsyncIterator.prototype.reduce` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true }, { + reduce: function reduce(reducer /* , initialValue */) { + anObject(this); + aCallable(reducer); + var record = getIteratorDirect(this); + var iterator = record.iterator; + var next = record.next; + var noInitial = arguments.length < 2; + var accumulator = noInitial ? undefined : arguments[1]; + var counter = 0; + + return new Promise(function (resolve, reject) { + var ifAbruptCloseAsyncIterator = function (error) { + closeAsyncIteration(iterator, reject, error, reject); + }; + + var loop = function () { + try { + Promise.resolve(anObject(call(next, iterator))).then(function (step) { + try { + if (anObject(step).done) { + noInitial ? reject(new $TypeError('Reduce of empty iterator with no initial value')) : resolve(accumulator); + } else { + var value = step.value; + if (noInitial) { + noInitial = false; + accumulator = value; + loop(); + } else try { + var result = reducer(accumulator, value, counter); + + var handler = function ($result) { + accumulator = $result; + loop(); + }; + + if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else handler(result); + } catch (error3) { ifAbruptCloseAsyncIterator(error3); } + } + counter++; + } catch (error2) { reject(error2); } + }, reject); + } catch (error) { reject(error); } + }; + + loop(); + }); + } + }); + + + /***/ }), /* 243 */ - /***/ (function (module, exports, __webpack_require__) { - - var getOwnPropertyDescriptor = __webpack_require__(8).f; - var anObject = __webpack_require__(21); - - // `Reflect.deleteProperty` method - // https://tc39.github.io/ecma262/#sec-reflect.deleteproperty - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - deleteProperty: function deleteProperty(target, propertyKey) { - var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey); - return descriptor && !descriptor.configurable ? false : delete target[propertyKey]; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $some = __webpack_require__(202).some; + + // `AsyncIterator.prototype.some` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true }, { + some: function some(predicate) { + return $some(this, predicate); + } + }); + + + /***/ }), /* 244 */ - /***/ (function (module, exports, __webpack_require__) { - - var getOwnPropertyDescriptorModule = __webpack_require__(8); - var getPrototypeOf = __webpack_require__(106); - var has = __webpack_require__(3); - var isObject = __webpack_require__(16); - var anObject = __webpack_require__(21); - - // `Reflect.get` method - // https://tc39.github.io/ecma262/#sec-reflect.get - function get(target, propertyKey /* , receiver */) { - var receiver = arguments.length < 3 ? target : arguments[2]; - var descriptor, prototype; - if (anObject(target) === receiver) return target[propertyKey]; - if (descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey)) return has(descriptor, 'value') - ? descriptor.value - : descriptor.get === undefined - ? undefined - : descriptor.get.call(receiver); - if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver); - } - - __webpack_require__(7)({ target: 'Reflect', stat: true }, { get: get }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var notANaN = __webpack_require__(231); + var toPositiveInteger = __webpack_require__(187); + var createAsyncIteratorProxy = __webpack_require__(228); + var createIterResultObject = __webpack_require__(200); + var IS_PURE = __webpack_require__(35); + + var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { + var state = this; + var iterator = state.iterator; + var returnMethod; + + if (!state.remaining--) { + var resultDone = createIterResultObject(undefined, true); + state.done = true; + returnMethod = iterator['return']; + if (returnMethod !== undefined) { + return Promise.resolve(call(returnMethod, iterator, undefined)).then(function () { + return resultDone; + }); + } + return resultDone; + } return Promise.resolve(call(state.next, iterator)).then(function (step) { + if (anObject(step).done) { + state.done = true; + return createIterResultObject(undefined, true); + } return createIterResultObject(step.value, false); + }).then(null, function (error) { + state.done = true; + throw error; + }); + }); + + // `AsyncIterator.prototype.take` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { + take: function take(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new AsyncIteratorProxy(getIteratorDirect(this), { + remaining: remaining + }); + } + }); + + + /***/ }), /* 245 */ - /***/ (function (module, exports, __webpack_require__) { - - var getOwnPropertyDescriptorModule = __webpack_require__(8); - var anObject = __webpack_require__(21); - var DESCRIPTORS = __webpack_require__(4); - - // `Reflect.getOwnPropertyDescriptor` method - // https://tc39.github.io/ecma262/#sec-reflect.getownpropertydescriptor - __webpack_require__(7)({ target: 'Reflect', stat: true, sham: !DESCRIPTORS }, { - getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { - return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $toArray = __webpack_require__(202).toArray; + + // `AsyncIterator.prototype.toArray` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true }, { + toArray: function toArray() { + return $toArray(this, undefined, []); + } + }); + + + /***/ }), /* 246 */ - /***/ (function (module, exports, __webpack_require__) { - - var objectGetPrototypeOf = __webpack_require__(106); - var anObject = __webpack_require__(21); - var CORRECT_PROTOTYPE_GETTER = __webpack_require__(107); - - // `Reflect.getPrototypeOf` method - // https://tc39.github.io/ecma262/#sec-reflect.getprototypeof - __webpack_require__(7)({ target: 'Reflect', stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, { - getPrototypeOf: function getPrototypeOf(target) { - return objectGetPrototypeOf(anObject(target)); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable es/no-bigint -- safe */ + var $ = __webpack_require__(2); + var NumericRangeIterator = __webpack_require__(247); + + // `BigInt.range` method + // https://github.com/tc39/proposal-Number.range + // TODO: Remove from `core-js@4` + if (typeof BigInt == 'function') { + $({ target: 'BigInt', stat: true, forced: true }, { + range: function range(start, end, option) { + return new NumericRangeIterator(start, end, option, 'bigint', BigInt(0), BigInt(1)); + } + }); + } + + + /***/ }), /* 247 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Reflect.has` method - // https://tc39.github.io/ecma262/#sec-reflect.has - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - has: function has(target, propertyKey) { - return propertyKey in target; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var InternalStateModule = __webpack_require__(50); + var createIteratorConstructor = __webpack_require__(248); + var createIterResultObject = __webpack_require__(200); + var isNullOrUndefined = __webpack_require__(16); + var isObject = __webpack_require__(19); + var defineBuiltInAccessor = __webpack_require__(118); + var DESCRIPTORS = __webpack_require__(5); + + var INCORRECT_RANGE = 'Incorrect Iterator.range arguments'; + var NUMERIC_RANGE_ITERATOR = 'NumericRangeIterator'; + + var setInternalState = InternalStateModule.set; + var getInternalState = InternalStateModule.getterFor(NUMERIC_RANGE_ITERATOR); + + var $RangeError = RangeError; + var $TypeError = TypeError; + + var $RangeIterator = createIteratorConstructor(function NumericRangeIterator(start, end, option, type, zero, one) { + // TODO: Drop the first `typeof` check after removing legacy methods in `core-js@4` + if (typeof start != type || (end !== Infinity && end !== -Infinity && typeof end != type)) { + throw new $TypeError(INCORRECT_RANGE); + } + if (start === Infinity || start === -Infinity) { + throw new $RangeError(INCORRECT_RANGE); + } + var ifIncrease = end > start; + var inclusiveEnd = false; + var step; + if (option === undefined) { + step = undefined; + } else if (isObject(option)) { + step = option.step; + inclusiveEnd = !!option.inclusive; + } else if (typeof option == type) { + step = option; + } else { + throw new $TypeError(INCORRECT_RANGE); + } + if (isNullOrUndefined(step)) { + step = ifIncrease ? one : -one; + } + if (typeof step != type) { + throw new $TypeError(INCORRECT_RANGE); + } + if (step === Infinity || step === -Infinity || (step === zero && start !== end)) { + throw new $RangeError(INCORRECT_RANGE); + } + // eslint-disable-next-line no-self-compare -- NaN check + var hitsEnd = start !== start || end !== end || step !== step || (end > start) !== (step > zero); + setInternalState(this, { + type: NUMERIC_RANGE_ITERATOR, + start: start, + end: end, + step: step, + inclusive: inclusiveEnd, + hitsEnd: hitsEnd, + currentCount: zero, + zero: zero + }); + if (!DESCRIPTORS) { + this.start = start; + this.end = end; + this.step = step; + this.inclusive = inclusiveEnd; + } + }, NUMERIC_RANGE_ITERATOR, function next() { + var state = getInternalState(this); + if (state.hitsEnd) return createIterResultObject(undefined, true); + var start = state.start; + var end = state.end; + var step = state.step; + var currentYieldingValue = start + (step * state.currentCount++); + if (currentYieldingValue === end) state.hitsEnd = true; + var inclusiveEnd = state.inclusive; + var endCondition; + if (end > start) { + endCondition = inclusiveEnd ? currentYieldingValue > end : currentYieldingValue >= end; + } else { + endCondition = inclusiveEnd ? end > currentYieldingValue : end >= currentYieldingValue; + } + if (endCondition) { + state.hitsEnd = true; + return createIterResultObject(undefined, true); + } return createIterResultObject(currentYieldingValue, false); + }); + + var addGetter = function (key) { + defineBuiltInAccessor($RangeIterator.prototype, key, { + get: function () { + return getInternalState(this)[key]; + }, + set: function () { /* empty */ }, + configurable: true, + enumerable: false + }); + }; + + if (DESCRIPTORS) { + addGetter('start'); + addGetter('end'); + addGetter('inclusive'); + addGetter('step'); + } + + module.exports = $RangeIterator; + + + /***/ }), /* 248 */ - /***/ (function (module, exports, __webpack_require__) { - - var anObject = __webpack_require__(21); - var objectIsExtensible = Object.isExtensible; - - // `Reflect.isExtensible` method - // https://tc39.github.io/ecma262/#sec-reflect.isextensible - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - isExtensible: function isExtensible(target) { - anObject(target); - return objectIsExtensible ? objectIsExtensible(target) : true; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var IteratorPrototype = __webpack_require__(249).IteratorPrototype; + var create = __webpack_require__(87); + var createPropertyDescriptor = __webpack_require__(10); + var setToStringTag = __webpack_require__(138); + var Iterators = __webpack_require__(95); + + var returnThis = function () { return this; }; + + module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) { + var TO_STRING_TAG = NAME + ' Iterator'; + IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) }); + setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); + Iterators[TO_STRING_TAG] = returnThis; + return IteratorConstructor; + }; + + + /***/ }), /* 249 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Reflect.ownKeys` method - // https://tc39.github.io/ecma262/#sec-reflect.ownkeys - __webpack_require__(7)({ target: 'Reflect', stat: true }, { ownKeys: __webpack_require__(32) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + var isCallable = __webpack_require__(20); + var isObject = __webpack_require__(19); + var create = __webpack_require__(87); + var getPrototypeOf = __webpack_require__(85); + var defineBuiltIn = __webpack_require__(46); + var wellKnownSymbol = __webpack_require__(32); + var IS_PURE = __webpack_require__(35); + + var ITERATOR = wellKnownSymbol('iterator'); + var BUGGY_SAFARI_ITERATORS = false; + + // `%IteratorPrototype%` object + // https://tc39.es/ecma262/#sec-%iteratorprototype%-object + var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; + + /* eslint-disable es/no-array-prototype-keys -- safe */ + if ([].keys) { + arrayIterator = [].keys(); + // Safari 8 has buggy iterators w/o `next` + if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; + else { + PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); + if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; + } + } + + var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () { + var test = {}; + // FF44- legacy iterators case + return IteratorPrototype[ITERATOR].call(test) !== test; + }); + + if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; + else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); + + // `%IteratorPrototype%[@@iterator]()` method + // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator + if (!isCallable(IteratorPrototype[ITERATOR])) { + defineBuiltIn(IteratorPrototype, ITERATOR, function () { + return this; + }); + } + + module.exports = { + IteratorPrototype: IteratorPrototype, + BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS + }; + + + /***/ }), /* 250 */ - /***/ (function (module, exports, __webpack_require__) { - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var FREEZING = __webpack_require__(153); - - // `Reflect.preventExtensions` method - // https://tc39.github.io/ecma262/#sec-reflect.preventextensions - __webpack_require__(7)({ target: 'Reflect', stat: true, sham: !FREEZING }, { - preventExtensions: function preventExtensions(target) { - anObject(target); - try { - var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions'); - if (objectPreventExtensions) objectPreventExtensions(target); - return true; - } catch (e) { - return false; - } - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var apply = __webpack_require__(67); + var getCompositeKeyNode = __webpack_require__(251); + var getBuiltIn = __webpack_require__(22); + var create = __webpack_require__(87); + + var $Object = Object; + + var initializer = function () { + var freeze = getBuiltIn('Object', 'freeze'); + return freeze ? freeze(create(null)) : create(null); + }; + + // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey + $({ global: true, forced: true }, { + compositeKey: function compositeKey() { + return apply(getCompositeKeyNode, $Object, arguments).get('object', initializer); + } + }); + + + /***/ }), /* 251 */ - /***/ (function (module, exports, __webpack_require__) { - - var definePropertyModule = __webpack_require__(20); - var getOwnPropertyDescriptorModule = __webpack_require__(8); - var getPrototypeOf = __webpack_require__(106); - var has = __webpack_require__(3); - var createPropertyDescriptor = __webpack_require__(10); - var anObject = __webpack_require__(21); - var isObject = __webpack_require__(16); - - // `Reflect.set` method - // https://tc39.github.io/ecma262/#sec-reflect.set - function set(target, propertyKey, V /* , receiver */) { - var receiver = arguments.length < 4 ? target : arguments[3]; - var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); - var existingDescriptor, prototype; - if (!ownDescriptor) { - if (isObject(prototype = getPrototypeOf(target))) { - return set(prototype, propertyKey, V, receiver); - } - ownDescriptor = createPropertyDescriptor(0); - } - if (has(ownDescriptor, 'value')) { - if (ownDescriptor.writable === false || !isObject(receiver)) return false; - if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) { - if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false; - existingDescriptor.value = V; - definePropertyModule.f(receiver, propertyKey, existingDescriptor); - } else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V)); - return true; - } - return ownDescriptor.set === undefined ? false : (ownDescriptor.set.call(receiver, V), true); - } - - __webpack_require__(7)({ target: 'Reflect', stat: true }, { set: set }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` + __webpack_require__(252); + __webpack_require__(262); + var getBuiltIn = __webpack_require__(22); + var create = __webpack_require__(87); + var isObject = __webpack_require__(19); + + var $Object = Object; + var $TypeError = TypeError; + var Map = getBuiltIn('Map'); + var WeakMap = getBuiltIn('WeakMap'); + + var Node = function () { + // keys + this.object = null; + this.symbol = null; + // child nodes + this.primitives = null; + this.objectsByIndex = create(null); + }; + + Node.prototype.get = function (key, initializer) { + return this[key] || (this[key] = initializer()); + }; + + Node.prototype.next = function (i, it, IS_OBJECT) { + var store = IS_OBJECT + ? this.objectsByIndex[i] || (this.objectsByIndex[i] = new WeakMap()) + : this.primitives || (this.primitives = new Map()); + var entry = store.get(it); + if (!entry) store.set(it, entry = new Node()); + return entry; + }; + + var root = new Node(); + + module.exports = function () { + var active = root; + var length = arguments.length; + var i, it; + // for prevent leaking, start from objects + for (i = 0; i < length; i++) { + if (isObject(it = arguments[i])) active = active.next(i, it, true); + } + if (this === $Object && active === root) throw new $TypeError('Composite keys must contain a non-primitive component'); + for (i = 0; i < length; i++) { + if (!isObject(it = arguments[i])) active = active.next(i, it, false); + } return active; + }; + + + /***/ }), /* 252 */ - /***/ (function (module, exports, __webpack_require__) { - - var objectSetPrototypeOf = __webpack_require__(108); - var validateSetPrototypeOfArguments = __webpack_require__(109); - - // `Reflect.setPrototypeOf` method - // https://tc39.github.io/ecma262/#sec-reflect.setprototypeof - if (objectSetPrototypeOf) __webpack_require__(7)({ target: 'Reflect', stat: true }, { - setPrototypeOf: function setPrototypeOf(target, proto) { - validateSetPrototypeOfArguments(target, proto); - try { - objectSetPrototypeOf(target, proto); - return true; - } catch (e) { - return false; - } - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove this module from `core-js@4` since it's replaced to module below + __webpack_require__(253); + + + /***/ }), /* 253 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - var MATCH = __webpack_require__(43)('match'); - var global = __webpack_require__(2); - var isForced = __webpack_require__(41); - var inheritIfRequired = __webpack_require__(155); - var defineProperty = __webpack_require__(20).f; - var getOwnPropertyNames = __webpack_require__(33).f; - var isRegExp = __webpack_require__(254); - var getFlags = __webpack_require__(255); - var redefine = __webpack_require__(22); - var fails = __webpack_require__(5); - var NativeRegExp = global.RegExp; - var RegExpPrototype = NativeRegExp.prototype; - var re1 = /a/g; - var re2 = /a/g; - - // "new" should create a new object, old webkit bug - var CORRECT_NEW = new NativeRegExp(re1) !== re1; - - var FORCED = isForced('RegExp', DESCRIPTORS && (!CORRECT_NEW || fails(function () { - re2[MATCH] = false; - // RegExp constructor can alter flags and IsRegExp works correct with @@match - return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i'; - }))); - - // `RegExp` constructor - // https://tc39.github.io/ecma262/#sec-regexp-constructor - if (FORCED) { - var RegExpWrapper = function RegExp(pattern, flags) { - var thisIsRegExp = this instanceof RegExpWrapper; - var patternIsRegExp = isRegExp(pattern); - var flagsAreUndefined = flags === undefined; - return !thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined ? pattern - : inheritIfRequired(CORRECT_NEW - ? new NativeRegExp(patternIsRegExp && !flagsAreUndefined ? pattern.source : pattern, flags) - : NativeRegExp((patternIsRegExp = pattern instanceof RegExpWrapper) - ? pattern.source - : pattern, patternIsRegExp && flagsAreUndefined ? getFlags.call(pattern) : flags) - , thisIsRegExp ? this : RegExpPrototype, RegExpWrapper); - }; - var proxy = function (key) { - key in RegExpWrapper || defineProperty(RegExpWrapper, key, { - configurable: true, - get: function () { return NativeRegExp[key]; }, - set: function (it) { NativeRegExp[key] = it; } - }); - }; - var keys = getOwnPropertyNames(NativeRegExp); - var i = 0; - while (i < keys.length) proxy(keys[i++]); - RegExpPrototype.constructor = RegExpWrapper; - RegExpWrapper.prototype = RegExpPrototype; - redefine(global, 'RegExp', RegExpWrapper); - } - - // https://tc39.github.io/ecma262/#sec-get-regexp-@@species - __webpack_require__(123)('RegExp'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var collection = __webpack_require__(254); + var collectionStrong = __webpack_require__(260); + + // `Map` constructor + // https://tc39.es/ecma262/#sec-map-objects + collection('Map', function (init) { + return function Map() { return init(this, arguments.length ? arguments[0] : undefined); }; + }, collectionStrong); + + + /***/ }), /* 254 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var classof = __webpack_require__(13); - var MATCH = __webpack_require__(43)('match'); - - // `IsRegExp` abstract operation - // https://tc39.github.io/ecma262/#sec-isregexp - module.exports = function (it) { - var isRegExp; - return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp'); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var uncurryThis = __webpack_require__(13); + var isForced = __webpack_require__(66); + var defineBuiltIn = __webpack_require__(46); + var InternalMetadataModule = __webpack_require__(255); + var iterate = __webpack_require__(91); + var anInstance = __webpack_require__(140); + var isCallable = __webpack_require__(20); + var isNullOrUndefined = __webpack_require__(16); + var isObject = __webpack_require__(19); + var fails = __webpack_require__(6); + var checkCorrectnessOfIteration = __webpack_require__(160); + var setToStringTag = __webpack_require__(138); + var inheritIfRequired = __webpack_require__(74); + + module.exports = function (CONSTRUCTOR_NAME, wrapper, common) { + var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1; + var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1; + var ADDER = IS_MAP ? 'set' : 'add'; + var NativeConstructor = global[CONSTRUCTOR_NAME]; + var NativePrototype = NativeConstructor && NativeConstructor.prototype; + var Constructor = NativeConstructor; + var exported = {}; + + var fixMethod = function (KEY) { + var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]); + defineBuiltIn(NativePrototype, KEY, + KEY === 'add' ? function add(value) { + uncurriedNativeMethod(this, value === 0 ? 0 : value); + return this; + } : KEY === 'delete' ? function (key) { + return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); + } : KEY === 'get' ? function get(key) { + return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key); + } : KEY === 'has' ? function has(key) { + return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); + } : function set(key, value) { + uncurriedNativeMethod(this, key === 0 ? 0 : key, value); + return this; + } + ); + }; + + var REPLACE = isForced( + CONSTRUCTOR_NAME, + !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () { + new NativeConstructor().entries().next(); + })) + ); + + if (REPLACE) { + // create collection constructor + Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); + InternalMetadataModule.enable(); + } else if (isForced(CONSTRUCTOR_NAME, true)) { + var instance = new Constructor(); + // early implementations not supports chaining + var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) !== instance; + // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false + var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); + // most early implementations doesn't supports iterables, most modern - not close it correctly + // eslint-disable-next-line no-new -- required for testing + var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); }); + // for early implementations -0 and +0 not the same + var BUGGY_ZERO = !IS_WEAK && fails(function () { + // V8 ~ Chromium 42- fails only with 5+ elements + var $instance = new NativeConstructor(); + var index = 5; + while (index--) $instance[ADDER](index, index); + return !$instance.has(-0); + }); + + if (!ACCEPT_ITERABLES) { + Constructor = wrapper(function (dummy, iterable) { + anInstance(dummy, NativePrototype); + var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor); + if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + return that; + }); + Constructor.prototype = NativePrototype; + NativePrototype.constructor = Constructor; + } + + if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { + fixMethod('delete'); + fixMethod('has'); + IS_MAP && fixMethod('get'); + } + + if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); + + // weak collections should not contains .clear method + if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear; + } + + exported[CONSTRUCTOR_NAME] = Constructor; + $({ global: true, constructor: true, forced: Constructor !== NativeConstructor }, exported); + + setToStringTag(Constructor, CONSTRUCTOR_NAME); + + if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); + + return Constructor; + }; + + + /***/ }), /* 255 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - - // `RegExp.prototype.flags` getter implementation - // https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags - module.exports = function () { - var that = anObject(this); - var result = ''; - if (that.global) result += 'g'; - if (that.ignoreCase) result += 'i'; - if (that.multiline) result += 'm'; - if (that.unicode) result += 'u'; - if (that.sticky) result += 'y'; - return result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var hiddenKeys = __webpack_require__(53); + var isObject = __webpack_require__(19); + var hasOwn = __webpack_require__(37); + var defineProperty = __webpack_require__(43).f; + var getOwnPropertyNamesModule = __webpack_require__(56); + var getOwnPropertyNamesExternalModule = __webpack_require__(256); + var isExtensible = __webpack_require__(257); + var uid = __webpack_require__(39); + var FREEZING = __webpack_require__(259); + + var REQUIRED = false; + var METADATA = uid('meta'); + var id = 0; + + var setMetadata = function (it) { + defineProperty(it, METADATA, { value: { + objectID: 'O' + id++, // object ID + weakData: {} // weak collections IDs + } }); + }; + + var fastKey = function (it, create) { + // return a primitive with prefix + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; + if (!hasOwn(it, METADATA)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return 'F'; + // not necessary to add metadata + if (!create) return 'E'; + // add missing metadata + setMetadata(it); + // return object ID + } return it[METADATA].objectID; + }; + + var getWeakData = function (it, create) { + if (!hasOwn(it, METADATA)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return true; + // not necessary to add metadata + if (!create) return false; + // add missing metadata + setMetadata(it); + // return the store of weak collections IDs + } return it[METADATA].weakData; + }; + + // add metadata on freeze-family methods calling + var onFreeze = function (it) { + if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it); + return it; + }; + + var enable = function () { + meta.enable = function () { /* empty */ }; + REQUIRED = true; + var getOwnPropertyNames = getOwnPropertyNamesModule.f; + var splice = uncurryThis([].splice); + var test = {}; + test[METADATA] = 1; + + // prevent exposing of metadata key + if (getOwnPropertyNames(test).length) { + getOwnPropertyNamesModule.f = function (it) { + var result = getOwnPropertyNames(it); + for (var i = 0, length = result.length; i < length; i++) { + if (result[i] === METADATA) { + splice(result, i, 1); + break; + } + } return result; + }; + + $({ target: 'Object', stat: true, forced: true }, { + getOwnPropertyNames: getOwnPropertyNamesExternalModule.f + }); + } + }; + + var meta = module.exports = { + enable: enable, + fastKey: fastKey, + getWeakData: getWeakData, + onFreeze: onFreeze + }; + + hiddenKeys[METADATA] = true; + + + /***/ }), /* 256 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - - var regexpExec = __webpack_require__(257); - - __webpack_require__(7)({ target: 'RegExp', proto: true, forced: /./.exec !== regexpExec }, { - exec: regexpExec - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable es/no-object-getownpropertynames -- safe */ + var classof = __webpack_require__(14); + var toIndexedObject = __webpack_require__(11); + var $getOwnPropertyNames = __webpack_require__(56).f; + var arraySlice = __webpack_require__(145); + + var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames + ? Object.getOwnPropertyNames(window) : []; + + var getWindowNames = function (it) { + try { + return $getOwnPropertyNames(it); + } catch (error) { + return arraySlice(windowNames); + } + }; + + // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window + module.exports.f = function getOwnPropertyNames(it) { + return windowNames && classof(it) === 'Window' + ? getWindowNames(it) + : $getOwnPropertyNames(toIndexedObject(it)); + }; + + + /***/ }), /* 257 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - - var regexpFlags = __webpack_require__(255); - - var nativeExec = RegExp.prototype.exec; - // This always refers to the native implementation, because the - // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, - // which loads this file before patching the method. - var nativeReplace = String.prototype.replace; - - var patchedExec = nativeExec; - - var UPDATES_LAST_INDEX_WRONG = (function () { - var re1 = /a/; - var re2 = /b*/g; - nativeExec.call(re1, 'a'); - nativeExec.call(re2, 'a'); - return re1.lastIndex !== 0 || re2.lastIndex !== 0; - })(); - - // nonparticipating capturing group, copied from es5-shim's String#split patch. - var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; - - var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; - - if (PATCH) { - patchedExec = function exec(str) { - var re = this; - var lastIndex, reCopy, match, i; - - if (NPCG_INCLUDED) { - reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); - } - if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; - - match = nativeExec.call(re, str); - - if (UPDATES_LAST_INDEX_WRONG && match) { - re.lastIndex = re.global ? match.index + match[0].length : lastIndex; - } - if (NPCG_INCLUDED && match && match.length > 1) { - // Fix browsers whose `exec` methods don't consistently return `undefined` - // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ - nativeReplace.call(match[0], reCopy, function () { - for (i = 1; i < arguments.length - 2; i++) { - if (arguments[i] === undefined) match[i] = undefined; - } - }); - } - - return match; - }; - } - - module.exports = patchedExec; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + var isObject = __webpack_require__(19); + var classof = __webpack_require__(14); + var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(258); + + // eslint-disable-next-line es/no-object-isextensible -- safe + var $isExtensible = Object.isExtensible; + var FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); }); + + // `Object.isExtensible` method + // https://tc39.es/ecma262/#sec-object.isextensible + module.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) { + if (!isObject(it)) return false; + if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return false; + return $isExtensible ? $isExtensible(it) : true; + } : $isExtensible; + + + /***/ }), /* 258 */ - /***/ (function (module, exports, __webpack_require__) { - - // `RegExp.prototype.flags` getter - // https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags - if (__webpack_require__(4) && /./g.flags != 'g') { - __webpack_require__(20).f(RegExp.prototype, 'flags', { - configurable: true, - get: __webpack_require__(255) - }); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it + var fails = __webpack_require__(6); + + module.exports = fails(function () { + if (typeof ArrayBuffer == 'function') { + var buffer = new ArrayBuffer(8); + // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe + if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 }); + } + }); + + + /***/ }), /* 259 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var fails = __webpack_require__(5); - var flags = __webpack_require__(255); - var DESCRIPTORS = __webpack_require__(4); - var TO_STRING = 'toString'; - var nativeToString = /./[TO_STRING]; - - var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; }); - // FF44- RegExp#toString has a wrong name - var INCORRECT_NAME = nativeToString.name != TO_STRING; - - // `RegExp.prototype.toString` method - // https://tc39.github.io/ecma262/#sec-regexp.prototype.tostring - if (NOT_GENERIC || INCORRECT_NAME) { - __webpack_require__(22)(RegExp.prototype, TO_STRING, function toString() { - var R = anObject(this); - return '/'.concat(R.source, '/', - 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? flags.call(R) : undefined); - }, { unsafe: true }); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + + module.exports = !fails(function () { + // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing + return Object.isExtensible(Object.preventExtensions({})); + }); + + + /***/ }), /* 260 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // `Set` constructor - // https://tc39.github.io/ecma262/#sec-set-objects - module.exports = __webpack_require__(151)('Set', function (get) { - return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; - }, __webpack_require__(156)); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var create = __webpack_require__(87); + var defineBuiltInAccessor = __webpack_require__(118); + var defineBuiltIns = __webpack_require__(198); + var bind = __webpack_require__(92); + var anInstance = __webpack_require__(140); + var isNullOrUndefined = __webpack_require__(16); + var iterate = __webpack_require__(91); + var defineIterator = __webpack_require__(261); + var createIterResultObject = __webpack_require__(200); + var setSpecies = __webpack_require__(139); + var DESCRIPTORS = __webpack_require__(5); + var fastKey = __webpack_require__(255).fastKey; + var InternalStateModule = __webpack_require__(50); + + var setInternalState = InternalStateModule.set; + var internalStateGetterFor = InternalStateModule.getterFor; + + module.exports = { + getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { + var Constructor = wrapper(function (that, iterable) { + anInstance(that, Prototype); + setInternalState(that, { + type: CONSTRUCTOR_NAME, + index: create(null), + first: undefined, + last: undefined, + size: 0 + }); + if (!DESCRIPTORS) that.size = 0; + if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + }); + + var Prototype = Constructor.prototype; + + var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); + + var define = function (that, key, value) { + var state = getInternalState(that); + var entry = getEntry(that, key); + var previous, index; + // change existing entry + if (entry) { + entry.value = value; + // create new entry + } else { + state.last = entry = { + index: index = fastKey(key, true), + key: key, + value: value, + previous: previous = state.last, + next: undefined, + removed: false + }; + if (!state.first) state.first = entry; + if (previous) previous.next = entry; + if (DESCRIPTORS) state.size++; + else that.size++; + // add to index + if (index !== 'F') state.index[index] = entry; + } return that; + }; + + var getEntry = function (that, key) { + var state = getInternalState(that); + // fast case + var index = fastKey(key); + var entry; + if (index !== 'F') return state.index[index]; + // frozen object case + for (entry = state.first; entry; entry = entry.next) { + if (entry.key === key) return entry; + } + }; + + defineBuiltIns(Prototype, { + // `{ Map, Set }.prototype.clear()` methods + // https://tc39.es/ecma262/#sec-map.prototype.clear + // https://tc39.es/ecma262/#sec-set.prototype.clear + clear: function clear() { + var that = this; + var state = getInternalState(that); + var entry = state.first; + while (entry) { + entry.removed = true; + if (entry.previous) entry.previous = entry.previous.next = undefined; + entry = entry.next; + } + state.first = state.last = undefined; + state.index = create(null); + if (DESCRIPTORS) state.size = 0; + else that.size = 0; + }, + // `{ Map, Set }.prototype.delete(key)` methods + // https://tc39.es/ecma262/#sec-map.prototype.delete + // https://tc39.es/ecma262/#sec-set.prototype.delete + 'delete': function (key) { + var that = this; + var state = getInternalState(that); + var entry = getEntry(that, key); + if (entry) { + var next = entry.next; + var prev = entry.previous; + delete state.index[entry.index]; + entry.removed = true; + if (prev) prev.next = next; + if (next) next.previous = prev; + if (state.first === entry) state.first = next; + if (state.last === entry) state.last = prev; + if (DESCRIPTORS) state.size--; + else that.size--; + } return !!entry; + }, + // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods + // https://tc39.es/ecma262/#sec-map.prototype.foreach + // https://tc39.es/ecma262/#sec-set.prototype.foreach + forEach: function forEach(callbackfn /* , that = undefined */) { + var state = getInternalState(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var entry; + while (entry = entry ? entry.next : state.first) { + boundFunction(entry.value, entry.key, this); + // revert to the last existing entry + while (entry && entry.removed) entry = entry.previous; + } + }, + // `{ Map, Set}.prototype.has(key)` methods + // https://tc39.es/ecma262/#sec-map.prototype.has + // https://tc39.es/ecma262/#sec-set.prototype.has + has: function has(key) { + return !!getEntry(this, key); + } + }); + + defineBuiltIns(Prototype, IS_MAP ? { + // `Map.prototype.get(key)` method + // https://tc39.es/ecma262/#sec-map.prototype.get + get: function get(key) { + var entry = getEntry(this, key); + return entry && entry.value; + }, + // `Map.prototype.set(key, value)` method + // https://tc39.es/ecma262/#sec-map.prototype.set + set: function set(key, value) { + return define(this, key === 0 ? 0 : key, value); + } + } : { + // `Set.prototype.add(value)` method + // https://tc39.es/ecma262/#sec-set.prototype.add + add: function add(value) { + return define(this, value = value === 0 ? 0 : value, value); + } + }); + if (DESCRIPTORS) defineBuiltInAccessor(Prototype, 'size', { + configurable: true, + get: function () { + return getInternalState(this).size; + } + }); + return Constructor; + }, + setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) { + var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator'; + var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); + var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); + // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods + // https://tc39.es/ecma262/#sec-map.prototype.entries + // https://tc39.es/ecma262/#sec-map.prototype.keys + // https://tc39.es/ecma262/#sec-map.prototype.values + // https://tc39.es/ecma262/#sec-map.prototype-@@iterator + // https://tc39.es/ecma262/#sec-set.prototype.entries + // https://tc39.es/ecma262/#sec-set.prototype.keys + // https://tc39.es/ecma262/#sec-set.prototype.values + // https://tc39.es/ecma262/#sec-set.prototype-@@iterator + defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) { + setInternalState(this, { + type: ITERATOR_NAME, + target: iterated, + state: getInternalCollectionState(iterated), + kind: kind, + last: undefined + }); + }, function () { + var state = getInternalIteratorState(this); + var kind = state.kind; + var entry = state.last; + // revert to the last existing entry + while (entry && entry.removed) entry = entry.previous; + // get next entry + if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) { + // or finish the iteration + state.target = undefined; + return createIterResultObject(undefined, true); + } + // return step by kind + if (kind === 'keys') return createIterResultObject(entry.key, false); + if (kind === 'values') return createIterResultObject(entry.value, false); + return createIterResultObject([entry.key, entry.value], false); + }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); + + // `{ Map, Set }.prototype[@@species]` accessors + // https://tc39.es/ecma262/#sec-get-map-@@species + // https://tc39.es/ecma262/#sec-get-set-@@species + setSpecies(CONSTRUCTOR_NAME); + } + }; + + + /***/ }), /* 261 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalCodePointAt = __webpack_require__(262); - - // `String.prototype.codePointAt` method - // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat - __webpack_require__(7)({ target: 'String', proto: true }, { - codePointAt: function codePointAt(pos) { - return internalCodePointAt(this, pos); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var IS_PURE = __webpack_require__(35); + var FunctionName = __webpack_require__(48); + var isCallable = __webpack_require__(20); + var createIteratorConstructor = __webpack_require__(248); + var getPrototypeOf = __webpack_require__(85); + var setPrototypeOf = __webpack_require__(69); + var setToStringTag = __webpack_require__(138); + var createNonEnumerableProperty = __webpack_require__(42); + var defineBuiltIn = __webpack_require__(46); + var wellKnownSymbol = __webpack_require__(32); + var Iterators = __webpack_require__(95); + var IteratorsCore = __webpack_require__(249); + + var PROPER_FUNCTION_NAME = FunctionName.PROPER; + var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; + var IteratorPrototype = IteratorsCore.IteratorPrototype; + var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; + var ITERATOR = wellKnownSymbol('iterator'); + var KEYS = 'keys'; + var VALUES = 'values'; + var ENTRIES = 'entries'; + + var returnThis = function () { return this; }; + + module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { + createIteratorConstructor(IteratorConstructor, NAME, next); + + var getIterationMethod = function (KIND) { + if (KIND === DEFAULT && defaultIterator) return defaultIterator; + if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND]; + + switch (KIND) { + case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; + case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; + case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; + } + + return function () { return new IteratorConstructor(this); }; + }; + + var TO_STRING_TAG = NAME + ' Iterator'; + var INCORRECT_VALUES_NAME = false; + var IterablePrototype = Iterable.prototype; + var nativeIterator = IterablePrototype[ITERATOR] + || IterablePrototype['@@iterator'] + || DEFAULT && IterablePrototype[DEFAULT]; + var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); + var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; + var CurrentIteratorPrototype, methods, KEY; + + // fix native + if (anyNativeIterator) { + CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); + if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { + if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { + if (setPrototypeOf) { + setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); + } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) { + defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis); + } + } + // Set @@toStringTag to native iterators + setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); + if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; + } + } + + // fix Array.prototype.{ values, @@iterator }.name in V8 / FF + if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) { + if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) { + createNonEnumerableProperty(IterablePrototype, 'name', VALUES); + } else { + INCORRECT_VALUES_NAME = true; + defaultIterator = function values() { return call(nativeIterator, this); }; + } + } + + // export additional methods + if (DEFAULT) { + methods = { + values: getIterationMethod(VALUES), + keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), + entries: getIterationMethod(ENTRIES) + }; + if (FORCED) for (KEY in methods) { + if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { + defineBuiltIn(IterablePrototype, KEY, methods[KEY]); + } + } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); + } + + // define iterator + if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { + defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT }); + } + Iterators[NAME] = defaultIterator; + + return methods; + }; + + + /***/ }), /* 262 */ - /***/ (function (module, exports, __webpack_require__) { - - var toInteger = __webpack_require__(37); - var requireObjectCoercible = __webpack_require__(14); - // CONVERT_TO_STRING: true -> String#at - // CONVERT_TO_STRING: false -> String#codePointAt - module.exports = function (that, pos, CONVERT_TO_STRING) { - var S = String(requireObjectCoercible(that)); - var position = toInteger(pos); - var size = S.length; - var first, second; - if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; - first = S.charCodeAt(position); - return first < 0xd800 || first > 0xdbff || position + 1 === size - || (second = S.charCodeAt(position + 1)) < 0xdc00 || second > 0xdfff - ? CONVERT_TO_STRING ? S.charAt(position) : first - : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xd800 << 10) + (second - 0xdc00) + 0x10000; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove this module from `core-js@4` since it's replaced to module below + __webpack_require__(263); + + + /***/ }), /* 263 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toLength = __webpack_require__(36); - var validateArguments = __webpack_require__(264); - var ENDS_WITH = 'endsWith'; - var nativeEndsWith = ''[ENDS_WITH]; - var min = Math.min; - - var CORRECT_IS_REGEXP_LOGIC = __webpack_require__(265)(ENDS_WITH); - - // `String.prototype.endsWith` method - // https://tc39.github.io/ecma262/#sec-string.prototype.endswith - __webpack_require__(7)({ target: 'String', proto: true, forced: !CORRECT_IS_REGEXP_LOGIC }, { - endsWith: function endsWith(searchString /* , endPosition = @length */) { - var that = validateArguments(this, searchString, ENDS_WITH); - var endPosition = arguments.length > 1 ? arguments[1] : undefined; - var len = toLength(that.length); - var end = endPosition === undefined ? len : min(toLength(endPosition), len); - var search = String(searchString); - return nativeEndsWith - ? nativeEndsWith.call(that, search, end) - : that.slice(end - search.length, end) === search; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var FREEZING = __webpack_require__(259); + var global = __webpack_require__(3); + var uncurryThis = __webpack_require__(13); + var defineBuiltIns = __webpack_require__(198); + var InternalMetadataModule = __webpack_require__(255); + var collection = __webpack_require__(254); + var collectionWeak = __webpack_require__(264); + var isObject = __webpack_require__(19); + var enforceInternalState = __webpack_require__(50).enforce; + var fails = __webpack_require__(6); + var NATIVE_WEAK_MAP = __webpack_require__(51); + + var $Object = Object; + // eslint-disable-next-line es/no-array-isarray -- safe + var isArray = Array.isArray; + // eslint-disable-next-line es/no-object-isextensible -- safe + var isExtensible = $Object.isExtensible; + // eslint-disable-next-line es/no-object-isfrozen -- safe + var isFrozen = $Object.isFrozen; + // eslint-disable-next-line es/no-object-issealed -- safe + var isSealed = $Object.isSealed; + // eslint-disable-next-line es/no-object-freeze -- safe + var freeze = $Object.freeze; + // eslint-disable-next-line es/no-object-seal -- safe + var seal = $Object.seal; + + var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; + var InternalWeakMap; + + var wrapper = function (init) { + return function WeakMap() { + return init(this, arguments.length ? arguments[0] : undefined); + }; + }; + + // `WeakMap` constructor + // https://tc39.es/ecma262/#sec-weakmap-constructor + var $WeakMap = collection('WeakMap', wrapper, collectionWeak); + var WeakMapPrototype = $WeakMap.prototype; + var nativeSet = uncurryThis(WeakMapPrototype.set); + + // Chakra Edge bug: adding frozen arrays to WeakMap unfreeze them + var hasMSEdgeFreezingBug = function () { + return FREEZING && fails(function () { + var frozenArray = freeze([]); + nativeSet(new $WeakMap(), frozenArray, 1); + return !isFrozen(frozenArray); + }); + }; + + // IE11 WeakMap frozen keys fix + // We can't use feature detection because it crash some old IE builds + // https://github.com/zloirock/core-js/issues/485 + if (NATIVE_WEAK_MAP) if (IS_IE11) { + InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true); + InternalMetadataModule.enable(); + var nativeDelete = uncurryThis(WeakMapPrototype['delete']); + var nativeHas = uncurryThis(WeakMapPrototype.has); + var nativeGet = uncurryThis(WeakMapPrototype.get); + defineBuiltIns(WeakMapPrototype, { + 'delete': function (key) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + return nativeDelete(this, key) || state.frozen['delete'](key); + } return nativeDelete(this, key); + }, + has: function has(key) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + return nativeHas(this, key) || state.frozen.has(key); + } return nativeHas(this, key); + }, + get: function get(key) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key); + } return nativeGet(this, key); + }, + set: function set(key, value) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value); + } else nativeSet(this, key, value); + return this; + } + }); + // Chakra Edge frozen keys fix + } else if (hasMSEdgeFreezingBug()) { + defineBuiltIns(WeakMapPrototype, { + set: function set(key, value) { + var arrayIntegrityLevel; + if (isArray(key)) { + if (isFrozen(key)) arrayIntegrityLevel = freeze; + else if (isSealed(key)) arrayIntegrityLevel = seal; + } + nativeSet(this, key, value); + if (arrayIntegrityLevel) arrayIntegrityLevel(key); + return this; + } + }); + } + + + /***/ }), /* 264 */ - /***/ (function (module, exports, __webpack_require__) { - - // helper for String#{startsWith, endsWith, includes} - var isRegExp = __webpack_require__(254); - var requireObjectCoercible = __webpack_require__(14); - - module.exports = function (that, searchString, NAME) { - if (isRegExp(searchString)) { - throw TypeError('String.prototype.' + NAME + " doesn't accept regex"); - } return String(requireObjectCoercible(that)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var defineBuiltIns = __webpack_require__(198); + var getWeakData = __webpack_require__(255).getWeakData; + var anInstance = __webpack_require__(140); + var anObject = __webpack_require__(45); + var isNullOrUndefined = __webpack_require__(16); + var isObject = __webpack_require__(19); + var iterate = __webpack_require__(91); + var ArrayIterationModule = __webpack_require__(205); + var hasOwn = __webpack_require__(37); + var InternalStateModule = __webpack_require__(50); + + var setInternalState = InternalStateModule.set; + var internalStateGetterFor = InternalStateModule.getterFor; + var find = ArrayIterationModule.find; + var findIndex = ArrayIterationModule.findIndex; + var splice = uncurryThis([].splice); + var id = 0; + + // fallback for uncaught frozen keys + var uncaughtFrozenStore = function (state) { + return state.frozen || (state.frozen = new UncaughtFrozenStore()); + }; + + var UncaughtFrozenStore = function () { + this.entries = []; + }; + + var findUncaughtFrozen = function (store, key) { + return find(store.entries, function (it) { + return it[0] === key; + }); + }; + + UncaughtFrozenStore.prototype = { + get: function (key) { + var entry = findUncaughtFrozen(this, key); + if (entry) return entry[1]; + }, + has: function (key) { + return !!findUncaughtFrozen(this, key); + }, + set: function (key, value) { + var entry = findUncaughtFrozen(this, key); + if (entry) entry[1] = value; + else this.entries.push([key, value]); + }, + 'delete': function (key) { + var index = findIndex(this.entries, function (it) { + return it[0] === key; + }); + if (~index) splice(this.entries, index, 1); + return !!~index; + } + }; + + module.exports = { + getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { + var Constructor = wrapper(function (that, iterable) { + anInstance(that, Prototype); + setInternalState(that, { + type: CONSTRUCTOR_NAME, + id: id++, + frozen: undefined + }); + if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + }); + + var Prototype = Constructor.prototype; + + var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); + + var define = function (that, key, value) { + var state = getInternalState(that); + var data = getWeakData(anObject(key), true); + if (data === true) uncaughtFrozenStore(state).set(key, value); + else data[state.id] = value; + return that; + }; + + defineBuiltIns(Prototype, { + // `{ WeakMap, WeakSet }.prototype.delete(key)` methods + // https://tc39.es/ecma262/#sec-weakmap.prototype.delete + // https://tc39.es/ecma262/#sec-weakset.prototype.delete + 'delete': function (key) { + var state = getInternalState(this); + if (!isObject(key)) return false; + var data = getWeakData(key); + if (data === true) return uncaughtFrozenStore(state)['delete'](key); + return data && hasOwn(data, state.id) && delete data[state.id]; + }, + // `{ WeakMap, WeakSet }.prototype.has(key)` methods + // https://tc39.es/ecma262/#sec-weakmap.prototype.has + // https://tc39.es/ecma262/#sec-weakset.prototype.has + has: function has(key) { + var state = getInternalState(this); + if (!isObject(key)) return false; + var data = getWeakData(key); + if (data === true) return uncaughtFrozenStore(state).has(key); + return data && hasOwn(data, state.id); + } + }); + + defineBuiltIns(Prototype, IS_MAP ? { + // `WeakMap.prototype.get(key)` method + // https://tc39.es/ecma262/#sec-weakmap.prototype.get + get: function get(key) { + var state = getInternalState(this); + if (isObject(key)) { + var data = getWeakData(key); + if (data === true) return uncaughtFrozenStore(state).get(key); + return data ? data[state.id] : undefined; + } + }, + // `WeakMap.prototype.set(key, value)` method + // https://tc39.es/ecma262/#sec-weakmap.prototype.set + set: function set(key, value) { + return define(this, key, value); + } + } : { + // `WeakSet.prototype.add(value)` method + // https://tc39.es/ecma262/#sec-weakset.prototype.add + add: function add(value) { + return define(this, value, true); + } + }); + + return Constructor; + } + }; + + + /***/ }), /* 265 */ - /***/ (function (module, exports, __webpack_require__) { - - var MATCH = __webpack_require__(43)('match'); - - module.exports = function (METHOD_NAME) { - var regexp = /./; - try { - '/./'[METHOD_NAME](regexp); - } catch (e) { - try { - regexp[MATCH] = false; - return '/./'[METHOD_NAME](regexp); - } catch (f) { /* empty */ } - } return false; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var getCompositeKeyNode = __webpack_require__(251); + var getBuiltIn = __webpack_require__(22); + var apply = __webpack_require__(67); + + // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey + $({ global: true, forced: true }, { + compositeSymbol: function compositeSymbol() { + if (arguments.length === 1 && typeof arguments[0] == 'string') return getBuiltIn('Symbol')['for'](arguments[0]); + return apply(getCompositeKeyNode, null, arguments).get('symbol', getBuiltIn('Symbol')); + } + }); + + + /***/ }), /* 266 */ - /***/ (function (module, exports, __webpack_require__) { - - var toAbsoluteIndex = __webpack_require__(38); - var fromCharCode = String.fromCharCode; - var nativeFromCodePoint = String.fromCodePoint; - - // length should be 1, old FF problem - var INCORRECT_LENGTH = !!nativeFromCodePoint && nativeFromCodePoint.length != 1; - - // `String.fromCodePoint` method - // https://tc39.github.io/ecma262/#sec-string.fromcodepoint - __webpack_require__(7)({ target: 'String', stat: true, forced: INCORRECT_LENGTH }, { - fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars - var elements = []; - var length = arguments.length; - var i = 0; - var code; - while (length > i) { - code = +arguments[i++]; - if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point'); - elements.push(code < 0x10000 - ? fromCharCode(code) - : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00) - ); - } return elements.join(''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var unpackIEEE754 = __webpack_require__(267).unpack; + + // eslint-disable-next-line es/no-typed-arrays -- safe + var getUint16 = uncurryThis(DataView.prototype.getUint16); + + // `DataView.prototype.getFloat16` method + // https://github.com/tc39/proposal-float16array + $({ target: 'DataView', proto: true }, { + getFloat16: function getFloat16(byteOffset /* , littleEndian */) { + var uint16 = getUint16(this, byteOffset, arguments.length > 1 ? arguments[1] : false); + return unpackIEEE754([uint16 & 0xFF, uint16 >> 8 & 0xFF], 10); + } + }); + + + /***/ }), /* 267 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var validateArguments = __webpack_require__(264); - var INCLUDES = 'includes'; - - var CORRECT_IS_REGEXP_LOGIC = __webpack_require__(265)(INCLUDES); - - // `String.prototype.includes` method - // https://tc39.github.io/ecma262/#sec-string.prototype.includes - __webpack_require__(7)({ target: 'String', proto: true, forced: !CORRECT_IS_REGEXP_LOGIC }, { - includes: function includes(searchString /* , position = 0 */) { - return !!~validateArguments(this, searchString, INCLUDES) - .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // IEEE754 conversions based on https://github.com/feross/ieee754 + var $Array = Array; + var abs = Math.abs; + var pow = Math.pow; + var floor = Math.floor; + var log = Math.log; + var LN2 = Math.LN2; + + var pack = function (number, mantissaLength, bytes) { + var buffer = $Array(bytes); + var exponentLength = bytes * 8 - mantissaLength - 1; + var eMax = (1 << exponentLength) - 1; + var eBias = eMax >> 1; + var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0; + var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0; + var index = 0; + var exponent, mantissa, c; + number = abs(number); + // eslint-disable-next-line no-self-compare -- NaN check + if (number !== number || number === Infinity) { + // eslint-disable-next-line no-self-compare -- NaN check + mantissa = number !== number ? 1 : 0; + exponent = eMax; + } else { + exponent = floor(log(number) / LN2); + c = pow(2, -exponent); + if (number * c < 1) { + exponent--; + c *= 2; + } + if (exponent + eBias >= 1) { + number += rt / c; + } else { + number += rt * pow(2, 1 - eBias); + } + if (number * c >= 2) { + exponent++; + c /= 2; + } + if (exponent + eBias >= eMax) { + mantissa = 0; + exponent = eMax; + } else if (exponent + eBias >= 1) { + mantissa = (number * c - 1) * pow(2, mantissaLength); + exponent += eBias; + } else { + mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength); + exponent = 0; + } + } + while (mantissaLength >= 8) { + buffer[index++] = mantissa & 255; + mantissa /= 256; + mantissaLength -= 8; + } + exponent = exponent << mantissaLength | mantissa; + exponentLength += mantissaLength; + while (exponentLength > 0) { + buffer[index++] = exponent & 255; + exponent /= 256; + exponentLength -= 8; + } + buffer[--index] |= sign * 128; + return buffer; + }; + + var unpack = function (buffer, mantissaLength) { + var bytes = buffer.length; + var exponentLength = bytes * 8 - mantissaLength - 1; + var eMax = (1 << exponentLength) - 1; + var eBias = eMax >> 1; + var nBits = exponentLength - 7; + var index = bytes - 1; + var sign = buffer[index--]; + var exponent = sign & 127; + var mantissa; + sign >>= 7; + while (nBits > 0) { + exponent = exponent * 256 + buffer[index--]; + nBits -= 8; + } + mantissa = exponent & (1 << -nBits) - 1; + exponent >>= -nBits; + nBits += mantissaLength; + while (nBits > 0) { + mantissa = mantissa * 256 + buffer[index--]; + nBits -= 8; + } + if (exponent === 0) { + exponent = 1 - eBias; + } else if (exponent === eMax) { + return mantissa ? NaN : sign ? -Infinity : Infinity; + } else { + mantissa += pow(2, mantissaLength); + exponent -= eBias; + } return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength); + }; + + module.exports = { + pack: pack, + unpack: unpack + }; + + + /***/ }), /* 268 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var codePointAt = __webpack_require__(262); - var InternalStateModule = __webpack_require__(26); - var defineIterator = __webpack_require__(103); - var STRING_ITERATOR = 'String Iterator'; - var setInternalState = InternalStateModule.set; - var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); - - // `String.prototype[@@iterator]` method - // https://tc39.github.io/ecma262/#sec-string.prototype-@@iterator - defineIterator(String, 'String', function (iterated) { - setInternalState(this, { - type: STRING_ITERATOR, - string: String(iterated), - index: 0 - }); - // `%StringIteratorPrototype%.next` method - // https://tc39.github.io/ecma262/#sec-%stringiteratorprototype%.next - }, function next() { - var state = getInternalState(this); - var string = state.string; - var index = state.index; - var point; - if (index >= string.length) return { value: undefined, done: true }; - point = codePointAt(string, index, true); - state.index += point.length; - return { value: point, done: false }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + + // eslint-disable-next-line es/no-typed-arrays -- safe + var getUint8 = uncurryThis(DataView.prototype.getUint8); + + // `DataView.prototype.getUint8Clamped` method + // https://github.com/tc39/proposal-dataview-get-set-uint8clamped + $({ target: 'DataView', proto: true, forced: true }, { + getUint8Clamped: function getUint8Clamped(byteOffset) { + return getUint8(this, byteOffset); + } + }); + + + /***/ }), /* 269 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - - var anObject = __webpack_require__(21); - var toLength = __webpack_require__(36); - var requireObjectCoercible = __webpack_require__(14); - var advanceStringIndex = __webpack_require__(270); - var regExpExec = __webpack_require__(271); - - // @@match logic - __webpack_require__(272)( - 'match', - 1, - function (MATCH, nativeMatch, maybeCallNative) { - return [ - // `String.prototype.match` method - // https://tc39.github.io/ecma262/#sec-string.prototype.match - function match(regexp) { - var O = requireObjectCoercible(this); - var matcher = regexp == undefined ? undefined : regexp[MATCH]; - return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); - }, - // `RegExp.prototype[@@match]` method - // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match - function (regexp) { - var res = maybeCallNative(nativeMatch, regexp, this); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - - if (!rx.global) return regExpExec(rx, S); - - var fullUnicode = rx.unicode; - rx.lastIndex = 0; - var A = []; - var n = 0; - var result; - while ((result = regExpExec(rx, S)) !== null) { - var matchStr = String(result[0]); - A[n] = matchStr; - if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); - n++; - } - return n === 0 ? null : A; - } - ]; - } - ); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var aDataView = __webpack_require__(270); + var toIndex = __webpack_require__(123); + var packIEEE754 = __webpack_require__(267).pack; + var f16round = __webpack_require__(271); + + // eslint-disable-next-line es/no-typed-arrays -- safe + var setUint16 = uncurryThis(DataView.prototype.setUint16); + + // `DataView.prototype.setFloat16` method + // https://github.com/tc39/proposal-float16array + $({ target: 'DataView', proto: true }, { + setFloat16: function setFloat16(byteOffset, value /* , littleEndian */) { + aDataView(this); + var offset = toIndex(byteOffset); + var bytes = packIEEE754(f16round(value), 10, 2); + return setUint16(this, offset, bytes[1] << 8 | bytes[0], arguments.length > 2 ? arguments[2] : false); + } + }); + + + /***/ }), /* 270 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var codePointAt = __webpack_require__(262); - - // `AdvanceStringIndex` abstract operation - // https://tc39.github.io/ecma262/#sec-advancestringindex - module.exports = function (S, index, unicode) { - return index + (unicode ? codePointAt(S, index, true).length : 1); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classof = __webpack_require__(77); + + var $TypeError = TypeError; + + module.exports = function (argument) { + if (classof(argument) === 'DataView') return argument; + throw new $TypeError('Argument is not a DataView'); + }; + + + /***/ }), /* 271 */ - /***/ (function (module, exports, __webpack_require__) { - - var classof = __webpack_require__(13); - var regexpExec = __webpack_require__(257); - - // `RegExpExec` abstract operation - // https://tc39.github.io/ecma262/#sec-regexpexec - module.exports = function (R, S) { - var exec = R.exec; - if (typeof exec === 'function') { - var result = exec.call(R, S); - if (typeof result !== 'object') { - throw TypeError('RegExp exec method returned something other than an Object or null'); - } - return result; - } - - if (classof(R) !== 'RegExp') { - throw TypeError('RegExp#exec called on incompatible receiver'); - } - - return regexpExec.call(R, S); - }; - - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var floatRound = __webpack_require__(272); + + var FLOAT16_EPSILON = 0.0009765625; + var FLOAT16_MAX_VALUE = 65504; + var FLOAT16_MIN_VALUE = 6.103515625e-05; + + // `Math.f16round` method implementation + // https://github.com/tc39/proposal-float16array + module.exports = Math.f16round || function f16round(x) { + return floatRound(x, FLOAT16_EPSILON, FLOAT16_MAX_VALUE, FLOAT16_MIN_VALUE); + }; + + + /***/ }), /* 272 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var hide = __webpack_require__(19); - var redefine = __webpack_require__(22); - var fails = __webpack_require__(5); - var wellKnownSymbol = __webpack_require__(43); - var regexpExec = __webpack_require__(257); - - var SPECIES = wellKnownSymbol('species'); - - var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { - // #replace needs built-in support for named groups. - // #match works fine because it just return the exec results, even if it has - // a "grops" property. - var re = /./; - re.exec = function () { - var result = []; - result.groups = { a: '7' }; - return result; - }; - return ''.replace(re, '$') !== '7'; - }); - - // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec - // Weex JS has frozen built-in prototypes, so use try / catch wrapper - var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () { - var re = /(?:)/; - var originalExec = re.exec; - re.exec = function () { return originalExec.apply(this, arguments); }; - var result = 'ab'.split(re); - return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b'; - }); - - module.exports = function (KEY, length, exec, sham) { - var SYMBOL = wellKnownSymbol(KEY); - - var DELEGATES_TO_SYMBOL = !fails(function () { - // String methods call symbol-named RegEp methods - var O = {}; - O[SYMBOL] = function () { return 7; }; - return ''[KEY](O) != 7; - }); - - var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () { - // Symbol-named RegExp methods call .exec - var execCalled = false; - var re = /a/; - re.exec = function () { execCalled = true; return null; }; - - if (KEY === 'split') { - // RegExp[@@split] doesn't call the regex's exec method, but first creates - // a new one. We need to return the patched regex when creating the new one. - re.constructor = {}; - re.constructor[SPECIES] = function () { return re; }; - } - - re[SYMBOL](''); - return !execCalled; - }); - - if ( - !DELEGATES_TO_SYMBOL || - !DELEGATES_TO_EXEC || - (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || - (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) - ) { - var nativeRegExpMethod = /./[SYMBOL]; - var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { - if (regexp.exec === regexpExec) { - if (DELEGATES_TO_SYMBOL && !forceStringMethod) { - // The native String method already delegates to @@method (this - // polyfilled function), leasing to infinite recursion. - // We avoid it by directly calling the native @@method method. - return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; - } - return { done: true, value: nativeMethod.call(str, regexp, arg2) }; - } - return { done: false }; - }); - var stringMethod = methods[0]; - var regexMethod = methods[1]; - - redefine(String.prototype, KEY, stringMethod); - redefine(RegExp.prototype, SYMBOL, length == 2 - // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) - // 21.2.5.11 RegExp.prototype[@@split](string, limit) - ? function (string, arg) { return regexMethod.call(string, this, arg); } - // 21.2.5.6 RegExp.prototype[@@match](string) - // 21.2.5.9 RegExp.prototype[@@search](string) - : function (string) { return regexMethod.call(string, this); } - ); - if (sham) hide(RegExp.prototype[SYMBOL], 'sham', true); - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var sign = __webpack_require__(273); + + var abs = Math.abs; + + var EPSILON = 2.220446049250313e-16; // Number.EPSILON + var INVERSE_EPSILON = 1 / EPSILON; + + var roundTiesToEven = function (n) { + return n + INVERSE_EPSILON - INVERSE_EPSILON; + }; + + module.exports = function (x, FLOAT_EPSILON, FLOAT_MAX_VALUE, FLOAT_MIN_VALUE) { + var n = +x; + var absolute = abs(n); + var s = sign(n); + if (absolute < FLOAT_MIN_VALUE) return s * roundTiesToEven(absolute / FLOAT_MIN_VALUE / FLOAT_EPSILON) * FLOAT_MIN_VALUE * FLOAT_EPSILON; + var a = (1 + FLOAT_EPSILON / EPSILON) * absolute; + var result = a - (a - absolute); + // eslint-disable-next-line no-self-compare -- NaN check + if (result > FLOAT_MAX_VALUE || result !== result) return s * Infinity; + return s * result; + }; + + + /***/ }), /* 273 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalStringPad = __webpack_require__(274); - var userAgent = __webpack_require__(234); - - // https://github.com/zloirock/core-js/issues/280 - var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); - - // `String.prototype.padEnd` method - // https://tc39.github.io/ecma262/#sec-string.prototype.padend - __webpack_require__(7)({ target: 'String', proto: true, forced: WEBKIT_BUG }, { - padEnd: function padEnd(maxLength /* , fillString = ' ' */) { - return internalStringPad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // `Math.sign` method implementation + // https://tc39.es/ecma262/#sec-math.sign + // eslint-disable-next-line es/no-math-sign -- safe + module.exports = Math.sign || function sign(x) { + var n = +x; + // eslint-disable-next-line no-self-compare -- NaN check + return n === 0 || n !== n ? n : n < 0 ? -1 : 1; + }; + + + /***/ }), /* 274 */ - /***/ (function (module, exports, __webpack_require__) { - - // https://github.com/tc39/proposal-string-pad-start-end - var toLength = __webpack_require__(36); - var repeat = __webpack_require__(197); - var requireObjectCoercible = __webpack_require__(14); - - module.exports = function (that, maxLength, fillString, left) { - var S = String(requireObjectCoercible(that)); - var stringLength = S.length; - var fillStr = fillString === undefined ? ' ' : String(fillString); - var intMaxLength = toLength(maxLength); - var fillLen, stringFiller; - if (intMaxLength <= stringLength || fillStr == '') return S; - fillLen = intMaxLength - stringLength; - stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length)); - if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen); - return left ? stringFiller + S : S + stringFiller; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var aDataView = __webpack_require__(270); + var toIndex = __webpack_require__(123); + var toUint8Clamped = __webpack_require__(275); + + // eslint-disable-next-line es/no-typed-arrays -- safe + var setUint8 = uncurryThis(DataView.prototype.setUint8); + + // `DataView.prototype.setUint8Clamped` method + // https://github.com/tc39/proposal-dataview-get-set-uint8clamped + $({ target: 'DataView', proto: true, forced: true }, { + setUint8Clamped: function setUint8Clamped(byteOffset, value) { + aDataView(this); + var offset = toIndex(byteOffset); + return setUint8(this, offset, toUint8Clamped(value)); + } + }); + + + /***/ }), /* 275 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalStringPad = __webpack_require__(274); - var userAgent = __webpack_require__(234); - - // https://github.com/zloirock/core-js/issues/280 - var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); - - // `String.prototype.padStart` method - // https://tc39.github.io/ecma262/#sec-string.prototype.padstart - __webpack_require__(7)({ target: 'String', proto: true, forced: WEBKIT_BUG }, { - padStart: function padStart(maxLength /* , fillString = ' ' */) { - return internalStringPad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var round = Math.round; + + module.exports = function (it) { + var value = round(it); + return value < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF; + }; + + + /***/ }), /* 276 */ - /***/ (function (module, exports, __webpack_require__) { - - var toIndexedObject = __webpack_require__(11); - var toLength = __webpack_require__(36); - - // `String.raw` method - // https://tc39.github.io/ecma262/#sec-string.raw - __webpack_require__(7)({ target: 'String', stat: true }, { - raw: function raw(template) { - var rawTemplate = toIndexedObject(template.raw); - var literalSegments = toLength(rawTemplate.length); - var argumentsLength = arguments.length; - var elements = []; - var i = 0; - while (literalSegments > i) { - elements.push(String(rawTemplate[i++])); - if (i < argumentsLength) elements.push(String(arguments[i])); - } return elements.join(''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://github.com/tc39/proposal-explicit-resource-management + var $ = __webpack_require__(2); + var DESCRIPTORS = __webpack_require__(5); + var getBuiltIn = __webpack_require__(22); + var aCallable = __webpack_require__(29); + var anInstance = __webpack_require__(140); + var defineBuiltIn = __webpack_require__(46); + var defineBuiltIns = __webpack_require__(198); + var defineBuiltInAccessor = __webpack_require__(118); + var wellKnownSymbol = __webpack_require__(32); + var InternalStateModule = __webpack_require__(50); + var addDisposableResource = __webpack_require__(223); + + var SuppressedError = getBuiltIn('SuppressedError'); + var $ReferenceError = ReferenceError; + + var DISPOSE = wellKnownSymbol('dispose'); + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + + var DISPOSABLE_STACK = 'DisposableStack'; + var setInternalState = InternalStateModule.set; + var getDisposableStackInternalState = InternalStateModule.getterFor(DISPOSABLE_STACK); + + var HINT = 'sync-dispose'; + var DISPOSED = 'disposed'; + var PENDING = 'pending'; + + var getPendingDisposableStackInternalState = function (stack) { + var internalState = getDisposableStackInternalState(stack); + if (internalState.state === DISPOSED) throw new $ReferenceError(DISPOSABLE_STACK + ' already disposed'); + return internalState; + }; + + var $DisposableStack = function DisposableStack() { + setInternalState(anInstance(this, DisposableStackPrototype), { + type: DISPOSABLE_STACK, + state: PENDING, + stack: [] + }); + + if (!DESCRIPTORS) this.disposed = false; + }; + + var DisposableStackPrototype = $DisposableStack.prototype; + + defineBuiltIns(DisposableStackPrototype, { + dispose: function dispose() { + var internalState = getDisposableStackInternalState(this); + if (internalState.state === DISPOSED) return; + internalState.state = DISPOSED; + if (!DESCRIPTORS) this.disposed = true; + var stack = internalState.stack; + var i = stack.length; + var thrown = false; + var suppressed; + while (i) { + var disposeMethod = stack[--i]; + stack[i] = null; + try { + disposeMethod(); + } catch (errorResult) { + if (thrown) { + suppressed = new SuppressedError(errorResult, suppressed); + } else { + thrown = true; + suppressed = errorResult; + } + } + } + internalState.stack = null; + if (thrown) throw suppressed; + }, + use: function use(value) { + addDisposableResource(getPendingDisposableStackInternalState(this), value, HINT); + return value; + }, + adopt: function adopt(value, onDispose) { + var internalState = getPendingDisposableStackInternalState(this); + aCallable(onDispose); + addDisposableResource(internalState, undefined, HINT, function () { + onDispose(value); + }); + return value; + }, + defer: function defer(onDispose) { + var internalState = getPendingDisposableStackInternalState(this); + aCallable(onDispose); + addDisposableResource(internalState, undefined, HINT, onDispose); + }, + move: function move() { + var internalState = getPendingDisposableStackInternalState(this); + var newDisposableStack = new $DisposableStack(); + getDisposableStackInternalState(newDisposableStack).stack = internalState.stack; + internalState.stack = []; + internalState.state = DISPOSED; + if (!DESCRIPTORS) this.disposed = true; + return newDisposableStack; + } + }); + + if (DESCRIPTORS) defineBuiltInAccessor(DisposableStackPrototype, 'disposed', { + configurable: true, + get: function disposed() { + return getDisposableStackInternalState(this).state === DISPOSED; + } + }); + + defineBuiltIn(DisposableStackPrototype, DISPOSE, DisposableStackPrototype.dispose, { name: 'dispose' }); + defineBuiltIn(DisposableStackPrototype, TO_STRING_TAG, DISPOSABLE_STACK, { nonWritable: true }); + + $({ global: true, constructor: true }, { + DisposableStack: $DisposableStack + }); + + + /***/ }), /* 277 */ - /***/ (function (module, exports, __webpack_require__) { - - // `String.prototype.repeat` method - // https://tc39.github.io/ecma262/#sec-string.prototype.repeat - __webpack_require__(7)({ target: 'String', proto: true }, { - repeat: __webpack_require__(197) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var demethodize = __webpack_require__(278); + + // `Function.prototype.demethodize` method + // https://github.com/js-choi/proposal-function-demethodize + $({ target: 'Function', proto: true, forced: true }, { + demethodize: demethodize + }); + + + /***/ }), /* 278 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - - var anObject = __webpack_require__(21); - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var toInteger = __webpack_require__(37); - var requireObjectCoercible = __webpack_require__(14); - var advanceStringIndex = __webpack_require__(270); - var regExpExec = __webpack_require__(271); - var max = Math.max; - var min = Math.min; - var floor = Math.floor; - var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; - var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; - - var maybeToString = function (it) { - return it === undefined ? it : String(it); - }; - - // @@replace logic - __webpack_require__(272)( - 'replace', - 2, - function (REPLACE, nativeReplace, maybeCallNative) { - return [ - // `String.prototype.replace` method - // https://tc39.github.io/ecma262/#sec-string.prototype.replace - function replace(searchValue, replaceValue) { - var O = requireObjectCoercible(this); - var replacer = searchValue == undefined ? undefined : searchValue[REPLACE]; - return replacer !== undefined - ? replacer.call(searchValue, O, replaceValue) - : nativeReplace.call(String(O), searchValue, replaceValue); - }, - // `RegExp.prototype[@@replace]` method - // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace - function (regexp, replaceValue) { - var res = maybeCallNative(nativeReplace, regexp, this, replaceValue); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - - var functionalReplace = typeof replaceValue === 'function'; - if (!functionalReplace) replaceValue = String(replaceValue); - - var global = rx.global; - if (global) { - var fullUnicode = rx.unicode; - rx.lastIndex = 0; - } - var results = []; - while (true) { - var result = regExpExec(rx, S); - if (result === null) break; - - results.push(result); - if (!global) break; - - var matchStr = String(result[0]); - if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); - } - - var accumulatedResult = ''; - var nextSourcePosition = 0; - for (var i = 0; i < results.length; i++) { - result = results[i]; - - var matched = String(result[0]); - var position = max(min(toInteger(result.index), S.length), 0); - var captures = []; - // NOTE: This is equivalent to - // captures = result.slice(1).map(maybeToString) - // but for some reason `nativeSlice.call(result, 1, result.length)` (called in - // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and - // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. - for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); - var namedCaptures = result.groups; - if (functionalReplace) { - var replacerArgs = [matched].concat(captures, position, S); - if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); - var replacement = String(replaceValue.apply(undefined, replacerArgs)); - } else { - replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); - } - if (position >= nextSourcePosition) { - accumulatedResult += S.slice(nextSourcePosition, position) + replacement; - nextSourcePosition = position + matched.length; - } - } - return accumulatedResult + S.slice(nextSourcePosition); - } - ]; - - // https://tc39.github.io/ecma262/#sec-getsubstitution - function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { - var tailPos = position + matched.length; - var m = captures.length; - var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; - if (namedCaptures !== undefined) { - namedCaptures = toObject(namedCaptures); - symbols = SUBSTITUTION_SYMBOLS; - } - return nativeReplace.call(replacement, symbols, function (match, ch) { - var capture; - switch (ch.charAt(0)) { - case '$': return '$'; - case '&': return matched; - case '`': return str.slice(0, position); - case "'": return str.slice(tailPos); - case '<': - capture = namedCaptures[ch.slice(1, -1)]; - break; - default: // \d\d? - var n = +ch; - if (n === 0) return match; - if (n > m) { - var f = floor(n / 10); - if (f === 0) return match; - if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); - return match; - } - capture = captures[n - 1]; - } - return capture === undefined ? '' : capture; - }); - } - } - ); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var aCallable = __webpack_require__(29); + + module.exports = function demethodize() { + return uncurryThis(aCallable(this)); + }; + + + /***/ }), /* 279 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - - var anObject = __webpack_require__(21); - var requireObjectCoercible = __webpack_require__(14); - var sameValue = __webpack_require__(216); - var regExpExec = __webpack_require__(271); - - // @@search logic - __webpack_require__(272)( - 'search', - 1, - function (SEARCH, nativeSearch, maybeCallNative) { - return [ - // `String.prototype.search` method - // https://tc39.github.io/ecma262/#sec-string.prototype.search - function search(regexp) { - var O = requireObjectCoercible(this); - var searcher = regexp == undefined ? undefined : regexp[SEARCH]; - return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); - }, - // `RegExp.prototype[@@search]` method - // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search - function (regexp) { - var res = maybeCallNative(nativeSearch, regexp, this); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - - var previousLastIndex = rx.lastIndex; - if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; - var result = regExpExec(rx, S); - if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; - return result === null ? -1 : result.index; - } - ]; - } - ); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var $isCallable = __webpack_require__(20); + var inspectSource = __webpack_require__(49); + var hasOwn = __webpack_require__(37); + var DESCRIPTORS = __webpack_require__(5); + + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var classRegExp = /^\s*class\b/; + var exec = uncurryThis(classRegExp.exec); + + var isClassConstructor = function (argument) { + try { + // `Function#toString` throws on some built-it function in some legacy engines + // (for example, `DOMQuad` and similar in FF41-) + if (!DESCRIPTORS || !exec(classRegExp, inspectSource(argument))) return false; + } catch (error) { /* empty */ } + var prototype = getOwnPropertyDescriptor(argument, 'prototype'); + return !!prototype && hasOwn(prototype, 'writable') && !prototype.writable; + }; + + // `Function.isCallable` method + // https://github.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-isconstructor-iscallable.md + $({ target: 'Function', stat: true, sham: true, forced: true }, { + isCallable: function isCallable(argument) { + return $isCallable(argument) && !isClassConstructor(argument); + } + }); + + + /***/ }), /* 280 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - - var isRegExp = __webpack_require__(254); - var anObject = __webpack_require__(21); - var requireObjectCoercible = __webpack_require__(14); - var speciesConstructor = __webpack_require__(136); - var advanceStringIndex = __webpack_require__(270); - var toLength = __webpack_require__(36); - var callRegExpExec = __webpack_require__(271); - var regexpExec = __webpack_require__(257); - var fails = __webpack_require__(5); - var arrayPush = [].push; - var min = Math.min; - var MAX_UINT32 = 0xffffffff; - - // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError - var SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); }); - - // @@split logic - __webpack_require__(272)( - 'split', - 2, - function (SPLIT, nativeSplit, maybeCallNative) { - var internalSplit; - if ( - 'abbc'.split(/(b)*/)[1] == 'c' || - 'test'.split(/(?:)/, -1).length != 4 || - 'ab'.split(/(?:ab)*/).length != 2 || - '.'.split(/(.?)(.?)/).length != 4 || - '.'.split(/()()/).length > 1 || - ''.split(/.?/).length - ) { - // based on es5-shim implementation, need to rework it - internalSplit = function (separator, limit) { - var string = String(requireObjectCoercible(this)); - var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; - if (lim === 0) return []; - if (separator === undefined) return [string]; - // If `separator` is not a regex, use native split - if (!isRegExp(separator)) { - return nativeSplit.call(string, separator, lim); - } - var output = []; - var flags = (separator.ignoreCase ? 'i' : '') + - (separator.multiline ? 'm' : '') + - (separator.unicode ? 'u' : '') + - (separator.sticky ? 'y' : ''); - var lastLastIndex = 0; - // Make `global` and avoid `lastIndex` issues by working with a copy - var separatorCopy = new RegExp(separator.source, flags + 'g'); - var match, lastIndex, lastLength; - while (match = regexpExec.call(separatorCopy, string)) { - lastIndex = separatorCopy.lastIndex; - if (lastIndex > lastLastIndex) { - output.push(string.slice(lastLastIndex, match.index)); - if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1)); - lastLength = match[0].length; - lastLastIndex = lastIndex; - if (output.length >= lim) break; - } - if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop - } - if (lastLastIndex === string.length) { - if (lastLength || !separatorCopy.test('')) output.push(''); - } else output.push(string.slice(lastLastIndex)); - return output.length > lim ? output.slice(0, lim) : output; - }; - // Chakra, V8 - } else if ('0'.split(undefined, 0).length) { - internalSplit = function (separator, limit) { - return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit); - }; - } else internalSplit = nativeSplit; - - return [ - // `String.prototype.split` method - // https://tc39.github.io/ecma262/#sec-string.prototype.split - function split(separator, limit) { - var O = requireObjectCoercible(this); - var splitter = separator == undefined ? undefined : separator[SPLIT]; - return splitter !== undefined - ? splitter.call(separator, O, limit) - : internalSplit.call(String(O), separator, limit); - }, - // `RegExp.prototype[@@split]` method - // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split - // - // NOTE: This cannot be properly polyfilled in engines that don't support - // the 'y' flag. - function (regexp, limit) { - var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - var C = speciesConstructor(rx, RegExp); - - var unicodeMatching = rx.unicode; - var flags = (rx.ignoreCase ? 'i' : '') + - (rx.multiline ? 'm' : '') + - (rx.unicode ? 'u' : '') + - (SUPPORTS_Y ? 'y' : 'g'); - - // ^(? + rx + ) is needed, in combination with some S slicing, to - // simulate the 'y' flag. - var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); - var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; - if (lim === 0) return []; - if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; - var p = 0; - var q = 0; - var A = []; - while (q < S.length) { - splitter.lastIndex = SUPPORTS_Y ? q : 0; - var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); - var e; - if ( - z === null || - (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p - ) { - q = advanceStringIndex(S, q, unicodeMatching); - } else { - A.push(S.slice(p, q)); - if (A.length === lim) return A; - for (var i = 1; i <= z.length - 1; i++) { - A.push(z[i]); - if (A.length === lim) return A; - } - q = p = e; - } - } - A.push(S.slice(p)); - return A; - } - ]; - }, - !SUPPORTS_Y - ); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isConstructor = __webpack_require__(143); + + // `Function.isConstructor` method + // https://github.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-isconstructor-iscallable.md + $({ target: 'Function', stat: true, forced: true }, { + isConstructor: isConstructor + }); + + + /***/ }), /* 281 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toLength = __webpack_require__(36); - var validateArguments = __webpack_require__(264); - var STARTS_WITH = 'startsWith'; - var CORRECT_IS_REGEXP_LOGIC = __webpack_require__(265)(STARTS_WITH); - var nativeStartsWith = ''[STARTS_WITH]; - - // `String.prototype.startsWith` method - // https://tc39.github.io/ecma262/#sec-string.prototype.startswith - __webpack_require__(7)({ target: 'String', proto: true, forced: !CORRECT_IS_REGEXP_LOGIC }, { - startsWith: function startsWith(searchString /* , position = 0 */) { - var that = validateArguments(this, searchString, STARTS_WITH); - var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); - var search = String(searchString); - return nativeStartsWith - ? nativeStartsWith.call(that, search, index) - : that.slice(index, index + search.length) === search; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var wellKnownSymbol = __webpack_require__(32); + var defineProperty = __webpack_require__(43).f; + + var METADATA = wellKnownSymbol('metadata'); + var FunctionPrototype = Function.prototype; + + // Function.prototype[@@metadata] + // https://github.com/tc39/proposal-decorator-metadata + if (FunctionPrototype[METADATA] === undefined) { + defineProperty(FunctionPrototype, METADATA, { + value: null + }); + } + + + /***/ }), /* 282 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalStringTrim = __webpack_require__(180); - var FORCED = __webpack_require__(283)('trim'); - - // `String.prototype.trim` method - // https://tc39.github.io/ecma262/#sec-string.prototype.trim - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - trim: function trim() { - return internalStringTrim(this, 3); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var demethodize = __webpack_require__(278); + + // `Function.prototype.unThis` method + // https://github.com/js-choi/proposal-function-demethodize + // TODO: Remove from `core-js@4` + $({ target: 'Function', proto: true, forced: true, name: 'demethodize' }, { + unThis: demethodize + }); + + + /***/ }), /* 283 */ - /***/ (function (module, exports, __webpack_require__) { - - var fails = __webpack_require__(5); - var whitespaces = __webpack_require__(181); - var non = '\u200b\u0085\u180e'; - - // check that a method works with the correct list - // of whitespaces and has a correct name - module.exports = function (METHOD_NAME) { - return fails(function () { - return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME; - }); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var anInstance = __webpack_require__(140); + var anObject = __webpack_require__(45); + var isCallable = __webpack_require__(20); + var getPrototypeOf = __webpack_require__(85); + var defineBuiltInAccessor = __webpack_require__(118); + var createProperty = __webpack_require__(284); + var fails = __webpack_require__(6); + var hasOwn = __webpack_require__(37); + var wellKnownSymbol = __webpack_require__(32); + var IteratorPrototype = __webpack_require__(249).IteratorPrototype; + var DESCRIPTORS = __webpack_require__(5); + var IS_PURE = __webpack_require__(35); + + var CONSTRUCTOR = 'constructor'; + var ITERATOR = 'Iterator'; + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + + var $TypeError = TypeError; + var NativeIterator = global[ITERATOR]; + + // FF56- have non-standard global helper `Iterator` + var FORCED = IS_PURE + || !isCallable(NativeIterator) + || NativeIterator.prototype !== IteratorPrototype + // FF44- non-standard `Iterator` passes previous tests + || !fails(function () { NativeIterator({}); }); + + var IteratorConstructor = function Iterator() { + anInstance(this, IteratorPrototype); + if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable'); + }; + + var defineIteratorPrototypeAccessor = function (key, value) { + if (DESCRIPTORS) { + defineBuiltInAccessor(IteratorPrototype, key, { + configurable: true, + get: function () { + return value; + }, + set: function (replacement) { + anObject(this); + if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property"); + if (hasOwn(this, key)) this[key] = replacement; + else createProperty(this, key, replacement); + } + }); + } else IteratorPrototype[key] = value; + }; + + if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR); + + if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) { + defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor); + } + + IteratorConstructor.prototype = IteratorPrototype; + + // `Iterator` constructor + // https://github.com/tc39/proposal-iterator-helpers + $({ global: true, constructor: true, forced: FORCED }, { + Iterator: IteratorConstructor + }); + + + /***/ }), /* 284 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalStringTrim = __webpack_require__(180); - var FORCED = __webpack_require__(283)('trimEnd'); - - var trimEnd = FORCED ? function trimEnd() { - return internalStringTrim(this, 2); - } : ''.trimEnd; - - // `String.prototype.{ trimEnd, trimRight }` methods - // https://github.com/tc39/ecmascript-string-left-right-trim - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - trimEnd: trimEnd, - trimRight: trimEnd - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var definePropertyModule = __webpack_require__(43); + var createPropertyDescriptor = __webpack_require__(10); + + module.exports = function (object, key, value) { + if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); + else object[key] = value; + }; + + + /***/ }), /* 285 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalStringTrim = __webpack_require__(180); - var FORCED = __webpack_require__(283)('trimStart'); - - var trimStart = FORCED ? function trimStart() { - return internalStringTrim(this, 1); - } : ''.trimStart; - - // `String.prototype.{ trimStart, trimLeft }` methods - // https://github.com/tc39/ecmascript-string-left-right-trim - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - trimStart: trimStart, - trimLeft: trimStart - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var indexed = __webpack_require__(286); + + // `Iterator.prototype.asIndexedPairs` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', name: 'indexed', proto: true, real: true, forced: true }, { + asIndexedPairs: indexed + }); + + + /***/ }), /* 286 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('anchor'); - - // `String.prototype.anchor` method - // https://tc39.github.io/ecma262/#sec-string.prototype.anchor - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - anchor: function anchor(name) { - return createHTML(this, 'a', 'name', name); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var map = __webpack_require__(287); + + var callback = function (value, counter) { + return [counter, value]; + }; + + // `Iterator.prototype.indexed` method + // https://github.com/tc39/proposal-iterator-helpers + module.exports = function indexed() { + return call(map, this, callback); + }; + + + /***/ }), /* 287 */ - /***/ (function (module, exports, __webpack_require__) { - - var requireObjectCoercible = __webpack_require__(14); - var quot = /"/g; - - // B.2.3.2.1 CreateHTML(string, tag, attribute, value) - // https://tc39.github.io/ecma262/#sec-createhtml - module.exports = function (string, tag, attribute, value) { - var S = String(requireObjectCoercible(string)); - var p1 = '<' + tag; - if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"'; - return p1 + '>' + S + ''; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var createIteratorProxy = __webpack_require__(288); + var callWithSafeIterationClosing = __webpack_require__(289); + + var IteratorProxy = createIteratorProxy(function () { + var iterator = this.iterator; + var result = anObject(call(this.next, iterator)); + var done = this.done = !!result.done; + if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true); + }); + + // `Iterator.prototype.map` method + // https://github.com/tc39/proposal-iterator-helpers + module.exports = function map(mapper) { + anObject(this); + aCallable(mapper); + return new IteratorProxy(getIteratorDirect(this), { + mapper: mapper + }); + }; + + + /***/ }), /* 288 */ - /***/ (function (module, exports, __webpack_require__) { - - var fails = __webpack_require__(5); - - // check the existence of a method, lowercase - // of a tag and escaping quotes in arguments - module.exports = function (METHOD_NAME) { - return fails(function () { - var test = ''[METHOD_NAME]('"'); - return test !== test.toLowerCase() || test.split('"').length > 3; - }); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var create = __webpack_require__(87); + var createNonEnumerableProperty = __webpack_require__(42); + var defineBuiltIns = __webpack_require__(198); + var wellKnownSymbol = __webpack_require__(32); + var InternalStateModule = __webpack_require__(50); + var getMethod = __webpack_require__(28); + var IteratorPrototype = __webpack_require__(249).IteratorPrototype; + var createIterResultObject = __webpack_require__(200); + var iteratorClose = __webpack_require__(98); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var ITERATOR_HELPER = 'IteratorHelper'; + var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator'; + var setInternalState = InternalStateModule.set; + + var createIteratorProxyPrototype = function (IS_ITERATOR) { + var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER); + + return defineBuiltIns(create(IteratorPrototype), { + next: function next() { + var state = getInternalState(this); + // for simplification: + // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject` + // for `%IteratorHelperPrototype%.next` - just a value + if (IS_ITERATOR) return state.nextHandler(); + try { + var result = state.done ? undefined : state.nextHandler(); + return createIterResultObject(result, state.done); + } catch (error) { + state.done = true; + throw error; + } + }, + 'return': function () { + var state = getInternalState(this); + var iterator = state.iterator; + state.done = true; + if (IS_ITERATOR) { + var returnMethod = getMethod(iterator, 'return'); + return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true); + } + if (state.inner) try { + iteratorClose(state.inner.iterator, 'normal'); + } catch (error) { + return iteratorClose(iterator, 'throw', error); + } + iteratorClose(iterator, 'normal'); + return createIterResultObject(undefined, true); + } + }); + }; + + var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true); + var IteratorHelperPrototype = createIteratorProxyPrototype(false); + + createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper'); + + module.exports = function (nextHandler, IS_ITERATOR) { + var IteratorProxy = function Iterator(record, state) { + if (state) { + state.iterator = record.iterator; + state.next = record.next; + } else state = record; + state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER; + state.nextHandler = nextHandler; + state.counter = 0; + state.done = false; + setInternalState(this, state); + }; + + IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype; + + return IteratorProxy; + }; + + + /***/ }), /* 289 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('big'); - - // `String.prototype.big` method - // https://tc39.github.io/ecma262/#sec-string.prototype.big - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - big: function big() { - return createHTML(this, 'big', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var anObject = __webpack_require__(45); + var iteratorClose = __webpack_require__(98); + + // call something on iterator step with safe closing on error + module.exports = function (iterator, fn, value, ENTRIES) { + try { + return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); + } catch (error) { + iteratorClose(iterator, 'throw', error); + } + }; + + + /***/ }), /* 290 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('blink'); - - // `String.prototype.blink` method - // https://tc39.github.io/ecma262/#sec-string.prototype.blink - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - blink: function blink() { - return createHTML(this, 'blink', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://github.com/tc39/proposal-explicit-resource-management + var call = __webpack_require__(7); + var defineBuiltIn = __webpack_require__(46); + var getMethod = __webpack_require__(28); + var hasOwn = __webpack_require__(37); + var wellKnownSymbol = __webpack_require__(32); + var IteratorPrototype = __webpack_require__(249).IteratorPrototype; + + var DISPOSE = wellKnownSymbol('dispose'); + + if (!hasOwn(IteratorPrototype, DISPOSE)) { + defineBuiltIn(IteratorPrototype, DISPOSE, function () { + var $return = getMethod(this, 'return'); + if ($return) call($return, this); + }); + } + + + /***/ }), /* 291 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('bold'); - - // `String.prototype.bold` method - // https://tc39.github.io/ecma262/#sec-string.prototype.bold - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - bold: function bold() { - return createHTML(this, 'b', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var notANaN = __webpack_require__(231); + var toPositiveInteger = __webpack_require__(187); + var createIteratorProxy = __webpack_require__(288); + var IS_PURE = __webpack_require__(35); + + var IteratorProxy = createIteratorProxy(function () { + var iterator = this.iterator; + var next = this.next; + var result, done; + while (this.remaining) { + this.remaining--; + result = anObject(call(next, iterator)); + done = this.done = !!result.done; + if (done) return; + } + result = anObject(call(next, iterator)); + done = this.done = !!result.done; + if (!done) return result.value; + }); + + // `Iterator.prototype.drop` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + drop: function drop(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new IteratorProxy(getIteratorDirect(this), { + remaining: remaining + }); + } + }); + + + /***/ }), /* 292 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('fixed'); - - // `String.prototype.fixed` method - // https://tc39.github.io/ecma262/#sec-string.prototype.fixed - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - fixed: function fixed() { - return createHTML(this, 'tt', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var iterate = __webpack_require__(91); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + + // `Iterator.prototype.every` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true }, { + every: function every(predicate) { + anObject(this); + aCallable(predicate); + var record = getIteratorDirect(this); + var counter = 0; + return !iterate(record, function (value, stop) { + if (!predicate(value, counter++)) return stop(); + }, { IS_RECORD: true, INTERRUPTED: true }).stopped; + } + }); + + + /***/ }), /* 293 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('fontcolor'); - - // `String.prototype.fontcolor` method - // https://tc39.github.io/ecma262/#sec-string.prototype.fontcolor - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - fontcolor: function fontcolor(color) { - return createHTML(this, 'font', 'color', color); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var createIteratorProxy = __webpack_require__(288); + var callWithSafeIterationClosing = __webpack_require__(289); + var IS_PURE = __webpack_require__(35); + + var IteratorProxy = createIteratorProxy(function () { + var iterator = this.iterator; + var predicate = this.predicate; + var next = this.next; + var result, done, value; + while (true) { + result = anObject(call(next, iterator)); + done = this.done = !!result.done; + if (done) return; + value = result.value; + if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value; + } + }); + + // `Iterator.prototype.filter` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + filter: function filter(predicate) { + anObject(this); + aCallable(predicate); + return new IteratorProxy(getIteratorDirect(this), { + predicate: predicate + }); + } + }); + + + /***/ }), /* 294 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('fontsize'); - - // `String.prototype.fontsize` method - // https://tc39.github.io/ecma262/#sec-string.prototype.fontsize - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - fontsize: function fontsize(size) { - return createHTML(this, 'font', 'size', size); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var iterate = __webpack_require__(91); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + + // `Iterator.prototype.find` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true }, { + find: function find(predicate) { + anObject(this); + aCallable(predicate); + var record = getIteratorDirect(this); + var counter = 0; + return iterate(record, function (value, stop) { + if (predicate(value, counter++)) return stop(value); + }, { IS_RECORD: true, INTERRUPTED: true }).result; + } + }); + + + /***/ }), /* 295 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('italics'); - - // `String.prototype.italics` method - // https://tc39.github.io/ecma262/#sec-string.prototype.italics - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - italics: function italics() { - return createHTML(this, 'i', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var getIteratorFlattenable = __webpack_require__(296); + var createIteratorProxy = __webpack_require__(288); + var iteratorClose = __webpack_require__(98); + var IS_PURE = __webpack_require__(35); + + var IteratorProxy = createIteratorProxy(function () { + var iterator = this.iterator; + var mapper = this.mapper; + var result, inner; + + while (true) { + if (inner = this.inner) try { + result = anObject(call(inner.next, inner.iterator)); + if (!result.done) return result.value; + this.inner = null; + } catch (error) { iteratorClose(iterator, 'throw', error); } + + result = anObject(call(this.next, iterator)); + + if (this.done = !!result.done) return; + + try { + this.inner = getIteratorFlattenable(mapper(result.value, this.counter++), false); + } catch (error) { iteratorClose(iterator, 'throw', error); } + } + }); + + // `Iterator.prototype.flatMap` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + flatMap: function flatMap(mapper) { + anObject(this); + aCallable(mapper); + return new IteratorProxy(getIteratorDirect(this), { + mapper: mapper, + inner: null + }); + } + }); + + + /***/ }), /* 296 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('link'); - - // `String.prototype.link` method - // https://tc39.github.io/ecma262/#sec-string.prototype.link - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - link: function link(url) { - return createHTML(this, 'a', 'href', url); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var getIteratorMethod = __webpack_require__(97); + + module.exports = function (obj, stringHandling) { + if (!stringHandling || typeof obj !== 'string') anObject(obj); + var method = getIteratorMethod(obj); + return getIteratorDirect(anObject(method !== undefined ? call(method, obj) : obj)); + }; + + + /***/ }), /* 297 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('small'); - - // `String.prototype.small` method - // https://tc39.github.io/ecma262/#sec-string.prototype.small - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - small: function small() { - return createHTML(this, 'small', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var iterate = __webpack_require__(91); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + + // `Iterator.prototype.forEach` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true }, { + forEach: function forEach(fn) { + anObject(this); + aCallable(fn); + var record = getIteratorDirect(this); + var counter = 0; + iterate(record, function (value) { + fn(value, counter++); + }, { IS_RECORD: true }); + } + }); + + + /***/ }), /* 298 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('strike'); - - // `String.prototype.strike` method - // https://tc39.github.io/ecma262/#sec-string.prototype.strike - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - strike: function strike() { - return createHTML(this, 'strike', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toObject = __webpack_require__(38); + var isPrototypeOf = __webpack_require__(23); + var IteratorPrototype = __webpack_require__(249).IteratorPrototype; + var createIteratorProxy = __webpack_require__(288); + var getIteratorFlattenable = __webpack_require__(296); + var IS_PURE = __webpack_require__(35); + + var IteratorProxy = createIteratorProxy(function () { + return call(this.next, this.iterator); + }, true); + + // `Iterator.from` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', stat: true, forced: IS_PURE }, { + from: function from(O) { + var iteratorRecord = getIteratorFlattenable(typeof O == 'string' ? toObject(O) : O, true); + return isPrototypeOf(IteratorPrototype, iteratorRecord.iterator) + ? iteratorRecord.iterator + : new IteratorProxy(iteratorRecord); + } + }); + + + /***/ }), /* 299 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('sub'); - - // `String.prototype.sub` method - // https://tc39.github.io/ecma262/#sec-string.prototype.sub - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - sub: function sub() { - return createHTML(this, 'sub', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var indexed = __webpack_require__(286); + + // `Iterator.prototype.indexed` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true, forced: true }, { + indexed: indexed + }); + + + /***/ }), /* 300 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('sup'); - - // `String.prototype.sup` method - // https://tc39.github.io/ecma262/#sec-string.prototype.sup - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - sup: function sup() { - return createHTML(this, 'sup', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var map = __webpack_require__(287); + var IS_PURE = __webpack_require__(35); + + // `Iterator.prototype.map` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + map: map + }); + + + /***/ }), /* 301 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Float32Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Float32', 4, function (init) { - return function Float32Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable es/no-bigint -- safe */ + var $ = __webpack_require__(2); + var NumericRangeIterator = __webpack_require__(247); + + var $TypeError = TypeError; + + // `Iterator.range` method + // https://github.com/tc39/proposal-Number.range + $({ target: 'Iterator', stat: true, forced: true }, { + range: function range(start, end, option) { + if (typeof start == 'number') return new NumericRangeIterator(start, end, option, 'number', 0, 1); + if (typeof start == 'bigint') return new NumericRangeIterator(start, end, option, 'bigint', BigInt(0), BigInt(1)); + throw new $TypeError('Incorrect Iterator.range arguments'); + } + }); + + + /***/ }), /* 302 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - if (__webpack_require__(4)) { - var global = __webpack_require__(2); - var $export = __webpack_require__(7); - var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(303); - var ArrayBufferViewCore = __webpack_require__(130); - var ArrayBufferModule = __webpack_require__(129); - var anInstance = __webpack_require__(132); - var createPropertyDescriptor = __webpack_require__(10); - var hide = __webpack_require__(19); - var toLength = __webpack_require__(36); - var toIndex = __webpack_require__(133); - var toOffset = __webpack_require__(304); - var toPrimitive = __webpack_require__(15); - var has = __webpack_require__(3); - var classof = __webpack_require__(98); - var isObject = __webpack_require__(16); - var create = __webpack_require__(51); - var setPrototypeOf = __webpack_require__(108); - var getOwnPropertyNames = __webpack_require__(33).f; - var typedArrayFrom = __webpack_require__(305); - var arrayForEach = __webpack_require__(77)(0); - var setSpecies = __webpack_require__(123); - var definePropertyModule = __webpack_require__(20); - var getOwnPropertyDescriptorModule = __webpack_require__(8); - var InternalStateModule = __webpack_require__(26); - var getInternalState = InternalStateModule.get; - var setInternalState = InternalStateModule.set; - var nativeDefineProperty = definePropertyModule.f; - var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - var RangeError = global.RangeError; - var ArrayBuffer = ArrayBufferModule.ArrayBuffer; - var DataView = ArrayBufferModule.DataView; - var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; - var TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG; - var TypedArray = ArrayBufferViewCore.TypedArray; - var TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype; - var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; - var isTypedArray = ArrayBufferViewCore.isTypedArray; - var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; - var WRONG_LENGTH = 'Wrong length'; - - var fromList = function (C, list) { - var index = 0; - var length = list.length; - var result = new (aTypedArrayConstructor(C))(length); - while (length > index) result[index] = list[index++]; - return result; - }; - - var addGetter = function (it, key) { - nativeDefineProperty(it, key, { - get: function () { - return getInternalState(this)[key]; - } - }); - }; - - var isArrayBuffer = function (it) { - var klass; - return it instanceof ArrayBuffer || (klass = classof(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer'; - }; - - var isTypedArrayIndex = function (target, key) { - return isTypedArray(target) - && typeof key != 'symbol' - && key in target - && String(+key) == String(key); - }; - - var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) { - return isTypedArrayIndex(target, key = toPrimitive(key, true)) - ? createPropertyDescriptor(2, target[key]) - : nativeGetOwnPropertyDescriptor(target, key); - }; - - var wrappedDefineProperty = function defineProperty(target, key, descriptor) { - if (isTypedArrayIndex(target, key = toPrimitive(key, true)) - && isObject(descriptor) - && has(descriptor, 'value') - && !has(descriptor, 'get') - && !has(descriptor, 'set') - // TODO: add validation descriptor w/o calling accessors - && !descriptor.configurable - && (!has(descriptor, 'writable') || descriptor.writable) - && (!has(descriptor, 'enumerable') || descriptor.enumerable) - ) { - target[key] = descriptor.value; - return target; - } return nativeDefineProperty(target, key, descriptor); - }; - - if (!NATIVE_ARRAY_BUFFER_VIEWS) { - getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor; - definePropertyModule.f = wrappedDefineProperty; - addGetter(TypedArrayPrototype, 'buffer'); - addGetter(TypedArrayPrototype, 'byteOffset'); - addGetter(TypedArrayPrototype, 'byteLength'); - addGetter(TypedArrayPrototype, 'length'); - } - - $export({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { - getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor, - defineProperty: wrappedDefineProperty - }); - - // eslint-disable-next-line max-statements - module.exports = function (TYPE, BYTES, wrapper, CLAMPED) { - var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array'; - var GETTER = 'get' + TYPE; - var SETTER = 'set' + TYPE; - var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME]; - var TypedArrayConstructor = NativeTypedArrayConstructor; - var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype; - var exported = {}; - - var getter = function (that, index) { - var data = getInternalState(that); - return data.view[GETTER](index * BYTES + data.byteOffset, true); - }; - - var setter = function (that, index, value) { - var data = getInternalState(that); - if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff; - data.view[SETTER](index * BYTES + data.byteOffset, value, true); - }; - - var addElement = function (that, index) { - nativeDefineProperty(that, index, { - get: function () { - return getter(this, index); - }, - set: function (value) { - return setter(this, index, value); - }, - enumerable: true - }); - }; - - if (!NATIVE_ARRAY_BUFFER_VIEWS) { - TypedArrayConstructor = wrapper(function (that, data, offset, $length) { - anInstance(that, TypedArrayConstructor, CONSTRUCTOR_NAME); - var index = 0; - var byteOffset = 0; - var buffer, byteLength, length; - if (!isObject(data)) { - length = toIndex(data); - byteLength = length * BYTES; - buffer = new ArrayBuffer(byteLength); - } else if (isArrayBuffer(data)) { - buffer = data; - byteOffset = toOffset(offset, BYTES); - var $len = data.byteLength; - if ($length === undefined) { - if ($len % BYTES) throw RangeError(WRONG_LENGTH); - byteLength = $len - byteOffset; - if (byteLength < 0) throw RangeError(WRONG_LENGTH); - } else { - byteLength = toLength($length) * BYTES; - if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH); - } - length = byteLength / BYTES; - } else if (isTypedArray(data)) { - return fromList(TypedArrayConstructor, data); - } else { - return typedArrayFrom.call(TypedArrayConstructor, data); - } - setInternalState(that, { - buffer: buffer, - byteOffset: byteOffset, - byteLength: byteLength, - length: length, - view: new DataView(buffer) - }); - while (index < length) addElement(that, index++); - }); - - if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray); - TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype); - } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) { - TypedArrayConstructor = wrapper(function (that, data, typedArrayOffset, $length) { - anInstance(that, TypedArrayConstructor, CONSTRUCTOR_NAME); - if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data)); - if (isArrayBuffer(data)) return $length !== undefined - ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length) - : typedArrayOffset !== undefined - ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES)) - : new NativeTypedArrayConstructor(data); - if (isTypedArray(data)) return fromList(TypedArrayConstructor, data); - return typedArrayFrom.call(TypedArrayConstructor, data); - }); - - if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray); - arrayForEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) { - if (!(key in TypedArrayConstructor)) hide(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]); - }); - TypedArrayConstructor.prototype = TypedArrayConstructorPrototype; - } - - if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) { - hide(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor); - } - - if (TYPED_ARRAY_TAG) hide(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME); - - exported[CONSTRUCTOR_NAME] = TypedArrayConstructor; - - $export({ - global: true, forced: TypedArrayConstructor != NativeTypedArrayConstructor, sham: !NATIVE_ARRAY_BUFFER_VIEWS - }, exported); - - if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) { - hide(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES); - } - - if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) { - hide(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES); - } - - setSpecies(CONSTRUCTOR_NAME); - }; - } else module.exports = function () { /* empty */ }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var iterate = __webpack_require__(91); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + + var $TypeError = TypeError; + + // `Iterator.prototype.reduce` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true }, { + reduce: function reduce(reducer /* , initialValue */) { + anObject(this); + aCallable(reducer); + var record = getIteratorDirect(this); + var noInitial = arguments.length < 2; + var accumulator = noInitial ? undefined : arguments[1]; + var counter = 0; + iterate(record, function (value) { + if (noInitial) { + noInitial = false; + accumulator = value; + } else { + accumulator = reducer(accumulator, value, counter); + } + counter++; + }, { IS_RECORD: true }); + if (noInitial) throw new $TypeError('Reduce of empty iterator with no initial value'); + return accumulator; + } + }); + + + /***/ }), /* 303 */ - /***/ (function (module, exports, __webpack_require__) { - - /* eslint-disable no-new */ - var global = __webpack_require__(2); - var fails = __webpack_require__(5); - var checkCorrectnessOfIteration = __webpack_require__(92); - var NATIVE_ARRAY_BUFFER_VIEWS = __webpack_require__(130).NATIVE_ARRAY_BUFFER_VIEWS; - var ArrayBuffer = global.ArrayBuffer; - var Int8Array = global.Int8Array; - - module.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () { - Int8Array(1); - }) || !fails(function () { - new Int8Array(-1); - }) || !checkCorrectnessOfIteration(function (iterable) { - new Int8Array(); - new Int8Array(null); - new Int8Array(1.5); - new Int8Array(iterable); - }, true) || fails(function () { - // Safari 11 bug - return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var iterate = __webpack_require__(91); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + + // `Iterator.prototype.some` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true }, { + some: function some(predicate) { + anObject(this); + aCallable(predicate); + var record = getIteratorDirect(this); + var counter = 0; + return iterate(record, function (value, stop) { + if (predicate(value, counter++)) return stop(); + }, { IS_RECORD: true, INTERRUPTED: true }).stopped; + } + }); + + + /***/ }), /* 304 */ - /***/ (function (module, exports, __webpack_require__) { - - var toInteger = __webpack_require__(37); - - module.exports = function (it, BYTES) { - var offset = toInteger(it); - if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset'); - return offset; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var notANaN = __webpack_require__(231); + var toPositiveInteger = __webpack_require__(187); + var createIteratorProxy = __webpack_require__(288); + var iteratorClose = __webpack_require__(98); + var IS_PURE = __webpack_require__(35); + + var IteratorProxy = createIteratorProxy(function () { + var iterator = this.iterator; + if (!this.remaining--) { + this.done = true; + return iteratorClose(iterator, 'normal', undefined); + } + var result = anObject(call(this.next, iterator)); + var done = this.done = !!result.done; + if (!done) return result.value; + }); + + // `Iterator.prototype.take` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + take: function take(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new IteratorProxy(getIteratorDirect(this), { + remaining: remaining + }); + } + }); + + + /***/ }), /* 305 */ - /***/ (function (module, exports, __webpack_require__) { - - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var getIteratorMethod = __webpack_require__(97); - var isArrayIteratorMethod = __webpack_require__(95); - var bind = __webpack_require__(78); - var aTypedArrayConstructor = __webpack_require__(130).aTypedArrayConstructor; - - module.exports = function from(source /* , mapfn, thisArg */) { - var O = toObject(source); - var argumentsLength = arguments.length; - var mapfn = argumentsLength > 1 ? arguments[1] : undefined; - var mapping = mapfn !== undefined; - var iteratorMethod = getIteratorMethod(O); - var i, length, result, step, iterator; - if (iteratorMethod != undefined && !isArrayIteratorMethod(iteratorMethod)) { - iterator = iteratorMethod.call(O); - O = []; - while (!(step = iterator.next()).done) { - O.push(step.value); - } - } - if (mapping && argumentsLength > 2) { - mapfn = bind(mapfn, arguments[2], 2); - } - length = toLength(O.length); - result = new (aTypedArrayConstructor(this))(length); - for (i = 0; length > i; i++) { - result[i] = mapping ? mapfn(O[i], i) : O[i]; - } - return result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var anObject = __webpack_require__(45); + var iterate = __webpack_require__(91); + var getIteratorDirect = __webpack_require__(201); + + var push = [].push; + + // `Iterator.prototype.toArray` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true }, { + toArray: function toArray() { + var result = []; + iterate(getIteratorDirect(anObject(this)), push, { that: result, IS_RECORD: true }); + return result; + } + }); + + + /***/ }), /* 306 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Float64Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Float64', 8, function (init) { - return function Float64Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var anObject = __webpack_require__(45); + var AsyncFromSyncIterator = __webpack_require__(197); + var WrapAsyncIterator = __webpack_require__(239); + var getIteratorDirect = __webpack_require__(201); + var IS_PURE = __webpack_require__(35); + + // `Iterator.prototype.toAsync` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + toAsync: function toAsync() { + return new WrapAsyncIterator(getIteratorDirect(new AsyncFromSyncIterator(getIteratorDirect(anObject(this))))); + } + }); + + + /***/ }), /* 307 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Int8Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Int8', 1, function (init) { - return function Int8Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var NATIVE_RAW_JSON = __webpack_require__(308); + var isRawJSON = __webpack_require__(309); + + // `JSON.parse` method + // https://tc39.es/proposal-json-parse-with-source/#sec-json.israwjson + // https://github.com/tc39/proposal-json-parse-with-source + $({ target: 'JSON', stat: true, forced: !NATIVE_RAW_JSON }, { + isRawJSON: isRawJSON + }); + + + /***/ }), /* 308 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Int16Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Int16', 2, function (init) { - return function Int16Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable es/no-json -- safe */ + var fails = __webpack_require__(6); + + module.exports = !fails(function () { + var unsafeInt = '9007199254740993'; + var raw = JSON.rawJSON(unsafeInt); + return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt; + }); + + + /***/ }), /* 309 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Int32Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Int32', 4, function (init) { - return function Int32Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isObject = __webpack_require__(19); + var getInternalState = __webpack_require__(50).get; + + module.exports = function isRawJSON(O) { + if (!isObject(O)) return false; + var state = getInternalState(O); + return !!state && state.type === 'RawJSON'; + }; + + + /***/ }), /* 310 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Uint8Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Uint8', 1, function (init) { - return function Uint8Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var DESCRIPTORS = __webpack_require__(5); + var global = __webpack_require__(3); + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + var call = __webpack_require__(7); + var isCallable = __webpack_require__(20); + var isObject = __webpack_require__(19); + var isArray = __webpack_require__(107); + var hasOwn = __webpack_require__(37); + var toString = __webpack_require__(76); + var lengthOfArrayLike = __webpack_require__(62); + var createProperty = __webpack_require__(284); + var fails = __webpack_require__(6); + var parseJSONString = __webpack_require__(311); + var NATIVE_SYMBOL = __webpack_require__(25); + + var JSON = global.JSON; + var Number = global.Number; + var SyntaxError = global.SyntaxError; + var nativeParse = JSON && JSON.parse; + var enumerableOwnProperties = getBuiltIn('Object', 'keys'); + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var at = uncurryThis(''.charAt); + var slice = uncurryThis(''.slice); + var exec = uncurryThis(/./.exec); + var push = uncurryThis([].push); + + var IS_DIGIT = /^\d$/; + var IS_NON_ZERO_DIGIT = /^[1-9]$/; + var IS_NUMBER_START = /^(?:-|\d)$/; + var IS_WHITESPACE = /^[\t\n\r ]$/; + + var PRIMITIVE = 0; + var OBJECT = 1; + + var $parse = function (source, reviver) { + source = toString(source); + var context = new Context(source, 0, ''); + var root = context.parse(); + var value = root.value; + var endIndex = context.skip(IS_WHITESPACE, root.end); + if (endIndex < source.length) { + throw new SyntaxError('Unexpected extra character: "' + at(source, endIndex) + '" after the parsed data at: ' + endIndex); + } + return isCallable(reviver) ? internalize({ '': value }, '', reviver, root) : value; + }; + + var internalize = function (holder, name, reviver, node) { + var val = holder[name]; + var unmodified = node && val === node.value; + var context = unmodified && typeof node.source == 'string' ? { source: node.source } : {}; + var elementRecordsLen, keys, len, i, P; + if (isObject(val)) { + var nodeIsArray = isArray(val); + var nodes = unmodified ? node.nodes : nodeIsArray ? [] : {}; + if (nodeIsArray) { + elementRecordsLen = nodes.length; + len = lengthOfArrayLike(val); + for (i = 0; i < len; i++) { + internalizeProperty(val, i, internalize(val, '' + i, reviver, i < elementRecordsLen ? nodes[i] : undefined)); + } + } else { + keys = enumerableOwnProperties(val); + len = lengthOfArrayLike(keys); + for (i = 0; i < len; i++) { + P = keys[i]; + internalizeProperty(val, P, internalize(val, P, reviver, hasOwn(nodes, P) ? nodes[P] : undefined)); + } + } + } + return call(reviver, holder, name, val, context); + }; + + var internalizeProperty = function (object, key, value) { + if (DESCRIPTORS) { + var descriptor = getOwnPropertyDescriptor(object, key); + if (descriptor && !descriptor.configurable) return; + } + if (value === undefined) delete object[key]; + else createProperty(object, key, value); + }; + + var Node = function (value, end, source, nodes) { + this.value = value; + this.end = end; + this.source = source; + this.nodes = nodes; + }; + + var Context = function (source, index) { + this.source = source; + this.index = index; + }; + + // https://www.json.org/json-en.html + Context.prototype = { + fork: function (nextIndex) { + return new Context(this.source, nextIndex); + }, + parse: function () { + var source = this.source; + var i = this.skip(IS_WHITESPACE, this.index); + var fork = this.fork(i); + var chr = at(source, i); + if (exec(IS_NUMBER_START, chr)) return fork.number(); + switch (chr) { + case '{': + return fork.object(); + case '[': + return fork.array(); + case '"': + return fork.string(); + case 't': + return fork.keyword(true); + case 'f': + return fork.keyword(false); + case 'n': + return fork.keyword(null); + } throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i); + }, + node: function (type, value, start, end, nodes) { + return new Node(value, end, type ? null : slice(this.source, start, end), nodes); + }, + object: function () { + var source = this.source; + var i = this.index + 1; + var expectKeypair = false; + var object = {}; + var nodes = {}; + while (i < source.length) { + i = this.until(['"', '}'], i); + if (at(source, i) === '}' && !expectKeypair) { + i++; + break; + } + // Parsing the key + var result = this.fork(i).string(); + var key = result.value; + i = result.end; + i = this.until([':'], i) + 1; + // Parsing value + i = this.skip(IS_WHITESPACE, i); + result = this.fork(i).parse(); + createProperty(nodes, key, result); + createProperty(object, key, result.value); + i = this.until([',', '}'], result.end); + var chr = at(source, i); + if (chr === ',') { + expectKeypair = true; + i++; + } else if (chr === '}') { + i++; + break; + } + } + return this.node(OBJECT, object, this.index, i, nodes); + }, + array: function () { + var source = this.source; + var i = this.index + 1; + var expectElement = false; + var array = []; + var nodes = []; + while (i < source.length) { + i = this.skip(IS_WHITESPACE, i); + if (at(source, i) === ']' && !expectElement) { + i++; + break; + } + var result = this.fork(i).parse(); + push(nodes, result); + push(array, result.value); + i = this.until([',', ']'], result.end); + if (at(source, i) === ',') { + expectElement = true; + i++; + } else if (at(source, i) === ']') { + i++; + break; + } + } + return this.node(OBJECT, array, this.index, i, nodes); + }, + string: function () { + var index = this.index; + var parsed = parseJSONString(this.source, this.index + 1); + return this.node(PRIMITIVE, parsed.value, index, parsed.end); + }, + number: function () { + var source = this.source; + var startIndex = this.index; + var i = startIndex; + if (at(source, i) === '-') i++; + if (at(source, i) === '0') i++; + else if (exec(IS_NON_ZERO_DIGIT, at(source, i))) i = this.skip(IS_DIGIT, ++i); + else throw new SyntaxError('Failed to parse number at: ' + i); + if (at(source, i) === '.') i = this.skip(IS_DIGIT, ++i); + if (at(source, i) === 'e' || at(source, i) === 'E') { + i++; + if (at(source, i) === '+' || at(source, i) === '-') i++; + var exponentStartIndex = i; + i = this.skip(IS_DIGIT, i); + if (exponentStartIndex === i) throw new SyntaxError("Failed to parse number's exponent value at: " + i); + } + return this.node(PRIMITIVE, Number(slice(source, startIndex, i)), startIndex, i); + }, + keyword: function (value) { + var keyword = '' + value; + var index = this.index; + var endIndex = index + keyword.length; + if (slice(this.source, index, endIndex) !== keyword) throw new SyntaxError('Failed to parse value at: ' + index); + return this.node(PRIMITIVE, value, index, endIndex); + }, + skip: function (regex, i) { + var source = this.source; + for (; i < source.length; i++) if (!exec(regex, at(source, i))) break; + return i; + }, + until: function (array, i) { + i = this.skip(IS_WHITESPACE, i); + var chr = at(this.source, i); + for (var j = 0; j < array.length; j++) if (array[j] === chr) return i; + throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i); + } + }; + + var NO_SOURCE_SUPPORT = fails(function () { + var unsafeInt = '9007199254740993'; + var source; + nativeParse(unsafeInt, function (key, value, context) { + source = context.source; + }); + return source !== unsafeInt; + }); + + var PROPER_BASE_PARSE = NATIVE_SYMBOL && !fails(function () { + // Safari 9 bug + return 1 / nativeParse('-0 \t') !== -Infinity; + }); + + // `JSON.parse` method + // https://tc39.es/ecma262/#sec-json.parse + // https://github.com/tc39/proposal-json-parse-with-source + $({ target: 'JSON', stat: true, forced: NO_SOURCE_SUPPORT }, { + parse: function parse(text, reviver) { + return PROPER_BASE_PARSE && !isCallable(reviver) ? nativeParse(text) : $parse(text, reviver); + } + }); + + + /***/ }), /* 311 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Uint8ClampedArray` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Uint8', 1, function (init) { - return function Uint8ClampedArray(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }, true); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var hasOwn = __webpack_require__(37); + + var $SyntaxError = SyntaxError; + var $parseInt = parseInt; + var fromCharCode = String.fromCharCode; + var at = uncurryThis(''.charAt); + var slice = uncurryThis(''.slice); + var exec = uncurryThis(/./.exec); + + var codePoints = { + '\\"': '"', + '\\\\': '\\', + '\\/': '/', + '\\b': '\b', + '\\f': '\f', + '\\n': '\n', + '\\r': '\r', + '\\t': '\t' + }; + + var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i; + // eslint-disable-next-line regexp/no-control-character -- safe + var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/; + + module.exports = function (source, i) { + var unterminated = true; + var value = ''; + while (i < source.length) { + var chr = at(source, i); + if (chr === '\\') { + var twoChars = slice(source, i, i + 2); + if (hasOwn(codePoints, twoChars)) { + value += codePoints[twoChars]; + i += 2; + } else if (twoChars === '\\u') { + i += 2; + var fourHexDigits = slice(source, i, i + 4); + if (!exec(IS_4_HEX_DIGITS, fourHexDigits)) throw new $SyntaxError('Bad Unicode escape at: ' + i); + value += fromCharCode($parseInt(fourHexDigits, 16)); + i += 4; + } else throw new $SyntaxError('Unknown escape sequence: "' + twoChars + '"'); + } else if (chr === '"') { + unterminated = false; + i++; + break; + } else { + if (exec(IS_C0_CONTROL_CODE, chr)) throw new $SyntaxError('Bad control character in string literal at: ' + i); + value += chr; + i++; + } + } + if (unterminated) throw new $SyntaxError('Unterminated string at: ' + i); + return { value: value, end: i }; + }; + + + /***/ }), /* 312 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Uint16Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Uint16', 2, function (init) { - return function Uint16Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var FREEZING = __webpack_require__(259); + var NATIVE_RAW_JSON = __webpack_require__(308); + var getBuiltIn = __webpack_require__(22); + var call = __webpack_require__(7); + var uncurryThis = __webpack_require__(13); + var isCallable = __webpack_require__(20); + var isRawJSON = __webpack_require__(309); + var toString = __webpack_require__(76); + var createProperty = __webpack_require__(284); + var parseJSONString = __webpack_require__(311); + var getReplacerFunction = __webpack_require__(313); + var uid = __webpack_require__(39); + var setInternalState = __webpack_require__(50).set; + + var $String = String; + var $SyntaxError = SyntaxError; + var parse = getBuiltIn('JSON', 'parse'); + var $stringify = getBuiltIn('JSON', 'stringify'); + var create = getBuiltIn('Object', 'create'); + var freeze = getBuiltIn('Object', 'freeze'); + var at = uncurryThis(''.charAt); + var slice = uncurryThis(''.slice); + var exec = uncurryThis(/./.exec); + var push = uncurryThis([].push); + + var MARK = uid(); + var MARK_LENGTH = MARK.length; + var ERROR_MESSAGE = 'Unacceptable as raw JSON'; + var IS_WHITESPACE = /^[\t\n\r ]$/; + + // `JSON.parse` method + // https://tc39.es/proposal-json-parse-with-source/#sec-json.israwjson + // https://github.com/tc39/proposal-json-parse-with-source + $({ target: 'JSON', stat: true, forced: !NATIVE_RAW_JSON }, { + rawJSON: function rawJSON(text) { + var jsonString = toString(text); + if (jsonString === '' || exec(IS_WHITESPACE, at(jsonString, 0)) || exec(IS_WHITESPACE, at(jsonString, jsonString.length - 1))) { + throw new $SyntaxError(ERROR_MESSAGE); + } + var parsed = parse(jsonString); + if (typeof parsed == 'object' && parsed !== null) throw new $SyntaxError(ERROR_MESSAGE); + var obj = create(null); + setInternalState(obj, { type: 'RawJSON' }); + createProperty(obj, 'rawJSON', jsonString); + return FREEZING ? freeze(obj) : obj; + } + }); + + // `JSON.stringify` method + // https://tc39.es/ecma262/#sec-json.stringify + // https://github.com/tc39/proposal-json-parse-with-source + if ($stringify) $({ target: 'JSON', stat: true, arity: 3, forced: !NATIVE_RAW_JSON }, { + stringify: function stringify(text, replacer, space) { + var replacerFunction = getReplacerFunction(replacer); + var rawStrings = []; + + var json = $stringify(text, function (key, value) { + // some old implementations (like WebKit) could pass numbers as keys + var v = isCallable(replacerFunction) ? call(replacerFunction, this, $String(key), value) : value; + return isRawJSON(v) ? MARK + (push(rawStrings, v.rawJSON) - 1) : v; + }, space); + + if (typeof json != 'string') return json; + + var result = ''; + var length = json.length; + + for (var i = 0; i < length; i++) { + var chr = at(json, i); + if (chr === '"') { + var end = parseJSONString(json, ++i).end - 1; + var string = slice(json, i, end); + result += slice(string, 0, MARK_LENGTH) === MARK + ? rawStrings[slice(string, MARK_LENGTH)] + : '"' + string + '"'; + i = end; + } else result += chr; + } + + return result; + } + }); + + + /***/ }), /* 313 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Uint32Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Uint32', 4, function (init) { - return function Uint32Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var isArray = __webpack_require__(107); + var isCallable = __webpack_require__(20); + var classof = __webpack_require__(14); + var toString = __webpack_require__(76); + + var push = uncurryThis([].push); + + module.exports = function (replacer) { + if (isCallable(replacer)) return replacer; + if (!isArray(replacer)) return; + var rawLength = replacer.length; + var keys = []; + for (var i = 0; i < rawLength; i++) { + var element = replacer[i]; + if (typeof element == 'string') push(keys, element); + else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element)); + } + var keysLength = keys.length; + var root = true; + return function (key, value) { + if (root) { + root = false; + return value; + } + if (isArray(this)) return value; + for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value; + }; + }; + + + /***/ }), /* 314 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayCopyWithin = __webpack_require__(74); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.copyWithin` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.copywithin - ArrayBufferViewCore.exportProto('copyWithin', function copyWithin(target, start /* , end */) { - return arrayCopyWithin.call(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aMap = __webpack_require__(315); + var remove = __webpack_require__(132).remove; + + // `Map.prototype.deleteAll` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + deleteAll: function deleteAll(/* ...elements */) { + var collection = aMap(this); + var allDeleted = true; + var wasDeleted; + for (var k = 0, len = arguments.length; k < len; k++) { + wasDeleted = remove(collection, arguments[k]); + allDeleted = allDeleted && wasDeleted; + } return !!allDeleted; + } + }); + + + /***/ }), /* 315 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayEvery = __webpack_require__(77)(4); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.every` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.every - ArrayBufferViewCore.exportProto('every', function every(callbackfn /* , thisArg */) { - return arrayEvery(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var has = __webpack_require__(132).has; + + // Perform ? RequireInternalSlot(M, [[MapData]]) + module.exports = function (it) { + has(it); + return it; + }; + + + /***/ }), /* 316 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayFill = __webpack_require__(82); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.fill` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.fill - // eslint-disable-next-line no-unused-vars - ArrayBufferViewCore.exportProto('fill', function fill(value /* , start, end */) { - return arrayFill.apply(aTypedArray(this), arguments); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aMap = __webpack_require__(315); + var MapHelpers = __webpack_require__(132); + + var get = MapHelpers.get; + var has = MapHelpers.has; + var set = MapHelpers.set; + + // `Map.prototype.emplace` method + // https://github.com/tc39/proposal-upsert + $({ target: 'Map', proto: true, real: true, forced: true }, { + emplace: function emplace(key, handler) { + var map = aMap(this); + var value, inserted; + if (has(map, key)) { + value = get(map, key); + if ('update' in handler) { + value = handler.update(value, key, map); + set(map, key, value); + } return value; + } + inserted = handler.insert(key, map); + set(map, key, inserted); + return inserted; + } + }); + + + /***/ }), /* 317 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var speciesConstructor = __webpack_require__(136); - var ArrayBufferViewCore = __webpack_require__(130); - var arrayFilter = __webpack_require__(77)(2); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; - - // `%TypedArray%.prototype.filter` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.filter - ArrayBufferViewCore.exportProto('filter', function filter(callbackfn /* , thisArg */) { - var list = arrayFilter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - var C = speciesConstructor(this, this.constructor); - var index = 0; - var length = list.length; - var result = new (aTypedArrayConstructor(C))(length); - while (length > index) result[index] = list[index++]; - return result; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(220); + + // `Map.prototype.every` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + every: function every(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate(map, function (value, key) { + if (!boundFunction(value, key, map)) return false; + }, true) !== false; + } + }); + + + /***/ }), /* 318 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayFind = __webpack_require__(77)(5); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.find` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.find - ArrayBufferViewCore.exportProto('find', function find(predicate /* , thisArg */) { - return arrayFind(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aMap = __webpack_require__(315); + var MapHelpers = __webpack_require__(132); + var iterate = __webpack_require__(220); + + var Map = MapHelpers.Map; + var set = MapHelpers.set; + + // `Map.prototype.filter` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + filter: function filter(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newMap = new Map(); + iterate(map, function (value, key) { + if (boundFunction(value, key, map)) set(newMap, key, value); + }); + return newMap; + } + }); + + + /***/ }), /* 319 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayFindIndex = __webpack_require__(77)(6); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.findIndex` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.findindex - ArrayBufferViewCore.exportProto('findIndex', function findIndex(predicate /* , thisArg */) { - return arrayFindIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(220); + + // `Map.prototype.find` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + find: function find(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var result = iterate(map, function (value, key) { + if (boundFunction(value, key, map)) return { value: value }; + }, true); + return result && result.value; + } + }); + + + /***/ }), /* 320 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayForEach = __webpack_require__(77)(0); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.forEach` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.foreach - ArrayBufferViewCore.exportProto('forEach', function forEach(callbackfn /* , thisArg */) { - arrayForEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(220); + + // `Map.prototype.findKey` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + findKey: function findKey(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var result = iterate(map, function (value, key) { + if (boundFunction(value, key, map)) return { key: key }; + }, true); + return result && result.key; + } + }); + + + /***/ }), /* 321 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(303); - var ArrayBufferViewCore = __webpack_require__(130); - var typedArrayFrom = __webpack_require__(305); - - // `%TypedArray%.from` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.from - ArrayBufferViewCore.exportStatic('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var MapHelpers = __webpack_require__(132); + var createCollectionFrom = __webpack_require__(322); + + // `Map.from` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-map.from + $({ target: 'Map', stat: true, forced: true }, { + from: createCollectionFrom(MapHelpers.Map, MapHelpers.set, true) + }); + + + /***/ }), /* 322 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayIncludes = __webpack_require__(35)(true); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.includes` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.includes - ArrayBufferViewCore.exportProto('includes', function includes(searchElement /* , fromIndex */) { - return arrayIncludes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://tc39.github.io/proposal-setmap-offrom/ + var bind = __webpack_require__(92); + var anObject = __webpack_require__(45); + var toObject = __webpack_require__(38); + var iterate = __webpack_require__(91); + + module.exports = function (C, adder, ENTRY) { + return function from(source /* , mapFn, thisArg */) { + var O = toObject(source); + var length = arguments.length; + var mapFn = length > 1 ? arguments[1] : undefined; + var mapping = mapFn !== undefined; + var boundFunction = mapping ? bind(mapFn, length > 2 ? arguments[2] : undefined) : undefined; + var result = new C(); + var n = 0; + iterate(O, function (nextItem) { + var entry = mapping ? boundFunction(nextItem, n++) : nextItem; + if (ENTRY) adder(result, anObject(entry)[0], entry[1]); + else adder(result, entry); + }); + return result; + }; + }; + + + /***/ }), /* 323 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayIndexOf = __webpack_require__(35)(false); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.indexOf` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.indexof - ArrayBufferViewCore.exportProto('indexOf', function indexOf(searchElement /* , fromIndex */) { - return arrayIndexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var sameValueZero = __webpack_require__(324); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(220); + + // `Map.prototype.includes` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + includes: function includes(searchElement) { + return iterate(aMap(this), function (value) { + if (sameValueZero(value, searchElement)) return true; + }, true) === true; + } + }); + + + /***/ }), /* 324 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ArrayIterators = __webpack_require__(102); - var Uint8Array = __webpack_require__(2).Uint8Array; - var ArrayBufferViewCore = __webpack_require__(130); - var ITERATOR = __webpack_require__(43)('iterator'); - var arrayValues = ArrayIterators.values; - var arrayKeys = ArrayIterators.keys; - var arrayEntries = ArrayIterators.entries; - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var exportProto = ArrayBufferViewCore.exportProto; - var nativeTypedArrayIterator = Uint8Array && Uint8Array.prototype[ITERATOR]; - - var CORRECT_ITER_NAME = !!nativeTypedArrayIterator - && (nativeTypedArrayIterator.name == 'values' || nativeTypedArrayIterator.name == undefined); - - var typedArrayValues = function values() { - return arrayValues.call(aTypedArray(this)); - }; - - // `%TypedArray%.prototype.entries` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.entries - exportProto('entries', function entries() { - return arrayEntries.call(aTypedArray(this)); - }); - // `%TypedArray%.prototype.keys` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.keys - exportProto('keys', function keys() { - return arrayKeys.call(aTypedArray(this)); - }); - // `%TypedArray%.prototype.values` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.values - exportProto('values', typedArrayValues, !CORRECT_ITER_NAME); - // `%TypedArray%.prototype[@@iterator]` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype-@@iterator - exportProto(ITERATOR, typedArrayValues, !CORRECT_ITER_NAME); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // `SameValueZero` abstract operation + // https://tc39.es/ecma262/#sec-samevaluezero + module.exports = function (x, y) { + // eslint-disable-next-line no-self-compare -- NaN check + return x === y || x !== x && y !== y; + }; + + + /***/ }), /* 325 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var arrayJoin = [].join; - - // `%TypedArray%.prototype.join` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.join - // eslint-disable-next-line no-unused-vars - ArrayBufferViewCore.exportProto('join', function join(separator) { - return arrayJoin.apply(aTypedArray(this), arguments); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var iterate = __webpack_require__(91); + var isCallable = __webpack_require__(20); + var aCallable = __webpack_require__(29); + var Map = __webpack_require__(132).Map; + + // `Map.keyBy` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', stat: true, forced: true }, { + keyBy: function keyBy(iterable, keyDerivative) { + var C = isCallable(this) ? this : Map; + var newMap = new C(); + aCallable(keyDerivative); + var setter = aCallable(newMap.set); + iterate(iterable, function (element) { + call(setter, newMap, keyDerivative(element), element); + }); + return newMap; + } + }); + + + /***/ }), /* 326 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayLastIndexOf = __webpack_require__(112); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.lastIndexOf` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.lastindexof - // eslint-disable-next-line no-unused-vars - ArrayBufferViewCore.exportProto('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) { - return arrayLastIndexOf.apply(aTypedArray(this), arguments); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(220); + + // `Map.prototype.keyOf` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + keyOf: function keyOf(searchElement) { + var result = iterate(aMap(this), function (value, key) { + if (value === searchElement) return { key: key }; + }, true); + return result && result.key; + } + }); + + + /***/ }), /* 327 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var speciesConstructor = __webpack_require__(136); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; - - var internalTypedArrayMap = __webpack_require__(77)(1, function (O, length) { - return new (aTypedArrayConstructor(speciesConstructor(O, O.constructor)))(length); - }); - - // `%TypedArray%.prototype.map` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.map - ArrayBufferViewCore.exportProto('map', function map(mapfn /* , thisArg */) { - return internalTypedArrayMap(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aMap = __webpack_require__(315); + var MapHelpers = __webpack_require__(132); + var iterate = __webpack_require__(220); + + var Map = MapHelpers.Map; + var set = MapHelpers.set; + + // `Map.prototype.mapKeys` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + mapKeys: function mapKeys(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newMap = new Map(); + iterate(map, function (value, key) { + set(newMap, boundFunction(value, key, map), value); + }); + return newMap; + } + }); + + + /***/ }), /* 328 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(303); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; - - // `%TypedArray%.of` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.of - ArrayBufferViewCore.exportStatic('of', function of(/* ...items */) { - var index = 0; - var length = arguments.length; - var result = new (aTypedArrayConstructor(this))(length); - while (length > index) result[index] = arguments[index++]; - return result; - }, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aMap = __webpack_require__(315); + var MapHelpers = __webpack_require__(132); + var iterate = __webpack_require__(220); + + var Map = MapHelpers.Map; + var set = MapHelpers.set; + + // `Map.prototype.mapValues` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + mapValues: function mapValues(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newMap = new Map(); + iterate(map, function (value, key) { + set(newMap, key, boundFunction(value, key, map)); + }); + return newMap; + } + }); + + + /***/ }), /* 329 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var arrayReduce = [].reduce; - - // `%TypedArray%.prototype.reduce` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.reduce - // eslint-disable-next-line no-unused-vars - ArrayBufferViewCore.exportProto('reduce', function reduce(callbackfn /* , initialValue */) { - return arrayReduce.apply(aTypedArray(this), arguments); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(91); + var set = __webpack_require__(132).set; + + // `Map.prototype.merge` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, arity: 1, forced: true }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + merge: function merge(iterable /* ...iterables */) { + var map = aMap(this); + var argumentsLength = arguments.length; + var i = 0; + while (i < argumentsLength) { + iterate(arguments[i++], function (key, value) { + set(map, key, value); + }, { AS_ENTRIES: true }); + } + return map; + } + }); + + + /***/ }), /* 330 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var arrayReduceRight = [].reduceRight; - - // `%TypedArray%.prototype.reduceRicht` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.reduceright - // eslint-disable-next-line no-unused-vars - ArrayBufferViewCore.exportProto('reduceRight', function reduceRight(callbackfn /* , initialValue */) { - return arrayReduceRight.apply(aTypedArray(this), arguments); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var MapHelpers = __webpack_require__(132); + var createCollectionOf = __webpack_require__(331); + + // `Map.of` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-map.of + $({ target: 'Map', stat: true, forced: true }, { + of: createCollectionOf(MapHelpers.Map, MapHelpers.set, true) + }); + + + /***/ }), /* 331 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.reverse` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.reverse - ArrayBufferViewCore.exportProto('reverse', function reverse() { - var that = this; - var length = aTypedArray(that).length; - var middle = Math.floor(length / 2); - var index = 0; - var value; - while (index < middle) { - value = that[index]; - that[index++] = that[--length]; - that[length] = value; - } return that; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var anObject = __webpack_require__(45); + + // https://tc39.github.io/proposal-setmap-offrom/ + module.exports = function (C, adder, ENTRY) { + return function of() { + var result = new C(); + var length = arguments.length; + for (var index = 0; index < length; index++) { + var entry = arguments[index]; + if (ENTRY) adder(result, anObject(entry)[0], entry[1]); + else adder(result, entry); + } return result; + }; + }; + + + /***/ }), /* 332 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toLength = __webpack_require__(36); - var toOffset = __webpack_require__(304); - var toObject = __webpack_require__(69); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - var FORCED = __webpack_require__(5)(function () { - // eslint-disable-next-line no-undef - new Int8Array(1).set({}); - }); - - // `%TypedArray%.prototype.set` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.set - ArrayBufferViewCore.exportProto('set', function set(arrayLike /* , offset */) { - aTypedArray(this); - var offset = toOffset(arguments[1], 1); - var length = this.length; - var src = toObject(arrayLike); - var len = toLength(src.length); - var index = 0; - if (len + offset > length) throw RangeError('Wrong length'); - while (index < len) this[offset + index] = src[index++]; - }, FORCED); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aCallable = __webpack_require__(29); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(220); + + var $TypeError = TypeError; + + // `Map.prototype.reduce` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + reduce: function reduce(callbackfn /* , initialValue */) { + var map = aMap(this); + var noInitial = arguments.length < 2; + var accumulator = noInitial ? undefined : arguments[1]; + aCallable(callbackfn); + iterate(map, function (value, key) { + if (noInitial) { + noInitial = false; + accumulator = value; + } else { + accumulator = callbackfn(accumulator, value, key, map); + } + }); + if (noInitial) throw new $TypeError('Reduce of empty map with no initial value'); + return accumulator; + } + }); + + + /***/ }), /* 333 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var speciesConstructor = __webpack_require__(136); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; - var arraySlice = [].slice; - - var FORCED = __webpack_require__(5)(function () { - // eslint-disable-next-line no-undef - new Int8Array(1).slice(); - }); - - // `%TypedArray%.prototype.slice` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.slice - ArrayBufferViewCore.exportProto('slice', function slice(start, end) { - var list = arraySlice.call(aTypedArray(this), start, end); - var C = speciesConstructor(this, this.constructor); - var index = 0; - var length = list.length; - var result = new (aTypedArrayConstructor(C))(length); - while (length > index) result[index] = list[index++]; - return result; - }, FORCED); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(220); + + // `Map.prototype.some` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + some: function some(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate(map, function (value, key) { + if (boundFunction(value, key, map)) return true; + }, true) === true; + } + }); + + + /***/ }), /* 334 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arraySome = __webpack_require__(77)(3); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.some` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.some - ArrayBufferViewCore.exportProto('some', function some(callbackfn /* , thisArg */) { - return arraySome(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aCallable = __webpack_require__(29); + var aMap = __webpack_require__(315); + var MapHelpers = __webpack_require__(132); + + var $TypeError = TypeError; + var get = MapHelpers.get; + var has = MapHelpers.has; + var set = MapHelpers.set; + + // `Map.prototype.update` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + update: function update(key, callback /* , thunk */) { + var map = aMap(this); + var length = arguments.length; + aCallable(callback); + var isPresentInMap = has(map, key); + if (!isPresentInMap && length < 3) { + throw new $TypeError('Updating absent value'); + } + var value = isPresentInMap ? get(map, key) : aCallable(length > 2 ? arguments[2] : undefined)(key, map); + set(map, key, callback(value, key, map)); + return map; + } + }); + + + /***/ }), /* 335 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var arraySort = [].sort; - - // `%TypedArray%.prototype.sort` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.sort - ArrayBufferViewCore.exportProto('sort', function sort(comparefn) { - return arraySort.call(aTypedArray(this), comparefn); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + + var min = Math.min; + var max = Math.max; + + // `Math.clamp` method + // https://rwaldron.github.io/proposal-math-extensions/ + $({ target: 'Math', stat: true, forced: true }, { + clamp: function clamp(x, lower, upper) { + return min(upper, max(lower, x)); + } + }); + + + /***/ }), /* 336 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toLength = __webpack_require__(36); - var toAbsoluteIndex = __webpack_require__(38); - var speciesConstructor = __webpack_require__(136); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.subarray` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.subarray - ArrayBufferViewCore.exportProto('subarray', function subarray(begin, end) { - var O = aTypedArray(this); - var length = O.length; - var beginIndex = toAbsoluteIndex(begin, length); - return new (speciesConstructor(O, O.constructor))( - O.buffer, - O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT, - toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex) - ); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + + // `Math.DEG_PER_RAD` constant + // https://rwaldron.github.io/proposal-math-extensions/ + $({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, { + DEG_PER_RAD: Math.PI / 180 + }); + + + /***/ }), /* 337 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var Int8Array = __webpack_require__(2).Int8Array; - var fails = __webpack_require__(5); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var arrayToLocaleString = [].toLocaleString; - var arraySlice = [].slice; - - // iOS Safari 6.x fails here - var TO_LOCALE_BUG = !!Int8Array && fails(function () { - arrayToLocaleString.call(new Int8Array(1)); - }); - var FORCED = fails(function () { - return [1, 2].toLocaleString() != new Int8Array([1, 2]).toLocaleString(); - }) || !fails(function () { - Int8Array.prototype.toLocaleString.call([1, 2]); - }); - - // `%TypedArray%.prototype.toLocaleString` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.tolocalestring - ArrayBufferViewCore.exportProto('toLocaleString', function toLocaleString() { - return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(aTypedArray(this)) : aTypedArray(this), arguments); - }, FORCED); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + + var RAD_PER_DEG = 180 / Math.PI; + + // `Math.degrees` method + // https://rwaldron.github.io/proposal-math-extensions/ + $({ target: 'Math', stat: true, forced: true }, { + degrees: function degrees(radians) { + return radians * RAD_PER_DEG; + } + }); + + + /***/ }), /* 338 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var Uint8Array = __webpack_require__(2).Uint8Array; - var Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype; - var ArrayBufferViewCore = __webpack_require__(130); - var arrayToString = [].toString; - var arrayJoin = [].join; - - if (__webpack_require__(5)(function () { arrayToString.call({}); })) { - arrayToString = function toString() { - return arrayJoin.call(this); - }; - } - - // `%TypedArray%.prototype.toString` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.tostring - ArrayBufferViewCore.exportProto('toString', arrayToString, (Uint8ArrayPrototype || {}).toString != arrayToString); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + + var scale = __webpack_require__(339); + var fround = __webpack_require__(340); + + // `Math.fscale` method + // https://rwaldron.github.io/proposal-math-extensions/ + $({ target: 'Math', stat: true, forced: true }, { + fscale: function fscale(x, inLow, inHigh, outLow, outHigh) { + return fround(scale(x, inLow, inHigh, outLow, outHigh)); + } + }); + + + /***/ }), /* 339 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var global = __webpack_require__(2); - var redefineAll = __webpack_require__(131); - var InternalMetadataModule = __webpack_require__(152); - var weak = __webpack_require__(340); - var isObject = __webpack_require__(16); - var enforceIternalState = __webpack_require__(26).enforce; - var NATIVE_WEAK_MAP = __webpack_require__(27); - var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; - var isExtensible = Object.isExtensible; - var InternalWeakMap; - - var wrapper = function (get) { - return function WeakMap() { - return get(this, arguments.length > 0 ? arguments[0] : undefined); - }; - }; - - // `WeakMap` constructor - // https://tc39.github.io/ecma262/#sec-weakmap-constructor - var $WeakMap = module.exports = __webpack_require__(151)('WeakMap', wrapper, weak, true, true); - - // IE11 WeakMap frozen keys fix - // We can't use feature detection because it crash some old IE builds - // https://github.com/zloirock/core-js/issues/485 - if (NATIVE_WEAK_MAP && IS_IE11) { - InternalWeakMap = weak.getConstructor(wrapper, 'WeakMap', true); - InternalMetadataModule.REQUIRED = true; - var WeakMapPrototype = $WeakMap.prototype; - var nativeDelete = WeakMapPrototype['delete']; - var nativeHas = WeakMapPrototype.has; - var nativeGet = WeakMapPrototype.get; - var nativeSet = WeakMapPrototype.set; - redefineAll(WeakMapPrototype, { - 'delete': function (key) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - return nativeDelete.call(this, key) || state.frozen['delete'](key); - } return nativeDelete.call(this, key); - }, - has: function has(key) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - return nativeHas.call(this, key) || state.frozen.has(key); - } return nativeHas.call(this, key); - }, - get: function get(key) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - return nativeHas.call(this, key) ? nativeGet.call(this, key) : state.frozen.get(key); - } return nativeGet.call(this, key); - }, - set: function set(key, value) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - nativeHas.call(this, key) ? nativeSet.call(this, key, value) : state.frozen.set(key, value); - } else nativeSet.call(this, key, value); - return this; - } - }); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // `Math.scale` method implementation + // https://rwaldron.github.io/proposal-math-extensions/ + module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) { + var nx = +x; + var nInLow = +inLow; + var nInHigh = +inHigh; + var nOutLow = +outLow; + var nOutHigh = +outHigh; + // eslint-disable-next-line no-self-compare -- NaN check + if (nx !== nx || nInLow !== nInLow || nInHigh !== nInHigh || nOutLow !== nOutLow || nOutHigh !== nOutHigh) return NaN; + if (nx === Infinity || nx === -Infinity) return nx; + return (nx - nInLow) * (nOutHigh - nOutLow) / (nInHigh - nInLow) + nOutLow; + }; + + + /***/ }), /* 340 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var redefineAll = __webpack_require__(131); - var getWeakData = __webpack_require__(152).getWeakData; - var anObject = __webpack_require__(21); - var isObject = __webpack_require__(16); - var anInstance = __webpack_require__(132); - var iterate = __webpack_require__(154); - var createArrayMethod = __webpack_require__(77); - var $has = __webpack_require__(3); - var InternalStateModule = __webpack_require__(26); - var setInternalState = InternalStateModule.set; - var internalStateGetterFor = InternalStateModule.getterFor; - var arrayFind = createArrayMethod(5); - var arrayFindIndex = createArrayMethod(6); - var id = 0; - - // fallback for uncaught frozen keys - var uncaughtFrozenStore = function (store) { - return store.frozen || (store.frozen = new UncaughtFrozenStore()); - }; - - var UncaughtFrozenStore = function () { - this.entries = []; - }; - - var findUncaughtFrozen = function (store, key) { - return arrayFind(store.entries, function (it) { - return it[0] === key; - }); - }; - - UncaughtFrozenStore.prototype = { - get: function (key) { - var entry = findUncaughtFrozen(this, key); - if (entry) return entry[1]; - }, - has: function (key) { - return !!findUncaughtFrozen(this, key); - }, - set: function (key, value) { - var entry = findUncaughtFrozen(this, key); - if (entry) entry[1] = value; - else this.entries.push([key, value]); - }, - 'delete': function (key) { - var index = arrayFindIndex(this.entries, function (it) { - return it[0] === key; - }); - if (~index) this.entries.splice(index, 1); - return !!~index; - } - }; - - module.exports = { - getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance(that, C, CONSTRUCTOR_NAME); - setInternalState(that, { - type: CONSTRUCTOR_NAME, - id: id++, - frozen: undefined - }); - if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP); - }); - - var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); - - var define = function (that, key, value) { - var state = getInternalState(that); - var data = getWeakData(anObject(key), true); - if (data === true) uncaughtFrozenStore(state).set(key, value); - else data[state.id] = value; - return that; - }; - - redefineAll(C.prototype, { - // 23.3.3.2 WeakMap.prototype.delete(key) - // 23.4.3.3 WeakSet.prototype.delete(value) - 'delete': function (key) { - var state = getInternalState(this); - if (!isObject(key)) return false; - var data = getWeakData(key); - if (data === true) return uncaughtFrozenStore(state)['delete'](key); - return data && $has(data, state.id) && delete data[state.id]; - }, - // 23.3.3.4 WeakMap.prototype.has(key) - // 23.4.3.4 WeakSet.prototype.has(value) - has: function has(key) { - var state = getInternalState(this); - if (!isObject(key)) return false; - var data = getWeakData(key); - if (data === true) return uncaughtFrozenStore(state).has(key); - return data && $has(data, state.id); - } - }); - - redefineAll(C.prototype, IS_MAP ? { - // 23.3.3.3 WeakMap.prototype.get(key) - get: function get(key) { - var state = getInternalState(this); - if (isObject(key)) { - var data = getWeakData(key); - if (data === true) return uncaughtFrozenStore(state).get(key); - return data ? data[state.id] : undefined; - } - }, - // 23.3.3.5 WeakMap.prototype.set(key, value) - set: function set(key, value) { - return define(this, key, value); - } - } : { - // 23.4.3.1 WeakSet.prototype.add(value) - add: function add(value) { - return define(this, value, true); - } - }); - - return C; - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var floatRound = __webpack_require__(272); + + var FLOAT32_EPSILON = 1.1920928955078125e-7; // 2 ** -23; + var FLOAT32_MAX_VALUE = 3.4028234663852886e+38; // 2 ** 128 - 2 ** 104 + var FLOAT32_MIN_VALUE = 1.1754943508222875e-38; // 2 ** -126; + + // `Math.fround` method implementation + // https://tc39.es/ecma262/#sec-math.fround + // eslint-disable-next-line es/no-math-fround -- safe + module.exports = Math.fround || function fround(x) { + return floatRound(x, FLOAT32_EPSILON, FLOAT32_MAX_VALUE, FLOAT32_MIN_VALUE); + }; + + + /***/ }), /* 341 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // `WeakSet` constructor - // https://tc39.github.io/ecma262/#sec-weakset-constructor - __webpack_require__(151)('WeakSet', function (get) { - return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; - }, __webpack_require__(340), false, true); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var f16round = __webpack_require__(271); + + // `Math.f16round` method + // https://github.com/tc39/proposal-float16array + $({ target: 'Math', stat: true }, { f16round: f16round }); + + + /***/ }), /* 342 */ - /***/ (function (module, exports, __webpack_require__) { - - var getPrototypeOf = __webpack_require__(106); - var setPrototypeOf = __webpack_require__(108); - var create = __webpack_require__(51); - var iterate = __webpack_require__(154); - var hide = __webpack_require__(19); - - var $AggregateError = function AggregateError(errors, message) { - var that = this; - if (!(that instanceof $AggregateError)) return new $AggregateError(errors, message); - if (setPrototypeOf) { - that = setPrototypeOf(new Error(message), getPrototypeOf(that)); - } - var errorsArray = []; - iterate(errors, errorsArray.push, errorsArray); - that.errors = errorsArray; - if (message !== undefined) hide(that, 'message', String(message)); - return that; - }; - - $AggregateError.prototype = create(Error.prototype, { - constructor: { value: $AggregateError, configurable: true, writable: true }, - name: { value: 'AggregateError', configurable: true, writable: true } - }); - - __webpack_require__(7)({ global: true }, { - AggregateError: $AggregateError - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + + // `Math.RAD_PER_DEG` constant + // https://rwaldron.github.io/proposal-math-extensions/ + $({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, { + RAD_PER_DEG: 180 / Math.PI + }); + + + /***/ }), /* 343 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var DESCRIPTORS = __webpack_require__(4); - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var defineProperty = __webpack_require__(20).f; - - // `Array.prototype.lastIndex` getter - // https://github.com/keithamus/proposal-array-last - if (DESCRIPTORS && !('lastIndex' in [])) { - defineProperty(Array.prototype, 'lastIndex', { - configurable: true, - get: function lastIndex() { - var O = toObject(this); - var len = toLength(O.length); - return len == 0 ? 0 : len - 1; - } - }); - - __webpack_require__(75)('lastIndex'); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + + var DEG_PER_RAD = Math.PI / 180; + + // `Math.radians` method + // https://rwaldron.github.io/proposal-math-extensions/ + $({ target: 'Math', stat: true, forced: true }, { + radians: function radians(degrees) { + return degrees * DEG_PER_RAD; + } + }); + + + /***/ }), /* 344 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var DESCRIPTORS = __webpack_require__(4); - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var defineProperty = __webpack_require__(20).f; - - // `Array.prototype.lastIndex` accessor - // https://github.com/keithamus/proposal-array-last - if (DESCRIPTORS && !('lastItem' in [])) { - defineProperty(Array.prototype, 'lastItem', { - configurable: true, - get: function lastItem() { - var O = toObject(this); - var len = toLength(O.length); - return len == 0 ? undefined : O[len - 1]; - }, - set: function lastItem(value) { - var O = toObject(this); - var len = toLength(O.length); - return O[len == 0 ? 0 : len - 1] = value; - } - }); - - __webpack_require__(75)('lastItem'); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var scale = __webpack_require__(339); + + // `Math.scale` method + // https://rwaldron.github.io/proposal-math-extensions/ + $({ target: 'Math', stat: true, forced: true }, { + scale: scale + }); + + + /***/ }), /* 345 */ - /***/ (function (module, exports, __webpack_require__) { - - var getCompositeKeyNode = __webpack_require__(346); - var getBuiltIn = __webpack_require__(124); - var create = __webpack_require__(51); - - var initializer = function () { - var freeze = getBuiltIn('Object', 'freeze'); - return freeze ? freeze(create(null)) : create(null); - }; - - // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey - __webpack_require__(7)({ global: true }, { - compositeKey: function compositeKey() { - return getCompositeKeyNode.apply(Object, arguments).get('object', initializer); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + + // `Math.signbit` method + // https://github.com/tc39/proposal-Math.signbit + $({ target: 'Math', stat: true, forced: true }, { + signbit: function signbit(x) { + var n = +x; + // eslint-disable-next-line no-self-compare -- NaN check + return n === n && n === 0 ? 1 / n === -Infinity : n < 0; + } + }); + + + /***/ }), /* 346 */ - /***/ (function (module, exports, __webpack_require__) { - - var Map = __webpack_require__(150); - var WeakMap = __webpack_require__(339); - var create = __webpack_require__(51); - var isObject = __webpack_require__(16); - - var Node = function () { - // keys - this.object = null; - this.symbol = null; - // child nodes - this.primitives = null; - this.objectsByIndex = create(null); - }; - - Node.prototype.get = function (key, initializer) { - return this[key] || (this[key] = initializer()); - }; - - Node.prototype.next = function (i, it, IS_OBJECT) { - var store = IS_OBJECT - ? this.objectsByIndex[i] || (this.objectsByIndex[i] = new WeakMap()) - : this.primitives || (this.primitives = new Map()); - var entry = store.get(it); - if (!entry) store.set(it, entry = new Node()); - return entry; - }; - - var root = new Node(); - - module.exports = function () { - var active = root; - var length = arguments.length; - var i, it; - // for prevent leaking, start from objects - for (i = 0; i < length; i++) { - if (isObject(it = arguments[i])) active = active.next(i, it, true); - } - if (this === Object && active === root) throw TypeError('Composite keys must contain a non-primitive component'); - for (i = 0; i < length; i++) { - if (!isObject(it = arguments[i])) active = active.next(i, it, false); - } return active; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var toIntegerOrInfinity = __webpack_require__(60); + + var INVALID_NUMBER_REPRESENTATION = 'Invalid number representation'; + var INVALID_RADIX = 'Invalid radix'; + var $RangeError = RangeError; + var $SyntaxError = SyntaxError; + var $TypeError = TypeError; + var $parseInt = parseInt; + var pow = Math.pow; + var valid = /^[\d.a-z]+$/; + var charAt = uncurryThis(''.charAt); + var exec = uncurryThis(valid.exec); + var numberToString = uncurryThis(1.0.toString); + var stringSlice = uncurryThis(''.slice); + var split = uncurryThis(''.split); + + // `Number.fromString` method + // https://github.com/tc39/proposal-number-fromstring + $({ target: 'Number', stat: true, forced: true }, { + fromString: function fromString(string, radix) { + var sign = 1; + if (typeof string != 'string') throw new $TypeError(INVALID_NUMBER_REPRESENTATION); + if (!string.length) throw new $SyntaxError(INVALID_NUMBER_REPRESENTATION); + if (charAt(string, 0) === '-') { + sign = -1; + string = stringSlice(string, 1); + if (!string.length) throw new $SyntaxError(INVALID_NUMBER_REPRESENTATION); + } + var R = radix === undefined ? 10 : toIntegerOrInfinity(radix); + if (R < 2 || R > 36) throw new $RangeError(INVALID_RADIX); + if (!exec(valid, string)) throw new $SyntaxError(INVALID_NUMBER_REPRESENTATION); + var parts = split(string, '.'); + var mathNum = $parseInt(parts[0], R); + if (parts.length > 1) mathNum += $parseInt(parts[1], R) / pow(R, parts[1].length); + if (R === 10 && numberToString(mathNum, R) !== string) throw new $SyntaxError(INVALID_NUMBER_REPRESENTATION); + return sign * mathNum; + } + }); + + + /***/ }), /* 347 */ - /***/ (function (module, exports, __webpack_require__) { - - var getCompositeKeyNode = __webpack_require__(346); - var getBuiltIn = __webpack_require__(124); - - // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey - __webpack_require__(7)({ global: true }, { - compositeSymbol: function compositeSymbol() { - if (arguments.length === 1 && typeof arguments[0] === 'string') return getBuiltIn('Symbol')['for'](arguments[0]); - return getCompositeKeyNode.apply(null, arguments).get('symbol', getBuiltIn('Symbol')); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var NumericRangeIterator = __webpack_require__(247); + + // `Number.range` method + // https://github.com/tc39/proposal-Number.range + // TODO: Remove from `core-js@4` + $({ target: 'Number', stat: true, forced: true }, { + range: function range(start, end, option) { + return new NumericRangeIterator(start, end, option, 'number', 0, 1); + } + }); + + + /***/ }), /* 348 */ - /***/ (function (module, exports, __webpack_require__) { - - // `globalThis` object - // https://github.com/tc39/proposal-global - __webpack_require__(7)({ global: true }, { globalThis: __webpack_require__(2) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove this module from `core-js@4` since it's split to modules listed below + __webpack_require__(349); + __webpack_require__(350); + __webpack_require__(351); + + + /***/ }), /* 349 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var collectionDeleteAll = __webpack_require__(350); - - // `Map.prototype.deleteAll` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ - target: 'Map', proto: true, real: true, forced: __webpack_require__(6) - }, { - deleteAll: function deleteAll(/* ...elements */) { - return collectionDeleteAll.apply(this, arguments); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://github.com/tc39/proposal-observable + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var DESCRIPTORS = __webpack_require__(5); + var setSpecies = __webpack_require__(139); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var anInstance = __webpack_require__(140); + var isCallable = __webpack_require__(20); + var isNullOrUndefined = __webpack_require__(16); + var isObject = __webpack_require__(19); + var getMethod = __webpack_require__(28); + var defineBuiltIn = __webpack_require__(46); + var defineBuiltIns = __webpack_require__(198); + var defineBuiltInAccessor = __webpack_require__(118); + var hostReportErrors = __webpack_require__(153); + var wellKnownSymbol = __webpack_require__(32); + var InternalStateModule = __webpack_require__(50); + + var $$OBSERVABLE = wellKnownSymbol('observable'); + var OBSERVABLE = 'Observable'; + var SUBSCRIPTION = 'Subscription'; + var SUBSCRIPTION_OBSERVER = 'SubscriptionObserver'; + var getterFor = InternalStateModule.getterFor; + var setInternalState = InternalStateModule.set; + var getObservableInternalState = getterFor(OBSERVABLE); + var getSubscriptionInternalState = getterFor(SUBSCRIPTION); + var getSubscriptionObserverInternalState = getterFor(SUBSCRIPTION_OBSERVER); + + var SubscriptionState = function (observer) { + this.observer = anObject(observer); + this.cleanup = undefined; + this.subscriptionObserver = undefined; + }; + + SubscriptionState.prototype = { + type: SUBSCRIPTION, + clean: function () { + var cleanup = this.cleanup; + if (cleanup) { + this.cleanup = undefined; + try { + cleanup(); + } catch (error) { + hostReportErrors(error); + } + } + }, + close: function () { + if (!DESCRIPTORS) { + var subscription = this.facade; + var subscriptionObserver = this.subscriptionObserver; + subscription.closed = true; + if (subscriptionObserver) subscriptionObserver.closed = true; + } this.observer = undefined; + }, + isClosed: function () { + return this.observer === undefined; + } + }; + + var Subscription = function (observer, subscriber) { + var subscriptionState = setInternalState(this, new SubscriptionState(observer)); + var start; + if (!DESCRIPTORS) this.closed = false; + try { + if (start = getMethod(observer, 'start')) call(start, observer, this); + } catch (error) { + hostReportErrors(error); + } + if (subscriptionState.isClosed()) return; + var subscriptionObserver = subscriptionState.subscriptionObserver = new SubscriptionObserver(subscriptionState); + try { + var cleanup = subscriber(subscriptionObserver); + var subscription = cleanup; + if (!isNullOrUndefined(cleanup)) subscriptionState.cleanup = isCallable(cleanup.unsubscribe) + ? function () { subscription.unsubscribe(); } + : aCallable(cleanup); + } catch (error) { + subscriptionObserver.error(error); + return; + } if (subscriptionState.isClosed()) subscriptionState.clean(); + }; + + Subscription.prototype = defineBuiltIns({}, { + unsubscribe: function unsubscribe() { + var subscriptionState = getSubscriptionInternalState(this); + if (!subscriptionState.isClosed()) { + subscriptionState.close(); + subscriptionState.clean(); + } + } + }); + + if (DESCRIPTORS) defineBuiltInAccessor(Subscription.prototype, 'closed', { + configurable: true, + get: function closed() { + return getSubscriptionInternalState(this).isClosed(); + } + }); + + var SubscriptionObserver = function (subscriptionState) { + setInternalState(this, { + type: SUBSCRIPTION_OBSERVER, + subscriptionState: subscriptionState + }); + if (!DESCRIPTORS) this.closed = false; + }; + + SubscriptionObserver.prototype = defineBuiltIns({}, { + next: function next(value) { + var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState; + if (!subscriptionState.isClosed()) { + var observer = subscriptionState.observer; + try { + var nextMethod = getMethod(observer, 'next'); + if (nextMethod) call(nextMethod, observer, value); + } catch (error) { + hostReportErrors(error); + } + } + }, + error: function error(value) { + var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState; + if (!subscriptionState.isClosed()) { + var observer = subscriptionState.observer; + subscriptionState.close(); + try { + var errorMethod = getMethod(observer, 'error'); + if (errorMethod) call(errorMethod, observer, value); + else hostReportErrors(value); + } catch (err) { + hostReportErrors(err); + } subscriptionState.clean(); + } + }, + complete: function complete() { + var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState; + if (!subscriptionState.isClosed()) { + var observer = subscriptionState.observer; + subscriptionState.close(); + try { + var completeMethod = getMethod(observer, 'complete'); + if (completeMethod) call(completeMethod, observer); + } catch (error) { + hostReportErrors(error); + } subscriptionState.clean(); + } + } + }); + + if (DESCRIPTORS) defineBuiltInAccessor(SubscriptionObserver.prototype, 'closed', { + configurable: true, + get: function closed() { + return getSubscriptionObserverInternalState(this).subscriptionState.isClosed(); + } + }); + + var $Observable = function Observable(subscriber) { + anInstance(this, ObservablePrototype); + setInternalState(this, { + type: OBSERVABLE, + subscriber: aCallable(subscriber) + }); + }; + + var ObservablePrototype = $Observable.prototype; + + defineBuiltIns(ObservablePrototype, { + subscribe: function subscribe(observer) { + var length = arguments.length; + return new Subscription(isCallable(observer) ? { + next: observer, + error: length > 1 ? arguments[1] : undefined, + complete: length > 2 ? arguments[2] : undefined + } : isObject(observer) ? observer : {}, getObservableInternalState(this).subscriber); + } + }); + + defineBuiltIn(ObservablePrototype, $$OBSERVABLE, function () { return this; }); + + $({ global: true, constructor: true, forced: true }, { + Observable: $Observable + }); + + setSpecies(OBSERVABLE); + + + /***/ }), /* 350 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - - // https://github.com/tc39/collection-methods - module.exports = function (/* ...elements */) { - var collection = anObject(this); - var remover = aFunction(collection['delete']); - var allDeleted = true; - for (var k = 0, len = arguments.length; k < len; k++) { - allDeleted = allDeleted && remover.call(collection, arguments[k]); - } - return !!allDeleted; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var getBuiltIn = __webpack_require__(22); + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var isConstructor = __webpack_require__(143); + var getIterator = __webpack_require__(96); + var getMethod = __webpack_require__(28); + var iterate = __webpack_require__(91); + var wellKnownSymbol = __webpack_require__(32); + + var $$OBSERVABLE = wellKnownSymbol('observable'); + + // `Observable.from` method + // https://github.com/tc39/proposal-observable + $({ target: 'Observable', stat: true, forced: true }, { + from: function from(x) { + var C = isConstructor(this) ? this : getBuiltIn('Observable'); + var observableMethod = getMethod(anObject(x), $$OBSERVABLE); + if (observableMethod) { + var observable = anObject(call(observableMethod, x)); + return observable.constructor === C ? observable : new C(function (observer) { + return observable.subscribe(observer); + }); + } + var iterator = getIterator(x); + return new C(function (observer) { + iterate(iterator, function (it, stop) { + observer.next(it); + if (observer.closed) return stop(); + }, { IS_ITERATOR: true, INTERRUPTED: true }); + observer.complete(); + }); + } + }); + + + /***/ }), /* 351 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var bind = __webpack_require__(78); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.every` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - every: function every(callbackfn /* , thisArg */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var step, entry; - while (!(step = iterator.next()).done) { - entry = step.value; - if (!boundFunction(entry[1], entry[0], map)) return false; - } return true; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var getBuiltIn = __webpack_require__(22); + var isConstructor = __webpack_require__(143); + + var Array = getBuiltIn('Array'); + + // `Observable.of` method + // https://github.com/tc39/proposal-observable + $({ target: 'Observable', stat: true, forced: true }, { + of: function of() { + var C = isConstructor(this) ? this : getBuiltIn('Observable'); + var length = arguments.length; + var items = Array(length); + var index = 0; + while (index < length) items[index] = arguments[index++]; + return new C(function (observer) { + for (var i = 0; i < length; i++) { + observer.next(items[i]); + if (observer.closed) return; + } observer.complete(); + }); + } + }); + + + /***/ }), /* 352 */ - /***/ (function (module, exports, __webpack_require__) { - - var IS_PURE = __webpack_require__(6); - var getIterator = __webpack_require__(353); - - module.exports = IS_PURE ? getIterator : function (it) { - // eslint-disable-next-line no-undef - return Map.prototype.entries.call(it); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var newPromiseCapabilityModule = __webpack_require__(157); + var perform = __webpack_require__(154); + + // `Promise.try` method + // https://github.com/tc39/proposal-promise-try + $({ target: 'Promise', stat: true, forced: true }, { + 'try': function (callbackfn) { + var promiseCapability = newPromiseCapabilityModule.f(this); + var result = perform(callbackfn); + (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value); + return promiseCapability.promise; + } + }); + + + /***/ }), /* 353 */ - /***/ (function (module, exports, __webpack_require__) { - - var anObject = __webpack_require__(21); - var getIteratorMethod = __webpack_require__(97); - - module.exports = function (it) { - var iteratorMethod = getIteratorMethod(it); - if (typeof iteratorMethod != 'function') { - throw TypeError(String(it) + ' is not iterable'); - } return anObject(iteratorMethod.call(it)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + + var toMetadataKey = ReflectMetadataModule.toKey; + var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; + + // `Reflect.defineMetadata` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + defineMetadata: function defineMetadata(metadataKey, metadataValue, target /* , targetKey */) { + var targetKey = arguments.length < 4 ? undefined : toMetadataKey(arguments[3]); + ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), targetKey); + } + }); + + + /***/ }), /* 354 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var bind = __webpack_require__(78); - var speciesConstructor = __webpack_require__(136); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.filter` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - filter: function filter(callbackfn /* , thisArg */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var newMap = new (speciesConstructor(map, getBuiltIn('Map')))(); - var setter = aFunction(newMap.set); - var step, entry, key, value; - while (!(step = iterator.next()).done) { - entry = step.value; - if (boundFunction(value = entry[1], key = entry[0], map)) setter.call(newMap, key, value); - } - return newMap; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` + __webpack_require__(252); + __webpack_require__(262); + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + var shared = __webpack_require__(33); + + var Map = getBuiltIn('Map'); + var WeakMap = getBuiltIn('WeakMap'); + var push = uncurryThis([].push); + + var metadata = shared('metadata'); + var store = metadata.store || (metadata.store = new WeakMap()); + + var getOrCreateMetadataMap = function (target, targetKey, create) { + var targetMetadata = store.get(target); + if (!targetMetadata) { + if (!create) return; + store.set(target, targetMetadata = new Map()); + } + var keyMetadata = targetMetadata.get(targetKey); + if (!keyMetadata) { + if (!create) return; + targetMetadata.set(targetKey, keyMetadata = new Map()); + } return keyMetadata; + }; + + var ordinaryHasOwnMetadata = function (MetadataKey, O, P) { + var metadataMap = getOrCreateMetadataMap(O, P, false); + return metadataMap === undefined ? false : metadataMap.has(MetadataKey); + }; + + var ordinaryGetOwnMetadata = function (MetadataKey, O, P) { + var metadataMap = getOrCreateMetadataMap(O, P, false); + return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey); + }; + + var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) { + getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue); + }; + + var ordinaryOwnMetadataKeys = function (target, targetKey) { + var metadataMap = getOrCreateMetadataMap(target, targetKey, false); + var keys = []; + if (metadataMap) metadataMap.forEach(function (_, key) { push(keys, key); }); + return keys; + }; + + var toMetadataKey = function (it) { + return it === undefined || typeof it == 'symbol' ? it : String(it); + }; + + module.exports = { + store: store, + getMap: getOrCreateMetadataMap, + has: ordinaryHasOwnMetadata, + get: ordinaryGetOwnMetadata, + set: ordinaryDefineOwnMetadata, + keys: ordinaryOwnMetadataKeys, + toKey: toMetadataKey + }; + + + /***/ }), /* 355 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var bind = __webpack_require__(78); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.find` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - find: function find(callbackfn /* , thisArg */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var step, entry, value; - while (!(step = iterator.next()).done) { - entry = step.value; - if (boundFunction(value = entry[1], entry[0], map)) return value; - } - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + + var toMetadataKey = ReflectMetadataModule.toKey; + var getOrCreateMetadataMap = ReflectMetadataModule.getMap; + var store = ReflectMetadataModule.store; + + // `Reflect.deleteMetadata` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); + var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); + if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; + if (metadataMap.size) return true; + var targetMetadata = store.get(target); + targetMetadata['delete'](targetKey); + return !!targetMetadata.size || store['delete'](target); + } + }); + + + /***/ }), /* 356 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var bind = __webpack_require__(78); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.findKey` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - findKey: function findKey(callbackfn /* , thisArg */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var step, entry, key; - while (!(step = iterator.next()).done) { - entry = step.value; - if (boundFunction(entry[1], key = entry[0], map)) return key; - } - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + var getPrototypeOf = __webpack_require__(85); + + var ordinaryHasOwnMetadata = ReflectMetadataModule.has; + var ordinaryGetOwnMetadata = ReflectMetadataModule.get; + var toMetadataKey = ReflectMetadataModule.toKey; + + var ordinaryGetMetadata = function (MetadataKey, O, P) { + var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); + if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P); + var parent = getPrototypeOf(O); + return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined; + }; + + // `Reflect.getMetadata` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + getMetadata: function getMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); + return ordinaryGetMetadata(metadataKey, anObject(target), targetKey); + } + }); + + + /***/ }), /* 357 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Map.from` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-map.from - __webpack_require__(7)({ target: 'Map', stat: true }, { - from: __webpack_require__(358) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + var getPrototypeOf = __webpack_require__(85); + var $arrayUniqueBy = __webpack_require__(219); + + var arrayUniqueBy = uncurryThis($arrayUniqueBy); + var concat = uncurryThis([].concat); + var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys; + var toMetadataKey = ReflectMetadataModule.toKey; + + var ordinaryMetadataKeys = function (O, P) { + var oKeys = ordinaryOwnMetadataKeys(O, P); + var parent = getPrototypeOf(O); + if (parent === null) return oKeys; + var pKeys = ordinaryMetadataKeys(parent, P); + return pKeys.length ? oKeys.length ? arrayUniqueBy(concat(oKeys, pKeys)) : pKeys : oKeys; + }; + + // `Reflect.getMetadataKeys` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + getMetadataKeys: function getMetadataKeys(target /* , targetKey */) { + var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]); + return ordinaryMetadataKeys(anObject(target), targetKey); + } + }); + + + /***/ }), /* 358 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // https://tc39.github.io/proposal-setmap-offrom/ - var aFunction = __webpack_require__(79); - var bind = __webpack_require__(78); - var iterate = __webpack_require__(154); - - module.exports = function from(source /* , mapFn, thisArg */) { - var mapFn = arguments[1]; - var mapping, A, n, boundFunction; - aFunction(this); - mapping = mapFn !== undefined; - if (mapping) aFunction(mapFn); - if (source == undefined) return new this(); - A = []; - if (mapping) { - n = 0; - boundFunction = bind(mapFn, arguments[2], 2); - iterate(source, function (nextItem) { - A.push(boundFunction(nextItem, n++)); - }); - } else { - iterate(source, A.push, A); - } - return new this(A); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + + var ordinaryGetOwnMetadata = ReflectMetadataModule.get; + var toMetadataKey = ReflectMetadataModule.toKey; + + // `Reflect.getOwnMetadata` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); + return ordinaryGetOwnMetadata(metadataKey, anObject(target), targetKey); + } + }); + + + /***/ }), /* 359 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var iterate = __webpack_require__(154); - var aFunction = __webpack_require__(79); - - // `Map.groupBy` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', stat: true, forced: __webpack_require__(6) }, { - groupBy: function groupBy(iterable, keyDerivative) { - var newMap = new this(); - aFunction(keyDerivative); - var has = aFunction(newMap.has); - var get = aFunction(newMap.get); - var set = aFunction(newMap.set); - iterate(iterable, function (element) { - var derivedKey = keyDerivative(element); - if (!has.call(newMap, derivedKey)) set.call(newMap, derivedKey, [element]); - else get.call(newMap, derivedKey).push(element); - }); - return newMap; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + + var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys; + var toMetadataKey = ReflectMetadataModule.toKey; + + // `Reflect.getOwnMetadataKeys` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) { + var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]); + return ordinaryOwnMetadataKeys(anObject(target), targetKey); + } + }); + + + /***/ }), /* 360 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var getMapIterator = __webpack_require__(352); - var sameValueZero = __webpack_require__(361); - - // `Map.prototype.includes` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - includes: function includes(searchElement) { - var map = anObject(this); - var iterator = getMapIterator(map); - var step; - while (!(step = iterator.next()).done) { - if (sameValueZero(step.value[1], searchElement)) return true; - } - return false; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + var getPrototypeOf = __webpack_require__(85); + + var ordinaryHasOwnMetadata = ReflectMetadataModule.has; + var toMetadataKey = ReflectMetadataModule.toKey; + + var ordinaryHasMetadata = function (MetadataKey, O, P) { + var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); + if (hasOwn) return true; + var parent = getPrototypeOf(O); + return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false; + }; + + // `Reflect.hasMetadata` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); + return ordinaryHasMetadata(metadataKey, anObject(target), targetKey); + } + }); + + + /***/ }), /* 361 */ - /***/ (function (module, exports) { - - // `SameValueZero` abstract operation - // https://tc39.github.io/ecma262/#sec-samevaluezero - module.exports = function (x, y) { - // eslint-disable-next-line no-self-compare - return x === y || x != x && y != y; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + + var ordinaryHasOwnMetadata = ReflectMetadataModule.has; + var toMetadataKey = ReflectMetadataModule.toKey; + + // `Reflect.hasOwnMetadata` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); + return ordinaryHasOwnMetadata(metadataKey, anObject(target), targetKey); + } + }); + + + /***/ }), /* 362 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var iterate = __webpack_require__(154); - var aFunction = __webpack_require__(79); - - // `Map.keyBy` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', stat: true, forced: __webpack_require__(6) }, { - keyBy: function keyBy(iterable, keyDerivative) { - var newMap = new this(); - aFunction(keyDerivative); - var setter = aFunction(newMap.set); - iterate(iterable, function (element) { - setter.call(newMap, keyDerivative(element), element); - }); - return newMap; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + + var toMetadataKey = ReflectMetadataModule.toKey; + var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; + + // `Reflect.metadata` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + metadata: function metadata(metadataKey, metadataValue) { + return function decorator(target, key) { + ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetadataKey(key)); + }; + } + }); + + + /***/ }), /* 363 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.includes` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - keyOf: function keyOf(searchElement) { - var map = anObject(this); - var iterator = getMapIterator(map); - var step, entry; - while (!(step = iterator.next()).done) { - entry = step.value; - if (entry[1] === searchElement) return entry[0]; - } - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var toString = __webpack_require__(76); + var WHITESPACES = __webpack_require__(364); + + var charCodeAt = uncurryThis(''.charCodeAt); + var replace = uncurryThis(''.replace); + var NEED_ESCAPING = RegExp('[!"#$%&\'()*+,\\-./:;<=>?@[\\\\\\]^`{|}~' + WHITESPACES + ']', 'g'); + + // `RegExp.escape` method + // https://github.com/tc39/proposal-regex-escaping + $({ target: 'RegExp', stat: true, forced: true }, { + escape: function escape(S) { + var str = toString(S); + var firstCode = charCodeAt(str, 0); + // escape first DecimalDigit + return (firstCode > 47 && firstCode < 58 ? '\\x3' : '') + replace(str, NEED_ESCAPING, '\\$&'); + } + }); + + + /***/ }), /* 364 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var bind = __webpack_require__(78); - var speciesConstructor = __webpack_require__(136); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.mapKeys` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - mapKeys: function mapKeys(callbackfn /* , thisArg */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var newMap = new (speciesConstructor(map, getBuiltIn('Map')))(); - var setter = aFunction(newMap.set); - var step, entry, value; - while (!(step = iterator.next()).done) { - entry = step.value; - setter.call(newMap, boundFunction(value = entry[1], entry[0], map), value); - } - return newMap; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // a string of all valid unicode whitespaces + module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + + '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; + + + /***/ }), /* 365 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var bind = __webpack_require__(78); - var speciesConstructor = __webpack_require__(136); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.mapValues` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - mapValues: function mapValues(callbackfn /* , thisArg */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var newMap = new (speciesConstructor(map, getBuiltIn('Map')))(); - var setter = aFunction(newMap.set); - var step, entry, key; - while (!(step = iterator.next()).done) { - entry = step.value; - setter.call(newMap, key = entry[0], boundFunction(entry[1], key, map)); - } - return newMap; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aSet = __webpack_require__(366); + var add = __webpack_require__(367).add; + + // `Set.prototype.addAll` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + addAll: function addAll(/* ...elements */) { + var set = aSet(this); + for (var k = 0, len = arguments.length; k < len; k++) { + add(set, arguments[k]); + } return set; + } + }); + + + /***/ }), /* 366 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var iterate = __webpack_require__(154); - - // `Map.prototype.merge` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - // eslint-disable-next-line no-unused-vars - merge: function merge(iterable /* ...iterbles */) { - var map = anObject(this); - var setter = aFunction(map.set); - var i = 0; - while (i < arguments.length) { - iterate(arguments[i++], setter, map, true); - } - return map; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var has = __webpack_require__(367).has; + + // Perform ? RequireInternalSlot(M, [[SetData]]) + module.exports = function (it) { + has(it); + return it; + }; + + + /***/ }), /* 367 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Map.of` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-map.of - __webpack_require__(7)({ target: 'Map', stat: true }, { - of: __webpack_require__(368) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + // eslint-disable-next-line es/no-set -- safe + var SetPrototype = Set.prototype; + + module.exports = { + // eslint-disable-next-line es/no-set -- safe + Set: Set, + add: uncurryThis(SetPrototype.add), + has: uncurryThis(SetPrototype.has), + remove: uncurryThis(SetPrototype['delete']), + proto: SetPrototype + }; + + + /***/ }), /* 368 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // https://tc39.github.io/proposal-setmap-offrom/ - module.exports = function of() { - var length = arguments.length; - var A = new Array(length); - while (length--) A[length] = arguments[length]; - return new this(A); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aSet = __webpack_require__(366); + var remove = __webpack_require__(367).remove; + + // `Set.prototype.deleteAll` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + deleteAll: function deleteAll(/* ...elements */) { + var collection = aSet(this); + var allDeleted = true; + var wasDeleted; + for (var k = 0, len = arguments.length; k < len; k++) { + wasDeleted = remove(collection, arguments[k]); + allDeleted = allDeleted && wasDeleted; + } return !!allDeleted; + } + }); + + + /***/ }), /* 369 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.reduce` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - reduce: function reduce(callbackfn /* , initialValue */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var accumulator, step, entry; - aFunction(callbackfn); - if (arguments.length > 1) accumulator = arguments[1]; - else { - step = iterator.next(); - if (step.done) throw TypeError('Reduce of empty map with no initial value'); - accumulator = step.value[1]; - } - while (!(step = iterator.next()).done) { - entry = step.value; - accumulator = callbackfn(accumulator, entry[1], entry[0], map); - } - return accumulator; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var difference = __webpack_require__(370); + var setMethodAcceptSetLike = __webpack_require__(375); + + // `Set.prototype.difference` method + // https://github.com/tc39/proposal-set-methods + $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('difference') }, { + difference: difference + }); + + + /***/ }), /* 370 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var bind = __webpack_require__(78); - var getMapIterator = __webpack_require__(352); - - // `Set.prototype.some` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - some: function some(callbackfn /* , thisArg */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var step, entry; - while (!(step = iterator.next()).done) { - entry = step.value; - if (boundFunction(entry[1], entry[0], map)) return true; - } return false; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aSet = __webpack_require__(366); + var SetHelpers = __webpack_require__(367); + var clone = __webpack_require__(371); + var size = __webpack_require__(373); + var getSetRecord = __webpack_require__(374); + var iterateSet = __webpack_require__(372); + var iterateSimple = __webpack_require__(221); + + var has = SetHelpers.has; + var remove = SetHelpers.remove; + + // `Set.prototype.difference` method + // https://github.com/tc39/proposal-set-methods + module.exports = function difference(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + var result = clone(O); + if (size(O) <= otherRec.size) iterateSet(O, function (e) { + if (otherRec.includes(e)) remove(result, e); + }); + else iterateSimple(otherRec.getIterator(), function (e) { + if (has(O, e)) remove(result, e); + }); + return result; + }; + + + /***/ }), /* 371 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - - // `Set.prototype.update` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - update: function update(key, callback /* , thunk */) { - var map = anObject(this); - aFunction(callback); - var isPresentInMap = map.has(key); - if (!isPresentInMap && arguments.length < 3) { - throw TypeError('Updating absent value'); - } - var value = isPresentInMap ? map.get(key) : aFunction(arguments[2])(key, map); - map.set(key, callback(value, key, map)); - return map; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var SetHelpers = __webpack_require__(367); + var iterate = __webpack_require__(372); + + var Set = SetHelpers.Set; + var add = SetHelpers.add; + + module.exports = function (set) { + var result = new Set(); + iterate(set, function (it) { + add(result, it); + }); + return result; + }; + + + /***/ }), /* 372 */ - /***/ (function (module, exports, __webpack_require__) { - - var min = Math.min; - var max = Math.max; - - // `Math.clamp` method - // https://rwaldron.github.io/proposal-math-extensions/ - __webpack_require__(7)({ target: 'Math', stat: true }, { - clamp: function clamp(x, lower, upper) { - return min(upper, max(lower, x)); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var iterateSimple = __webpack_require__(221); + var SetHelpers = __webpack_require__(367); + + var Set = SetHelpers.Set; + var SetPrototype = SetHelpers.proto; + var forEach = uncurryThis(SetPrototype.forEach); + var keys = uncurryThis(SetPrototype.keys); + var next = keys(new Set()).next; + + module.exports = function (set, fn, interruptible) { + return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn); + }; + + + /***/ }), /* 373 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.DEG_PER_RAD` constant - // https://rwaldron.github.io/proposal-math-extensions/ - __webpack_require__(7)({ target: 'Math', stat: true }, { DEG_PER_RAD: Math.PI / 180 }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThisAccessor = __webpack_require__(70); + var SetHelpers = __webpack_require__(367); + + module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) { + return set.size; + }; + + + /***/ }), /* 374 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.degrees` method - // https://rwaldron.github.io/proposal-math-extensions/ - var RAD_PER_DEG = 180 / Math.PI; - - __webpack_require__(7)({ target: 'Math', stat: true }, { - degrees: function degrees(radians) { - return radians * RAD_PER_DEG; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var call = __webpack_require__(7); + var toIntegerOrInfinity = __webpack_require__(60); + var getIteratorDirect = __webpack_require__(201); + + var INVALID_SIZE = 'Invalid size'; + var $RangeError = RangeError; + var $TypeError = TypeError; + var max = Math.max; + + var SetRecord = function (set, intSize) { + this.set = set; + this.size = max(intSize, 0); + this.has = aCallable(set.has); + this.keys = aCallable(set.keys); + }; + + SetRecord.prototype = { + getIterator: function () { + return getIteratorDirect(anObject(call(this.keys, this.set))); + }, + includes: function (it) { + return call(this.has, this.set, it); + } + }; + + // `GetSetRecord` abstract operation + // https://tc39.es/proposal-set-methods/#sec-getsetrecord + module.exports = function (obj) { + anObject(obj); + var numSize = +obj.size; + // NOTE: If size is undefined, then numSize will be NaN + // eslint-disable-next-line no-self-compare -- NaN check + if (numSize !== numSize) throw new $TypeError(INVALID_SIZE); + var intSize = toIntegerOrInfinity(numSize); + if (intSize < 0) throw new $RangeError(INVALID_SIZE); + return new SetRecord(obj, intSize); + }; + + + /***/ }), /* 375 */ - /***/ (function (module, exports, __webpack_require__) { - - var scale = __webpack_require__(376); - var fround = __webpack_require__(168); - - // `Math.fscale` method - // https://rwaldron.github.io/proposal-math-extensions/ - __webpack_require__(7)({ target: 'Math', stat: true }, { - fscale: function fscale(x, inLow, inHigh, outLow, outHigh) { - return fround(scale(x, inLow, inHigh, outLow, outHigh)); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + + var createSetLike = function (size) { + return { + size: size, + has: function () { + return false; + }, + keys: function () { + return { + next: function () { + return { done: true }; + } + }; + } + }; + }; + + module.exports = function (name) { + var Set = getBuiltIn('Set'); + try { + new Set()[name](createSetLike(0)); + try { + // late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it + // https://github.com/tc39/proposal-set-methods/pull/88 + new Set()[name](createSetLike(-1)); + return false; + } catch (error2) { + return true; + } + } catch (error) { + return false; + } + }; + + + /***/ }), /* 376 */ - /***/ (function (module, exports) { - - // `Math.scale` method implementation - // https://rwaldron.github.io/proposal-math-extensions/ - module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) { - if ( - arguments.length === 0 - /* eslint-disable no-self-compare */ - || x != x - || inLow != inLow - || inHigh != inHigh - || outLow != outLow - || outHigh != outHigh - /* eslint-enable no-self-compare */ - ) return NaN; - if (x === Infinity || x === -Infinity) return x; - return (x - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toSetLike = __webpack_require__(377); + var $difference = __webpack_require__(370); + + // `Set.prototype.difference` method + // https://github.com/tc39/proposal-set-methods + // TODO: Obsolete version, remove from `core-js@4` + $({ target: 'Set', proto: true, real: true, forced: true }, { + difference: function difference(other) { + return call($difference, this, toSetLike(other)); + } + }); + + + /***/ }), /* 377 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.iaddh` method - // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 - __webpack_require__(7)({ target: 'Math', stat: true }, { - iaddh: function iaddh(x0, x1, y0, y1) { - var $x0 = x0 >>> 0; - var $x1 = x1 >>> 0; - var $y0 = y0 >>> 0; - return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + var isCallable = __webpack_require__(20); + var isIterable = __webpack_require__(378); + var isObject = __webpack_require__(19); + + var Set = getBuiltIn('Set'); + + var isSetLike = function (it) { + return isObject(it) + && typeof it.size == 'number' + && isCallable(it.has) + && isCallable(it.keys); + }; + + // fallback old -> new set methods proposal arguments + module.exports = function (it) { + if (isSetLike(it)) return it; + return isIterable(it) ? new Set(it) : it; + }; + + + /***/ }), /* 378 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.imulh` method - // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 - __webpack_require__(7)({ target: 'Math', stat: true }, { - imulh: function imulh(u, v) { - var UINT16 = 0xffff; - var $u = +u; - var $v = +v; - var u0 = $u & UINT16; - var v0 = $v & UINT16; - var u1 = $u >> 16; - var v1 = $v >> 16; - var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); - return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classof = __webpack_require__(77); + var hasOwn = __webpack_require__(37); + var isNullOrUndefined = __webpack_require__(16); + var wellKnownSymbol = __webpack_require__(32); + var Iterators = __webpack_require__(95); + + var ITERATOR = wellKnownSymbol('iterator'); + var $Object = Object; + + module.exports = function (it) { + if (isNullOrUndefined(it)) return false; + var O = $Object(it); + return O[ITERATOR] !== undefined + || '@@iterator' in O + || hasOwn(Iterators, classof(O)); + }; + + + /***/ }), /* 379 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.isubh` method - // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 - __webpack_require__(7)({ target: 'Math', stat: true }, { - isubh: function isubh(x0, x1, y0, y1) { - var $x0 = x0 >>> 0; - var $x1 = x1 >>> 0; - var $y0 = y0 >>> 0; - return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aSet = __webpack_require__(366); + var iterate = __webpack_require__(372); + + // `Set.prototype.every` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + every: function every(callbackfn /* , thisArg */) { + var set = aSet(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate(set, function (value) { + if (!boundFunction(value, value, set)) return false; + }, true) !== false; + } + }); + + + /***/ }), /* 380 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.RAD_PER_DEG` constant - // https://rwaldron.github.io/proposal-math-extensions/ - __webpack_require__(7)({ target: 'Math', stat: true }, { RAD_PER_DEG: 180 / Math.PI }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aSet = __webpack_require__(366); + var SetHelpers = __webpack_require__(367); + var iterate = __webpack_require__(372); + + var Set = SetHelpers.Set; + var add = SetHelpers.add; + + // `Set.prototype.filter` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + filter: function filter(callbackfn /* , thisArg */) { + var set = aSet(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newSet = new Set(); + iterate(set, function (value) { + if (boundFunction(value, value, set)) add(newSet, value); + }); + return newSet; + } + }); + + + /***/ }), /* 381 */ - /***/ (function (module, exports, __webpack_require__) { - - var DEG_PER_RAD = Math.PI / 180; - - // `Math.radians` method - // https://rwaldron.github.io/proposal-math-extensions/ - __webpack_require__(7)({ target: 'Math', stat: true }, { - radians: function radians(degrees) { - return degrees * DEG_PER_RAD; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aSet = __webpack_require__(366); + var iterate = __webpack_require__(372); + + // `Set.prototype.find` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + find: function find(callbackfn /* , thisArg */) { + var set = aSet(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var result = iterate(set, function (value) { + if (boundFunction(value, value, set)) return { value: value }; + }, true); + return result && result.value; + } + }); + + + /***/ }), /* 382 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.scale` method - // https://rwaldron.github.io/proposal-math-extensions/ - __webpack_require__(7)({ target: 'Math', stat: true }, { scale: __webpack_require__(376) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var SetHelpers = __webpack_require__(367); + var createCollectionFrom = __webpack_require__(322); + + // `Set.from` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-set.from + $({ target: 'Set', stat: true, forced: true }, { + from: createCollectionFrom(SetHelpers.Set, SetHelpers.add, false) + }); + + + /***/ }), /* 383 */ - /***/ (function (module, exports, __webpack_require__) { - - var anObject = __webpack_require__(21); - var numberIsFinite = __webpack_require__(184); - var createIteratorConstructor = __webpack_require__(104); - var SEEDED_RANDOM = 'Seeded Random'; - var SEEDED_RANDOM_GENERATOR = SEEDED_RANDOM + ' Generator'; - var InternalStateModule = __webpack_require__(26); - var setInternalState = InternalStateModule.set; - var getInternalState = InternalStateModule.getterFor(SEEDED_RANDOM_GENERATOR); - var SEED_TYPE_ERROR = 'Math.seededPRNG() argument should have a "seed" field with a finite value.'; - - var $SeededRandomGenerator = createIteratorConstructor(function SeededRandomGenerator(seed) { - setInternalState(this, { - type: SEEDED_RANDOM_GENERATOR, - seed: seed % 2147483647 - }); - }, SEEDED_RANDOM, function next() { - var state = getInternalState(this); - var seed = state.seed = (state.seed * 1103515245 + 12345) % 2147483647; - return { value: (seed & 1073741823) / 1073741823, done: false }; - }); - - // `Math.seededPRNG` method - // https://github.com/tc39/proposal-seeded-random - // based on https://github.com/tc39/proposal-seeded-random/blob/78b8258835b57fc2100d076151ab506bc3202ae6/demo.html - __webpack_require__(7)({ target: 'Math', stat: true, forced: true }, { - seededPRNG: function seededPRNG(it) { - var seed = anObject(it).seed; - if (!numberIsFinite(seed)) throw TypeError(SEED_TYPE_ERROR); - return new $SeededRandomGenerator(seed); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var fails = __webpack_require__(6); + var intersection = __webpack_require__(384); + var setMethodAcceptSetLike = __webpack_require__(375); + + var INCORRECT = !setMethodAcceptSetLike('intersection') || fails(function () { + // eslint-disable-next-line es/no-array-from, es/no-set -- testing + return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2'; + }); + + // `Set.prototype.intersection` method + // https://github.com/tc39/proposal-set-methods + $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, { + intersection: intersection + }); + + + /***/ }), /* 384 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.signbit` method - // https://github.com/tc39/proposal-Math.signbit - __webpack_require__(7)({ target: 'Math', stat: true }, { - signbit: function signbit(x) { - // eslint-disable-next-line no-self-compare - return (x = +x) != x ? x : x == 0 ? 1 / x == Infinity : x > 0; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aSet = __webpack_require__(366); + var SetHelpers = __webpack_require__(367); + var size = __webpack_require__(373); + var getSetRecord = __webpack_require__(374); + var iterateSet = __webpack_require__(372); + var iterateSimple = __webpack_require__(221); + + var Set = SetHelpers.Set; + var add = SetHelpers.add; + var has = SetHelpers.has; + + // `Set.prototype.intersection` method + // https://github.com/tc39/proposal-set-methods + module.exports = function intersection(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + var result = new Set(); + + if (size(O) > otherRec.size) { + iterateSimple(otherRec.getIterator(), function (e) { + if (has(O, e)) add(result, e); + }); + } else { + iterateSet(O, function (e) { + if (otherRec.includes(e)) add(result, e); + }); + } + + return result; + }; + + + /***/ }), /* 385 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.umulh` method - // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 - __webpack_require__(7)({ target: 'Math', stat: true }, { - umulh: function umulh(u, v) { - var UINT16 = 0xffff; - var $u = +u; - var $v = +v; - var u0 = $u & UINT16; - var v0 = $v & UINT16; - var u1 = $u >>> 16; - var v1 = $v >>> 16; - var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); - return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toSetLike = __webpack_require__(377); + var $intersection = __webpack_require__(384); + + // `Set.prototype.intersection` method + // https://github.com/tc39/proposal-set-methods + // TODO: Obsolete version, remove from `core-js@4` + $({ target: 'Set', proto: true, real: true, forced: true }, { + intersection: function intersection(other) { + return call($intersection, this, toSetLike(other)); + } + }); + + + /***/ }), /* 386 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toInteger = __webpack_require__(37); - var parseInt = __webpack_require__(194); - var INVALID_NUMBER_REPRESENTATION = 'Invalid number representation'; - var INVALID_RADIX = 'Invalid radix'; - var valid = /^[0-9a-z]+$/; - - // `Number.fromString` method - // https://github.com/tc39/proposal-number-fromstring - __webpack_require__(7)({ target: 'Number', stat: true }, { - fromString: function fromString(string, radix) { - var sign = 1; - var R, mathNum; - if (typeof string != 'string') throw TypeError(INVALID_NUMBER_REPRESENTATION); - if (!string.length) throw SyntaxError(INVALID_NUMBER_REPRESENTATION); - if (string.charAt(0) == '-') { - sign = -1; - string = string.slice(1); - if (!string.length) throw SyntaxError(INVALID_NUMBER_REPRESENTATION); - } - R = radix === undefined ? 10 : toInteger(radix); - if (R < 2 || R > 36) throw RangeError(INVALID_RADIX); - if (!valid.test(string) || (mathNum = parseInt(string, R)).toString(R) !== string) { - throw SyntaxError(INVALID_NUMBER_REPRESENTATION); - } - return sign * mathNum; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isDisjointFrom = __webpack_require__(387); + var setMethodAcceptSetLike = __webpack_require__(375); + + // `Set.prototype.isDisjointFrom` method + // https://github.com/tc39/proposal-set-methods + $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isDisjointFrom') }, { + isDisjointFrom: isDisjointFrom + }); + + + /***/ }), /* 387 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // https://github.com/tc39/proposal-observable - var aFunction = __webpack_require__(79); - var anObject = __webpack_require__(21); - var isObject = __webpack_require__(16); - var anInstance = __webpack_require__(132); - var redefineAll = __webpack_require__(131); - var hide = __webpack_require__(19); - var getIterator = __webpack_require__(353); - var iterate = __webpack_require__(154); - var hostReportErrors = __webpack_require__(237); - var defineProperty = __webpack_require__(20).f; - var InternalStateModule = __webpack_require__(26); - var getInternalState = InternalStateModule.get; - var setInternalState = InternalStateModule.set; - var DESCRIPTORS = __webpack_require__(4); - var OBSERVABLE = __webpack_require__(43)('observable'); - var BREAK = iterate.BREAK; - - var getMethod = function (fn) { - return fn == null ? undefined : aFunction(fn); - }; - - var cleanupSubscription = function (subscriptionState) { - var cleanup = subscriptionState.cleanup; - if (cleanup) { - subscriptionState.cleanup = undefined; - try { - cleanup(); - } catch (e) { - hostReportErrors(e); - } - } - }; - - var subscriptionClosed = function (subscriptionState) { - return subscriptionState.observer === undefined; - }; - - var close = function (subscription, subscriptionState) { - if (!DESCRIPTORS) { - subscription.closed = true; - var subscriptionObserver = subscriptionState.subscriptionObserver; - if (subscriptionObserver) subscriptionObserver.closed = true; - } subscriptionState.observer = undefined; - }; - - var Subscription = function (observer, subscriber) { - var subscriptionState = setInternalState(this, { - cleanup: undefined, - observer: anObject(observer), - subscriptionObserver: undefined - }); - var start; - if (!DESCRIPTORS) this.closed = false; - try { - if (start = getMethod(observer.start)) start.call(observer, this); - } catch (e) { - hostReportErrors(e); - } - if (subscriptionClosed(subscriptionState)) return; - var subscriptionObserver = subscriptionState.subscriptionObserver = new SubscriptionObserver(this); - try { - var cleanup = subscriber(subscriptionObserver); - var subscription = cleanup; - if (cleanup != null) subscriptionState.cleanup = typeof cleanup.unsubscribe === 'function' - ? function () { subscription.unsubscribe(); } - : aFunction(cleanup); - } catch (e) { - subscriptionObserver.error(e); - return; - } if (subscriptionClosed(subscriptionState)) cleanupSubscription(subscriptionState); - }; - - Subscription.prototype = redefineAll({}, { - unsubscribe: function unsubscribe() { - var subscriptionState = getInternalState(this); - if (!subscriptionClosed(subscriptionState)) { - close(this, subscriptionState); - cleanupSubscription(subscriptionState); - } - } - }); - - if (DESCRIPTORS) defineProperty(Subscription.prototype, 'closed', { - configurable: true, - get: function () { - return subscriptionClosed(getInternalState(this)); - } - }); - - var SubscriptionObserver = function (subscription) { - setInternalState(this, { subscription: subscription }); - if (!DESCRIPTORS) this.closed = false; - }; - - SubscriptionObserver.prototype = redefineAll({}, { - next: function next(value) { - var subscriptionState = getInternalState(getInternalState(this).subscription); - if (!subscriptionClosed(subscriptionState)) { - var observer = subscriptionState.observer; - try { - var m = getMethod(observer.next); - if (m) m.call(observer, value); - } catch (e) { - hostReportErrors(e); - } - } - }, - error: function error(value) { - var subscription = getInternalState(this).subscription; - var subscriptionState = getInternalState(subscription); - if (!subscriptionClosed(subscriptionState)) { - var observer = subscriptionState.observer; - close(subscription, subscriptionState); - try { - var m = getMethod(observer.error); - if (m) m.call(observer, value); - else hostReportErrors(value); - } catch (e) { - hostReportErrors(e); - } cleanupSubscription(subscriptionState); - } - }, - complete: function complete() { - var subscription = getInternalState(this).subscription; - var subscriptionState = getInternalState(subscription); - if (!subscriptionClosed(subscriptionState)) { - var observer = subscriptionState.observer; - close(subscription, subscriptionState); - try { - var m = getMethod(observer.complete); - if (m) m.call(observer); - } catch (e) { - hostReportErrors(e); - } cleanupSubscription(subscriptionState); - } - } - }); - - if (DESCRIPTORS) defineProperty(SubscriptionObserver.prototype, 'closed', { - configurable: true, - get: function () { - return subscriptionClosed(getInternalState(getInternalState(this).subscription)); - } - }); - - var $Observable = function Observable(subscriber) { - anInstance(this, $Observable, 'Observable'); - setInternalState(this, { subscriber: aFunction(subscriber) }); - }; - - redefineAll($Observable.prototype, { - subscribe: function subscribe(observer) { - var argumentsLength = arguments.length; - return new Subscription(typeof observer === 'function' ? { - next: observer, - error: argumentsLength > 1 ? arguments[1] : undefined, - complete: argumentsLength > 2 ? arguments[2] : undefined - } : isObject(observer) ? observer : {}, getInternalState(this).subscriber); - } - }); - - redefineAll($Observable, { - from: function from(x) { - var C = typeof this === 'function' ? this : $Observable; - var method = getMethod(anObject(x)[OBSERVABLE]); - if (method) { - var observable = anObject(method.call(x)); - return observable.constructor === C ? observable : new C(function (observer) { - return observable.subscribe(observer); - }); - } - var iterator = getIterator(x); - return new C(function (observer) { - iterate(iterator, function (it) { - observer.next(it); - if (observer.closed) return BREAK; - }, undefined, false, true); - observer.complete(); - }); - }, - of: function of() { - for (var i = 0, argumentsLength = arguments.length, items = new Array(argumentsLength); i < argumentsLength;) { - items[i] = arguments[i++]; - } - return new (typeof this === 'function' ? this : $Observable)(function (observer) { - for (var j = 0; j < items.length; ++j) { - observer.next(items[j]); - if (observer.closed) return; - } observer.complete(); - }); - } - }); - - hide($Observable.prototype, OBSERVABLE, function () { return this; }); - - __webpack_require__(7)({ global: true }, { Observable: $Observable }); - - __webpack_require__(123)('Observable'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aSet = __webpack_require__(366); + var has = __webpack_require__(367).has; + var size = __webpack_require__(373); + var getSetRecord = __webpack_require__(374); + var iterateSet = __webpack_require__(372); + var iterateSimple = __webpack_require__(221); + var iteratorClose = __webpack_require__(98); + + // `Set.prototype.isDisjointFrom` method + // https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom + module.exports = function isDisjointFrom(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + if (size(O) <= otherRec.size) return iterateSet(O, function (e) { + if (otherRec.includes(e)) return false; + }, true) !== false; + var iterator = otherRec.getIterator(); + return iterateSimple(iterator, function (e) { + if (has(O, e)) return iteratorClose(iterator, 'normal', false); + }) !== false; + }; + + + /***/ }), /* 388 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // `Promise.allSettled` method - // https://github.com/tc39/proposal-promise-allSettled - var newPromiseCapabilityModule = __webpack_require__(236); - var perform = __webpack_require__(238); - var iterate = __webpack_require__(154); - - __webpack_require__(7)({ target: 'Promise', stat: true }, { - allSettled: function allSettled(iterable) { - var C = this; - var capability = newPromiseCapabilityModule.f(C); - var resolve = capability.resolve; - var reject = capability.reject; - var result = perform(function () { - var values = []; - var counter = 0; - var remaining = 1; - iterate(iterable, function (promise) { - var index = counter++; - var alreadyCalled = false; - values.push(undefined); - remaining++; - C.resolve(promise).then(function (value) { - if (alreadyCalled) return; - alreadyCalled = true; - values[index] = { status: 'fulfilled', value: value }; - --remaining || resolve(values); - }, function (e) { - if (alreadyCalled) return; - alreadyCalled = true; - values[index] = { status: 'rejected', reason: e }; - --remaining || resolve(values); - }); - }); - --remaining || resolve(values); - }); - if (result.e) reject(result.v); - return capability.promise; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toSetLike = __webpack_require__(377); + var $isDisjointFrom = __webpack_require__(387); + + // `Set.prototype.isDisjointFrom` method + // https://github.com/tc39/proposal-set-methods + // TODO: Obsolete version, remove from `core-js@4` + $({ target: 'Set', proto: true, real: true, forced: true }, { + isDisjointFrom: function isDisjointFrom(other) { + return call($isDisjointFrom, this, toSetLike(other)); + } + }); + + + /***/ }), /* 389 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // `Promise.any` method - // https://github.com/tc39/proposal-promise-any - var getBuiltIn = __webpack_require__(124); - var newPromiseCapabilityModule = __webpack_require__(236); - var perform = __webpack_require__(238); - var iterate = __webpack_require__(154); - var PROMISE_ANY_ERROR = 'No one promise resolved'; - - __webpack_require__(7)({ target: 'Promise', stat: true }, { - any: function any(iterable) { - var C = this; - var capability = newPromiseCapabilityModule.f(C); - var resolve = capability.resolve; - var reject = capability.reject; - var result = perform(function () { - var errors = []; - var counter = 0; - var remaining = 1; - var alreadyResolved = false; - iterate(iterable, function (promise) { - var index = counter++; - var alreadyRejected = false; - errors.push(undefined); - remaining++; - C.resolve(promise).then(function (value) { - if (alreadyRejected || alreadyResolved) return; - alreadyResolved = true; - resolve(value); - }, function (e) { - if (alreadyRejected || alreadyResolved) return; - alreadyRejected = true; - errors[index] = e; - --remaining || reject(new (getBuiltIn('AggregateError'))(errors, PROMISE_ANY_ERROR)); - }); - }); - --remaining || reject(new (getBuiltIn('AggregateError'))(errors, PROMISE_ANY_ERROR)); - }); - if (result.e) reject(result.v); - return capability.promise; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isSubsetOf = __webpack_require__(390); + var setMethodAcceptSetLike = __webpack_require__(375); + + // `Set.prototype.isSubsetOf` method + // https://github.com/tc39/proposal-set-methods + $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSubsetOf') }, { + isSubsetOf: isSubsetOf + }); + + + /***/ }), /* 390 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // `Promise.try` method - // https://github.com/tc39/proposal-promise-try - var newPromiseCapabilityModule = __webpack_require__(236); - var perform = __webpack_require__(238); - - __webpack_require__(7)({ target: 'Promise', stat: true }, { - 'try': function (callbackfn) { - var promiseCapability = newPromiseCapabilityModule.f(this); - var result = perform(callbackfn); - (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v); - return promiseCapability.promise; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aSet = __webpack_require__(366); + var size = __webpack_require__(373); + var iterate = __webpack_require__(372); + var getSetRecord = __webpack_require__(374); + + // `Set.prototype.isSubsetOf` method + // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf + module.exports = function isSubsetOf(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + if (size(O) > otherRec.size) return false; + return iterate(O, function (e) { + if (!otherRec.includes(e)) return false; + }, true) !== false; + }; + + + /***/ }), /* 391 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var toMetadataKey = ReflectMetadataModule.toKey; - var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; - - // `Reflect.defineMetadata` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - defineMetadata: function defineMetadata(metadataKey, metadataValue, target /* , targetKey */) { - var targetKey = arguments.length < 4 ? undefined : toMetadataKey(arguments[3]); - ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), targetKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toSetLike = __webpack_require__(377); + var $isSubsetOf = __webpack_require__(390); + + // `Set.prototype.isSubsetOf` method + // https://github.com/tc39/proposal-set-methods + // TODO: Obsolete version, remove from `core-js@4` + $({ target: 'Set', proto: true, real: true, forced: true }, { + isSubsetOf: function isSubsetOf(other) { + return call($isSubsetOf, this, toSetLike(other)); + } + }); + + + /***/ }), /* 392 */ - /***/ (function (module, exports, __webpack_require__) { - - var Map = __webpack_require__(150); - var WeakMap = __webpack_require__(339); - var shared = __webpack_require__(25)('metadata'); - var store = shared.store || (shared.store = new WeakMap()); - - var getOrCreateMetadataMap = function (target, targetKey, create) { - var targetMetadata = store.get(target); - if (!targetMetadata) { - if (!create) return; - store.set(target, targetMetadata = new Map()); - } - var keyMetadata = targetMetadata.get(targetKey); - if (!keyMetadata) { - if (!create) return; - targetMetadata.set(targetKey, keyMetadata = new Map()); - } return keyMetadata; - }; - - var ordinaryHasOwnMetadata = function (MetadataKey, O, P) { - var metadataMap = getOrCreateMetadataMap(O, P, false); - return metadataMap === undefined ? false : metadataMap.has(MetadataKey); - }; - - var ordinaryGetOwnMetadata = function (MetadataKey, O, P) { - var metadataMap = getOrCreateMetadataMap(O, P, false); - return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey); - }; - - var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) { - getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue); - }; - - var ordinaryOwnMetadataKeys = function (target, targetKey) { - var metadataMap = getOrCreateMetadataMap(target, targetKey, false); - var keys = []; - if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); }); - return keys; - }; - - var toMetadataKey = function (it) { - return it === undefined || typeof it == 'symbol' ? it : String(it); - }; - - module.exports = { - store: store, - getMap: getOrCreateMetadataMap, - has: ordinaryHasOwnMetadata, - get: ordinaryGetOwnMetadata, - set: ordinaryDefineOwnMetadata, - keys: ordinaryOwnMetadataKeys, - toKey: toMetadataKey - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isSupersetOf = __webpack_require__(393); + var setMethodAcceptSetLike = __webpack_require__(375); + + // `Set.prototype.isSupersetOf` method + // https://github.com/tc39/proposal-set-methods + $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSupersetOf') }, { + isSupersetOf: isSupersetOf + }); + + + /***/ }), /* 393 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var toMetadataKey = ReflectMetadataModule.toKey; - var getOrCreateMetadataMap = ReflectMetadataModule.getMap; - var store = ReflectMetadataModule.store; - - // `Reflect.deleteMetadata` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); - var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); - if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; - if (metadataMap.size) return true; - var targetMetadata = store.get(target); - targetMetadata['delete'](targetKey); - return !!targetMetadata.size || store['delete'](target); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aSet = __webpack_require__(366); + var has = __webpack_require__(367).has; + var size = __webpack_require__(373); + var getSetRecord = __webpack_require__(374); + var iterateSimple = __webpack_require__(221); + var iteratorClose = __webpack_require__(98); + + // `Set.prototype.isSupersetOf` method + // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf + module.exports = function isSupersetOf(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + if (size(O) < otherRec.size) return false; + var iterator = otherRec.getIterator(); + return iterateSimple(iterator, function (e) { + if (!has(O, e)) return iteratorClose(iterator, 'normal', false); + }) !== false; + }; + + + /***/ }), /* 394 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var getPrototypeOf = __webpack_require__(106); - var ordinaryHasOwnMetadata = ReflectMetadataModule.has; - var ordinaryGetOwnMetadata = ReflectMetadataModule.get; - var toMetadataKey = ReflectMetadataModule.toKey; - - var ordinaryGetMetadata = function (MetadataKey, O, P) { - var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); - if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P); - var parent = getPrototypeOf(O); - return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined; - }; - - // `Reflect.getMetadata` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - getMetadata: function getMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); - return ordinaryGetMetadata(metadataKey, anObject(target), targetKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toSetLike = __webpack_require__(377); + var $isSupersetOf = __webpack_require__(393); + + // `Set.prototype.isSupersetOf` method + // https://github.com/tc39/proposal-set-methods + // TODO: Obsolete version, remove from `core-js@4` + $({ target: 'Set', proto: true, real: true, forced: true }, { + isSupersetOf: function isSupersetOf(other) { + return call($isSupersetOf, this, toSetLike(other)); + } + }); + + + /***/ }), /* 395 */ - /***/ (function (module, exports, __webpack_require__) { - - var Set = __webpack_require__(260); - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var getPrototypeOf = __webpack_require__(106); - var iterate = __webpack_require__(154); - var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys; - var toMetadataKey = ReflectMetadataModule.toKey; - - var from = function (iter) { - var result = []; - iterate(iter, result.push, result); - return result; - }; - - var ordinaryMetadataKeys = function (O, P) { - var oKeys = ordinaryOwnMetadataKeys(O, P); - var parent = getPrototypeOf(O); - if (parent === null) return oKeys; - var pKeys = ordinaryMetadataKeys(parent, P); - return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys; - }; - - // `Reflect.getMetadataKeys` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - getMetadataKeys: function getMetadataKeys(target /* , targetKey */) { - var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]); - return ordinaryMetadataKeys(anObject(target), targetKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var aSet = __webpack_require__(366); + var iterate = __webpack_require__(372); + var toString = __webpack_require__(76); + + var arrayJoin = uncurryThis([].join); + var push = uncurryThis([].push); + + // `Set.prototype.join` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + join: function join(separator) { + var set = aSet(this); + var sep = separator === undefined ? ',' : toString(separator); + var array = []; + iterate(set, function (value) { + push(array, value); + }); + return arrayJoin(array, sep); + } + }); + + + /***/ }), /* 396 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var ordinaryGetOwnMetadata = ReflectMetadataModule.get; - var toMetadataKey = ReflectMetadataModule.toKey; - - // `Reflect.getOwnMetadata` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); - return ordinaryGetOwnMetadata(metadataKey, anObject(target), targetKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aSet = __webpack_require__(366); + var SetHelpers = __webpack_require__(367); + var iterate = __webpack_require__(372); + + var Set = SetHelpers.Set; + var add = SetHelpers.add; + + // `Set.prototype.map` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + map: function map(callbackfn /* , thisArg */) { + var set = aSet(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newSet = new Set(); + iterate(set, function (value) { + add(newSet, boundFunction(value, value, set)); + }); + return newSet; + } + }); + + + /***/ }), /* 397 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys; - var toMetadataKey = ReflectMetadataModule.toKey; - - // `Reflect.getOwnMetadataKeys` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) { - var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]); - return ordinaryOwnMetadataKeys(anObject(target), targetKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var SetHelpers = __webpack_require__(367); + var createCollectionOf = __webpack_require__(331); + + // `Set.of` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-set.of + $({ target: 'Set', stat: true, forced: true }, { + of: createCollectionOf(SetHelpers.Set, SetHelpers.add, false) + }); + + + /***/ }), /* 398 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var getPrototypeOf = __webpack_require__(106); - var ordinaryHasOwnMetadata = ReflectMetadataModule.has; - var toMetadataKey = ReflectMetadataModule.toKey; - - var ordinaryHasMetadata = function (MetadataKey, O, P) { - var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); - if (hasOwn) return true; - var parent = getPrototypeOf(O); - return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false; - }; - - // `Reflect.hasMetadata` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); - return ordinaryHasMetadata(metadataKey, anObject(target), targetKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aCallable = __webpack_require__(29); + var aSet = __webpack_require__(366); + var iterate = __webpack_require__(372); + + var $TypeError = TypeError; + + // `Set.prototype.reduce` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + reduce: function reduce(callbackfn /* , initialValue */) { + var set = aSet(this); + var noInitial = arguments.length < 2; + var accumulator = noInitial ? undefined : arguments[1]; + aCallable(callbackfn); + iterate(set, function (value) { + if (noInitial) { + noInitial = false; + accumulator = value; + } else { + accumulator = callbackfn(accumulator, value, value, set); + } + }); + if (noInitial) throw new $TypeError('Reduce of empty set with no initial value'); + return accumulator; + } + }); + + + /***/ }), /* 399 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var ordinaryHasOwnMetadata = ReflectMetadataModule.has; - var toMetadataKey = ReflectMetadataModule.toKey; - - // `Reflect.hasOwnMetadata` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); - return ordinaryHasOwnMetadata(metadataKey, anObject(target), targetKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aSet = __webpack_require__(366); + var iterate = __webpack_require__(372); + + // `Set.prototype.some` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + some: function some(callbackfn /* , thisArg */) { + var set = aSet(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate(set, function (value) { + if (boundFunction(value, value, set)) return true; + }, true) === true; + } + }); + + + /***/ }), /* 400 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var toMetadataKey = ReflectMetadataModule.toKey; - var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; - - // `Reflect.metadata` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - metadata: function metadata(metadataKey, metadataValue) { - return function decorator(target, key) { - ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetadataKey(key)); - }; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var symmetricDifference = __webpack_require__(401); + var setMethodAcceptSetLike = __webpack_require__(375); + + // `Set.prototype.symmetricDifference` method + // https://github.com/tc39/proposal-set-methods + $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, { + symmetricDifference: symmetricDifference + }); + + + /***/ }), /* 401 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var collectionAddAll = __webpack_require__(402); - - // `Set.prototype.addAll` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - addAll: function addAll(/* ...elements */) { - return collectionAddAll.apply(this, arguments); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aSet = __webpack_require__(366); + var SetHelpers = __webpack_require__(367); + var clone = __webpack_require__(371); + var getSetRecord = __webpack_require__(374); + var iterateSimple = __webpack_require__(221); + + var add = SetHelpers.add; + var has = SetHelpers.has; + var remove = SetHelpers.remove; + + // `Set.prototype.symmetricDifference` method + // https://github.com/tc39/proposal-set-methods + module.exports = function symmetricDifference(other) { + var O = aSet(this); + var keysIter = getSetRecord(other).getIterator(); + var result = clone(O); + iterateSimple(keysIter, function (e) { + if (has(O, e)) remove(result, e); + else add(result, e); + }); + return result; + }; + + + /***/ }), /* 402 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - - // https://github.com/tc39/collection-methods - module.exports = function (/* ...elements */) { - var set = anObject(this); - var adder = aFunction(set.add); - for (var k = 0, len = arguments.length; k < len; k++) { - adder.call(set, arguments[k]); - } - return set; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toSetLike = __webpack_require__(377); + var $symmetricDifference = __webpack_require__(401); + + // `Set.prototype.symmetricDifference` method + // https://github.com/tc39/proposal-set-methods + // TODO: Obsolete version, remove from `core-js@4` + $({ target: 'Set', proto: true, real: true, forced: true }, { + symmetricDifference: function symmetricDifference(other) { + return call($symmetricDifference, this, toSetLike(other)); + } + }); + + + /***/ }), /* 403 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var collectionDeleteAll = __webpack_require__(350); - - // `Set.prototype.deleteAll` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - deleteAll: function deleteAll(/* ...elements */) { - return collectionDeleteAll.apply(this, arguments); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var union = __webpack_require__(404); + var setMethodAcceptSetLike = __webpack_require__(375); + + // `Set.prototype.union` method + // https://github.com/tc39/proposal-set-methods + $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, { + union: union + }); + + + /***/ }), /* 404 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var speciesConstructor = __webpack_require__(136); - var iterate = __webpack_require__(154); - - // `Set.prototype.difference` method - // https://github.com/tc39/proposal-set-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - difference: function difference(iterable) { - var set = anObject(this); - var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set); - var remover = aFunction(newSet['delete']); - iterate(iterable, function (value) { - remover.call(newSet, value); - }); - return newSet; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aSet = __webpack_require__(366); + var add = __webpack_require__(367).add; + var clone = __webpack_require__(371); + var getSetRecord = __webpack_require__(374); + var iterateSimple = __webpack_require__(221); + + // `Set.prototype.union` method + // https://github.com/tc39/proposal-set-methods + module.exports = function union(other) { + var O = aSet(this); + var keysIter = getSetRecord(other).getIterator(); + var result = clone(O); + iterateSimple(keysIter, function (it) { + add(result, it); + }); + return result; + }; + + + /***/ }), /* 405 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var bind = __webpack_require__(78); - var getSetIterator = __webpack_require__(406); - - // `Set.prototype.every` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - every: function every(callbackfn /* , thisArg */) { - var set = anObject(this); - var iterator = getSetIterator(set); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var step, value; - while (!(step = iterator.next()).done) { - if (!boundFunction(value = step.value, value, set)) return false; - } return true; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toSetLike = __webpack_require__(377); + var $union = __webpack_require__(404); + + // `Set.prototype.union` method + // https://github.com/tc39/proposal-set-methods + // TODO: Obsolete version, remove from `core-js@4` + $({ target: 'Set', proto: true, real: true, forced: true }, { + union: function union(other) { + return call($union, this, toSetLike(other)); + } + }); + + + /***/ }), /* 406 */ - /***/ (function (module, exports, __webpack_require__) { - - var IS_PURE = __webpack_require__(6); - var getIterator = __webpack_require__(353); - - module.exports = IS_PURE ? getIterator : function (it) { - // eslint-disable-next-line no-undef - return Set.prototype.values.call(it); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var cooked = __webpack_require__(407); + + // `String.cooked` method + // https://github.com/tc39/proposal-string-cooked + $({ target: 'String', stat: true, forced: true }, { + cooked: cooked + }); + + + /***/ }), /* 407 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var bind = __webpack_require__(78); - var speciesConstructor = __webpack_require__(136); - var getSetIterator = __webpack_require__(406); - - // `Set.prototype.filter` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - filter: function filter(callbackfn /* , thisArg */) { - var set = anObject(this); - var iterator = getSetIterator(set); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(); - var adder = aFunction(newSet.add); - var step, value; - while (!(step = iterator.next()).done) { - if (boundFunction(value = step.value, value, set)) adder.call(newSet, value); - } - return newSet; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var toIndexedObject = __webpack_require__(11); + var toString = __webpack_require__(76); + var lengthOfArrayLike = __webpack_require__(62); + + var $TypeError = TypeError; + var push = uncurryThis([].push); + var join = uncurryThis([].join); + + // `String.cooked` method + // https://tc39.es/proposal-string-cooked/ + module.exports = function cooked(template /* , ...substitutions */) { + var cookedTemplate = toIndexedObject(template); + var literalSegments = lengthOfArrayLike(cookedTemplate); + if (!literalSegments) return ''; + var argumentsLength = arguments.length; + var elements = []; + var i = 0; + while (true) { + var nextVal = cookedTemplate[i++]; + if (nextVal === undefined) throw new $TypeError('Incorrect template'); + push(elements, toString(nextVal)); + if (i === literalSegments) return join(elements, ''); + if (i < argumentsLength) push(elements, toString(arguments[i])); + } + }; + + + /***/ }), /* 408 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var bind = __webpack_require__(78); - var getSetIterator = __webpack_require__(406); - - // `Set.prototype.find` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - find: function find(callbackfn /* , thisArg */) { - var set = anObject(this); - var iterator = getSetIterator(set); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var step, value; - while (!(step = iterator.next()).done) { - if (boundFunction(value = step.value, value, set)) return value; - } - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var createIteratorConstructor = __webpack_require__(248); + var createIterResultObject = __webpack_require__(200); + var requireObjectCoercible = __webpack_require__(15); + var toString = __webpack_require__(76); + var InternalStateModule = __webpack_require__(50); + var StringMultibyteModule = __webpack_require__(409); + + var codeAt = StringMultibyteModule.codeAt; + var charAt = StringMultibyteModule.charAt; + var STRING_ITERATOR = 'String Iterator'; + var setInternalState = InternalStateModule.set; + var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); + + // TODO: unify with String#@@iterator + var $StringIterator = createIteratorConstructor(function StringIterator(string) { + setInternalState(this, { + type: STRING_ITERATOR, + string: string, + index: 0 + }); + }, 'String', function next() { + var state = getInternalState(this); + var string = state.string; + var index = state.index; + var point; + if (index >= string.length) return createIterResultObject(undefined, true); + point = charAt(string, index); + state.index += point.length; + return createIterResultObject({ codePoint: codeAt(point, 0), position: index }, false); + }); + + // `String.prototype.codePoints` method + // https://github.com/tc39/proposal-string-prototype-codepoints + $({ target: 'String', proto: true, forced: true }, { + codePoints: function codePoints() { + return new $StringIterator(toString(requireObjectCoercible(this))); + } + }); + + + /***/ }), /* 409 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Set.from` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-set.from - __webpack_require__(7)({ target: 'Set', stat: true }, { - from: __webpack_require__(358) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var toIntegerOrInfinity = __webpack_require__(60); + var toString = __webpack_require__(76); + var requireObjectCoercible = __webpack_require__(15); + + var charAt = uncurryThis(''.charAt); + var charCodeAt = uncurryThis(''.charCodeAt); + var stringSlice = uncurryThis(''.slice); + + var createMethod = function (CONVERT_TO_STRING) { + return function ($this, pos) { + var S = toString(requireObjectCoercible($this)); + var position = toIntegerOrInfinity(pos); + var size = S.length; + var first, second; + if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; + first = charCodeAt(S, position); + return first < 0xD800 || first > 0xDBFF || position + 1 === size + || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF + ? CONVERT_TO_STRING + ? charAt(S, position) + : first + : CONVERT_TO_STRING + ? stringSlice(S, position, position + 2) + : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; + }; + }; + + module.exports = { + // `String.prototype.codePointAt` method + // https://tc39.es/ecma262/#sec-string.prototype.codepointat + codeAt: createMethod(false), + // `String.prototype.at` method + // https://github.com/mathiasbynens/String.prototype.at + charAt: createMethod(true) + }; + + + /***/ }), /* 410 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var speciesConstructor = __webpack_require__(136); - var iterate = __webpack_require__(154); - - // `Set.prototype.intersection` method - // https://github.com/tc39/proposal-set-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - intersection: function intersection(iterable) { - var set = anObject(this); - var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(); - var hasCheck = aFunction(set.has); - var adder = aFunction(newSet.add); - iterate(iterable, function (value) { - if (hasCheck.call(set, value)) adder.call(newSet, value); - }); - return newSet; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var FREEZING = __webpack_require__(259); + var $ = __webpack_require__(2); + var makeBuiltIn = __webpack_require__(47); + var uncurryThis = __webpack_require__(13); + var apply = __webpack_require__(67); + var anObject = __webpack_require__(45); + var toObject = __webpack_require__(38); + var isCallable = __webpack_require__(20); + var lengthOfArrayLike = __webpack_require__(62); + var defineProperty = __webpack_require__(43).f; + var createArrayFromList = __webpack_require__(145); + var WeakMapHelpers = __webpack_require__(411); + var cooked = __webpack_require__(407); + var parse = __webpack_require__(412); + var whitespaces = __webpack_require__(364); + + var DedentMap = new WeakMapHelpers.WeakMap(); + var weakMapGet = WeakMapHelpers.get; + var weakMapHas = WeakMapHelpers.has; + var weakMapSet = WeakMapHelpers.set; + + var $Array = Array; + var $TypeError = TypeError; + // eslint-disable-next-line es/no-object-freeze -- safe + var freeze = Object.freeze || Object; + // eslint-disable-next-line es/no-object-isfrozen -- safe + var isFrozen = Object.isFrozen; + var min = Math.min; + var charAt = uncurryThis(''.charAt); + var stringSlice = uncurryThis(''.slice); + var split = uncurryThis(''.split); + var exec = uncurryThis(/./.exec); + + var NEW_LINE = /([\n\u2028\u2029]|\r\n?)/g; + var LEADING_WHITESPACE = RegExp('^[' + whitespaces + ']*'); + var NON_WHITESPACE = RegExp('[^' + whitespaces + ']'); + var INVALID_TAG = 'Invalid tag'; + var INVALID_OPENING_LINE = 'Invalid opening line'; + var INVALID_CLOSING_LINE = 'Invalid closing line'; + + var dedentTemplateStringsArray = function (template) { + var rawInput = template.raw; + // https://github.com/tc39/proposal-string-dedent/issues/75 + if (FREEZING && !isFrozen(rawInput)) throw new $TypeError('Raw template should be frozen'); + if (weakMapHas(DedentMap, rawInput)) return weakMapGet(DedentMap, rawInput); + var raw = dedentStringsArray(rawInput); + var cookedArr = cookStrings(raw); + defineProperty(cookedArr, 'raw', { + value: freeze(raw) + }); + freeze(cookedArr); + weakMapSet(DedentMap, rawInput, cookedArr); + return cookedArr; + }; + + var dedentStringsArray = function (template) { + var t = toObject(template); + var length = lengthOfArrayLike(t); + var blocks = $Array(length); + var dedented = $Array(length); + var i = 0; + var lines, common, quasi, k; + + if (!length) throw new $TypeError(INVALID_TAG); + + for (; i < length; i++) { + var element = t[i]; + if (typeof element == 'string') blocks[i] = split(element, NEW_LINE); + else throw new $TypeError(INVALID_TAG); + } + + for (i = 0; i < length; i++) { + var lastSplit = i + 1 === length; + lines = blocks[i]; + if (i === 0) { + if (lines.length === 1 || lines[0].length > 0) { + throw new $TypeError(INVALID_OPENING_LINE); + } + lines[1] = ''; + } + if (lastSplit) { + if (lines.length === 1 || exec(NON_WHITESPACE, lines[lines.length - 1])) { + throw new $TypeError(INVALID_CLOSING_LINE); + } + lines[lines.length - 2] = ''; + lines[lines.length - 1] = ''; + } + for (var j = 2; j < lines.length; j += 2) { + var text = lines[j]; + var lineContainsTemplateExpression = j + 1 === lines.length && !lastSplit; + var leading = exec(LEADING_WHITESPACE, text)[0]; + if (!lineContainsTemplateExpression && leading.length === text.length) { + lines[j] = ''; + continue; + } + common = commonLeadingIndentation(leading, common); + } + } + + var count = common ? common.length : 0; + + for (i = 0; i < length; i++) { + lines = blocks[i]; + quasi = lines[0]; + k = 1; + for (; k < lines.length; k += 2) { + quasi += lines[k] + stringSlice(lines[k + 1], count); + } + dedented[i] = quasi; + } + + return dedented; + }; + + var commonLeadingIndentation = function (a, b) { + if (b === undefined || a === b) return a; + var i = 0; + for (var len = min(a.length, b.length); i < len; i++) { + if (charAt(a, i) !== charAt(b, i)) break; + } + return stringSlice(a, 0, i); + }; + + var cookStrings = function (raw) { + var i = 0; + var length = raw.length; + var result = $Array(length); + for (; i < length; i++) { + result[i] = parse(raw[i]); + } return result; + }; + + var makeDedentTag = function (tag) { + return makeBuiltIn(function (template /* , ...substitutions */) { + var args = createArrayFromList(arguments); + args[0] = dedentTemplateStringsArray(anObject(template)); + return apply(tag, this, args); + }, ''); + }; + + var cookedDedentTag = makeDedentTag(cooked); + + // `String.dedent` method + // https://github.com/tc39/proposal-string-dedent + $({ target: 'String', stat: true, forced: true }, { + dedent: function dedent(templateOrFn /* , ...substitutions */) { + anObject(templateOrFn); + if (isCallable(templateOrFn)) return makeDedentTag(templateOrFn); + return apply(cookedDedentTag, this, arguments); + } + }); + + + /***/ }), /* 411 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var iterate = __webpack_require__(154); - var BREAK = iterate.BREAK; - - // `Set.prototype.isDisjointFrom` method - // https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - isDisjointFrom: function isDisjointFrom(iterable) { - var set = anObject(this); - var hasCheck = aFunction(set.has); - return iterate(iterable, function (value) { - if (hasCheck.call(set, value) === true) return BREAK; - }) !== BREAK; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + // eslint-disable-next-line es/no-weak-map -- safe + var WeakMapPrototype = WeakMap.prototype; + + module.exports = { + // eslint-disable-next-line es/no-weak-map -- safe + WeakMap: WeakMap, + set: uncurryThis(WeakMapPrototype.set), + get: uncurryThis(WeakMapPrototype.get), + has: uncurryThis(WeakMapPrototype.has), + remove: uncurryThis(WeakMapPrototype['delete']) + }; + + + /***/ }), /* 412 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var getIterator = __webpack_require__(353); - var iterate = __webpack_require__(154); - var BREAK = iterate.BREAK; - - // `Set.prototype.isSubsetOf` method - // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - isSubsetOf: function isSubsetOf(iterable) { - var iterator = getIterator(this); - var otherSet = anObject(iterable); - var hasCheck = otherSet.has; - if (typeof hasCheck != 'function') { - otherSet = new (getBuiltIn('Set'))(iterable); - hasCheck = aFunction(otherSet.has); - } - return iterate(iterator, function (value) { - if (hasCheck.call(otherSet, value) === false) return BREAK; - }, undefined, false, true) !== BREAK; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // adapted from https://github.com/jridgewell/string-dedent + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + + var fromCharCode = String.fromCharCode; + var fromCodePoint = getBuiltIn('String', 'fromCodePoint'); + var charAt = uncurryThis(''.charAt); + var charCodeAt = uncurryThis(''.charCodeAt); + var stringIndexOf = uncurryThis(''.indexOf); + var stringSlice = uncurryThis(''.slice); + + var ZERO_CODE = 48; + var NINE_CODE = 57; + var LOWER_A_CODE = 97; + var LOWER_F_CODE = 102; + var UPPER_A_CODE = 65; + var UPPER_F_CODE = 70; + + var isDigit = function (str, index) { + var c = charCodeAt(str, index); + return c >= ZERO_CODE && c <= NINE_CODE; + }; + + var parseHex = function (str, index, end) { + if (end >= str.length) return -1; + var n = 0; + for (; index < end; index++) { + var c = hexToInt(charCodeAt(str, index)); + if (c === -1) return -1; + n = n * 16 + c; + } + return n; + }; + + var hexToInt = function (c) { + if (c >= ZERO_CODE && c <= NINE_CODE) return c - ZERO_CODE; + if (c >= LOWER_A_CODE && c <= LOWER_F_CODE) return c - LOWER_A_CODE + 10; + if (c >= UPPER_A_CODE && c <= UPPER_F_CODE) return c - UPPER_A_CODE + 10; + return -1; + }; + + module.exports = function (raw) { + var out = ''; + var start = 0; + // We need to find every backslash escape sequence, and cook the escape into a real char. + var i = 0; + var n; + while ((i = stringIndexOf(raw, '\\', i)) > -1) { + out += stringSlice(raw, start, i); + // If the backslash is the last char of the string, then it was an invalid sequence. + // This can't actually happen in a tagged template literal, but could happen if you manually + // invoked the tag with an array. + if (++i === raw.length) return; + var next = charAt(raw, i++); + switch (next) { + // Escaped control codes need to be individually processed. + case 'b': + out += '\b'; + break; + case 't': + out += '\t'; + break; + case 'n': + out += '\n'; + break; + case 'v': + out += '\v'; + break; + case 'f': + out += '\f'; + break; + case 'r': + out += '\r'; + break; + // Escaped line terminators just skip the char. + case '\r': + // Treat `\r\n` as a single terminator. + if (i < raw.length && charAt(raw, i) === '\n') ++i; + // break omitted + case '\n': + case '\u2028': + case '\u2029': + break; + // `\0` is a null control char, but `\0` followed by another digit is an illegal octal escape. + case '0': + if (isDigit(raw, i)) return; + out += '\0'; + break; + // Hex escapes must contain 2 hex chars. + case 'x': + n = parseHex(raw, i, i + 2); + if (n === -1) return; + i += 2; + out += fromCharCode(n); + break; + // Unicode escapes contain either 4 chars, or an unlimited number between `{` and `}`. + // The hex value must not overflow 0x10FFFF. + case 'u': + if (i < raw.length && charAt(raw, i) === '{') { + var end = stringIndexOf(raw, '}', ++i); + if (end === -1) return; + n = parseHex(raw, i, end); + i = end + 1; + } else { + n = parseHex(raw, i, i + 4); + i += 4; + } + if (n === -1 || n > 0x10FFFF) return; + out += fromCodePoint(n); + break; + default: + if (isDigit(next, 0)) return; + out += next; + } + start = i; + } + return out + stringSlice(raw, start); + }; + + + /***/ }), /* 413 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var iterate = __webpack_require__(154); - var BREAK = iterate.BREAK; - - // `Set.prototype.isSupersetOf` method - // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - isSupersetOf: function isSupersetOf(iterable) { - var set = anObject(this); - var hasCheck = aFunction(set.has); - return iterate(iterable, function (value) { - if (hasCheck.call(set, value) === false) return BREAK; - }) !== BREAK; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var defineWellKnownSymbol = __webpack_require__(414); + var defineProperty = __webpack_require__(43).f; + var getOwnPropertyDescriptor = __webpack_require__(4).f; + + var Symbol = global.Symbol; + + // `Symbol.asyncDispose` well-known symbol + // https://github.com/tc39/proposal-async-explicit-resource-management + defineWellKnownSymbol('asyncDispose'); + + if (Symbol) { + var descriptor = getOwnPropertyDescriptor(Symbol, 'asyncDispose'); + // workaround of NodeJS 20.4 bug + // https://github.com/nodejs/node/issues/48699 + // and incorrect descriptor from some transpilers and userland helpers + if (descriptor.enumerable && descriptor.configurable && descriptor.writable) { + defineProperty(Symbol, 'asyncDispose', { value: descriptor.value, enumerable: false, configurable: false, writable: false }); + } + } + + + /***/ }), /* 414 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var getSetIterator = __webpack_require__(406); - - // `Set.prototype.join` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - join: function join(separator) { - var set = anObject(this); - var iterator = getSetIterator(set); - var sep = separator === undefined ? ',' : String(separator); - var result = []; - var step; - while (!(step = iterator.next()).done) result.push(step.value); - return result.join(sep); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var path = __webpack_require__(415); + var hasOwn = __webpack_require__(37); + var wrappedWellKnownSymbolModule = __webpack_require__(416); + var defineProperty = __webpack_require__(43).f; + + module.exports = function (NAME) { + var Symbol = path.Symbol || (path.Symbol = {}); + if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, { + value: wrappedWellKnownSymbolModule.f(NAME) + }); + }; + + + /***/ }), /* 415 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var bind = __webpack_require__(78); - var speciesConstructor = __webpack_require__(136); - var getSetIterator = __webpack_require__(406); - - // `Set.prototype.map` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - map: function map(callbackfn /* , thisArg */) { - var set = anObject(this); - var iterator = getSetIterator(set); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(); - var adder = aFunction(newSet.add); - var step, value; - while (!(step = iterator.next()).done) { - adder.call(newSet, boundFunction(value = step.value, value, set)); - } - return newSet; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + + module.exports = global; + + + /***/ }), /* 416 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Set.of` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-set.of - __webpack_require__(7)({ target: 'Set', stat: true }, { - of: __webpack_require__(368) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var wellKnownSymbol = __webpack_require__(32); + + exports.f = wellKnownSymbol; + + + /***/ }), /* 417 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var getSetIterator = __webpack_require__(406); - - // `Set.prototype.reduce` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - reduce: function reduce(callbackfn /* , initialValue */) { - var set = anObject(this); - var iterator = getSetIterator(set); - var accumulator, step, value; - aFunction(callbackfn); - if (arguments.length > 1) accumulator = arguments[1]; - else { - step = iterator.next(); - if (step.done) throw TypeError('Reduce of empty set with no initial value'); - accumulator = step.value; - } - while (!(step = iterator.next()).done) { - accumulator = callbackfn(accumulator, value = step.value, value, set); - } - return accumulator; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var defineWellKnownSymbol = __webpack_require__(414); + var defineProperty = __webpack_require__(43).f; + var getOwnPropertyDescriptor = __webpack_require__(4).f; + + var Symbol = global.Symbol; + + // `Symbol.dispose` well-known symbol + // https://github.com/tc39/proposal-explicit-resource-management + defineWellKnownSymbol('dispose'); + + if (Symbol) { + var descriptor = getOwnPropertyDescriptor(Symbol, 'dispose'); + // workaround of NodeJS 20.4 bug + // https://github.com/nodejs/node/issues/48699 + // and incorrect descriptor from some transpilers and userland helpers + if (descriptor.enumerable && descriptor.configurable && descriptor.writable) { + defineProperty(Symbol, 'dispose', { value: descriptor.value, enumerable: false, configurable: false, writable: false }); + } + } + + + /***/ }), /* 418 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var bind = __webpack_require__(78); - var getSetIterator = __webpack_require__(406); - - // `Set.prototype.some` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - some: function some(callbackfn /* , thisArg */) { - var set = anObject(this); - var iterator = getSetIterator(set); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var step, value; - while (!(step = iterator.next()).done) { - if (boundFunction(value = step.value, value, set)) return true; - } return false; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isRegisteredSymbol = __webpack_require__(419); + + // `Symbol.isRegisteredSymbol` method + // https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol + $({ target: 'Symbol', stat: true }, { + isRegisteredSymbol: isRegisteredSymbol + }); + + + /***/ }), /* 419 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var speciesConstructor = __webpack_require__(136); - var iterate = __webpack_require__(154); - - // `Set.prototype.symmetricDifference` method - // https://github.com/tc39/proposal-set-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - symmetricDifference: function symmetricDifference(iterable) { - var set = anObject(this); - var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set); - var remover = aFunction(newSet['delete']); - var adder = aFunction(newSet.add); - iterate(iterable, function (value) { - remover.call(newSet, value) || adder.call(newSet, value); - }); - return newSet; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + + var Symbol = getBuiltIn('Symbol'); + var keyFor = Symbol.keyFor; + var thisSymbolValue = uncurryThis(Symbol.prototype.valueOf); + + // `Symbol.isRegisteredSymbol` method + // https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol + module.exports = Symbol.isRegisteredSymbol || function isRegisteredSymbol(value) { + try { + return keyFor(thisSymbolValue(value)) !== undefined; + } catch (error) { + return false; + } + }; + + + /***/ }), /* 420 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var speciesConstructor = __webpack_require__(136); - var iterate = __webpack_require__(154); - - // `Set.prototype.union` method - // https://github.com/tc39/proposal-set-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - union: function union(iterable) { - var set = anObject(this); - var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set); - iterate(iterable, aFunction(newSet.add), newSet); - return newSet; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isRegisteredSymbol = __webpack_require__(419); + + // `Symbol.isRegistered` method + // obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol + $({ target: 'Symbol', stat: true, name: 'isRegisteredSymbol' }, { + isRegistered: isRegisteredSymbol + }); + + + /***/ }), /* 421 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var codePointAt = __webpack_require__(262); - - // `String.prototype.at` method - // https://github.com/mathiasbynens/String.prototype.at - __webpack_require__(7)({ target: 'String', proto: true }, { - at: function at(pos) { - return codePointAt(this, pos, true); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isWellKnownSymbol = __webpack_require__(422); + + // `Symbol.isWellKnownSymbol` method + // https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol + // We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected + $({ target: 'Symbol', stat: true, forced: true }, { + isWellKnownSymbol: isWellKnownSymbol + }); + + + /***/ }), /* 422 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createIteratorConstructor = __webpack_require__(104); - var requireObjectCoercible = __webpack_require__(14); - var InternalStateModule = __webpack_require__(26); - var codePointAt = __webpack_require__(262); - var STRING_ITERATOR = 'String Iterator'; - var setInternalState = InternalStateModule.set; - var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); - - // TODO: unify with String#@@iterator - var $StringIterator = createIteratorConstructor(function StringIterator(string) { - setInternalState(this, { - type: STRING_ITERATOR, - string: string, - index: 0 - }); - }, 'String', function next() { - var state = getInternalState(this); - var string = state.string; - var index = state.index; - var point; - if (index >= string.length) return { value: undefined, done: true }; - point = codePointAt(string, index, true); - state.index += point.length; - return { value: { codePoint: codePointAt(point, 0), position: index }, done: false }; - }); - - // `String.prototype.codePoints` method - // https://github.com/tc39/proposal-string-prototype-codepoints - __webpack_require__(7)({ target: 'String', proto: true }, { - codePoints: function codePoints() { - return new $StringIterator(String(requireObjectCoercible(this))); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var shared = __webpack_require__(33); + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + var isSymbol = __webpack_require__(21); + var wellKnownSymbol = __webpack_require__(32); + + var Symbol = getBuiltIn('Symbol'); + var $isWellKnownSymbol = Symbol.isWellKnownSymbol; + var getOwnPropertyNames = getBuiltIn('Object', 'getOwnPropertyNames'); + var thisSymbolValue = uncurryThis(Symbol.prototype.valueOf); + var WellKnownSymbolsStore = shared('wks'); + + for (var i = 0, symbolKeys = getOwnPropertyNames(Symbol), symbolKeysLength = symbolKeys.length; i < symbolKeysLength; i++) { + // some old engines throws on access to some keys like `arguments` or `caller` + try { + var symbolKey = symbolKeys[i]; + if (isSymbol(Symbol[symbolKey])) wellKnownSymbol(symbolKey); + } catch (error) { /* empty */ } + } + + // `Symbol.isWellKnownSymbol` method + // https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol + // We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected + module.exports = function isWellKnownSymbol(value) { + if ($isWellKnownSymbol && $isWellKnownSymbol(value)) return true; + try { + var symbol = thisSymbolValue(value); + for (var j = 0, keys = getOwnPropertyNames(WellKnownSymbolsStore), keysLength = keys.length; j < keysLength; j++) { + // eslint-disable-next-line eqeqeq -- polyfilled symbols case + if (WellKnownSymbolsStore[keys[j]] == symbol) return true; + } + } catch (error) { /* empty */ } + return false; + }; + + + /***/ }), /* 423 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createIteratorConstructor = __webpack_require__(104); - var requireObjectCoercible = __webpack_require__(14); - var toLength = __webpack_require__(36); - var aFunction = __webpack_require__(79); - var anObject = __webpack_require__(21); - var classof = __webpack_require__(98); - var getFlags = __webpack_require__(255); - var hide = __webpack_require__(19); - var speciesConstructor = __webpack_require__(136); - var advanceStringIndex = __webpack_require__(270); - var MATCH_ALL = __webpack_require__(43)('matchAll'); - var IS_PURE = __webpack_require__(6); - var REGEXP_STRING = 'RegExp String'; - var REGEXP_STRING_ITERATOR = REGEXP_STRING + ' Iterator'; - var InternalStateModule = __webpack_require__(26); - var setInternalState = InternalStateModule.set; - var getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR); - var RegExpPrototype = RegExp.prototype; - var regExpBuiltinExec = RegExpPrototype.exec; - - var regExpExec = function (R, S) { - var exec = R.exec; - var result; - if (typeof exec == 'function') { - result = exec.call(R, S); - if (typeof result != 'object') throw TypeError('Incorrect exec result'); - return result; - } return regExpBuiltinExec.call(R, S); - }; - - // eslint-disable-next-line max-len - var $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string, global, fullUnicode) { - setInternalState(this, { - type: REGEXP_STRING_ITERATOR, - regexp: regexp, - string: string, - global: global, - unicode: fullUnicode, - done: false - }); - }, REGEXP_STRING, function next() { - var state = getInternalState(this); - if (state.done) return { value: undefined, done: true }; - var R = state.regexp; - var S = state.string; - var match = regExpExec(R, S); - if (match === null) return { value: undefined, done: state.done = true }; - if (state.global) { - if (String(match[0]) == '') R.lastIndex = advanceStringIndex(S, toLength(R.lastIndex), state.unicode); - return { value: match, done: false }; - } - state.done = true; - return { value: match, done: false }; - }); - - var $matchAll = function (string) { - var R = anObject(this); - var S = String(string); - var C, flags, matcher, global, fullUnicode; - C = speciesConstructor(R, RegExp); - flags = 'flags' in RegExpPrototype ? String(R.flags) : getFlags.call(R); - matcher = new C(C === RegExp ? R.source : R, flags); - global = !!~flags.indexOf('g'); - fullUnicode = !!~flags.indexOf('u'); - matcher.lastIndex = toLength(R.lastIndex); - return new $RegExpStringIterator(matcher, S, global, fullUnicode); - }; - - // `String.prototype.matchAll` method - // https://github.com/tc39/proposal-string-matchall - __webpack_require__(7)({ target: 'String', proto: true }, { - matchAll: function matchAll(regexp) { - var O = requireObjectCoercible(this); - var S, matcher, rx; - if (regexp != null) { - matcher = regexp[MATCH_ALL]; - if (matcher === undefined && IS_PURE && classof(regexp) == 'RegExp') matcher = $matchAll; - if (matcher != null) return aFunction(matcher).call(regexp, O); - } - S = String(O); - rx = new RegExp(regexp, 'g'); - return IS_PURE ? $matchAll.call(rx, S) : rx[MATCH_ALL](S); - } - }); - - IS_PURE || MATCH_ALL in RegExpPrototype || hide(RegExpPrototype, MATCH_ALL, $matchAll); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isWellKnownSymbol = __webpack_require__(422); + + // `Symbol.isWellKnown` method + // obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol + // We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected + $({ target: 'Symbol', stat: true, name: 'isWellKnownSymbol', forced: true }, { + isWellKnown: isWellKnownSymbol + }); + + + /***/ }), /* 424 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var requireObjectCoercible = __webpack_require__(14); - var isRegExp = __webpack_require__(254); - var getRegExpFlags = __webpack_require__(255); - var ESCAPE_REGEXP = /[\\^$*+?.()|[\]{}]/g; - - // `String.prototype.replaceAll` method - // https://github.com/tc39/proposal-string-replace-all - __webpack_require__(7)({ target: 'String', proto: true }, { - replaceAll: function replaceAll(searchValue, replaceValue) { - var O = requireObjectCoercible(this); - var search, flags; - if (isRegExp(searchValue)) { - flags = getRegExpFlags.call(searchValue); - search = new RegExp(searchValue.source, ~flags.indexOf('g') ? flags : flags + 'g'); - } else { - search = new RegExp(String(searchValue).replace(ESCAPE_REGEXP, '\\$&'), 'g'); - } - return String(O).replace(search, replaceValue); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineWellKnownSymbol = __webpack_require__(414); + + // `Symbol.matcher` well-known symbol + // https://github.com/tc39/proposal-pattern-matching + defineWellKnownSymbol('matcher'); + + + /***/ }), /* 425 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.patternMatch` well-known symbol - // https://github.com/tc39/proposal-using-statement - __webpack_require__(46)('dispose'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineWellKnownSymbol = __webpack_require__(414); + + // `Symbol.metadata` well-known symbol + // https://github.com/tc39/proposal-decorators + defineWellKnownSymbol('metadata'); + + + /***/ }), /* 426 */ - /***/ (function (module, exports, __webpack_require__) { - - // https://github.com/tc39/proposal-observable - __webpack_require__(46)('observable'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var defineWellKnownSymbol = __webpack_require__(414); + + // `Symbol.metadataKey` well-known symbol + // https://github.com/tc39/proposal-decorator-metadata + defineWellKnownSymbol('metadataKey'); + + + /***/ }), /* 427 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.patternMatch` well-known symbol - // https://github.com/tc39/proposal-pattern-matching - __webpack_require__(46)('patternMatch'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineWellKnownSymbol = __webpack_require__(414); + + // `Symbol.observable` well-known symbol + // https://github.com/tc39/proposal-observable + defineWellKnownSymbol('observable'); + + + /***/ }), /* 428 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var collectionDeleteAll = __webpack_require__(350); - - // `WeakMap.prototype.deleteAll` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ - target: 'WeakMap', proto: true, real: true, forced: __webpack_require__(6) - }, { - deleteAll: function deleteAll(/* ...elements */) { - return collectionDeleteAll.apply(this, arguments); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var getBuiltIn = __webpack_require__(22); + var aConstructor = __webpack_require__(142); + var arrayFromAsync = __webpack_require__(195); + var ArrayBufferViewCore = __webpack_require__(181); + var arrayFromConstructorAndList = __webpack_require__(112); + + var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; + var exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod; + + // `%TypedArray%.fromAsync` method + // https://github.com/tc39/proposal-array-from-async + exportTypedArrayStaticMethod('fromAsync', function fromAsync(asyncItems /* , mapfn = undefined, thisArg = undefined */) { + var C = this; + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : undefined; + var thisArg = argumentsLength > 2 ? arguments[2] : undefined; + return new (getBuiltIn('Promise'))(function (resolve) { + aConstructor(C); + resolve(arrayFromAsync(asyncItems, mapfn, thisArg)); + }).then(function (list) { + return arrayFromConstructorAndList(aTypedArrayConstructor(C), list); + }); + }, true); + + + /***/ }), /* 429 */ - /***/ (function (module, exports, __webpack_require__) { - - // `WeakMap.from` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from - __webpack_require__(7)({ target: 'WeakMap', stat: true }, { - from: __webpack_require__(358) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var ArrayBufferViewCore = __webpack_require__(181); + var $filterReject = __webpack_require__(205).filterReject; + var fromSpeciesAndList = __webpack_require__(430); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.filterReject` method + // https://github.com/tc39/proposal-array-filtering + exportTypedArrayMethod('filterReject', function filterReject(callbackfn /* , thisArg */) { + var list = $filterReject(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return fromSpeciesAndList(this, list); + }, true); + + + /***/ }), /* 430 */ - /***/ (function (module, exports, __webpack_require__) { - - // `WeakMap.of` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of - __webpack_require__(7)({ target: 'WeakMap', stat: true }, { - of: __webpack_require__(368) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var arrayFromConstructorAndList = __webpack_require__(112); + var typedArraySpeciesConstructor = __webpack_require__(431); + + module.exports = function (instance, list) { + return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list); + }; + + + /***/ }), /* 431 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var collectionAddAll = __webpack_require__(402); - var IS_PURE = __webpack_require__(6); - - // `WeakSet.prototype.addAll` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'WeakSet', proto: true, real: true, forced: IS_PURE }, { - addAll: function addAll(/* ...elements */) { - return collectionAddAll.apply(this, arguments); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var ArrayBufferViewCore = __webpack_require__(181); + var speciesConstructor = __webpack_require__(141); + + var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + + // a part of `TypedArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#typedarray-species-create + module.exports = function (originalArray) { + return aTypedArrayConstructor(speciesConstructor(originalArray, getTypedArrayConstructor(originalArray))); + }; + + + /***/ }), /* 432 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var collectionDeleteAll = __webpack_require__(350); - var IS_PURE = __webpack_require__(6); - - // `WeakSet.prototype.deleteAll` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'WeakSet', proto: true, real: true, forced: IS_PURE }, { - deleteAll: function deleteAll(/* ...elements */) { - return collectionDeleteAll.apply(this, arguments); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var ArrayBufferViewCore = __webpack_require__(181); + var $group = __webpack_require__(209); + var typedArraySpeciesConstructor = __webpack_require__(431); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.groupBy` method + // https://github.com/tc39/proposal-array-grouping + exportTypedArrayMethod('groupBy', function groupBy(callbackfn /* , thisArg */) { + var thisArg = arguments.length > 1 ? arguments[1] : undefined; + return $group(aTypedArray(this), callbackfn, thisArg, typedArraySpeciesConstructor); + }, true); + + + /***/ }), /* 433 */ - /***/ (function (module, exports, __webpack_require__) { - - // `WeakSet.from` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from - __webpack_require__(7)({ target: 'WeakSet', stat: true }, { - from: __webpack_require__(358) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var ArrayBufferViewCore = __webpack_require__(181); + var lengthOfArrayLike = __webpack_require__(62); + var isBigIntArray = __webpack_require__(191); + var toAbsoluteIndex = __webpack_require__(59); + var toBigInt = __webpack_require__(192); + var toIntegerOrInfinity = __webpack_require__(60); + var fails = __webpack_require__(6); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var max = Math.max; + var min = Math.min; + + // some early implementations, like WebKit, does not follow the final semantic + var PROPER_ORDER = !fails(function () { + // eslint-disable-next-line es/no-typed-arrays -- required for testing + var array = new Int8Array([1]); + + var spliced = array.toSpliced(1, 0, { + valueOf: function () { + array[0] = 2; + return 3; + } + }); + + return spliced[0] !== 2 || spliced[1] !== 3; + }); + + // `%TypedArray%.prototype.toSpliced` method + // https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toSpliced + exportTypedArrayMethod('toSpliced', function toSpliced(start, deleteCount /* , ...items */) { + var O = aTypedArray(this); + var C = getTypedArrayConstructor(O); + var len = lengthOfArrayLike(O); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var k = 0; + var insertCount, actualDeleteCount, thisIsBigIntArray, convertedItems, value, newLen, A; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); + insertCount = argumentsLength - 2; + if (insertCount) { + convertedItems = new C(insertCount); + thisIsBigIntArray = isBigIntArray(convertedItems); + for (var i = 2; i < argumentsLength; i++) { + value = arguments[i]; + // FF30- typed arrays doesn't properly convert objects to typed array values + convertedItems[i - 2] = thisIsBigIntArray ? toBigInt(value) : +value; + } + } + } + newLen = len + insertCount - actualDeleteCount; + A = new C(newLen); + + for (; k < actualStart; k++) A[k] = O[k]; + for (; k < actualStart + insertCount; k++) A[k] = convertedItems[k - actualStart]; + for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount]; + + return A; + }, !PROPER_ORDER); + + + /***/ }), /* 434 */ - /***/ (function (module, exports, __webpack_require__) { - - // `WeakSet.of` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of - __webpack_require__(7)({ target: 'WeakSet', stat: true }, { - of: __webpack_require__(368) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var ArrayBufferViewCore = __webpack_require__(181); + var arrayFromConstructorAndList = __webpack_require__(112); + var $arrayUniqueBy = __webpack_require__(219); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var arrayUniqueBy = uncurryThis($arrayUniqueBy); + + // `%TypedArray%.prototype.uniqueBy` method + // https://github.com/tc39/proposal-array-unique + exportTypedArrayMethod('uniqueBy', function uniqueBy(resolver) { + aTypedArray(this); + return arrayFromConstructorAndList(getTypedArrayConstructor(this), arrayUniqueBy(this, resolver)); + }, true); + + + /***/ }), /* 435 */ - /***/ (function (module, exports, __webpack_require__) { - - var DOMIterables = __webpack_require__(436); - var forEach = __webpack_require__(90); - var hide = __webpack_require__(19); - var global = __webpack_require__(2); - - for (var COLLECTION_NAME in DOMIterables) { - var Collection = global[COLLECTION_NAME]; - var CollectionPrototype = Collection && Collection.prototype; - // some Chrome versions have non-configurable methods on DOMTokenList - if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try { - hide(CollectionPrototype, 'forEach', forEach); - } catch (e) { - CollectionPrototype.forEach = forEach; - } - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var uncurryThis = __webpack_require__(13); + var anObjectOrUndefined = __webpack_require__(436); + var aString = __webpack_require__(437); + var hasOwn = __webpack_require__(37); + var arrayFromConstructorAndList = __webpack_require__(112); + var base64Map = __webpack_require__(438); + var getAlphabetOption = __webpack_require__(439); + + var base64Alphabet = base64Map.c2i; + var base64UrlAlphabet = base64Map.c2iUrl; + + var Uint8Array = global.Uint8Array; + var SyntaxError = global.SyntaxError; + var charAt = uncurryThis(''.charAt); + var replace = uncurryThis(''.replace); + var stringSlice = uncurryThis(''.slice); + var push = uncurryThis([].push); + var SPACES = /[\t\n\f\r ]/g; + var EXTRA_BITS = 'Extra bits'; + + // `Uint8Array.fromBase64` method + // https://github.com/tc39/proposal-arraybuffer-base64 + if (Uint8Array) $({ target: 'Uint8Array', stat: true, forced: true }, { + fromBase64: function fromBase64(string /* , options */) { + aString(string); + var options = arguments.length > 1 ? anObjectOrUndefined(arguments[1]) : undefined; + var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet; + var strict = options ? !!options.strict : false; + + var input = strict ? string : replace(string, SPACES, ''); + + if (input.length % 4 === 0) { + if (stringSlice(input, -2) === '==') input = stringSlice(input, 0, -2); + else if (stringSlice(input, -1) === '=') input = stringSlice(input, 0, -1); + } else if (strict) throw new SyntaxError('Input is not correctly padded'); + + var lastChunkSize = input.length % 4; + + switch (lastChunkSize) { + case 1: throw new SyntaxError('Bad input length'); + case 2: input += 'AA'; break; + case 3: input += 'A'; + } + + var bytes = []; + var i = 0; + var inputLength = input.length; + + var at = function (shift) { + var chr = charAt(input, i + shift); + if (!hasOwn(alphabet, chr)) throw new SyntaxError('Bad char in input: "' + chr + '"'); + return alphabet[chr] << (18 - 6 * shift); + }; + + for (; i < inputLength; i += 4) { + var triplet = at(0) + at(1) + at(2) + at(3); + push(bytes, (triplet >> 16) & 255, (triplet >> 8) & 255, triplet & 255); + } + + var byteLength = bytes.length; + + if (lastChunkSize === 2) { + if (strict && bytes[byteLength - 2] !== 0) throw new SyntaxError(EXTRA_BITS); + byteLength -= 2; + } else if (lastChunkSize === 3) { + if (strict && bytes[byteLength - 1] !== 0) throw new SyntaxError(EXTRA_BITS); + byteLength--; + } + + return arrayFromConstructorAndList(Uint8Array, bytes, byteLength); + } + }); + + + /***/ }), /* 436 */ - /***/ (function (module, exports) { - - // iterable DOM collections - // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods - module.exports = { - CSSRuleList: 0, - CSSStyleDeclaration: 0, - CSSValueList: 0, - ClientRectList: 0, - DOMRectList: 0, - DOMStringList: 0, - DOMTokenList: 1, - DataTransferItemList: 0, - FileList: 0, - HTMLAllCollection: 0, - HTMLCollection: 0, - HTMLFormElement: 0, - HTMLSelectElement: 0, - MediaList: 0, - MimeTypeArray: 0, - NamedNodeMap: 0, - NodeList: 1, - PaintRequestList: 0, - Plugin: 0, - PluginArray: 0, - SVGLengthList: 0, - SVGNumberList: 0, - SVGPathSegList: 0, - SVGPointList: 0, - SVGStringList: 0, - SVGTransformList: 0, - SourceBufferList: 0, - StyleSheetList: 0, - TextTrackCueList: 0, - TextTrackList: 0, - TouchList: 0 - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isObject = __webpack_require__(19); + + var $String = String; + var $TypeError = TypeError; + + module.exports = function (argument) { + if (argument === undefined || isObject(argument)) return argument; + throw new $TypeError($String(argument) + ' is not an object or undefined'); + }; + + + /***/ }), /* 437 */ - /***/ (function (module, exports, __webpack_require__) { - - var DOMIterables = __webpack_require__(436); - var ArrayIteratorMethods = __webpack_require__(102); - var global = __webpack_require__(2); - var hide = __webpack_require__(19); - var wellKnownSymbol = __webpack_require__(43); - var ITERATOR = wellKnownSymbol('iterator'); - var TO_STRING_TAG = wellKnownSymbol('toStringTag'); - var ArrayValues = ArrayIteratorMethods.values; - - for (var COLLECTION_NAME in DOMIterables) { - var Collection = global[COLLECTION_NAME]; - var CollectionPrototype = Collection && Collection.prototype; - if (CollectionPrototype) { - // some Chrome versions have non-configurable methods on DOMTokenList - if (CollectionPrototype[ITERATOR] !== ArrayValues) try { - hide(CollectionPrototype, ITERATOR, ArrayValues); - } catch (e) { - CollectionPrototype[ITERATOR] = ArrayValues; - } - if (!CollectionPrototype[TO_STRING_TAG]) hide(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME); - if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) { - // some Chrome versions have non-configurable methods on DOMTokenList - if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try { - hide(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]); - } catch (e) { - CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME]; - } - } - } - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $TypeError = TypeError; + + module.exports = function (argument) { + if (typeof argument == 'string') return argument; + throw new $TypeError('Argument is not a string'); + }; + + + /***/ }), /* 438 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var task = __webpack_require__(232); - var FORCED = !global.setImmediate || !global.clearImmediate; - - __webpack_require__(7)({ global: true, bind: true, enumerable: true, forced: FORCED }, { - setImmediate: task.set, - clearImmediate: task.clear - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var commonAlphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; + var base64Alphabet = commonAlphabet + '+/'; + var base64UrlAlphabet = commonAlphabet + '-_'; + + var inverse = function (characters) { + // TODO: use `Object.create(null)` in `core-js@4` + var result = {}; + var index = 0; + for (; index < 64; index++) result[characters.charAt(index)] = index; + return result; + }; + + module.exports = { + i2c: base64Alphabet, + c2i: inverse(base64Alphabet), + i2cUrl: base64UrlAlphabet, + c2iUrl: inverse(base64UrlAlphabet) + }; + + + /***/ }), /* 439 */ - /***/ (function (module, exports, __webpack_require__) { - - // `queueMicrotask` method - // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask - var microtask = __webpack_require__(233); - var process = __webpack_require__(2).process; - var isNode = __webpack_require__(13)(process) == 'process'; - - __webpack_require__(7)({ global: true, enumerable: true, noTargetGet: true }, { - queueMicrotask: function queueMicrotask(fn) { - var domain = isNode && process.domain; - microtask(domain ? domain.bind(fn) : fn); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $TypeError = TypeError; + + module.exports = function (options) { + var alphabet = options && options.alphabet; + if (alphabet === undefined || alphabet === 'base64' || alphabet === 'base64url') return alphabet || 'base64'; + throw new $TypeError('Incorrect `alphabet` option'); + }; + + + /***/ }), /* 440 */ - /***/ (function (module, exports, __webpack_require__) { - - // ie9- setTimeout & setInterval additional parameters fix - var global = __webpack_require__(2); - var userAgent = __webpack_require__(234); - var slice = [].slice; - - var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check - - var wrap = function (set) { - return function (fn, time /* , ...args */) { - var boundArgs = arguments.length > 2; - var args = boundArgs ? slice.call(arguments, 2) : false; - return set(boundArgs ? function () { - // eslint-disable-next-line no-new-func - (typeof fn == 'function' ? fn : Function(fn)).apply(this, args); - } : fn, time); - }; - }; - - __webpack_require__(7)({ global: true, bind: true, forced: MSIE }, { - setTimeout: wrap(global.setTimeout), - setInterval: wrap(global.setInterval) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var uncurryThis = __webpack_require__(13); + var aString = __webpack_require__(437); + + var Uint8Array = global.Uint8Array; + var SyntaxError = global.SyntaxError; + var parseInt = global.parseInt; + var NOT_HEX = /[^\da-f]/i; + var exec = uncurryThis(NOT_HEX.exec); + var stringSlice = uncurryThis(''.slice); + + // `Uint8Array.fromHex` method + // https://github.com/tc39/proposal-arraybuffer-base64 + if (Uint8Array) $({ target: 'Uint8Array', stat: true, forced: true }, { + fromHex: function fromHex(string) { + aString(string); + var stringLength = string.length; + if (stringLength % 2) throw new SyntaxError('String should have an even number of characters'); + if (exec(NOT_HEX, string)) throw new SyntaxError('String should only contain hex characters'); + var result = new Uint8Array(stringLength / 2); + for (var i = 0; i < stringLength; i += 2) { + result[i / 2] = parseInt(stringSlice(string, i, i + 2), 16); + } + return result; + } + }); + + + /***/ }), /* 441 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - __webpack_require__(268); - // var DEBUG = true; - var DESCRIPTORS = __webpack_require__(4); - var USE_NATIVE_URL = __webpack_require__(442); - var NativeURL = __webpack_require__(2).URL; - var defineProperties = __webpack_require__(52); - var redefine = __webpack_require__(22); - var anInstance = __webpack_require__(132); - var has = __webpack_require__(3); - var assign = __webpack_require__(200); - var arrayFrom = __webpack_require__(93); - var codePointAt = __webpack_require__(262); - var toASCII = __webpack_require__(443); - var URLSearchParamsModule = __webpack_require__(444); - var URLSearchParams = URLSearchParamsModule.URLSearchParams; - var getInternalSearchParamsState = URLSearchParamsModule.getState; - var InternalStateModule = __webpack_require__(26); - var setInternalState = InternalStateModule.set; - var getInternalURLState = InternalStateModule.getterFor('URL'); - var pow = Math.pow; - - var INVALID_AUTHORITY = 'Invalid authority'; - var INVALID_SCHEME = 'Invalid scheme'; - var INVALID_HOST = 'Invalid host'; - var INVALID_PORT = 'Invalid port'; - - var ALPHA = /[a-zA-Z]/; - var ALPHANUMERIC = /[a-zA-Z0-9+\-.]/; - var DIGIT = /[0-9]/; - var HEX_START = /^(0x|0X)/; - var OCT = /^[0-7]+$/; - var DEC = /^[0-9]+$/; - var HEX = /^[0-9A-Fa-f]+$/; - // eslint-disable-next-line no-control-regex - var FORBIDDEN_HOST_CODE_POINT = /\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/; - // eslint-disable-next-line no-control-regex - var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/; - // eslint-disable-next-line no-control-regex - var LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE = /^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g; - // eslint-disable-next-line no-control-regex - var TAB_AND_NEW_LINE = /\u0009|\u000A|\u000D/g; - var EOF; - - var parseHost = function (url, input) { - var result, codePoints, i; - if (input.charAt(0) == '[') { - if (input.charAt(input.length - 1) != ']') return INVALID_HOST; - result = parseIPv6(input.slice(1, -1)); - if (!result) return INVALID_HOST; - url.host = result; - // opaque host - } else if (!isSpecial(url)) { - if (FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT.test(input)) return INVALID_HOST; - result = ''; - codePoints = arrayFrom(input); - for (i = 0; i < codePoints.length; i++) result += percentEncode(codePoints[i], C0ControlPercentEncodeSet); - url.host = result; - } else { - input = toASCII(input); - if (FORBIDDEN_HOST_CODE_POINT.test(input)) return INVALID_HOST; - result = parseIPv4(input); - if (result === null) return INVALID_HOST; - url.host = result; - } - }; - - var parseIPv4 = function (input) { - var parts = input.split('.'); - var partsLength, numbers, i, part, R, n, ipv4; - if (parts[parts.length - 1] == '') { - if (parts.length) parts.pop(); - } - partsLength = parts.length; - if (partsLength > 4) return input; - numbers = []; - for (i = 0; i < partsLength; i++) { - part = parts[i]; - if (part == '') return input; - R = 10; - if (part.length > 1 && part.charAt(0) == '0') { - R = HEX_START.test(part) ? 16 : 8; - part = part.slice(R == 8 ? 1 : 2); - } - if (part === '') { - n = 0; - } else { - if (!(R == 10 ? DEC : R == 8 ? OCT : HEX).test(part)) return input; - n = parseInt(part, R); - } - numbers.push(n); - } - for (i = 0; i < partsLength; i++) { - n = numbers[i]; - if (i == partsLength - 1) { - if (n >= pow(256, 5 - partsLength)) return null; - } else if (n > 255) return null; - } - ipv4 = numbers.pop(); - for (i = 0; i < numbers.length; i++) { - ipv4 += numbers[i] * pow(256, 3 - i); - } - return ipv4; - }; - - // eslint-disable-next-line max-statements - var parseIPv6 = function (input) { - var address = [0, 0, 0, 0, 0, 0, 0, 0]; - var pieceIndex = 0; - var compress = null; - var pointer = 0; - var value, length, numbersSeen, ipv4Piece, number, swaps, swap; - - var char = function () { - return input.charAt(pointer); - }; - - if (char() == ':') { - if (input.charAt(1) != ':') return; - pointer += 2; - pieceIndex++; - compress = pieceIndex; - } - while (char()) { - if (pieceIndex == 8) return; - if (char() == ':') { - if (compress !== null) return; - pointer++; - pieceIndex++; - compress = pieceIndex; - continue; - } - value = length = 0; - while (length < 4 && HEX.test(char())) { - value = value * 16 + parseInt(char(), 16); - pointer++; - length++; - } - if (char() == '.') { - if (length == 0) return; - pointer -= length; - if (pieceIndex > 6) return; - numbersSeen = 0; - while (char()) { - ipv4Piece = null; - if (numbersSeen > 0) { - if (char() == '.' && numbersSeen < 4) pointer++; - else return; - } - if (!DIGIT.test(char())) return; - while (DIGIT.test(char())) { - number = parseInt(char(), 10); - if (ipv4Piece === null) ipv4Piece = number; - else if (ipv4Piece == 0) return; - else ipv4Piece = ipv4Piece * 10 + number; - if (ipv4Piece > 255) return; - pointer++; - } - address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece; - numbersSeen++; - if (numbersSeen == 2 || numbersSeen == 4) pieceIndex++; - } - if (numbersSeen != 4) return; - break; - } else if (char() == ':') { - pointer++; - if (!char()) return; - } else if (char()) return; - address[pieceIndex++] = value; - } - if (compress !== null) { - swaps = pieceIndex - compress; - pieceIndex = 7; - while (pieceIndex != 0 && swaps > 0) { - swap = address[pieceIndex]; - address[pieceIndex--] = address[compress + swaps - 1]; - address[compress + --swaps] = swap; - } - } else if (pieceIndex != 8) return; - return address; - }; - - var findLongestZeroSequence = function (ipv6) { - var maxIndex = null; - var maxLength = 1; - var currStart = null; - var currLength = 0; - var i = 0; - for (; i < 8; i++) { - if (ipv6[i] !== 0) { - if (currLength > maxLength) { - maxIndex = currStart; - maxLength = currLength; - } - currStart = null; - currLength = 0; - } else { - if (currStart === null) currStart = i; - ++currLength; - } - } - if (currLength > maxLength) { - maxIndex = currStart; - maxLength = currLength; - } - return maxIndex; - }; - - var serializeHost = function (host) { - var result, i, compress, ignore0; - // ipv4 - if (typeof host == 'number') { - result = []; - for (i = 0; i < 4; i++) { - result.unshift(host % 256); - host = Math.floor(host / 256); - } return result.join('.'); - // ipv6 - } else if (typeof host == 'object') { - result = ''; - compress = findLongestZeroSequence(host); - for (i = 0; i < 8; i++) { - if (ignore0 && host[i] === 0) continue; - if (ignore0) ignore0 = false; - if (compress === i) { - result += i ? ':' : '::'; - ignore0 = true; - } else { - result += host[i].toString(16); - if (i < 7) result += ':'; - } - } - return '[' + result + ']'; - } return host; - }; - - var C0ControlPercentEncodeSet = {}; - var fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, { - ' ': 1, '"': 1, '<': 1, '>': 1, '`': 1 - }); - var pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, { - '#': 1, '?': 1, '{': 1, '}': 1 - }); - var userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, { - '/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\': 1, ']': 1, '^': 1, '|': 1 - }); - - var percentEncode = function (char, set) { - var code = codePointAt(char, 0); - return code > 0x20 && code < 0x7F && !has(set, char) ? char : encodeURIComponent(char); - }; - - var specialSchemes = { - ftp: 21, - file: null, - gopher: 70, - http: 80, - https: 443, - ws: 80, - wss: 443 - }; - - var isSpecial = function (url) { - return has(specialSchemes, url.scheme); - }; - - var includesCredentials = function (url) { - return url.username != '' || url.password != ''; - }; - - var cannotHaveUsernamePasswordPort = function (url) { - return !url.host || url.cannotBeABaseURL || url.scheme == 'file'; - }; - - var isWindowsDriveLetter = function (string, normalized) { - var second; - return string.length == 2 && ALPHA.test(string.charAt(0)) - && ((second = string.charAt(1)) == ':' || (!normalized && second == '|')); - }; - - var startsWithWindowsDriveLetter = function (string) { - var third; - return string.length > 1 && isWindowsDriveLetter(string.slice(0, 2)) && ( - string.length == 2 || - ((third = string.charAt(2)) === '/' || third === '\\' || third === '?' || third === '#') - ); - }; - - var shortenURLsPath = function (url) { - var path = url.path; - var pathSize = path.length; - if (pathSize && (url.scheme != 'file' || pathSize != 1 || !isWindowsDriveLetter(path[0], true))) { - path.pop(); - } - }; - - var isSingleDot = function (segment) { - return segment === '.' || segment.toLowerCase() === '%2e'; - }; - - var isDoubleDot = function (segment) { - segment = segment.toLowerCase(); - return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e'; - }; - - // States: - var SCHEME_START = {}; // 'SCHEME_START'; - var SCHEME = {}; // 'SCHEME'; - var NO_SCHEME = {}; // 'NO_SCHEME'; - var SPECIAL_RELATIVE_OR_AUTHORITY = {}; // 'SPECIAL_RELATIVE_OR_AUTHORITY'; - var PATH_OR_AUTHORITY = {}; // 'PATH_OR_AUTHORITY'; - var RELATIVE = {}; // 'RELATIVE'; - var RELATIVE_SLASH = {}; // 'RELATIVE_SLASH'; - var SPECIAL_AUTHORITY_SLASHES = {}; // 'SPECIAL_AUTHORITY_SLASHES'; - var SPECIAL_AUTHORITY_IGNORE_SLASHES = {}; // 'SPECIAL_AUTHORITY_IGNORE_SLASHES'; - var AUTHORITY = {}; // 'AUTHORITY'; - var HOST = {}; // 'HOST'; - var HOSTNAME = {}; // 'HOSTNAME'; - var PORT = {}; // 'PORT'; - var FILE = {}; // 'FILE'; - var FILE_SLASH = {}; // 'FILE_SLASH'; - var FILE_HOST = {}; // 'FILE_HOST'; - var PATH_START = {}; // 'PATH_START'; - var PATH = {}; // 'PATH'; - var CANNOT_BE_A_BASE_URL_PATH = {}; // 'CANNOT_BE_A_BASE_URL_PATH'; - var QUERY = {}; // 'QUERY'; - var FRAGMENT = {}; // 'FRAGMENT'; - - // eslint-disable-next-line max-statements - var parseURL = function (url, input, stateOverride, base) { - var state = stateOverride || SCHEME_START; - var pointer = 0; - var buffer = ''; - var seenAt = false; - var seenBracket = false; - var seenPasswordToken = false; - var codePoints, char, bufferCodePoints, failure; - - if (!stateOverride) { - url.scheme = ''; - url.username = ''; - url.password = ''; - url.host = null; - url.port = null; - url.path = []; - url.query = null; - url.fragment = null; - url.cannotBeABaseURL = false; - input = input.replace(LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE, ''); - } - - input = input.replace(TAB_AND_NEW_LINE, ''); - - codePoints = arrayFrom(input); - - while (pointer <= codePoints.length) { - char = codePoints[pointer]; - // eslint-disable-next-line - // if (DEBUG) console.log(pointer, char, state, buffer); - switch (state) { - case SCHEME_START: - if (char && ALPHA.test(char)) { - buffer += char.toLowerCase(); - state = SCHEME; - } else if (!stateOverride) { - state = NO_SCHEME; - continue; - } else return INVALID_SCHEME; - break; - - case SCHEME: - if (char && (ALPHANUMERIC.test(char) || char == '+' || char == '-' || char == '.')) { - buffer += char.toLowerCase(); - } else if (char == ':') { - if (stateOverride) { - if ( - (isSpecial(url) != has(specialSchemes, buffer)) || - (buffer == 'file' && (includesCredentials(url) || url.port !== null)) || - (url.scheme == 'file' && !url.host) - ) return; - } - url.scheme = buffer; - if (stateOverride) { - if (isSpecial(url) && specialSchemes[url.scheme] == url.port) url.port = null; - return; - } - buffer = ''; - if (url.scheme == 'file') { - state = FILE; - } else if (isSpecial(url) && base && base.scheme == url.scheme) { - state = SPECIAL_RELATIVE_OR_AUTHORITY; - } else if (isSpecial(url)) { - state = SPECIAL_AUTHORITY_SLASHES; - } else if (codePoints[pointer + 1] == '/') { - state = PATH_OR_AUTHORITY; - pointer++; - } else { - url.cannotBeABaseURL = true; - url.path.push(''); - state = CANNOT_BE_A_BASE_URL_PATH; - } - } else if (!stateOverride) { - buffer = ''; - state = NO_SCHEME; - pointer = 0; - continue; - } else return INVALID_SCHEME; - break; - - case NO_SCHEME: - if (!base || (base.cannotBeABaseURL && char != '#')) return INVALID_SCHEME; - if (base.cannotBeABaseURL && char == '#') { - url.scheme = base.scheme; - url.path = base.path.slice(); - url.query = base.query; - url.fragment = ''; - url.cannotBeABaseURL = true; - state = FRAGMENT; - break; - } - state = base.scheme == 'file' ? FILE : RELATIVE; - continue; - - case SPECIAL_RELATIVE_OR_AUTHORITY: - if (char == '/' && codePoints[pointer + 1] == '/') { - state = SPECIAL_AUTHORITY_IGNORE_SLASHES; - pointer++; - } else { - state = RELATIVE; - continue; - } break; - - case PATH_OR_AUTHORITY: - if (char == '/') { - state = AUTHORITY; - break; - } else { - state = PATH; - continue; - } - - case RELATIVE: - url.scheme = base.scheme; - if (char == EOF) { - url.username = base.username; - url.password = base.password; - url.host = base.host; - url.port = base.port; - url.path = base.path.slice(); - url.query = base.query; - } else if (char == '/' || (char == '\\' && isSpecial(url))) { - state = RELATIVE_SLASH; - } else if (char == '?') { - url.username = base.username; - url.password = base.password; - url.host = base.host; - url.port = base.port; - url.path = base.path.slice(); - url.query = ''; - state = QUERY; - } else if (char == '#') { - url.username = base.username; - url.password = base.password; - url.host = base.host; - url.port = base.port; - url.path = base.path.slice(); - url.query = base.query; - url.fragment = ''; - state = FRAGMENT; - } else { - url.username = base.username; - url.password = base.password; - url.host = base.host; - url.port = base.port; - url.path = base.path.slice(); - url.path.pop(); - state = PATH; - continue; - } break; - - case RELATIVE_SLASH: - if (isSpecial(url) && (char == '/' || char == '\\')) { - state = SPECIAL_AUTHORITY_IGNORE_SLASHES; - } else if (char == '/') { - state = AUTHORITY; - } else { - url.username = base.username; - url.password = base.password; - url.host = base.host; - url.port = base.port; - state = PATH; - continue; - } break; - - case SPECIAL_AUTHORITY_SLASHES: - state = SPECIAL_AUTHORITY_IGNORE_SLASHES; - if (char != '/' || buffer.charAt(pointer + 1) != '/') continue; - pointer++; - break; - - case SPECIAL_AUTHORITY_IGNORE_SLASHES: - if (char != '/' && char != '\\') { - state = AUTHORITY; - continue; - } break; - - case AUTHORITY: - if (char == '@') { - if (seenAt) buffer = '%40' + buffer; - seenAt = true; - bufferCodePoints = arrayFrom(buffer); - for (var i = 0; i < bufferCodePoints.length; i++) { - var codePoint = bufferCodePoints[i]; - if (codePoint == ':' && !seenPasswordToken) { - seenPasswordToken = true; - continue; - } - var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet); - if (seenPasswordToken) url.password += encodedCodePoints; - else url.username += encodedCodePoints; - } - buffer = ''; - } else if ( - char == EOF || char == '/' || char == '?' || char == '#' || - (char == '\\' && isSpecial(url)) - ) { - if (seenAt && buffer == '') return INVALID_AUTHORITY; - pointer -= arrayFrom(buffer).length + 1; - buffer = ''; - state = HOST; - } else buffer += char; - break; - - case HOST: - case HOSTNAME: - if (stateOverride && url.scheme == 'file') { - state = FILE_HOST; - continue; - } else if (char == ':' && !seenBracket) { - if (buffer == '') return INVALID_HOST; - failure = parseHost(url, buffer); - if (failure) return failure; - buffer = ''; - state = PORT; - if (stateOverride == HOSTNAME) return; - } else if ( - char == EOF || char == '/' || char == '?' || char == '#' || - (char == '\\' && isSpecial(url)) - ) { - if (isSpecial(url) && buffer == '') return INVALID_HOST; - if (stateOverride && buffer == '' && (includesCredentials(url) || url.port !== null)) return; - failure = parseHost(url, buffer); - if (failure) return failure; - buffer = ''; - state = PATH_START; - if (stateOverride) return; - continue; - } else { - if (char == '[') seenBracket = true; - else if (char == ']') seenBracket = false; - buffer += char; - } break; - - case PORT: - if (DIGIT.test(char)) { - buffer += char; - } else if ( - char == EOF || char == '/' || char == '?' || char == '#' || - (char == '\\' && isSpecial(url)) || - stateOverride - ) { - if (buffer != '') { - var port = parseInt(buffer, 10); - if (port > 0xffff) return INVALID_PORT; - url.port = (isSpecial(url) && port === specialSchemes[url.scheme]) ? null : port; - buffer = ''; - } - if (stateOverride) return; - state = PATH_START; - continue; - } else return INVALID_PORT; - break; - - case FILE: - url.scheme = 'file'; - if (char == '/' || char == '\\') state = FILE_SLASH; - else if (base && base.scheme == 'file') { - if (char == EOF) { - url.host = base.host; - url.path = base.path.slice(); - url.query = base.query; - } else if (char == '?') { - url.host = base.host; - url.path = base.path.slice(); - url.query = ''; - state = QUERY; - } else if (char == '#') { - url.host = base.host; - url.path = base.path.slice(); - url.query = base.query; - url.fragment = ''; - state = FRAGMENT; - } else { - if (!startsWithWindowsDriveLetter(codePoints.slice(pointer).join(''))) { - url.host = base.host; - url.path = base.path.slice(); - shortenURLsPath(url); - } - state = PATH; - continue; - } - } else { - state = PATH; - continue; - } break; - - case FILE_SLASH: - if (char == '/' || char == '\\') { - state = FILE_HOST; - break; - } - if (base && base.scheme == 'file' && !startsWithWindowsDriveLetter(codePoints.slice(pointer).join(''))) { - if (isWindowsDriveLetter(base.path[0], true)) url.path.push(base.path[0]); - else url.host = base.host; - } - state = PATH; - continue; - - case FILE_HOST: - if (char == EOF || char == '/' || char == '\\' || char == '?' || char == '#') { - if (!stateOverride && isWindowsDriveLetter(buffer)) { - state = PATH; - } else if (buffer == '') { - url.host = ''; - if (stateOverride) return; - state = PATH_START; - } else { - failure = parseHost(url, buffer); - if (failure) return failure; - if (url.host == 'localhost') url.host = ''; - if (stateOverride) return; - buffer = ''; - state = PATH_START; - } continue; - } else buffer += char; - break; - - case PATH_START: - if (isSpecial(url)) { - state = PATH; - if (char != '/' && char != '\\') continue; - } else if (!stateOverride && char == '?') { - url.query = ''; - state = QUERY; - } else if (!stateOverride && char == '#') { - url.fragment = ''; - state = FRAGMENT; - } else if (char != EOF) { - state = PATH; - if (char != '/') continue; - } break; - - case PATH: - if ( - char == EOF || char == '/' || - (char == '\\' && isSpecial(url)) || - (!stateOverride && (char == '?' || char == '#')) - ) { - if (isDoubleDot(buffer)) { - shortenURLsPath(url); - if (char != '/' && !(char == '\\' && isSpecial(url))) { - url.path.push(''); - } - } else if (isSingleDot(buffer)) { - if (char != '/' && !(char == '\\' && isSpecial(url))) { - url.path.push(''); - } - } else { - if (url.scheme == 'file' && !url.path.length && isWindowsDriveLetter(buffer)) { - if (url.host) url.host = ''; - buffer = buffer.charAt(0) + ':'; // normalize windows drive letter - } - url.path.push(buffer); - } - buffer = ''; - if (url.scheme == 'file' && (char == EOF || char == '?' || char == '#')) { - while (url.path.length > 1 && url.path[0] === '') { - url.path.shift(); - } - } - if (char == '?') { - url.query = ''; - state = QUERY; - } else if (char == '#') { - url.fragment = ''; - state = FRAGMENT; - } - } else { - buffer += percentEncode(char, pathPercentEncodeSet); - } break; - - case CANNOT_BE_A_BASE_URL_PATH: - if (char == '?') { - url.query = ''; - state = QUERY; - } else if (char == '#') { - url.fragment = ''; - state = FRAGMENT; - } else if (char != EOF) { - url.path[0] += percentEncode(char, C0ControlPercentEncodeSet); - } break; - - case QUERY: - if (!stateOverride && char == '#') { - url.fragment = ''; - state = FRAGMENT; - } else if (char != EOF) { - if (char == "'" && isSpecial(url)) url.query += '%27'; - else if (char == '#') url.query += '%23'; - else url.query += percentEncode(char, C0ControlPercentEncodeSet); - } break; - - case FRAGMENT: - if (char != EOF) url.fragment += percentEncode(char, fragmentPercentEncodeSet); - break; - } - - pointer++; - } - }; - - // `URL` constructor - // https://url.spec.whatwg.org/#url-class - var URLConstructor = function URL(url /* , base */) { - var that = anInstance(this, URLConstructor, 'URL'); - var base = arguments.length > 1 ? arguments[1] : undefined; - var urlString = String(url); - var state = setInternalState(that, { type: 'URL' }); - var baseState, failure; - // if (DEBUG) this.state = state; - if (base !== undefined) { - if (base instanceof URLConstructor) baseState = getInternalURLState(base); - else { - failure = parseURL(baseState = {}, String(base)); - if (failure) throw TypeError(failure); - } - } - failure = parseURL(state, urlString, null, baseState); - if (failure) throw TypeError(failure); - var searchParams = state.searchParams = new URLSearchParams(); - var searchParamsState = getInternalSearchParamsState(searchParams); - searchParamsState.updateSearchParams(state.query); - searchParamsState.updateURL = function () { - state.query = String(searchParams) || null; - }; - if (!DESCRIPTORS) { - that.href = serializeURL.call(that); - that.origin = getOrigin.call(that); - that.protocol = getProtocol.call(that); - that.username = getUsername.call(that); - that.password = getPassword.call(that); - that.host = getHost.call(that); - that.hostname = getHostname.call(that); - that.port = getPort.call(that); - that.pathname = getPathname.call(that); - that.search = getSearch.call(that); - that.searchParams = getSearchParams.call(that); - that.hash = getHash.call(that); - } - }; - - var URLPrototype = URLConstructor.prototype; - - var serializeURL = function () { - var url = getInternalURLState(this); - var scheme = url.scheme; - var username = url.username; - var password = url.password; - var host = url.host; - var port = url.port; - var path = url.path; - var query = url.query; - var fragment = url.fragment; - var output = scheme + ':'; - if (host !== null) { - output += '//'; - if (includesCredentials(url)) { - output += username + (password ? ':' + password : '') + '@'; - } - output += serializeHost(host); - if (port !== null) output += ':' + port; - } else if (scheme == 'file') output += '//'; - output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + path.join('/') : ''; - if (query !== null) output += '?' + query; - if (fragment !== null) output += '#' + fragment; - return output; - }; - - var getOrigin = function () { - var url = getInternalURLState(this); - var scheme = url.scheme; - var port = url.port; - if (scheme == 'blob') try { - return new URL(scheme.path[0]).origin; - } catch (e) { - return 'null'; - } - if (scheme == 'file' || !isSpecial(url)) return 'null'; - return scheme + '://' + serializeHost(url.host) + (port !== null ? ':' + port : ''); - }; - - var getProtocol = function () { - return getInternalURLState(this).scheme + ':'; - }; - - var getUsername = function () { - return getInternalURLState(this).username; - }; - - var getPassword = function () { - return getInternalURLState(this).password; - }; - - var getHost = function () { - var url = getInternalURLState(this); - var host = url.host; - var port = url.port; - return host === null ? '' - : port === null ? serializeHost(host) - : serializeHost(host) + ':' + port; - }; - - var getHostname = function () { - var host = getInternalURLState(this).host; - return host === null ? '' : serializeHost(host); - }; - - var getPort = function () { - var port = getInternalURLState(this).port; - return port === null ? '' : String(port); - }; - - var getPathname = function () { - var url = getInternalURLState(this); - var path = url.path; - return url.cannotBeABaseURL ? path[0] : path.length ? '/' + path.join('/') : ''; - }; - - var getSearch = function () { - var query = getInternalURLState(this).query; - return query ? '?' + query : ''; - }; - - var getSearchParams = function () { - return getInternalURLState(this).searchParams; - }; - - var getHash = function () { - var fragment = getInternalURLState(this).fragment; - return fragment ? '#' + fragment : ''; - }; - - var accessorDescriptor = function (getter, setter) { - return { get: getter, set: setter, configurable: true, enumerable: true }; - }; - - if (DESCRIPTORS) { - defineProperties(URLPrototype, { - // `URL.prototype.href` accessors pair - // https://url.spec.whatwg.org/#dom-url-href - href: accessorDescriptor(serializeURL, function (href) { - var url = getInternalURLState(this); - var urlString = String(href); - var failure = parseURL(url, urlString); - if (failure) throw TypeError(failure); - getInternalSearchParamsState(url.searchParams).updateSearchParams(url.query); - }), - // `URL.prototype.origin` getter - // https://url.spec.whatwg.org/#dom-url-origin - origin: accessorDescriptor(getOrigin), - // `URL.prototype.protocol` accessors pair - // https://url.spec.whatwg.org/#dom-url-protocol - protocol: accessorDescriptor(getProtocol, function (protocol) { - var url = getInternalURLState(this); - parseURL(url, String(protocol) + ':', SCHEME_START); - }), - // `URL.prototype.username` accessors pair - // https://url.spec.whatwg.org/#dom-url-username - username: accessorDescriptor(getUsername, function (username) { - var url = getInternalURLState(this); - var codePoints = arrayFrom(String(username)); - if (cannotHaveUsernamePasswordPort(url)) return; - url.username = ''; - for (var i = 0; i < codePoints.length; i++) { - url.username += percentEncode(codePoints[i], userinfoPercentEncodeSet); - } - }), - // `URL.prototype.password` accessors pair - // https://url.spec.whatwg.org/#dom-url-password - password: accessorDescriptor(getPassword, function (password) { - var url = getInternalURLState(this); - var codePoints = arrayFrom(String(password)); - if (cannotHaveUsernamePasswordPort(url)) return; - url.password = ''; - for (var i = 0; i < codePoints.length; i++) { - url.password += percentEncode(codePoints[i], userinfoPercentEncodeSet); - } - }), - // `URL.prototype.host` accessors pair - // https://url.spec.whatwg.org/#dom-url-host - host: accessorDescriptor(getHost, function (host) { - var url = getInternalURLState(this); - if (url.cannotBeABaseURL) return; - parseURL(url, String(host), HOST); - }), - // `URL.prototype.hostname` accessors pair - // https://url.spec.whatwg.org/#dom-url-hostname - hostname: accessorDescriptor(getHostname, function (hostname) { - var url = getInternalURLState(this); - if (url.cannotBeABaseURL) return; - parseURL(url, String(hostname), HOSTNAME); - }), - // `URL.prototype.port` accessors pair - // https://url.spec.whatwg.org/#dom-url-port - port: accessorDescriptor(getPort, function (port) { - var url = getInternalURLState(this); - if (cannotHaveUsernamePasswordPort(url)) return; - port = String(port); - if (port == '') url.port = null; - else parseURL(url, port, PORT); - }), - // `URL.prototype.pathname` accessors pair - // https://url.spec.whatwg.org/#dom-url-pathname - pathname: accessorDescriptor(getPathname, function (pathname) { - var url = getInternalURLState(this); - if (url.cannotBeABaseURL) return; - url.path = []; - parseURL(url, pathname + '', PATH_START); - }), - // `URL.prototype.search` accessors pair - // https://url.spec.whatwg.org/#dom-url-search - search: accessorDescriptor(getSearch, function (search) { - var url = getInternalURLState(this); - search = String(search); - if (search == '') { - url.query = null; - } else { - if ('?' == search.charAt(0)) search = search.slice(1); - url.query = ''; - parseURL(url, search, QUERY); - } - getInternalSearchParamsState(url.searchParams).updateSearchParams(url.query); - }), - // `URL.prototype.searchParams` getter - // https://url.spec.whatwg.org/#dom-url-searchparams - searchParams: accessorDescriptor(getSearchParams), - // `URL.prototype.hash` accessors pair - // https://url.spec.whatwg.org/#dom-url-hash - hash: accessorDescriptor(getHash, function (hash) { - var url = getInternalURLState(this); - hash = String(hash); - if (hash == '') { - url.fragment = null; - return; - } - if ('#' == hash.charAt(0)) hash = hash.slice(1); - url.fragment = ''; - parseURL(url, hash, FRAGMENT); - }) - }); - } - - // `URL.prototype.toJSON` method - // https://url.spec.whatwg.org/#dom-url-tojson - redefine(URLPrototype, 'toJSON', function toJSON() { - return serializeURL.call(this); - }, { enumerable: true }); - - // `URL.prototype.toString` method - // https://url.spec.whatwg.org/#URL-stringification-behavior - redefine(URLPrototype, 'toString', function toString() { - return serializeURL.call(this); - }, { enumerable: true }); - - if (NativeURL) { - var nativeCreateObjectURL = NativeURL.createObjectURL; - var nativeRevokeObjectURL = NativeURL.revokeObjectURL; - // `URL.createObjectURL` method - // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL - // eslint-disable-next-line no-unused-vars - if (nativeCreateObjectURL) redefine(URLConstructor, 'createObjectURL', function createObjectURL(blob) { - return nativeCreateObjectURL.apply(NativeURL, arguments); - }); - // `URL.revokeObjectURL` method - // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL - // eslint-disable-next-line no-unused-vars - if (nativeRevokeObjectURL) redefine(URLConstructor, 'revokeObjectURL', function revokeObjectURL(url) { - return nativeRevokeObjectURL.apply(NativeURL, arguments); - }); - } - - __webpack_require__(42)(URLConstructor, 'URL'); - - __webpack_require__(7)({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, { - URL: URLConstructor - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var uncurryThis = __webpack_require__(13); + var anObjectOrUndefined = __webpack_require__(436); + var anUint8Array = __webpack_require__(442); + var base64Map = __webpack_require__(438); + var getAlphabetOption = __webpack_require__(439); + + var base64Alphabet = base64Map.i2c; + var base64UrlAlphabet = base64Map.i2cUrl; + + var Uint8Array = global.Uint8Array; + var charAt = uncurryThis(''.charAt); + + // `Uint8Array.prototype.toBase64` method + // https://github.com/tc39/proposal-arraybuffer-base64 + if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: true }, { + toBase64: function toBase64(/* options */) { + var array = anUint8Array(this); + var options = arguments.length ? anObjectOrUndefined(arguments[0]) : undefined; + var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet; + + var result = ''; + var i = 0; + var length = array.length; + var triplet; + + var at = function (shift) { + return charAt(alphabet, (triplet >> (6 * shift)) & 63); + }; + + for (; i + 2 < length; i += 3) { + triplet = (array[i] << 16) + (array[i + 1] << 8) + array[i + 2]; + result += at(3) + at(2) + at(1) + at(0); + } + if (i + 2 === length) { + triplet = (array[i] << 16) + (array[i + 1] << 8); + result += at(3) + at(2) + at(1) + '='; + } else if (i + 1 === length) { + triplet = array[i] << 16; + result += at(3) + at(2) + '=='; + } + + return result; + } + }); + + + /***/ }), /* 442 */ - /***/ (function (module, exports, __webpack_require__) { - - var IS_PURE = __webpack_require__(6); - var ITERATOR = __webpack_require__(43)('iterator'); - - module.exports = !__webpack_require__(5)(function () { - var url = new URL('b?e=1', 'http://a'); - var searchParams = url.searchParams; - url.pathname = 'c%20d'; - return (IS_PURE && !url.toJSON) - || !searchParams.sort - || url.href !== 'http://a/c%20d?e=1' - || searchParams.get('e') !== '1' - || String(new URLSearchParams('?a=1')) !== 'a=1' - || !searchParams[ITERATOR] - // throws in Edge - || new URL('https://a@b').username !== 'a' - || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b' - // not punycoded in Edge - || new URL('http://тест').host !== 'xn--e1aybc' - // not escaped in Chrome 62- - || new URL('http://a#б').hash !== '#%D0%B1'; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classof = __webpack_require__(77); + + var $TypeError = TypeError; + + // Perform ? RequireInternalSlot(argument, [[TypedArrayName]]) + // If argument.[[TypedArrayName]] is not "Uint8Array", throw a TypeError exception + module.exports = function (argument) { + if (classof(argument) === 'Uint8Array') return argument; + throw new $TypeError('Argument is not an Uint8Array'); + }; + + + /***/ }), /* 443 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js - var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1 - var base = 36; - var tMin = 1; - var tMax = 26; - var skew = 38; - var damp = 700; - var initialBias = 72; - var initialN = 128; // 0x80 - var delimiter = '-'; // '\x2D' - var regexNonASCII = /[^\0-\x7E]/; // non-ASCII chars - var regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g; // RFC 3490 separators - var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process'; - var baseMinusTMin = base - tMin; - var floor = Math.floor; - var stringFromCharCode = String.fromCharCode; - - /** - * Creates an array containing the numeric code points of each Unicode - * character in the string. While JavaScript uses UCS-2 internally, - * this function will convert a pair of surrogate halves (each of which - * UCS-2 exposes as separate characters) into a single code point, - * matching UTF-16. - */ - var ucs2decode = function (string) { - var output = []; - var counter = 0; - var length = string.length; - while (counter < length) { - var value = string.charCodeAt(counter++); - if (value >= 0xD800 && value <= 0xDBFF && counter < length) { - // It's a high surrogate, and there is a next character. - var extra = string.charCodeAt(counter++); - if ((extra & 0xFC00) == 0xDC00) { // Low surrogate. - output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); - } else { - // It's an unmatched surrogate; only append this code unit, in case the - // next code unit is the high surrogate of a surrogate pair. - output.push(value); - counter--; - } - } else { - output.push(value); - } - } - return output; - }; - - /** - * Converts a digit/integer into a basic code point. - */ - var digitToBasic = function (digit) { - // 0..25 map to ASCII a..z or A..Z - // 26..35 map to ASCII 0..9 - return digit + 22 + 75 * (digit < 26); - }; - - /** - * Bias adaptation function as per section 3.4 of RFC 3492. - * https://tools.ietf.org/html/rfc3492#section-3.4 - */ - var adapt = function (delta, numPoints, firstTime) { - var k = 0; - delta = firstTime ? floor(delta / damp) : delta >> 1; - delta += floor(delta / numPoints); - for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) { - delta = floor(delta / baseMinusTMin); - } - return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); - }; - - /** - * Converts a string of Unicode symbols (e.g. a domain name label) to a - * Punycode string of ASCII-only symbols. - */ - // eslint-disable-next-line max-statements - var encode = function (input) { - var output = []; - - // Convert the input in UCS-2 to an array of Unicode code points. - input = ucs2decode(input); - - // Cache the length. - var inputLength = input.length; - - // Initialize the state. - var n = initialN; - var delta = 0; - var bias = initialBias; - var i, currentValue; - - // Handle the basic code points. - for (i = 0; i < input.length; i++) { - currentValue = input[i]; - if (currentValue < 0x80) { - output.push(stringFromCharCode(currentValue)); - } - } - - var basicLength = output.length; // number of basic code points. - var handledCPCount = basicLength; // number of code points that have been handled; - - // Finish the basic string with a delimiter unless it's empty. - if (basicLength) { - output.push(delimiter); - } - - // Main encoding loop: - while (handledCPCount < inputLength) { - // All non-basic code points < n have been handled already. Find the next larger one: - var m = maxInt; - for (i = 0; i < input.length; i++) { - currentValue = input[i]; - if (currentValue >= n && currentValue < m) { - m = currentValue; - } - } - - // Increase `delta` enough to advance the decoder's state to , but guard against overflow. - var handledCPCountPlusOne = handledCPCount + 1; - if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { - throw RangeError(OVERFLOW_ERROR); - } - - delta += (m - n) * handledCPCountPlusOne; - n = m; - - for (i = 0; i < input.length; i++) { - currentValue = input[i]; - if (currentValue < n && ++delta > maxInt) { - throw RangeError(OVERFLOW_ERROR); - } - if (currentValue == n) { - // Represent delta as a generalized variable-length integer. - var q = delta; - for (var k = base; /* no condition */; k += base) { - var t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); - if (q < t) { - break; - } - var qMinusT = q - t; - var baseMinusT = base - t; - output.push(stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT))); - q = floor(qMinusT / baseMinusT); - } - - output.push(stringFromCharCode(digitToBasic(q))); - bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength); - delta = 0; - ++handledCPCount; - } - } - - ++delta; - ++n; - } - return output.join(''); - }; - - module.exports = function (input) { - var encoded = []; - var labels = input.toLowerCase().replace(regexSeparators, '\x2E').split('.'); - var i, label; - for (i = 0; i < labels.length; i++) { - label = labels[i]; - encoded.push(regexNonASCII.test(label) ? 'xn--' + encode(label) : label); - } - return encoded.join('.'); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var uncurryThis = __webpack_require__(13); + var anUint8Array = __webpack_require__(442); + + var Uint8Array = global.Uint8Array; + var numberToString = uncurryThis(1.0.toString); + + // `Uint8Array.prototype.toHex` method + // https://github.com/tc39/proposal-arraybuffer-base64 + if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: true }, { + toHex: function toHex() { + anUint8Array(this); + var result = ''; + for (var i = 0, length = this.length; i < length; i++) { + var hex = numberToString(this[i], 16); + result += hex.length === 1 ? '0' + hex : hex; + } + return result; + } + }); + + + /***/ }), /* 444 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - __webpack_require__(102); - var USE_NATIVE_URL = __webpack_require__(442); - var redefine = __webpack_require__(22); - var redefineAll = __webpack_require__(131); - var createIteratorConstructor = __webpack_require__(104); - var InternalStateModule = __webpack_require__(26); - var anInstance = __webpack_require__(132); - var hasOwn = __webpack_require__(3); - var bind = __webpack_require__(78); - var anObject = __webpack_require__(21); - var isObject = __webpack_require__(16); - var getIterator = __webpack_require__(353); - var getIteratorMethod = __webpack_require__(97); - var ITERATOR = __webpack_require__(43)('iterator'); - var URL_SEARCH_PARAMS = 'URLSearchParams'; - var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator'; - var setInternalState = InternalStateModule.set; - var getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS); - var getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR); - - var plus = /\+/g; - - var deserialize = function (it) { - return decodeURIComponent(it.replace(plus, ' ')); - }; - - var find = /[!'()~]|%20/g; - - var replace = { - '!': '%21', - "'": '%27', - '(': '%28', - ')': '%29', - '~': '%7E', - '%20': '+' - }; - - var replacer = function (match) { - return replace[match]; - }; - - var serialize = function (it) { - return encodeURIComponent(it).replace(find, replacer); - }; - - var parseSearchParams = function (result, query) { - if (query) { - var attributes = query.split('&'); - var i = 0; - var attribute, entry; - while (i < attributes.length) { - attribute = attributes[i++]; - if (attribute.length) { - entry = attribute.split('='); - result.push({ - key: deserialize(entry.shift()), - value: deserialize(entry.join('=')) - }); - } - } - } return result; - }; - - var updateSearchParams = function (query) { - this.entries.length = 0; - parseSearchParams(this.entries, query); - }; - - var validateArgumentsLength = function (passed, required) { - if (passed < required) throw TypeError('Not enough arguments'); - }; - - var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) { - setInternalState(this, { - type: URL_SEARCH_PARAMS_ITERATOR, - iterator: getIterator(getInternalParamsState(params).entries), - kind: kind - }); - }, 'Iterator', function next() { - var state = getInternalIteratorState(this); - var kind = state.kind; - var step = state.iterator.next(); - var entry = step.value; - if (!step.done) { - step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value]; - } return step; - }); - - // `URLSearchParams` constructor - // https://url.spec.whatwg.org/#interface-urlsearchparams - var URLSearchParamsConstructor = function URLSearchParams(/* init */) { - anInstance(this, URLSearchParamsConstructor, URL_SEARCH_PARAMS); - var init = arguments.length > 0 ? arguments[0] : undefined; - var that = this; - var entries = []; - var iteratorMethod, iterator, step, entryIterator, first, second, key; - - setInternalState(that, { - type: URL_SEARCH_PARAMS, - entries: entries, - updateURL: null, - updateSearchParams: updateSearchParams - }); - - if (init !== undefined) { - if (isObject(init)) { - iteratorMethod = getIteratorMethod(init); - if (typeof iteratorMethod === 'function') { - iterator = iteratorMethod.call(init); - while (!(step = iterator.next()).done) { - entryIterator = getIterator(anObject(step.value)); - if ( - (first = entryIterator.next()).done || - (second = entryIterator.next()).done || - !entryIterator.next().done - ) throw TypeError('Expected sequence with length 2'); - entries.push({ key: first.value + '', value: second.value + '' }); - } - } else for (key in init) if (hasOwn(init, key)) entries.push({ key: key, value: init[key] + '' }); - } else { - parseSearchParams(entries, typeof init === 'string' ? init.charAt(0) === '?' ? init.slice(1) : init : init + ''); - } - } - }; - - var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype; - - redefineAll(URLSearchParamsPrototype, { - // `URLSearchParams.prototype.appent` method - // https://url.spec.whatwg.org/#dom-urlsearchparams-append - append: function append(name, value) { - validateArgumentsLength(arguments.length, 2); - var state = getInternalParamsState(this); - state.entries.push({ key: name + '', value: value + '' }); - if (state.updateURL) state.updateURL(); - }, - // `URLSearchParams.prototype.delete` method - // https://url.spec.whatwg.org/#dom-urlsearchparams-delete - 'delete': function (name) { - validateArgumentsLength(arguments.length, 1); - var state = getInternalParamsState(this); - var entries = state.entries; - var key = name + ''; - var i = 0; - while (i < entries.length) { - if (entries[i].key === key) entries.splice(i, 1); - else i++; - } - if (state.updateURL) state.updateURL(); - }, - // `URLSearchParams.prototype.get` method - // https://url.spec.whatwg.org/#dom-urlsearchparams-get - get: function get(name) { - validateArgumentsLength(arguments.length, 1); - var entries = getInternalParamsState(this).entries; - var key = name + ''; - var i = 0; - for (; i < entries.length; i++) if (entries[i].key === key) return entries[i].value; - return null; - }, - // `URLSearchParams.prototype.getAll` method - // https://url.spec.whatwg.org/#dom-urlsearchparams-getall - getAll: function getAll(name) { - validateArgumentsLength(arguments.length, 1); - var entries = getInternalParamsState(this).entries; - var key = name + ''; - var result = []; - var i = 0; - for (; i < entries.length; i++) if (entries[i].key === key) result.push(entries[i].value); - return result; - }, - // `URLSearchParams.prototype.has` method - // https://url.spec.whatwg.org/#dom-urlsearchparams-has - has: function has(name) { - validateArgumentsLength(arguments.length, 1); - var entries = getInternalParamsState(this).entries; - var key = name + ''; - var i = 0; - while (i < entries.length) if (entries[i++].key === key) return true; - return false; - }, - // `URLSearchParams.prototype.set` method - // https://url.spec.whatwg.org/#dom-urlsearchparams-set - set: function set(name, value) { - validateArgumentsLength(arguments.length, 1); - var state = getInternalParamsState(this); - var entries = state.entries; - var found = false; - var key = name + ''; - var val = value + ''; - var i = 0; - var entry; - for (; i < entries.length; i++) { - entry = entries[i]; - if (entry.key === key) { - if (found) entries.splice(i--, 1); - else { - found = true; - entry.value = val; - } - } - } - if (!found) entries.push({ key: key, value: val }); - if (state.updateURL) state.updateURL(); - }, - // `URLSearchParams.prototype.sort` method - // https://url.spec.whatwg.org/#dom-urlsearchparams-sort - sort: function sort() { - var state = getInternalParamsState(this); - var entries = state.entries; - // Array#sort is not stable in some engines - var slice = entries.slice(); - var entry, i, j; - entries.length = 0; - for (i = 0; i < slice.length; i++) { - entry = slice[i]; - for (j = 0; j < i; j++) if (entries[j].key > entry.key) { - entries.splice(j, 0, entry); - break; - } - if (j === i) entries.push(entry); - } - if (state.updateURL) state.updateURL(); - }, - // `URLSearchParams.prototype.forEach` method - forEach: function forEach(callback /* , thisArg */) { - var entries = getInternalParamsState(this).entries; - var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined, 3); - var i = 0; - var entry; - while (i < entries.length) { - entry = entries[i++]; - boundFunction(entry.value, entry.key, this); - } - }, - // `URLSearchParams.prototype.keys` method - keys: function keys() { - return new URLSearchParamsIterator(this, 'keys'); - }, - // `URLSearchParams.prototype.values` method - values: function values() { - return new URLSearchParamsIterator(this, 'values'); - }, - // `URLSearchParams.prototype.entries` method - entries: function entries() { - return new URLSearchParamsIterator(this, 'entries'); - } - }, { enumerable: true }); - - // `URLSearchParams.prototype[@@iterator]` method - redefine(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries); - - // `URLSearchParams.prototype.toString` method - // https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior - redefine(URLSearchParamsPrototype, 'toString', function toString() { - var entries = getInternalParamsState(this).entries; - var result = []; - var i = 0; - var entry; - while (i < entries.length) { - entry = entries[i++]; - result.push(serialize(entry.key) + '=' + serialize(entry.value)); - } return result.join('&'); - }, { enumerable: true }); - - __webpack_require__(42)(URLSearchParamsConstructor, URL_SEARCH_PARAMS); - - __webpack_require__(7)({ global: true, forced: !USE_NATIVE_URL }, { - URLSearchParams: URLSearchParamsConstructor - }); - - module.exports = { - URLSearchParams: URLSearchParamsConstructor, - getState: getInternalParamsState - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aWeakMap = __webpack_require__(445); + var remove = __webpack_require__(411).remove; + + // `WeakMap.prototype.deleteAll` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'WeakMap', proto: true, real: true, forced: true }, { + deleteAll: function deleteAll(/* ...elements */) { + var collection = aWeakMap(this); + var allDeleted = true; + var wasDeleted; + for (var k = 0, len = arguments.length; k < len; k++) { + wasDeleted = remove(collection, arguments[k]); + allDeleted = allDeleted && wasDeleted; + } return !!allDeleted; + } + }); + + + /***/ }), /* 445 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // `URL.prototype.toJSON` method - // https://url.spec.whatwg.org/#dom-url-tojson - __webpack_require__(7)({ target: 'URL', proto: true, enumerable: true }, { - toJSON: function toJSON() { - return URL.prototype.toString.call(this); - } - }); - - - /***/ -}) - /******/]); -}(); \ No newline at end of file + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var has = __webpack_require__(411).has; + + // Perform ? RequireInternalSlot(M, [[WeakMapData]]) + module.exports = function (it) { + has(it); + return it; + }; + + + /***/ }), + /* 446 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var WeakMapHelpers = __webpack_require__(411); + var createCollectionFrom = __webpack_require__(322); + + // `WeakMap.from` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from + $({ target: 'WeakMap', stat: true, forced: true }, { + from: createCollectionFrom(WeakMapHelpers.WeakMap, WeakMapHelpers.set, true) + }); + + + /***/ }), + /* 447 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var WeakMapHelpers = __webpack_require__(411); + var createCollectionOf = __webpack_require__(331); + + // `WeakMap.of` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of + $({ target: 'WeakMap', stat: true, forced: true }, { + of: createCollectionOf(WeakMapHelpers.WeakMap, WeakMapHelpers.set, true) + }); + + + /***/ }), + /* 448 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aWeakMap = __webpack_require__(445); + var WeakMapHelpers = __webpack_require__(411); + + var get = WeakMapHelpers.get; + var has = WeakMapHelpers.has; + var set = WeakMapHelpers.set; + + // `WeakMap.prototype.emplace` method + // https://github.com/tc39/proposal-upsert + $({ target: 'WeakMap', proto: true, real: true, forced: true }, { + emplace: function emplace(key, handler) { + var map = aWeakMap(this); + var value, inserted; + if (has(map, key)) { + value = get(map, key); + if ('update' in handler) { + value = handler.update(value, key, map); + set(map, key, value); + } return value; + } + inserted = handler.insert(key, map); + set(map, key, inserted); + return inserted; + } + }); + + + /***/ }), + /* 449 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aWeakSet = __webpack_require__(450); + var add = __webpack_require__(451).add; + + // `WeakSet.prototype.addAll` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'WeakSet', proto: true, real: true, forced: true }, { + addAll: function addAll(/* ...elements */) { + var set = aWeakSet(this); + for (var k = 0, len = arguments.length; k < len; k++) { + add(set, arguments[k]); + } return set; + } + }); + + + /***/ }), + /* 450 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var has = __webpack_require__(451).has; + + // Perform ? RequireInternalSlot(M, [[WeakSetData]]) + module.exports = function (it) { + has(it); + return it; + }; + + + /***/ }), + /* 451 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + // eslint-disable-next-line es/no-weak-set -- safe + var WeakSetPrototype = WeakSet.prototype; + + module.exports = { + // eslint-disable-next-line es/no-weak-set -- safe + WeakSet: WeakSet, + add: uncurryThis(WeakSetPrototype.add), + has: uncurryThis(WeakSetPrototype.has), + remove: uncurryThis(WeakSetPrototype['delete']) + }; + + + /***/ }), + /* 452 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aWeakSet = __webpack_require__(450); + var remove = __webpack_require__(451).remove; + + // `WeakSet.prototype.deleteAll` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'WeakSet', proto: true, real: true, forced: true }, { + deleteAll: function deleteAll(/* ...elements */) { + var collection = aWeakSet(this); + var allDeleted = true; + var wasDeleted; + for (var k = 0, len = arguments.length; k < len; k++) { + wasDeleted = remove(collection, arguments[k]); + allDeleted = allDeleted && wasDeleted; + } return !!allDeleted; + } + }); + + + /***/ }), + /* 453 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var WeakSetHelpers = __webpack_require__(451); + var createCollectionFrom = __webpack_require__(322); + + // `WeakSet.from` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from + $({ target: 'WeakSet', stat: true, forced: true }, { + from: createCollectionFrom(WeakSetHelpers.WeakSet, WeakSetHelpers.add, false) + }); + + + /***/ }), + /* 454 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var WeakSetHelpers = __webpack_require__(451); + var createCollectionOf = __webpack_require__(331); + + // `WeakSet.of` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of + $({ target: 'WeakSet', stat: true, forced: true }, { + of: createCollectionOf(WeakSetHelpers.WeakSet, WeakSetHelpers.add, false) + }); + + + /***/ }), + /* 455 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var tryNodeRequire = __webpack_require__(125); + var getBuiltIn = __webpack_require__(22); + var fails = __webpack_require__(6); + var create = __webpack_require__(87); + var createPropertyDescriptor = __webpack_require__(10); + var defineProperty = __webpack_require__(43).f; + var defineBuiltIn = __webpack_require__(46); + var defineBuiltInAccessor = __webpack_require__(118); + var hasOwn = __webpack_require__(37); + var anInstance = __webpack_require__(140); + var anObject = __webpack_require__(45); + var errorToString = __webpack_require__(456); + var normalizeStringArgument = __webpack_require__(75); + var DOMExceptionConstants = __webpack_require__(457); + var clearErrorStack = __webpack_require__(81); + var InternalStateModule = __webpack_require__(50); + var DESCRIPTORS = __webpack_require__(5); + var IS_PURE = __webpack_require__(35); + + var DOM_EXCEPTION = 'DOMException'; + var DATA_CLONE_ERR = 'DATA_CLONE_ERR'; + var Error = getBuiltIn('Error'); + // NodeJS < 17.0 does not expose `DOMException` to global + var NativeDOMException = getBuiltIn(DOM_EXCEPTION) || (function () { + try { + // NodeJS < 15.0 does not expose `MessageChannel` to global + var MessageChannel = getBuiltIn('MessageChannel') || tryNodeRequire('worker_threads').MessageChannel; + // eslint-disable-next-line es/no-weak-map, unicorn/require-post-message-target-origin -- safe + new MessageChannel().port1.postMessage(new WeakMap()); + } catch (error) { + if (error.name === DATA_CLONE_ERR && error.code === 25) return error.constructor; + } + })(); + var NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype; + var ErrorPrototype = Error.prototype; + var setInternalState = InternalStateModule.set; + var getInternalState = InternalStateModule.getterFor(DOM_EXCEPTION); + var HAS_STACK = 'stack' in new Error(DOM_EXCEPTION); + + var codeFor = function (name) { + return hasOwn(DOMExceptionConstants, name) && DOMExceptionConstants[name].m ? DOMExceptionConstants[name].c : 0; + }; + + var $DOMException = function DOMException() { + anInstance(this, DOMExceptionPrototype); + var argumentsLength = arguments.length; + var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]); + var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error'); + var code = codeFor(name); + setInternalState(this, { + type: DOM_EXCEPTION, + name: name, + message: message, + code: code + }); + if (!DESCRIPTORS) { + this.name = name; + this.message = message; + this.code = code; + } + if (HAS_STACK) { + var error = new Error(message); + error.name = DOM_EXCEPTION; + defineProperty(this, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); + } + }; + + var DOMExceptionPrototype = $DOMException.prototype = create(ErrorPrototype); + + var createGetterDescriptor = function (get) { + return { enumerable: true, configurable: true, get: get }; + }; + + var getterFor = function (key) { + return createGetterDescriptor(function () { + return getInternalState(this)[key]; + }); + }; + + if (DESCRIPTORS) { + // `DOMException.prototype.code` getter + defineBuiltInAccessor(DOMExceptionPrototype, 'code', getterFor('code')); + // `DOMException.prototype.message` getter + defineBuiltInAccessor(DOMExceptionPrototype, 'message', getterFor('message')); + // `DOMException.prototype.name` getter + defineBuiltInAccessor(DOMExceptionPrototype, 'name', getterFor('name')); + } + + defineProperty(DOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, $DOMException)); + + // FF36- DOMException is a function, but can't be constructed + var INCORRECT_CONSTRUCTOR = fails(function () { + return !(new NativeDOMException() instanceof Error); + }); + + // Safari 10.1 / Chrome 32- / IE8- DOMException.prototype.toString bugs + var INCORRECT_TO_STRING = INCORRECT_CONSTRUCTOR || fails(function () { + return ErrorPrototype.toString !== errorToString || String(new NativeDOMException(1, 2)) !== '2: 1'; + }); + + // Deno 1.6.3- DOMException.prototype.code just missed + var INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails(function () { + return new NativeDOMException(1, 'DataCloneError').code !== 25; + }); + + // Deno 1.6.3- DOMException constants just missed + var MISSED_CONSTANTS = INCORRECT_CONSTRUCTOR + || NativeDOMException[DATA_CLONE_ERR] !== 25 + || NativeDOMExceptionPrototype[DATA_CLONE_ERR] !== 25; + + var FORCED_CONSTRUCTOR = IS_PURE ? INCORRECT_TO_STRING || INCORRECT_CODE || MISSED_CONSTANTS : INCORRECT_CONSTRUCTOR; + + // `DOMException` constructor + // https://webidl.spec.whatwg.org/#idl-DOMException + $({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR }, { + DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException + }); + + var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); + var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; + + if (INCORRECT_TO_STRING && (IS_PURE || NativeDOMException === PolyfilledDOMException)) { + defineBuiltIn(PolyfilledDOMExceptionPrototype, 'toString', errorToString); + } + + if (INCORRECT_CODE && DESCRIPTORS && NativeDOMException === PolyfilledDOMException) { + defineBuiltInAccessor(PolyfilledDOMExceptionPrototype, 'code', createGetterDescriptor(function () { + return codeFor(anObject(this).name); + })); + } + + // `DOMException` constants + for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { + var constant = DOMExceptionConstants[key]; + var constantName = constant.s; + var descriptor = createPropertyDescriptor(6, constant.c); + if (!hasOwn(PolyfilledDOMException, constantName)) { + defineProperty(PolyfilledDOMException, constantName, descriptor); + } + if (!hasOwn(PolyfilledDOMExceptionPrototype, constantName)) { + defineProperty(PolyfilledDOMExceptionPrototype, constantName, descriptor); + } + } + + + /***/ }), + /* 456 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var fails = __webpack_require__(6); + var anObject = __webpack_require__(45); + var normalizeStringArgument = __webpack_require__(75); + + var nativeErrorToString = Error.prototype.toString; + + var INCORRECT_TO_STRING = fails(function () { + if (DESCRIPTORS) { + // Chrome 32- incorrectly call accessor + // eslint-disable-next-line es/no-object-create, es/no-object-defineproperty -- safe + var object = Object.create(Object.defineProperty({}, 'name', { get: function () { + return this === object; + } })); + if (nativeErrorToString.call(object) !== 'true') return true; + } + // FF10- does not properly handle non-strings + return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1' + // IE8 does not properly handle defaults + || nativeErrorToString.call({}) !== 'Error'; + }); + + module.exports = INCORRECT_TO_STRING ? function toString() { + var O = anObject(this); + var name = normalizeStringArgument(O.name, 'Error'); + var message = normalizeStringArgument(O.message); + return !name ? message : !message ? name : name + ': ' + message; + } : nativeErrorToString; + + + /***/ }), + /* 457 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = { + IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 }, + DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 }, + HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 }, + WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 }, + InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 }, + NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 }, + NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 }, + NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 }, + NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 }, + InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 }, + InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 }, + SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 }, + InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 }, + NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 }, + InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 }, + ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 }, + TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 }, + SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 }, + NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 }, + AbortError: { s: 'ABORT_ERR', c: 20, m: 1 }, + URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 }, + QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 }, + TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 }, + InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 }, + DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 } + }; + + + /***/ }), + /* 458 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var getBuiltIn = __webpack_require__(22); + var createPropertyDescriptor = __webpack_require__(10); + var defineProperty = __webpack_require__(43).f; + var hasOwn = __webpack_require__(37); + var anInstance = __webpack_require__(140); + var inheritIfRequired = __webpack_require__(74); + var normalizeStringArgument = __webpack_require__(75); + var DOMExceptionConstants = __webpack_require__(457); + var clearErrorStack = __webpack_require__(81); + var DESCRIPTORS = __webpack_require__(5); + var IS_PURE = __webpack_require__(35); + + var DOM_EXCEPTION = 'DOMException'; + var Error = getBuiltIn('Error'); + var NativeDOMException = getBuiltIn(DOM_EXCEPTION); + + var $DOMException = function DOMException() { + anInstance(this, DOMExceptionPrototype); + var argumentsLength = arguments.length; + var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]); + var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error'); + var that = new NativeDOMException(message, name); + var error = new Error(message); + error.name = DOM_EXCEPTION; + defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); + inheritIfRequired(that, this, $DOMException); + return that; + }; + + var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype; + + var ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION); + var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2); + + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION); + + // Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it + // https://github.com/Jarred-Sumner/bun/issues/399 + var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable); + + var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK; + + // `DOMException` constructor patch for `.stack` where it's required + // https://webidl.spec.whatwg.org/#es-DOMException-specialness + $({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic + DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException + }); + + var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); + var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; + + if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) { + if (!IS_PURE) { + defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException)); + } + + for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { + var constant = DOMExceptionConstants[key]; + var constantName = constant.s; + if (!hasOwn(PolyfilledDOMException, constantName)) { + defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c)); + } + } + } + + + /***/ }), + /* 459 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + var setToStringTag = __webpack_require__(138); + + var DOM_EXCEPTION = 'DOMException'; + + // `DOMException.prototype[@@toStringTag]` property + setToStringTag(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION); + + + /***/ }), + /* 460 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove this module from `core-js@4` since it's split to modules listed below + __webpack_require__(461); + __webpack_require__(462); + + + /***/ }), + /* 461 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var clearImmediate = __webpack_require__(144).clear; + + // `clearImmediate` method + // http://w3c.github.io/setImmediate/#si-clearImmediate + $({ global: true, bind: true, enumerable: true, forced: global.clearImmediate !== clearImmediate }, { + clearImmediate: clearImmediate + }); + + + /***/ }), + /* 462 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var setTask = __webpack_require__(144).set; + var schedulersFix = __webpack_require__(463); + + // https://github.com/oven-sh/bun/issues/1633 + var setImmediate = global.setImmediate ? schedulersFix(setTask, false) : setTask; + + // `setImmediate` method + // http://w3c.github.io/setImmediate/#si-setImmediate + $({ global: true, bind: true, enumerable: true, forced: global.setImmediate !== setImmediate }, { + setImmediate: setImmediate + }); + + + /***/ }), + /* 463 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var apply = __webpack_require__(67); + var isCallable = __webpack_require__(20); + var ENGINE_IS_BUN = __webpack_require__(464); + var USER_AGENT = __webpack_require__(27); + var arraySlice = __webpack_require__(145); + var validateArgumentsLength = __webpack_require__(146); + + var Function = global.Function; + // dirty IE9- and Bun 0.3.0- checks + var WRAP = /MSIE .\./.test(USER_AGENT) || ENGINE_IS_BUN && (function () { + var version = global.Bun.version.split('.'); + return version.length < 3 || version[0] === '0' && (version[1] < 3 || version[1] === '3' && version[2] === '0'); + })(); + + // IE9- / Bun 0.3.0- setTimeout / setInterval / setImmediate additional parameters fix + // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers + // https://github.com/oven-sh/bun/issues/1633 + module.exports = function (scheduler, hasTimeArg) { + var firstParamIndex = hasTimeArg ? 2 : 1; + return WRAP ? function (handler, timeout /* , ...arguments */) { + var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex; + var fn = isCallable(handler) ? handler : Function(handler); + var params = boundArgs ? arraySlice(arguments, firstParamIndex) : []; + var callback = boundArgs ? function () { + apply(fn, this, params); + } : fn; + return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback); + } : scheduler; + }; + + + /***/ }), + /* 464 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* global Bun -- Bun case */ + module.exports = typeof Bun == 'function' && Bun && typeof Bun.version == 'string'; + + + /***/ }), + /* 465 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var defineBuiltInAccessor = __webpack_require__(118); + var DESCRIPTORS = __webpack_require__(5); + + var $TypeError = TypeError; + // eslint-disable-next-line es/no-object-defineproperty -- safe + var defineProperty = Object.defineProperty; + var INCORRECT_VALUE = global.self !== global; + + // `self` getter + // https://html.spec.whatwg.org/multipage/window-object.html#dom-self + try { + if (DESCRIPTORS) { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var descriptor = Object.getOwnPropertyDescriptor(global, 'self'); + // some engines have `self`, but with incorrect descriptor + // https://github.com/denoland/deno/issues/15765 + if (INCORRECT_VALUE || !descriptor || !descriptor.get || !descriptor.enumerable) { + defineBuiltInAccessor(global, 'self', { + get: function self() { + return global; + }, + set: function self(value) { + if (this !== global) throw new $TypeError('Illegal invocation'); + defineProperty(global, 'self', { + value: value, + writable: true, + configurable: true, + enumerable: true + }); + }, + configurable: true, + enumerable: true + }); + } + } else $({ global: true, simple: true, forced: INCORRECT_VALUE }, { + self: global + }); + } catch (error) { /* empty */ } + + + /***/ }), + /* 466 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var IS_PURE = __webpack_require__(35); + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + var fails = __webpack_require__(6); + var uid = __webpack_require__(39); + var isCallable = __webpack_require__(20); + var isConstructor = __webpack_require__(143); + var isNullOrUndefined = __webpack_require__(16); + var isObject = __webpack_require__(19); + var isSymbol = __webpack_require__(21); + var iterate = __webpack_require__(91); + var anObject = __webpack_require__(45); + var classof = __webpack_require__(77); + var hasOwn = __webpack_require__(37); + var createProperty = __webpack_require__(284); + var createNonEnumerableProperty = __webpack_require__(42); + var lengthOfArrayLike = __webpack_require__(62); + var validateArgumentsLength = __webpack_require__(146); + var getRegExpFlags = __webpack_require__(177); + var MapHelpers = __webpack_require__(132); + var SetHelpers = __webpack_require__(367); + var setIterate = __webpack_require__(372); + var detachTransferable = __webpack_require__(124); + var ERROR_STACK_INSTALLABLE = __webpack_require__(82); + var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(127); + + var Object = global.Object; + var Array = global.Array; + var Date = global.Date; + var Error = global.Error; + var TypeError = global.TypeError; + var PerformanceMark = global.PerformanceMark; + var DOMException = getBuiltIn('DOMException'); + var Map = MapHelpers.Map; + var mapHas = MapHelpers.has; + var mapGet = MapHelpers.get; + var mapSet = MapHelpers.set; + var Set = SetHelpers.Set; + var setAdd = SetHelpers.add; + var setHas = SetHelpers.has; + var objectKeys = getBuiltIn('Object', 'keys'); + var push = uncurryThis([].push); + var thisBooleanValue = uncurryThis(true.valueOf); + var thisNumberValue = uncurryThis(1.0.valueOf); + var thisStringValue = uncurryThis(''.valueOf); + var thisTimeValue = uncurryThis(Date.prototype.getTime); + var PERFORMANCE_MARK = uid('structuredClone'); + var DATA_CLONE_ERROR = 'DataCloneError'; + var TRANSFERRING = 'Transferring'; + + var checkBasicSemantic = function (structuredCloneImplementation) { + return !fails(function () { + var set1 = new global.Set([7]); + var set2 = structuredCloneImplementation(set1); + var number = structuredCloneImplementation(Object(7)); + return set2 === set1 || !set2.has(7) || !isObject(number) || +number !== 7; + }) && structuredCloneImplementation; + }; + + var checkErrorsCloning = function (structuredCloneImplementation, $Error) { + return !fails(function () { + var error = new $Error(); + var test = structuredCloneImplementation({ a: error, b: error }); + return !(test && test.a === test.b && test.a instanceof $Error && test.a.stack === error.stack); + }); + }; + + // https://github.com/whatwg/html/pull/5749 + var checkNewErrorsCloningSemantic = function (structuredCloneImplementation) { + return !fails(function () { + var test = structuredCloneImplementation(new global.AggregateError([1], PERFORMANCE_MARK, { cause: 3 })); + return test.name !== 'AggregateError' || test.errors[0] !== 1 || test.message !== PERFORMANCE_MARK || test.cause !== 3; + }); + }; + + // FF94+, Safari 15.4+, Chrome 98+, NodeJS 17.0+, Deno 1.13+ + // FF<103 and Safari implementations can't clone errors + // https://bugzilla.mozilla.org/show_bug.cgi?id=1556604 + // FF103 can clone errors, but `.stack` of clone is an empty string + // https://bugzilla.mozilla.org/show_bug.cgi?id=1778762 + // FF104+ fixed it on usual errors, but not on DOMExceptions + // https://bugzilla.mozilla.org/show_bug.cgi?id=1777321 + // Chrome <102 returns `null` if cloned object contains multiple references to one error + // https://bugs.chromium.org/p/v8/issues/detail?id=12542 + // NodeJS implementation can't clone DOMExceptions + // https://github.com/nodejs/node/issues/41038 + // only FF103+ supports new (html/5749) error cloning semantic + var nativeStructuredClone = global.structuredClone; + + var FORCED_REPLACEMENT = IS_PURE + || !checkErrorsCloning(nativeStructuredClone, Error) + || !checkErrorsCloning(nativeStructuredClone, DOMException) + || !checkNewErrorsCloningSemantic(nativeStructuredClone); + + // Chrome 82+, Safari 14.1+, Deno 1.11+ + // Chrome 78-81 implementation swaps `.name` and `.message` of cloned `DOMException` + // Chrome returns `null` if cloned object contains multiple references to one error + // Safari 14.1 implementation doesn't clone some `RegExp` flags, so requires a workaround + // Safari implementation can't clone errors + // Deno 1.2-1.10 implementations too naive + // NodeJS 16.0+ does not have `PerformanceMark` constructor + // NodeJS <17.2 structured cloning implementation from `performance.mark` is too naive + // and can't clone, for example, `RegExp` or some boxed primitives + // https://github.com/nodejs/node/issues/40840 + // no one of those implementations supports new (html/5749) error cloning semantic + var structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function (value) { + return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail; + }); + + var nativeRestrictedStructuredClone = checkBasicSemantic(nativeStructuredClone) || structuredCloneFromMark; + + var throwUncloneable = function (type) { + throw new DOMException('Uncloneable type: ' + type, DATA_CLONE_ERROR); + }; + + var throwUnpolyfillable = function (type, action) { + throw new DOMException((action || 'Cloning') + ' of ' + type + ' cannot be properly polyfilled in this engine', DATA_CLONE_ERROR); + }; + + var tryNativeRestrictedStructuredClone = function (value, type) { + if (!nativeRestrictedStructuredClone) throwUnpolyfillable(type); + return nativeRestrictedStructuredClone(value); + }; + + var createDataTransfer = function () { + var dataTransfer; + try { + dataTransfer = new global.DataTransfer(); + } catch (error) { + try { + dataTransfer = new global.ClipboardEvent('').clipboardData; + } catch (error2) { /* empty */ } + } + return dataTransfer && dataTransfer.items && dataTransfer.files ? dataTransfer : null; + }; + + var cloneBuffer = function (value, map, $type) { + if (mapHas(map, value)) return mapGet(map, value); + + var type = $type || classof(value); + var clone, length, options, source, target, i; + + if (type === 'SharedArrayBuffer') { + if (nativeRestrictedStructuredClone) clone = nativeRestrictedStructuredClone(value); + // SharedArrayBuffer should use shared memory, we can't polyfill it, so return the original + else clone = value; + } else { + var DataView = global.DataView; + + // `ArrayBuffer#slice` is not available in IE10 + // `ArrayBuffer#slice` and `DataView` are not available in old FF + if (!DataView && !isCallable(value.slice)) throwUnpolyfillable('ArrayBuffer'); + // detached buffers throws in `DataView` and `.slice` + try { + if (isCallable(value.slice) && !value.resizable) { + clone = value.slice(0); + } else { + length = value.byteLength; + options = 'maxByteLength' in value ? { maxByteLength: value.maxByteLength } : undefined; + // eslint-disable-next-line es/no-resizable-and-growable-arraybuffers -- safe + clone = new ArrayBuffer(length, options); + source = new DataView(value); + target = new DataView(clone); + for (i = 0; i < length; i++) { + target.setUint8(i, source.getUint8(i)); + } + } + } catch (error) { + throw new DOMException('ArrayBuffer is detached', DATA_CLONE_ERROR); + } + } + + mapSet(map, value, clone); + + return clone; + }; + + var cloneView = function (value, type, offset, length, map) { + var C = global[type]; + // in some old engines like Safari 9, typeof C is 'object' + // on Uint8ClampedArray or some other constructors + if (!isObject(C)) throwUnpolyfillable(type); + return new C(cloneBuffer(value.buffer, map), offset, length); + }; + + var structuredCloneInternal = function (value, map) { + if (isSymbol(value)) throwUncloneable('Symbol'); + if (!isObject(value)) return value; + // effectively preserves circular references + if (map) { + if (mapHas(map, value)) return mapGet(map, value); + } else map = new Map(); + + var type = classof(value); + var C, name, cloned, dataTransfer, i, length, keys, key; + + switch (type) { + case 'Array': + cloned = Array(lengthOfArrayLike(value)); + break; + case 'Object': + cloned = {}; + break; + case 'Map': + cloned = new Map(); + break; + case 'Set': + cloned = new Set(); + break; + case 'RegExp': + // in this block because of a Safari 14.1 bug + // old FF does not clone regexes passed to the constructor, so get the source and flags directly + cloned = new RegExp(value.source, getRegExpFlags(value)); + break; + case 'Error': + name = value.name; + switch (name) { + case 'AggregateError': + cloned = new (getBuiltIn(name))([]); + break; + case 'EvalError': + case 'RangeError': + case 'ReferenceError': + case 'SuppressedError': + case 'SyntaxError': + case 'TypeError': + case 'URIError': + cloned = new (getBuiltIn(name))(); + break; + case 'CompileError': + case 'LinkError': + case 'RuntimeError': + cloned = new (getBuiltIn('WebAssembly', name))(); + break; + default: + cloned = new Error(); + } + break; + case 'DOMException': + cloned = new DOMException(value.message, value.name); + break; + case 'ArrayBuffer': + case 'SharedArrayBuffer': + cloned = cloneBuffer(value, map, type); + break; + case 'DataView': + case 'Int8Array': + case 'Uint8Array': + case 'Uint8ClampedArray': + case 'Int16Array': + case 'Uint16Array': + case 'Int32Array': + case 'Uint32Array': + case 'Float16Array': + case 'Float32Array': + case 'Float64Array': + case 'BigInt64Array': + case 'BigUint64Array': + length = type === 'DataView' ? value.byteLength : value.length; + cloned = cloneView(value, type, value.byteOffset, length, map); + break; + case 'DOMQuad': + try { + cloned = new DOMQuad( + structuredCloneInternal(value.p1, map), + structuredCloneInternal(value.p2, map), + structuredCloneInternal(value.p3, map), + structuredCloneInternal(value.p4, map) + ); + } catch (error) { + cloned = tryNativeRestrictedStructuredClone(value, type); + } + break; + case 'File': + if (nativeRestrictedStructuredClone) try { + cloned = nativeRestrictedStructuredClone(value); + // NodeJS 20.0.0 bug, https://github.com/nodejs/node/issues/47612 + if (classof(cloned) !== type) cloned = undefined; + } catch (error) { /* empty */ } + if (!cloned) try { + cloned = new File([value], value.name, value); + } catch (error) { /* empty */ } + if (!cloned) throwUnpolyfillable(type); + break; + case 'FileList': + dataTransfer = createDataTransfer(); + if (dataTransfer) { + for (i = 0, length = lengthOfArrayLike(value); i < length; i++) { + dataTransfer.items.add(structuredCloneInternal(value[i], map)); + } + cloned = dataTransfer.files; + } else cloned = tryNativeRestrictedStructuredClone(value, type); + break; + case 'ImageData': + // Safari 9 ImageData is a constructor, but typeof ImageData is 'object' + try { + cloned = new ImageData( + structuredCloneInternal(value.data, map), + value.width, + value.height, + { colorSpace: value.colorSpace } + ); + } catch (error) { + cloned = tryNativeRestrictedStructuredClone(value, type); + } break; + default: + if (nativeRestrictedStructuredClone) { + cloned = nativeRestrictedStructuredClone(value); + } else switch (type) { + case 'BigInt': + // can be a 3rd party polyfill + cloned = Object(value.valueOf()); + break; + case 'Boolean': + cloned = Object(thisBooleanValue(value)); + break; + case 'Number': + cloned = Object(thisNumberValue(value)); + break; + case 'String': + cloned = Object(thisStringValue(value)); + break; + case 'Date': + cloned = new Date(thisTimeValue(value)); + break; + case 'Blob': + try { + cloned = value.slice(0, value.size, value.type); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'DOMPoint': + case 'DOMPointReadOnly': + C = global[type]; + try { + cloned = C.fromPoint + ? C.fromPoint(value) + : new C(value.x, value.y, value.z, value.w); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'DOMRect': + case 'DOMRectReadOnly': + C = global[type]; + try { + cloned = C.fromRect + ? C.fromRect(value) + : new C(value.x, value.y, value.width, value.height); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'DOMMatrix': + case 'DOMMatrixReadOnly': + C = global[type]; + try { + cloned = C.fromMatrix + ? C.fromMatrix(value) + : new C(value); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'AudioData': + case 'VideoFrame': + if (!isCallable(value.clone)) throwUnpolyfillable(type); + try { + cloned = value.clone(); + } catch (error) { + throwUncloneable(type); + } break; + case 'CropTarget': + case 'CryptoKey': + case 'FileSystemDirectoryHandle': + case 'FileSystemFileHandle': + case 'FileSystemHandle': + case 'GPUCompilationInfo': + case 'GPUCompilationMessage': + case 'ImageBitmap': + case 'RTCCertificate': + case 'WebAssembly.Module': + throwUnpolyfillable(type); + // break omitted + default: + throwUncloneable(type); + } + } + + mapSet(map, value, cloned); + + switch (type) { + case 'Array': + case 'Object': + keys = objectKeys(value); + for (i = 0, length = lengthOfArrayLike(keys); i < length; i++) { + key = keys[i]; + createProperty(cloned, key, structuredCloneInternal(value[key], map)); + } break; + case 'Map': + value.forEach(function (v, k) { + mapSet(cloned, structuredCloneInternal(k, map), structuredCloneInternal(v, map)); + }); + break; + case 'Set': + value.forEach(function (v) { + setAdd(cloned, structuredCloneInternal(v, map)); + }); + break; + case 'Error': + createNonEnumerableProperty(cloned, 'message', structuredCloneInternal(value.message, map)); + if (hasOwn(value, 'cause')) { + createNonEnumerableProperty(cloned, 'cause', structuredCloneInternal(value.cause, map)); + } + if (name === 'AggregateError') { + cloned.errors = structuredCloneInternal(value.errors, map); + } else if (name === 'SuppressedError') { + cloned.error = structuredCloneInternal(value.error, map); + cloned.suppressed = structuredCloneInternal(value.suppressed, map); + } // break omitted + case 'DOMException': + if (ERROR_STACK_INSTALLABLE) { + createNonEnumerableProperty(cloned, 'stack', structuredCloneInternal(value.stack, map)); + } + } + + return cloned; + }; + + var tryToTransfer = function (rawTransfer, map) { + if (!isObject(rawTransfer)) throw new TypeError('Transfer option cannot be converted to a sequence'); + + var transfer = []; + + iterate(rawTransfer, function (value) { + push(transfer, anObject(value)); + }); + + var i = 0; + var length = lengthOfArrayLike(transfer); + var buffers = new Set(); + var value, type, C, transferred, canvas, context; + + while (i < length) { + value = transfer[i++]; + + type = classof(value); + + if (type === 'ArrayBuffer' ? setHas(buffers, value) : mapHas(map, value)) { + throw new DOMException('Duplicate transferable', DATA_CLONE_ERROR); + } + + if (type === 'ArrayBuffer') { + setAdd(buffers, value); + continue; + } + + if (PROPER_STRUCTURED_CLONE_TRANSFER) { + transferred = nativeStructuredClone(value, { transfer: [value] }); + } else switch (type) { + case 'ImageBitmap': + C = global.OffscreenCanvas; + if (!isConstructor(C)) throwUnpolyfillable(type, TRANSFERRING); + try { + canvas = new C(value.width, value.height); + context = canvas.getContext('bitmaprenderer'); + context.transferFromImageBitmap(value); + transferred = canvas.transferToImageBitmap(); + } catch (error) { /* empty */ } + break; + case 'AudioData': + case 'VideoFrame': + if (!isCallable(value.clone) || !isCallable(value.close)) throwUnpolyfillable(type, TRANSFERRING); + try { + transferred = value.clone(); + value.close(); + } catch (error) { /* empty */ } + break; + case 'MediaSourceHandle': + case 'MessagePort': + case 'OffscreenCanvas': + case 'ReadableStream': + case 'TransformStream': + case 'WritableStream': + throwUnpolyfillable(type, TRANSFERRING); + } + + if (transferred === undefined) throw new DOMException('This object cannot be transferred: ' + type, DATA_CLONE_ERROR); + + mapSet(map, value, transferred); + } + + return buffers; + }; + + var detachBuffers = function (buffers) { + setIterate(buffers, function (buffer) { + if (PROPER_STRUCTURED_CLONE_TRANSFER) { + nativeRestrictedStructuredClone(buffer, { transfer: [buffer] }); + } else if (isCallable(buffer.transfer)) { + buffer.transfer(); + } else if (detachTransferable) { + detachTransferable(buffer); + } else { + throwUnpolyfillable('ArrayBuffer', TRANSFERRING); + } + }); + }; + + // `structuredClone` method + // https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone + $({ global: true, enumerable: true, sham: !PROPER_STRUCTURED_CLONE_TRANSFER, forced: FORCED_REPLACEMENT }, { + structuredClone: function structuredClone(value /* , { transfer } */) { + var options = validateArgumentsLength(arguments.length, 1) > 1 && !isNullOrUndefined(arguments[1]) ? anObject(arguments[1]) : undefined; + var transfer = options ? options.transfer : undefined; + var map, buffers; + + if (transfer !== undefined) { + map = new Map(); + buffers = tryToTransfer(transfer, map); + } + + var clone = structuredCloneInternal(value, map); + + // since of an issue with cloning views of transferred buffers, we a forced to detach them later + // https://github.com/zloirock/core-js/issues/1265 + if (buffers) detachBuffers(buffers); + + return clone; + } + }); + + + /***/ }), + /* 467 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var getBuiltIn = __webpack_require__(22); + var fails = __webpack_require__(6); + var validateArgumentsLength = __webpack_require__(146); + var toString = __webpack_require__(76); + var USE_NATIVE_URL = __webpack_require__(468); + + var URL = getBuiltIn('URL'); + + // https://github.com/nodejs/node/issues/47505 + // https://github.com/denoland/deno/issues/18893 + var THROWS_WITHOUT_ARGUMENTS = USE_NATIVE_URL && fails(function () { + URL.canParse(); + }); + + // `URL.canParse` method + // https://url.spec.whatwg.org/#dom-url-canparse + $({ target: 'URL', stat: true, forced: !THROWS_WITHOUT_ARGUMENTS }, { + canParse: function canParse(url) { + var length = validateArgumentsLength(arguments.length, 1); + var urlString = toString(url); + var base = length < 2 || arguments[1] === undefined ? undefined : toString(arguments[1]); + try { + return !!new URL(urlString, base); + } catch (error) { + return false; + } + } + }); + + + /***/ }), + /* 468 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + var wellKnownSymbol = __webpack_require__(32); + var DESCRIPTORS = __webpack_require__(5); + var IS_PURE = __webpack_require__(35); + + var ITERATOR = wellKnownSymbol('iterator'); + + module.exports = !fails(function () { + // eslint-disable-next-line unicorn/relative-url-style -- required for testing + var url = new URL('b?a=1&b=2&c=3', 'http://a'); + var params = url.searchParams; + var params2 = new URLSearchParams('a=1&a=2&b=3'); + var result = ''; + url.pathname = 'c%20d'; + params.forEach(function (value, key) { + params['delete']('b'); + result += key + value; + }); + params2['delete']('a', 2); + // `undefined` case is a Chromium 117 bug + // https://bugs.chromium.org/p/v8/issues/detail?id=14222 + params2['delete']('b', undefined); + return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b'))) + || (!params.size && (IS_PURE || !DESCRIPTORS)) + || !params.sort + || url.href !== 'http://a/c%20d?a=1&c=3' + || params.get('c') !== '3' + || String(new URLSearchParams('?a=1')) !== 'a=1' + || !params[ITERATOR] + // throws in Edge + || new URL('https://a@b').username !== 'a' + || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b' + // not punycoded in Edge + || new URL('http://тест').host !== 'xn--e1aybc' + // not escaped in Chrome 62- + || new URL('http://a#б').hash !== '#%D0%B1' + // fails in Chrome 66- + || result !== 'a1c3' + // throws in Safari + || new URL('http://x', undefined).host !== 'x'; + }); + + + /***/ }), + /* 469 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineBuiltIn = __webpack_require__(46); + var uncurryThis = __webpack_require__(13); + var toString = __webpack_require__(76); + var validateArgumentsLength = __webpack_require__(146); + + var $URLSearchParams = URLSearchParams; + var URLSearchParamsPrototype = $URLSearchParams.prototype; + var append = uncurryThis(URLSearchParamsPrototype.append); + var $delete = uncurryThis(URLSearchParamsPrototype['delete']); + var forEach = uncurryThis(URLSearchParamsPrototype.forEach); + var push = uncurryThis([].push); + var params = new $URLSearchParams('a=1&a=2&b=3'); + + params['delete']('a', 1); + // `undefined` case is a Chromium 117 bug + // https://bugs.chromium.org/p/v8/issues/detail?id=14222 + params['delete']('b', undefined); + + if (params + '' !== 'a=2') { + defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) { + var length = arguments.length; + var $value = length < 2 ? undefined : arguments[1]; + if (length && $value === undefined) return $delete(this, name); + var entries = []; + forEach(this, function (v, k) { // also validates `this` + push(entries, { key: k, value: v }); + }); + validateArgumentsLength(length, 1); + var key = toString(name); + var value = toString($value); + var index = 0; + var dindex = 0; + var found = false; + var entriesLength = entries.length; + var entry; + while (index < entriesLength) { + entry = entries[index++]; + if (found || entry.key === key) { + found = true; + $delete(this, entry.key); + } else dindex++; + } + while (dindex < entriesLength) { + entry = entries[dindex++]; + if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value); + } + }, { enumerable: true, unsafe: true }); + } + + + /***/ }), + /* 470 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineBuiltIn = __webpack_require__(46); + var uncurryThis = __webpack_require__(13); + var toString = __webpack_require__(76); + var validateArgumentsLength = __webpack_require__(146); + + var $URLSearchParams = URLSearchParams; + var URLSearchParamsPrototype = $URLSearchParams.prototype; + var getAll = uncurryThis(URLSearchParamsPrototype.getAll); + var $has = uncurryThis(URLSearchParamsPrototype.has); + var params = new $URLSearchParams('a=1'); + + // `undefined` case is a Chromium 117 bug + // https://bugs.chromium.org/p/v8/issues/detail?id=14222 + if (params.has('a', 2) || !params.has('a', undefined)) { + defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) { + var length = arguments.length; + var $value = length < 2 ? undefined : arguments[1]; + if (length && $value === undefined) return $has(this, name); + var values = getAll(this, name); // also validates `this` + validateArgumentsLength(length, 1); + var value = toString($value); + var index = 0; + while (index < values.length) { + if (values[index++] === value) return true; + } return false; + }, { enumerable: true, unsafe: true }); + } + + + /***/ }), + /* 471 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var uncurryThis = __webpack_require__(13); + var defineBuiltInAccessor = __webpack_require__(118); + + var URLSearchParamsPrototype = URLSearchParams.prototype; + var forEach = uncurryThis(URLSearchParamsPrototype.forEach); + + // `URLSearchParams.prototype.size` getter + // https://github.com/whatwg/url/pull/734 + if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) { + defineBuiltInAccessor(URLSearchParamsPrototype, 'size', { + get: function size() { + var count = 0; + forEach(this, function () { count++; }); + return count; + }, + configurable: true, + enumerable: true + }); + } + + + /***/ }) + /******/ ]); }(); \ No newline at end of file diff --git a/www.eng/js/porting/compat/nwjs.js b/www.eng/js/porting/compat/nwjs.js index f8d678c..e940870 100644 --- a/www.eng/js/porting/compat/nwjs.js +++ b/www.eng/js/porting/compat/nwjs.js @@ -2,26 +2,6 @@ window._MEMO_PATHS = {} -/** - * String.prototype.replaceAll() polyfill - * https://gomakethings.com/how-to-replace-a-section-of-a-string-with-another-one-with-vanilla-js/ - * @author Chris Ferdinandi - * @license MIT - */ -if (!String.prototype.replaceAll) { - String.prototype.replaceAll = function(str, newStr){ - - // If a regex pattern - if (Object.prototype.toString.call(str).toLowerCase() === '[object regexp]') { - return this.replace(str, newStr); - } - - // If a string - return this.replace(new RegExp(str, 'g'), newStr); - - }; -} - function replaceSpecialSymbols(s) { const memoized = _MEMO_PATHS[s]; if (memoized != undefined) { @@ -439,7 +419,7 @@ require.libs.fs = { } throw e; } - return xhr.status === 200 || xhr.status === 0; + return xhr.status === 200 || xhr.responseText !== ""; }, unlinkSync: function () { diff --git a/www.rus/index.html b/www.rus/index.html index 8835c7a..4ea0593 100644 --- a/www.rus/index.html +++ b/www.rus/index.html @@ -15,6 +15,7 @@ + diff --git a/www.rus/js/plugins/GTP_OmoriFixes.js b/www.rus/js/plugins/GTP_OmoriFixes.js index 9f45c0e..cb30ca9 100644 --- a/www.rus/js/plugins/GTP_OmoriFixes.js +++ b/www.rus/js/plugins/GTP_OmoriFixes.js @@ -366,9 +366,6 @@ Gamefall.OmoriFixes = Gamefall.OmoriFixes || {}; if (!!this.hasSteamwork()) { this.getAchievementsData(); } - if (!Utils.isOptionValid("test") && window.navigator.plugins.namedItem('Native Client') !== null) { - throw new Error("This game does not work in SDK mode.") - } if (Utils.isMac()) { const nw_window = window; nw_window.on("restore", () => { diff --git a/www.rus/js/plugins/VND_CordovaFixes.js b/www.rus/js/plugins/VND_CordovaFixes.js index e19681a..47f0cef 100644 --- a/www.rus/js/plugins/VND_CordovaFixes.js +++ b/www.rus/js/plugins/VND_CordovaFixes.js @@ -304,8 +304,9 @@ document.addEventListener("deviceready", () => { return false; } - setSayGexValue(path, (v) => { v.exists = true; }, {exists: true, content: null}); - return xhr.status === 200 || xhr.status === 0; + var status = xhr.status === 200 || xhr.responseText !== ""; + setSayGexValue(path, (v) => { v.exists = status; }, {exists: status, content: null}); + return status; } NativeFunctions.readSaveFileUTF8 = function(path) { diff --git a/www.rus/js/plugins/VND_ONSControls.js b/www.rus/js/plugins/VND_ONSControls.js index dd17acb..4ee3f93 100644 --- a/www.rus/js/plugins/VND_ONSControls.js +++ b/www.rus/js/plugins/VND_ONSControls.js @@ -512,7 +512,10 @@ VirtualGamepad.gamepad = { //============================================================================= VirtualGamepad._originalNavigator = navigator.getGamepads; VirtualGamepad.updateNavigator = function() { - var gamepads = VirtualGamepad._originalNavigator.call(navigator); + var gamepads = []; + for (gamepad of VirtualGamepad._originalNavigator.call(navigator)) { + gamepads.push(gamepad); + } navigator.getGamepads = function() { var index = ONSControls.options.gamepadIndex; gamepads[index] = VirtualGamepad.gamepad; @@ -570,28 +573,28 @@ ONSControls.configManager = function() { //============================================================================= // * Class Variables //============================================================================= -ConfigManager.ONSConfig ||= {}; -ConfigManager.ONSConfig.customPos ||= false; -ConfigManager.ONSConfig.buttonsScale ||= ONSControls.options.buttonsScale; -ConfigManager.ONSConfig.buttonsOpacity ||= ONSControls.options.buttonsOpacity; -ConfigManager.ONSConfig.safeArea ||= 1; -ConfigManager.ONSConfig.buttonsSize ||= ONSControls._controlsCanvas.vh(0.18) * ConfigManager.ONSConfig.buttonsScale; -ConfigManager.ONSConfig.buttonsX ||= ONSControls._controlsCanvas.screen.width - ConfigManager.ONSConfig.buttonsSize; -ConfigManager.ONSConfig.buttonsY ||= ONSControls._controlsCanvas.screen.height - ConfigManager.ONSConfig.buttonsSize; -ConfigManager.ONSConfig.dPadSize ||= ONSControls._controlsCanvas.vh(0.36) * ConfigManager.ONSConfig.buttonsScale; -ConfigManager.ONSConfig.dPadX ||= ConfigManager.ONSConfig.dPadSize / 2; -ConfigManager.ONSConfig.dPadY ||= ONSControls._controlsCanvas.screen.height - ConfigManager.ONSConfig.dPadSize / 2; -ConfigManager.ONSConfig.bumpersOffsetX ||= 16; -ConfigManager.ONSConfig.bumpersOffsetY ||= ONSControls._controlsCanvas.vh(0.30); -ConfigManager.ONSConfig.bumpersWidth ||= ONSControls._controlsCanvas.vh(0.188) * ConfigManager.ONSConfig.buttonsScale; -ConfigManager.ONSConfig.bumpersHeight ||= ONSControls._controlsCanvas.vh(0.12) * ConfigManager.ONSConfig.buttonsScale; -ConfigManager.ONSConfig.LBX ||= ConfigManager.ONSConfig.bumpersOffsetX + ConfigManager.ONSConfig.bumpersWidth / 2; -ConfigManager.ONSConfig.LBY ||= ConfigManager.ONSConfig.bumpersOffsetY + ConfigManager.ONSConfig.bumpersHeight / 2; -ConfigManager.ONSConfig.RBX ||= ConfigManager.ONSConfig.bumpersOffsetX + ConfigManager.ONSConfig.bumpersWidth / 2; -ConfigManager.ONSConfig.RBY ||= ConfigManager.ONSConfig.bumpersOffsetY + ConfigManager.ONSConfig.bumpersHeight / 2; -ConfigManager.ONSConfig.additonalSize ||= ONSControls._controlsCanvas.vh(0.06) * ConfigManager.ONSConfig.buttonsScale; -ConfigManager.ONSConfig.showX ||= ONSControls._controlsCanvas.screen.width - ConfigManager.ONSConfig.additonalSize / 2; -ConfigManager.ONSConfig.showY ||= ONSControls._controlsCanvas.screen.height - ConfigManager.ONSConfig.additonalSize / 2; +ConfigManager.ONSConfig = (typeof x === 'undefined') ? {} : ConfigManager.ONSConfig; +ConfigManager.ONSConfig.customPos = (typeof x === 'undefined') ? false : ConfigManager.ONSConfig.customPos; +ConfigManager.ONSConfig.buttonsScale = (typeof x === 'undefined') ? ONSControls.options.buttonsScale : ConfigManager.ONSConfig.buttonsScale; +ConfigManager.ONSConfig.buttonsOpacity = (typeof x === 'undefined') ? ONSControls.options.buttonsOpacity : ConfigManager.ONSConfig.buttonsOpacity; +ConfigManager.ONSConfig.safeArea = (typeof x === 'undefined') ? 1 : ConfigManager.ONSConfig.safeArea; +ConfigManager.ONSConfig.buttonsSize = (typeof x === 'undefined') ? ONSControls._controlsCanvas.vh(0.18) * ConfigManager.ONSConfig.buttonsScale : ConfigManager.ONSConfig.buttonsSize; +ConfigManager.ONSConfig.buttonsX = (typeof x === 'undefined') ? ONSControls._controlsCanvas.screen.width - ConfigManager.ONSConfig.buttonsSize : ConfigManager.ONSConfig.buttonsX; +ConfigManager.ONSConfig.buttonsY = (typeof x === 'undefined') ? ONSControls._controlsCanvas.screen.height - ConfigManager.ONSConfig.buttonsSize : ConfigManager.ONSConfig.buttonsY; +ConfigManager.ONSConfig.dPadSize = (typeof x === 'undefined') ? ONSControls._controlsCanvas.vh(0.36) * ConfigManager.ONSConfig.buttonsScale : ConfigManager.ONSConfig.dPadSize; +ConfigManager.ONSConfig.dPadX = (typeof x === 'undefined') ? ConfigManager.ONSConfig.dPadSize / 2 : ConfigManager.ONSConfig.dPadX; +ConfigManager.ONSConfig.dPadY = (typeof x === 'undefined') ? ONSControls._controlsCanvas.screen.height - ConfigManager.ONSConfig.dPadSize / 2 : ConfigManager.ONSConfig.dPadY; +ConfigManager.ONSConfig.bumpersOffsetX = (typeof x === 'undefined') ? 16 : ConfigManager.ONSConfig.bumpersOffsetX; +ConfigManager.ONSConfig.bumpersOffsetY = (typeof x === 'undefined') ? ONSControls._controlsCanvas.vh(0.30) : ConfigManager.ONSConfig.bumpersOffsetY; +ConfigManager.ONSConfig.bumpersWidth = (typeof x === 'undefined') ? ONSControls._controlsCanvas.vh(0.188) * ConfigManager.ONSConfig.buttonsScale : ConfigManager.ONSConfig.bumpersWidth; +ConfigManager.ONSConfig.bumpersHeight = (typeof x === 'undefined') ? ONSControls._controlsCanvas.vh(0.12) * ConfigManager.ONSConfig.buttonsScale : ConfigManager.ONSConfig.bumpersHeight; +ConfigManager.ONSConfig.LBX = (typeof x === 'undefined') ? ConfigManager.ONSConfig.bumpersOffsetX + ConfigManager.ONSConfig.bumpersWidth / 2 : ConfigManager.ONSConfig.LBX; +ConfigManager.ONSConfig.LBY = (typeof x === 'undefined') ? ConfigManager.ONSConfig.bumpersOffsetY + ConfigManager.ONSConfig.bumpersHeight / 2 : ConfigManager.ONSConfig.LBY; +ConfigManager.ONSConfig.RBX = (typeof x === 'undefined') ? ConfigManager.ONSConfig.bumpersOffsetX + ConfigManager.ONSConfig.bumpersWidth / 2 : ConfigManager.ONSConfig.RBX; +ConfigManager.ONSConfig.RBY = (typeof x === 'undefined') ? ConfigManager.ONSConfig.bumpersOffsetY + ConfigManager.ONSConfig.bumpersHeight / 2 : ConfigManager.ONSConfig.RBY; +ConfigManager.ONSConfig.additonalSize = (typeof x === 'undefined') ? ONSControls._controlsCanvas.vh(0.06) * ConfigManager.ONSConfig.buttonsScale : ConfigManager.ONSConfig.additonalSize; +ConfigManager.ONSConfig.showX = (typeof x === 'undefined') ? ONSControls._controlsCanvas.screen.width - ConfigManager.ONSConfig.additonalSize / 2 : ConfigManager.ONSConfig.showX; +ConfigManager.ONSConfig.showY = (typeof x === 'undefined') ? ONSControls._controlsCanvas.screen.height - ConfigManager.ONSConfig.additonalSize / 2 : ConfigManager.ONSConfig.showY; //============================================================================= // * Restore defaults //============================================================================= diff --git a/www.rus/js/porting/compat/corejs.js b/www.rus/js/porting/compat/corejs.js index c36dbea..270f809 100644 --- a/www.rus/js/porting/compat/corejs.js +++ b/www.rus/js/porting/compat/corejs.js @@ -1,29 +1,26 @@ /** - * core-js 3.0.0 - * https://github.com/zloirock/core-js - * License: http://rock.mit-license.org - * © 2019 Denis Pushkarev (zloirock.ru) + * core-js 3.36.0 + * © 2014-2024 Denis Pushkarev (zloirock.ru) + * license: https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE + * source: https://github.com/zloirock/core-js */ -!function (undefined) { - 'use strict'; /******/ (function (modules) { // webpackBootstrap +!function (undefined) { 'use strict'; /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function - /******/ function __webpack_require__(moduleId) { + /******/ var __webpack_require__ = function (moduleId) { /******/ /******/ // Check if module is in cache - /******/ if (installedModules[moduleId]) { + /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; - /******/ -} + /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} - /******/ -}; + /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); @@ -33,8 +30,7 @@ /******/ /******/ // Return the exports of the module /******/ return module.exports; - /******/ -} + /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) @@ -44,53 +40,47 @@ /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports - /******/ __webpack_require__.d = function (exports, name, getter) { - /******/ if (!__webpack_require__.o(exports, name)) { + /******/ __webpack_require__.d = function(exports, name, getter) { + /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); - /******/ -} - /******/ -}; + /******/ } + /******/ }; /******/ /******/ // define __esModule on exports - /******/ __webpack_require__.r = function (exports) { - /******/ if (typeof Symbol !== 'undefined' && Symbol.toStringTag) { + /******/ __webpack_require__.r = function(exports) { + /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); - /******/ -} + /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); - /******/ -}; + /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require - /******/ __webpack_require__.t = function (value, mode) { - /******/ if (mode & 1) value = __webpack_require__(value); - /******/ if (mode & 8) return value; - /******/ if ((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; + /******/ __webpack_require__.t = function(value, mode) { + /******/ if(mode & 1) value = __webpack_require__(value); + /******/ if(mode & 8) return value; + /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); - /******/ if (mode & 2 && typeof value != 'string') for (var key in value) __webpack_require__.d(ns, key, function (key) { return value[key]; }.bind(null, key)); + /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; - /******/ -}; + /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules - /******/ __webpack_require__.n = function (module) { + /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; - /******/ -}; + /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call - /******/ __webpack_require__.o = function (object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; + /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; @@ -98,13982 +88,15842 @@ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = 0); - /******/ -}) + /******/ }) /************************************************************************/ - /******/([ + /******/ ([ /* 0 */ - /***/ (function (module, exports, __webpack_require__) { - - __webpack_require__(1); - __webpack_require__(55); - __webpack_require__(56); - __webpack_require__(57); - __webpack_require__(58); - __webpack_require__(59); - __webpack_require__(60); - __webpack_require__(61); - __webpack_require__(62); - __webpack_require__(63); - __webpack_require__(64); - __webpack_require__(65); - __webpack_require__(66); - __webpack_require__(67); - __webpack_require__(68); - __webpack_require__(73); - __webpack_require__(76); - __webpack_require__(81); - __webpack_require__(83); - __webpack_require__(84); - __webpack_require__(85); - __webpack_require__(86); - __webpack_require__(88); - __webpack_require__(89); - __webpack_require__(91); - __webpack_require__(99); - __webpack_require__(100); - __webpack_require__(101); - __webpack_require__(102); - __webpack_require__(110); - __webpack_require__(111); - __webpack_require__(113); - __webpack_require__(114); - __webpack_require__(115); - __webpack_require__(117); - __webpack_require__(118); - __webpack_require__(119); - __webpack_require__(120); - __webpack_require__(121); - __webpack_require__(122); - __webpack_require__(125); - __webpack_require__(126); - __webpack_require__(127); - __webpack_require__(128); - __webpack_require__(134); - __webpack_require__(135); - __webpack_require__(137); - __webpack_require__(138); - __webpack_require__(139); - __webpack_require__(141); - __webpack_require__(142); - __webpack_require__(144); - __webpack_require__(145); - __webpack_require__(147); - __webpack_require__(148); - __webpack_require__(149); - __webpack_require__(150); - __webpack_require__(157); - __webpack_require__(159); - __webpack_require__(160); - __webpack_require__(161); - __webpack_require__(163); - __webpack_require__(164); - __webpack_require__(166); - __webpack_require__(167); - __webpack_require__(169); - __webpack_require__(170); - __webpack_require__(171); - __webpack_require__(172); - __webpack_require__(173); - __webpack_require__(174); - __webpack_require__(175); - __webpack_require__(176); - __webpack_require__(177); - __webpack_require__(178); - __webpack_require__(179); - __webpack_require__(182); - __webpack_require__(183); - __webpack_require__(185); - __webpack_require__(187); - __webpack_require__(188); - __webpack_require__(189); - __webpack_require__(190); - __webpack_require__(191); - __webpack_require__(193); - __webpack_require__(195); - __webpack_require__(198); - __webpack_require__(199); - __webpack_require__(201); - __webpack_require__(202); - __webpack_require__(204); - __webpack_require__(205); - __webpack_require__(206); - __webpack_require__(207); - __webpack_require__(209); - __webpack_require__(210); - __webpack_require__(211); - __webpack_require__(212); - __webpack_require__(213); - __webpack_require__(214); - __webpack_require__(215); - __webpack_require__(217); - __webpack_require__(218); - __webpack_require__(219); - __webpack_require__(220); - __webpack_require__(221); - __webpack_require__(222); - __webpack_require__(223); - __webpack_require__(224); - __webpack_require__(225); - __webpack_require__(226); - __webpack_require__(228); - __webpack_require__(229); - __webpack_require__(230); - __webpack_require__(231); - __webpack_require__(239); - __webpack_require__(240); - __webpack_require__(241); - __webpack_require__(242); - __webpack_require__(243); - __webpack_require__(244); - __webpack_require__(245); - __webpack_require__(246); - __webpack_require__(247); - __webpack_require__(248); - __webpack_require__(249); - __webpack_require__(250); - __webpack_require__(251); - __webpack_require__(252); - __webpack_require__(253); - __webpack_require__(256); - __webpack_require__(258); - __webpack_require__(259); - __webpack_require__(260); - __webpack_require__(261); - __webpack_require__(263); - __webpack_require__(266); - __webpack_require__(267); - __webpack_require__(268); - __webpack_require__(269); - __webpack_require__(273); - __webpack_require__(275); - __webpack_require__(276); - __webpack_require__(277); - __webpack_require__(278); - __webpack_require__(279); - __webpack_require__(280); - __webpack_require__(281); - __webpack_require__(282); - __webpack_require__(284); - __webpack_require__(285); - __webpack_require__(286); - __webpack_require__(289); - __webpack_require__(290); - __webpack_require__(291); - __webpack_require__(292); - __webpack_require__(293); - __webpack_require__(294); - __webpack_require__(295); - __webpack_require__(296); - __webpack_require__(297); - __webpack_require__(298); - __webpack_require__(299); - __webpack_require__(300); - __webpack_require__(301); - __webpack_require__(306); - __webpack_require__(307); - __webpack_require__(308); - __webpack_require__(309); - __webpack_require__(310); - __webpack_require__(311); - __webpack_require__(312); - __webpack_require__(313); - __webpack_require__(314); - __webpack_require__(315); - __webpack_require__(316); - __webpack_require__(317); - __webpack_require__(318); - __webpack_require__(319); - __webpack_require__(320); - __webpack_require__(321); - __webpack_require__(322); - __webpack_require__(323); - __webpack_require__(324); - __webpack_require__(325); - __webpack_require__(326); - __webpack_require__(327); - __webpack_require__(328); - __webpack_require__(329); - __webpack_require__(330); - __webpack_require__(331); - __webpack_require__(332); - __webpack_require__(333); - __webpack_require__(334); - __webpack_require__(335); - __webpack_require__(336); - __webpack_require__(337); - __webpack_require__(338); - __webpack_require__(339); - __webpack_require__(341); - __webpack_require__(342); - __webpack_require__(343); - __webpack_require__(344); - __webpack_require__(345); - __webpack_require__(347); - __webpack_require__(348); - __webpack_require__(349); - __webpack_require__(351); - __webpack_require__(354); - __webpack_require__(355); - __webpack_require__(356); - __webpack_require__(357); - __webpack_require__(359); - __webpack_require__(360); - __webpack_require__(362); - __webpack_require__(363); - __webpack_require__(364); - __webpack_require__(365); - __webpack_require__(366); - __webpack_require__(367); - __webpack_require__(369); - __webpack_require__(370); - __webpack_require__(371); - __webpack_require__(372); - __webpack_require__(373); - __webpack_require__(374); - __webpack_require__(375); - __webpack_require__(377); - __webpack_require__(378); - __webpack_require__(379); - __webpack_require__(380); - __webpack_require__(381); - __webpack_require__(382); - __webpack_require__(383); - __webpack_require__(384); - __webpack_require__(385); - __webpack_require__(386); - __webpack_require__(387); - __webpack_require__(388); - __webpack_require__(389); - __webpack_require__(390); - __webpack_require__(391); - __webpack_require__(393); - __webpack_require__(394); - __webpack_require__(395); - __webpack_require__(396); - __webpack_require__(397); - __webpack_require__(398); - __webpack_require__(399); - __webpack_require__(400); - __webpack_require__(401); - __webpack_require__(403); - __webpack_require__(404); - __webpack_require__(405); - __webpack_require__(407); - __webpack_require__(408); - __webpack_require__(409); - __webpack_require__(410); - __webpack_require__(411); - __webpack_require__(412); - __webpack_require__(413); - __webpack_require__(414); - __webpack_require__(415); - __webpack_require__(416); - __webpack_require__(417); - __webpack_require__(418); - __webpack_require__(419); - __webpack_require__(420); - __webpack_require__(421); - __webpack_require__(422); - __webpack_require__(423); - __webpack_require__(424); - __webpack_require__(425); - __webpack_require__(426); - __webpack_require__(427); - __webpack_require__(428); - __webpack_require__(429); - __webpack_require__(430); - __webpack_require__(431); - __webpack_require__(432); - __webpack_require__(433); - __webpack_require__(434); - __webpack_require__(435); - __webpack_require__(437); - __webpack_require__(438); - __webpack_require__(439); - __webpack_require__(440); - __webpack_require__(441); - __webpack_require__(445); - module.exports = __webpack_require__(444); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + __webpack_require__(1); + __webpack_require__(83); + __webpack_require__(99); + __webpack_require__(100); + __webpack_require__(102); + __webpack_require__(104); + __webpack_require__(105); + __webpack_require__(109); + __webpack_require__(111); + __webpack_require__(114); + __webpack_require__(115); + __webpack_require__(117); + __webpack_require__(121); + __webpack_require__(130); + __webpack_require__(131); + __webpack_require__(133); + __webpack_require__(134); + __webpack_require__(135); + __webpack_require__(136); + __webpack_require__(166); + __webpack_require__(167); + __webpack_require__(168); + __webpack_require__(169); + __webpack_require__(170); + __webpack_require__(171); + __webpack_require__(173); + __webpack_require__(174); + __webpack_require__(175); + __webpack_require__(179); + __webpack_require__(180); + __webpack_require__(183); + __webpack_require__(184); + __webpack_require__(185); + __webpack_require__(188); + __webpack_require__(189); + __webpack_require__(190); + __webpack_require__(193); + __webpack_require__(194); + __webpack_require__(204); + __webpack_require__(208); + __webpack_require__(210); + __webpack_require__(212); + __webpack_require__(214); + __webpack_require__(215); + __webpack_require__(216); + __webpack_require__(217); + __webpack_require__(218); + __webpack_require__(222); + __webpack_require__(224); + __webpack_require__(225); + __webpack_require__(229); + __webpack_require__(230); + __webpack_require__(232); + __webpack_require__(233); + __webpack_require__(234); + __webpack_require__(235); + __webpack_require__(237); + __webpack_require__(238); + __webpack_require__(240); + __webpack_require__(241); + __webpack_require__(242); + __webpack_require__(243); + __webpack_require__(244); + __webpack_require__(245); + __webpack_require__(246); + __webpack_require__(250); + __webpack_require__(265); + __webpack_require__(266); + __webpack_require__(268); + __webpack_require__(269); + __webpack_require__(274); + __webpack_require__(276); + __webpack_require__(277); + __webpack_require__(279); + __webpack_require__(280); + __webpack_require__(281); + __webpack_require__(282); + __webpack_require__(283); + __webpack_require__(285); + __webpack_require__(290); + __webpack_require__(291); + __webpack_require__(292); + __webpack_require__(293); + __webpack_require__(294); + __webpack_require__(295); + __webpack_require__(297); + __webpack_require__(298); + __webpack_require__(299); + __webpack_require__(300); + __webpack_require__(301); + __webpack_require__(302); + __webpack_require__(303); + __webpack_require__(304); + __webpack_require__(305); + __webpack_require__(306); + __webpack_require__(307); + __webpack_require__(310); + __webpack_require__(312); + __webpack_require__(314); + __webpack_require__(316); + __webpack_require__(317); + __webpack_require__(318); + __webpack_require__(319); + __webpack_require__(320); + __webpack_require__(321); + __webpack_require__(323); + __webpack_require__(325); + __webpack_require__(326); + __webpack_require__(327); + __webpack_require__(328); + __webpack_require__(329); + __webpack_require__(330); + __webpack_require__(332); + __webpack_require__(333); + __webpack_require__(334); + __webpack_require__(335); + __webpack_require__(336); + __webpack_require__(337); + __webpack_require__(338); + __webpack_require__(341); + __webpack_require__(342); + __webpack_require__(343); + __webpack_require__(344); + __webpack_require__(345); + __webpack_require__(346); + __webpack_require__(347); + __webpack_require__(348); + __webpack_require__(352); + __webpack_require__(353); + __webpack_require__(355); + __webpack_require__(356); + __webpack_require__(357); + __webpack_require__(358); + __webpack_require__(359); + __webpack_require__(360); + __webpack_require__(361); + __webpack_require__(362); + __webpack_require__(363); + __webpack_require__(365); + __webpack_require__(368); + __webpack_require__(369); + __webpack_require__(376); + __webpack_require__(379); + __webpack_require__(380); + __webpack_require__(381); + __webpack_require__(382); + __webpack_require__(383); + __webpack_require__(385); + __webpack_require__(386); + __webpack_require__(388); + __webpack_require__(389); + __webpack_require__(391); + __webpack_require__(392); + __webpack_require__(394); + __webpack_require__(395); + __webpack_require__(396); + __webpack_require__(397); + __webpack_require__(398); + __webpack_require__(399); + __webpack_require__(400); + __webpack_require__(402); + __webpack_require__(403); + __webpack_require__(405); + __webpack_require__(406); + __webpack_require__(408); + __webpack_require__(410); + __webpack_require__(413); + __webpack_require__(417); + __webpack_require__(418); + __webpack_require__(420); + __webpack_require__(421); + __webpack_require__(423); + __webpack_require__(424); + __webpack_require__(425); + __webpack_require__(426); + __webpack_require__(427); + __webpack_require__(428); + __webpack_require__(429); + __webpack_require__(432); + __webpack_require__(433); + __webpack_require__(434); + __webpack_require__(435); + __webpack_require__(440); + __webpack_require__(441); + __webpack_require__(443); + __webpack_require__(444); + __webpack_require__(446); + __webpack_require__(447); + __webpack_require__(448); + __webpack_require__(449); + __webpack_require__(452); + __webpack_require__(453); + __webpack_require__(454); + __webpack_require__(455); + __webpack_require__(458); + __webpack_require__(459); + __webpack_require__(460); + __webpack_require__(465); + __webpack_require__(466); + __webpack_require__(467); + __webpack_require__(469); + __webpack_require__(470); + module.exports = __webpack_require__(471); + + + /***/ }), /* 1 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // ECMAScript 6 symbols shim - var global = __webpack_require__(2); - var has = __webpack_require__(3); - var DESCRIPTORS = __webpack_require__(4); - var IS_PURE = __webpack_require__(6); - var $export = __webpack_require__(7); - var redefine = __webpack_require__(22); - var hiddenKeys = __webpack_require__(30); - var fails = __webpack_require__(5); - var shared = __webpack_require__(25); - var setToStringTag = __webpack_require__(42); - var uid = __webpack_require__(29); - var wellKnownSymbol = __webpack_require__(43); - var wrappedWellKnownSymbolModule = __webpack_require__(45); - var defineWellKnownSymbol = __webpack_require__(46); - var enumKeys = __webpack_require__(48); - var isArray = __webpack_require__(50); - var anObject = __webpack_require__(21); - var isObject = __webpack_require__(16); - var toIndexedObject = __webpack_require__(11); - var toPrimitive = __webpack_require__(15); - var createPropertyDescriptor = __webpack_require__(10); - var nativeObjectCreate = __webpack_require__(51); - var getOwnPropertyNamesExternal = __webpack_require__(54); - var getOwnPropertyDescriptorModule = __webpack_require__(8); - var definePropertyModule = __webpack_require__(20); - var propertyIsEnumerableModule = __webpack_require__(9); - var hide = __webpack_require__(19); - var objectKeys = __webpack_require__(49); - var HIDDEN = __webpack_require__(28)('hidden'); - var InternalStateModule = __webpack_require__(26); - var SYMBOL = 'Symbol'; - var setInternalState = InternalStateModule.set; - var getInternalState = InternalStateModule.getterFor(SYMBOL); - var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - var nativeDefineProperty = definePropertyModule.f; - var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; - var $Symbol = global.Symbol; - var JSON = global.JSON; - var nativeJSONStringify = JSON && JSON.stringify; - var PROTOTYPE = 'prototype'; - var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); - var nativePropertyIsEnumerable = propertyIsEnumerableModule.f; - var SymbolRegistry = shared('symbol-registry'); - var AllSymbols = shared('symbols'); - var ObjectPrototypeSymbols = shared('op-symbols'); - var WellKnownSymbolsStore = shared('wks'); - var ObjectPrototype = Object[PROTOTYPE]; - var QObject = global.QObject; - var NATIVE_SYMBOL = __webpack_require__(44); - // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 - var USE_SETTER = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; - - // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 - var setSymbolDescriptor = DESCRIPTORS && fails(function () { - return nativeObjectCreate(nativeDefineProperty({}, 'a', { - get: function () { return nativeDefineProperty(this, 'a', { value: 7 }).a; } - })).a != 7; - }) ? function (it, key, D) { - var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor(ObjectPrototype, key); - if (ObjectPrototypeDescriptor) delete ObjectPrototype[key]; - nativeDefineProperty(it, key, D); - if (ObjectPrototypeDescriptor && it !== ObjectPrototype) { - nativeDefineProperty(ObjectPrototype, key, ObjectPrototypeDescriptor); - } - } : nativeDefineProperty; - - var wrap = function (tag, description) { - var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE]); - setInternalState(symbol, { - type: SYMBOL, - tag: tag, - description: description - }); - if (!DESCRIPTORS) symbol.description = description; - return symbol; - }; - - var isSymbol = NATIVE_SYMBOL && typeof $Symbol.iterator == 'symbol' ? function (it) { - return typeof it == 'symbol'; - } : function (it) { - return Object(it) instanceof $Symbol; - }; - - var $defineProperty = function defineProperty(it, key, D) { - if (it === ObjectPrototype) $defineProperty(ObjectPrototypeSymbols, key, D); - anObject(it); - key = toPrimitive(key, true); - anObject(D); - if (has(AllSymbols, key)) { - if (!D.enumerable) { - if (!has(it, HIDDEN)) nativeDefineProperty(it, HIDDEN, createPropertyDescriptor(1, {})); - it[HIDDEN][key] = true; - } else { - if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; - D = nativeObjectCreate(D, { enumerable: createPropertyDescriptor(0, false) }); - } return setSymbolDescriptor(it, key, D); - } return nativeDefineProperty(it, key, D); - }; - - var $defineProperties = function defineProperties(it, P) { - anObject(it); - var keys = enumKeys(P = toIndexedObject(P)); - var i = 0; - var l = keys.length; - var key; - while (l > i) $defineProperty(it, key = keys[i++], P[key]); - return it; - }; - - var $create = function create(it, P) { - return P === undefined ? nativeObjectCreate(it) : $defineProperties(nativeObjectCreate(it), P); - }; - - var $propertyIsEnumerable = function propertyIsEnumerable(key) { - var E = nativePropertyIsEnumerable.call(this, key = toPrimitive(key, true)); - if (this === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return false; - return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; - }; - - var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { - it = toIndexedObject(it); - key = toPrimitive(key, true); - if (it === ObjectPrototype && has(AllSymbols, key) && !has(ObjectPrototypeSymbols, key)) return; - var D = nativeGetOwnPropertyDescriptor(it, key); - if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; - return D; - }; - - var $getOwnPropertyNames = function getOwnPropertyNames(it) { - var names = nativeGetOwnPropertyNames(toIndexedObject(it)); - var result = []; - var i = 0; - var key; - while (names.length > i) { - if (!has(AllSymbols, key = names[i++]) && !has(hiddenKeys, key)) result.push(key); - } return result; - }; - - var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { - var IS_OP = it === ObjectPrototype; - var names = nativeGetOwnPropertyNames(IS_OP ? ObjectPrototypeSymbols : toIndexedObject(it)); - var result = []; - var i = 0; - var key; - while (names.length > i) { - if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectPrototype, key) : true)) result.push(AllSymbols[key]); - } return result; - }; - - // `Symbol` constructor - // https://tc39.github.io/ecma262/#sec-symbol-constructor - if (!NATIVE_SYMBOL) { - $Symbol = function Symbol() { - if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor'); - var description = arguments[0] === undefined ? undefined : String(arguments[0]); - var tag = uid(description); - var setter = function (value) { - if (this === ObjectPrototype) setter.call(ObjectPrototypeSymbols, value); - if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; - setSymbolDescriptor(this, tag, createPropertyDescriptor(1, value)); - }; - if (DESCRIPTORS && USE_SETTER) setSymbolDescriptor(ObjectPrototype, tag, { configurable: true, set: setter }); - return wrap(tag, description); - }; - redefine($Symbol[PROTOTYPE], 'toString', function toString() { - return getInternalState(this).tag; - }); - - propertyIsEnumerableModule.f = $propertyIsEnumerable; - definePropertyModule.f = $defineProperty; - getOwnPropertyDescriptorModule.f = $getOwnPropertyDescriptor; - __webpack_require__(33).f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames; - __webpack_require__(40).f = $getOwnPropertySymbols; - - if (DESCRIPTORS) { - // https://github.com/tc39/proposal-Symbol-description - nativeDefineProperty($Symbol[PROTOTYPE], 'description', { - configurable: true, - get: function description() { - return getInternalState(this).description; - } - }); - if (!IS_PURE) { - redefine(ObjectPrototype, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true }); - } - } - - wrappedWellKnownSymbolModule.f = function (name) { - return wrap(wellKnownSymbol(name), name); - }; - } - - $export({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, { Symbol: $Symbol }); - - for (var wellKnownSymbols = objectKeys(WellKnownSymbolsStore), k = 0; wellKnownSymbols.length > k;) { - defineWellKnownSymbol(wellKnownSymbols[k++]); - } - - $export({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, { - // `Symbol.for` method - // https://tc39.github.io/ecma262/#sec-symbol.for - 'for': function (key) { - return has(SymbolRegistry, key += '') - ? SymbolRegistry[key] - : SymbolRegistry[key] = $Symbol(key); - }, - // `Symbol.keyFor` method - // https://tc39.github.io/ecma262/#sec-symbol.keyfor - keyFor: function keyFor(sym) { - if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol'); - for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; - }, - useSetter: function () { USE_SETTER = true; }, - useSimple: function () { USE_SETTER = false; } - }); - - $export({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS }, { - // `Object.create` method - // https://tc39.github.io/ecma262/#sec-object.create - create: $create, - // `Object.defineProperty` method - // https://tc39.github.io/ecma262/#sec-object.defineproperty - defineProperty: $defineProperty, - // `Object.defineProperties` method - // https://tc39.github.io/ecma262/#sec-object.defineproperties - defineProperties: $defineProperties, - // `Object.getOwnPropertyDescriptor` method - // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors - getOwnPropertyDescriptor: $getOwnPropertyDescriptor - }); - - $export({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, { - // `Object.getOwnPropertyNames` method - // https://tc39.github.io/ecma262/#sec-object.getownpropertynames - getOwnPropertyNames: $getOwnPropertyNames, - // `Object.getOwnPropertySymbols` method - // https://tc39.github.io/ecma262/#sec-object.getownpropertysymbols - getOwnPropertySymbols: $getOwnPropertySymbols - }); - - // `JSON.stringify` method behavior with symbols - // https://tc39.github.io/ecma262/#sec-json.stringify - JSON && $export({ - target: 'JSON', stat: true, forced: !NATIVE_SYMBOL || fails(function () { - var symbol = $Symbol(); - // MS Edge converts symbol values to JSON as {} - return nativeJSONStringify([symbol]) != '[null]' - // WebKit converts symbol values to JSON as null - || nativeJSONStringify({ a: symbol }) != '{}' - // V8 throws on boxed symbols - || nativeJSONStringify(Object(symbol)) != '{}'; - }) - }, { - stringify: function stringify(it) { - var args = [it]; - var i = 1; - var replacer, $replacer; - while (arguments.length > i) args.push(arguments[i++]); - $replacer = replacer = args[1]; - if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined - if (!isArray(replacer)) replacer = function (key, value) { - if (typeof $replacer == 'function') value = $replacer.call(this, key, value); - if (!isSymbol(value)) return value; - }; - args[1] = replacer; - return nativeJSONStringify.apply(JSON, args); - } - }); - - // `Symbol.prototype[@@toPrimitive]` method - // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@toprimitive - if (!$Symbol[PROTOTYPE][TO_PRIMITIVE]) hide($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); - // `Symbol.prototype[@@toStringTag]` property - // https://tc39.github.io/ecma262/#sec-symbol.prototype-@@tostringtag - setToStringTag($Symbol, SYMBOL); - - hiddenKeys[HIDDEN] = true; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable no-unused-vars -- required for functions `.length` */ + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var apply = __webpack_require__(67); + var wrapErrorConstructorWithCause = __webpack_require__(68); + + var WEB_ASSEMBLY = 'WebAssembly'; + var WebAssembly = global[WEB_ASSEMBLY]; + + // eslint-disable-next-line es/no-error-cause -- feature detection + var FORCED = new Error('e', { cause: 7 }).cause !== 7; + + var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) { + var O = {}; + O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED); + $({ global: true, constructor: true, arity: 1, forced: FORCED }, O); + }; + + var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) { + if (WebAssembly && WebAssembly[ERROR_NAME]) { + var O = {}; + O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED); + $({ target: WEB_ASSEMBLY, stat: true, constructor: true, arity: 1, forced: FORCED }, O); + } + }; + + // https://tc39.es/ecma262/#sec-nativeerror + exportGlobalErrorCauseWrapper('Error', function (init) { + return function Error(message) { return apply(init, this, arguments); }; + }); + exportGlobalErrorCauseWrapper('EvalError', function (init) { + return function EvalError(message) { return apply(init, this, arguments); }; + }); + exportGlobalErrorCauseWrapper('RangeError', function (init) { + return function RangeError(message) { return apply(init, this, arguments); }; + }); + exportGlobalErrorCauseWrapper('ReferenceError', function (init) { + return function ReferenceError(message) { return apply(init, this, arguments); }; + }); + exportGlobalErrorCauseWrapper('SyntaxError', function (init) { + return function SyntaxError(message) { return apply(init, this, arguments); }; + }); + exportGlobalErrorCauseWrapper('TypeError', function (init) { + return function TypeError(message) { return apply(init, this, arguments); }; + }); + exportGlobalErrorCauseWrapper('URIError', function (init) { + return function URIError(message) { return apply(init, this, arguments); }; + }); + exportWebAssemblyErrorCauseWrapper('CompileError', function (init) { + return function CompileError(message) { return apply(init, this, arguments); }; + }); + exportWebAssemblyErrorCauseWrapper('LinkError', function (init) { + return function LinkError(message) { return apply(init, this, arguments); }; + }); + exportWebAssemblyErrorCauseWrapper('RuntimeError', function (init) { + return function RuntimeError(message) { return apply(init, this, arguments); }; + }); + + + /***/ }), /* 2 */ - /***/ (function (module, exports) { - - // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 - module.exports = typeof window == 'object' && window && window.Math == Math ? window - : typeof self == 'object' && self && self.Math == Math ? self - // eslint-disable-next-line no-new-func - : Function('return this')(); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var getOwnPropertyDescriptor = __webpack_require__(4).f; + var createNonEnumerableProperty = __webpack_require__(42); + var defineBuiltIn = __webpack_require__(46); + var defineGlobalProperty = __webpack_require__(36); + var copyConstructorProperties = __webpack_require__(54); + var isForced = __webpack_require__(66); + + /* + options.target - name of the target object + options.global - target is the global object + options.stat - export as static methods of target + options.proto - export as prototype methods of target + options.real - real prototype method for the `pure` version + options.forced - export even if the native feature is available + options.bind - bind methods to the target, required for the `pure` version + options.wrap - wrap constructors to preventing global pollution, required for the `pure` version + options.unsafe - use the simple assignment of property instead of delete + defineProperty + options.sham - add a flag to not completely full polyfills + options.enumerable - export as enumerable property + options.dontCallGetSet - prevent calling a getter on target + options.name - the .name of the function if it does not match the key + */ + module.exports = function (options, source) { + var TARGET = options.target; + var GLOBAL = options.global; + var STATIC = options.stat; + var FORCED, target, key, targetProperty, sourceProperty, descriptor; + if (GLOBAL) { + target = global; + } else if (STATIC) { + target = global[TARGET] || defineGlobalProperty(TARGET, {}); + } else { + target = global[TARGET] && global[TARGET].prototype; + } + if (target) for (key in source) { + sourceProperty = source[key]; + if (options.dontCallGetSet) { + descriptor = getOwnPropertyDescriptor(target, key); + targetProperty = descriptor && descriptor.value; + } else targetProperty = target[key]; + FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); + // contained in target + if (!FORCED && targetProperty !== undefined) { + if (typeof sourceProperty == typeof targetProperty) continue; + copyConstructorProperties(sourceProperty, targetProperty); + } + // add a flag to not completely full polyfills + if (options.sham || (targetProperty && targetProperty.sham)) { + createNonEnumerableProperty(sourceProperty, 'sham', true); + } + defineBuiltIn(target, key, sourceProperty, options); + } + }; + + + /***/ }), /* 3 */ - /***/ (function (module, exports) { - - var hasOwnProperty = {}.hasOwnProperty; - - module.exports = function (it, key) { - return hasOwnProperty.call(it, key); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var check = function (it) { + return it && it.Math === Math && it; + }; + + // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 + module.exports = + // eslint-disable-next-line es/no-global-this -- safe + check(typeof globalThis == 'object' && globalThis) || + check(typeof window == 'object' && window) || + // eslint-disable-next-line no-restricted-globals -- safe + check(typeof self == 'object' && self) || + check(typeof global == 'object' && global) || + check(typeof this == 'object' && this) || + // eslint-disable-next-line no-new-func -- fallback + (function () { return this; })() || Function('return this')(); + + + /***/ }), /* 4 */ - /***/ (function (module, exports, __webpack_require__) { - - // Thank's IE8 for his funny defineProperty - module.exports = !__webpack_require__(5)(function () { - return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var call = __webpack_require__(7); + var propertyIsEnumerableModule = __webpack_require__(9); + var createPropertyDescriptor = __webpack_require__(10); + var toIndexedObject = __webpack_require__(11); + var toPropertyKey = __webpack_require__(17); + var hasOwn = __webpack_require__(37); + var IE8_DOM_DEFINE = __webpack_require__(40); + + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + + // `Object.getOwnPropertyDescriptor` method + // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor + exports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { + O = toIndexedObject(O); + P = toPropertyKey(P); + if (IE8_DOM_DEFINE) try { + return $getOwnPropertyDescriptor(O, P); + } catch (error) { /* empty */ } + if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]); + }; + + + /***/ }), /* 5 */ - /***/ (function (module, exports) { - - module.exports = function (exec) { - try { - return !!exec(); - } catch (e) { - return true; - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + + // Detect IE8's incomplete defineProperty implementation + module.exports = !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7; + }); + + + /***/ }), /* 6 */ - /***/ (function (module, exports) { - - module.exports = false; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = function (exec) { + try { + return !!exec(); + } catch (error) { + return true; + } + }; + + + /***/ }), /* 7 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var getOwnPropertyDescriptor = __webpack_require__(8).f; - var hide = __webpack_require__(19); - var redefine = __webpack_require__(22); - var setGlobal = __webpack_require__(23); - var copyConstructorProperties = __webpack_require__(31); - var isForced = __webpack_require__(41); - - /* - options.target - name of the target object - options.global - target is the global object - options.stat - export as static methods of target - options.proto - export as prototype methods of target - options.real - real prototype method for the `pure` version - options.forced - export even if the native feature is available - options.bind - bind methods to the target, required for the `pure` version - options.wrap - wrap constructors to preventing global pollution, required for the `pure` version - options.unsafe - use the simple assignment of property instead of delete + defineProperty - options.sham - add a flag to not completely full polyfills - options.enumerable - export as enumerable property - options.noTargetGet - prevent calling a getter on target - */ - module.exports = function (options, source) { - var TARGET = options.target; - var GLOBAL = options.global; - var STATIC = options.stat; - var FORCED, target, key, targetProperty, sourceProperty, descriptor; - if (GLOBAL) { - target = global; - } else if (STATIC) { - target = global[TARGET] || setGlobal(TARGET, {}); - } else { - target = (global[TARGET] || {}).prototype; - } - if (target) for (key in source) { - sourceProperty = source[key]; - if (options.noTargetGet) { - descriptor = getOwnPropertyDescriptor(target, key); - targetProperty = descriptor && descriptor.value; - } else targetProperty = target[key]; - FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); - // contained in target - if (!FORCED && targetProperty !== undefined) { - if (typeof sourceProperty === typeof targetProperty) continue; - copyConstructorProperties(sourceProperty, targetProperty); - } - // add a flag to not completely full polyfills - if (options.sham || (targetProperty && targetProperty.sham)) { - hide(sourceProperty, 'sham', true); - } - // extend global - redefine(target, key, sourceProperty, options); - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var NATIVE_BIND = __webpack_require__(8); + + var call = Function.prototype.call; + + module.exports = NATIVE_BIND ? call.bind(call) : function () { + return call.apply(call, arguments); + }; + + + /***/ }), /* 8 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - var propertyIsEnumerableModule = __webpack_require__(9); - var createPropertyDescriptor = __webpack_require__(10); - var toIndexedObject = __webpack_require__(11); - var toPrimitive = __webpack_require__(15); - var has = __webpack_require__(3); - var IE8_DOM_DEFINE = __webpack_require__(17); - var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - - exports.f = DESCRIPTORS ? nativeGetOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) { - O = toIndexedObject(O); - P = toPrimitive(P, true); - if (IE8_DOM_DEFINE) try { - return nativeGetOwnPropertyDescriptor(O, P); - } catch (e) { /* empty */ } - if (has(O, P)) return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O, P), O[P]); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + + module.exports = !fails(function () { + // eslint-disable-next-line es/no-function-prototype-bind -- safe + var test = (function () { /* empty */ }).bind(); + // eslint-disable-next-line no-prototype-builtins -- safe + return typeof test != 'function' || test.hasOwnProperty('prototype'); + }); + + + /***/ }), /* 9 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var nativePropertyIsEnumerable = {}.propertyIsEnumerable; - var nativeGetOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; - - // Nashorn ~ JDK8 bug - var NASHORN_BUG = nativeGetOwnPropertyDescriptor && !nativePropertyIsEnumerable.call({ 1: 2 }, 1); - - exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { - var descriptor = nativeGetOwnPropertyDescriptor(this, V); - return !!descriptor && descriptor.enumerable; - } : nativePropertyIsEnumerable; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $propertyIsEnumerable = {}.propertyIsEnumerable; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + + // Nashorn ~ JDK8 bug + var NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1); + + // `Object.prototype.propertyIsEnumerable` method implementation + // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable + exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) { + var descriptor = getOwnPropertyDescriptor(this, V); + return !!descriptor && descriptor.enumerable; + } : $propertyIsEnumerable; + + + /***/ }), /* 10 */ - /***/ (function (module, exports) { - - module.exports = function (bitmap, value) { - return { - enumerable: !(bitmap & 1), - configurable: !(bitmap & 2), - writable: !(bitmap & 4), - value: value - }; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = function (bitmap, value) { + return { + enumerable: !(bitmap & 1), + configurable: !(bitmap & 2), + writable: !(bitmap & 4), + value: value + }; + }; + + + /***/ }), /* 11 */ - /***/ (function (module, exports, __webpack_require__) { - - // toObject with fallback for non-array-like ES3 strings - var IndexedObject = __webpack_require__(12); - var requireObjectCoercible = __webpack_require__(14); - - module.exports = function (it) { - return IndexedObject(requireObjectCoercible(it)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // toObject with fallback for non-array-like ES3 strings + var IndexedObject = __webpack_require__(12); + var requireObjectCoercible = __webpack_require__(15); + + module.exports = function (it) { + return IndexedObject(requireObjectCoercible(it)); + }; + + + /***/ }), /* 12 */ - /***/ (function (module, exports, __webpack_require__) { - - // fallback for non-array-like ES3 and non-enumerable old V8 strings - var fails = __webpack_require__(5); - var classof = __webpack_require__(13); - var split = ''.split; - - module.exports = fails(function () { - // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 - // eslint-disable-next-line no-prototype-builtins - return !Object('z').propertyIsEnumerable(0); - }) ? function (it) { - return classof(it) == 'String' ? split.call(it, '') : Object(it); - } : Object; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var fails = __webpack_require__(6); + var classof = __webpack_require__(14); + + var $Object = Object; + var split = uncurryThis(''.split); + + // fallback for non-array-like ES3 and non-enumerable old V8 strings + module.exports = fails(function () { + // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346 + // eslint-disable-next-line no-prototype-builtins -- safe + return !$Object('z').propertyIsEnumerable(0); + }) ? function (it) { + return classof(it) === 'String' ? split(it, '') : $Object(it); + } : $Object; + + + /***/ }), /* 13 */ - /***/ (function (module, exports) { - - var toString = {}.toString; - - module.exports = function (it) { - return toString.call(it).slice(8, -1); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var NATIVE_BIND = __webpack_require__(8); + + var FunctionPrototype = Function.prototype; + var call = FunctionPrototype.call; + var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call); + + module.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) { + return function () { + return call.apply(fn, arguments); + }; + }; + + + /***/ }), /* 14 */ - /***/ (function (module, exports) { - - // `RequireObjectCoercible` abstract operation - // https://tc39.github.io/ecma262/#sec-requireobjectcoercible - module.exports = function (it) { - if (it == undefined) throw TypeError("Can't call method on " + it); - return it; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + var toString = uncurryThis({}.toString); + var stringSlice = uncurryThis(''.slice); + + module.exports = function (it) { + return stringSlice(toString(it), 8, -1); + }; + + + /***/ }), /* 15 */ - /***/ (function (module, exports, __webpack_require__) { - - // 7.1.1 ToPrimitive(input [, PreferredType]) - var isObject = __webpack_require__(16); - // instead of the ES6 spec version, we didn't implement @@toPrimitive case - // and the second argument - flag - preferred type is a string - module.exports = function (it, S) { - if (!isObject(it)) return it; - var fn, val; - if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; - if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val; - if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val; - throw TypeError("Can't convert object to primitive value"); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isNullOrUndefined = __webpack_require__(16); + + var $TypeError = TypeError; + + // `RequireObjectCoercible` abstract operation + // https://tc39.es/ecma262/#sec-requireobjectcoercible + module.exports = function (it) { + if (isNullOrUndefined(it)) throw new $TypeError("Can't call method on " + it); + return it; + }; + + + /***/ }), /* 16 */ - /***/ (function (module, exports) { - - module.exports = function (it) { - return typeof it === 'object' ? it !== null : typeof it === 'function'; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // we can't use just `it == null` since of `document.all` special case + // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec + module.exports = function (it) { + return it === null || it === undefined; + }; + + + /***/ }), /* 17 */ - /***/ (function (module, exports, __webpack_require__) { - - // Thank's IE8 for his funny defineProperty - module.exports = !__webpack_require__(4) && !__webpack_require__(5)(function () { - return Object.defineProperty(__webpack_require__(18)('div'), 'a', { - get: function () { return 7; } - }).a != 7; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toPrimitive = __webpack_require__(18); + var isSymbol = __webpack_require__(21); + + // `ToPropertyKey` abstract operation + // https://tc39.es/ecma262/#sec-topropertykey + module.exports = function (argument) { + var key = toPrimitive(argument, 'string'); + return isSymbol(key) ? key : key + ''; + }; + + + /***/ }), /* 18 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var document = __webpack_require__(2).document; - // typeof document.createElement is 'object' in old IE - var exist = isObject(document) && isObject(document.createElement); - - module.exports = function (it) { - return exist ? document.createElement(it) : {}; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var isObject = __webpack_require__(19); + var isSymbol = __webpack_require__(21); + var getMethod = __webpack_require__(28); + var ordinaryToPrimitive = __webpack_require__(31); + var wellKnownSymbol = __webpack_require__(32); + + var $TypeError = TypeError; + var TO_PRIMITIVE = wellKnownSymbol('toPrimitive'); + + // `ToPrimitive` abstract operation + // https://tc39.es/ecma262/#sec-toprimitive + module.exports = function (input, pref) { + if (!isObject(input) || isSymbol(input)) return input; + var exoticToPrim = getMethod(input, TO_PRIMITIVE); + var result; + if (exoticToPrim) { + if (pref === undefined) pref = 'default'; + result = call(exoticToPrim, input, pref); + if (!isObject(result) || isSymbol(result)) return result; + throw new $TypeError("Can't convert object to primitive value"); + } + if (pref === undefined) pref = 'number'; + return ordinaryToPrimitive(input, pref); + }; + + + /***/ }), /* 19 */ - /***/ (function (module, exports, __webpack_require__) { - - var definePropertyModule = __webpack_require__(20); - var createPropertyDescriptor = __webpack_require__(10); - - module.exports = __webpack_require__(4) ? function (object, key, value) { - return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); - } : function (object, key, value) { - object[key] = value; - return object; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isCallable = __webpack_require__(20); + + module.exports = function (it) { + return typeof it == 'object' ? it !== null : isCallable(it); + }; + + + /***/ }), /* 20 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - var IE8_DOM_DEFINE = __webpack_require__(17); - var anObject = __webpack_require__(21); - var toPrimitive = __webpack_require__(15); - var nativeDefineProperty = Object.defineProperty; - - exports.f = DESCRIPTORS ? nativeDefineProperty : function defineProperty(O, P, Attributes) { - anObject(O); - P = toPrimitive(P, true); - anObject(Attributes); - if (IE8_DOM_DEFINE) try { - return nativeDefineProperty(O, P, Attributes); - } catch (e) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); - if ('value' in Attributes) O[P] = Attributes.value; - return O; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot + var documentAll = typeof document == 'object' && document.all; + + // `IsCallable` abstract operation + // https://tc39.es/ecma262/#sec-iscallable + // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing + module.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) { + return typeof argument == 'function' || argument === documentAll; + } : function (argument) { + return typeof argument == 'function'; + }; + + + /***/ }), /* 21 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - - module.exports = function (it) { - if (!isObject(it)) { - throw TypeError(String(it) + ' is not an object'); - } return it; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + var isCallable = __webpack_require__(20); + var isPrototypeOf = __webpack_require__(23); + var USE_SYMBOL_AS_UID = __webpack_require__(24); + + var $Object = Object; + + module.exports = USE_SYMBOL_AS_UID ? function (it) { + return typeof it == 'symbol'; + } : function (it) { + var $Symbol = getBuiltIn('Symbol'); + return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it)); + }; + + + /***/ }), /* 22 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var hide = __webpack_require__(19); - var has = __webpack_require__(3); - var setGlobal = __webpack_require__(23); - var nativeFunctionToString = __webpack_require__(24); - var InternalStateModule = __webpack_require__(26); - var getInternalState = InternalStateModule.get; - var enforceInternalState = InternalStateModule.enforce; - var TEMPLATE = String(nativeFunctionToString).split('toString'); - - __webpack_require__(25)('inspectSource', function (it) { - return nativeFunctionToString.call(it); - }); - - (module.exports = function (O, key, value, options) { - var unsafe = options ? !!options.unsafe : false; - var simple = options ? !!options.enumerable : false; - var noTargetGet = options ? !!options.noTargetGet : false; - if (typeof value == 'function') { - if (typeof key == 'string' && !has(value, 'name')) hide(value, 'name', key); - enforceInternalState(value).source = TEMPLATE.join(typeof key == 'string' ? key : ''); - } - if (O === global) { - if (simple) O[key] = value; - else setGlobal(key, value); - return; - } else if (!unsafe) { - delete O[key]; - } else if (!noTargetGet && O[key]) { - simple = true; - } - if (simple) O[key] = value; - else hide(O, key, value); - // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative - })(Function.prototype, 'toString', function toString() { - return typeof this == 'function' && getInternalState(this).source || nativeFunctionToString.call(this); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var isCallable = __webpack_require__(20); + + var aFunction = function (argument) { + return isCallable(argument) ? argument : undefined; + }; + + module.exports = function (namespace, method) { + return arguments.length < 2 ? aFunction(global[namespace]) : global[namespace] && global[namespace][method]; + }; + + + /***/ }), /* 23 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var hide = __webpack_require__(19); - - module.exports = function (key, value) { - try { - hide(global, key, value); - } catch (e) { - global[key] = value; - } return value; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + module.exports = uncurryThis({}.isPrototypeOf); + + + /***/ }), /* 24 */ - /***/ (function (module, exports, __webpack_require__) { - - module.exports = __webpack_require__(25)('native-function-to-string', Function.toString); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable es/no-symbol -- required for testing */ + var NATIVE_SYMBOL = __webpack_require__(25); + + module.exports = NATIVE_SYMBOL + && !Symbol.sham + && typeof Symbol.iterator == 'symbol'; + + + /***/ }), /* 25 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var setGlobal = __webpack_require__(23); - var SHARED = '__core-js_shared__'; - var store = global[SHARED] || setGlobal(SHARED, {}); - - (module.exports = function (key, value) { - return store[key] || (store[key] = value !== undefined ? value : {}); - })('versions', []).push({ - version: '3.0.0', - mode: __webpack_require__(6) ? 'pure' : 'global', - copyright: '© 2019 Denis Pushkarev (zloirock.ru)' - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable es/no-symbol -- required for testing */ + var V8_VERSION = __webpack_require__(26); + var fails = __webpack_require__(6); + var global = __webpack_require__(3); + + var $String = global.String; + + // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing + module.exports = !!Object.getOwnPropertySymbols && !fails(function () { + var symbol = Symbol('symbol detection'); + // Chrome 38 Symbol has incorrect toString conversion + // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances + // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will, + // of course, fail. + return !$String(symbol) || !(Object(symbol) instanceof Symbol) || + // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances + !Symbol.sham && V8_VERSION && V8_VERSION < 41; + }); + + + /***/ }), /* 26 */ - /***/ (function (module, exports, __webpack_require__) { - - var NATIVE_WEAK_MAP = __webpack_require__(27); - var isObject = __webpack_require__(16); - var hide = __webpack_require__(19); - var objectHas = __webpack_require__(3); - var sharedKey = __webpack_require__(28); - var hiddenKeys = __webpack_require__(30); - var WeakMap = __webpack_require__(2).WeakMap; - var set, get, has; - - var enforce = function (it) { - return has(it) ? get(it) : set(it, {}); - }; - - var getterFor = function (TYPE) { - return function (it) { - var state; - if (!isObject(it) || (state = get(it)).type !== TYPE) { - throw TypeError('Incompatible receiver, ' + TYPE + ' required'); - } return state; - }; - }; - - if (NATIVE_WEAK_MAP) { - var store = new WeakMap(); - var wmget = store.get; - var wmhas = store.has; - var wmset = store.set; - set = function (it, metadata) { - wmset.call(store, it, metadata); - return metadata; - }; - get = function (it) { - return wmget.call(store, it) || {}; - }; - has = function (it) { - return wmhas.call(store, it); - }; - } else { - var STATE = sharedKey('state'); - hiddenKeys[STATE] = true; - set = function (it, metadata) { - hide(it, STATE, metadata); - return metadata; - }; - get = function (it) { - return objectHas(it, STATE) ? it[STATE] : {}; - }; - has = function (it) { - return objectHas(it, STATE); - }; - } - - module.exports = { - set: set, - get: get, - has: has, - enforce: enforce, - getterFor: getterFor - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var userAgent = __webpack_require__(27); + + var process = global.process; + var Deno = global.Deno; + var versions = process && process.versions || Deno && Deno.version; + var v8 = versions && versions.v8; + var match, version; + + if (v8) { + match = v8.split('.'); + // in old Chrome, versions of V8 isn't V8 = Chrome / 10 + // but their correct versions are not interesting for us + version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]); + } + + // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0` + // so check `userAgent` even if `.v8` exists, but 0 + if (!version && userAgent) { + match = userAgent.match(/Edge\/(\d+)/); + if (!match || match[1] >= 74) { + match = userAgent.match(/Chrome\/(\d+)/); + if (match) version = +match[1]; + } + } + + module.exports = version; + + + /***/ }), /* 27 */ - /***/ (function (module, exports, __webpack_require__) { - - var nativeFunctionToString = __webpack_require__(24); - var WeakMap = __webpack_require__(2).WeakMap; - - module.exports = typeof WeakMap === 'function' && /native code/.test(nativeFunctionToString.call(WeakMap)); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || ''; + + + /***/ }), /* 28 */ - /***/ (function (module, exports, __webpack_require__) { - - var shared = __webpack_require__(25)('keys'); - var uid = __webpack_require__(29); - - module.exports = function (key) { - return shared[key] || (shared[key] = uid(key)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aCallable = __webpack_require__(29); + var isNullOrUndefined = __webpack_require__(16); + + // `GetMethod` abstract operation + // https://tc39.es/ecma262/#sec-getmethod + module.exports = function (V, P) { + var func = V[P]; + return isNullOrUndefined(func) ? undefined : aCallable(func); + }; + + + /***/ }), /* 29 */ - /***/ (function (module, exports) { - - var id = 0; - var postfix = Math.random(); - - module.exports = function (key) { - return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + postfix).toString(36)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isCallable = __webpack_require__(20); + var tryToString = __webpack_require__(30); + + var $TypeError = TypeError; + + // `Assert: IsCallable(argument) is true` + module.exports = function (argument) { + if (isCallable(argument)) return argument; + throw new $TypeError(tryToString(argument) + ' is not a function'); + }; + + + /***/ }), /* 30 */ - /***/ (function (module, exports) { - - module.exports = {}; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $String = String; + + module.exports = function (argument) { + try { + return $String(argument); + } catch (error) { + return 'Object'; + } + }; + + + /***/ }), /* 31 */ - /***/ (function (module, exports, __webpack_require__) { - - var has = __webpack_require__(3); - var ownKeys = __webpack_require__(32); - var getOwnPropertyDescriptorModule = __webpack_require__(8); - var definePropertyModule = __webpack_require__(20); - - module.exports = function (target, source) { - var keys = ownKeys(source); - var defineProperty = definePropertyModule.f; - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (!has(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var isCallable = __webpack_require__(20); + var isObject = __webpack_require__(19); + + var $TypeError = TypeError; + + // `OrdinaryToPrimitive` abstract operation + // https://tc39.es/ecma262/#sec-ordinarytoprimitive + module.exports = function (input, pref) { + var fn, val; + if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val; + if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val; + throw new $TypeError("Can't convert object to primitive value"); + }; + + + /***/ }), /* 32 */ - /***/ (function (module, exports, __webpack_require__) { - - var getOwnPropertyNamesModule = __webpack_require__(33); - var getOwnPropertySymbolsModule = __webpack_require__(40); - var anObject = __webpack_require__(21); - var Reflect = __webpack_require__(2).Reflect; - - // all object keys, includes non-enumerable and symbols - module.exports = Reflect && Reflect.ownKeys || function ownKeys(it) { - var keys = getOwnPropertyNamesModule.f(anObject(it)); - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var shared = __webpack_require__(33); + var hasOwn = __webpack_require__(37); + var uid = __webpack_require__(39); + var NATIVE_SYMBOL = __webpack_require__(25); + var USE_SYMBOL_AS_UID = __webpack_require__(24); + + var Symbol = global.Symbol; + var WellKnownSymbolsStore = shared('wks'); + var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid; + + module.exports = function (name) { + if (!hasOwn(WellKnownSymbolsStore, name)) { + WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name) + ? Symbol[name] + : createWellKnownSymbol('Symbol.' + name); + } return WellKnownSymbolsStore[name]; + }; + + + /***/ }), /* 33 */ - /***/ (function (module, exports, __webpack_require__) { - - // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O) - var internalObjectKeys = __webpack_require__(34); - var hiddenKeys = __webpack_require__(39).concat('length', 'prototype'); - - exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { - return internalObjectKeys(O, hiddenKeys); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var store = __webpack_require__(34); + + module.exports = function (key, value) { + return store[key] || (store[key] = value || {}); + }; + + + /***/ }), /* 34 */ - /***/ (function (module, exports, __webpack_require__) { - - var has = __webpack_require__(3); - var toIndexedObject = __webpack_require__(11); - var arrayIndexOf = __webpack_require__(35)(false); - var hiddenKeys = __webpack_require__(30); - - module.exports = function (object, names) { - var O = toIndexedObject(object); - var i = 0; - var result = []; - var key; - for (key in O) !has(hiddenKeys, key) && has(O, key) && result.push(key); - // Don't enum bug & hidden keys - while (names.length > i) if (has(O, key = names[i++])) { - ~arrayIndexOf(result, key) || result.push(key); - } - return result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var IS_PURE = __webpack_require__(35); + var globalThis = __webpack_require__(3); + var defineGlobalProperty = __webpack_require__(36); + + var SHARED = '__core-js_shared__'; + var store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {}); + + (store.versions || (store.versions = [])).push({ + version: '3.36.0', + mode: IS_PURE ? 'pure' : 'global', + copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)', + license: 'https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE', + source: 'https://github.com/zloirock/core-js' + }); + + + /***/ }), /* 35 */ - /***/ (function (module, exports, __webpack_require__) { - - var toIndexedObject = __webpack_require__(11); - var toLength = __webpack_require__(36); - var toAbsoluteIndex = __webpack_require__(38); - - // `Array.prototype.{ indexOf, includes }` methods implementation - // false -> Array#indexOf - // https://tc39.github.io/ecma262/#sec-array.prototype.indexof - // true -> Array#includes - // https://tc39.github.io/ecma262/#sec-array.prototype.includes - module.exports = function (IS_INCLUDES) { - return function ($this, el, fromIndex) { - var O = toIndexedObject($this); - var length = toLength(O.length); - var index = toAbsoluteIndex(fromIndex, length); - var value; - // Array#includes uses SameValueZero equality algorithm - // eslint-disable-next-line no-self-compare - if (IS_INCLUDES && el != el) while (length > index) { - value = O[index++]; - // eslint-disable-next-line no-self-compare - if (value != value) return true; - // Array#indexOf ignores holes, Array#includes - not - } else for (; length > index; index++) if (IS_INCLUDES || index in O) { - if (O[index] === el) return IS_INCLUDES || index || 0; - } return !IS_INCLUDES && -1; - }; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = false; + + + /***/ }), /* 36 */ - /***/ (function (module, exports, __webpack_require__) { - - var toInteger = __webpack_require__(37); - var min = Math.min; - - // `ToLength` abstract operation - // https://tc39.github.io/ecma262/#sec-tolength - module.exports = function (argument) { - return argument > 0 ? min(toInteger(argument), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991 - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + + // eslint-disable-next-line es/no-object-defineproperty -- safe + var defineProperty = Object.defineProperty; + + module.exports = function (key, value) { + try { + defineProperty(global, key, { value: value, configurable: true, writable: true }); + } catch (error) { + global[key] = value; + } return value; + }; + + + /***/ }), /* 37 */ - /***/ (function (module, exports) { - - var ceil = Math.ceil; - var floor = Math.floor; - - // `ToInteger` abstract operation - // https://tc39.github.io/ecma262/#sec-tointeger - module.exports = function (argument) { - return isNaN(argument = +argument) ? 0 : (argument > 0 ? floor : ceil)(argument); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var toObject = __webpack_require__(38); + + var hasOwnProperty = uncurryThis({}.hasOwnProperty); + + // `HasOwnProperty` abstract operation + // https://tc39.es/ecma262/#sec-hasownproperty + // eslint-disable-next-line es/no-object-hasown -- safe + module.exports = Object.hasOwn || function hasOwn(it, key) { + return hasOwnProperty(toObject(it), key); + }; + + + /***/ }), /* 38 */ - /***/ (function (module, exports, __webpack_require__) { - - var toInteger = __webpack_require__(37); - var max = Math.max; - var min = Math.min; - - // Helper for a popular repeating case of the spec: - // Let integer be ? ToInteger(index). - // If integer < 0, let result be max((length + integer), 0); else let result be min(length, length). - module.exports = function (index, length) { - var integer = toInteger(index); - return integer < 0 ? max(integer + length, 0) : min(integer, length); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var requireObjectCoercible = __webpack_require__(15); + + var $Object = Object; + + // `ToObject` abstract operation + // https://tc39.es/ecma262/#sec-toobject + module.exports = function (argument) { + return $Object(requireObjectCoercible(argument)); + }; + + + /***/ }), /* 39 */ - /***/ (function (module, exports) { - - // IE8- don't enum bug keys - module.exports = [ - 'constructor', - 'hasOwnProperty', - 'isPrototypeOf', - 'propertyIsEnumerable', - 'toLocaleString', - 'toString', - 'valueOf' - ]; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + var id = 0; + var postfix = Math.random(); + var toString = uncurryThis(1.0.toString); + + module.exports = function (key) { + return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36); + }; + + + /***/ }), /* 40 */ - /***/ (function (module, exports) { - - exports.f = Object.getOwnPropertySymbols; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var fails = __webpack_require__(6); + var createElement = __webpack_require__(41); + + // Thanks to IE8 for its funny defineProperty + module.exports = !DESCRIPTORS && !fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty(createElement('div'), 'a', { + get: function () { return 7; } + }).a !== 7; + }); + + + /***/ }), /* 41 */ - /***/ (function (module, exports, __webpack_require__) { - - var fails = __webpack_require__(5); - var replacement = /#|\.prototype\./; - - var isForced = function (feature, detection) { - var value = data[normalize(feature)]; - return value == POLYFILL ? true - : value == NATIVE ? false - : typeof detection == 'function' ? fails(detection) - : !!detection; - }; - - var normalize = isForced.normalize = function (string) { - return String(string).replace(replacement, '.').toLowerCase(); - }; - - var data = isForced.data = {}; - var NATIVE = isForced.NATIVE = 'N'; - var POLYFILL = isForced.POLYFILL = 'P'; - - module.exports = isForced; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var isObject = __webpack_require__(19); + + var document = global.document; + // typeof document.createElement is 'object' in old IE + var EXISTS = isObject(document) && isObject(document.createElement); + + module.exports = function (it) { + return EXISTS ? document.createElement(it) : {}; + }; + + + /***/ }), /* 42 */ - /***/ (function (module, exports, __webpack_require__) { - - var defineProperty = __webpack_require__(20).f; - var has = __webpack_require__(3); - var TO_STRING_TAG = __webpack_require__(43)('toStringTag'); - - module.exports = function (it, TAG, STATIC) { - if (it && !has(it = STATIC ? it : it.prototype, TO_STRING_TAG)) { - defineProperty(it, TO_STRING_TAG, { configurable: true, value: TAG }); - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var definePropertyModule = __webpack_require__(43); + var createPropertyDescriptor = __webpack_require__(10); + + module.exports = DESCRIPTORS ? function (object, key, value) { + return definePropertyModule.f(object, key, createPropertyDescriptor(1, value)); + } : function (object, key, value) { + object[key] = value; + return object; + }; + + + /***/ }), /* 43 */ - /***/ (function (module, exports, __webpack_require__) { - - var store = __webpack_require__(25)('wks'); - var uid = __webpack_require__(29); - var Symbol = __webpack_require__(2).Symbol; - var NATIVE_SYMBOL = __webpack_require__(44); - - module.exports = function (name) { - return store[name] || (store[name] = NATIVE_SYMBOL && Symbol[name] - || (NATIVE_SYMBOL ? Symbol : uid)('Symbol.' + name)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var IE8_DOM_DEFINE = __webpack_require__(40); + var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(44); + var anObject = __webpack_require__(45); + var toPropertyKey = __webpack_require__(17); + + var $TypeError = TypeError; + // eslint-disable-next-line es/no-object-defineproperty -- safe + var $defineProperty = Object.defineProperty; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var ENUMERABLE = 'enumerable'; + var CONFIGURABLE = 'configurable'; + var WRITABLE = 'writable'; + + // `Object.defineProperty` method + // https://tc39.es/ecma262/#sec-object.defineproperty + exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) { + anObject(O); + P = toPropertyKey(P); + anObject(Attributes); + if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) { + var current = $getOwnPropertyDescriptor(O, P); + if (current && current[WRITABLE]) { + O[P] = Attributes.value; + Attributes = { + configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE], + enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE], + writable: false + }; + } + } return $defineProperty(O, P, Attributes); + } : $defineProperty : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPropertyKey(P); + anObject(Attributes); + if (IE8_DOM_DEFINE) try { + return $defineProperty(O, P, Attributes); + } catch (error) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; + }; + + + /***/ }), /* 44 */ - /***/ (function (module, exports, __webpack_require__) { - - // Chrome 38 Symbol has incorrect toString conversion - module.exports = !__webpack_require__(5)(function () { - // eslint-disable-next-line no-undef - String(Symbol()); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var fails = __webpack_require__(6); + + // V8 ~ Chrome 36- + // https://bugs.chromium.org/p/v8/issues/detail?id=3334 + module.exports = DESCRIPTORS && fails(function () { + // eslint-disable-next-line es/no-object-defineproperty -- required for testing + return Object.defineProperty(function () { /* empty */ }, 'prototype', { + value: 42, + writable: false + }).prototype !== 42; + }); + + + /***/ }), /* 45 */ - /***/ (function (module, exports, __webpack_require__) { - - exports.f = __webpack_require__(43); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isObject = __webpack_require__(19); + + var $String = String; + var $TypeError = TypeError; + + // `Assert: Type(argument) is Object` + module.exports = function (argument) { + if (isObject(argument)) return argument; + throw new $TypeError($String(argument) + ' is not an object'); + }; + + + /***/ }), /* 46 */ - /***/ (function (module, exports, __webpack_require__) { - - var path = __webpack_require__(47); - var has = __webpack_require__(3); - var wrappedWellKnownSymbolModule = __webpack_require__(45); - var defineProperty = __webpack_require__(20).f; - - module.exports = function (NAME) { - var Symbol = path.Symbol || (path.Symbol = {}); - if (!has(Symbol, NAME)) defineProperty(Symbol, NAME, { - value: wrappedWellKnownSymbolModule.f(NAME) - }); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isCallable = __webpack_require__(20); + var definePropertyModule = __webpack_require__(43); + var makeBuiltIn = __webpack_require__(47); + var defineGlobalProperty = __webpack_require__(36); + + module.exports = function (O, key, value, options) { + if (!options) options = {}; + var simple = options.enumerable; + var name = options.name !== undefined ? options.name : key; + if (isCallable(value)) makeBuiltIn(value, name, options); + if (options.global) { + if (simple) O[key] = value; + else defineGlobalProperty(key, value); + } else { + try { + if (!options.unsafe) delete O[key]; + else if (O[key]) simple = true; + } catch (error) { /* empty */ } + if (simple) O[key] = value; + else definePropertyModule.f(O, key, { + value: value, + enumerable: false, + configurable: !options.nonConfigurable, + writable: !options.nonWritable + }); + } return O; + }; + + + /***/ }), /* 47 */ - /***/ (function (module, exports, __webpack_require__) { - - module.exports = __webpack_require__(2); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var fails = __webpack_require__(6); + var isCallable = __webpack_require__(20); + var hasOwn = __webpack_require__(37); + var DESCRIPTORS = __webpack_require__(5); + var CONFIGURABLE_FUNCTION_NAME = __webpack_require__(48).CONFIGURABLE; + var inspectSource = __webpack_require__(49); + var InternalStateModule = __webpack_require__(50); + + var enforceInternalState = InternalStateModule.enforce; + var getInternalState = InternalStateModule.get; + var $String = String; + // eslint-disable-next-line es/no-object-defineproperty -- safe + var defineProperty = Object.defineProperty; + var stringSlice = uncurryThis(''.slice); + var replace = uncurryThis(''.replace); + var join = uncurryThis([].join); + + var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () { + return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8; + }); + + var TEMPLATE = String(String).split('String'); + + var makeBuiltIn = module.exports = function (value, name, options) { + if (stringSlice($String(name), 0, 7) === 'Symbol(') { + name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']'; + } + if (options && options.getter) name = 'get ' + name; + if (options && options.setter) name = 'set ' + name; + if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) { + if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true }); + else value.name = name; + } + if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) { + defineProperty(value, 'length', { value: options.arity }); + } + try { + if (options && hasOwn(options, 'constructor') && options.constructor) { + if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false }); + // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable + } else if (value.prototype) value.prototype = undefined; + } catch (error) { /* empty */ } + var state = enforceInternalState(value); + if (!hasOwn(state, 'source')) { + state.source = join(TEMPLATE, typeof name == 'string' ? name : ''); + } return value; + }; + + // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative + // eslint-disable-next-line no-extend-native -- required + Function.prototype.toString = makeBuiltIn(function toString() { + return isCallable(this) && getInternalState(this).source || inspectSource(this); + }, 'toString'); + + + /***/ }), /* 48 */ - /***/ (function (module, exports, __webpack_require__) { - - var objectKeys = __webpack_require__(49); - var getOwnPropertySymbolsModule = __webpack_require__(40); - var propertyIsEnumerableModule = __webpack_require__(9); - - // all enumerable object keys, includes symbols - module.exports = function (it) { - var result = objectKeys(it); - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - if (getOwnPropertySymbols) { - var symbols = getOwnPropertySymbols(it); - var propertyIsEnumerable = propertyIsEnumerableModule.f; - var i = 0; - var key; - while (symbols.length > i) if (propertyIsEnumerable.call(it, key = symbols[i++])) result.push(key); - } return result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var hasOwn = __webpack_require__(37); + + var FunctionPrototype = Function.prototype; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor; + + var EXISTS = hasOwn(FunctionPrototype, 'name'); + // additional protection from minified / mangled / dropped function names + var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; + var CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable)); + + module.exports = { + EXISTS: EXISTS, + PROPER: PROPER, + CONFIGURABLE: CONFIGURABLE + }; + + + /***/ }), /* 49 */ - /***/ (function (module, exports, __webpack_require__) { - - // 19.1.2.14 / 15.2.3.14 Object.keys(O) - var internalObjectKeys = __webpack_require__(34); - var enumBugKeys = __webpack_require__(39); - - module.exports = Object.keys || function keys(O) { - return internalObjectKeys(O, enumBugKeys); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var isCallable = __webpack_require__(20); + var store = __webpack_require__(34); + + var functionToString = uncurryThis(Function.toString); + + // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper + if (!isCallable(store.inspectSource)) { + store.inspectSource = function (it) { + return functionToString(it); + }; + } + + module.exports = store.inspectSource; + + + /***/ }), /* 50 */ - /***/ (function (module, exports, __webpack_require__) { - - var classof = __webpack_require__(13); - - // `IsArray` abstract operation - // https://tc39.github.io/ecma262/#sec-isarray - module.exports = Array.isArray || function isArray(arg) { - return classof(arg) == 'Array'; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var NATIVE_WEAK_MAP = __webpack_require__(51); + var global = __webpack_require__(3); + var isObject = __webpack_require__(19); + var createNonEnumerableProperty = __webpack_require__(42); + var hasOwn = __webpack_require__(37); + var shared = __webpack_require__(34); + var sharedKey = __webpack_require__(52); + var hiddenKeys = __webpack_require__(53); + + var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; + var TypeError = global.TypeError; + var WeakMap = global.WeakMap; + var set, get, has; + + var enforce = function (it) { + return has(it) ? get(it) : set(it, {}); + }; + + var getterFor = function (TYPE) { + return function (it) { + var state; + if (!isObject(it) || (state = get(it)).type !== TYPE) { + throw new TypeError('Incompatible receiver, ' + TYPE + ' required'); + } return state; + }; + }; + + if (NATIVE_WEAK_MAP || shared.state) { + var store = shared.state || (shared.state = new WeakMap()); + /* eslint-disable no-self-assign -- prototype methods protection */ + store.get = store.get; + store.has = store.has; + store.set = store.set; + /* eslint-enable no-self-assign -- prototype methods protection */ + set = function (it, metadata) { + if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + store.set(it, metadata); + return metadata; + }; + get = function (it) { + return store.get(it) || {}; + }; + has = function (it) { + return store.has(it); + }; + } else { + var STATE = sharedKey('state'); + hiddenKeys[STATE] = true; + set = function (it, metadata) { + if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); + metadata.facade = it; + createNonEnumerableProperty(it, STATE, metadata); + return metadata; + }; + get = function (it) { + return hasOwn(it, STATE) ? it[STATE] : {}; + }; + has = function (it) { + return hasOwn(it, STATE); + }; + } + + module.exports = { + set: set, + get: get, + has: has, + enforce: enforce, + getterFor: getterFor + }; + + + /***/ }), /* 51 */ - /***/ (function (module, exports, __webpack_require__) { - - // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) - var anObject = __webpack_require__(21); - var defineProperties = __webpack_require__(52); - var enumBugKeys = __webpack_require__(39); - var html = __webpack_require__(53); - var documentCreateElement = __webpack_require__(18); - var IE_PROTO = __webpack_require__(28)('IE_PROTO'); - var PROTOTYPE = 'prototype'; - var Empty = function () { /* empty */ }; - - // Create object with fake `null` prototype: use iframe Object with cleared prototype - var createDict = function () { - // Thrash, waste and sodomy: IE GC bug - var iframe = documentCreateElement('iframe'); - var length = enumBugKeys.length; - var lt = '<'; - var script = 'script'; - var gt = '>'; - var js = 'java' + script + ':'; - var iframeDocument; - iframe.style.display = 'none'; - html.appendChild(iframe); - iframe.src = String(js); - iframeDocument = iframe.contentWindow.document; - iframeDocument.open(); - iframeDocument.write(lt + script + gt + 'document.F=Object' + lt + '/' + script + gt); - iframeDocument.close(); - createDict = iframeDocument.F; - while (length--) delete createDict[PROTOTYPE][enumBugKeys[length]]; - return createDict(); - }; - - module.exports = Object.create || function create(O, Properties) { - var result; - if (O !== null) { - Empty[PROTOTYPE] = anObject(O); - result = new Empty(); - Empty[PROTOTYPE] = null; - // add "__proto__" for Object.getPrototypeOf polyfill - result[IE_PROTO] = O; - } else result = createDict(); - return Properties === undefined ? result : defineProperties(result, Properties); - }; - - __webpack_require__(30)[IE_PROTO] = true; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var isCallable = __webpack_require__(20); + + var WeakMap = global.WeakMap; + + module.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap)); + + + /***/ }), /* 52 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - var definePropertyModule = __webpack_require__(20); - var anObject = __webpack_require__(21); - var objectKeys = __webpack_require__(49); - - module.exports = DESCRIPTORS ? Object.defineProperties : function defineProperties(O, Properties) { - anObject(O); - var keys = objectKeys(Properties); - var length = keys.length; - var i = 0; - var key; - while (length > i) definePropertyModule.f(O, key = keys[i++], Properties[key]); - return O; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var shared = __webpack_require__(33); + var uid = __webpack_require__(39); + + var keys = shared('keys'); + + module.exports = function (key) { + return keys[key] || (keys[key] = uid(key)); + }; + + + /***/ }), /* 53 */ - /***/ (function (module, exports, __webpack_require__) { - - var document = __webpack_require__(2).document; - - module.exports = document && document.documentElement; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = {}; + + + /***/ }), /* 54 */ - /***/ (function (module, exports, __webpack_require__) { - - // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window - var toIndexedObject = __webpack_require__(11); - var nativeGetOwnPropertyNames = __webpack_require__(33).f; - var toString = {}.toString; - - var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames - ? Object.getOwnPropertyNames(window) : []; - - var getWindowNames = function (it) { - try { - return nativeGetOwnPropertyNames(it); - } catch (e) { - return windowNames.slice(); - } - }; - - module.exports.f = function getOwnPropertyNames(it) { - return windowNames && toString.call(it) == '[object Window]' - ? getWindowNames(it) - : nativeGetOwnPropertyNames(toIndexedObject(it)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var hasOwn = __webpack_require__(37); + var ownKeys = __webpack_require__(55); + var getOwnPropertyDescriptorModule = __webpack_require__(4); + var definePropertyModule = __webpack_require__(43); + + module.exports = function (target, source, exceptions) { + var keys = ownKeys(source); + var defineProperty = definePropertyModule.f; + var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; + for (var i = 0; i < keys.length; i++) { + var key = keys[i]; + if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) { + defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + } + } + }; + + + /***/ }), /* 55 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - // `Symbol.prototype.description` getter - // https://tc39.github.io/ecma262/#sec-symbol.prototype.description - - var DESCRIPTORS = __webpack_require__(4); - var has = __webpack_require__(3); - var isObject = __webpack_require__(16); - var defineProperty = __webpack_require__(20).f; - var copyConstructorProperties = __webpack_require__(31); - var NativeSymbol = __webpack_require__(2).Symbol; - - if (DESCRIPTORS && typeof NativeSymbol == 'function' && (!('description' in NativeSymbol.prototype) || - // Safari 12 bug - NativeSymbol().description !== undefined - )) { - var EmptyStringDescriptionStore = {}; - // wrap Symbol constructor for correct work with undefined description - var SymbolWrapper = function Symbol() { - var description = arguments.length < 1 || arguments[0] === undefined ? undefined : String(arguments[0]); - var result = this instanceof SymbolWrapper - ? new NativeSymbol(description) - // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)' - : description === undefined ? NativeSymbol() : NativeSymbol(description); - if (description === '') EmptyStringDescriptionStore[result] = true; - return result; - }; - copyConstructorProperties(SymbolWrapper, NativeSymbol); - var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype; - symbolPrototype.constructor = SymbolWrapper; - - var symbolToString = symbolPrototype.toString; - var native = String(NativeSymbol('test')) == 'Symbol(test)'; - var regexp = /^Symbol\((.*)\)[^)]+$/; - defineProperty(symbolPrototype, 'description', { - configurable: true, - get: function description() { - var symbol = isObject(this) ? this.valueOf() : this; - var string = symbolToString.call(symbol); - if (has(EmptyStringDescriptionStore, symbol)) return ''; - var desc = native ? string.slice(7, -1) : string.replace(regexp, '$1'); - return desc === '' ? undefined : desc; - } - }); - - __webpack_require__(7)({ global: true, forced: true }, { Symbol: SymbolWrapper }); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + var getOwnPropertyNamesModule = __webpack_require__(56); + var getOwnPropertySymbolsModule = __webpack_require__(65); + var anObject = __webpack_require__(45); + + var concat = uncurryThis([].concat); + + // all object keys, includes non-enumerable and symbols + module.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) { + var keys = getOwnPropertyNamesModule.f(anObject(it)); + var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; + return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys; + }; + + + /***/ }), /* 56 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.asyncIterator` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.asynciterator - __webpack_require__(46)('asyncIterator'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var internalObjectKeys = __webpack_require__(57); + var enumBugKeys = __webpack_require__(64); + + var hiddenKeys = enumBugKeys.concat('length', 'prototype'); + + // `Object.getOwnPropertyNames` method + // https://tc39.es/ecma262/#sec-object.getownpropertynames + // eslint-disable-next-line es/no-object-getownpropertynames -- safe + exports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) { + return internalObjectKeys(O, hiddenKeys); + }; + + + /***/ }), /* 57 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.hasInstance` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.hasinstance - __webpack_require__(46)('hasInstance'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var hasOwn = __webpack_require__(37); + var toIndexedObject = __webpack_require__(11); + var indexOf = __webpack_require__(58).indexOf; + var hiddenKeys = __webpack_require__(53); + + var push = uncurryThis([].push); + + module.exports = function (object, names) { + var O = toIndexedObject(object); + var i = 0; + var result = []; + var key; + for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key); + // Don't enum bug & hidden keys + while (names.length > i) if (hasOwn(O, key = names[i++])) { + ~indexOf(result, key) || push(result, key); + } + return result; + }; + + + /***/ }), /* 58 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.isConcatSpreadable` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.isconcatspreadable - __webpack_require__(46)('isConcatSpreadable'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toIndexedObject = __webpack_require__(11); + var toAbsoluteIndex = __webpack_require__(59); + var lengthOfArrayLike = __webpack_require__(62); + + // `Array.prototype.{ indexOf, includes }` methods implementation + var createMethod = function (IS_INCLUDES) { + return function ($this, el, fromIndex) { + var O = toIndexedObject($this); + var length = lengthOfArrayLike(O); + if (length === 0) return !IS_INCLUDES && -1; + var index = toAbsoluteIndex(fromIndex, length); + var value; + // Array#includes uses SameValueZero equality algorithm + // eslint-disable-next-line no-self-compare -- NaN check + if (IS_INCLUDES && el !== el) while (length > index) { + value = O[index++]; + // eslint-disable-next-line no-self-compare -- NaN check + if (value !== value) return true; + // Array#indexOf ignores holes, Array#includes - not + } else for (;length > index; index++) { + if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0; + } return !IS_INCLUDES && -1; + }; + }; + + module.exports = { + // `Array.prototype.includes` method + // https://tc39.es/ecma262/#sec-array.prototype.includes + includes: createMethod(true), + // `Array.prototype.indexOf` method + // https://tc39.es/ecma262/#sec-array.prototype.indexof + indexOf: createMethod(false) + }; + + + /***/ }), /* 59 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.iterator` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.iterator - __webpack_require__(46)('iterator'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toIntegerOrInfinity = __webpack_require__(60); + + var max = Math.max; + var min = Math.min; + + // Helper for a popular repeating case of the spec: + // Let integer be ? ToInteger(index). + // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length). + module.exports = function (index, length) { + var integer = toIntegerOrInfinity(index); + return integer < 0 ? max(integer + length, 0) : min(integer, length); + }; + + + /***/ }), /* 60 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.match` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.match - __webpack_require__(46)('match'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var trunc = __webpack_require__(61); + + // `ToIntegerOrInfinity` abstract operation + // https://tc39.es/ecma262/#sec-tointegerorinfinity + module.exports = function (argument) { + var number = +argument; + // eslint-disable-next-line no-self-compare -- NaN check + return number !== number || number === 0 ? 0 : trunc(number); + }; + + + /***/ }), /* 61 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.replace` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.replace - __webpack_require__(46)('replace'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var ceil = Math.ceil; + var floor = Math.floor; + + // `Math.trunc` method + // https://tc39.es/ecma262/#sec-math.trunc + // eslint-disable-next-line es/no-math-trunc -- safe + module.exports = Math.trunc || function trunc(x) { + var n = +x; + return (n > 0 ? floor : ceil)(n); + }; + + + /***/ }), /* 62 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.search` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.search - __webpack_require__(46)('search'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toLength = __webpack_require__(63); + + // `LengthOfArrayLike` abstract operation + // https://tc39.es/ecma262/#sec-lengthofarraylike + module.exports = function (obj) { + return toLength(obj.length); + }; + + + /***/ }), /* 63 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.species` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.species - __webpack_require__(46)('species'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toIntegerOrInfinity = __webpack_require__(60); + + var min = Math.min; + + // `ToLength` abstract operation + // https://tc39.es/ecma262/#sec-tolength + module.exports = function (argument) { + var len = toIntegerOrInfinity(argument); + return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991 + }; + + + /***/ }), /* 64 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.split` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.split - __webpack_require__(46)('split'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // IE8- don't enum bug keys + module.exports = [ + 'constructor', + 'hasOwnProperty', + 'isPrototypeOf', + 'propertyIsEnumerable', + 'toLocaleString', + 'toString', + 'valueOf' + ]; + + + /***/ }), /* 65 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.toPrimitive` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.toprimitive - __webpack_require__(46)('toPrimitive'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe + exports.f = Object.getOwnPropertySymbols; + + + /***/ }), /* 66 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.toStringTag` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.tostringtag - __webpack_require__(46)('toStringTag'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + var isCallable = __webpack_require__(20); + + var replacement = /#|\.prototype\./; + + var isForced = function (feature, detection) { + var value = data[normalize(feature)]; + return value === POLYFILL ? true + : value === NATIVE ? false + : isCallable(detection) ? fails(detection) + : !!detection; + }; + + var normalize = isForced.normalize = function (string) { + return String(string).replace(replacement, '.').toLowerCase(); + }; + + var data = isForced.data = {}; + var NATIVE = isForced.NATIVE = 'N'; + var POLYFILL = isForced.POLYFILL = 'P'; + + module.exports = isForced; + + + /***/ }), /* 67 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.unscopables` well-known symbol - // https://tc39.github.io/ecma262/#sec-symbol.unscopables - __webpack_require__(46)('unscopables'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var NATIVE_BIND = __webpack_require__(8); + + var FunctionPrototype = Function.prototype; + var apply = FunctionPrototype.apply; + var call = FunctionPrototype.call; + + // eslint-disable-next-line es/no-reflect -- safe + module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call.bind(apply) : function () { + return call.apply(apply, arguments); + }); + + + /***/ }), /* 68 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var isArray = __webpack_require__(50); - var isObject = __webpack_require__(16); - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var createProperty = __webpack_require__(70); - var arraySpeciesCreate = __webpack_require__(71); - var IS_CONCAT_SPREADABLE = __webpack_require__(43)('isConcatSpreadable'); - var MAX_SAFE_INTEGER = 0x1fffffffffffff; - var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; - - var IS_CONCAT_SPREADABLE_SUPPORT = !__webpack_require__(5)(function () { - var array = []; - array[IS_CONCAT_SPREADABLE] = false; - return array.concat()[0] !== array; - }); - - var SPECIES_SUPPORT = __webpack_require__(72)('concat'); - - var isConcatSpreadable = function (O) { - if (!isObject(O)) return false; - var spreadable = O[IS_CONCAT_SPREADABLE]; - return spreadable !== undefined ? !!spreadable : isArray(O); - }; - - var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT; - - // `Array.prototype.concat` method - // https://tc39.github.io/ecma262/#sec-array.prototype.concat - // with adding support of @@isConcatSpreadable and @@species - __webpack_require__(7)({ target: 'Array', proto: true, forced: FORCED }, { - concat: function concat(arg) { // eslint-disable-line no-unused-vars - var O = toObject(this); - var A = arraySpeciesCreate(O, 0); - var n = 0; - var i, k, length, len, E; - for (i = -1, length = arguments.length; i < length; i++) { - E = i === -1 ? O : arguments[i]; - if (isConcatSpreadable(E)) { - len = toLength(E.length); - if (n + len > MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); - for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]); - } else { - if (n >= MAX_SAFE_INTEGER) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); - createProperty(A, n++, E); - } - } - A.length = n; - return A; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + var hasOwn = __webpack_require__(37); + var createNonEnumerableProperty = __webpack_require__(42); + var isPrototypeOf = __webpack_require__(23); + var setPrototypeOf = __webpack_require__(69); + var copyConstructorProperties = __webpack_require__(54); + var proxyAccessor = __webpack_require__(73); + var inheritIfRequired = __webpack_require__(74); + var normalizeStringArgument = __webpack_require__(75); + var installErrorCause = __webpack_require__(79); + var installErrorStack = __webpack_require__(80); + var DESCRIPTORS = __webpack_require__(5); + var IS_PURE = __webpack_require__(35); + + module.exports = function (FULL_NAME, wrapper, FORCED, IS_AGGREGATE_ERROR) { + var STACK_TRACE_LIMIT = 'stackTraceLimit'; + var OPTIONS_POSITION = IS_AGGREGATE_ERROR ? 2 : 1; + var path = FULL_NAME.split('.'); + var ERROR_NAME = path[path.length - 1]; + var OriginalError = getBuiltIn.apply(null, path); + + if (!OriginalError) return; + + var OriginalErrorPrototype = OriginalError.prototype; + + // V8 9.3- bug https://bugs.chromium.org/p/v8/issues/detail?id=12006 + if (!IS_PURE && hasOwn(OriginalErrorPrototype, 'cause')) delete OriginalErrorPrototype.cause; + + if (!FORCED) return OriginalError; + + var BaseError = getBuiltIn('Error'); + + var WrappedError = wrapper(function (a, b) { + var message = normalizeStringArgument(IS_AGGREGATE_ERROR ? b : a, undefined); + var result = IS_AGGREGATE_ERROR ? new OriginalError(a) : new OriginalError(); + if (message !== undefined) createNonEnumerableProperty(result, 'message', message); + installErrorStack(result, WrappedError, result.stack, 2); + if (this && isPrototypeOf(OriginalErrorPrototype, this)) inheritIfRequired(result, this, WrappedError); + if (arguments.length > OPTIONS_POSITION) installErrorCause(result, arguments[OPTIONS_POSITION]); + return result; + }); + + WrappedError.prototype = OriginalErrorPrototype; + + if (ERROR_NAME !== 'Error') { + if (setPrototypeOf) setPrototypeOf(WrappedError, BaseError); + else copyConstructorProperties(WrappedError, BaseError, { name: true }); + } else if (DESCRIPTORS && STACK_TRACE_LIMIT in OriginalError) { + proxyAccessor(WrappedError, OriginalError, STACK_TRACE_LIMIT); + proxyAccessor(WrappedError, OriginalError, 'prepareStackTrace'); + } + + copyConstructorProperties(WrappedError, OriginalError); + + if (!IS_PURE) try { + // Safari 13- bug: WebAssembly errors does not have a proper `.name` + if (OriginalErrorPrototype.name !== ERROR_NAME) { + createNonEnumerableProperty(OriginalErrorPrototype, 'name', ERROR_NAME); + } + OriginalErrorPrototype.constructor = WrappedError; + } catch (error) { /* empty */ } + + return WrappedError; + }; + + + /***/ }), /* 69 */ - /***/ (function (module, exports, __webpack_require__) { - - var requireObjectCoercible = __webpack_require__(14); - - // `ToObject` abstract operation - // https://tc39.github.io/ecma262/#sec-toobject - module.exports = function (argument) { - return Object(requireObjectCoercible(argument)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable no-proto -- safe */ + var uncurryThisAccessor = __webpack_require__(70); + var anObject = __webpack_require__(45); + var aPossiblePrototype = __webpack_require__(71); + + // `Object.setPrototypeOf` method + // https://tc39.es/ecma262/#sec-object.setprototypeof + // Works with __proto__ only. Old v8 can't work with null proto objects. + // eslint-disable-next-line es/no-object-setprototypeof -- safe + module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { + var CORRECT_SETTER = false; + var test = {}; + var setter; + try { + setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set'); + setter(test, []); + CORRECT_SETTER = test instanceof Array; + } catch (error) { /* empty */ } + return function setPrototypeOf(O, proto) { + anObject(O); + aPossiblePrototype(proto); + if (CORRECT_SETTER) setter(O, proto); + else O.__proto__ = proto; + return O; + }; + }() : undefined); + + + /***/ }), /* 70 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toPrimitive = __webpack_require__(15); - var definePropertyModule = __webpack_require__(20); - var createPropertyDescriptor = __webpack_require__(10); - - module.exports = function (object, key, value) { - var propertyKey = toPrimitive(key); - if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value)); - else object[propertyKey] = value; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var aCallable = __webpack_require__(29); + + module.exports = function (object, key, method) { + try { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + return uncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method])); + } catch (error) { /* empty */ } + }; + + + /***/ }), /* 71 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var isArray = __webpack_require__(50); - var SPECIES = __webpack_require__(43)('species'); - - // `ArraySpeciesCreate` abstract operation - // https://tc39.github.io/ecma262/#sec-arrayspeciescreate - module.exports = function (originalArray, length) { - var C; - if (isArray(originalArray)) { - C = originalArray.constructor; - // cross-realm fallback - if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined; - else if (isObject(C)) { - C = C[SPECIES]; - if (C === null) C = undefined; - } - } return new (C === undefined ? Array : C)(length === 0 ? 0 : length); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isPossiblePrototype = __webpack_require__(72); + + var $String = String; + var $TypeError = TypeError; + + module.exports = function (argument) { + if (isPossiblePrototype(argument)) return argument; + throw new $TypeError("Can't set " + $String(argument) + ' as a prototype'); + }; + + + /***/ }), /* 72 */ - /***/ (function (module, exports, __webpack_require__) { - - var fails = __webpack_require__(5); - var SPECIES = __webpack_require__(43)('species'); - - module.exports = function (METHOD_NAME) { - return !fails(function () { - var array = []; - var constructor = array.constructor = {}; - constructor[SPECIES] = function () { - return { foo: 1 }; - }; - return array[METHOD_NAME](Boolean).foo !== 1; - }); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isObject = __webpack_require__(19); + + module.exports = function (argument) { + return isObject(argument) || argument === null; + }; + + + /***/ }), /* 73 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Array.prototype.copyWithin` method - // https://tc39.github.io/ecma262/#sec-array.prototype.copywithin - __webpack_require__(7)({ target: 'Array', proto: true }, { - copyWithin: __webpack_require__(74) - }); - - // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables - __webpack_require__(75)('copyWithin'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineProperty = __webpack_require__(43).f; + + module.exports = function (Target, Source, key) { + key in Target || defineProperty(Target, key, { + configurable: true, + get: function () { return Source[key]; }, + set: function (it) { Source[key] = it; } + }); + }; + + + /***/ }), /* 74 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toObject = __webpack_require__(69); - var toAbsoluteIndex = __webpack_require__(38); - var toLength = __webpack_require__(36); - - // `Array.prototype.copyWithin` method implementation - // https://tc39.github.io/ecma262/#sec-array.prototype.copywithin - module.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { - var O = toObject(this); - var len = toLength(O.length); - var to = toAbsoluteIndex(target, len); - var from = toAbsoluteIndex(start, len); - var end = arguments.length > 2 ? arguments[2] : undefined; - var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to); - var inc = 1; - if (from < to && to < from + count) { - inc = -1; - from += count - 1; - to += count - 1; - } - while (count-- > 0) { - if (from in O) O[to] = O[from]; - else delete O[to]; - to += inc; - from += inc; - } return O; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isCallable = __webpack_require__(20); + var isObject = __webpack_require__(19); + var setPrototypeOf = __webpack_require__(69); + + // makes subclassing work correct for wrapped built-ins + module.exports = function ($this, dummy, Wrapper) { + var NewTarget, NewTargetPrototype; + if ( + // it can work only with native `setPrototypeOf` + setPrototypeOf && + // we haven't completely correct pre-ES6 way for getting `new.target`, so use this + isCallable(NewTarget = dummy.constructor) && + NewTarget !== Wrapper && + isObject(NewTargetPrototype = NewTarget.prototype) && + NewTargetPrototype !== Wrapper.prototype + ) setPrototypeOf($this, NewTargetPrototype); + return $this; + }; + + + /***/ }), /* 75 */ - /***/ (function (module, exports, __webpack_require__) { - - var UNSCOPABLES = __webpack_require__(43)('unscopables'); - var create = __webpack_require__(51); - var hide = __webpack_require__(19); - var ArrayPrototype = Array.prototype; - - // Array.prototype[@@unscopables] - // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables - if (ArrayPrototype[UNSCOPABLES] == undefined) { - hide(ArrayPrototype, UNSCOPABLES, create(null)); - } - - // add a key to Array.prototype[@@unscopables] - module.exports = function (key) { - ArrayPrototype[UNSCOPABLES][key] = true; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toString = __webpack_require__(76); + + module.exports = function (argument, $default) { + return argument === undefined ? arguments.length < 2 ? '' : $default : toString(argument); + }; + + + /***/ }), /* 76 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalEvery = __webpack_require__(77)(4); - - var SLOPPY_METHOD = __webpack_require__(80)('every'); - - // `Array.prototype.every` method - // https://tc39.github.io/ecma262/#sec-array.prototype.every - __webpack_require__(7)({ target: 'Array', proto: true, forced: SLOPPY_METHOD }, { - every: function every(callbackfn /* , thisArg */) { - return internalEvery(this, callbackfn, arguments[1]); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classof = __webpack_require__(77); + + var $String = String; + + module.exports = function (argument) { + if (classof(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string'); + return $String(argument); + }; + + + /***/ }), /* 77 */ - /***/ (function (module, exports, __webpack_require__) { - - var bind = __webpack_require__(78); - var IndexedObject = __webpack_require__(12); - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var arraySpeciesCreate = __webpack_require__(71); - - // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex }` methods implementation - // 0 -> Array#forEach - // https://tc39.github.io/ecma262/#sec-array.prototype.foreach - // 1 -> Array#map - // https://tc39.github.io/ecma262/#sec-array.prototype.map - // 2 -> Array#filter - // https://tc39.github.io/ecma262/#sec-array.prototype.filter - // 3 -> Array#some - // https://tc39.github.io/ecma262/#sec-array.prototype.some - // 4 -> Array#every - // https://tc39.github.io/ecma262/#sec-array.prototype.every - // 5 -> Array#find - // https://tc39.github.io/ecma262/#sec-array.prototype.find - // 6 -> Array#findIndex - // https://tc39.github.io/ecma262/#sec-array.prototype.findIndex - module.exports = function (TYPE, specificCreate) { - var IS_MAP = TYPE == 1; - var IS_FILTER = TYPE == 2; - var IS_SOME = TYPE == 3; - var IS_EVERY = TYPE == 4; - var IS_FIND_INDEX = TYPE == 6; - var NO_HOLES = TYPE == 5 || IS_FIND_INDEX; - var create = specificCreate || arraySpeciesCreate; - return function ($this, callbackfn, that) { - var O = toObject($this); - var self = IndexedObject(O); - var boundFunction = bind(callbackfn, that, 3); - var length = toLength(self.length); - var index = 0; - var target = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined; - var value, result; - for (; length > index; index++) if (NO_HOLES || index in self) { - value = self[index]; - result = boundFunction(value, index, O); - if (TYPE) { - if (IS_MAP) target[index] = result; // map - else if (result) switch (TYPE) { - case 3: return true; // some - case 5: return value; // find - case 6: return index; // findIndex - case 2: target.push(value); // filter - } else if (IS_EVERY) return false; // every - } - } - return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; - }; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var TO_STRING_TAG_SUPPORT = __webpack_require__(78); + var isCallable = __webpack_require__(20); + var classofRaw = __webpack_require__(14); + var wellKnownSymbol = __webpack_require__(32); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var $Object = Object; + + // ES3 wrong here + var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments'; + + // fallback for IE11 Script Access Denied error + var tryGet = function (it, key) { + try { + return it[key]; + } catch (error) { /* empty */ } + }; + + // getting tag from ES6+ `Object.prototype.toString` + module.exports = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) { + var O, tag, result; + return it === undefined ? 'Undefined' : it === null ? 'Null' + // @@toStringTag case + : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag + // builtinTag case + : CORRECT_ARGUMENTS ? classofRaw(O) + // ES3 arguments fallback + : (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result; + }; + + + /***/ }), /* 78 */ - /***/ (function (module, exports, __webpack_require__) { - - var aFunction = __webpack_require__(79); - - // optional / simple context binding - module.exports = function (fn, that, length) { - aFunction(fn); - if (that === undefined) return fn; - switch (length) { - case 0: return function () { - return fn.call(that); - }; - case 1: return function (a) { - return fn.call(that, a); - }; - case 2: return function (a, b) { - return fn.call(that, a, b); - }; - case 3: return function (a, b, c) { - return fn.call(that, a, b, c); - }; - } - return function (/* ...args */) { - return fn.apply(that, arguments); - }; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var wellKnownSymbol = __webpack_require__(32); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var test = {}; + + test[TO_STRING_TAG] = 'z'; + + module.exports = String(test) === '[object z]'; + + + /***/ }), /* 79 */ - /***/ (function (module, exports) { - - module.exports = function (it) { - if (typeof it != 'function') { - throw TypeError(String(it) + ' is not a function'); - } return it; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isObject = __webpack_require__(19); + var createNonEnumerableProperty = __webpack_require__(42); + + // `InstallErrorCause` abstract operation + // https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause + module.exports = function (O, options) { + if (isObject(options) && 'cause' in options) { + createNonEnumerableProperty(O, 'cause', options.cause); + } + }; + + + /***/ }), /* 80 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var fails = __webpack_require__(5); - - module.exports = function (METHOD_NAME, argument) { - var method = [][METHOD_NAME]; - return !method || !fails(function () { - // eslint-disable-next-line no-useless-call - method.call(null, argument || function () { throw Error(); }, 1); - }); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var createNonEnumerableProperty = __webpack_require__(42); + var clearErrorStack = __webpack_require__(81); + var ERROR_STACK_INSTALLABLE = __webpack_require__(82); + + // non-standard V8 + var captureStackTrace = Error.captureStackTrace; + + module.exports = function (error, C, stack, dropEntries) { + if (ERROR_STACK_INSTALLABLE) { + if (captureStackTrace) captureStackTrace(error, C); + else createNonEnumerableProperty(error, 'stack', clearErrorStack(stack, dropEntries)); + } + }; + + + /***/ }), /* 81 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Array.prototype.fill` method - // https://tc39.github.io/ecma262/#sec-array.prototype.fill - __webpack_require__(7)({ target: 'Array', proto: true }, { fill: __webpack_require__(82) }); - - // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables - __webpack_require__(75)('fill'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + var $Error = Error; + var replace = uncurryThis(''.replace); + + var TEST = (function (arg) { return String(new $Error(arg).stack); })('zxcasd'); + // eslint-disable-next-line redos/no-vulnerable -- safe + var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; + var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); + + module.exports = function (stack, dropEntries) { + if (IS_V8_OR_CHAKRA_STACK && typeof stack == 'string' && !$Error.prepareStackTrace) { + while (dropEntries--) stack = replace(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); + } return stack; + }; + + + /***/ }), /* 82 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toObject = __webpack_require__(69); - var toAbsoluteIndex = __webpack_require__(38); - var toLength = __webpack_require__(36); - - // `Array.prototype.fill` method implementation - // https://tc39.github.io/ecma262/#sec-array.prototype.fill - module.exports = function fill(value /* , start = 0, end = @length */) { - var O = toObject(this); - var length = toLength(O.length); - var argumentsLength = arguments.length; - var index = toAbsoluteIndex(argumentsLength > 1 ? arguments[1] : undefined, length); - var end = argumentsLength > 2 ? arguments[2] : undefined; - var endPos = end === undefined ? length : toAbsoluteIndex(end, length); - while (endPos > index) O[index++] = value; - return O; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + var createPropertyDescriptor = __webpack_require__(10); + + module.exports = !fails(function () { + var error = new Error('a'); + if (!('stack' in error)) return true; + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty(error, 'stack', createPropertyDescriptor(1, 7)); + return error.stack !== 7; + }); + + + /***/ }), /* 83 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalFilter = __webpack_require__(77)(2); - - var SPECIES_SUPPORT = __webpack_require__(72)('filter'); - - // `Array.prototype.filter` method - // https://tc39.github.io/ecma262/#sec-array.prototype.filter - // with adding support of @@species - __webpack_require__(7)({ target: 'Array', proto: true, forced: !SPECIES_SUPPORT }, { - filter: function filter(callbackfn /* , thisArg */) { - return internalFilter(this, callbackfn, arguments[1]); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove this module from `core-js@4` since it's replaced to module below + __webpack_require__(84); + + + /***/ }), /* 84 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalFind = __webpack_require__(77)(5); - var FIND = 'find'; - var SKIPS_HOLES = true; - - // Shouldn't skip holes - if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; }); - - // `Array.prototype.find` method - // https://tc39.github.io/ecma262/#sec-array.prototype.find - __webpack_require__(7)({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { - find: function find(callbackfn /* , that = undefined */) { - return internalFind(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables - __webpack_require__(75)(FIND); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isPrototypeOf = __webpack_require__(23); + var getPrototypeOf = __webpack_require__(85); + var setPrototypeOf = __webpack_require__(69); + var copyConstructorProperties = __webpack_require__(54); + var create = __webpack_require__(87); + var createNonEnumerableProperty = __webpack_require__(42); + var createPropertyDescriptor = __webpack_require__(10); + var installErrorCause = __webpack_require__(79); + var installErrorStack = __webpack_require__(80); + var iterate = __webpack_require__(91); + var normalizeStringArgument = __webpack_require__(75); + var wellKnownSymbol = __webpack_require__(32); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var $Error = Error; + var push = [].push; + + var $AggregateError = function AggregateError(errors, message /* , options */) { + var isInstance = isPrototypeOf(AggregateErrorPrototype, this); + var that; + if (setPrototypeOf) { + that = setPrototypeOf(new $Error(), isInstance ? getPrototypeOf(this) : AggregateErrorPrototype); + } else { + that = isInstance ? this : create(AggregateErrorPrototype); + createNonEnumerableProperty(that, TO_STRING_TAG, 'Error'); + } + if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message)); + installErrorStack(that, $AggregateError, that.stack, 1); + if (arguments.length > 2) installErrorCause(that, arguments[2]); + var errorsArray = []; + iterate(errors, push, { that: errorsArray }); + createNonEnumerableProperty(that, 'errors', errorsArray); + return that; + }; + + if (setPrototypeOf) setPrototypeOf($AggregateError, $Error); + else copyConstructorProperties($AggregateError, $Error, { name: true }); + + var AggregateErrorPrototype = $AggregateError.prototype = create($Error.prototype, { + constructor: createPropertyDescriptor(1, $AggregateError), + message: createPropertyDescriptor(1, ''), + name: createPropertyDescriptor(1, 'AggregateError') + }); + + // `AggregateError` constructor + // https://tc39.es/ecma262/#sec-aggregate-error-constructor + $({ global: true, constructor: true, arity: 2 }, { + AggregateError: $AggregateError + }); + + + /***/ }), /* 85 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalFindIndex = __webpack_require__(77)(6); - var FIND_INDEX = 'findIndex'; - var SKIPS_HOLES = true; - - // Shouldn't skip holes - if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; }); - - // `Array.prototype.findIndex` method - // https://tc39.github.io/ecma262/#sec-array.prototype.findindex - __webpack_require__(7)({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { - findIndex: function findIndex(callbackfn /* , that = undefined */) { - return internalFindIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables - __webpack_require__(75)(FIND_INDEX); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var hasOwn = __webpack_require__(37); + var isCallable = __webpack_require__(20); + var toObject = __webpack_require__(38); + var sharedKey = __webpack_require__(52); + var CORRECT_PROTOTYPE_GETTER = __webpack_require__(86); + + var IE_PROTO = sharedKey('IE_PROTO'); + var $Object = Object; + var ObjectPrototype = $Object.prototype; + + // `Object.getPrototypeOf` method + // https://tc39.es/ecma262/#sec-object.getprototypeof + // eslint-disable-next-line es/no-object-getprototypeof -- safe + module.exports = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) { + var object = toObject(O); + if (hasOwn(object, IE_PROTO)) return object[IE_PROTO]; + var constructor = object.constructor; + if (isCallable(constructor) && object instanceof constructor) { + return constructor.prototype; + } return object instanceof $Object ? ObjectPrototype : null; + }; + + + /***/ }), /* 86 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var flattenIntoArray = __webpack_require__(87); - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var toInteger = __webpack_require__(37); - var arraySpeciesCreate = __webpack_require__(71); - - // `Array.prototype.flat` method - // https://github.com/tc39/proposal-flatMap - __webpack_require__(7)({ target: 'Array', proto: true }, { - flat: function flat(/* depthArg = 1 */) { - var depthArg = arguments[0]; - var O = toObject(this); - var sourceLen = toLength(O.length); - var A = arraySpeciesCreate(O, 0); - A.length = flattenIntoArray(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toInteger(depthArg)); - return A; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + + module.exports = !fails(function () { + function F() { /* empty */ } + F.prototype.constructor = null; + // eslint-disable-next-line es/no-object-getprototypeof -- required for testing + return Object.getPrototypeOf(new F()) !== F.prototype; + }); + + + /***/ }), /* 87 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var isArray = __webpack_require__(50); - var toLength = __webpack_require__(36); - var bind = __webpack_require__(78); - - // `FlattenIntoArray` abstract operation - // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray - var flattenIntoArray = function (target, original, source, sourceLen, start, depth, mapper, thisArg) { - var targetIndex = start; - var sourceIndex = 0; - var mapFn = mapper ? bind(mapper, thisArg, 3) : false; - var element; - - while (sourceIndex < sourceLen) { - if (sourceIndex in source) { - element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; - - if (depth > 0 && isArray(element)) { - targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1; - } else { - if (targetIndex >= 0x1fffffffffffff) throw TypeError(); - target[targetIndex] = element; - } - - targetIndex++; - } - sourceIndex++; - } - return targetIndex; - }; - - module.exports = flattenIntoArray; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* global ActiveXObject -- old IE, WSH */ + var anObject = __webpack_require__(45); + var definePropertiesModule = __webpack_require__(88); + var enumBugKeys = __webpack_require__(64); + var hiddenKeys = __webpack_require__(53); + var html = __webpack_require__(90); + var documentCreateElement = __webpack_require__(41); + var sharedKey = __webpack_require__(52); + + var GT = '>'; + var LT = '<'; + var PROTOTYPE = 'prototype'; + var SCRIPT = 'script'; + var IE_PROTO = sharedKey('IE_PROTO'); + + var EmptyConstructor = function () { /* empty */ }; + + var scriptTag = function (content) { + return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT; + }; + + // Create object with fake `null` prototype: use ActiveX Object with cleared prototype + var NullProtoObjectViaActiveX = function (activeXDocument) { + activeXDocument.write(scriptTag('')); + activeXDocument.close(); + var temp = activeXDocument.parentWindow.Object; + activeXDocument = null; // avoid memory leak + return temp; + }; + + // Create object with fake `null` prototype: use iframe Object with cleared prototype + var NullProtoObjectViaIFrame = function () { + // Thrash, waste and sodomy: IE GC bug + var iframe = documentCreateElement('iframe'); + var JS = 'java' + SCRIPT + ':'; + var iframeDocument; + iframe.style.display = 'none'; + html.appendChild(iframe); + // https://github.com/zloirock/core-js/issues/475 + iframe.src = String(JS); + iframeDocument = iframe.contentWindow.document; + iframeDocument.open(); + iframeDocument.write(scriptTag('document.F=Object')); + iframeDocument.close(); + return iframeDocument.F; + }; + + // Check for document.domain and active x support + // No need to use active x approach when document.domain is not set + // see https://github.com/es-shims/es5-shim/issues/150 + // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346 + // avoid IE GC bug + var activeXDocument; + var NullProtoObject = function () { + try { + activeXDocument = new ActiveXObject('htmlfile'); + } catch (error) { /* ignore */ } + NullProtoObject = typeof document != 'undefined' + ? document.domain && activeXDocument + ? NullProtoObjectViaActiveX(activeXDocument) // old IE + : NullProtoObjectViaIFrame() + : NullProtoObjectViaActiveX(activeXDocument); // WSH + var length = enumBugKeys.length; + while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]]; + return NullProtoObject(); + }; + + hiddenKeys[IE_PROTO] = true; + + // `Object.create` method + // https://tc39.es/ecma262/#sec-object.create + // eslint-disable-next-line es/no-object-create -- safe + module.exports = Object.create || function create(O, Properties) { + var result; + if (O !== null) { + EmptyConstructor[PROTOTYPE] = anObject(O); + result = new EmptyConstructor(); + EmptyConstructor[PROTOTYPE] = null; + // add "__proto__" for Object.getPrototypeOf polyfill + result[IE_PROTO] = O; + } else result = NullProtoObject(); + return Properties === undefined ? result : definePropertiesModule.f(result, Properties); + }; + + + /***/ }), /* 88 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var flattenIntoArray = __webpack_require__(87); - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var aFunction = __webpack_require__(79); - var arraySpeciesCreate = __webpack_require__(71); - - // `Array.prototype.flatMap` method - // https://github.com/tc39/proposal-flatMap - __webpack_require__(7)({ target: 'Array', proto: true }, { - flatMap: function flatMap(callbackfn /* , thisArg */) { - var O = toObject(this); - var sourceLen = toLength(O.length); - var A; - aFunction(callbackfn); - A = arraySpeciesCreate(O, 0); - A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]); - return A; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var V8_PROTOTYPE_DEFINE_BUG = __webpack_require__(44); + var definePropertyModule = __webpack_require__(43); + var anObject = __webpack_require__(45); + var toIndexedObject = __webpack_require__(11); + var objectKeys = __webpack_require__(89); + + // `Object.defineProperties` method + // https://tc39.es/ecma262/#sec-object.defineproperties + // eslint-disable-next-line es/no-object-defineproperties -- safe + exports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) { + anObject(O); + var props = toIndexedObject(Properties); + var keys = objectKeys(Properties); + var length = keys.length; + var index = 0; + var key; + while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]); + return O; + }; + + + /***/ }), /* 89 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var forEach = __webpack_require__(90); - - // `Array.prototype.forEach` method - // https://tc39.github.io/ecma262/#sec-array.prototype.foreach - __webpack_require__(7)({ target: 'Array', proto: true, forced: [].forEach != forEach }, { forEach: forEach }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var internalObjectKeys = __webpack_require__(57); + var enumBugKeys = __webpack_require__(64); + + // `Object.keys` method + // https://tc39.es/ecma262/#sec-object.keys + // eslint-disable-next-line es/no-object-keys -- safe + module.exports = Object.keys || function keys(O) { + return internalObjectKeys(O, enumBugKeys); + }; + + + /***/ }), /* 90 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var nativeForEach = [].forEach; - var internalForEach = __webpack_require__(77)(0); - - var SLOPPY_METHOD = __webpack_require__(80)('forEach'); - - // `Array.prototype.forEach` method implementation - // https://tc39.github.io/ecma262/#sec-array.prototype.foreach - module.exports = SLOPPY_METHOD ? function forEach(callbackfn /* , thisArg */) { - return internalForEach(this, callbackfn, arguments[1]); - } : nativeForEach; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + + module.exports = getBuiltIn('document', 'documentElement'); + + + /***/ }), /* 91 */ - /***/ (function (module, exports, __webpack_require__) { - - var INCORRECT_ITERATION = !__webpack_require__(92)(function (iterable) { - Array.from(iterable); - }); - - // `Array.from` method - // https://tc39.github.io/ecma262/#sec-array.from - __webpack_require__(7)({ target: 'Array', stat: true, forced: INCORRECT_ITERATION }, { - from: __webpack_require__(93) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var bind = __webpack_require__(92); + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var tryToString = __webpack_require__(30); + var isArrayIteratorMethod = __webpack_require__(94); + var lengthOfArrayLike = __webpack_require__(62); + var isPrototypeOf = __webpack_require__(23); + var getIterator = __webpack_require__(96); + var getIteratorMethod = __webpack_require__(97); + var iteratorClose = __webpack_require__(98); + + var $TypeError = TypeError; + + var Result = function (stopped, result) { + this.stopped = stopped; + this.result = result; + }; + + var ResultPrototype = Result.prototype; + + module.exports = function (iterable, unboundFunction, options) { + var that = options && options.that; + var AS_ENTRIES = !!(options && options.AS_ENTRIES); + var IS_RECORD = !!(options && options.IS_RECORD); + var IS_ITERATOR = !!(options && options.IS_ITERATOR); + var INTERRUPTED = !!(options && options.INTERRUPTED); + var fn = bind(unboundFunction, that); + var iterator, iterFn, index, length, result, next, step; + + var stop = function (condition) { + if (iterator) iteratorClose(iterator, 'normal', condition); + return new Result(true, condition); + }; + + var callFn = function (value) { + if (AS_ENTRIES) { + anObject(value); + return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]); + } return INTERRUPTED ? fn(value, stop) : fn(value); + }; + + if (IS_RECORD) { + iterator = iterable.iterator; + } else if (IS_ITERATOR) { + iterator = iterable; + } else { + iterFn = getIteratorMethod(iterable); + if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable'); + // optimisation for array iterators + if (isArrayIteratorMethod(iterFn)) { + for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) { + result = callFn(iterable[index]); + if (result && isPrototypeOf(ResultPrototype, result)) return result; + } return new Result(false); + } + iterator = getIterator(iterable, iterFn); + } + + next = IS_RECORD ? iterable.next : iterator.next; + while (!(step = call(next, iterator)).done) { + try { + result = callFn(step.value); + } catch (error) { + iteratorClose(iterator, 'throw', error); + } + if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result; + } return new Result(false); + }; + + + /***/ }), /* 92 */ - /***/ (function (module, exports, __webpack_require__) { - - var ITERATOR = __webpack_require__(43)('iterator'); - var SAFE_CLOSING = false; - - try { - var called = 0; - var iteratorWithReturn = { - next: function () { - return { done: !!called++ }; - }, - 'return': function () { - SAFE_CLOSING = true; - } - }; - iteratorWithReturn[ITERATOR] = function () { - return this; - }; - // eslint-disable-next-line no-throw-literal - Array.from(iteratorWithReturn, function () { throw 2; }); - } catch (e) { /* empty */ } - - module.exports = function (exec, SKIP_CLOSING) { - if (!SKIP_CLOSING && !SAFE_CLOSING) return false; - var ITERATION_SUPPORT = false; - try { - var object = {}; - object[ITERATOR] = function () { - return { - next: function () { - return { done: ITERATION_SUPPORT = true }; - } - }; - }; - exec(object); - } catch (e) { /* empty */ } - return ITERATION_SUPPORT; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(93); + var aCallable = __webpack_require__(29); + var NATIVE_BIND = __webpack_require__(8); + + var bind = uncurryThis(uncurryThis.bind); + + // optional / simple context binding + module.exports = function (fn, that) { + aCallable(fn); + return that === undefined ? fn : NATIVE_BIND ? bind(fn, that) : function (/* ...args */) { + return fn.apply(that, arguments); + }; + }; + + + /***/ }), /* 93 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var bind = __webpack_require__(78); - var toObject = __webpack_require__(69); - var callWithSafeIterationClosing = __webpack_require__(94); - var isArrayIteratorMethod = __webpack_require__(95); - var toLength = __webpack_require__(36); - var createProperty = __webpack_require__(70); - var getIteratorMethod = __webpack_require__(97); - - // `Array.from` method - // https://tc39.github.io/ecma262/#sec-array.from - module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { - var O = toObject(arrayLike); - var C = typeof this == 'function' ? this : Array; - var argumentsLength = arguments.length; - var mapfn = argumentsLength > 1 ? arguments[1] : undefined; - var mapping = mapfn !== undefined; - var index = 0; - var iteratorMethod = getIteratorMethod(O); - var length, result, step, iterator; - if (mapping) mapfn = bind(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2); - // if the target is not iterable or it's an array with the default iterator - use a simple case - if (iteratorMethod != undefined && !(C == Array && isArrayIteratorMethod(iteratorMethod))) { - iterator = iteratorMethod.call(O); - result = new C(); - for (; !(step = iterator.next()).done; index++) { - createProperty(result, index, mapping - ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) - : step.value - ); - } - } else { - length = toLength(O.length); - result = new C(length); - for (; length > index; index++) { - createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]); - } - } - result.length = index; - return result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classofRaw = __webpack_require__(14); + var uncurryThis = __webpack_require__(13); + + module.exports = function (fn) { + // Nashorn bug: + // https://github.com/zloirock/core-js/issues/1128 + // https://github.com/zloirock/core-js/issues/1130 + if (classofRaw(fn) === 'Function') return uncurryThis(fn); + }; + + + /***/ }), /* 94 */ - /***/ (function (module, exports, __webpack_require__) { - - var anObject = __webpack_require__(21); - - // call something on iterator step with safe closing on error - module.exports = function (iterator, fn, value, ENTRIES) { - try { - return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); - // 7.4.6 IteratorClose(iterator, completion) - } catch (e) { - var returnMethod = iterator['return']; - if (returnMethod !== undefined) anObject(returnMethod.call(iterator)); - throw e; - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var wellKnownSymbol = __webpack_require__(32); + var Iterators = __webpack_require__(95); + + var ITERATOR = wellKnownSymbol('iterator'); + var ArrayPrototype = Array.prototype; + + // check on default Array iterator + module.exports = function (it) { + return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); + }; + + + /***/ }), /* 95 */ - /***/ (function (module, exports, __webpack_require__) { - - // check on default Array iterator - var Iterators = __webpack_require__(96); - var ITERATOR = __webpack_require__(43)('iterator'); - var ArrayPrototype = Array.prototype; - - module.exports = function (it) { - return it !== undefined && (Iterators.Array === it || ArrayPrototype[ITERATOR] === it); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = {}; + + + /***/ }), /* 96 */ - /***/ (function (module, exports) { - - module.exports = {}; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var tryToString = __webpack_require__(30); + var getIteratorMethod = __webpack_require__(97); + + var $TypeError = TypeError; + + module.exports = function (argument, usingIterator) { + var iteratorMethod = arguments.length < 2 ? getIteratorMethod(argument) : usingIterator; + if (aCallable(iteratorMethod)) return anObject(call(iteratorMethod, argument)); + throw new $TypeError(tryToString(argument) + ' is not iterable'); + }; + + + /***/ }), /* 97 */ - /***/ (function (module, exports, __webpack_require__) { - - var classof = __webpack_require__(98); - var ITERATOR = __webpack_require__(43)('iterator'); - var Iterators = __webpack_require__(96); - - module.exports = function (it) { - if (it != undefined) return it[ITERATOR] - || it['@@iterator'] - || Iterators[classof(it)]; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classof = __webpack_require__(77); + var getMethod = __webpack_require__(28); + var isNullOrUndefined = __webpack_require__(16); + var Iterators = __webpack_require__(95); + var wellKnownSymbol = __webpack_require__(32); + + var ITERATOR = wellKnownSymbol('iterator'); + + module.exports = function (it) { + if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR) + || getMethod(it, '@@iterator') + || Iterators[classof(it)]; + }; + + + /***/ }), /* 98 */ - /***/ (function (module, exports, __webpack_require__) { - - var classofRaw = __webpack_require__(13); - var TO_STRING_TAG = __webpack_require__(43)('toStringTag'); - // ES3 wrong here - var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; - - // fallback for IE11 Script Access Denied error - var tryGet = function (it, key) { - try { - return it[key]; - } catch (e) { /* empty */ } - }; - - // getting tag from ES6+ `Object.prototype.toString` - module.exports = function (it) { - var O, tag, result; - return it === undefined ? 'Undefined' : it === null ? 'Null' - // @@toStringTag case - : typeof (tag = tryGet(O = Object(it), TO_STRING_TAG)) == 'string' ? tag - // builtinTag case - : CORRECT_ARGUMENTS ? classofRaw(O) - // ES3 arguments fallback - : (result = classofRaw(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var getMethod = __webpack_require__(28); + + module.exports = function (iterator, kind, value) { + var innerResult, innerError; + anObject(iterator); + try { + innerResult = getMethod(iterator, 'return'); + if (!innerResult) { + if (kind === 'throw') throw value; + return value; + } + innerResult = call(innerResult, iterator); + } catch (error) { + innerError = true; + innerResult = error; + } + if (kind === 'throw') throw value; + if (innerError) throw innerResult; + anObject(innerResult); + return value; + }; + + + /***/ }), /* 99 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalIncludes = __webpack_require__(35)(true); - - // `Array.prototype.includes` method - // https://tc39.github.io/ecma262/#sec-array.prototype.includes - __webpack_require__(7)({ target: 'Array', proto: true }, { - includes: function includes(el /* , fromIndex = 0 */) { - return internalIncludes(this, el, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables - __webpack_require__(75)('includes'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var getBuiltIn = __webpack_require__(22); + var apply = __webpack_require__(67); + var fails = __webpack_require__(6); + var wrapErrorConstructorWithCause = __webpack_require__(68); + + var AGGREGATE_ERROR = 'AggregateError'; + var $AggregateError = getBuiltIn(AGGREGATE_ERROR); + + var FORCED = !fails(function () { + return $AggregateError([1]).errors[0] !== 1; + }) && fails(function () { + return $AggregateError([1], AGGREGATE_ERROR, { cause: 7 }).cause !== 7; + }); + + // https://tc39.es/ecma262/#sec-aggregate-error + $({ global: true, constructor: true, arity: 2, forced: FORCED }, { + AggregateError: wrapErrorConstructorWithCause(AGGREGATE_ERROR, function (init) { + // eslint-disable-next-line no-unused-vars -- required for functions `.length` + return function AggregateError(errors, message) { return apply(init, this, arguments); }; + }, FORCED, true) + }); + + + /***/ }), /* 100 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalIndexOf = __webpack_require__(35)(false); - var nativeIndexOf = [].indexOf; - - var NEGATIVE_ZERO = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0; - var SLOPPY_METHOD = __webpack_require__(80)('indexOf'); - - // `Array.prototype.indexOf` method - // https://tc39.github.io/ecma262/#sec-array.prototype.indexof - __webpack_require__(7)({ target: 'Array', proto: true, forced: NEGATIVE_ZERO || SLOPPY_METHOD }, { - indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { - return NEGATIVE_ZERO - // convert -0 to +0 - ? nativeIndexOf.apply(this, arguments) || 0 - : internalIndexOf(this, searchElement, arguments[1]); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var toObject = __webpack_require__(38); + var lengthOfArrayLike = __webpack_require__(62); + var toIntegerOrInfinity = __webpack_require__(60); + var addToUnscopables = __webpack_require__(101); + + // `Array.prototype.at` method + // https://tc39.es/ecma262/#sec-array.prototype.at + $({ target: 'Array', proto: true }, { + at: function at(index) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : O[k]; + } + }); + + addToUnscopables('at'); + + + /***/ }), /* 101 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Array.isArray` method - // https://tc39.github.io/ecma262/#sec-array.isarray - __webpack_require__(7)({ target: 'Array', stat: true }, { isArray: __webpack_require__(50) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var wellKnownSymbol = __webpack_require__(32); + var create = __webpack_require__(87); + var defineProperty = __webpack_require__(43).f; + + var UNSCOPABLES = wellKnownSymbol('unscopables'); + var ArrayPrototype = Array.prototype; + + // Array.prototype[@@unscopables] + // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables + if (ArrayPrototype[UNSCOPABLES] === undefined) { + defineProperty(ArrayPrototype, UNSCOPABLES, { + configurable: true, + value: create(null) + }); + } + + // add a key to Array.prototype[@@unscopables] + module.exports = function (key) { + ArrayPrototype[UNSCOPABLES][key] = true; + }; + + + /***/ }), /* 102 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toIndexedObject = __webpack_require__(11); - var addToUnscopables = __webpack_require__(75); - var Iterators = __webpack_require__(96); - var InternalStateModule = __webpack_require__(26); - var defineIterator = __webpack_require__(103); - var ARRAY_ITERATOR = 'Array Iterator'; - var setInternalState = InternalStateModule.set; - var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR); - - // `Array.prototype.entries` method - // https://tc39.github.io/ecma262/#sec-array.prototype.entries - // `Array.prototype.keys` method - // https://tc39.github.io/ecma262/#sec-array.prototype.keys - // `Array.prototype.values` method - // https://tc39.github.io/ecma262/#sec-array.prototype.values - // `Array.prototype[@@iterator]` method - // https://tc39.github.io/ecma262/#sec-array.prototype-@@iterator - // `CreateArrayIterator` internal method - // https://tc39.github.io/ecma262/#sec-createarrayiterator - module.exports = defineIterator(Array, 'Array', function (iterated, kind) { - setInternalState(this, { - type: ARRAY_ITERATOR, - target: toIndexedObject(iterated), // target - index: 0, // next index - kind: kind // kind - }); - // `%ArrayIteratorPrototype%.next` method - // https://tc39.github.io/ecma262/#sec-%arrayiteratorprototype%.next - }, function () { - var state = getInternalState(this); - var target = state.target; - var kind = state.kind; - var index = state.index++; - if (!target || index >= target.length) { - state.target = undefined; - return { value: undefined, done: true }; - } - if (kind == 'keys') return { value: index, done: false }; - if (kind == 'values') return { value: target[index], done: false }; - return { value: [index, target[index]], done: false }; - }, 'values'); - - // argumentsList[@@iterator] is %ArrayProto_values% - // https://tc39.github.io/ecma262/#sec-createunmappedargumentsobject - // https://tc39.github.io/ecma262/#sec-createmappedargumentsobject - Iterators.Arguments = Iterators.Array; - - // https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables - addToUnscopables('keys'); - addToUnscopables('values'); - addToUnscopables('entries'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $findLast = __webpack_require__(103).findLast; + var addToUnscopables = __webpack_require__(101); + + // `Array.prototype.findLast` method + // https://tc39.es/ecma262/#sec-array.prototype.findlast + $({ target: 'Array', proto: true }, { + findLast: function findLast(callbackfn /* , that = undefined */) { + return $findLast(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + addToUnscopables('findLast'); + + + /***/ }), /* 103 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var $export = __webpack_require__(7); - var createIteratorConstructor = __webpack_require__(104); - var getPrototypeOf = __webpack_require__(106); - var setPrototypeOf = __webpack_require__(108); - var setToStringTag = __webpack_require__(42); - var hide = __webpack_require__(19); - var redefine = __webpack_require__(22); - var IS_PURE = __webpack_require__(6); - var ITERATOR = __webpack_require__(43)('iterator'); - var Iterators = __webpack_require__(96); - var IteratorsCore = __webpack_require__(105); - var IteratorPrototype = IteratorsCore.IteratorPrototype; - var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; - var KEYS = 'keys'; - var VALUES = 'values'; - var ENTRIES = 'entries'; - - var returnThis = function () { return this; }; - - module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { - createIteratorConstructor(IteratorConstructor, NAME, next); - - var getIterationMethod = function (KIND) { - if (KIND === DEFAULT && defaultIterator) return defaultIterator; - if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND]; - switch (KIND) { - case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; - case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; - case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; - } return function () { return new IteratorConstructor(this); }; - }; - - var TO_STRING_TAG = NAME + ' Iterator'; - var INCORRECT_VALUES_NAME = false; - var IterablePrototype = Iterable.prototype; - var nativeIterator = IterablePrototype[ITERATOR] - || IterablePrototype['@@iterator'] - || DEFAULT && IterablePrototype[DEFAULT]; - var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); - var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; - var CurrentIteratorPrototype, methods, KEY; - - // fix native - if (anyNativeIterator) { - CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); - if (IteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { - if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { - if (setPrototypeOf) { - setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); - } else if (typeof CurrentIteratorPrototype[ITERATOR] != 'function') { - hide(CurrentIteratorPrototype, ITERATOR, returnThis); - } - } - // Set @@toStringTag to native iterators - setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); - if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; - } - } - - // fix Array#{values, @@iterator}.name in V8 / FF - if (DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) { - INCORRECT_VALUES_NAME = true; - defaultIterator = function values() { return nativeIterator.call(this); }; - } - - // define iterator - if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { - hide(IterablePrototype, ITERATOR, defaultIterator); - } - Iterators[NAME] = defaultIterator; - - // export additional methods - if (DEFAULT) { - methods = { - values: getIterationMethod(VALUES), - keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), - entries: getIterationMethod(ENTRIES) - }; - if (FORCED) for (KEY in methods) { - if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { - redefine(IterablePrototype, KEY, methods[KEY]); - } - } else $export({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); - } - - return methods; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var bind = __webpack_require__(92); + var IndexedObject = __webpack_require__(12); + var toObject = __webpack_require__(38); + var lengthOfArrayLike = __webpack_require__(62); + + // `Array.prototype.{ findLast, findLastIndex }` methods implementation + var createMethod = function (TYPE) { + var IS_FIND_LAST_INDEX = TYPE === 1; + return function ($this, callbackfn, that) { + var O = toObject($this); + var self = IndexedObject(O); + var index = lengthOfArrayLike(self); + var boundFunction = bind(callbackfn, that); + var value, result; + while (index-- > 0) { + value = self[index]; + result = boundFunction(value, index, O); + if (result) switch (TYPE) { + case 0: return value; // findLast + case 1: return index; // findLastIndex + } + } + return IS_FIND_LAST_INDEX ? -1 : undefined; + }; + }; + + module.exports = { + // `Array.prototype.findLast` method + // https://github.com/tc39/proposal-array-find-from-last + findLast: createMethod(0), + // `Array.prototype.findLastIndex` method + // https://github.com/tc39/proposal-array-find-from-last + findLastIndex: createMethod(1) + }; + + + /***/ }), /* 104 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var IteratorPrototype = __webpack_require__(105).IteratorPrototype; - var create = __webpack_require__(51); - var createPropertyDescriptor = __webpack_require__(10); - var setToStringTag = __webpack_require__(42); - var Iterators = __webpack_require__(96); - - var returnThis = function () { return this; }; - - module.exports = function (IteratorConstructor, NAME, next) { - var TO_STRING_TAG = NAME + ' Iterator'; - IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(1, next) }); - setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); - Iterators[TO_STRING_TAG] = returnThis; - return IteratorConstructor; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $findLastIndex = __webpack_require__(103).findLastIndex; + var addToUnscopables = __webpack_require__(101); + + // `Array.prototype.findLastIndex` method + // https://tc39.es/ecma262/#sec-array.prototype.findlastindex + $({ target: 'Array', proto: true }, { + findLastIndex: function findLastIndex(callbackfn /* , that = undefined */) { + return $findLastIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + addToUnscopables('findLastIndex'); + + + /***/ }), /* 105 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getPrototypeOf = __webpack_require__(106); - var hide = __webpack_require__(19); - var has = __webpack_require__(3); - var IS_PURE = __webpack_require__(6); - var ITERATOR = __webpack_require__(43)('iterator'); - var BUGGY_SAFARI_ITERATORS = false; - - var returnThis = function () { return this; }; - - // `%IteratorPrototype%` object - // https://tc39.github.io/ecma262/#sec-%iteratorprototype%-object - var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; - - if ([].keys) { - arrayIterator = [].keys(); - // Safari 8 has buggy iterators w/o `next` - if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; - else { - PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); - if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; - } - } - - if (IteratorPrototype == undefined) IteratorPrototype = {}; - - // 25.1.2.1.1 %IteratorPrototype%[@@iterator]() - if (!IS_PURE && !has(IteratorPrototype, ITERATOR)) hide(IteratorPrototype, ITERATOR, returnThis); - - module.exports = { - IteratorPrototype: IteratorPrototype, - BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var toObject = __webpack_require__(38); + var lengthOfArrayLike = __webpack_require__(62); + var setArrayLength = __webpack_require__(106); + var doesNotExceedSafeInteger = __webpack_require__(108); + var fails = __webpack_require__(6); + + var INCORRECT_TO_LENGTH = fails(function () { + return [].push.call({ length: 0x100000000 }, 1) !== 4294967297; + }); + + // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError + // https://bugs.chromium.org/p/v8/issues/detail?id=12681 + var properErrorOnNonWritableLength = function () { + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).push(); + } catch (error) { + return error instanceof TypeError; + } + }; + + var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength(); + + // `Array.prototype.push` method + // https://tc39.es/ecma262/#sec-array.prototype.push + $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + push: function push(item) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + var argCount = arguments.length; + doesNotExceedSafeInteger(len + argCount); + for (var i = 0; i < argCount; i++) { + O[len] = arguments[i]; + len++; + } + setArrayLength(O, len); + return len; + } + }); + + + /***/ }), /* 106 */ - /***/ (function (module, exports, __webpack_require__) { - - // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O) - var has = __webpack_require__(3); - var toObject = __webpack_require__(69); - var IE_PROTO = __webpack_require__(28)('IE_PROTO'); - var CORRECT_PROTOTYPE_GETTER = __webpack_require__(107); - var ObjectPrototype = Object.prototype; - - module.exports = CORRECT_PROTOTYPE_GETTER ? Object.getPrototypeOf : function (O) { - O = toObject(O); - if (has(O, IE_PROTO)) return O[IE_PROTO]; - if (typeof O.constructor == 'function' && O instanceof O.constructor) { - return O.constructor.prototype; - } return O instanceof Object ? ObjectPrototype : null; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var isArray = __webpack_require__(107); + + var $TypeError = TypeError; + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + + // Safari < 13 does not throw an error in this case + var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () { + // makes no sense without proper strict mode support + if (this !== undefined) return true; + try { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty([], 'length', { writable: false }).length = 1; + } catch (error) { + return error instanceof TypeError; + } + }(); + + module.exports = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) { + if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) { + throw new $TypeError('Cannot set read only .length'); + } return O.length = length; + } : function (O, length) { + return O.length = length; + }; + + + /***/ }), /* 107 */ - /***/ (function (module, exports, __webpack_require__) { - - module.exports = !__webpack_require__(5)(function () { - function F() { /* empty */ } - F.prototype.constructor = null; - return Object.getPrototypeOf(new F()) !== F.prototype; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classof = __webpack_require__(14); + + // `IsArray` abstract operation + // https://tc39.es/ecma262/#sec-isarray + // eslint-disable-next-line es/no-array-isarray -- safe + module.exports = Array.isArray || function isArray(argument) { + return classof(argument) === 'Array'; + }; + + + /***/ }), /* 108 */ - /***/ (function (module, exports, __webpack_require__) { - - // Works with __proto__ only. Old v8 can't work with null proto objects. - /* eslint-disable no-proto */ - var validateSetPrototypeOfArguments = __webpack_require__(109); - - module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () { // eslint-disable-line - var correctSetter = false; - var test = {}; - var setter; - try { - setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; - setter.call(test, []); - correctSetter = test instanceof Array; - } catch (e) { /* empty */ } - return function setPrototypeOf(O, proto) { - validateSetPrototypeOfArguments(O, proto); - if (correctSetter) setter.call(O, proto); - else O.__proto__ = proto; - return O; - }; - }() : undefined); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $TypeError = TypeError; + var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991 + + module.exports = function (it) { + if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded'); + return it; + }; + + + /***/ }), /* 109 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var anObject = __webpack_require__(21); - - module.exports = function (O, proto) { - anObject(O); - if (!isObject(proto) && proto !== null) { - throw TypeError("Can't set " + String(proto) + ' as a prototype'); - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var arrayToReversed = __webpack_require__(110); + var toIndexedObject = __webpack_require__(11); + var addToUnscopables = __webpack_require__(101); + + var $Array = Array; + + // `Array.prototype.toReversed` method + // https://tc39.es/ecma262/#sec-array.prototype.toreversed + $({ target: 'Array', proto: true }, { + toReversed: function toReversed() { + return arrayToReversed(toIndexedObject(this), $Array); + } + }); + + addToUnscopables('toReversed'); + + + /***/ }), /* 110 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toIndexedObject = __webpack_require__(11); - var nativeJoin = [].join; - - var ES3_STRINGS = __webpack_require__(12) != Object; - var SLOPPY_METHOD = __webpack_require__(80)('join', ','); - - // `Array.prototype.join` method - // https://tc39.github.io/ecma262/#sec-array.prototype.join - __webpack_require__(7)({ target: 'Array', proto: true, forced: ES3_STRINGS || SLOPPY_METHOD }, { - join: function join(separator) { - return nativeJoin.call(toIndexedObject(this), separator === undefined ? ',' : separator); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var lengthOfArrayLike = __webpack_require__(62); + + // https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.toReversed + // https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toReversed + module.exports = function (O, C) { + var len = lengthOfArrayLike(O); + var A = new C(len); + var k = 0; + for (; k < len; k++) A[k] = O[len - k - 1]; + return A; + }; + + + /***/ }), /* 111 */ - /***/ (function (module, exports, __webpack_require__) { - - var arrayLastIndexOf = __webpack_require__(112); - - // `Array.prototype.lastIndexOf` method - // https://tc39.github.io/ecma262/#sec-array.prototype.lastindexof - __webpack_require__(7)({ target: 'Array', proto: true, forced: arrayLastIndexOf !== [].lastIndexOf }, { - lastIndexOf: arrayLastIndexOf - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var aCallable = __webpack_require__(29); + var toIndexedObject = __webpack_require__(11); + var arrayFromConstructorAndList = __webpack_require__(112); + var getBuiltInPrototypeMethod = __webpack_require__(113); + var addToUnscopables = __webpack_require__(101); + + var $Array = Array; + var sort = uncurryThis(getBuiltInPrototypeMethod('Array', 'sort')); + + // `Array.prototype.toSorted` method + // https://tc39.es/ecma262/#sec-array.prototype.tosorted + $({ target: 'Array', proto: true }, { + toSorted: function toSorted(compareFn) { + if (compareFn !== undefined) aCallable(compareFn); + var O = toIndexedObject(this); + var A = arrayFromConstructorAndList($Array, O); + return sort(A, compareFn); + } + }); + + addToUnscopables('toSorted'); + + + /***/ }), /* 112 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toIndexedObject = __webpack_require__(11); - var toInteger = __webpack_require__(37); - var toLength = __webpack_require__(36); - var nativeLastIndexOf = [].lastIndexOf; - - var NEGATIVE_ZERO = !!nativeLastIndexOf && 1 / [1].lastIndexOf(1, -0) < 0; - var SLOPPY_METHOD = __webpack_require__(80)('lastIndexOf'); - - // `Array.prototype.lastIndexOf` method implementation - // https://tc39.github.io/ecma262/#sec-array.prototype.lastindexof - module.exports = (NEGATIVE_ZERO || SLOPPY_METHOD) ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { - // convert -0 to +0 - if (NEGATIVE_ZERO) return nativeLastIndexOf.apply(this, arguments) || 0; - var O = toIndexedObject(this); - var length = toLength(O.length); - var index = length - 1; - if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1])); - if (index < 0) index = length + index; - for (; index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0; - return -1; - } : nativeLastIndexOf; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var lengthOfArrayLike = __webpack_require__(62); + + module.exports = function (Constructor, list, $length) { + var index = 0; + var length = arguments.length > 2 ? $length : lengthOfArrayLike(list); + var result = new Constructor(length); + while (length > index) result[index] = list[index++]; + return result; + }; + + + /***/ }), /* 113 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalMap = __webpack_require__(77)(1); - - var SPECIES_SUPPORT = __webpack_require__(72)('map'); - - // `Array.prototype.map` method - // https://tc39.github.io/ecma262/#sec-array.prototype.map - // with adding support of @@species - __webpack_require__(7)({ target: 'Array', proto: true, forced: !SPECIES_SUPPORT }, { - map: function map(callbackfn /* , thisArg */) { - return internalMap(this, callbackfn, arguments[1]); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + + module.exports = function (CONSTRUCTOR, METHOD) { + var Constructor = global[CONSTRUCTOR]; + var Prototype = Constructor && Constructor.prototype; + return Prototype && Prototype[METHOD]; + }; + + + /***/ }), /* 114 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createProperty = __webpack_require__(70); - - var ISNT_GENERIC = __webpack_require__(5)(function () { - function F() { /* empty */ } - return !(Array.of.call(F) instanceof F); - }); - - // `Array.of` method - // https://tc39.github.io/ecma262/#sec-array.of - // WebKit Array.of isn't generic - __webpack_require__(7)({ target: 'Array', stat: true, forced: ISNT_GENERIC }, { - of: function of(/* ...args */) { - var index = 0; - var argumentsLength = arguments.length; - var result = new (typeof this == 'function' ? this : Array)(argumentsLength); - while (argumentsLength > index) createProperty(result, index, arguments[index++]); - result.length = argumentsLength; - return result; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var addToUnscopables = __webpack_require__(101); + var doesNotExceedSafeInteger = __webpack_require__(108); + var lengthOfArrayLike = __webpack_require__(62); + var toAbsoluteIndex = __webpack_require__(59); + var toIndexedObject = __webpack_require__(11); + var toIntegerOrInfinity = __webpack_require__(60); + + var $Array = Array; + var max = Math.max; + var min = Math.min; + + // `Array.prototype.toSpliced` method + // https://tc39.es/ecma262/#sec-array.prototype.tospliced + $({ target: 'Array', proto: true }, { + toSpliced: function toSpliced(start, deleteCount /* , ...items */) { + var O = toIndexedObject(this); + var len = lengthOfArrayLike(O); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var k = 0; + var insertCount, actualDeleteCount, newLen, A; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + insertCount = argumentsLength - 2; + actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); + } + newLen = doesNotExceedSafeInteger(len + insertCount - actualDeleteCount); + A = $Array(newLen); + + for (; k < actualStart; k++) A[k] = O[k]; + for (; k < actualStart + insertCount; k++) A[k] = arguments[k - actualStart + 2]; + for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount]; + + return A; + } + }); + + addToUnscopables('toSpliced'); + + + /***/ }), /* 115 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalReduce = __webpack_require__(116); - - var SLOPPY_METHOD = __webpack_require__(80)('reduce'); - - // `Array.prototype.reduce` method - // https://tc39.github.io/ecma262/#sec-array.prototype.reduce - __webpack_require__(7)({ target: 'Array', proto: true, forced: SLOPPY_METHOD }, { - reduce: function reduce(callbackfn /* , initialValue */) { - return internalReduce(this, callbackfn, arguments.length, arguments[1], false); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var arrayWith = __webpack_require__(116); + var toIndexedObject = __webpack_require__(11); + + var $Array = Array; + + // `Array.prototype.with` method + // https://tc39.es/ecma262/#sec-array.prototype.with + $({ target: 'Array', proto: true }, { + 'with': function (index, value) { + return arrayWith(toIndexedObject(this), $Array, index, value); + } + }); + + + /***/ }), /* 116 */ - /***/ (function (module, exports, __webpack_require__) { - - var aFunction = __webpack_require__(79); - var toObject = __webpack_require__(69); - var IndexedObject = __webpack_require__(12); - var toLength = __webpack_require__(36); - - // `Array.prototype.{ reduce, reduceRight }` methods implementation - // https://tc39.github.io/ecma262/#sec-array.prototype.reduce - // https://tc39.github.io/ecma262/#sec-array.prototype.reduceright - module.exports = function (that, callbackfn, argumentsLength, memo, isRight) { - aFunction(callbackfn); - var O = toObject(that); - var self = IndexedObject(O); - var length = toLength(O.length); - var index = isRight ? length - 1 : 0; - var i = isRight ? -1 : 1; - if (argumentsLength < 2) while (true) { - if (index in self) { - memo = self[index]; - index += i; - break; - } - index += i; - if (isRight ? index < 0 : length <= index) { - throw TypeError('Reduce of empty array with no initial value'); - } - } - for (; isRight ? index >= 0 : length > index; index += i) if (index in self) { - memo = callbackfn(memo, self[index], index, O); - } - return memo; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var lengthOfArrayLike = __webpack_require__(62); + var toIntegerOrInfinity = __webpack_require__(60); + + var $RangeError = RangeError; + + // https://tc39.es/proposal-change-array-by-copy/#sec-array.prototype.with + // https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.with + module.exports = function (O, C, index, value) { + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var actualIndex = relativeIndex < 0 ? len + relativeIndex : relativeIndex; + if (actualIndex >= len || actualIndex < 0) throw new $RangeError('Incorrect index'); + var A = new C(len); + var k = 0; + for (; k < len; k++) A[k] = k === actualIndex ? value : O[k]; + return A; + }; + + + /***/ }), /* 117 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalReduceRight = __webpack_require__(116); - - var SLOPPY_METHOD = __webpack_require__(80)('reduceRight'); - - // `Array.prototype.reduceRight` method - // https://tc39.github.io/ecma262/#sec-array.prototype.reduceright - __webpack_require__(7)({ target: 'Array', proto: true, forced: SLOPPY_METHOD }, { - reduceRight: function reduceRight(callbackfn /* , initialValue */) { - return internalReduceRight(this, callbackfn, arguments.length, arguments[1], true); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var defineBuiltInAccessor = __webpack_require__(118); + var isDetached = __webpack_require__(119); + + var ArrayBufferPrototype = ArrayBuffer.prototype; + + if (DESCRIPTORS && !('detached' in ArrayBufferPrototype)) { + defineBuiltInAccessor(ArrayBufferPrototype, 'detached', { + configurable: true, + get: function detached() { + return isDetached(this); + } + }); + } + + + /***/ }), /* 118 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var isArray = __webpack_require__(50); - var nativeReverse = [].reverse; - var test = [1, 2]; - - // `Array.prototype.reverse` method - // https://tc39.github.io/ecma262/#sec-array.prototype.reverse - // fix for Safari 12.0 bug - // https://bugs.webkit.org/show_bug.cgi?id=188794 - __webpack_require__(7)({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, { - reverse: function reverse() { - if (isArray(this)) this.length = this.length; - return nativeReverse.call(this); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var makeBuiltIn = __webpack_require__(47); + var defineProperty = __webpack_require__(43); + + module.exports = function (target, name, descriptor) { + if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true }); + if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true }); + return defineProperty.f(target, name, descriptor); + }; + + + /***/ }), /* 119 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var isObject = __webpack_require__(16); - var isArray = __webpack_require__(50); - var toAbsoluteIndex = __webpack_require__(38); - var toLength = __webpack_require__(36); - var toIndexedObject = __webpack_require__(11); - var createProperty = __webpack_require__(70); - var SPECIES = __webpack_require__(43)('species'); - var nativeSlice = [].slice; - var max = Math.max; - - var SPECIES_SUPPORT = __webpack_require__(72)('slice'); - - // `Array.prototype.slice` method - // https://tc39.github.io/ecma262/#sec-array.prototype.slice - // fallback for not array-like ES3 strings and DOM objects - __webpack_require__(7)({ target: 'Array', proto: true, forced: !SPECIES_SUPPORT }, { - slice: function slice(start, end) { - var O = toIndexedObject(this); - var length = toLength(O.length); - var k = toAbsoluteIndex(start, length); - var fin = toAbsoluteIndex(end === undefined ? length : end, length); - // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible - var Constructor, result, n; - if (isArray(O)) { - Constructor = O.constructor; - // cross-realm fallback - if (typeof Constructor == 'function' && (Constructor === Array || isArray(Constructor.prototype))) { - Constructor = undefined; - } else if (isObject(Constructor)) { - Constructor = Constructor[SPECIES]; - if (Constructor === null) Constructor = undefined; - } - if (Constructor === Array || Constructor === undefined) { - return nativeSlice.call(O, k, fin); - } - } - result = new (Constructor === undefined ? Array : Constructor)(max(fin - k, 0)); - for (n = 0; k < fin; k++, n++) if (k in O) createProperty(result, n, O[k]); - result.length = n; - return result; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var arrayBufferByteLength = __webpack_require__(120); + + var slice = uncurryThis(ArrayBuffer.prototype.slice); + + module.exports = function (O) { + if (arrayBufferByteLength(O) !== 0) return false; + try { + slice(O, 0, 0); + return false; + } catch (error) { + return true; + } + }; + + + /***/ }), /* 120 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalSome = __webpack_require__(77)(3); - - var SLOPPY_METHOD = __webpack_require__(80)('some'); - - // `Array.prototype.some` method - // https://tc39.github.io/ecma262/#sec-array.prototype.some - __webpack_require__(7)({ target: 'Array', proto: true, forced: SLOPPY_METHOD }, { - some: function some(callbackfn /* , thisArg */) { - return internalSome(this, callbackfn, arguments[1]); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThisAccessor = __webpack_require__(70); + var classof = __webpack_require__(14); + + var $TypeError = TypeError; + + // Includes + // - Perform ? RequireInternalSlot(O, [[ArrayBufferData]]). + // - If IsSharedArrayBuffer(O) is true, throw a TypeError exception. + module.exports = uncurryThisAccessor(ArrayBuffer.prototype, 'byteLength', 'get') || function (O) { + if (classof(O) !== 'ArrayBuffer') throw new $TypeError('ArrayBuffer expected'); + return O.byteLength; + }; + + + /***/ }), /* 121 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var aFunction = __webpack_require__(79); - var toObject = __webpack_require__(69); - var fails = __webpack_require__(5); - var nativeSort = [].sort; - var test = [1, 2, 3]; - - // IE8- - var FAILS_ON_UNDEFINED = fails(function () { - test.sort(undefined); - }); - // V8 bug - var FAILS_ON_NULL = fails(function () { - test.sort(null); - }); - // Old WebKit - var SLOPPY_METHOD = __webpack_require__(80)('sort'); - - var FORCED = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || SLOPPY_METHOD; - - // `Array.prototype.sort` method - // https://tc39.github.io/ecma262/#sec-array.prototype.sort - __webpack_require__(7)({ target: 'Array', proto: true, forced: FORCED }, { - sort: function sort(comparefn) { - return comparefn === undefined - ? nativeSort.call(toObject(this)) - : nativeSort.call(toObject(this), aFunction(comparefn)); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $transfer = __webpack_require__(122); + + // `ArrayBuffer.prototype.transfer` method + // https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfer + if ($transfer) $({ target: 'ArrayBuffer', proto: true }, { + transfer: function transfer() { + return $transfer(this, arguments.length ? arguments[0] : undefined, true); + } + }); + + + /***/ }), /* 122 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Array[@@species]` getter - // https://tc39.github.io/ecma262/#sec-get-array-@@species - __webpack_require__(123)('Array'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var uncurryThis = __webpack_require__(13); + var uncurryThisAccessor = __webpack_require__(70); + var toIndex = __webpack_require__(123); + var isDetached = __webpack_require__(119); + var arrayBufferByteLength = __webpack_require__(120); + var detachTransferable = __webpack_require__(124); + var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(127); + + var structuredClone = global.structuredClone; + var ArrayBuffer = global.ArrayBuffer; + var DataView = global.DataView; + var TypeError = global.TypeError; + var min = Math.min; + var ArrayBufferPrototype = ArrayBuffer.prototype; + var DataViewPrototype = DataView.prototype; + var slice = uncurryThis(ArrayBufferPrototype.slice); + var isResizable = uncurryThisAccessor(ArrayBufferPrototype, 'resizable', 'get'); + var maxByteLength = uncurryThisAccessor(ArrayBufferPrototype, 'maxByteLength', 'get'); + var getInt8 = uncurryThis(DataViewPrototype.getInt8); + var setInt8 = uncurryThis(DataViewPrototype.setInt8); + + module.exports = (PROPER_STRUCTURED_CLONE_TRANSFER || detachTransferable) && function (arrayBuffer, newLength, preserveResizability) { + var byteLength = arrayBufferByteLength(arrayBuffer); + var newByteLength = newLength === undefined ? byteLength : toIndex(newLength); + var fixedLength = !isResizable || !isResizable(arrayBuffer); + var newBuffer; + if (isDetached(arrayBuffer)) throw new TypeError('ArrayBuffer is detached'); + if (PROPER_STRUCTURED_CLONE_TRANSFER) { + arrayBuffer = structuredClone(arrayBuffer, { transfer: [arrayBuffer] }); + if (byteLength === newByteLength && (preserveResizability || fixedLength)) return arrayBuffer; + } + if (byteLength >= newByteLength && (!preserveResizability || fixedLength)) { + newBuffer = slice(arrayBuffer, 0, newByteLength); + } else { + var options = preserveResizability && !fixedLength && maxByteLength ? { maxByteLength: maxByteLength(arrayBuffer) } : undefined; + newBuffer = new ArrayBuffer(newByteLength, options); + var a = new DataView(arrayBuffer); + var b = new DataView(newBuffer); + var copyLength = min(newByteLength, byteLength); + for (var i = 0; i < copyLength; i++) setInt8(b, i, getInt8(a, i)); + } + if (!PROPER_STRUCTURED_CLONE_TRANSFER) detachTransferable(arrayBuffer); + return newBuffer; + }; + + + /***/ }), /* 123 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var definePropertyModule = __webpack_require__(20); - var DESCRIPTORS = __webpack_require__(4); - var SPECIES = __webpack_require__(43)('species'); - - module.exports = function (CONSTRUCTOR_NAME) { - var C = getBuiltIn(CONSTRUCTOR_NAME); - var defineProperty = definePropertyModule.f; - if (DESCRIPTORS && C && !C[SPECIES]) defineProperty(C, SPECIES, { - configurable: true, - get: function () { return this; } - }); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toIntegerOrInfinity = __webpack_require__(60); + var toLength = __webpack_require__(63); + + var $RangeError = RangeError; + + // `ToIndex` abstract operation + // https://tc39.es/ecma262/#sec-toindex + module.exports = function (it) { + if (it === undefined) return 0; + var number = toIntegerOrInfinity(it); + var length = toLength(number); + if (number !== length) throw new $RangeError('Wrong length or index'); + return length; + }; + + + /***/ }), /* 124 */ - /***/ (function (module, exports, __webpack_require__) { - - var path = __webpack_require__(47); - var global = __webpack_require__(2); - - var aFunction = function (variable) { - return typeof variable == 'function' ? variable : undefined; - }; - - module.exports = function (namespace, method) { - return arguments.length < 2 ? aFunction(path[namespace]) || aFunction(global[namespace]) - : path[namespace] && path[namespace][method] || global[namespace] && global[namespace][method]; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var tryNodeRequire = __webpack_require__(125); + var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(127); + + var structuredClone = global.structuredClone; + var $ArrayBuffer = global.ArrayBuffer; + var $MessageChannel = global.MessageChannel; + var detach = false; + var WorkerThreads, channel, buffer, $detach; + + if (PROPER_STRUCTURED_CLONE_TRANSFER) { + detach = function (transferable) { + structuredClone(transferable, { transfer: [transferable] }); + }; + } else if ($ArrayBuffer) try { + if (!$MessageChannel) { + WorkerThreads = tryNodeRequire('worker_threads'); + if (WorkerThreads) $MessageChannel = WorkerThreads.MessageChannel; + } + + if ($MessageChannel) { + channel = new $MessageChannel(); + buffer = new $ArrayBuffer(2); + + $detach = function (transferable) { + channel.port1.postMessage(null, [transferable]); + }; + + if (buffer.byteLength === 2) { + $detach(buffer); + if (buffer.byteLength === 0) detach = $detach; + } + } + } catch (error) { /* empty */ } + + module.exports = detach; + + + /***/ }), /* 125 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toAbsoluteIndex = __webpack_require__(38); - var toInteger = __webpack_require__(37); - var toLength = __webpack_require__(36); - var toObject = __webpack_require__(69); - var arraySpeciesCreate = __webpack_require__(71); - var createProperty = __webpack_require__(70); - var max = Math.max; - var min = Math.min; - var MAX_SAFE_INTEGER = 0x1fffffffffffff; - var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded'; - - var SPECIES_SUPPORT = __webpack_require__(72)('splice'); - - // `Array.prototype.splice` method - // https://tc39.github.io/ecma262/#sec-array.prototype.splice - // with adding support of @@species - __webpack_require__(7)({ target: 'Array', proto: true, forced: !SPECIES_SUPPORT }, { - splice: function splice(start, deleteCount /* , ...items */) { - var O = toObject(this); - var len = toLength(O.length); - var actualStart = toAbsoluteIndex(start, len); - var argumentsLength = arguments.length; - var insertCount, actualDeleteCount, A, k, from, to; - if (argumentsLength === 0) { - insertCount = actualDeleteCount = 0; - } else if (argumentsLength === 1) { - insertCount = 0; - actualDeleteCount = len - actualStart; - } else { - insertCount = argumentsLength - 2; - actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart); - } - if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) { - throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED); - } - A = arraySpeciesCreate(O, actualDeleteCount); - for (k = 0; k < actualDeleteCount; k++) { - from = actualStart + k; - if (from in O) createProperty(A, k, O[from]); - } - A.length = actualDeleteCount; - if (insertCount < actualDeleteCount) { - for (k = actualStart; k < len - actualDeleteCount; k++) { - from = k + actualDeleteCount; - to = k + insertCount; - if (from in O) O[to] = O[from]; - else delete O[to]; - } - for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1]; - } else if (insertCount > actualDeleteCount) { - for (k = len - actualDeleteCount; k > actualStart; k--) { - from = k + actualDeleteCount - 1; - to = k + insertCount - 1; - if (from in O) O[to] = O[from]; - else delete O[to]; - } - } - for (k = 0; k < insertCount; k++) { - O[k + actualStart] = arguments[k + 2]; - } - O.length = len - actualDeleteCount + insertCount; - return A; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var IS_NODE = __webpack_require__(126); + + module.exports = function (name) { + try { + // eslint-disable-next-line no-new-func -- safe + if (IS_NODE) return Function('return require("' + name + '")')(); + } catch (error) { /* empty */ } + }; + + + /***/ }), /* 126 */ - /***/ (function (module, exports, __webpack_require__) { - - // this method was added to unscopables after implementation - // in popular engines, so it's moved to a separate module - __webpack_require__(75)('flat'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var classof = __webpack_require__(14); + + module.exports = classof(global.process) === 'process'; + + + /***/ }), /* 127 */ - /***/ (function (module, exports, __webpack_require__) { - - // this method was added to unscopables after implementation - // in popular engines, so it's moved to a separate module - __webpack_require__(75)('flatMap'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var fails = __webpack_require__(6); + var V8 = __webpack_require__(26); + var IS_BROWSER = __webpack_require__(128); + var IS_DENO = __webpack_require__(129); + var IS_NODE = __webpack_require__(126); + + var structuredClone = global.structuredClone; + + module.exports = !!structuredClone && !fails(function () { + // prevent V8 ArrayBufferDetaching protector cell invalidation and performance degradation + // https://github.com/zloirock/core-js/issues/679 + if ((IS_DENO && V8 > 92) || (IS_NODE && V8 > 94) || (IS_BROWSER && V8 > 97)) return false; + var buffer = new ArrayBuffer(8); + var clone = structuredClone(buffer, { transfer: [buffer] }); + return buffer.byteLength !== 0 || clone.byteLength !== 8; + }); + + + /***/ }), /* 128 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ARRAY_BUFFER = 'ArrayBuffer'; - var ArrayBuffer = __webpack_require__(129)[ARRAY_BUFFER]; - var NativeArrayBuffer = __webpack_require__(2)[ARRAY_BUFFER]; - - // `ArrayBuffer` constructor - // https://tc39.github.io/ecma262/#sec-arraybuffer-constructor - __webpack_require__(7)({ global: true, forced: NativeArrayBuffer !== ArrayBuffer }, { - ArrayBuffer: ArrayBuffer - }); - - __webpack_require__(123)(ARRAY_BUFFER); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var IS_DENO = __webpack_require__(129); + var IS_NODE = __webpack_require__(126); + + module.exports = !IS_DENO && !IS_NODE + && typeof window == 'object' + && typeof document == 'object'; + + + /***/ }), /* 129 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var global = __webpack_require__(2); - var DESCRIPTORS = __webpack_require__(4); - var NATIVE_ARRAY_BUFFER = __webpack_require__(130).NATIVE_ARRAY_BUFFER; - var hide = __webpack_require__(19); - var redefineAll = __webpack_require__(131); - var fails = __webpack_require__(5); - var anInstance = __webpack_require__(132); - var toInteger = __webpack_require__(37); - var toLength = __webpack_require__(36); - var toIndex = __webpack_require__(133); - var getOwnPropertyNames = __webpack_require__(33).f; - var defineProperty = __webpack_require__(20).f; - var arrayFill = __webpack_require__(82); - var setToStringTag = __webpack_require__(42); - var InternalStateModule = __webpack_require__(26); - var getInternalState = InternalStateModule.get; - var setInternalState = InternalStateModule.set; - var ARRAY_BUFFER = 'ArrayBuffer'; - var DATA_VIEW = 'DataView'; - var PROTOTYPE = 'prototype'; - var WRONG_LENGTH = 'Wrong length'; - var WRONG_INDEX = 'Wrong index'; - var NativeArrayBuffer = global[ARRAY_BUFFER]; - var $ArrayBuffer = NativeArrayBuffer; - var $DataView = global[DATA_VIEW]; - var Math = global.Math; - var RangeError = global.RangeError; - // eslint-disable-next-line no-shadow-restricted-names - var Infinity = 1 / 0; - var abs = Math.abs; - var pow = Math.pow; - var floor = Math.floor; - var log = Math.log; - var LN2 = Math.LN2; - - // IEEE754 conversions based on https://github.com/feross/ieee754 - var packIEEE754 = function (number, mantissaLength, bytes) { - var buffer = new Array(bytes); - var exponentLength = bytes * 8 - mantissaLength - 1; - var eMax = (1 << exponentLength) - 1; - var eBias = eMax >> 1; - var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0; - var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0; - var index = 0; - var exponent, mantissa, c; - number = abs(number); - // eslint-disable-next-line no-self-compare - if (number != number || number === Infinity) { - // eslint-disable-next-line no-self-compare - mantissa = number != number ? 1 : 0; - exponent = eMax; - } else { - exponent = floor(log(number) / LN2); - if (number * (c = pow(2, -exponent)) < 1) { - exponent--; - c *= 2; - } - if (exponent + eBias >= 1) { - number += rt / c; - } else { - number += rt * pow(2, 1 - eBias); - } - if (number * c >= 2) { - exponent++; - c /= 2; - } - if (exponent + eBias >= eMax) { - mantissa = 0; - exponent = eMax; - } else if (exponent + eBias >= 1) { - mantissa = (number * c - 1) * pow(2, mantissaLength); - exponent = exponent + eBias; - } else { - mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength); - exponent = 0; - } - } - for (; mantissaLength >= 8; buffer[index++] = mantissa & 255, mantissa /= 256, mantissaLength -= 8); - exponent = exponent << mantissaLength | mantissa; - exponentLength += mantissaLength; - for (; exponentLength > 0; buffer[index++] = exponent & 255, exponent /= 256, exponentLength -= 8); - buffer[--index] |= sign * 128; - return buffer; - }; - - var unpackIEEE754 = function (buffer, mantissaLength) { - var bytes = buffer.length; - var exponentLength = bytes * 8 - mantissaLength - 1; - var eMax = (1 << exponentLength) - 1; - var eBias = eMax >> 1; - var nBits = exponentLength - 7; - var index = bytes - 1; - var sign = buffer[index--]; - var exponent = sign & 127; - var mantissa; - sign >>= 7; - for (; nBits > 0; exponent = exponent * 256 + buffer[index], index--, nBits -= 8); - mantissa = exponent & (1 << -nBits) - 1; - exponent >>= -nBits; - nBits += mantissaLength; - for (; nBits > 0; mantissa = mantissa * 256 + buffer[index], index--, nBits -= 8); - if (exponent === 0) { - exponent = 1 - eBias; - } else if (exponent === eMax) { - return mantissa ? NaN : sign ? -Infinity : Infinity; - } else { - mantissa = mantissa + pow(2, mantissaLength); - exponent = exponent - eBias; - } return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength); - }; - - var unpackInt32 = function (buffer) { - return buffer[3] << 24 | buffer[2] << 16 | buffer[1] << 8 | buffer[0]; - }; - - var packInt8 = function (number) { - return [number & 0xff]; - }; - - var packInt16 = function (number) { - return [number & 0xff, number >> 8 & 0xff]; - }; - - var packInt32 = function (number) { - return [number & 0xff, number >> 8 & 0xff, number >> 16 & 0xff, number >> 24 & 0xff]; - }; - - var packFloat32 = function (number) { - return packIEEE754(number, 23, 4); - }; - - var packFloat64 = function (number) { - return packIEEE754(number, 52, 8); - }; - - var addGetter = function (Constructor, key) { - defineProperty(Constructor[PROTOTYPE], key, { get: function () { return getInternalState(this)[key]; } }); - }; - - var get = function (view, count, index, isLittleEndian) { - var numIndex = +index; - var intIndex = toIndex(numIndex); - var store = getInternalState(view); - if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX); - var bytes = getInternalState(store.buffer).bytes; - var start = intIndex + store.byteOffset; - var pack = bytes.slice(start, start + count); - return isLittleEndian ? pack : pack.reverse(); - }; - - var set = function (view, count, index, conversion, value, isLittleEndian) { - var numIndex = +index; - var intIndex = toIndex(numIndex); - var store = getInternalState(view); - if (intIndex + count > store.byteLength) throw RangeError(WRONG_INDEX); - var bytes = getInternalState(store.buffer).bytes; - var start = intIndex + store.byteOffset; - var pack = conversion(+value); - for (var i = 0; i < count; i++) bytes[start + i] = pack[isLittleEndian ? i : count - i - 1]; - }; - - if (!NATIVE_ARRAY_BUFFER) { - $ArrayBuffer = function ArrayBuffer(length) { - anInstance(this, $ArrayBuffer, ARRAY_BUFFER); - var byteLength = toIndex(length); - setInternalState(this, { - bytes: arrayFill.call(new Array(byteLength), 0), - byteLength: byteLength - }); - if (!DESCRIPTORS) this.byteLength = byteLength; - }; - - $DataView = function DataView(buffer, byteOffset, byteLength) { - anInstance(this, $DataView, DATA_VIEW); - anInstance(buffer, $ArrayBuffer, DATA_VIEW); - var bufferLength = getInternalState(buffer).byteLength; - var offset = toInteger(byteOffset); - if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset'); - byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength); - if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH); - setInternalState(this, { - buffer: buffer, - byteLength: byteLength, - byteOffset: offset - }); - if (!DESCRIPTORS) { - this.buffer = buffer; - this.byteLength = byteLength; - this.byteOffset = offset; - } - }; - - if (DESCRIPTORS) { - addGetter($ArrayBuffer, 'byteLength'); - addGetter($DataView, 'buffer'); - addGetter($DataView, 'byteLength'); - addGetter($DataView, 'byteOffset'); - } - - redefineAll($DataView[PROTOTYPE], { - getInt8: function getInt8(byteOffset) { - return get(this, 1, byteOffset)[0] << 24 >> 24; - }, - getUint8: function getUint8(byteOffset) { - return get(this, 1, byteOffset)[0]; - }, - getInt16: function getInt16(byteOffset /* , littleEndian */) { - var bytes = get(this, 2, byteOffset, arguments[1]); - return (bytes[1] << 8 | bytes[0]) << 16 >> 16; - }, - getUint16: function getUint16(byteOffset /* , littleEndian */) { - var bytes = get(this, 2, byteOffset, arguments[1]); - return bytes[1] << 8 | bytes[0]; - }, - getInt32: function getInt32(byteOffset /* , littleEndian */) { - return unpackInt32(get(this, 4, byteOffset, arguments[1])); - }, - getUint32: function getUint32(byteOffset /* , littleEndian */) { - return unpackInt32(get(this, 4, byteOffset, arguments[1])) >>> 0; - }, - getFloat32: function getFloat32(byteOffset /* , littleEndian */) { - return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23); - }, - getFloat64: function getFloat64(byteOffset /* , littleEndian */) { - return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52); - }, - setInt8: function setInt8(byteOffset, value) { - set(this, 1, byteOffset, packInt8, value); - }, - setUint8: function setUint8(byteOffset, value) { - set(this, 1, byteOffset, packInt8, value); - }, - setInt16: function setInt16(byteOffset, value /* , littleEndian */) { - set(this, 2, byteOffset, packInt16, value, arguments[2]); - }, - setUint16: function setUint16(byteOffset, value /* , littleEndian */) { - set(this, 2, byteOffset, packInt16, value, arguments[2]); - }, - setInt32: function setInt32(byteOffset, value /* , littleEndian */) { - set(this, 4, byteOffset, packInt32, value, arguments[2]); - }, - setUint32: function setUint32(byteOffset, value /* , littleEndian */) { - set(this, 4, byteOffset, packInt32, value, arguments[2]); - }, - setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) { - set(this, 4, byteOffset, packFloat32, value, arguments[2]); - }, - setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) { - set(this, 8, byteOffset, packFloat64, value, arguments[2]); - } - }); - } else { - if (!fails(function () { - NativeArrayBuffer(1); - }) || !fails(function () { - new NativeArrayBuffer(-1); // eslint-disable-line no-new - }) || fails(function () { - new NativeArrayBuffer(); // eslint-disable-line no-new - new NativeArrayBuffer(1.5); // eslint-disable-line no-new - new NativeArrayBuffer(NaN); // eslint-disable-line no-new - return NativeArrayBuffer.name != ARRAY_BUFFER; - })) { - $ArrayBuffer = function ArrayBuffer(length) { - anInstance(this, $ArrayBuffer); - return new NativeArrayBuffer(toIndex(length)); - }; - var ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE] = NativeArrayBuffer[PROTOTYPE]; - for (var keys = getOwnPropertyNames(NativeArrayBuffer), j = 0, key; keys.length > j;) { - if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, NativeArrayBuffer[key]); - } - ArrayBufferPrototype.constructor = $ArrayBuffer; - } - // iOS Safari 7.x bug - var testView = new $DataView(new $ArrayBuffer(2)); - var nativeSetInt8 = $DataView[PROTOTYPE].setInt8; - testView.setInt8(0, 2147483648); - testView.setInt8(1, 2147483649); - if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll($DataView[PROTOTYPE], { - setInt8: function setInt8(byteOffset, value) { - nativeSetInt8.call(this, byteOffset, value << 24 >> 24); - }, - setUint8: function setUint8(byteOffset, value) { - nativeSetInt8.call(this, byteOffset, value << 24 >> 24); - } - }, { unsafe: true }); - } - - setToStringTag($ArrayBuffer, ARRAY_BUFFER); - setToStringTag($DataView, DATA_VIEW); - exports[ARRAY_BUFFER] = $ArrayBuffer; - exports[DATA_VIEW] = $DataView; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* global Deno -- Deno case */ + module.exports = typeof Deno == 'object' && Deno && typeof Deno.version == 'object'; + + + /***/ }), /* 130 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var DESCRIPTORS = __webpack_require__(4); - var global = __webpack_require__(2); - var isObject = __webpack_require__(16); - var has = __webpack_require__(3); - var classof = __webpack_require__(98); - var hide = __webpack_require__(19); - var redefine = __webpack_require__(22); - var defineProperty = __webpack_require__(20).f; - var getPrototypeOf = __webpack_require__(106); - var setPrototypeOf = __webpack_require__(108); - var TO_STRING_TAG = __webpack_require__(43)('toStringTag'); - var TYPED_ARRAY_TAG = __webpack_require__(29)('TYPED_ARRAY_TAG'); - - var DataView = global.DataView; - var DataViewPrototype = DataView && DataView.prototype; - var Int8Array = global.Int8Array; - var Int8ArrayPrototype = Int8Array && Int8Array.prototype; - var Uint8ClampedArray = global.Uint8ClampedArray; - var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; - var TypedArray = Int8Array && getPrototypeOf(Int8Array); - var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype); - var ObjectPrototype = Object.prototype; - var isPrototypeOf = ObjectPrototype.isPrototypeOf; - - var NATIVE_ARRAY_BUFFER = !!(global.ArrayBuffer && global.DataView); - var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf; - var TYPED_ARRAY_TAG_REQIRED = false; - var NAME; - - var TypedArrayConstructorsList = { - Int8Array: 1, - Uint8Array: 1, - Uint8ClampedArray: 1, - Int16Array: 2, - Uint16Array: 2, - Int32Array: 4, - Uint32Array: 4, - Float32Array: 4, - Float64Array: 8 - }; - - var isView = function isView(it) { - var klass = classof(it); - return klass === 'DataView' || has(TypedArrayConstructorsList, klass); - }; - - var isTypedArray = function (it) { - return isObject(it) && has(TypedArrayConstructorsList, classof(it)); - }; - - var aTypedArray = function (it) { - if (isTypedArray(it)) return it; - throw TypeError('Target is not a typed array'); - }; - - var aTypedArrayConstructor = function (C) { - if (setPrototypeOf) { - if (isPrototypeOf.call(TypedArray, C)) return C; - } else for (var ARRAY in TypedArrayConstructorsList) if (has(TypedArrayConstructorsList, NAME)) { - var TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && (C === TypedArrayConstructor || isPrototypeOf.call(TypedArrayConstructor, C))) { - return C; - } - } throw TypeError('Target is not a typed array constructor'); - }; - - var exportProto = function (KEY, property, forced) { - if (!DESCRIPTORS) return; - if (forced) for (var ARRAY in TypedArrayConstructorsList) { - var TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && has(TypedArrayConstructor.prototype, KEY)) { - delete TypedArrayConstructor.prototype[KEY]; - } - } - if (!TypedArrayPrototype[KEY] || forced) { - redefine(TypedArrayPrototype, KEY, forced ? property - : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property); - } - }; - - var exportStatic = function (KEY, property, forced) { - var ARRAY, TypedArrayConstructor; - if (!DESCRIPTORS) return; - if (setPrototypeOf) { - if (forced) for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && has(TypedArrayConstructor, KEY)) { - delete TypedArrayConstructor[KEY]; - } - } - if (!TypedArray[KEY] || forced) { - // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable - try { - return redefine(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && Int8Array[KEY] || property); - } catch (e) { /* empty */ } - } else return; - } - for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global[ARRAY]; - if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { - redefine(TypedArrayConstructor, KEY, property); - } - } - }; - - for (NAME in TypedArrayConstructorsList) { - if (!global[NAME]) NATIVE_ARRAY_BUFFER_VIEWS = false; - } - - // WebKit bug - typed arrays constructors prototype is Object.prototype - if (!NATIVE_ARRAY_BUFFER_VIEWS || typeof TypedArray != 'function' || TypedArray === Function.prototype) { - // eslint-disable-next-line no-shadow - TypedArray = function TypedArray() { - throw TypeError('Incorrect invocation'); - }; - if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { - if (global[NAME]) setPrototypeOf(global[NAME], TypedArray); - } - } - - if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { - TypedArrayPrototype = TypedArray.prototype; - if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { - if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype); - } - } - - // WebKit bug - one more object in Uint8ClampedArray prototype chain - if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { - setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); - } - - if (DESCRIPTORS && !has(TypedArrayPrototype, TO_STRING_TAG)) { - TYPED_ARRAY_TAG_REQIRED = true; - defineProperty(TypedArrayPrototype, TO_STRING_TAG, { - get: function () { - return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined; - } - }); - for (NAME in TypedArrayConstructorsList) if (global[NAME]) { - hide(global[NAME], TYPED_ARRAY_TAG, NAME); - } - } - - // WebKit bug - the same parent prototype for typed arrays and data view - if (NATIVE_ARRAY_BUFFER && setPrototypeOf && getPrototypeOf(DataViewPrototype) !== ObjectPrototype) { - setPrototypeOf(DataViewPrototype, ObjectPrototype); - } - - module.exports = { - NATIVE_ARRAY_BUFFER: NATIVE_ARRAY_BUFFER, - NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS, - TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQIRED && TYPED_ARRAY_TAG, - aTypedArray: aTypedArray, - aTypedArrayConstructor: aTypedArrayConstructor, - exportProto: exportProto, - exportStatic: exportStatic, - isView: isView, - isTypedArray: isTypedArray, - TypedArray: TypedArray, - TypedArrayPrototype: TypedArrayPrototype - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $transfer = __webpack_require__(122); + + // `ArrayBuffer.prototype.transferToFixedLength` method + // https://tc39.es/proposal-arraybuffer-transfer/#sec-arraybuffer.prototype.transfertofixedlength + if ($transfer) $({ target: 'ArrayBuffer', proto: true }, { + transferToFixedLength: function transferToFixedLength() { + return $transfer(this, arguments.length ? arguments[0] : undefined, false); + } + }); + + + /***/ }), /* 131 */ - /***/ (function (module, exports, __webpack_require__) { - - var redefine = __webpack_require__(22); - - module.exports = function (target, src, options) { - for (var key in src) redefine(target, key, src[key], options); - return target; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var aCallable = __webpack_require__(29); + var requireObjectCoercible = __webpack_require__(15); + var iterate = __webpack_require__(91); + var MapHelpers = __webpack_require__(132); + var IS_PURE = __webpack_require__(35); + + var Map = MapHelpers.Map; + var has = MapHelpers.has; + var get = MapHelpers.get; + var set = MapHelpers.set; + var push = uncurryThis([].push); + + // `Map.groupBy` method + // https://github.com/tc39/proposal-array-grouping + $({ target: 'Map', stat: true, forced: IS_PURE }, { + groupBy: function groupBy(items, callbackfn) { + requireObjectCoercible(items); + aCallable(callbackfn); + var map = new Map(); + var k = 0; + iterate(items, function (value) { + var key = callbackfn(value, k++); + if (!has(map, key)) set(map, key, [value]); + else push(get(map, key), value); + }); + return map; + } + }); + + + /***/ }), /* 132 */ - /***/ (function (module, exports) { - - module.exports = function (it, Constructor, name) { - if (!(it instanceof Constructor)) { - throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation'); - } return it; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + // eslint-disable-next-line es/no-map -- safe + var MapPrototype = Map.prototype; + + module.exports = { + // eslint-disable-next-line es/no-map -- safe + Map: Map, + set: uncurryThis(MapPrototype.set), + get: uncurryThis(MapPrototype.get), + has: uncurryThis(MapPrototype.has), + remove: uncurryThis(MapPrototype['delete']), + proto: MapPrototype + }; + + + /***/ }), /* 133 */ - /***/ (function (module, exports, __webpack_require__) { - - var toInteger = __webpack_require__(37); - var toLength = __webpack_require__(36); - - // `ToIndex` abstract operation - // https://tc39.github.io/ecma262/#sec-toindex - module.exports = function (it) { - if (it === undefined) return 0; - var number = toInteger(it); - var length = toLength(number); - if (number !== length) throw RangeError('Wrong length or index'); - return length; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + var aCallable = __webpack_require__(29); + var requireObjectCoercible = __webpack_require__(15); + var toPropertyKey = __webpack_require__(17); + var iterate = __webpack_require__(91); + + var create = getBuiltIn('Object', 'create'); + var push = uncurryThis([].push); + + // `Object.groupBy` method + // https://github.com/tc39/proposal-array-grouping + $({ target: 'Object', stat: true }, { + groupBy: function groupBy(items, callbackfn) { + requireObjectCoercible(items); + aCallable(callbackfn); + var obj = create(null); + var k = 0; + iterate(items, function (value) { + var key = toPropertyKey(callbackfn(value, k++)); + // in some IE versions, `hasOwnProperty` returns incorrect result on integer keys + // but since it's a `null` prototype object, we can safely use `in` + if (key in obj) push(obj[key], value); + else obj[key] = [value]; + }); + return obj; + } + }); + + + /***/ }), /* 134 */ - /***/ (function (module, exports, __webpack_require__) { - - var ArrayBufferViewCore = __webpack_require__(130); - var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; - - // `ArrayBuffer.isView` method - // https://tc39.github.io/ecma262/#sec-arraybuffer.isview - __webpack_require__(7)({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { - isView: ArrayBufferViewCore.isView - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var hasOwn = __webpack_require__(37); + + // `Object.hasOwn` method + // https://tc39.es/ecma262/#sec-object.hasown + $({ target: 'Object', stat: true }, { + hasOwn: hasOwn + }); + + + /***/ }), /* 135 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ArrayBufferModule = __webpack_require__(129); - var anObject = __webpack_require__(21); - var toAbsoluteIndex = __webpack_require__(38); - var toLength = __webpack_require__(36); - var speciesConstructor = __webpack_require__(136); - var ArrayBuffer = ArrayBufferModule.ArrayBuffer; - var DataView = ArrayBufferModule.DataView; - var nativeArrayBufferSlice = ArrayBuffer.prototype.slice; - - var INCORRECT_SLICE = __webpack_require__(5)(function () { - return !new ArrayBuffer(2).slice(1, undefined).byteLength; - }); - - // `ArrayBuffer.prototype.slice` method - // https://tc39.github.io/ecma262/#sec-arraybuffer.prototype.slice - __webpack_require__(7)({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, { - slice: function slice(start, end) { - if (nativeArrayBufferSlice !== undefined && end === undefined) { - return nativeArrayBufferSlice.call(anObject(this), start); // FF fix - } - var length = anObject(this).byteLength; - var first = toAbsoluteIndex(start, length); - var fin = toAbsoluteIndex(end === undefined ? length : end, length); - var result = new (speciesConstructor(this, ArrayBuffer))(toLength(fin - first)); - var viewSource = new DataView(this); - var viewTarget = new DataView(result); - var index = 0; - while (first < fin) { - viewTarget.setUint8(index++, viewSource.getUint8(first++)); - } return result; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var defineBuiltInAccessor = __webpack_require__(118); + var isObject = __webpack_require__(19); + var isPossiblePrototype = __webpack_require__(72); + var toObject = __webpack_require__(38); + var requireObjectCoercible = __webpack_require__(15); + + // eslint-disable-next-line es/no-object-getprototypeof -- safe + var getPrototypeOf = Object.getPrototypeOf; + // eslint-disable-next-line es/no-object-setprototypeof -- safe + var setPrototypeOf = Object.setPrototypeOf; + var ObjectPrototype = Object.prototype; + var PROTO = '__proto__'; + + // `Object.prototype.__proto__` accessor + // https://tc39.es/ecma262/#sec-object.prototype.__proto__ + if (DESCRIPTORS && getPrototypeOf && setPrototypeOf && !(PROTO in ObjectPrototype)) try { + defineBuiltInAccessor(ObjectPrototype, PROTO, { + configurable: true, + get: function __proto__() { + return getPrototypeOf(toObject(this)); + }, + set: function __proto__(proto) { + var O = requireObjectCoercible(this); + if (isPossiblePrototype(proto) && isObject(O)) { + setPrototypeOf(O, proto); + } + } + }); + } catch (error) { /* empty */ } + + + /***/ }), /* 136 */ - /***/ (function (module, exports, __webpack_require__) { - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var SPECIES = __webpack_require__(43)('species'); - - // `SpeciesConstructor` abstract operation - // https://tc39.github.io/ecma262/#sec-speciesconstructor - module.exports = function (O, defaultConstructor) { - var C = anObject(O).constructor; - var S; - return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? defaultConstructor : aFunction(S); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove this module from `core-js@4` since it's split to modules listed below + __webpack_require__(137); + __webpack_require__(158); + __webpack_require__(161); + __webpack_require__(162); + __webpack_require__(163); + __webpack_require__(164); + + + /***/ }), /* 137 */ - /***/ (function (module, exports, __webpack_require__) { - - var NATIVE_ARRAY_BUFFER = __webpack_require__(130).NATIVE_ARRAY_BUFFER; - - // `DataView` constructor - // https://tc39.github.io/ecma262/#sec-dataview-constructor - __webpack_require__(7)({ global: true, forced: !NATIVE_ARRAY_BUFFER }, { - DataView: __webpack_require__(129).DataView - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var IS_PURE = __webpack_require__(35); + var IS_NODE = __webpack_require__(126); + var global = __webpack_require__(3); + var call = __webpack_require__(7); + var defineBuiltIn = __webpack_require__(46); + var setPrototypeOf = __webpack_require__(69); + var setToStringTag = __webpack_require__(138); + var setSpecies = __webpack_require__(139); + var aCallable = __webpack_require__(29); + var isCallable = __webpack_require__(20); + var isObject = __webpack_require__(19); + var anInstance = __webpack_require__(140); + var speciesConstructor = __webpack_require__(141); + var task = __webpack_require__(144).set; + var microtask = __webpack_require__(148); + var hostReportErrors = __webpack_require__(153); + var perform = __webpack_require__(154); + var Queue = __webpack_require__(150); + var InternalStateModule = __webpack_require__(50); + var NativePromiseConstructor = __webpack_require__(155); + var PromiseConstructorDetection = __webpack_require__(156); + var newPromiseCapabilityModule = __webpack_require__(157); + + var PROMISE = 'Promise'; + var FORCED_PROMISE_CONSTRUCTOR = PromiseConstructorDetection.CONSTRUCTOR; + var NATIVE_PROMISE_REJECTION_EVENT = PromiseConstructorDetection.REJECTION_EVENT; + var NATIVE_PROMISE_SUBCLASSING = PromiseConstructorDetection.SUBCLASSING; + var getInternalPromiseState = InternalStateModule.getterFor(PROMISE); + var setInternalState = InternalStateModule.set; + var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + var PromiseConstructor = NativePromiseConstructor; + var PromisePrototype = NativePromisePrototype; + var TypeError = global.TypeError; + var document = global.document; + var process = global.process; + var newPromiseCapability = newPromiseCapabilityModule.f; + var newGenericPromiseCapability = newPromiseCapability; + + var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent); + var UNHANDLED_REJECTION = 'unhandledrejection'; + var REJECTION_HANDLED = 'rejectionhandled'; + var PENDING = 0; + var FULFILLED = 1; + var REJECTED = 2; + var HANDLED = 1; + var UNHANDLED = 2; + + var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen; + + // helpers + var isThenable = function (it) { + var then; + return isObject(it) && isCallable(then = it.then) ? then : false; + }; + + var callReaction = function (reaction, state) { + var value = state.value; + var ok = state.state === FULFILLED; + var handler = ok ? reaction.ok : reaction.fail; + var resolve = reaction.resolve; + var reject = reaction.reject; + var domain = reaction.domain; + var result, then, exited; + try { + if (handler) { + if (!ok) { + if (state.rejection === UNHANDLED) onHandleUnhandled(state); + state.rejection = HANDLED; + } + if (handler === true) result = value; + else { + if (domain) domain.enter(); + result = handler(value); // can throw + if (domain) { + domain.exit(); + exited = true; + } + } + if (result === reaction.promise) { + reject(new TypeError('Promise-chain cycle')); + } else if (then = isThenable(result)) { + call(then, result, resolve, reject); + } else resolve(result); + } else reject(value); + } catch (error) { + if (domain && !exited) domain.exit(); + reject(error); + } + }; + + var notify = function (state, isReject) { + if (state.notified) return; + state.notified = true; + microtask(function () { + var reactions = state.reactions; + var reaction; + while (reaction = reactions.get()) { + callReaction(reaction, state); + } + state.notified = false; + if (isReject && !state.rejection) onUnhandled(state); + }); + }; + + var dispatchEvent = function (name, promise, reason) { + var event, handler; + if (DISPATCH_EVENT) { + event = document.createEvent('Event'); + event.promise = promise; + event.reason = reason; + event.initEvent(name, false, true); + global.dispatchEvent(event); + } else event = { promise: promise, reason: reason }; + if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global['on' + name])) handler(event); + else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason); + }; + + var onUnhandled = function (state) { + call(task, global, function () { + var promise = state.facade; + var value = state.value; + var IS_UNHANDLED = isUnhandled(state); + var result; + if (IS_UNHANDLED) { + result = perform(function () { + if (IS_NODE) { + process.emit('unhandledRejection', value, promise); + } else dispatchEvent(UNHANDLED_REJECTION, promise, value); + }); + // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should + state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED; + if (result.error) throw result.value; + } + }); + }; + + var isUnhandled = function (state) { + return state.rejection !== HANDLED && !state.parent; + }; + + var onHandleUnhandled = function (state) { + call(task, global, function () { + var promise = state.facade; + if (IS_NODE) { + process.emit('rejectionHandled', promise); + } else dispatchEvent(REJECTION_HANDLED, promise, state.value); + }); + }; + + var bind = function (fn, state, unwrap) { + return function (value) { + fn(state, value, unwrap); + }; + }; + + var internalReject = function (state, value, unwrap) { + if (state.done) return; + state.done = true; + if (unwrap) state = unwrap; + state.value = value; + state.state = REJECTED; + notify(state, true); + }; + + var internalResolve = function (state, value, unwrap) { + if (state.done) return; + state.done = true; + if (unwrap) state = unwrap; + try { + if (state.facade === value) throw new TypeError("Promise can't be resolved itself"); + var then = isThenable(value); + if (then) { + microtask(function () { + var wrapper = { done: false }; + try { + call(then, value, + bind(internalResolve, wrapper, state), + bind(internalReject, wrapper, state) + ); + } catch (error) { + internalReject(wrapper, error, state); + } + }); + } else { + state.value = value; + state.state = FULFILLED; + notify(state, false); + } + } catch (error) { + internalReject({ done: false }, error, state); + } + }; + + // constructor polyfill + if (FORCED_PROMISE_CONSTRUCTOR) { + // 25.4.3.1 Promise(executor) + PromiseConstructor = function Promise(executor) { + anInstance(this, PromisePrototype); + aCallable(executor); + call(Internal, this); + var state = getInternalPromiseState(this); + try { + executor(bind(internalResolve, state), bind(internalReject, state)); + } catch (error) { + internalReject(state, error); + } + }; + + PromisePrototype = PromiseConstructor.prototype; + + // eslint-disable-next-line no-unused-vars -- required for `.length` + Internal = function Promise(executor) { + setInternalState(this, { + type: PROMISE, + done: false, + notified: false, + parent: false, + reactions: new Queue(), + rejection: false, + state: PENDING, + value: undefined + }); + }; + + // `Promise.prototype.then` method + // https://tc39.es/ecma262/#sec-promise.prototype.then + Internal.prototype = defineBuiltIn(PromisePrototype, 'then', function then(onFulfilled, onRejected) { + var state = getInternalPromiseState(this); + var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor)); + state.parent = true; + reaction.ok = isCallable(onFulfilled) ? onFulfilled : true; + reaction.fail = isCallable(onRejected) && onRejected; + reaction.domain = IS_NODE ? process.domain : undefined; + if (state.state === PENDING) state.reactions.add(reaction); + else microtask(function () { + callReaction(reaction, state); + }); + return reaction.promise; + }); + + OwnPromiseCapability = function () { + var promise = new Internal(); + var state = getInternalPromiseState(promise); + this.promise = promise; + this.resolve = bind(internalResolve, state); + this.reject = bind(internalReject, state); + }; + + newPromiseCapabilityModule.f = newPromiseCapability = function (C) { + return C === PromiseConstructor || C === PromiseWrapper + ? new OwnPromiseCapability(C) + : newGenericPromiseCapability(C); + }; + + if (!IS_PURE && isCallable(NativePromiseConstructor) && NativePromisePrototype !== Object.prototype) { + nativeThen = NativePromisePrototype.then; + + if (!NATIVE_PROMISE_SUBCLASSING) { + // make `Promise#then` return a polyfilled `Promise` for native promise-based APIs + defineBuiltIn(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) { + var that = this; + return new PromiseConstructor(function (resolve, reject) { + call(nativeThen, that, resolve, reject); + }).then(onFulfilled, onRejected); + // https://github.com/zloirock/core-js/issues/640 + }, { unsafe: true }); + } + + // make `.constructor === Promise` work for native promise-based APIs + try { + delete NativePromisePrototype.constructor; + } catch (error) { /* empty */ } + + // make `instanceof Promise` work for native promise-based APIs + if (setPrototypeOf) { + setPrototypeOf(NativePromisePrototype, PromisePrototype); + } + } + } + + $({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { + Promise: PromiseConstructor + }); + + setToStringTag(PromiseConstructor, PROMISE, false, true); + setSpecies(PROMISE); + + + /***/ }), /* 138 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Date.now` method - // https://tc39.github.io/ecma262/#sec-date.now - __webpack_require__(7)({ target: 'Date', stat: true }, { - now: function now() { - return new Date().getTime(); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineProperty = __webpack_require__(43).f; + var hasOwn = __webpack_require__(37); + var wellKnownSymbol = __webpack_require__(32); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + + module.exports = function (target, TAG, STATIC) { + if (target && !STATIC) target = target.prototype; + if (target && !hasOwn(target, TO_STRING_TAG)) { + defineProperty(target, TO_STRING_TAG, { configurable: true, value: TAG }); + } + }; + + + /***/ }), /* 139 */ - /***/ (function (module, exports, __webpack_require__) { - - var toISOString = __webpack_require__(140); - - // `Date.prototype.toISOString` method - // https://tc39.github.io/ecma262/#sec-date.prototype.toisostring - // PhantomJS / old WebKit has a broken implementations - __webpack_require__(7)({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISOString }, { - toISOString: toISOString - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + var defineBuiltInAccessor = __webpack_require__(118); + var wellKnownSymbol = __webpack_require__(32); + var DESCRIPTORS = __webpack_require__(5); + + var SPECIES = wellKnownSymbol('species'); + + module.exports = function (CONSTRUCTOR_NAME) { + var Constructor = getBuiltIn(CONSTRUCTOR_NAME); + + if (DESCRIPTORS && Constructor && !Constructor[SPECIES]) { + defineBuiltInAccessor(Constructor, SPECIES, { + configurable: true, + get: function () { return this; } + }); + } + }; + + + /***/ }), /* 140 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var fails = __webpack_require__(5); - var prototype = Date.prototype; - var getTime = prototype.getTime; - var nativeDateToISOString = prototype.toISOString; - - var leadingZero = function (number) { - return number > 9 ? number : '0' + number; - }; - - // `Date.prototype.toISOString` method implementation - // https://tc39.github.io/ecma262/#sec-date.prototype.toisostring - // PhantomJS / old WebKit fails here: - module.exports = (fails(function () { - return nativeDateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; - }) || !fails(function () { - nativeDateToISOString.call(new Date(NaN)); - })) ? function toISOString() { - if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value'); - var date = this; - var year = date.getUTCFullYear(); - var milliseconds = date.getUTCMilliseconds(); - var sign = year < 0 ? '-' : year > 9999 ? '+' : ''; - return sign + ('00000' + Math.abs(year)).slice(sign ? -6 : -4) + - '-' + leadingZero(date.getUTCMonth() + 1) + - '-' + leadingZero(date.getUTCDate()) + - 'T' + leadingZero(date.getUTCHours()) + - ':' + leadingZero(date.getUTCMinutes()) + - ':' + leadingZero(date.getUTCSeconds()) + - '.' + (milliseconds > 99 ? milliseconds : '0' + leadingZero(milliseconds)) + - 'Z'; - } : nativeDateToISOString; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isPrototypeOf = __webpack_require__(23); + + var $TypeError = TypeError; + + module.exports = function (it, Prototype) { + if (isPrototypeOf(Prototype, it)) return it; + throw new $TypeError('Incorrect invocation'); + }; + + + /***/ }), /* 141 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toObject = __webpack_require__(69); - var toPrimitive = __webpack_require__(15); - - var FORCED = __webpack_require__(5)(function () { - return new Date(NaN).toJSON() !== null - || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; - }); - - // `Date.prototype.toJSON` method - // https://tc39.github.io/ecma262/#sec-date.prototype.tojson - __webpack_require__(7)({ target: 'Date', proto: true, forced: FORCED }, { - // eslint-disable-next-line no-unused-vars - toJSON: function toJSON(key) { - var O = toObject(this); - var pv = toPrimitive(O); - return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString(); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var anObject = __webpack_require__(45); + var aConstructor = __webpack_require__(142); + var isNullOrUndefined = __webpack_require__(16); + var wellKnownSymbol = __webpack_require__(32); + + var SPECIES = wellKnownSymbol('species'); + + // `SpeciesConstructor` abstract operation + // https://tc39.es/ecma262/#sec-speciesconstructor + module.exports = function (O, defaultConstructor) { + var C = anObject(O).constructor; + var S; + return C === undefined || isNullOrUndefined(S = anObject(C)[SPECIES]) ? defaultConstructor : aConstructor(S); + }; + + + /***/ }), /* 142 */ - /***/ (function (module, exports, __webpack_require__) { - - var hide = __webpack_require__(19); - var TO_PRIMITIVE = __webpack_require__(43)('toPrimitive'); - var dateToPrimitive = __webpack_require__(143); - var DatePrototype = Date.prototype; - - // `Date.prototype[@@toPrimitive]` method - // https://tc39.github.io/ecma262/#sec-date.prototype-@@toprimitive - if (!(TO_PRIMITIVE in DatePrototype)) hide(DatePrototype, TO_PRIMITIVE, dateToPrimitive); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isConstructor = __webpack_require__(143); + var tryToString = __webpack_require__(30); + + var $TypeError = TypeError; + + // `Assert: IsConstructor(argument) is true` + module.exports = function (argument) { + if (isConstructor(argument)) return argument; + throw new $TypeError(tryToString(argument) + ' is not a constructor'); + }; + + + /***/ }), /* 143 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var toPrimitive = __webpack_require__(15); - - module.exports = function (hint) { - if (hint !== 'string' && hint !== 'number' && hint !== 'default') { - throw TypeError('Incorrect hint'); - } return toPrimitive(anObject(this), hint !== 'number'); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var fails = __webpack_require__(6); + var isCallable = __webpack_require__(20); + var classof = __webpack_require__(77); + var getBuiltIn = __webpack_require__(22); + var inspectSource = __webpack_require__(49); + + var noop = function () { /* empty */ }; + var construct = getBuiltIn('Reflect', 'construct'); + var constructorRegExp = /^\s*(?:class|function)\b/; + var exec = uncurryThis(constructorRegExp.exec); + var INCORRECT_TO_STRING = !constructorRegExp.test(noop); + + var isConstructorModern = function isConstructor(argument) { + if (!isCallable(argument)) return false; + try { + construct(noop, [], argument); + return true; + } catch (error) { + return false; + } + }; + + var isConstructorLegacy = function isConstructor(argument) { + if (!isCallable(argument)) return false; + switch (classof(argument)) { + case 'AsyncFunction': + case 'GeneratorFunction': + case 'AsyncGeneratorFunction': return false; + } + try { + // we can't check .prototype since constructors produced by .bind haven't it + // `Function#toString` throws on some built-it function in some legacy engines + // (for example, `DOMQuad` and similar in FF41-) + return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument)); + } catch (error) { + return true; + } + }; + + isConstructorLegacy.sham = true; + + // `IsConstructor` abstract operation + // https://tc39.es/ecma262/#sec-isconstructor + module.exports = !construct || fails(function () { + var called; + return isConstructorModern(isConstructorModern.call) + || !isConstructorModern(Object) + || !isConstructorModern(function () { called = true; }) + || called; + }) ? isConstructorLegacy : isConstructorModern; + + + /***/ }), /* 144 */ - /***/ (function (module, exports, __webpack_require__) { - - var DatePrototype = Date.prototype; - var INVALID_DATE = 'Invalid Date'; - var TO_STRING = 'toString'; - var nativeDateToString = DatePrototype[TO_STRING]; - var getTime = DatePrototype.getTime; - - // `Date.prototype.toString` method - // https://tc39.github.io/ecma262/#sec-date.prototype.tostring - if (new Date(NaN) + '' != INVALID_DATE) { - __webpack_require__(22)(DatePrototype, TO_STRING, function toString() { - var value = getTime.call(this); - // eslint-disable-next-line no-self-compare - return value === value ? nativeDateToString.call(this) : INVALID_DATE; - }); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var apply = __webpack_require__(67); + var bind = __webpack_require__(92); + var isCallable = __webpack_require__(20); + var hasOwn = __webpack_require__(37); + var fails = __webpack_require__(6); + var html = __webpack_require__(90); + var arraySlice = __webpack_require__(145); + var createElement = __webpack_require__(41); + var validateArgumentsLength = __webpack_require__(146); + var IS_IOS = __webpack_require__(147); + var IS_NODE = __webpack_require__(126); + + var set = global.setImmediate; + var clear = global.clearImmediate; + var process = global.process; + var Dispatch = global.Dispatch; + var Function = global.Function; + var MessageChannel = global.MessageChannel; + var String = global.String; + var counter = 0; + var queue = {}; + var ONREADYSTATECHANGE = 'onreadystatechange'; + var $location, defer, channel, port; + + fails(function () { + // Deno throws a ReferenceError on `location` access without `--location` flag + $location = global.location; + }); + + var run = function (id) { + if (hasOwn(queue, id)) { + var fn = queue[id]; + delete queue[id]; + fn(); + } + }; + + var runner = function (id) { + return function () { + run(id); + }; + }; + + var eventListener = function (event) { + run(event.data); + }; + + var globalPostMessageDefer = function (id) { + // old engines have not location.origin + global.postMessage(String(id), $location.protocol + '//' + $location.host); + }; + + // Node.js 0.9+ & IE10+ has setImmediate, otherwise: + if (!set || !clear) { + set = function setImmediate(handler) { + validateArgumentsLength(arguments.length, 1); + var fn = isCallable(handler) ? handler : Function(handler); + var args = arraySlice(arguments, 1); + queue[++counter] = function () { + apply(fn, undefined, args); + }; + defer(counter); + return counter; + }; + clear = function clearImmediate(id) { + delete queue[id]; + }; + // Node.js 0.8- + if (IS_NODE) { + defer = function (id) { + process.nextTick(runner(id)); + }; + // Sphere (JS game engine) Dispatch API + } else if (Dispatch && Dispatch.now) { + defer = function (id) { + Dispatch.now(runner(id)); + }; + // Browsers with MessageChannel, includes WebWorkers + // except iOS - https://github.com/zloirock/core-js/issues/624 + } else if (MessageChannel && !IS_IOS) { + channel = new MessageChannel(); + port = channel.port2; + channel.port1.onmessage = eventListener; + defer = bind(port.postMessage, port); + // Browsers with postMessage, skip WebWorkers + // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' + } else if ( + global.addEventListener && + isCallable(global.postMessage) && + !global.importScripts && + $location && $location.protocol !== 'file:' && + !fails(globalPostMessageDefer) + ) { + defer = globalPostMessageDefer; + global.addEventListener('message', eventListener, false); + // IE8- + } else if (ONREADYSTATECHANGE in createElement('script')) { + defer = function (id) { + html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () { + html.removeChild(this); + run(id); + }; + }; + // Rest old browsers + } else { + defer = function (id) { + setTimeout(runner(id), 0); + }; + } + } + + module.exports = { + set: set, + clear: clear + }; + + + /***/ }), /* 145 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Function.prototype.bind` method - // https://tc39.github.io/ecma262/#sec-function.prototype.bind - __webpack_require__(7)({ target: 'Function', proto: true }, { - bind: __webpack_require__(146) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + module.exports = uncurryThis([].slice); + + + /***/ }), /* 146 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var aFunction = __webpack_require__(79); - var isObject = __webpack_require__(16); - var arraySlice = [].slice; - var factories = {}; - - var construct = function (C, argsLength, args) { - if (!(argsLength in factories)) { - for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']'; - // eslint-disable-next-line no-new-func - factories[argsLength] = Function('C,a', 'return new C(' + list.join(',') + ')'); - } return factories[argsLength](C, args); - }; - - // `Function.prototype.bind` method implementation - // https://tc39.github.io/ecma262/#sec-function.prototype.bind - module.exports = Function.bind || function bind(that /* , ...args */) { - var fn = aFunction(this); - var partArgs = arraySlice.call(arguments, 1); - var boundFunction = function bound(/* args... */) { - var args = partArgs.concat(arraySlice.call(arguments)); - return this instanceof boundFunction ? construct(fn, args.length, args) : fn.apply(that, args); - }; - if (isObject(fn.prototype)) boundFunction.prototype = fn.prototype; - return boundFunction; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $TypeError = TypeError; + + module.exports = function (passed, required) { + if (passed < required) throw new $TypeError('Not enough arguments'); + return passed; + }; + + + /***/ }), /* 147 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var isObject = __webpack_require__(16); - var definePropertyModule = __webpack_require__(20); - var getPrototypeOf = __webpack_require__(106); - var HAS_INSTANCE = __webpack_require__(43)('hasInstance'); - var FunctionPrototype = Function.prototype; - - // `Function.prototype[@@hasInstance]` method - // https://tc39.github.io/ecma262/#sec-function.prototype-@@hasinstance - if (!(HAS_INSTANCE in FunctionPrototype)) { - definePropertyModule.f(FunctionPrototype, HAS_INSTANCE, { - value: function (O) { - if (typeof this != 'function' || !isObject(O)) return false; - if (!isObject(this.prototype)) return O instanceof this; - // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: - while (O = getPrototypeOf(O)) if (this.prototype === O) return true; - return false; - } - }); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var userAgent = __webpack_require__(27); + + // eslint-disable-next-line redos/no-vulnerable -- safe + module.exports = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent); + + + /***/ }), /* 148 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - var defineProperty = __webpack_require__(20).f; - var FunctionPrototype = Function.prototype; - var FunctionPrototypeToString = FunctionPrototype.toString; - var nameRE = /^\s*function ([^ (]*)/; - var NAME = 'name'; - - // Function instances `.name` property - // https://tc39.github.io/ecma262/#sec-function-instances-name - if (DESCRIPTORS && !(NAME in FunctionPrototype)) { - defineProperty(FunctionPrototype, NAME, { - configurable: true, - get: function () { - try { - return FunctionPrototypeToString.call(this).match(nameRE)[1]; - } catch (e) { - return ''; - } - } - }); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var safeGetBuiltIn = __webpack_require__(149); + var bind = __webpack_require__(92); + var macrotask = __webpack_require__(144).set; + var Queue = __webpack_require__(150); + var IS_IOS = __webpack_require__(147); + var IS_IOS_PEBBLE = __webpack_require__(151); + var IS_WEBOS_WEBKIT = __webpack_require__(152); + var IS_NODE = __webpack_require__(126); + + var MutationObserver = global.MutationObserver || global.WebKitMutationObserver; + var document = global.document; + var process = global.process; + var Promise = global.Promise; + var microtask = safeGetBuiltIn('queueMicrotask'); + var notify, toggle, node, promise, then; + + // modern engines have queueMicrotask method + if (!microtask) { + var queue = new Queue(); + + var flush = function () { + var parent, fn; + if (IS_NODE && (parent = process.domain)) parent.exit(); + while (fn = queue.get()) try { + fn(); + } catch (error) { + if (queue.head) notify(); + throw error; + } + if (parent) parent.enter(); + }; + + // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339 + // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898 + if (!IS_IOS && !IS_NODE && !IS_WEBOS_WEBKIT && MutationObserver && document) { + toggle = true; + node = document.createTextNode(''); + new MutationObserver(flush).observe(node, { characterData: true }); + notify = function () { + node.data = toggle = !toggle; + }; + // environments with maybe non-completely correct, but existent Promise + } else if (!IS_IOS_PEBBLE && Promise && Promise.resolve) { + // Promise.resolve without an argument throws an error in LG WebOS 2 + promise = Promise.resolve(undefined); + // workaround of WebKit ~ iOS Safari 10.1 bug + promise.constructor = Promise; + then = bind(promise.then, promise); + notify = function () { + then(flush); + }; + // Node.js without promises + } else if (IS_NODE) { + notify = function () { + process.nextTick(flush); + }; + // for other environments - macrotask based on: + // - setImmediate + // - MessageChannel + // - window.postMessage + // - onreadystatechange + // - setTimeout + } else { + // `webpack` dev server bug on IE global methods - use bind(fn, global) + macrotask = bind(macrotask, global); + notify = function () { + macrotask(flush); + }; + } + + microtask = function (fn) { + if (!queue.head) notify(); + queue.add(fn); + }; + } + + module.exports = microtask; + + + /***/ }), /* 149 */ - /***/ (function (module, exports, __webpack_require__) { - - // JSON[@@toStringTag] property - // https://tc39.github.io/ecma262/#sec-json-@@tostringtag - __webpack_require__(42)(__webpack_require__(2).JSON, 'JSON', true); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var DESCRIPTORS = __webpack_require__(5); + + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + + // Avoid NodeJS experimental warning + module.exports = function (name) { + if (!DESCRIPTORS) return global[name]; + var descriptor = getOwnPropertyDescriptor(global, name); + return descriptor && descriptor.value; + }; + + + /***/ }), /* 150 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // `Map` constructor - // https://tc39.github.io/ecma262/#sec-map-objects - module.exports = __webpack_require__(151)('Map', function (get) { - return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; - }, __webpack_require__(156), true); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var Queue = function () { + this.head = null; + this.tail = null; + }; + + Queue.prototype = { + add: function (item) { + var entry = { item: item, next: null }; + var tail = this.tail; + if (tail) tail.next = entry; + else this.head = entry; + this.tail = entry; + }, + get: function () { + var entry = this.head; + if (entry) { + var next = this.head = entry.next; + if (next === null) this.tail = null; + return entry.item; + } + } + }; + + module.exports = Queue; + + + /***/ }), /* 151 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var global = __webpack_require__(2); - var isForced = __webpack_require__(41); - var $export = __webpack_require__(7); - var redefine = __webpack_require__(22); - var InternalMetadataModule = __webpack_require__(152); - var iterate = __webpack_require__(154); - var anInstance = __webpack_require__(132); - var isObject = __webpack_require__(16); - var fails = __webpack_require__(5); - var checkCorrectnessOfIteration = __webpack_require__(92); - var setToStringTag = __webpack_require__(42); - var inheritIfRequired = __webpack_require__(155); - - module.exports = function (CONSTRUCTOR_NAME, wrapper, common, IS_MAP, IS_WEAK) { - var NativeConstructor = global[CONSTRUCTOR_NAME]; - var NativePrototype = NativeConstructor && NativeConstructor.prototype; - var Constructor = NativeConstructor; - var ADDER = IS_MAP ? 'set' : 'add'; - var exported = {}; - - var fixMethod = function (KEY) { - var nativeMethod = NativePrototype[KEY]; - redefine(NativePrototype, KEY, - KEY == 'add' ? function add(a) { - nativeMethod.call(this, a === 0 ? 0 : a); - return this; - } : KEY == 'delete' ? function (a) { - return IS_WEAK && !isObject(a) ? false : nativeMethod.call(this, a === 0 ? 0 : a); - } : KEY == 'get' ? function get(a) { - return IS_WEAK && !isObject(a) ? undefined : nativeMethod.call(this, a === 0 ? 0 : a); - } : KEY == 'has' ? function has(a) { - return IS_WEAK && !isObject(a) ? false : nativeMethod.call(this, a === 0 ? 0 : a); - } : function set(a, b) { - nativeMethod.call(this, a === 0 ? 0 : a, b); - return this; - } - ); - }; - - // eslint-disable-next-line max-len - if (isForced(CONSTRUCTOR_NAME, typeof NativeConstructor != 'function' || !(IS_WEAK || NativePrototype.forEach && !fails(function () { - new NativeConstructor().entries().next(); - })))) { - // create collection constructor - Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); - InternalMetadataModule.REQUIRED = true; - } else if (isForced(CONSTRUCTOR_NAME, true)) { - var instance = new Constructor(); - // early implementations not supports chaining - var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance; - // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false - var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); - // most early implementations doesn't supports iterables, most modern - not close it correctly - // eslint-disable-next-line no-new - var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); }); - // for early implementations -0 and +0 not the same - var BUGGY_ZERO = !IS_WEAK && fails(function () { - // V8 ~ Chromium 42- fails only with 5+ elements - var $instance = new NativeConstructor(); - var index = 5; - while (index--) $instance[ADDER](index, index); - return !$instance.has(-0); - }); - - if (!ACCEPT_ITERABLES) { - Constructor = wrapper(function (target, iterable) { - anInstance(target, Constructor, CONSTRUCTOR_NAME); - var that = inheritIfRequired(new NativeConstructor(), target, Constructor); - if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP); - return that; - }); - Constructor.prototype = NativePrototype; - NativePrototype.constructor = Constructor; - } - - if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { - fixMethod('delete'); - fixMethod('has'); - IS_MAP && fixMethod('get'); - } - - if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); - - // weak collections should not contains .clear method - if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear; - } - - exported[CONSTRUCTOR_NAME] = Constructor; - $export({ global: true, forced: Constructor != NativeConstructor }, exported); - - setToStringTag(Constructor, CONSTRUCTOR_NAME); - - if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); - - return Constructor; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var userAgent = __webpack_require__(27); + + module.exports = /ipad|iphone|ipod/i.test(userAgent) && typeof Pebble != 'undefined'; + + + /***/ }), /* 152 */ - /***/ (function (module, exports, __webpack_require__) { - - var METADATA = __webpack_require__(29)('meta'); - var FREEZING = __webpack_require__(153); - var isObject = __webpack_require__(16); - var has = __webpack_require__(3); - var defineProperty = __webpack_require__(20).f; - var id = 0; - - var isExtensible = Object.isExtensible || function () { - return true; - }; - - var setMetadata = function (it) { - defineProperty(it, METADATA, { - value: { - objectID: 'O' + ++id, // object ID - weakData: {} // weak collections IDs - } - }); - }; - - var fastKey = function (it, create) { - // return a primitive with prefix - if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; - if (!has(it, METADATA)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return 'F'; - // not necessary to add metadata - if (!create) return 'E'; - // add missing metadata - setMetadata(it); - // return object ID - } return it[METADATA].objectID; - }; - - var getWeakData = function (it, create) { - if (!has(it, METADATA)) { - // can't set metadata to uncaught frozen object - if (!isExtensible(it)) return true; - // not necessary to add metadata - if (!create) return false; - // add missing metadata - setMetadata(it); - // return the store of weak collections IDs - } return it[METADATA].weakData; - }; - - // add metadata on freeze-family methods calling - var onFreeze = function (it) { - if (FREEZING && meta.REQUIRED && isExtensible(it) && !has(it, METADATA)) setMetadata(it); - return it; - }; - - var meta = module.exports = { - REQUIRED: false, - fastKey: fastKey, - getWeakData: getWeakData, - onFreeze: onFreeze - }; - - __webpack_require__(30)[METADATA] = true; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var userAgent = __webpack_require__(27); + + module.exports = /web0s(?!.*chrome)/i.test(userAgent); + + + /***/ }), /* 153 */ - /***/ (function (module, exports, __webpack_require__) { - - module.exports = !__webpack_require__(5)(function () { - return Object.isExtensible(Object.preventExtensions({})); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = function (a, b) { + try { + // eslint-disable-next-line no-console -- safe + arguments.length === 1 ? console.error(a) : console.error(a, b); + } catch (error) { /* empty */ } + }; + + + /***/ }), /* 154 */ - /***/ (function (module, exports, __webpack_require__) { - - var anObject = __webpack_require__(21); - var isArrayIteratorMethod = __webpack_require__(95); - var toLength = __webpack_require__(36); - var bind = __webpack_require__(78); - var getIteratorMethod = __webpack_require__(97); - var callWithSafeIterationClosing = __webpack_require__(94); - var BREAK = {}; - - var exports = module.exports = function (iterable, fn, that, ENTRIES, ITERATOR) { - var boundFunction = bind(fn, that, ENTRIES ? 2 : 1); - var iterator, iterFn, index, length, result, step; - - if (ITERATOR) { - iterator = iterable; - } else { - iterFn = getIteratorMethod(iterable); - if (typeof iterFn != 'function') throw TypeError('Target is not iterable'); - // optimisation for array iterators - if (isArrayIteratorMethod(iterFn)) { - for (index = 0, length = toLength(iterable.length); length > index; index++) { - result = ENTRIES ? boundFunction(anObject(step = iterable[index])[0], step[1]) : boundFunction(iterable[index]); - if (result === BREAK) return BREAK; - } return; - } - iterator = iterFn.call(iterable); - } - - while (!(step = iterator.next()).done) { - if (callWithSafeIterationClosing(iterator, boundFunction, step.value, ENTRIES) === BREAK) return BREAK; - } - }; - - exports.BREAK = BREAK; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = function (exec) { + try { + return { error: false, value: exec() }; + } catch (error) { + return { error: true, value: error }; + } + }; + + + /***/ }), /* 155 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var setPrototypeOf = __webpack_require__(108); - - module.exports = function (that, target, C) { - var S = target.constructor; - var P; - if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) { - setPrototypeOf(that, P); - } return that; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + + module.exports = global.Promise; + + + /***/ }), /* 156 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var defineProperty = __webpack_require__(20).f; - var create = __webpack_require__(51); - var redefineAll = __webpack_require__(131); - var bind = __webpack_require__(78); - var anInstance = __webpack_require__(132); - var iterate = __webpack_require__(154); - var defineIterator = __webpack_require__(103); - var setSpecies = __webpack_require__(123); - var DESCRIPTORS = __webpack_require__(4); - var fastKey = __webpack_require__(152).fastKey; - var InternalStateModule = __webpack_require__(26); - var setInternalState = InternalStateModule.set; - var internalStateGetterFor = InternalStateModule.getterFor; - - module.exports = { - getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance(that, C, CONSTRUCTOR_NAME); - setInternalState(that, { - type: CONSTRUCTOR_NAME, - index: create(null), - first: undefined, - last: undefined, - size: 0 - }); - if (!DESCRIPTORS) that.size = 0; - if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP); - }); - - var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); - - var define = function (that, key, value) { - var state = getInternalState(that); - var entry = getEntry(that, key); - var previous, index; - // change existing entry - if (entry) { - entry.value = value; - // create new entry - } else { - state.last = entry = { - index: index = fastKey(key, true), - key: key, - value: value, - previous: previous = state.last, - next: undefined, - removed: false - }; - if (!state.first) state.first = entry; - if (previous) previous.next = entry; - if (DESCRIPTORS) state.size++; - else that.size++; - // add to index - if (index !== 'F') state.index[index] = entry; - } return that; - }; - - var getEntry = function (that, key) { - var state = getInternalState(that); - // fast case - var index = fastKey(key); - var entry; - if (index !== 'F') return state.index[index]; - // frozen object case - for (entry = state.first; entry; entry = entry.next) { - if (entry.key == key) return entry; - } - }; - - redefineAll(C.prototype, { - // 23.1.3.1 Map.prototype.clear() - // 23.2.3.2 Set.prototype.clear() - clear: function clear() { - var that = this; - var state = getInternalState(that); - var data = state.index; - var entry = state.first; - while (entry) { - entry.removed = true; - if (entry.previous) entry.previous = entry.previous.next = undefined; - delete data[entry.index]; - entry = entry.next; - } - state.first = state.last = undefined; - if (DESCRIPTORS) state.size = 0; - else that.size = 0; - }, - // 23.1.3.3 Map.prototype.delete(key) - // 23.2.3.4 Set.prototype.delete(value) - 'delete': function (key) { - var that = this; - var state = getInternalState(that); - var entry = getEntry(that, key); - if (entry) { - var next = entry.next; - var prev = entry.previous; - delete state.index[entry.index]; - entry.removed = true; - if (prev) prev.next = next; - if (next) next.previous = prev; - if (state.first == entry) state.first = next; - if (state.last == entry) state.last = prev; - if (DESCRIPTORS) state.size--; - else that.size--; - } return !!entry; - }, - // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined) - // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined) - forEach: function forEach(callbackfn /* , that = undefined */) { - var state = getInternalState(this); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var entry; - while (entry = entry ? entry.next : state.first) { - boundFunction(entry.value, entry.key, this); - // revert to the last existing entry - while (entry && entry.removed) entry = entry.previous; - } - }, - // 23.1.3.7 Map.prototype.has(key) - // 23.2.3.7 Set.prototype.has(value) - has: function has(key) { - return !!getEntry(this, key); - } - }); - - redefineAll(C.prototype, IS_MAP ? { - // 23.1.3.6 Map.prototype.get(key) - get: function get(key) { - var entry = getEntry(this, key); - return entry && entry.value; - }, - // 23.1.3.9 Map.prototype.set(key, value) - set: function set(key, value) { - return define(this, key === 0 ? 0 : key, value); - } - } : { - // 23.2.3.1 Set.prototype.add(value) - add: function add(value) { - return define(this, value = value === 0 ? 0 : value, value); - } - }); - if (DESCRIPTORS) defineProperty(C.prototype, 'size', { - get: function () { - return getInternalState(this).size; - } - }); - return C; - }, - setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) { - var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator'; - var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); - var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); - // add .keys, .values, .entries, [@@iterator] - // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11 - defineIterator(C, CONSTRUCTOR_NAME, function (iterated, kind) { - setInternalState(this, { - type: ITERATOR_NAME, - target: iterated, - state: getInternalCollectionState(iterated), - kind: kind, - last: undefined - }); - }, function () { - var state = getInternalIteratorState(this); - var kind = state.kind; - var entry = state.last; - // revert to the last existing entry - while (entry && entry.removed) entry = entry.previous; - // get next entry - if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) { - // or finish the iteration - state.target = undefined; - return { value: undefined, done: true }; - } - // return step by kind - if (kind == 'keys') return { value: entry.key, done: false }; - if (kind == 'values') return { value: entry.value, done: false }; - return { value: [entry.key, entry.value], done: false }; - }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); - - // add [@@species], 23.1.2.2, 23.2.2.2 - setSpecies(CONSTRUCTOR_NAME); - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var NativePromiseConstructor = __webpack_require__(155); + var isCallable = __webpack_require__(20); + var isForced = __webpack_require__(66); + var inspectSource = __webpack_require__(49); + var wellKnownSymbol = __webpack_require__(32); + var IS_BROWSER = __webpack_require__(128); + var IS_DENO = __webpack_require__(129); + var IS_PURE = __webpack_require__(35); + var V8_VERSION = __webpack_require__(26); + + var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + var SPECIES = wellKnownSymbol('species'); + var SUBCLASSING = false; + var NATIVE_PROMISE_REJECTION_EVENT = isCallable(global.PromiseRejectionEvent); + + var FORCED_PROMISE_CONSTRUCTOR = isForced('Promise', function () { + var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor); + var GLOBAL_CORE_JS_PROMISE = PROMISE_CONSTRUCTOR_SOURCE !== String(NativePromiseConstructor); + // V8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables + // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 + // We can't detect it synchronously, so just check versions + if (!GLOBAL_CORE_JS_PROMISE && V8_VERSION === 66) return true; + // We need Promise#{ catch, finally } in the pure version for preventing prototype pollution + if (IS_PURE && !(NativePromisePrototype['catch'] && NativePromisePrototype['finally'])) return true; + // We can't use @@species feature detection in V8 since it causes + // deoptimization and performance degradation + // https://github.com/zloirock/core-js/issues/679 + if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) { + // Detect correctness of subclassing with @@species support + var promise = new NativePromiseConstructor(function (resolve) { resolve(1); }); + var FakePromise = function (exec) { + exec(function () { /* empty */ }, function () { /* empty */ }); + }; + var constructor = promise.constructor = {}; + constructor[SPECIES] = FakePromise; + SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise; + if (!SUBCLASSING) return true; + // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test + } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT; + }); + + module.exports = { + CONSTRUCTOR: FORCED_PROMISE_CONSTRUCTOR, + REJECTION_EVENT: NATIVE_PROMISE_REJECTION_EVENT, + SUBCLASSING: SUBCLASSING + }; + + + /***/ }), /* 157 */ - /***/ (function (module, exports, __webpack_require__) { - - var log1p = __webpack_require__(158); - var nativeAcosh = Math.acosh; - var log = Math.log; - var sqrt = Math.sqrt; - var LN2 = Math.LN2; - - var FORCED = !nativeAcosh - // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509 - || Math.floor(nativeAcosh(Number.MAX_VALUE)) != 710 - // Tor Browser bug: Math.acosh(Infinity) -> NaN - || nativeAcosh(Infinity) != Infinity; - - // `Math.acosh` method - // https://tc39.github.io/ecma262/#sec-math.acosh - __webpack_require__(7)({ target: 'Math', stat: true, forced: FORCED }, { - acosh: function acosh(x) { - return (x = +x) < 1 ? NaN : x > 94906265.62425156 - ? log(x) + LN2 - : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1)); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aCallable = __webpack_require__(29); + + var $TypeError = TypeError; + + var PromiseCapability = function (C) { + var resolve, reject; + this.promise = new C(function ($$resolve, $$reject) { + if (resolve !== undefined || reject !== undefined) throw new $TypeError('Bad Promise constructor'); + resolve = $$resolve; + reject = $$reject; + }); + this.resolve = aCallable(resolve); + this.reject = aCallable(reject); + }; + + // `NewPromiseCapability` abstract operation + // https://tc39.es/ecma262/#sec-newpromisecapability + module.exports.f = function (C) { + return new PromiseCapability(C); + }; + + + /***/ }), /* 158 */ - /***/ (function (module, exports) { - - // `Math.log1p` method implementation - // https://tc39.github.io/ecma262/#sec-math.log1p - module.exports = Math.log1p || function log1p(x) { - return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var newPromiseCapabilityModule = __webpack_require__(157); + var perform = __webpack_require__(154); + var iterate = __webpack_require__(91); + var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(159); + + // `Promise.all` method + // https://tc39.es/ecma262/#sec-promise.all + $({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + all: function all(iterable) { + var C = this; + var capability = newPromiseCapabilityModule.f(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var $promiseResolve = aCallable(C.resolve); + var values = []; + var counter = 0; + var remaining = 1; + iterate(iterable, function (promise) { + var index = counter++; + var alreadyCalled = false; + remaining++; + call($promiseResolve, C, promise).then(function (value) { + if (alreadyCalled) return; + alreadyCalled = true; + values[index] = value; + --remaining || resolve(values); + }, reject); + }); + --remaining || resolve(values); + }); + if (result.error) reject(result.value); + return capability.promise; + } + }); + + + /***/ }), /* 159 */ - /***/ (function (module, exports, __webpack_require__) { - - var nativeAsinh = Math.asinh; - var log = Math.log; - var sqrt = Math.sqrt; - - function asinh(x) { - return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : log(x + sqrt(x * x + 1)); - } - - // `Math.asinh` method - // https://tc39.github.io/ecma262/#sec-math.asinh - // Tor Browser bug: Math.asinh(0) -> -0 - __webpack_require__(7)({ target: 'Math', stat: true, forced: !(nativeAsinh && 1 / nativeAsinh(0) > 0) }, { - asinh: asinh - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var NativePromiseConstructor = __webpack_require__(155); + var checkCorrectnessOfIteration = __webpack_require__(160); + var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(156).CONSTRUCTOR; + + module.exports = FORCED_PROMISE_CONSTRUCTOR || !checkCorrectnessOfIteration(function (iterable) { + NativePromiseConstructor.all(iterable).then(undefined, function () { /* empty */ }); + }); + + + /***/ }), /* 160 */ - /***/ (function (module, exports, __webpack_require__) { - - var nativeAtanh = Math.atanh; - var log = Math.log; - - // `Math.atanh` method - // https://tc39.github.io/ecma262/#sec-math.atanh - // Tor Browser bug: Math.atanh(-0) -> 0 - __webpack_require__(7)({ target: 'Math', stat: true, forced: !(nativeAtanh && 1 / nativeAtanh(-0) < 0) }, { - atanh: function atanh(x) { - return (x = +x) == 0 ? x : log((1 + x) / (1 - x)) / 2; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var wellKnownSymbol = __webpack_require__(32); + + var ITERATOR = wellKnownSymbol('iterator'); + var SAFE_CLOSING = false; + + try { + var called = 0; + var iteratorWithReturn = { + next: function () { + return { done: !!called++ }; + }, + 'return': function () { + SAFE_CLOSING = true; + } + }; + iteratorWithReturn[ITERATOR] = function () { + return this; + }; + // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing + Array.from(iteratorWithReturn, function () { throw 2; }); + } catch (error) { /* empty */ } + + module.exports = function (exec, SKIP_CLOSING) { + try { + if (!SKIP_CLOSING && !SAFE_CLOSING) return false; + } catch (error) { return false; } // workaround of old WebKit + `eval` bug + var ITERATION_SUPPORT = false; + try { + var object = {}; + object[ITERATOR] = function () { + return { + next: function () { + return { done: ITERATION_SUPPORT = true }; + } + }; + }; + exec(object); + } catch (error) { /* empty */ } + return ITERATION_SUPPORT; + }; + + + /***/ }), /* 161 */ - /***/ (function (module, exports, __webpack_require__) { - - var sign = __webpack_require__(162); - var abs = Math.abs; - var pow = Math.pow; - - // `Math.cbrt` method - // https://tc39.github.io/ecma262/#sec-math.cbrt - __webpack_require__(7)({ target: 'Math', stat: true }, { - cbrt: function cbrt(x) { - return sign(x = +x) * pow(abs(x), 1 / 3); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var IS_PURE = __webpack_require__(35); + var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(156).CONSTRUCTOR; + var NativePromiseConstructor = __webpack_require__(155); + var getBuiltIn = __webpack_require__(22); + var isCallable = __webpack_require__(20); + var defineBuiltIn = __webpack_require__(46); + + var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + + // `Promise.prototype.catch` method + // https://tc39.es/ecma262/#sec-promise.prototype.catch + $({ target: 'Promise', proto: true, forced: FORCED_PROMISE_CONSTRUCTOR, real: true }, { + 'catch': function (onRejected) { + return this.then(undefined, onRejected); + } + }); + + // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then` + if (!IS_PURE && isCallable(NativePromiseConstructor)) { + var method = getBuiltIn('Promise').prototype['catch']; + if (NativePromisePrototype['catch'] !== method) { + defineBuiltIn(NativePromisePrototype, 'catch', method, { unsafe: true }); + } + } + + + /***/ }), /* 162 */ - /***/ (function (module, exports) { - - // `Math.sign` method implementation - // https://tc39.github.io/ecma262/#sec-math.sign - module.exports = Math.sign || function sign(x) { - // eslint-disable-next-line no-self-compare - return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var newPromiseCapabilityModule = __webpack_require__(157); + var perform = __webpack_require__(154); + var iterate = __webpack_require__(91); + var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(159); + + // `Promise.race` method + // https://tc39.es/ecma262/#sec-promise.race + $({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + race: function race(iterable) { + var C = this; + var capability = newPromiseCapabilityModule.f(C); + var reject = capability.reject; + var result = perform(function () { + var $promiseResolve = aCallable(C.resolve); + iterate(iterable, function (promise) { + call($promiseResolve, C, promise).then(capability.resolve, reject); + }); + }); + if (result.error) reject(result.value); + return capability.promise; + } + }); + + + /***/ }), /* 163 */ - /***/ (function (module, exports, __webpack_require__) { - - var floor = Math.floor; - var log = Math.log; - var LOG2E = Math.LOG2E; - - // `Math.clz32` method - // https://tc39.github.io/ecma262/#sec-math.clz32 - __webpack_require__(7)({ target: 'Math', stat: true }, { - clz32: function clz32(x) { - return (x >>>= 0) ? 31 - floor(log(x + 0.5) * LOG2E) : 32; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var newPromiseCapabilityModule = __webpack_require__(157); + var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(156).CONSTRUCTOR; + + // `Promise.reject` method + // https://tc39.es/ecma262/#sec-promise.reject + $({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, { + reject: function reject(r) { + var capability = newPromiseCapabilityModule.f(this); + var capabilityReject = capability.reject; + capabilityReject(r); + return capability.promise; + } + }); + + + /***/ }), /* 164 */ - /***/ (function (module, exports, __webpack_require__) { - - var expm1 = __webpack_require__(165); - var nativeCosh = Math.cosh; - var abs = Math.abs; - var E = Math.E; - - // `Math.cosh` method - // https://tc39.github.io/ecma262/#sec-math.cosh - __webpack_require__(7)({ target: 'Math', stat: true, forced: !nativeCosh || nativeCosh(710) === Infinity }, { - cosh: function cosh(x) { - var t = expm1(abs(x) - 1) + 1; - return (t + 1 / (t * E * E)) * (E / 2); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var getBuiltIn = __webpack_require__(22); + var IS_PURE = __webpack_require__(35); + var NativePromiseConstructor = __webpack_require__(155); + var FORCED_PROMISE_CONSTRUCTOR = __webpack_require__(156).CONSTRUCTOR; + var promiseResolve = __webpack_require__(165); + + var PromiseConstructorWrapper = getBuiltIn('Promise'); + var CHECK_WRAPPER = IS_PURE && !FORCED_PROMISE_CONSTRUCTOR; + + // `Promise.resolve` method + // https://tc39.es/ecma262/#sec-promise.resolve + $({ target: 'Promise', stat: true, forced: IS_PURE || FORCED_PROMISE_CONSTRUCTOR }, { + resolve: function resolve(x) { + return promiseResolve(CHECK_WRAPPER && this === PromiseConstructorWrapper ? NativePromiseConstructor : this, x); + } + }); + + + /***/ }), /* 165 */ - /***/ (function (module, exports) { - - var nativeExpm1 = Math.expm1; - - // `Math.expm1` method implementation - // https://tc39.github.io/ecma262/#sec-math.expm1 - module.exports = (!nativeExpm1 - // Old FF bug - || nativeExpm1(10) > 22025.465794806719 || nativeExpm1(10) < 22025.4657948067165168 - // Tor Browser bug - || nativeExpm1(-2e-17) != -2e-17 - ) ? function expm1(x) { - return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1; - } : nativeExpm1; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var anObject = __webpack_require__(45); + var isObject = __webpack_require__(19); + var newPromiseCapability = __webpack_require__(157); + + module.exports = function (C, x) { + anObject(C); + if (isObject(x) && x.constructor === C) return x; + var promiseCapability = newPromiseCapability.f(C); + var resolve = promiseCapability.resolve; + resolve(x); + return promiseCapability.promise; + }; + + + /***/ }), /* 166 */ - /***/ (function (module, exports, __webpack_require__) { - - var expm1Implementation = __webpack_require__(165); - - // `Math.expm1` method - // https://tc39.github.io/ecma262/#sec-math.expm1 - __webpack_require__(7)({ target: 'Math', stat: true, forced: expm1Implementation != Math.expm1 }, { - expm1: expm1Implementation + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var newPromiseCapabilityModule = __webpack_require__(157); + var perform = __webpack_require__(154); + var iterate = __webpack_require__(91); + var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(159); + + // `Promise.allSettled` method + // https://tc39.es/ecma262/#sec-promise.allsettled + $({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + allSettled: function allSettled(iterable) { + var C = this; + var capability = newPromiseCapabilityModule.f(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var promiseResolve = aCallable(C.resolve); + var values = []; + var counter = 0; + var remaining = 1; + iterate(iterable, function (promise) { + var index = counter++; + var alreadyCalled = false; + remaining++; + call(promiseResolve, C, promise).then(function (value) { + if (alreadyCalled) return; + alreadyCalled = true; + values[index] = { status: 'fulfilled', value: value }; + --remaining || resolve(values); + }, function (error) { + if (alreadyCalled) return; + alreadyCalled = true; + values[index] = { status: 'rejected', reason: error }; + --remaining || resolve(values); }); - - - /***/ -}), + }); + --remaining || resolve(values); + }); + if (result.error) reject(result.value); + return capability.promise; + } + }); + + + /***/ }), /* 167 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.fround` method - // https://tc39.github.io/ecma262/#sec-math.fround - __webpack_require__(7)({ target: 'Math', stat: true }, { fround: __webpack_require__(168) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var getBuiltIn = __webpack_require__(22); + var newPromiseCapabilityModule = __webpack_require__(157); + var perform = __webpack_require__(154); + var iterate = __webpack_require__(91); + var PROMISE_STATICS_INCORRECT_ITERATION = __webpack_require__(159); + + var PROMISE_ANY_ERROR = 'No one promise resolved'; + + // `Promise.any` method + // https://tc39.es/ecma262/#sec-promise.any + $({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION }, { + any: function any(iterable) { + var C = this; + var AggregateError = getBuiltIn('AggregateError'); + var capability = newPromiseCapabilityModule.f(C); + var resolve = capability.resolve; + var reject = capability.reject; + var result = perform(function () { + var promiseResolve = aCallable(C.resolve); + var errors = []; + var counter = 0; + var remaining = 1; + var alreadyResolved = false; + iterate(iterable, function (promise) { + var index = counter++; + var alreadyRejected = false; + remaining++; + call(promiseResolve, C, promise).then(function (value) { + if (alreadyRejected || alreadyResolved) return; + alreadyResolved = true; + resolve(value); + }, function (error) { + if (alreadyRejected || alreadyResolved) return; + alreadyRejected = true; + errors[index] = error; + --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR)); + }); + }); + --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR)); + }); + if (result.error) reject(result.value); + return capability.promise; + } + }); + + + /***/ }), /* 168 */ - /***/ (function (module, exports, __webpack_require__) { - - var sign = __webpack_require__(162); - var pow = Math.pow; - var EPSILON = pow(2, -52); - var EPSILON32 = pow(2, -23); - var MAX32 = pow(2, 127) * (2 - EPSILON32); - var MIN32 = pow(2, -126); - - var roundTiesToEven = function (n) { - return n + 1 / EPSILON - 1 / EPSILON; - }; - - // `Math.fround` method implementation - // https://tc39.github.io/ecma262/#sec-math.fround - module.exports = Math.fround || function fround(x) { - var $abs = Math.abs(x); - var $sign = sign(x); - var a, result; - if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32; - a = (1 + EPSILON32 / EPSILON) * $abs; - result = a - (a - $abs); - // eslint-disable-next-line no-self-compare - if (result > MAX32 || result != result) return $sign * Infinity; - return $sign * result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var IS_PURE = __webpack_require__(35); + var NativePromiseConstructor = __webpack_require__(155); + var fails = __webpack_require__(6); + var getBuiltIn = __webpack_require__(22); + var isCallable = __webpack_require__(20); + var speciesConstructor = __webpack_require__(141); + var promiseResolve = __webpack_require__(165); + var defineBuiltIn = __webpack_require__(46); + + var NativePromisePrototype = NativePromiseConstructor && NativePromiseConstructor.prototype; + + // Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829 + var NON_GENERIC = !!NativePromiseConstructor && fails(function () { + // eslint-disable-next-line unicorn/no-thenable -- required for testing + NativePromisePrototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ }); + }); + + // `Promise.prototype.finally` method + // https://tc39.es/ecma262/#sec-promise.prototype.finally + $({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, { + 'finally': function (onFinally) { + var C = speciesConstructor(this, getBuiltIn('Promise')); + var isFunction = isCallable(onFinally); + return this.then( + isFunction ? function (x) { + return promiseResolve(C, onFinally()).then(function () { return x; }); + } : onFinally, + isFunction ? function (e) { + return promiseResolve(C, onFinally()).then(function () { throw e; }); + } : onFinally + ); + } + }); + + // makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then` + if (!IS_PURE && isCallable(NativePromiseConstructor)) { + var method = getBuiltIn('Promise').prototype['finally']; + if (NativePromisePrototype['finally'] !== method) { + defineBuiltIn(NativePromisePrototype, 'finally', method, { unsafe: true }); + } + } + + + /***/ }), /* 169 */ - /***/ (function (module, exports, __webpack_require__) { - - var abs = Math.abs; - var sqrt = Math.sqrt; - - // `Math.hypot` method - // https://tc39.github.io/ecma262/#sec-math.hypot - __webpack_require__(7)({ target: 'Math', stat: true }, { - hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars - var sum = 0; - var i = 0; - var aLen = arguments.length; - var larg = 0; - var arg, div; - while (i < aLen) { - arg = abs(arguments[i++]); - if (larg < arg) { - div = larg / arg; - sum = sum * div * div + 1; - larg = arg; - } else if (arg > 0) { - div = arg / larg; - sum += div * div; - } else sum += arg; - } - return larg === Infinity ? Infinity : larg * sqrt(sum); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var newPromiseCapabilityModule = __webpack_require__(157); + + // `Promise.withResolvers` method + // https://github.com/tc39/proposal-promise-with-resolvers + $({ target: 'Promise', stat: true }, { + withResolvers: function withResolvers() { + var promiseCapability = newPromiseCapabilityModule.f(this); + return { + promise: promiseCapability.promise, + resolve: promiseCapability.resolve, + reject: promiseCapability.reject + }; + } + }); + + + /***/ }), /* 170 */ - /***/ (function (module, exports, __webpack_require__) { - - var nativeImul = Math.imul; - - var FORCED = __webpack_require__(5)(function () { - return nativeImul(0xffffffff, 5) != -5 || nativeImul.length != 2; - }); - - // `Math.imul` method - // https://tc39.github.io/ecma262/#sec-math.imul - // some WebKit versions fails with big numbers, some has wrong arity - __webpack_require__(7)({ target: 'Math', stat: true, forced: FORCED }, { - imul: function imul(x, y) { - var UINT16 = 0xffff; - var xn = +x; - var yn = +y; - var xl = UINT16 & xn; - var yl = UINT16 & yn; - return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var setToStringTag = __webpack_require__(138); + + $({ global: true }, { Reflect: {} }); + + // Reflect[@@toStringTag] property + // https://tc39.es/ecma262/#sec-reflect-@@tostringtag + setToStringTag(global.Reflect, 'Reflect', true); + + + /***/ }), /* 171 */ - /***/ (function (module, exports, __webpack_require__) { - - var log = Math.log; - var LOG10E = Math.LOG10E; - - // `Math.log10` method - // https://tc39.github.io/ecma262/#sec-math.log10 - __webpack_require__(7)({ target: 'Math', stat: true }, { - log10: function log10(x) { - return log(x) * LOG10E; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var DESCRIPTORS = __webpack_require__(5); + var defineBuiltInAccessor = __webpack_require__(118); + var regExpFlags = __webpack_require__(172); + var fails = __webpack_require__(6); + + // babel-minify and Closure Compiler transpiles RegExp('.', 'd') -> /./d and it causes SyntaxError + var RegExp = global.RegExp; + var RegExpPrototype = RegExp.prototype; + + var FORCED = DESCRIPTORS && fails(function () { + var INDICES_SUPPORT = true; + try { + RegExp('.', 'd'); + } catch (error) { + INDICES_SUPPORT = false; + } + + var O = {}; + // modern V8 bug + var calls = ''; + var expected = INDICES_SUPPORT ? 'dgimsy' : 'gimsy'; + + var addGetter = function (key, chr) { + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty(O, key, { get: function () { + calls += chr; + return true; + } }); + }; + + var pairs = { + dotAll: 's', + global: 'g', + ignoreCase: 'i', + multiline: 'm', + sticky: 'y' + }; + + if (INDICES_SUPPORT) pairs.hasIndices = 'd'; + + for (var key in pairs) addGetter(key, pairs[key]); + + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var result = Object.getOwnPropertyDescriptor(RegExpPrototype, 'flags').get.call(O); + + return result !== expected || calls !== expected; + }); + + // `RegExp.prototype.flags` getter + // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags + if (FORCED) defineBuiltInAccessor(RegExpPrototype, 'flags', { + configurable: true, + get: regExpFlags + }); + + + /***/ }), /* 172 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.log1p` method - // https://tc39.github.io/ecma262/#sec-math.log1p - __webpack_require__(7)({ target: 'Math', stat: true }, { log1p: __webpack_require__(158) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var anObject = __webpack_require__(45); + + // `RegExp.prototype.flags` getter implementation + // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags + module.exports = function () { + var that = anObject(this); + var result = ''; + if (that.hasIndices) result += 'd'; + if (that.global) result += 'g'; + if (that.ignoreCase) result += 'i'; + if (that.multiline) result += 'm'; + if (that.dotAll) result += 's'; + if (that.unicode) result += 'u'; + if (that.unicodeSets) result += 'v'; + if (that.sticky) result += 'y'; + return result; + }; + + + /***/ }), /* 173 */ - /***/ (function (module, exports, __webpack_require__) { - - var log = Math.log; - var LN2 = Math.LN2; - - // `Math.log2` method - // https://tc39.github.io/ecma262/#sec-math.log2 - __webpack_require__(7)({ target: 'Math', stat: true }, { - log2: function log2(x) { - return log(x) / LN2; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var requireObjectCoercible = __webpack_require__(15); + var toIntegerOrInfinity = __webpack_require__(60); + var toString = __webpack_require__(76); + var fails = __webpack_require__(6); + + var charAt = uncurryThis(''.charAt); + + var FORCED = fails(function () { + // eslint-disable-next-line es/no-array-string-prototype-at -- safe + return '𠮷'.at(-2) !== '\uD842'; + }); + + // `String.prototype.at` method + // https://tc39.es/ecma262/#sec-string.prototype.at + $({ target: 'String', proto: true, forced: FORCED }, { + at: function at(index) { + var S = toString(requireObjectCoercible(this)); + var len = S.length; + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : charAt(S, k); + } + }); + + + /***/ }), /* 174 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.sign` method - // https://tc39.github.io/ecma262/#sec-math.sign - __webpack_require__(7)({ target: 'Math', stat: true }, { sign: __webpack_require__(162) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var requireObjectCoercible = __webpack_require__(15); + var toString = __webpack_require__(76); + + var charCodeAt = uncurryThis(''.charCodeAt); + + // `String.prototype.isWellFormed` method + // https://github.com/tc39/proposal-is-usv-string + $({ target: 'String', proto: true }, { + isWellFormed: function isWellFormed() { + var S = toString(requireObjectCoercible(this)); + var length = S.length; + for (var i = 0; i < length; i++) { + var charCode = charCodeAt(S, i); + // single UTF-16 code unit + if ((charCode & 0xF800) !== 0xD800) continue; + // unpaired surrogate + if (charCode >= 0xDC00 || ++i >= length || (charCodeAt(S, i) & 0xFC00) !== 0xDC00) return false; + } return true; + } + }); + + + /***/ }), /* 175 */ - /***/ (function (module, exports, __webpack_require__) { - - var expm1 = __webpack_require__(165); - var abs = Math.abs; - var exp = Math.exp; - var E = Math.E; - - var FORCED = __webpack_require__(5)(function () { - return Math.sinh(-2e-17) != -2e-17; - }); - - // `Math.sinh` method - // https://tc39.github.io/ecma262/#sec-math.sinh - // V8 near Chromium 38 has a problem with very small numbers - __webpack_require__(7)({ target: 'Math', stat: true, forced: FORCED }, { - sinh: function sinh(x) { - return abs(x = +x) < 1 ? (expm1(x) - expm1(-x)) / 2 : (exp(x - 1) - exp(-x - 1)) * (E / 2); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var uncurryThis = __webpack_require__(13); + var requireObjectCoercible = __webpack_require__(15); + var isCallable = __webpack_require__(20); + var isNullOrUndefined = __webpack_require__(16); + var isRegExp = __webpack_require__(176); + var toString = __webpack_require__(76); + var getMethod = __webpack_require__(28); + var getRegExpFlags = __webpack_require__(177); + var getSubstitution = __webpack_require__(178); + var wellKnownSymbol = __webpack_require__(32); + var IS_PURE = __webpack_require__(35); + + var REPLACE = wellKnownSymbol('replace'); + var $TypeError = TypeError; + var indexOf = uncurryThis(''.indexOf); + var replace = uncurryThis(''.replace); + var stringSlice = uncurryThis(''.slice); + var max = Math.max; + + // `String.prototype.replaceAll` method + // https://tc39.es/ecma262/#sec-string.prototype.replaceall + $({ target: 'String', proto: true }, { + replaceAll: function replaceAll(searchValue, replaceValue) { + var O = requireObjectCoercible(this); + var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement; + var position = 0; + var endOfLastMatch = 0; + var result = ''; + if (!isNullOrUndefined(searchValue)) { + IS_REG_EXP = isRegExp(searchValue); + if (IS_REG_EXP) { + flags = toString(requireObjectCoercible(getRegExpFlags(searchValue))); + if (!~indexOf(flags, 'g')) throw new $TypeError('`.replaceAll` does not allow non-global regexes'); + } + replacer = getMethod(searchValue, REPLACE); + if (replacer) { + return call(replacer, searchValue, O, replaceValue); + } else if (IS_PURE && IS_REG_EXP) { + return replace(toString(O), searchValue, replaceValue); + } + } + string = toString(O); + searchString = toString(searchValue); + functionalReplace = isCallable(replaceValue); + if (!functionalReplace) replaceValue = toString(replaceValue); + searchLength = searchString.length; + advanceBy = max(1, searchLength); + position = indexOf(string, searchString); + while (position !== -1) { + replacement = functionalReplace + ? toString(replaceValue(searchString, position, string)) + : getSubstitution(searchString, string, position, [], undefined, replaceValue); + result += stringSlice(string, endOfLastMatch, position) + replacement; + endOfLastMatch = position + searchLength; + position = position + advanceBy > string.length ? -1 : indexOf(string, searchString, position + advanceBy); + } + if (endOfLastMatch < string.length) { + result += stringSlice(string, endOfLastMatch); + } + return result; + } + }); + + + /***/ }), /* 176 */ - /***/ (function (module, exports, __webpack_require__) { - - var expm1 = __webpack_require__(165); - var exp = Math.exp; - - // `Math.tanh` method - // https://tc39.github.io/ecma262/#sec-math.tanh - __webpack_require__(7)({ target: 'Math', stat: true }, { - tanh: function tanh(x) { - var a = expm1(x = +x); - var b = expm1(-x); - return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x)); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isObject = __webpack_require__(19); + var classof = __webpack_require__(14); + var wellKnownSymbol = __webpack_require__(32); + + var MATCH = wellKnownSymbol('match'); + + // `IsRegExp` abstract operation + // https://tc39.es/ecma262/#sec-isregexp + module.exports = function (it) { + var isRegExp; + return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) === 'RegExp'); + }; + + + /***/ }), /* 177 */ - /***/ (function (module, exports, __webpack_require__) { - - // Math[@@toStringTag] property - // https://tc39.github.io/ecma262/#sec-math-@@tostringtag - __webpack_require__(42)(Math, 'Math', true); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var hasOwn = __webpack_require__(37); + var isPrototypeOf = __webpack_require__(23); + var regExpFlags = __webpack_require__(172); + + var RegExpPrototype = RegExp.prototype; + + module.exports = function (R) { + var flags = R.flags; + return flags === undefined && !('flags' in RegExpPrototype) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype, R) + ? call(regExpFlags, R) : flags; + }; + + + /***/ }), /* 178 */ - /***/ (function (module, exports, __webpack_require__) { - - var ceil = Math.ceil; - var floor = Math.floor; - - // `Math.trunc` method - // https://tc39.github.io/ecma262/#sec-math.trunc - __webpack_require__(7)({ target: 'Math', stat: true }, { - trunc: function trunc(it) { - return (it > 0 ? floor : ceil)(it); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var toObject = __webpack_require__(38); + + var floor = Math.floor; + var charAt = uncurryThis(''.charAt); + var replace = uncurryThis(''.replace); + var stringSlice = uncurryThis(''.slice); + // eslint-disable-next-line redos/no-vulnerable -- safe + var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; + var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; + + // `GetSubstitution` abstract operation + // https://tc39.es/ecma262/#sec-getsubstitution + module.exports = function (matched, str, position, captures, namedCaptures, replacement) { + var tailPos = position + matched.length; + var m = captures.length; + var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; + if (namedCaptures !== undefined) { + namedCaptures = toObject(namedCaptures); + symbols = SUBSTITUTION_SYMBOLS; + } + return replace(replacement, symbols, function (match, ch) { + var capture; + switch (charAt(ch, 0)) { + case '$': return '$'; + case '&': return matched; + case '`': return stringSlice(str, 0, position); + case "'": return stringSlice(str, tailPos); + case '<': + capture = namedCaptures[stringSlice(ch, 1, -1)]; + break; + default: // \d\d? + var n = +ch; + if (n === 0) return match; + if (n > m) { + var f = floor(n / 10); + if (f === 0) return match; + if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1); + return match; + } + capture = captures[n - 1]; + } + return capture === undefined ? '' : capture; + }); + }; + + + /***/ }), /* 179 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var global = __webpack_require__(2); - var isForced = __webpack_require__(41); - var has = __webpack_require__(3); - var classof = __webpack_require__(13); - var inheritIfRequired = __webpack_require__(155); - var toPrimitive = __webpack_require__(15); - var fails = __webpack_require__(5); - var getOwnPropertyNames = __webpack_require__(33).f; - var getOwnPropertyDescriptor = __webpack_require__(8).f; - var defineProperty = __webpack_require__(20).f; - var internalStringTrim = __webpack_require__(180); - var NUMBER = 'Number'; - var NativeNumber = global[NUMBER]; - var NumberPrototype = NativeNumber.prototype; - - // Opera ~12 has broken Object#toString - var BROKEN_CLASSOF = classof(__webpack_require__(51)(NumberPrototype)) == NUMBER; - var NATIVE_TRIM = 'trim' in String.prototype; - - // `ToNumber` abstract operation - // https://tc39.github.io/ecma262/#sec-tonumber - var toNumber = function (argument) { - var it = toPrimitive(argument, false); - var first, third, radix, maxCode, digits, length, i, code; - if (typeof it == 'string' && it.length > 2) { - it = NATIVE_TRIM ? it.trim() : internalStringTrim(it, 3); - first = it.charCodeAt(0); - if (first === 43 || first === 45) { - third = it.charCodeAt(2); - if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix - } else if (first === 48) { - switch (it.charCodeAt(1)) { - case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i - case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i - default: return +it; - } - digits = it.slice(2); - length = digits.length; - for (i = 0; i < length; i++) { - code = digits.charCodeAt(i); - // parseInt parses a string to a first unavailable symbol - // but ToNumber should return NaN if a string contains unavailable symbols - if (code < 48 || code > maxCode) return NaN; - } return parseInt(digits, radix); - } - } return +it; - }; - - // `Number` constructor - // https://tc39.github.io/ecma262/#sec-number-constructor - if (isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'))) { - var NumberWrapper = function Number(value) { - var it = arguments.length < 1 ? 0 : value; - var that = this; - return that instanceof NumberWrapper - // check on 1..constructor(foo) case - && (BROKEN_CLASSOF ? fails(function () { NumberPrototype.valueOf.call(that); }) : classof(that) != NUMBER) - ? inheritIfRequired(new NativeNumber(toNumber(it)), that, NumberWrapper) : toNumber(it); - }; - for (var keys = __webpack_require__(4) ? getOwnPropertyNames(NativeNumber) : ( - // ES3: - 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' + - // ES2015 (in case, if modules with ES2015 Number statics required before): - 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' + - 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger' - ).split(','), j = 0, key; keys.length > j; j++) { - if (has(NativeNumber, key = keys[j]) && !has(NumberWrapper, key)) { - defineProperty(NumberWrapper, key, getOwnPropertyDescriptor(NativeNumber, key)); - } - } - NumberWrapper.prototype = NumberPrototype; - NumberPrototype.constructor = NumberWrapper; - __webpack_require__(22)(global, NUMBER, NumberWrapper); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var uncurryThis = __webpack_require__(13); + var requireObjectCoercible = __webpack_require__(15); + var toString = __webpack_require__(76); + var fails = __webpack_require__(6); + + var $Array = Array; + var charAt = uncurryThis(''.charAt); + var charCodeAt = uncurryThis(''.charCodeAt); + var join = uncurryThis([].join); + // eslint-disable-next-line es/no-string-prototype-iswellformed-towellformed -- safe + var $toWellFormed = ''.toWellFormed; + var REPLACEMENT_CHARACTER = '\uFFFD'; + + // Safari bug + var TO_STRING_CONVERSION_BUG = $toWellFormed && fails(function () { + return call($toWellFormed, 1) !== '1'; + }); + + // `String.prototype.toWellFormed` method + // https://github.com/tc39/proposal-is-usv-string + $({ target: 'String', proto: true, forced: TO_STRING_CONVERSION_BUG }, { + toWellFormed: function toWellFormed() { + var S = toString(requireObjectCoercible(this)); + if (TO_STRING_CONVERSION_BUG) return call($toWellFormed, S); + var length = S.length; + var result = $Array(length); + for (var i = 0; i < length; i++) { + var charCode = charCodeAt(S, i); + // single UTF-16 code unit + if ((charCode & 0xF800) !== 0xD800) result[i] = charAt(S, i); + // unpaired surrogate + else if (charCode >= 0xDC00 || i + 1 >= length || (charCodeAt(S, i + 1) & 0xFC00) !== 0xDC00) result[i] = REPLACEMENT_CHARACTER; + // surrogate pair + else { + result[i] = charAt(S, i); + result[++i] = charAt(S, i); + } + } return join(result, ''); + } + }); + + + /***/ }), /* 180 */ - /***/ (function (module, exports, __webpack_require__) { - - var requireObjectCoercible = __webpack_require__(14); - var whitespace = '[' + __webpack_require__(181) + ']'; - var ltrim = RegExp('^' + whitespace + whitespace + '*'); - var rtrim = RegExp(whitespace + whitespace + '*$'); - - // 1 -> String#trimStart - // 2 -> String#trimEnd - // 3 -> String#trim - module.exports = function (string, TYPE) { - string = String(requireObjectCoercible(string)); - if (TYPE & 1) string = string.replace(ltrim, ''); - if (TYPE & 2) string = string.replace(rtrim, ''); - return string; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var ArrayBufferViewCore = __webpack_require__(181); + var lengthOfArrayLike = __webpack_require__(62); + var toIntegerOrInfinity = __webpack_require__(60); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.at` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.at + exportTypedArrayMethod('at', function at(index) { + var O = aTypedArray(this); + var len = lengthOfArrayLike(O); + var relativeIndex = toIntegerOrInfinity(index); + var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; + return (k < 0 || k >= len) ? undefined : O[k]; + }); + + + /***/ }), /* 181 */ - /***/ (function (module, exports) { - - // a string of all valid unicode whitespaces - // eslint-disable-next-line max-len - module.exports = '\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var NATIVE_ARRAY_BUFFER = __webpack_require__(182); + var DESCRIPTORS = __webpack_require__(5); + var global = __webpack_require__(3); + var isCallable = __webpack_require__(20); + var isObject = __webpack_require__(19); + var hasOwn = __webpack_require__(37); + var classof = __webpack_require__(77); + var tryToString = __webpack_require__(30); + var createNonEnumerableProperty = __webpack_require__(42); + var defineBuiltIn = __webpack_require__(46); + var defineBuiltInAccessor = __webpack_require__(118); + var isPrototypeOf = __webpack_require__(23); + var getPrototypeOf = __webpack_require__(85); + var setPrototypeOf = __webpack_require__(69); + var wellKnownSymbol = __webpack_require__(32); + var uid = __webpack_require__(39); + var InternalStateModule = __webpack_require__(50); + + var enforceInternalState = InternalStateModule.enforce; + var getInternalState = InternalStateModule.get; + var Int8Array = global.Int8Array; + var Int8ArrayPrototype = Int8Array && Int8Array.prototype; + var Uint8ClampedArray = global.Uint8ClampedArray; + var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; + var TypedArray = Int8Array && getPrototypeOf(Int8Array); + var TypedArrayPrototype = Int8ArrayPrototype && getPrototypeOf(Int8ArrayPrototype); + var ObjectPrototype = Object.prototype; + var TypeError = global.TypeError; + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG'); + var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor'; + // Fixing native typed arrays in Opera Presto crashes the browser, see #595 + var NATIVE_ARRAY_BUFFER_VIEWS = NATIVE_ARRAY_BUFFER && !!setPrototypeOf && classof(global.opera) !== 'Opera'; + var TYPED_ARRAY_TAG_REQUIRED = false; + var NAME, Constructor, Prototype; + + var TypedArrayConstructorsList = { + Int8Array: 1, + Uint8Array: 1, + Uint8ClampedArray: 1, + Int16Array: 2, + Uint16Array: 2, + Int32Array: 4, + Uint32Array: 4, + Float32Array: 4, + Float64Array: 8 + }; + + var BigIntArrayConstructorsList = { + BigInt64Array: 8, + BigUint64Array: 8 + }; + + var isView = function isView(it) { + if (!isObject(it)) return false; + var klass = classof(it); + return klass === 'DataView' + || hasOwn(TypedArrayConstructorsList, klass) + || hasOwn(BigIntArrayConstructorsList, klass); + }; + + var getTypedArrayConstructor = function (it) { + var proto = getPrototypeOf(it); + if (!isObject(proto)) return; + var state = getInternalState(proto); + return (state && hasOwn(state, TYPED_ARRAY_CONSTRUCTOR)) ? state[TYPED_ARRAY_CONSTRUCTOR] : getTypedArrayConstructor(proto); + }; + + var isTypedArray = function (it) { + if (!isObject(it)) return false; + var klass = classof(it); + return hasOwn(TypedArrayConstructorsList, klass) + || hasOwn(BigIntArrayConstructorsList, klass); + }; + + var aTypedArray = function (it) { + if (isTypedArray(it)) return it; + throw new TypeError('Target is not a typed array'); + }; + + var aTypedArrayConstructor = function (C) { + if (isCallable(C) && (!setPrototypeOf || isPrototypeOf(TypedArray, C))) return C; + throw new TypeError(tryToString(C) + ' is not a typed array constructor'); + }; + + var exportTypedArrayMethod = function (KEY, property, forced, options) { + if (!DESCRIPTORS) return; + if (forced) for (var ARRAY in TypedArrayConstructorsList) { + var TypedArrayConstructor = global[ARRAY]; + if (TypedArrayConstructor && hasOwn(TypedArrayConstructor.prototype, KEY)) try { + delete TypedArrayConstructor.prototype[KEY]; + } catch (error) { + // old WebKit bug - some methods are non-configurable + try { + TypedArrayConstructor.prototype[KEY] = property; + } catch (error2) { /* empty */ } + } + } + if (!TypedArrayPrototype[KEY] || forced) { + defineBuiltIn(TypedArrayPrototype, KEY, forced ? property + : NATIVE_ARRAY_BUFFER_VIEWS && Int8ArrayPrototype[KEY] || property, options); + } + }; + + var exportTypedArrayStaticMethod = function (KEY, property, forced) { + var ARRAY, TypedArrayConstructor; + if (!DESCRIPTORS) return; + if (setPrototypeOf) { + if (forced) for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global[ARRAY]; + if (TypedArrayConstructor && hasOwn(TypedArrayConstructor, KEY)) try { + delete TypedArrayConstructor[KEY]; + } catch (error) { /* empty */ } + } + if (!TypedArray[KEY] || forced) { + // V8 ~ Chrome 49-50 `%TypedArray%` methods are non-writable non-configurable + try { + return defineBuiltIn(TypedArray, KEY, forced ? property : NATIVE_ARRAY_BUFFER_VIEWS && TypedArray[KEY] || property); + } catch (error) { /* empty */ } + } else return; + } + for (ARRAY in TypedArrayConstructorsList) { + TypedArrayConstructor = global[ARRAY]; + if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { + defineBuiltIn(TypedArrayConstructor, KEY, property); + } + } + }; + + for (NAME in TypedArrayConstructorsList) { + Constructor = global[NAME]; + Prototype = Constructor && Constructor.prototype; + if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; + else NATIVE_ARRAY_BUFFER_VIEWS = false; + } + + for (NAME in BigIntArrayConstructorsList) { + Constructor = global[NAME]; + Prototype = Constructor && Constructor.prototype; + if (Prototype) enforceInternalState(Prototype)[TYPED_ARRAY_CONSTRUCTOR] = Constructor; + } + + // WebKit bug - typed arrays constructors prototype is Object.prototype + if (!NATIVE_ARRAY_BUFFER_VIEWS || !isCallable(TypedArray) || TypedArray === Function.prototype) { + // eslint-disable-next-line no-shadow -- safe + TypedArray = function TypedArray() { + throw new TypeError('Incorrect invocation'); + }; + if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { + if (global[NAME]) setPrototypeOf(global[NAME], TypedArray); + } + } + + if (!NATIVE_ARRAY_BUFFER_VIEWS || !TypedArrayPrototype || TypedArrayPrototype === ObjectPrototype) { + TypedArrayPrototype = TypedArray.prototype; + if (NATIVE_ARRAY_BUFFER_VIEWS) for (NAME in TypedArrayConstructorsList) { + if (global[NAME]) setPrototypeOf(global[NAME].prototype, TypedArrayPrototype); + } + } + + // WebKit bug - one more object in Uint8ClampedArray prototype chain + if (NATIVE_ARRAY_BUFFER_VIEWS && getPrototypeOf(Uint8ClampedArrayPrototype) !== TypedArrayPrototype) { + setPrototypeOf(Uint8ClampedArrayPrototype, TypedArrayPrototype); + } + + if (DESCRIPTORS && !hasOwn(TypedArrayPrototype, TO_STRING_TAG)) { + TYPED_ARRAY_TAG_REQUIRED = true; + defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG, { + configurable: true, + get: function () { + return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined; + } + }); + for (NAME in TypedArrayConstructorsList) if (global[NAME]) { + createNonEnumerableProperty(global[NAME], TYPED_ARRAY_TAG, NAME); + } + } + + module.exports = { + NATIVE_ARRAY_BUFFER_VIEWS: NATIVE_ARRAY_BUFFER_VIEWS, + TYPED_ARRAY_TAG: TYPED_ARRAY_TAG_REQUIRED && TYPED_ARRAY_TAG, + aTypedArray: aTypedArray, + aTypedArrayConstructor: aTypedArrayConstructor, + exportTypedArrayMethod: exportTypedArrayMethod, + exportTypedArrayStaticMethod: exportTypedArrayStaticMethod, + getTypedArrayConstructor: getTypedArrayConstructor, + isView: isView, + isTypedArray: isTypedArray, + TypedArray: TypedArray, + TypedArrayPrototype: TypedArrayPrototype + }; + + + /***/ }), /* 182 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Number.EPSILON` constant - // https://tc39.github.io/ecma262/#sec-number.epsilon - __webpack_require__(7)({ target: 'Number', stat: true }, { EPSILON: Math.pow(2, -52) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // eslint-disable-next-line es/no-typed-arrays -- safe + module.exports = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined'; + + + /***/ }), /* 183 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Number.isFinite` method - // https://tc39.github.io/ecma262/#sec-number.isfinite - __webpack_require__(7)({ target: 'Number', stat: true }, { - isFinite: __webpack_require__(184) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var ArrayBufferViewCore = __webpack_require__(181); + var $findLast = __webpack_require__(103).findLast; + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.findLast` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.findlast + exportTypedArrayMethod('findLast', function findLast(predicate /* , thisArg */) { + return $findLast(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); + }); + + + /***/ }), /* 184 */ - /***/ (function (module, exports, __webpack_require__) { - - var globalIsFinite = __webpack_require__(2).isFinite; - - // `Number.isFinite` method - // https://tc39.github.io/ecma262/#sec-number.isfinite - module.exports = Number.isFinite || function isFinite(it) { - return typeof it == 'number' && globalIsFinite(it); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var ArrayBufferViewCore = __webpack_require__(181); + var $findLastIndex = __webpack_require__(103).findLastIndex; + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.findLastIndex` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.findlastindex + exportTypedArrayMethod('findLastIndex', function findLastIndex(predicate /* , thisArg */) { + return $findLastIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); + }); + + + /***/ }), /* 185 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Number.isInteger` method - // https://tc39.github.io/ecma262/#sec-number.isinteger - __webpack_require__(7)({ target: 'Number', stat: true }, { - isInteger: __webpack_require__(186) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var call = __webpack_require__(7); + var ArrayBufferViewCore = __webpack_require__(181); + var lengthOfArrayLike = __webpack_require__(62); + var toOffset = __webpack_require__(186); + var toIndexedObject = __webpack_require__(38); + var fails = __webpack_require__(6); + + var RangeError = global.RangeError; + var Int8Array = global.Int8Array; + var Int8ArrayPrototype = Int8Array && Int8Array.prototype; + var $set = Int8ArrayPrototype && Int8ArrayPrototype.set; + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + + var WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS = !fails(function () { + // eslint-disable-next-line es/no-typed-arrays -- required for testing + var array = new Uint8ClampedArray(2); + call($set, array, { length: 1, 0: 3 }, 1); + return array[1] !== 3; + }); + + // https://bugs.chromium.org/p/v8/issues/detail?id=11294 and other + var TO_OBJECT_BUG = WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS && ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS && fails(function () { + var array = new Int8Array(2); + array.set(1); + array.set('2', 1); + return array[0] !== 0 || array[1] !== 2; + }); + + // `%TypedArray%.prototype.set` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.set + exportTypedArrayMethod('set', function set(arrayLike /* , offset */) { + aTypedArray(this); + var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1); + var src = toIndexedObject(arrayLike); + if (WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS) return call($set, this, src, offset); + var length = this.length; + var len = lengthOfArrayLike(src); + var index = 0; + if (len + offset > length) throw new RangeError('Wrong length'); + while (index < len) this[offset + index] = src[index++]; + }, !WORKS_WITH_OBJECTS_AND_GENERIC_ON_TYPED_ARRAYS || TO_OBJECT_BUG); + + + /***/ }), /* 186 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var floor = Math.floor; - - // `Number.isInteger` method implementation - // https://tc39.github.io/ecma262/#sec-number.isinteger - module.exports = function isInteger(it) { - return !isObject(it) && isFinite(it) && floor(it) === it; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toPositiveInteger = __webpack_require__(187); + + var $RangeError = RangeError; + + module.exports = function (it, BYTES) { + var offset = toPositiveInteger(it); + if (offset % BYTES) throw new $RangeError('Wrong offset'); + return offset; + }; + + + /***/ }), /* 187 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Number.isNaN` method - // https://tc39.github.io/ecma262/#sec-number.isnan - __webpack_require__(7)({ target: 'Number', stat: true }, { - isNaN: function isNaN(number) { - // eslint-disable-next-line no-self-compare - return number != number; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toIntegerOrInfinity = __webpack_require__(60); + + var $RangeError = RangeError; + + module.exports = function (it) { + var result = toIntegerOrInfinity(it); + if (result < 0) throw new $RangeError("The argument can't be less than 0"); + return result; + }; + + + /***/ }), /* 188 */ - /***/ (function (module, exports, __webpack_require__) { - - var isInteger = __webpack_require__(186); - var abs = Math.abs; - - // `Number.isSafeInteger` method - // https://tc39.github.io/ecma262/#sec-number.issafeinteger - __webpack_require__(7)({ target: 'Number', stat: true }, { - isSafeInteger: function isSafeInteger(number) { - return isInteger(number) && abs(number) <= 0x1fffffffffffff; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var arrayToReversed = __webpack_require__(110); + var ArrayBufferViewCore = __webpack_require__(181); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + + // `%TypedArray%.prototype.toReversed` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.toreversed + exportTypedArrayMethod('toReversed', function toReversed() { + return arrayToReversed(aTypedArray(this), getTypedArrayConstructor(this)); + }); + + + /***/ }), /* 189 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Number.MAX_SAFE_INTEGER` constant - // https://tc39.github.io/ecma262/#sec-number.max_safe_integer - __webpack_require__(7)({ target: 'Number', stat: true }, { MAX_SAFE_INTEGER: 0x1fffffffffffff }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var ArrayBufferViewCore = __webpack_require__(181); + var uncurryThis = __webpack_require__(13); + var aCallable = __webpack_require__(29); + var arrayFromConstructorAndList = __webpack_require__(112); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var sort = uncurryThis(ArrayBufferViewCore.TypedArrayPrototype.sort); + + // `%TypedArray%.prototype.toSorted` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tosorted + exportTypedArrayMethod('toSorted', function toSorted(compareFn) { + if (compareFn !== undefined) aCallable(compareFn); + var O = aTypedArray(this); + var A = arrayFromConstructorAndList(getTypedArrayConstructor(O), O); + return sort(A, compareFn); + }); + + + /***/ }), /* 190 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Number.MIN_SAFE_INTEGER` constant - // https://tc39.github.io/ecma262/#sec-number.min_safe_integer - __webpack_require__(7)({ target: 'Number', stat: true }, { MIN_SAFE_INTEGER: -0x1fffffffffffff }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var arrayWith = __webpack_require__(116); + var ArrayBufferViewCore = __webpack_require__(181); + var isBigIntArray = __webpack_require__(191); + var toIntegerOrInfinity = __webpack_require__(60); + var toBigInt = __webpack_require__(192); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + + var PROPER_ORDER = !!function () { + try { + // eslint-disable-next-line no-throw-literal, es/no-typed-arrays, es/no-array-prototype-with -- required for testing + new Int8Array(1)['with'](2, { valueOf: function () { throw 8; } }); + } catch (error) { + // some early implementations, like WebKit, does not follow the final semantic + // https://github.com/tc39/proposal-change-array-by-copy/pull/86 + return error === 8; + } + }(); + + // `%TypedArray%.prototype.with` method + // https://tc39.es/ecma262/#sec-%typedarray%.prototype.with + exportTypedArrayMethod('with', { 'with': function (index, value) { + var O = aTypedArray(this); + var relativeIndex = toIntegerOrInfinity(index); + var actualValue = isBigIntArray(O) ? toBigInt(value) : +value; + return arrayWith(O, getTypedArrayConstructor(O), relativeIndex, actualValue); + } }['with'], !PROPER_ORDER); + + + /***/ }), /* 191 */ - /***/ (function (module, exports, __webpack_require__) { - - var parseFloat = __webpack_require__(192); - - // `Number.parseFloat` method - // https://tc39.github.io/ecma262/#sec-number.parseFloat - __webpack_require__(7)({ target: 'Number', stat: true, forced: Number.parseFloat != parseFloat }, { - parseFloat: parseFloat - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classof = __webpack_require__(77); + + module.exports = function (it) { + var klass = classof(it); + return klass === 'BigInt64Array' || klass === 'BigUint64Array'; + }; + + + /***/ }), /* 192 */ - /***/ (function (module, exports, __webpack_require__) { - - var nativeParseFloat = __webpack_require__(2).parseFloat; - var internalStringTrim = __webpack_require__(180); - var whitespaces = __webpack_require__(181); - var FORCED = 1 / nativeParseFloat(whitespaces + '-0') !== -Infinity; - - module.exports = FORCED ? function parseFloat(str) { - var string = internalStringTrim(String(str), 3); - var result = nativeParseFloat(string); - return result === 0 && string.charAt(0) == '-' ? -0 : result; - } : nativeParseFloat; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var toPrimitive = __webpack_require__(18); + + var $TypeError = TypeError; + + // `ToBigInt` abstract operation + // https://tc39.es/ecma262/#sec-tobigint + module.exports = function (argument) { + var prim = toPrimitive(argument, 'number'); + if (typeof prim == 'number') throw new $TypeError("Can't convert number to bigint"); + // eslint-disable-next-line es/no-bigint -- safe + return BigInt(prim); + }; + + + /***/ }), /* 193 */ - /***/ (function (module, exports, __webpack_require__) { - - var parseInt = __webpack_require__(194); - - // `Number.parseInt` method - // https://tc39.github.io/ecma262/#sec-number.parseint - __webpack_require__(7)({ target: 'Number', stat: true, forced: Number.parseInt != parseInt }, { - parseInt: parseInt - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isPrototypeOf = __webpack_require__(23); + var getPrototypeOf = __webpack_require__(85); + var setPrototypeOf = __webpack_require__(69); + var copyConstructorProperties = __webpack_require__(54); + var create = __webpack_require__(87); + var createNonEnumerableProperty = __webpack_require__(42); + var createPropertyDescriptor = __webpack_require__(10); + var installErrorStack = __webpack_require__(80); + var normalizeStringArgument = __webpack_require__(75); + var wellKnownSymbol = __webpack_require__(32); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var $Error = Error; + + var $SuppressedError = function SuppressedError(error, suppressed, message) { + var isInstance = isPrototypeOf(SuppressedErrorPrototype, this); + var that; + if (setPrototypeOf) { + that = setPrototypeOf(new $Error(), isInstance ? getPrototypeOf(this) : SuppressedErrorPrototype); + } else { + that = isInstance ? this : create(SuppressedErrorPrototype); + createNonEnumerableProperty(that, TO_STRING_TAG, 'Error'); + } + if (message !== undefined) createNonEnumerableProperty(that, 'message', normalizeStringArgument(message)); + installErrorStack(that, $SuppressedError, that.stack, 1); + createNonEnumerableProperty(that, 'error', error); + createNonEnumerableProperty(that, 'suppressed', suppressed); + return that; + }; + + if (setPrototypeOf) setPrototypeOf($SuppressedError, $Error); + else copyConstructorProperties($SuppressedError, $Error, { name: true }); + + var SuppressedErrorPrototype = $SuppressedError.prototype = create($Error.prototype, { + constructor: createPropertyDescriptor(1, $SuppressedError), + message: createPropertyDescriptor(1, ''), + name: createPropertyDescriptor(1, 'SuppressedError') + }); + + // `SuppressedError` constructor + // https://github.com/tc39/proposal-explicit-resource-management + $({ global: true, constructor: true, arity: 3 }, { + SuppressedError: $SuppressedError + }); + + + /***/ }), /* 194 */ - /***/ (function (module, exports, __webpack_require__) { - - var nativeParseInt = __webpack_require__(2).parseInt; - var internalStringTrim = __webpack_require__(180); - var whitespaces = __webpack_require__(181); - var hex = /^[-+]?0[xX]/; - var FORCED = nativeParseInt(whitespaces + '08') !== 8 || nativeParseInt(whitespaces + '0x16') !== 22; - - module.exports = FORCED ? function parseInt(str, radix) { - var string = internalStringTrim(String(str), 3); - return nativeParseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10)); - } : nativeParseInt; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var fromAsync = __webpack_require__(195); + + // `Array.fromAsync` method + // https://github.com/tc39/proposal-array-from-async + $({ target: 'Array', stat: true }, { + fromAsync: fromAsync + }); + + + /***/ }), /* 195 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toInteger = __webpack_require__(37); - var thisNumberValue = __webpack_require__(196); - var repeat = __webpack_require__(197); - var nativeToFixed = 1.0.toFixed; - var floor = Math.floor; - var data = [0, 0, 0, 0, 0, 0]; - - var multiply = function (n, c) { - var i = -1; - var c2 = c; - while (++i < 6) { - c2 += n * data[i]; - data[i] = c2 % 1e7; - c2 = floor(c2 / 1e7); - } - }; - - var divide = function (n) { - var i = 6; - var c = 0; - while (--i >= 0) { - c += data[i]; - data[i] = floor(c / n); - c = (c % n) * 1e7; - } - }; - - var numToString = function () { - var i = 6; - var s = ''; - while (--i >= 0) { - if (s !== '' || i === 0 || data[i] !== 0) { - var t = String(data[i]); - s = s === '' ? t : s + repeat.call('0', 7 - t.length) + t; - } - } return s; - }; - - var pow = function (x, n, acc) { - return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc); - }; - - var log = function (x) { - var n = 0; - var x2 = x; - while (x2 >= 4096) { - n += 12; - x2 /= 4096; - } - while (x2 >= 2) { - n += 1; - x2 /= 2; - } return n; - }; - - // `Number.prototype.toFixed` method - // https://tc39.github.io/ecma262/#sec-number.prototype.tofixed - __webpack_require__(7)({ - target: 'Number', proto: true, forced: nativeToFixed && ( - 0.00008.toFixed(3) !== '0.000' || - 0.9.toFixed(0) !== '1' || - 1.255.toFixed(2) !== '1.25' || - 1000000000000000128.0.toFixed(0) !== '1000000000000000128' - ) || !__webpack_require__(5)(function () { - // V8 ~ Android 4.3- - nativeToFixed.call({}); - }) - }, { - toFixed: function toFixed(fractionDigits) { - var x = thisNumberValue(this); - var f = toInteger(fractionDigits); - var s = ''; - var m = '0'; - var e, z, j, k; - if (f < 0 || f > 20) throw RangeError('Incorrect fraction digits'); - // eslint-disable-next-line no-self-compare - if (x != x) return 'NaN'; - if (x <= -1e21 || x >= 1e21) return String(x); - if (x < 0) { - s = '-'; - x = -x; - } - if (x > 1e-21) { - e = log(x * pow(2, 69, 1)) - 69; - z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1); - z *= 0x10000000000000; - e = 52 - e; - if (e > 0) { - multiply(0, z); - j = f; - while (j >= 7) { - multiply(1e7, 0); - j -= 7; - } - multiply(pow(10, j, 1), 0); - j = e - 1; - while (j >= 23) { - divide(1 << 23); - j -= 23; - } - divide(1 << j); - multiply(1, 1); - divide(2); - m = numToString(); - } else { - multiply(0, z); - multiply(1 << -e, 0); - m = numToString() + repeat.call('0', f); - } - } - if (f > 0) { - k = m.length; - m = s + (k <= f ? '0.' + repeat.call('0', f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f)); - } else { - m = s + m; - } return m; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var bind = __webpack_require__(92); + var uncurryThis = __webpack_require__(13); + var toObject = __webpack_require__(38); + var isConstructor = __webpack_require__(143); + var getAsyncIterator = __webpack_require__(196); + var getIterator = __webpack_require__(96); + var getIteratorDirect = __webpack_require__(201); + var getIteratorMethod = __webpack_require__(97); + var getMethod = __webpack_require__(28); + var getBuiltIn = __webpack_require__(22); + var getBuiltInPrototypeMethod = __webpack_require__(113); + var wellKnownSymbol = __webpack_require__(32); + var AsyncFromSyncIterator = __webpack_require__(197); + var toArray = __webpack_require__(202).toArray; + + var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); + var arrayIterator = uncurryThis(getBuiltInPrototypeMethod('Array', 'values')); + var arrayIteratorNext = uncurryThis(arrayIterator([]).next); + + var safeArrayIterator = function () { + return new SafeArrayIterator(this); + }; + + var SafeArrayIterator = function (O) { + this.iterator = arrayIterator(O); + }; + + SafeArrayIterator.prototype.next = function () { + return arrayIteratorNext(this.iterator); + }; + + // `Array.fromAsync` method implementation + // https://github.com/tc39/proposal-array-from-async + module.exports = function fromAsync(asyncItems /* , mapfn = undefined, thisArg = undefined */) { + var C = this; + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : undefined; + var thisArg = argumentsLength > 2 ? arguments[2] : undefined; + return new (getBuiltIn('Promise'))(function (resolve) { + var O = toObject(asyncItems); + if (mapfn !== undefined) mapfn = bind(mapfn, thisArg); + var usingAsyncIterator = getMethod(O, ASYNC_ITERATOR); + var usingSyncIterator = usingAsyncIterator ? undefined : getIteratorMethod(O) || safeArrayIterator; + var A = isConstructor(C) ? new C() : []; + var iterator = usingAsyncIterator + ? getAsyncIterator(O, usingAsyncIterator) + : new AsyncFromSyncIterator(getIteratorDirect(getIterator(O, usingSyncIterator))); + resolve(toArray(iterator, mapfn, A)); + }); + }; + + + /***/ }), /* 196 */ - /***/ (function (module, exports, __webpack_require__) { - - var classof = __webpack_require__(13); - - // `thisNumberValue` abstract operation - // https://tc39.github.io/ecma262/#sec-thisnumbervalue - module.exports = function (value) { - if (typeof value != 'number' && classof(value) != 'Number') { - throw TypeError('Incorrect invocation'); - } - return +value; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var AsyncFromSyncIterator = __webpack_require__(197); + var anObject = __webpack_require__(45); + var getIterator = __webpack_require__(96); + var getIteratorDirect = __webpack_require__(201); + var getMethod = __webpack_require__(28); + var wellKnownSymbol = __webpack_require__(32); + + var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); + + module.exports = function (it, usingIterator) { + var method = arguments.length < 2 ? getMethod(it, ASYNC_ITERATOR) : usingIterator; + return method ? anObject(call(method, it)) : new AsyncFromSyncIterator(getIteratorDirect(getIterator(it))); + }; + + + /***/ }), /* 197 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toInteger = __webpack_require__(37); - var requireObjectCoercible = __webpack_require__(14); - - // `String.prototype.repeat` method implementation - // https://tc39.github.io/ecma262/#sec-string.prototype.repeat - module.exports = ''.repeat || function repeat(count) { - var str = String(requireObjectCoercible(this)); - var result = ''; - var n = toInteger(count); - if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions'); - for (; n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str; - return result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var create = __webpack_require__(87); + var getMethod = __webpack_require__(28); + var defineBuiltIns = __webpack_require__(198); + var InternalStateModule = __webpack_require__(50); + var getBuiltIn = __webpack_require__(22); + var AsyncIteratorPrototype = __webpack_require__(199); + var createIterResultObject = __webpack_require__(200); + + var Promise = getBuiltIn('Promise'); + + var ASYNC_FROM_SYNC_ITERATOR = 'AsyncFromSyncIterator'; + var setInternalState = InternalStateModule.set; + var getInternalState = InternalStateModule.getterFor(ASYNC_FROM_SYNC_ITERATOR); + + var asyncFromSyncIteratorContinuation = function (result, resolve, reject) { + var done = result.done; + Promise.resolve(result.value).then(function (value) { + resolve(createIterResultObject(value, done)); + }, reject); + }; + + var AsyncFromSyncIterator = function AsyncIterator(iteratorRecord) { + iteratorRecord.type = ASYNC_FROM_SYNC_ITERATOR; + setInternalState(this, iteratorRecord); + }; + + AsyncFromSyncIterator.prototype = defineBuiltIns(create(AsyncIteratorPrototype), { + next: function next() { + var state = getInternalState(this); + return new Promise(function (resolve, reject) { + var result = anObject(call(state.next, state.iterator)); + asyncFromSyncIteratorContinuation(result, resolve, reject); + }); + }, + 'return': function () { + var iterator = getInternalState(this).iterator; + return new Promise(function (resolve, reject) { + var $return = getMethod(iterator, 'return'); + if ($return === undefined) return resolve(createIterResultObject(undefined, true)); + var result = anObject(call($return, iterator)); + asyncFromSyncIteratorContinuation(result, resolve, reject); + }); + } + }); + + module.exports = AsyncFromSyncIterator; + + + /***/ }), /* 198 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var fails = __webpack_require__(5); - var thisNumberValue = __webpack_require__(196); - var nativeToPrecision = 1.0.toPrecision; - - // `Number.prototype.toPrecision` method - // https://tc39.github.io/ecma262/#sec-number.prototype.toprecision - __webpack_require__(7)({ - target: 'Number', proto: true, forced: fails(function () { - // IE7- - return nativeToPrecision.call(1, undefined) !== '1'; - }) || !fails(function () { - // V8 ~ Android 4.3- - nativeToPrecision.call({}); - }) - }, { - toPrecision: function toPrecision(precision) { - return precision === undefined - ? nativeToPrecision.call(thisNumberValue(this)) - : nativeToPrecision.call(thisNumberValue(this), precision); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineBuiltIn = __webpack_require__(46); + + module.exports = function (target, src, options) { + for (var key in src) defineBuiltIn(target, key, src[key], options); + return target; + }; + + + /***/ }), /* 199 */ - /***/ (function (module, exports, __webpack_require__) { - - var assign = __webpack_require__(200); - - // `Object.assign` method - // https://tc39.github.io/ecma262/#sec-object.assign - __webpack_require__(7)({ target: 'Object', stat: true, forced: Object.assign !== assign }, { assign: assign }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var shared = __webpack_require__(34); + var isCallable = __webpack_require__(20); + var create = __webpack_require__(87); + var getPrototypeOf = __webpack_require__(85); + var defineBuiltIn = __webpack_require__(46); + var wellKnownSymbol = __webpack_require__(32); + var IS_PURE = __webpack_require__(35); + + var USE_FUNCTION_CONSTRUCTOR = 'USE_FUNCTION_CONSTRUCTOR'; + var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); + var AsyncIterator = global.AsyncIterator; + var PassedAsyncIteratorPrototype = shared.AsyncIteratorPrototype; + var AsyncIteratorPrototype, prototype; + + if (PassedAsyncIteratorPrototype) { + AsyncIteratorPrototype = PassedAsyncIteratorPrototype; + } else if (isCallable(AsyncIterator)) { + AsyncIteratorPrototype = AsyncIterator.prototype; + } else if (shared[USE_FUNCTION_CONSTRUCTOR] || global[USE_FUNCTION_CONSTRUCTOR]) { + try { + // eslint-disable-next-line no-new-func -- we have no alternatives without usage of modern syntax + prototype = getPrototypeOf(getPrototypeOf(getPrototypeOf(Function('return async function*(){}()')()))); + if (getPrototypeOf(prototype) === Object.prototype) AsyncIteratorPrototype = prototype; + } catch (error) { /* empty */ } + } + + if (!AsyncIteratorPrototype) AsyncIteratorPrototype = {}; + else if (IS_PURE) AsyncIteratorPrototype = create(AsyncIteratorPrototype); + + if (!isCallable(AsyncIteratorPrototype[ASYNC_ITERATOR])) { + defineBuiltIn(AsyncIteratorPrototype, ASYNC_ITERATOR, function () { + return this; + }); + } + + module.exports = AsyncIteratorPrototype; + + + /***/ }), /* 200 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // 19.1.2.1 Object.assign(target, source, ...) - var objectKeys = __webpack_require__(49); - var getOwnPropertySymbolsModule = __webpack_require__(40); - var propertyIsEnumerableModule = __webpack_require__(9); - var toObject = __webpack_require__(69); - var IndexedObject = __webpack_require__(12); - var nativeAssign = Object.assign; - - // should work with symbols and should have deterministic property order (V8 bug) - module.exports = !nativeAssign || __webpack_require__(5)(function () { - var A = {}; - var B = {}; - // eslint-disable-next-line no-undef - var symbol = Symbol(); - var alphabet = 'abcdefghijklmnopqrst'; - A[symbol] = 7; - alphabet.split('').forEach(function (chr) { B[chr] = chr; }); - return nativeAssign({}, A)[symbol] != 7 || objectKeys(nativeAssign({}, B)).join('') != alphabet; - }) ? function assign(target, source) { // eslint-disable-line no-unused-vars - var T = toObject(target); - var argumentsLength = arguments.length; - var index = 1; - var getOwnPropertySymbols = getOwnPropertySymbolsModule.f; - var propertyIsEnumerable = propertyIsEnumerableModule.f; - while (argumentsLength > index) { - var S = IndexedObject(arguments[index++]); - var keys = getOwnPropertySymbols ? objectKeys(S).concat(getOwnPropertySymbols(S)) : objectKeys(S); - var length = keys.length; - var j = 0; - var key; - while (length > j) if (propertyIsEnumerable.call(S, key = keys[j++])) T[key] = S[key]; - } return T; - } : nativeAssign; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // `CreateIterResultObject` abstract operation + // https://tc39.es/ecma262/#sec-createiterresultobject + module.exports = function (value, done) { + return { value: value, done: done }; + }; + + + /***/ }), /* 201 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Object.create` method - // https://tc39.github.io/ecma262/#sec-object.create - __webpack_require__(7)({ - target: 'Object', stat: true, sham: !__webpack_require__(4) - }, { create: __webpack_require__(51) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // `GetIteratorDirect(obj)` abstract operation + // https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect + module.exports = function (obj) { + return { + iterator: obj, + next: obj.next, + done: false + }; + }; + + + /***/ }), /* 202 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toObject = __webpack_require__(69); - var aFunction = __webpack_require__(79); - var definePropertyModule = __webpack_require__(20); - var FORCED = __webpack_require__(203); - - // `Object.prototype.__defineGetter__` method - // https://tc39.github.io/ecma262/#sec-object.prototype.__defineGetter__ - if (__webpack_require__(4)) { - __webpack_require__(7)({ target: 'Object', proto: true, forced: FORCED }, { - __defineGetter__: function __defineGetter__(P, getter) { - definePropertyModule.f(toObject(this), P, { get: aFunction(getter), enumerable: true, configurable: true }); - } - }); - } - - - /***/ -}), - /* 203 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // Forced replacement object prototype accessors methods - module.exports = __webpack_require__(6) || !__webpack_require__(5)(function () { - var key = Math.random(); - // In FF throws only define methods - // eslint-disable-next-line no-undef, no-useless-call - __defineSetter__.call(null, key, function () { /* empty */ }); - delete __webpack_require__(2)[key]; - }); - - - /***/ -}), - /* 204 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - - // `Object.defineProperties` method - // https://tc39.github.io/ecma262/#sec-object.defineproperties - __webpack_require__(7)({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, { - defineProperties: __webpack_require__(52) - }); - - - /***/ -}), - /* 205 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - - // `Object.defineProperty` method - // https://tc39.github.io/ecma262/#sec-object.defineproperty - __webpack_require__(7)({ target: 'Object', stat: true, forced: !DESCRIPTORS, sham: !DESCRIPTORS }, { - defineProperty: __webpack_require__(20).f - }); - - - /***/ -}), - /* 206 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toObject = __webpack_require__(69); - var aFunction = __webpack_require__(79); - var definePropertyModule = __webpack_require__(20); - var FORCED = __webpack_require__(203); - - // `Object.prototype.__defineSetter__` method - // https://tc39.github.io/ecma262/#sec-object.prototype.__defineSetter__ - if (__webpack_require__(4)) { - __webpack_require__(7)({ target: 'Object', proto: true, forced: FORCED }, { - __defineSetter__: function __defineSetter__(P, setter) { - definePropertyModule.f(toObject(this), P, { set: aFunction(setter), enumerable: true, configurable: true }); - } - }); - } - - - /***/ -}), - /* 207 */ - /***/ (function (module, exports, __webpack_require__) { - - var objectToArray = __webpack_require__(208); - - // `Object.entries` method - // https://tc39.github.io/ecma262/#sec-object.entries - __webpack_require__(7)({ target: 'Object', stat: true }, { - entries: function entries(O) { - return objectToArray(O, true); - } - }); - - - /***/ -}), - /* 208 */ - /***/ (function (module, exports, __webpack_require__) { - - var objectKeys = __webpack_require__(49); - var toIndexedObject = __webpack_require__(11); - var propertyIsEnumerable = __webpack_require__(9).f; - - // TO_ENTRIES: true -> Object.entries - // TO_ENTRIES: false -> Object.values - module.exports = function (it, TO_ENTRIES) { - var O = toIndexedObject(it); - var keys = objectKeys(O); - var length = keys.length; - var i = 0; - var result = []; - var key; - while (length > i) if (propertyIsEnumerable.call(O, key = keys[i++])) { - result.push(TO_ENTRIES ? [key, O[key]] : O[key]); - } return result; - }; - - - /***/ -}), - /* 209 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var onFreeze = __webpack_require__(152).onFreeze; - var nativeFreeze = Object.freeze; - var FREEZING = __webpack_require__(153); - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeFreeze(1); }); - - // `Object.freeze` method - // https://tc39.github.io/ecma262/#sec-object.freeze - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { - freeze: function freeze(it) { - return nativeFreeze && isObject(it) ? nativeFreeze(onFreeze(it)) : it; - } - }); - - - /***/ -}), - /* 210 */ - /***/ (function (module, exports, __webpack_require__) { - - var iterate = __webpack_require__(154); - var createProperty = __webpack_require__(70); - - // `Object.fromEntries` method - // https://github.com/tc39/proposal-object-from-entries - __webpack_require__(7)({ target: 'Object', stat: true }, { - fromEntries: function fromEntries(iterable) { - var obj = {}; - iterate(iterable, function (k, v) { - createProperty(obj, k, v); - }, undefined, true); - return obj; - } - }); - - - /***/ -}), - /* 211 */ - /***/ (function (module, exports, __webpack_require__) { - - var toIndexedObject = __webpack_require__(11); - var nativeGetOwnPropertyDescriptor = __webpack_require__(8).f; - var DESCRIPTORS = __webpack_require__(4); - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeGetOwnPropertyDescriptor(1); }); - var FORCED = !DESCRIPTORS || FAILS_ON_PRIMITIVES; - - // `Object.getOwnPropertyDescriptor` method - // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptor - __webpack_require__(7)({ target: 'Object', stat: true, forced: FORCED, sham: !DESCRIPTORS }, { - getOwnPropertyDescriptor: function getOwnPropertyDescriptor(it, key) { - return nativeGetOwnPropertyDescriptor(toIndexedObject(it), key); - } - }); - - - /***/ -}), - /* 212 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - var ownKeys = __webpack_require__(32); - var toIndexedObject = __webpack_require__(11); - var getOwnPropertyDescriptorModule = __webpack_require__(8); - var createProperty = __webpack_require__(70); - - // `Object.getOwnPropertyDescriptors` method - // https://tc39.github.io/ecma262/#sec-object.getownpropertydescriptors - __webpack_require__(7)({ target: 'Object', stat: true, sham: !DESCRIPTORS }, { - getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) { - var O = toIndexedObject(object); - var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - var keys = ownKeys(O); - var result = {}; - var i = 0; - var key, descriptor; - while (keys.length > i) { - descriptor = getOwnPropertyDescriptor(O, key = keys[i++]); - if (descriptor !== undefined) createProperty(result, key, descriptor); - } - return result; - } - }); - - - /***/ -}), - /* 213 */ - /***/ (function (module, exports, __webpack_require__) { - - var nativeGetOwnPropertyNames = __webpack_require__(54).f; - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { Object.getOwnPropertyNames(1); }); - - // `Object.getOwnPropertyNames` method - // https://tc39.github.io/ecma262/#sec-object.getownpropertynames - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - getOwnPropertyNames: nativeGetOwnPropertyNames - }); - - - /***/ -}), - /* 214 */ - /***/ (function (module, exports, __webpack_require__) { - - var toObject = __webpack_require__(69); - var nativeGetPrototypeOf = __webpack_require__(106); - var CORRECT_PROTOTYPE_GETTER = __webpack_require__(107); - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeGetPrototypeOf(1); }); - - // `Object.getPrototypeOf` method - // https://tc39.github.io/ecma262/#sec-object.getprototypeof - __webpack_require__(7)({ - target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER - }, { - getPrototypeOf: function getPrototypeOf(it) { - return nativeGetPrototypeOf(toObject(it)); - } - }); - - - - /***/ -}), - /* 215 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Object.is` method - // https://tc39.github.io/ecma262/#sec-object.is - __webpack_require__(7)({ target: 'Object', stat: true }, { is: __webpack_require__(216) }); - - - /***/ -}), - /* 216 */ - /***/ (function (module, exports) { - - // `SameValue` abstract operation - // https://tc39.github.io/ecma262/#sec-samevalue - module.exports = Object.is || function is(x, y) { - // eslint-disable-next-line no-self-compare - return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y; - }; - - - /***/ -}), - /* 217 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var nativeIsExtensible = Object.isExtensible; - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeIsExtensible(1); }); - - // `Object.isExtensible` method - // https://tc39.github.io/ecma262/#sec-object.isextensible - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - isExtensible: function isExtensible(it) { - return isObject(it) ? nativeIsExtensible ? nativeIsExtensible(it) : true : false; - } - }); - - - /***/ -}), - /* 218 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var nativeIsFrozen = Object.isFrozen; - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeIsFrozen(1); }); - - // `Object.isFrozen` method - // https://tc39.github.io/ecma262/#sec-object.isfrozen - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - isFrozen: function isFrozen(it) { - return isObject(it) ? nativeIsFrozen ? nativeIsFrozen(it) : false : true; - } - }); - - - /***/ -}), - /* 219 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var nativeIsSealed = Object.isSealed; - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeIsSealed(1); }); - - // `Object.isSealed` method - // https://tc39.github.io/ecma262/#sec-object.issealed - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - isSealed: function isSealed(it) { - return isObject(it) ? nativeIsSealed ? nativeIsSealed(it) : false : true; - } - }); - - - /***/ -}), - /* 220 */ - /***/ (function (module, exports, __webpack_require__) { - - var toObject = __webpack_require__(69); - var nativeKeys = __webpack_require__(49); - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeKeys(1); }); - - // `Object.keys` method - // https://tc39.github.io/ecma262/#sec-object.keys - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, { - keys: function keys(it) { - return nativeKeys(toObject(it)); - } - }); - - - /***/ -}), - /* 221 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toObject = __webpack_require__(69); - var toPrimitive = __webpack_require__(15); - var getPrototypeOf = __webpack_require__(106); - var getOwnPropertyDescriptor = __webpack_require__(8).f; - var FORCED = __webpack_require__(203); - - // `Object.prototype.__lookupGetter__` method - // https://tc39.github.io/ecma262/#sec-object.prototype.__lookupGetter__ - if (__webpack_require__(4)) { - __webpack_require__(7)({ target: 'Object', proto: true, forced: FORCED }, { - __lookupGetter__: function __lookupGetter__(P) { - var O = toObject(this); - var key = toPrimitive(P, true); - var desc; - do { - if (desc = getOwnPropertyDescriptor(O, key)) return desc.get; - } while (O = getPrototypeOf(O)); - } - }); - } - - - /***/ -}), - /* 222 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toObject = __webpack_require__(69); - var toPrimitive = __webpack_require__(15); - var getPrototypeOf = __webpack_require__(106); - var getOwnPropertyDescriptor = __webpack_require__(8).f; - var FORCED = __webpack_require__(203); - - // `Object.prototype.__lookupSetter__` method - // https://tc39.github.io/ecma262/#sec-object.prototype.__lookupSetter__ - if (__webpack_require__(4)) { - __webpack_require__(7)({ target: 'Object', proto: true, forced: FORCED }, { - __lookupSetter__: function __lookupSetter__(P) { - var O = toObject(this); - var key = toPrimitive(P, true); - var desc; - do { - if (desc = getOwnPropertyDescriptor(O, key)) return desc.set; - } while (O = getPrototypeOf(O)); - } - }); - } - - - /***/ -}), - /* 223 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var onFreeze = __webpack_require__(152).onFreeze; - var nativePreventExtensions = Object.preventExtensions; - var FREEZING = __webpack_require__(153); - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativePreventExtensions(1); }); - - // `Object.preventExtensions` method - // https://tc39.github.io/ecma262/#sec-object.preventextensions - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { - preventExtensions: function preventExtensions(it) { - return nativePreventExtensions && isObject(it) ? nativePreventExtensions(onFreeze(it)) : it; - } - }); - - - /***/ -}), - /* 224 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var onFreeze = __webpack_require__(152).onFreeze; - var nativeSeal = Object.seal; - var FREEZING = __webpack_require__(153); - var FAILS_ON_PRIMITIVES = __webpack_require__(5)(function () { nativeSeal(1); }); - - // `Object.seal` method - // https://tc39.github.io/ecma262/#sec-object.seal - __webpack_require__(7)({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !FREEZING }, { - seal: function seal(it) { - return nativeSeal && isObject(it) ? nativeSeal(onFreeze(it)) : it; - } - }); - - - /***/ -}), - /* 225 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Object.setPrototypeOf` method - // https://tc39.github.io/ecma262/#sec-object.setprototypeof - __webpack_require__(7)({ target: 'Object', stat: true }, { - setPrototypeOf: __webpack_require__(108) - }); - - - /***/ -}), - /* 226 */ - /***/ (function (module, exports, __webpack_require__) { - - var toString = __webpack_require__(227); - var ObjectPrototype = Object.prototype; - - // `Object.prototype.toString` method - // https://tc39.github.io/ecma262/#sec-object.prototype.tostring - if (toString !== ObjectPrototype.toString) { - __webpack_require__(22)(ObjectPrototype, 'toString', toString, { unsafe: true }); - } - - - /***/ -}), - /* 227 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var classof = __webpack_require__(98); - var TO_STRING_TAG = __webpack_require__(43)('toStringTag'); - var test = {}; - - test[TO_STRING_TAG] = 'z'; - - // `Object.prototype.toString` method implementation - // https://tc39.github.io/ecma262/#sec-object.prototype.tostring - module.exports = String(test) !== '[object z]' ? function toString() { - return '[object ' + classof(this) + ']'; - } : test.toString; - - - /***/ -}), - /* 228 */ - /***/ (function (module, exports, __webpack_require__) { - - var objectToArray = __webpack_require__(208); - - // `Object.values` method - // https://tc39.github.io/ecma262/#sec-object.values - __webpack_require__(7)({ target: 'Object', stat: true }, { - values: function values(O) { - return objectToArray(O); - } - }); - - - /***/ -}), - /* 229 */ - /***/ (function (module, exports, __webpack_require__) { - - var parseFloatImplementation = __webpack_require__(192); - - // `parseFloat` method - // https://tc39.github.io/ecma262/#sec-parsefloat-string - __webpack_require__(7)({ global: true, forced: parseFloat != parseFloatImplementation }, { - parseFloat: parseFloatImplementation - }); - - - /***/ -}), - /* 230 */ - /***/ (function (module, exports, __webpack_require__) { - - var parseIntImplementation = __webpack_require__(194); - - // `parseInt` method - // https://tc39.github.io/ecma262/#sec-parseint-string-radix - __webpack_require__(7)({ global: true, forced: parseInt != parseIntImplementation }, { - parseInt: parseIntImplementation - }); - - - /***/ -}), - /* 231 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var PROMISE = 'Promise'; - var IS_PURE = __webpack_require__(6); - var global = __webpack_require__(2); - var $export = __webpack_require__(7); - var isObject = __webpack_require__(16); - var aFunction = __webpack_require__(79); - var anInstance = __webpack_require__(132); - var classof = __webpack_require__(13); - var iterate = __webpack_require__(154); - var checkCorrectnessOfIteration = __webpack_require__(92); - var speciesConstructor = __webpack_require__(136); - var task = __webpack_require__(232).set; - var microtask = __webpack_require__(233); - var promiseResolve = __webpack_require__(235); - var hostReportErrors = __webpack_require__(237); - var newPromiseCapabilityModule = __webpack_require__(236); - var perform = __webpack_require__(238); - var userAgent = __webpack_require__(234); - var SPECIES = __webpack_require__(43)('species'); - var InternalStateModule = __webpack_require__(26); - var isForced = __webpack_require__(41); - var getInternalState = InternalStateModule.get; - var setInternalState = InternalStateModule.set; - var getInternalPromiseState = InternalStateModule.getterFor(PROMISE); - var PromiseConstructor = global[PROMISE]; - var TypeError = global.TypeError; - var document = global.document; - var process = global.process; - var $fetch = global.fetch; - var versions = process && process.versions; - var v8 = versions && versions.v8 || ''; - var newPromiseCapability = newPromiseCapabilityModule.f; - var newGenericPromiseCapability = newPromiseCapability; - var IS_NODE = classof(process) == 'process'; - var DISPATCH_EVENT = !!(document && document.createEvent && global.dispatchEvent); - var UNHANDLED_REJECTION = 'unhandledrejection'; - var REJECTION_HANDLED = 'rejectionhandled'; - var PENDING = 0; - var FULFILLED = 1; - var REJECTED = 2; - var HANDLED = 1; - var UNHANDLED = 2; - var Internal, OwnPromiseCapability, PromiseWrapper; - - var FORCED = isForced(PROMISE, function () { - // correct subclassing with @@species support - var promise = PromiseConstructor.resolve(1); - var empty = function () { /* empty */ }; - var FakePromise = (promise.constructor = {})[SPECIES] = function (exec) { - exec(empty, empty); - }; - // unhandled rejections tracking support, NodeJS Promise without it fails @@species test - return !((IS_NODE || typeof PromiseRejectionEvent == 'function') - && (!IS_PURE || promise['finally']) - && promise.then(empty) instanceof FakePromise - // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables - // https://bugs.chromium.org/p/chromium/issues/detail?id=830565 - // we can't detect it synchronously, so just check versions - && v8.indexOf('6.6') !== 0 - && userAgent.indexOf('Chrome/66') === -1); - }); - - var INCORRECT_ITERATION = FORCED || !checkCorrectnessOfIteration(function (iterable) { - PromiseConstructor.all(iterable)['catch'](function () { /* empty */ }); - }); - - // helpers - var isThenable = function (it) { - var then; - return isObject(it) && typeof (then = it.then) == 'function' ? then : false; - }; - - var notify = function (promise, state, isReject) { - if (state.notified) return; - state.notified = true; - var chain = state.reactions; - microtask(function () { - var value = state.value; - var ok = state.state == FULFILLED; - var i = 0; - var run = function (reaction) { - var handler = ok ? reaction.ok : reaction.fail; - var resolve = reaction.resolve; - var reject = reaction.reject; - var domain = reaction.domain; - var result, then, exited; - try { - if (handler) { - if (!ok) { - if (state.rejection === UNHANDLED) onHandleUnhandled(promise, state); - state.rejection = HANDLED; - } - if (handler === true) result = value; - else { - if (domain) domain.enter(); - result = handler(value); // may throw - if (domain) { - domain.exit(); - exited = true; - } - } - if (result === reaction.promise) { - reject(TypeError('Promise-chain cycle')); - } else if (then = isThenable(result)) { - then.call(result, resolve, reject); - } else resolve(result); - } else reject(value); - } catch (e) { - if (domain && !exited) domain.exit(); - reject(e); - } - }; - while (chain.length > i) run(chain[i++]); // variable length - can't use forEach - state.reactions = []; - state.notified = false; - if (isReject && !state.rejection) onUnhandled(promise, state); - }); - }; - - var dispatchEvent = function (name, promise, reason) { - var event, handler; - if (DISPATCH_EVENT) { - event = document.createEvent('Event'); - event.promise = promise; - event.reason = reason; - event.initEvent(name, false, true); - global.dispatchEvent(event); - } else event = { promise: promise, reason: reason }; - if (handler = global['on' + name]) handler(event); - else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason); - }; - - var onUnhandled = function (promise, state) { - task.call(global, function () { - var value = state.value; - var IS_UNHANDLED = isUnhandled(state); - var result; - if (IS_UNHANDLED) { - result = perform(function () { - if (IS_NODE) { - process.emit('unhandledRejection', value, promise); - } else dispatchEvent(UNHANDLED_REJECTION, promise, value); - }); - // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should - state.rejection = IS_NODE || isUnhandled(state) ? UNHANDLED : HANDLED; - } - if (IS_UNHANDLED && result.e) throw result.v; - }); - }; - - var isUnhandled = function (state) { - return state.rejection !== HANDLED && !state.parent; - }; - - var onHandleUnhandled = function (promise, state) { - task.call(global, function () { - if (IS_NODE) { - process.emit('rejectionHandled', promise); - } else dispatchEvent(REJECTION_HANDLED, promise, state.value); - }); - }; - - var bind = function (fn, promise, state, unwrap) { - return function (value) { - fn(promise, state, value, unwrap); - }; - }; - - var internalReject = function (promise, state, value, unwrap) { - if (state.done) return; - state.done = true; - if (unwrap) state = unwrap; - state.value = value; - state.state = REJECTED; - notify(promise, state, true); - }; - - var internalResolve = function (promise, state, value, unwrap) { - if (state.done) return; - state.done = true; - if (unwrap) state = unwrap; + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://github.com/tc39/proposal-iterator-helpers + // https://github.com/tc39/proposal-array-from-async + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var isObject = __webpack_require__(19); + var doesNotExceedSafeInteger = __webpack_require__(108); + var getBuiltIn = __webpack_require__(22); + var getIteratorDirect = __webpack_require__(201); + var closeAsyncIteration = __webpack_require__(203); + + var createMethod = function (TYPE) { + var IS_TO_ARRAY = TYPE === 0; + var IS_FOR_EACH = TYPE === 1; + var IS_EVERY = TYPE === 2; + var IS_SOME = TYPE === 3; + return function (object, fn, target) { + anObject(object); + var MAPPING = fn !== undefined; + if (MAPPING || !IS_TO_ARRAY) aCallable(fn); + var record = getIteratorDirect(object); + var Promise = getBuiltIn('Promise'); + var iterator = record.iterator; + var next = record.next; + var counter = 0; + + return new Promise(function (resolve, reject) { + var ifAbruptCloseAsyncIterator = function (error) { + closeAsyncIteration(iterator, reject, error, reject); + }; + + var loop = function () { + try { + if (MAPPING) try { + doesNotExceedSafeInteger(counter); + } catch (error5) { ifAbruptCloseAsyncIterator(error5); } + Promise.resolve(anObject(call(next, iterator))).then(function (step) { try { - if (promise === value) throw TypeError("Promise can't be resolved itself"); - var then = isThenable(value); - if (then) { - microtask(function () { - var wrapper = { done: false }; + if (anObject(step).done) { + if (IS_TO_ARRAY) { + target.length = counter; + resolve(target); + } else resolve(IS_SOME ? false : IS_EVERY || undefined); + } else { + var value = step.value; + try { + if (MAPPING) { + var result = fn(value, counter); + + var handler = function ($result) { + if (IS_FOR_EACH) { + loop(); + } else if (IS_EVERY) { + $result ? loop() : closeAsyncIteration(iterator, resolve, false, reject); + } else if (IS_TO_ARRAY) { try { - then.call(value, - bind(internalResolve, promise, wrapper, state), - bind(internalReject, promise, wrapper, state) - ); - } catch (e) { - internalReject(promise, wrapper, e, state); - } - }); - } else { - state.value = value; - state.state = FULFILLED; - notify(promise, state, false); - } - } catch (e) { - internalReject(promise, { done: false }, e, state); - } - }; - - // constructor polyfill - if (FORCED) { - // 25.4.3.1 Promise(executor) - PromiseConstructor = function Promise(executor) { - anInstance(this, PromiseConstructor, PROMISE); - aFunction(executor); - Internal.call(this); - var state = getInternalState(this); - try { - executor(bind(internalResolve, this, state), bind(internalReject, this, state)); - } catch (err) { - internalReject(this, state, err); - } - }; - // eslint-disable-next-line no-unused-vars - Internal = function Promise(executor) { - setInternalState(this, { - type: PROMISE, - done: false, - notified: false, - parent: false, - reactions: [], - rejection: false, - state: PENDING, - value: undefined - }); - }; - Internal.prototype = __webpack_require__(131)(PromiseConstructor.prototype, { - // `Promise.prototype.then` method - // https://tc39.github.io/ecma262/#sec-promise.prototype.then - then: function then(onFulfilled, onRejected) { - var state = getInternalPromiseState(this); - var reaction = newPromiseCapability(speciesConstructor(this, PromiseConstructor)); - reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true; - reaction.fail = typeof onRejected == 'function' && onRejected; - reaction.domain = IS_NODE ? process.domain : undefined; - state.parent = true; - state.reactions.push(reaction); - if (state.state != PENDING) notify(this, state, false); - return reaction.promise; - }, - // `Promise.prototype.catch` method - // https://tc39.github.io/ecma262/#sec-promise.prototype.catch - 'catch': function (onRejected) { - return this.then(undefined, onRejected); - } - }); - OwnPromiseCapability = function () { - var promise = new Internal(); - var state = getInternalState(promise); - this.promise = promise; - this.resolve = bind(internalResolve, promise, state); - this.reject = bind(internalReject, promise, state); - }; - newPromiseCapabilityModule.f = newPromiseCapability = function (C) { - return C === PromiseConstructor || C === PromiseWrapper - ? new OwnPromiseCapability(C) - : newGenericPromiseCapability(C); - }; - - // wrap fetch result - if (!IS_PURE && typeof $fetch == 'function') $export({ global: true, enumerable: true, forced: true }, { - // eslint-disable-next-line no-unused-vars - fetch: function fetch(input) { - return promiseResolve(PromiseConstructor, $fetch.apply(global, arguments)); - } - }); + target[counter++] = $result; + loop(); + } catch (error4) { ifAbruptCloseAsyncIterator(error4); } + } else { + $result ? closeAsyncIteration(iterator, resolve, IS_SOME || value, reject) : loop(); + } + }; + + if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else handler(result); + } else { + target[counter++] = value; + loop(); + } + } catch (error3) { ifAbruptCloseAsyncIterator(error3); } + } + } catch (error2) { reject(error2); } + }, reject); + } catch (error) { reject(error); } + }; + + loop(); + }); + }; + }; + + module.exports = { + toArray: createMethod(0), + forEach: createMethod(1), + every: createMethod(2), + some: createMethod(3), + find: createMethod(4) + }; + + + /***/ }), + /* 203 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var getBuiltIn = __webpack_require__(22); + var getMethod = __webpack_require__(28); + + module.exports = function (iterator, method, argument, reject) { + try { + var returnMethod = getMethod(iterator, 'return'); + if (returnMethod) { + return getBuiltIn('Promise').resolve(call(returnMethod, iterator)).then(function () { + method(argument); + }, function (error) { + reject(error); + }); + } + } catch (error2) { + return reject(error2); + } method(argument); + }; + + + /***/ }), + /* 204 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $filterReject = __webpack_require__(205).filterReject; + var addToUnscopables = __webpack_require__(101); + + // `Array.prototype.filterReject` method + // https://github.com/tc39/proposal-array-filtering + $({ target: 'Array', proto: true, forced: true }, { + filterReject: function filterReject(callbackfn /* , thisArg */) { + return $filterReject(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined); + } + }); + + addToUnscopables('filterReject'); + + + /***/ }), + /* 205 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var bind = __webpack_require__(92); + var uncurryThis = __webpack_require__(13); + var IndexedObject = __webpack_require__(12); + var toObject = __webpack_require__(38); + var lengthOfArrayLike = __webpack_require__(62); + var arraySpeciesCreate = __webpack_require__(206); + + var push = uncurryThis([].push); + + // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation + var createMethod = function (TYPE) { + var IS_MAP = TYPE === 1; + var IS_FILTER = TYPE === 2; + var IS_SOME = TYPE === 3; + var IS_EVERY = TYPE === 4; + var IS_FIND_INDEX = TYPE === 6; + var IS_FILTER_REJECT = TYPE === 7; + var NO_HOLES = TYPE === 5 || IS_FIND_INDEX; + return function ($this, callbackfn, that, specificCreate) { + var O = toObject($this); + var self = IndexedObject(O); + var length = lengthOfArrayLike(self); + var boundFunction = bind(callbackfn, that); + var index = 0; + var create = specificCreate || arraySpeciesCreate; + var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; + var value, result; + for (;length > index; index++) if (NO_HOLES || index in self) { + value = self[index]; + result = boundFunction(value, index, O); + if (TYPE) { + if (IS_MAP) target[index] = result; // map + else if (result) switch (TYPE) { + case 3: return true; // some + case 5: return value; // find + case 6: return index; // findIndex + case 2: push(target, value); // filter + } else switch (TYPE) { + case 4: return false; // every + case 7: push(target, value); // filterReject } - - $export({ global: true, wrap: true, forced: FORCED }, { Promise: PromiseConstructor }); - - __webpack_require__(42)(PromiseConstructor, PROMISE, false, true); - __webpack_require__(123)(PROMISE); - - PromiseWrapper = __webpack_require__(47)[PROMISE]; - - // statics - $export({ target: PROMISE, stat: true, forced: FORCED }, { - // `Promise.reject` method - // https://tc39.github.io/ecma262/#sec-promise.reject - reject: function reject(r) { - var capability = newPromiseCapability(this); - capability.reject.call(undefined, r); - return capability.promise; - } - }); - - $export({ target: PROMISE, stat: true, forced: IS_PURE || FORCED }, { - // `Promise.resolve` method - // https://tc39.github.io/ecma262/#sec-promise.resolve - resolve: function resolve(x) { - return promiseResolve(IS_PURE && this === PromiseWrapper ? PromiseConstructor : this, x); - } - }); - - $export({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, { - // `Promise.all` method - // https://tc39.github.io/ecma262/#sec-promise.all - all: function all(iterable) { - var C = this; - var capability = newPromiseCapability(C); - var resolve = capability.resolve; - var reject = capability.reject; - var result = perform(function () { - var values = []; - var counter = 0; - var remaining = 1; - iterate(iterable, function (promise) { - var index = counter++; - var alreadyCalled = false; - values.push(undefined); - remaining++; - C.resolve(promise).then(function (value) { - if (alreadyCalled) return; - alreadyCalled = true; - values[index] = value; - --remaining || resolve(values); - }, reject); - }); - --remaining || resolve(values); - }); - if (result.e) reject(result.v); - return capability.promise; - }, - // `Promise.race` method - // https://tc39.github.io/ecma262/#sec-promise.race - race: function race(iterable) { - var C = this; - var capability = newPromiseCapability(C); - var reject = capability.reject; - var result = perform(function () { - iterate(iterable, function (promise) { - C.resolve(promise).then(capability.resolve, reject); - }); - }); - if (result.e) reject(result.v); - return capability.promise; - } - }); - - - /***/ -}), + } + } + return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target; + }; + }; + + module.exports = { + // `Array.prototype.forEach` method + // https://tc39.es/ecma262/#sec-array.prototype.foreach + forEach: createMethod(0), + // `Array.prototype.map` method + // https://tc39.es/ecma262/#sec-array.prototype.map + map: createMethod(1), + // `Array.prototype.filter` method + // https://tc39.es/ecma262/#sec-array.prototype.filter + filter: createMethod(2), + // `Array.prototype.some` method + // https://tc39.es/ecma262/#sec-array.prototype.some + some: createMethod(3), + // `Array.prototype.every` method + // https://tc39.es/ecma262/#sec-array.prototype.every + every: createMethod(4), + // `Array.prototype.find` method + // https://tc39.es/ecma262/#sec-array.prototype.find + find: createMethod(5), + // `Array.prototype.findIndex` method + // https://tc39.es/ecma262/#sec-array.prototype.findIndex + findIndex: createMethod(6), + // `Array.prototype.filterReject` method + // https://github.com/tc39/proposal-array-filtering + filterReject: createMethod(7) + }; + + + /***/ }), + /* 206 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var arraySpeciesConstructor = __webpack_require__(207); + + // `ArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#sec-arrayspeciescreate + module.exports = function (originalArray, length) { + return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length); + }; + + + /***/ }), + /* 207 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isArray = __webpack_require__(107); + var isConstructor = __webpack_require__(143); + var isObject = __webpack_require__(19); + var wellKnownSymbol = __webpack_require__(32); + + var SPECIES = wellKnownSymbol('species'); + var $Array = Array; + + // a part of `ArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#sec-arrayspeciescreate + module.exports = function (originalArray) { + var C; + if (isArray(originalArray)) { + C = originalArray.constructor; + // cross-realm fallback + if (isConstructor(C) && (C === $Array || isArray(C.prototype))) C = undefined; + else if (isObject(C)) { + C = C[SPECIES]; + if (C === null) C = undefined; + } + } return C === undefined ? $Array : C; + }; + + + /***/ }), + /* 208 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $group = __webpack_require__(209); + var addToUnscopables = __webpack_require__(101); + + // `Array.prototype.group` method + // https://github.com/tc39/proposal-array-grouping + $({ target: 'Array', proto: true }, { + group: function group(callbackfn /* , thisArg */) { + var thisArg = arguments.length > 1 ? arguments[1] : undefined; + return $group(this, callbackfn, thisArg); + } + }); + + addToUnscopables('group'); + + + /***/ }), + /* 209 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var bind = __webpack_require__(92); + var uncurryThis = __webpack_require__(13); + var IndexedObject = __webpack_require__(12); + var toObject = __webpack_require__(38); + var toPropertyKey = __webpack_require__(17); + var lengthOfArrayLike = __webpack_require__(62); + var objectCreate = __webpack_require__(87); + var arrayFromConstructorAndList = __webpack_require__(112); + + var $Array = Array; + var push = uncurryThis([].push); + + module.exports = function ($this, callbackfn, that, specificConstructor) { + var O = toObject($this); + var self = IndexedObject(O); + var boundFunction = bind(callbackfn, that); + var target = objectCreate(null); + var length = lengthOfArrayLike(self); + var index = 0; + var Constructor, key, value; + for (;length > index; index++) { + value = self[index]; + key = toPropertyKey(boundFunction(value, index, O)); + // in some IE versions, `hasOwnProperty` returns incorrect result on integer keys + // but since it's a `null` prototype object, we can safely use `in` + if (key in target) push(target[key], value); + else target[key] = [value]; + } + // TODO: Remove this block from `core-js@4` + if (specificConstructor) { + Constructor = specificConstructor(O); + if (Constructor !== $Array) { + for (key in target) target[key] = arrayFromConstructorAndList(Constructor, target[key]); + } + } return target; + }; + + + /***/ }), + /* 210 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var $group = __webpack_require__(209); + var arrayMethodIsStrict = __webpack_require__(211); + var addToUnscopables = __webpack_require__(101); + + // `Array.prototype.groupBy` method + // https://github.com/tc39/proposal-array-grouping + // https://bugs.webkit.org/show_bug.cgi?id=236541 + $({ target: 'Array', proto: true, forced: !arrayMethodIsStrict('groupBy') }, { + groupBy: function groupBy(callbackfn /* , thisArg */) { + var thisArg = arguments.length > 1 ? arguments[1] : undefined; + return $group(this, callbackfn, thisArg); + } + }); + + addToUnscopables('groupBy'); + + + /***/ }), + /* 211 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + + module.exports = function (METHOD_NAME, argument) { + var method = [][METHOD_NAME]; + return !!method && fails(function () { + // eslint-disable-next-line no-useless-call -- required for testing + method.call(null, argument || function () { return 1; }, 1); + }); + }; + + + /***/ }), + /* 212 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var arrayMethodIsStrict = __webpack_require__(211); + var addToUnscopables = __webpack_require__(101); + var $groupToMap = __webpack_require__(213); + var IS_PURE = __webpack_require__(35); + + // `Array.prototype.groupByToMap` method + // https://github.com/tc39/proposal-array-grouping + // https://bugs.webkit.org/show_bug.cgi?id=236541 + $({ target: 'Array', proto: true, name: 'groupToMap', forced: IS_PURE || !arrayMethodIsStrict('groupByToMap') }, { + groupByToMap: $groupToMap + }); + + addToUnscopables('groupByToMap'); + + + /***/ }), + /* 213 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var bind = __webpack_require__(92); + var uncurryThis = __webpack_require__(13); + var IndexedObject = __webpack_require__(12); + var toObject = __webpack_require__(38); + var lengthOfArrayLike = __webpack_require__(62); + var MapHelpers = __webpack_require__(132); + + var Map = MapHelpers.Map; + var mapGet = MapHelpers.get; + var mapHas = MapHelpers.has; + var mapSet = MapHelpers.set; + var push = uncurryThis([].push); + + // `Array.prototype.groupToMap` method + // https://github.com/tc39/proposal-array-grouping + module.exports = function groupToMap(callbackfn /* , thisArg */) { + var O = toObject(this); + var self = IndexedObject(O); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var map = new Map(); + var length = lengthOfArrayLike(self); + var index = 0; + var key, value; + for (;length > index; index++) { + value = self[index]; + key = boundFunction(value, index, O); + if (mapHas(map, key)) push(mapGet(map, key), value); + else mapSet(map, key, [value]); + } return map; + }; + + + /***/ }), + /* 214 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var addToUnscopables = __webpack_require__(101); + var $groupToMap = __webpack_require__(213); + var IS_PURE = __webpack_require__(35); + + // `Array.prototype.groupToMap` method + // https://github.com/tc39/proposal-array-grouping + $({ target: 'Array', proto: true, forced: IS_PURE }, { + groupToMap: $groupToMap + }); + + addToUnscopables('groupToMap'); + + + /***/ }), + /* 215 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isArray = __webpack_require__(107); + + // eslint-disable-next-line es/no-object-isfrozen -- safe + var isFrozen = Object.isFrozen; + + var isFrozenStringArray = function (array, allowUndefined) { + if (!isFrozen || !isArray(array) || !isFrozen(array)) return false; + var index = 0; + var length = array.length; + var element; + while (index < length) { + element = array[index++]; + if (!(typeof element == 'string' || (allowUndefined && element === undefined))) { + return false; + } + } return length !== 0; + }; + + // `Array.isTemplateObject` method + // https://github.com/tc39/proposal-array-is-template-object + $({ target: 'Array', stat: true, sham: true, forced: true }, { + isTemplateObject: function isTemplateObject(value) { + if (!isFrozenStringArray(value, true)) return false; + var raw = value.raw; + return raw.length === value.length && isFrozenStringArray(raw, false); + } + }); + + + /***/ }), + /* 216 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var DESCRIPTORS = __webpack_require__(5); + var addToUnscopables = __webpack_require__(101); + var toObject = __webpack_require__(38); + var lengthOfArrayLike = __webpack_require__(62); + var defineBuiltInAccessor = __webpack_require__(118); + + // `Array.prototype.lastIndex` getter + // https://github.com/keithamus/proposal-array-last + if (DESCRIPTORS) { + defineBuiltInAccessor(Array.prototype, 'lastIndex', { + configurable: true, + get: function lastIndex() { + var O = toObject(this); + var len = lengthOfArrayLike(O); + return len === 0 ? 0 : len - 1; + } + }); + + addToUnscopables('lastIndex'); + } + + + /***/ }), + /* 217 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var DESCRIPTORS = __webpack_require__(5); + var addToUnscopables = __webpack_require__(101); + var toObject = __webpack_require__(38); + var lengthOfArrayLike = __webpack_require__(62); + var defineBuiltInAccessor = __webpack_require__(118); + + // `Array.prototype.lastIndex` accessor + // https://github.com/keithamus/proposal-array-last + if (DESCRIPTORS) { + defineBuiltInAccessor(Array.prototype, 'lastItem', { + configurable: true, + get: function lastItem() { + var O = toObject(this); + var len = lengthOfArrayLike(O); + return len === 0 ? undefined : O[len - 1]; + }, + set: function lastItem(value) { + var O = toObject(this); + var len = lengthOfArrayLike(O); + return O[len === 0 ? 0 : len - 1] = value; + } + }); + + addToUnscopables('lastItem'); + } + + + /***/ }), + /* 218 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var addToUnscopables = __webpack_require__(101); + var uniqueBy = __webpack_require__(219); + + // `Array.prototype.uniqueBy` method + // https://github.com/tc39/proposal-array-unique + $({ target: 'Array', proto: true, forced: true }, { + uniqueBy: uniqueBy + }); + + addToUnscopables('uniqueBy'); + + + /***/ }), + /* 219 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var aCallable = __webpack_require__(29); + var isNullOrUndefined = __webpack_require__(16); + var lengthOfArrayLike = __webpack_require__(62); + var toObject = __webpack_require__(38); + var MapHelpers = __webpack_require__(132); + var iterate = __webpack_require__(220); + + var Map = MapHelpers.Map; + var mapHas = MapHelpers.has; + var mapSet = MapHelpers.set; + var push = uncurryThis([].push); + + // `Array.prototype.uniqueBy` method + // https://github.com/tc39/proposal-array-unique + module.exports = function uniqueBy(resolver) { + var that = toObject(this); + var length = lengthOfArrayLike(that); + var result = []; + var map = new Map(); + var resolverFunction = !isNullOrUndefined(resolver) ? aCallable(resolver) : function (value) { + return value; + }; + var index, item, key; + for (index = 0; index < length; index++) { + item = that[index]; + key = resolverFunction(item); + if (!mapHas(map, key)) mapSet(map, key, item); + } + iterate(map, function (value) { + push(result, value); + }); + return result; + }; + + + /***/ }), + /* 220 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var iterateSimple = __webpack_require__(221); + var MapHelpers = __webpack_require__(132); + + var Map = MapHelpers.Map; + var MapPrototype = MapHelpers.proto; + var forEach = uncurryThis(MapPrototype.forEach); + var entries = uncurryThis(MapPrototype.entries); + var next = entries(new Map()).next; + + module.exports = function (map, fn, interruptible) { + return interruptible ? iterateSimple({ iterator: entries(map), next: next }, function (entry) { + return fn(entry[1], entry[0]); + }) : forEach(map, fn); + }; + + + /***/ }), + /* 221 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + + module.exports = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) { + var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator; + var next = record.next; + var step, result; + while (!(step = call(next, iterator)).done) { + result = fn(step.value); + if (result !== undefined) return result; + } + }; + + + /***/ }), + /* 222 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://github.com/tc39/proposal-async-explicit-resource-management + var $ = __webpack_require__(2); + var DESCRIPTORS = __webpack_require__(5); + var getBuiltIn = __webpack_require__(22); + var aCallable = __webpack_require__(29); + var anInstance = __webpack_require__(140); + var defineBuiltIn = __webpack_require__(46); + var defineBuiltIns = __webpack_require__(198); + var defineBuiltInAccessor = __webpack_require__(118); + var wellKnownSymbol = __webpack_require__(32); + var InternalStateModule = __webpack_require__(50); + var addDisposableResource = __webpack_require__(223); + + var Promise = getBuiltIn('Promise'); + var SuppressedError = getBuiltIn('SuppressedError'); + var $ReferenceError = ReferenceError; + + var ASYNC_DISPOSE = wellKnownSymbol('asyncDispose'); + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + + var ASYNC_DISPOSABLE_STACK = 'AsyncDisposableStack'; + var setInternalState = InternalStateModule.set; + var getAsyncDisposableStackInternalState = InternalStateModule.getterFor(ASYNC_DISPOSABLE_STACK); + + var HINT = 'async-dispose'; + var DISPOSED = 'disposed'; + var PENDING = 'pending'; + + var getPendingAsyncDisposableStackInternalState = function (stack) { + var internalState = getAsyncDisposableStackInternalState(stack); + if (internalState.state === DISPOSED) throw new $ReferenceError(ASYNC_DISPOSABLE_STACK + ' already disposed'); + return internalState; + }; + + var $AsyncDisposableStack = function AsyncDisposableStack() { + setInternalState(anInstance(this, AsyncDisposableStackPrototype), { + type: ASYNC_DISPOSABLE_STACK, + state: PENDING, + stack: [] + }); + + if (!DESCRIPTORS) this.disposed = false; + }; + + var AsyncDisposableStackPrototype = $AsyncDisposableStack.prototype; + + defineBuiltIns(AsyncDisposableStackPrototype, { + disposeAsync: function disposeAsync() { + var asyncDisposableStack = this; + return new Promise(function (resolve, reject) { + var internalState = getAsyncDisposableStackInternalState(asyncDisposableStack); + if (internalState.state === DISPOSED) return resolve(undefined); + internalState.state = DISPOSED; + if (!DESCRIPTORS) asyncDisposableStack.disposed = true; + var stack = internalState.stack; + var i = stack.length; + var thrown = false; + var suppressed; + + var handleError = function (result) { + if (thrown) { + suppressed = new SuppressedError(result, suppressed); + } else { + thrown = true; + suppressed = result; + } + + loop(); + }; + + var loop = function () { + if (i) { + var disposeMethod = stack[--i]; + stack[i] = null; + try { + Promise.resolve(disposeMethod()).then(loop, handleError); + } catch (error) { + handleError(error); + } + } else { + internalState.stack = null; + thrown ? reject(suppressed) : resolve(undefined); + } + }; + + loop(); + }); + }, + use: function use(value) { + addDisposableResource(getPendingAsyncDisposableStackInternalState(this), value, HINT); + return value; + }, + adopt: function adopt(value, onDispose) { + var internalState = getPendingAsyncDisposableStackInternalState(this); + aCallable(onDispose); + addDisposableResource(internalState, undefined, HINT, function () { + return onDispose(value); + }); + return value; + }, + defer: function defer(onDispose) { + var internalState = getPendingAsyncDisposableStackInternalState(this); + aCallable(onDispose); + addDisposableResource(internalState, undefined, HINT, onDispose); + }, + move: function move() { + var internalState = getPendingAsyncDisposableStackInternalState(this); + var newAsyncDisposableStack = new $AsyncDisposableStack(); + getAsyncDisposableStackInternalState(newAsyncDisposableStack).stack = internalState.stack; + internalState.stack = []; + internalState.state = DISPOSED; + if (!DESCRIPTORS) this.disposed = true; + return newAsyncDisposableStack; + } + }); + + if (DESCRIPTORS) defineBuiltInAccessor(AsyncDisposableStackPrototype, 'disposed', { + configurable: true, + get: function disposed() { + return getAsyncDisposableStackInternalState(this).state === DISPOSED; + } + }); + + defineBuiltIn(AsyncDisposableStackPrototype, ASYNC_DISPOSE, AsyncDisposableStackPrototype.disposeAsync, { name: 'disposeAsync' }); + defineBuiltIn(AsyncDisposableStackPrototype, TO_STRING_TAG, ASYNC_DISPOSABLE_STACK, { nonWritable: true }); + + $({ global: true, constructor: true }, { + AsyncDisposableStack: $AsyncDisposableStack + }); + + + /***/ }), + /* 223 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var uncurryThis = __webpack_require__(13); + var bind = __webpack_require__(92); + var anObject = __webpack_require__(45); + var aCallable = __webpack_require__(29); + var isNullOrUndefined = __webpack_require__(16); + var getMethod = __webpack_require__(28); + var wellKnownSymbol = __webpack_require__(32); + + var ASYNC_DISPOSE = wellKnownSymbol('asyncDispose'); + var DISPOSE = wellKnownSymbol('dispose'); + + var push = uncurryThis([].push); + + // `GetDisposeMethod` abstract operation + // https://tc39.es/proposal-explicit-resource-management/#sec-getdisposemethod + var getDisposeMethod = function (V, hint) { + if (hint === 'async-dispose') { + var method = getMethod(V, ASYNC_DISPOSE); + if (method !== undefined) return method; + method = getMethod(V, DISPOSE); + return function () { + call(method, this); + }; + } return getMethod(V, DISPOSE); + }; + + // `CreateDisposableResource` abstract operation + // https://tc39.es/proposal-explicit-resource-management/#sec-createdisposableresource + var createDisposableResource = function (V, hint, method) { + if (arguments.length < 3 && !isNullOrUndefined(V)) { + method = aCallable(getDisposeMethod(anObject(V), hint)); + } + + return method === undefined ? function () { + return undefined; + } : bind(method, V); + }; + + // `AddDisposableResource` abstract operation + // https://tc39.es/proposal-explicit-resource-management/#sec-adddisposableresource + module.exports = function (disposable, V, hint, method) { + var resource; + if (arguments.length < 4) { + // When `V`` is either `null` or `undefined` and hint is `async-dispose`, + // we record that the resource was evaluated to ensure we will still perform an `Await` when resources are later disposed. + if (isNullOrUndefined(V) && hint === 'sync-dispose') return; + resource = createDisposableResource(V, hint); + } else { + resource = createDisposableResource(undefined, hint, method); + } + + push(disposable.stack, resource); + }; + + + /***/ }), + /* 224 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var anInstance = __webpack_require__(140); + var getPrototypeOf = __webpack_require__(85); + var createNonEnumerableProperty = __webpack_require__(42); + var hasOwn = __webpack_require__(37); + var wellKnownSymbol = __webpack_require__(32); + var AsyncIteratorPrototype = __webpack_require__(199); + var IS_PURE = __webpack_require__(35); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + + var $TypeError = TypeError; + + var AsyncIteratorConstructor = function AsyncIterator() { + anInstance(this, AsyncIteratorPrototype); + if (getPrototypeOf(this) === AsyncIteratorPrototype) throw new $TypeError('Abstract class AsyncIterator not directly constructable'); + }; + + AsyncIteratorConstructor.prototype = AsyncIteratorPrototype; + + if (!hasOwn(AsyncIteratorPrototype, TO_STRING_TAG)) { + createNonEnumerableProperty(AsyncIteratorPrototype, TO_STRING_TAG, 'AsyncIterator'); + } + + if (IS_PURE || !hasOwn(AsyncIteratorPrototype, 'constructor') || AsyncIteratorPrototype.constructor === Object) { + createNonEnumerableProperty(AsyncIteratorPrototype, 'constructor', AsyncIteratorConstructor); + } + + // `AsyncIterator` constructor + // https://github.com/tc39/proposal-async-iterator-helpers + $({ global: true, constructor: true, forced: IS_PURE }, { + AsyncIterator: AsyncIteratorConstructor + }); + + + /***/ }), + /* 225 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var indexed = __webpack_require__(226); + + // `AsyncIterator.prototype.asIndexedPairs` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'AsyncIterator', name: 'indexed', proto: true, real: true, forced: true }, { + asIndexedPairs: indexed + }); + + + /***/ }), + /* 226 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var map = __webpack_require__(227); + + var callback = function (value, counter) { + return [counter, value]; + }; + + // `AsyncIterator.prototype.indexed` method + // https://github.com/tc39/proposal-iterator-helpers + module.exports = function indexed() { + return call(map, this, callback); + }; + + + /***/ }), + /* 227 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var isObject = __webpack_require__(19); + var getIteratorDirect = __webpack_require__(201); + var createAsyncIteratorProxy = __webpack_require__(228); + var createIterResultObject = __webpack_require__(200); + var closeAsyncIteration = __webpack_require__(203); + + var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { + var state = this; + var iterator = state.iterator; + var mapper = state.mapper; + + return new Promise(function (resolve, reject) { + var doneAndReject = function (error) { + state.done = true; + reject(error); + }; + + var ifAbruptCloseAsyncIterator = function (error) { + closeAsyncIteration(iterator, doneAndReject, error, doneAndReject); + }; + + Promise.resolve(anObject(call(state.next, iterator))).then(function (step) { + try { + if (anObject(step).done) { + state.done = true; + resolve(createIterResultObject(undefined, true)); + } else { + var value = step.value; + try { + var result = mapper(value, state.counter++); + + var handler = function (mapped) { + resolve(createIterResultObject(mapped, false)); + }; + + if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else handler(result); + } catch (error2) { ifAbruptCloseAsyncIterator(error2); } + } + } catch (error) { doneAndReject(error); } + }, doneAndReject); + }); + }); + + // `AsyncIterator.prototype.map` method + // https://github.com/tc39/proposal-iterator-helpers + module.exports = function map(mapper) { + anObject(this); + aCallable(mapper); + return new AsyncIteratorProxy(getIteratorDirect(this), { + mapper: mapper + }); + }; + + + /***/ }), + /* 228 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var perform = __webpack_require__(154); + var anObject = __webpack_require__(45); + var create = __webpack_require__(87); + var createNonEnumerableProperty = __webpack_require__(42); + var defineBuiltIns = __webpack_require__(198); + var wellKnownSymbol = __webpack_require__(32); + var InternalStateModule = __webpack_require__(50); + var getBuiltIn = __webpack_require__(22); + var getMethod = __webpack_require__(28); + var AsyncIteratorPrototype = __webpack_require__(199); + var createIterResultObject = __webpack_require__(200); + var iteratorClose = __webpack_require__(98); + + var Promise = getBuiltIn('Promise'); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var ASYNC_ITERATOR_HELPER = 'AsyncIteratorHelper'; + var WRAP_FOR_VALID_ASYNC_ITERATOR = 'WrapForValidAsyncIterator'; + var setInternalState = InternalStateModule.set; + + var createAsyncIteratorProxyPrototype = function (IS_ITERATOR) { + var IS_GENERATOR = !IS_ITERATOR; + var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER); + + var getStateOrEarlyExit = function (that) { + var stateCompletion = perform(function () { + return getInternalState(that); + }); + + var stateError = stateCompletion.error; + var state = stateCompletion.value; + + if (stateError || (IS_GENERATOR && state.done)) { + return { exit: true, value: stateError ? Promise.reject(state) : Promise.resolve(createIterResultObject(undefined, true)) }; + } return { exit: false, value: state }; + }; + + return defineBuiltIns(create(AsyncIteratorPrototype), { + next: function next() { + var stateCompletion = getStateOrEarlyExit(this); + var state = stateCompletion.value; + if (stateCompletion.exit) return state; + var handlerCompletion = perform(function () { + return anObject(state.nextHandler(Promise)); + }); + var handlerError = handlerCompletion.error; + var value = handlerCompletion.value; + if (handlerError) state.done = true; + return handlerError ? Promise.reject(value) : Promise.resolve(value); + }, + 'return': function () { + var stateCompletion = getStateOrEarlyExit(this); + var state = stateCompletion.value; + if (stateCompletion.exit) return state; + state.done = true; + var iterator = state.iterator; + var returnMethod, result; + var completion = perform(function () { + if (state.inner) try { + iteratorClose(state.inner.iterator, 'normal'); + } catch (error) { + return iteratorClose(iterator, 'throw', error); + } + return getMethod(iterator, 'return'); + }); + returnMethod = result = completion.value; + if (completion.error) return Promise.reject(result); + if (returnMethod === undefined) return Promise.resolve(createIterResultObject(undefined, true)); + completion = perform(function () { + return call(returnMethod, iterator); + }); + result = completion.value; + if (completion.error) return Promise.reject(result); + return IS_ITERATOR ? Promise.resolve(result) : Promise.resolve(result).then(function (resolved) { + anObject(resolved); + return createIterResultObject(undefined, true); + }); + } + }); + }; + + var WrapForValidAsyncIteratorPrototype = createAsyncIteratorProxyPrototype(true); + var AsyncIteratorHelperPrototype = createAsyncIteratorProxyPrototype(false); + + createNonEnumerableProperty(AsyncIteratorHelperPrototype, TO_STRING_TAG, 'Async Iterator Helper'); + + module.exports = function (nextHandler, IS_ITERATOR) { + var AsyncIteratorProxy = function AsyncIterator(record, state) { + if (state) { + state.iterator = record.iterator; + state.next = record.next; + } else state = record; + state.type = IS_ITERATOR ? WRAP_FOR_VALID_ASYNC_ITERATOR : ASYNC_ITERATOR_HELPER; + state.nextHandler = nextHandler; + state.counter = 0; + state.done = false; + setInternalState(this, state); + }; + + AsyncIteratorProxy.prototype = IS_ITERATOR ? WrapForValidAsyncIteratorPrototype : AsyncIteratorHelperPrototype; + + return AsyncIteratorProxy; + }; + + + /***/ }), + /* 229 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://github.com/tc39/proposal-async-explicit-resource-management + var call = __webpack_require__(7); + var defineBuiltIn = __webpack_require__(46); + var getBuiltIn = __webpack_require__(22); + var getMethod = __webpack_require__(28); + var hasOwn = __webpack_require__(37); + var wellKnownSymbol = __webpack_require__(32); + var AsyncIteratorPrototype = __webpack_require__(199); + + var ASYNC_DISPOSE = wellKnownSymbol('asyncDispose'); + var Promise = getBuiltIn('Promise'); + + if (!hasOwn(AsyncIteratorPrototype, ASYNC_DISPOSE)) { + defineBuiltIn(AsyncIteratorPrototype, ASYNC_DISPOSE, function () { + var O = this; + return new Promise(function (resolve, reject) { + var $return = getMethod(O, 'return'); + if ($return) { + Promise.resolve(call($return, O)).then(function () { + resolve(undefined); + }, reject); + } else resolve(undefined); + }); + }); + } + + + /***/ }), + /* 230 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var notANaN = __webpack_require__(231); + var toPositiveInteger = __webpack_require__(187); + var createAsyncIteratorProxy = __webpack_require__(228); + var createIterResultObject = __webpack_require__(200); + var IS_PURE = __webpack_require__(35); + + var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { + var state = this; + + return new Promise(function (resolve, reject) { + var doneAndReject = function (error) { + state.done = true; + reject(error); + }; + + var loop = function () { + try { + Promise.resolve(anObject(call(state.next, state.iterator))).then(function (step) { + try { + if (anObject(step).done) { + state.done = true; + resolve(createIterResultObject(undefined, true)); + } else if (state.remaining) { + state.remaining--; + loop(); + } else resolve(createIterResultObject(step.value, false)); + } catch (err) { doneAndReject(err); } + }, doneAndReject); + } catch (error) { doneAndReject(error); } + }; + + loop(); + }); + }); + + // `AsyncIterator.prototype.drop` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { + drop: function drop(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new AsyncIteratorProxy(getIteratorDirect(this), { + remaining: remaining + }); + } + }); + + + /***/ }), + /* 231 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $RangeError = RangeError; + + module.exports = function (it) { + // eslint-disable-next-line no-self-compare -- NaN check + if (it === it) return it; + throw new $RangeError('NaN is not allowed'); + }; + + + /***/ }), /* 232 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var classof = __webpack_require__(13); - var bind = __webpack_require__(78); - var html = __webpack_require__(53); - var createElement = __webpack_require__(18); - var set = global.setImmediate; - var clear = global.clearImmediate; - var process = global.process; - var MessageChannel = global.MessageChannel; - var Dispatch = global.Dispatch; - var counter = 0; - var queue = {}; - var ONREADYSTATECHANGE = 'onreadystatechange'; - var defer, channel, port; - - var run = function () { - var id = +this; - // eslint-disable-next-line no-prototype-builtins - if (queue.hasOwnProperty(id)) { - var fn = queue[id]; - delete queue[id]; - fn(); - } - }; - - var listener = function (event) { - run.call(event.data); - }; - - // Node.js 0.9+ & IE10+ has setImmediate, otherwise: - if (!set || !clear) { - set = function setImmediate(fn) { - var args = []; - var i = 1; - while (arguments.length > i) args.push(arguments[i++]); - queue[++counter] = function () { - // eslint-disable-next-line no-new-func - (typeof fn == 'function' ? fn : Function(fn)).apply(undefined, args); - }; - defer(counter); - return counter; - }; - clear = function clearImmediate(id) { - delete queue[id]; - }; - // Node.js 0.8- - if (classof(process) == 'process') { - defer = function (id) { - process.nextTick(bind(run, id, 1)); - }; - // Sphere (JS game engine) Dispatch API - } else if (Dispatch && Dispatch.now) { - defer = function (id) { - Dispatch.now(bind(run, id, 1)); - }; - // Browsers with MessageChannel, includes WebWorkers - } else if (MessageChannel) { - channel = new MessageChannel(); - port = channel.port2; - channel.port1.onmessage = listener; - defer = bind(port.postMessage, port, 1); - // Browsers with postMessage, skip WebWorkers - // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' - } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) { - defer = function (id) { - global.postMessage(id + '', '*'); - }; - global.addEventListener('message', listener, false); - // IE8- - } else if (ONREADYSTATECHANGE in createElement('script')) { - defer = function (id) { - html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () { - html.removeChild(this); - run.call(id); - }; - }; - // Rest old browsers - } else { - defer = function (id) { - setTimeout(bind(run, id, 1), 0); - }; - } - } - - module.exports = { - set: set, - clear: clear - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $every = __webpack_require__(202).every; + + // `AsyncIterator.prototype.every` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true }, { + every: function every(predicate) { + return $every(this, predicate); + } + }); + + + /***/ }), /* 233 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var getOwnPropertyDescriptor = __webpack_require__(8).f; - var classof = __webpack_require__(13); - var macrotask = __webpack_require__(232).set; - var userAgent = __webpack_require__(234); - var MutationObserver = global.MutationObserver || global.WebKitMutationObserver; - var process = global.process; - var Promise = global.Promise; - var IS_NODE = classof(process) == 'process'; - // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask` - var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global, 'queueMicrotask'); - var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value; - - var flush, head, last, notify, toggle, node, promise; - - // modern engines have queueMicrotask method - if (!queueMicrotask) { - flush = function () { - var parent, fn; - if (IS_NODE && (parent = process.domain)) parent.exit(); - while (head) { - fn = head.fn; - head = head.next; - try { - fn(); - } catch (e) { - if (head) notify(); - else last = undefined; - throw e; - } - } last = undefined; - if (parent) parent.enter(); - }; - - // Node.js - if (IS_NODE) { - notify = function () { - process.nextTick(flush); - }; - // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339 - } else if (MutationObserver && !/(iPhone|iPod|iPad).*AppleWebKit/i.test(userAgent)) { - toggle = true; - node = document.createTextNode(''); - new MutationObserver(flush).observe(node, { characterData: true }); // eslint-disable-line no-new - notify = function () { - node.data = toggle = !toggle; - }; - // environments with maybe non-completely correct, but existent Promise - } else if (Promise && Promise.resolve) { - // Promise.resolve without an argument throws an error in LG WebOS 2 - promise = Promise.resolve(undefined); - notify = function () { - promise.then(flush); - }; - // for other environments - macrotask based on: - // - setImmediate - // - MessageChannel - // - window.postMessag - // - onreadystatechange - // - setTimeout + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var isObject = __webpack_require__(19); + var getIteratorDirect = __webpack_require__(201); + var createAsyncIteratorProxy = __webpack_require__(228); + var createIterResultObject = __webpack_require__(200); + var closeAsyncIteration = __webpack_require__(203); + var IS_PURE = __webpack_require__(35); + + var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { + var state = this; + var iterator = state.iterator; + var predicate = state.predicate; + + return new Promise(function (resolve, reject) { + var doneAndReject = function (error) { + state.done = true; + reject(error); + }; + + var ifAbruptCloseAsyncIterator = function (error) { + closeAsyncIteration(iterator, doneAndReject, error, doneAndReject); + }; + + var loop = function () { + try { + Promise.resolve(anObject(call(state.next, iterator))).then(function (step) { + try { + if (anObject(step).done) { + state.done = true; + resolve(createIterResultObject(undefined, true)); } else { - notify = function () { - // strange IE + webpack dev server bug - use .call(global) - macrotask.call(global, flush); + var value = step.value; + try { + var result = predicate(value, state.counter++); + + var handler = function (selected) { + selected ? resolve(createIterResultObject(value, false)) : loop(); }; + + if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else handler(result); + } catch (error3) { ifAbruptCloseAsyncIterator(error3); } } - } - - module.exports = queueMicrotask || function (fn) { - var task = { fn: fn, next: undefined }; - if (last) last.next = task; - if (!head) { - head = task; - notify(); - } last = task; - }; - - - /***/ -}), + } catch (error2) { doneAndReject(error2); } + }, doneAndReject); + } catch (error) { doneAndReject(error); } + }; + + loop(); + }); + }); + + // `AsyncIterator.prototype.filter` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { + filter: function filter(predicate) { + anObject(this); + aCallable(predicate); + return new AsyncIteratorProxy(getIteratorDirect(this), { + predicate: predicate + }); + } + }); + + + /***/ }), /* 234 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var navigator = global.navigator; - - module.exports = navigator && navigator.userAgent || ''; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $find = __webpack_require__(202).find; + + // `AsyncIterator.prototype.find` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true }, { + find: function find(predicate) { + return $find(this, predicate); + } + }); + + + /***/ }), /* 235 */ - /***/ (function (module, exports, __webpack_require__) { - - var anObject = __webpack_require__(21); - var isObject = __webpack_require__(16); - var newPromiseCapability = __webpack_require__(236); - - module.exports = function (C, x) { - anObject(C); - if (isObject(x) && x.constructor === C) return x; - var promiseCapability = newPromiseCapability.f(C); - var resolve = promiseCapability.resolve; - resolve(x); - return promiseCapability.promise; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var isObject = __webpack_require__(19); + var getIteratorDirect = __webpack_require__(201); + var createAsyncIteratorProxy = __webpack_require__(228); + var createIterResultObject = __webpack_require__(200); + var getAsyncIteratorFlattenable = __webpack_require__(236); + var closeAsyncIteration = __webpack_require__(203); + var IS_PURE = __webpack_require__(35); + + var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { + var state = this; + var iterator = state.iterator; + var mapper = state.mapper; + + return new Promise(function (resolve, reject) { + var doneAndReject = function (error) { + state.done = true; + reject(error); + }; + + var ifAbruptCloseAsyncIterator = function (error) { + closeAsyncIteration(iterator, doneAndReject, error, doneAndReject); + }; + + var outerLoop = function () { + try { + Promise.resolve(anObject(call(state.next, iterator))).then(function (step) { + try { + if (anObject(step).done) { + state.done = true; + resolve(createIterResultObject(undefined, true)); + } else { + var value = step.value; + try { + var result = mapper(value, state.counter++); + + var handler = function (mapped) { + try { + state.inner = getAsyncIteratorFlattenable(mapped); + innerLoop(); + } catch (error4) { ifAbruptCloseAsyncIterator(error4); } + }; + + if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else handler(result); + } catch (error3) { ifAbruptCloseAsyncIterator(error3); } + } + } catch (error2) { doneAndReject(error2); } + }, doneAndReject); + } catch (error) { doneAndReject(error); } + }; + + var innerLoop = function () { + var inner = state.inner; + if (inner) { + try { + Promise.resolve(anObject(call(inner.next, inner.iterator))).then(function (result) { + try { + if (anObject(result).done) { + state.inner = null; + outerLoop(); + } else resolve(createIterResultObject(result.value, false)); + } catch (error1) { ifAbruptCloseAsyncIterator(error1); } + }, ifAbruptCloseAsyncIterator); + } catch (error) { ifAbruptCloseAsyncIterator(error); } + } else outerLoop(); + }; + + innerLoop(); + }); + }); + + // `AsyncIterator.prototype.flaMap` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { + flatMap: function flatMap(mapper) { + anObject(this); + aCallable(mapper); + return new AsyncIteratorProxy(getIteratorDirect(this), { + mapper: mapper, + inner: null + }); + } + }); + + + /***/ }), /* 236 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // 25.4.1.5 NewPromiseCapability(C) - var aFunction = __webpack_require__(79); - - var PromiseCapability = function (C) { - var resolve, reject; - this.promise = new C(function ($$resolve, $$reject) { - if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor'); - resolve = $$resolve; - reject = $$reject; - }); - this.resolve = aFunction(resolve); - this.reject = aFunction(reject); - }; - - module.exports.f = function (C) { - return new PromiseCapability(C); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var isCallable = __webpack_require__(20); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var getIteratorMethod = __webpack_require__(97); + var getMethod = __webpack_require__(28); + var wellKnownSymbol = __webpack_require__(32); + var AsyncFromSyncIterator = __webpack_require__(197); + + var ASYNC_ITERATOR = wellKnownSymbol('asyncIterator'); + + module.exports = function (obj) { + var object = anObject(obj); + var alreadyAsync = true; + var method = getMethod(object, ASYNC_ITERATOR); + var iterator; + if (!isCallable(method)) { + method = getIteratorMethod(object); + alreadyAsync = false; + } + if (method !== undefined) { + iterator = call(method, object); + } else { + iterator = object; + alreadyAsync = true; + } + anObject(iterator); + return getIteratorDirect(alreadyAsync ? iterator : new AsyncFromSyncIterator(getIteratorDirect(iterator))); + }; + + + /***/ }), /* 237 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - - module.exports = function (a, b) { - var console = global.console; - if (console && console.error) { - arguments.length === 1 ? console.error(a) : console.error(a, b); - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $forEach = __webpack_require__(202).forEach; + + // `AsyncIterator.prototype.forEach` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true }, { + forEach: function forEach(fn) { + return $forEach(this, fn); + } + }); + + + /***/ }), /* 238 */ - /***/ (function (module, exports) { - - module.exports = function (exec) { - try { - return { e: false, v: exec() }; - } catch (e) { - return { e: true, v: e }; - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var toObject = __webpack_require__(38); + var isPrototypeOf = __webpack_require__(23); + var getAsyncIteratorFlattenable = __webpack_require__(236); + var AsyncIteratorPrototype = __webpack_require__(199); + var WrapAsyncIterator = __webpack_require__(239); + var IS_PURE = __webpack_require__(35); + + // `AsyncIterator.from` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', stat: true, forced: IS_PURE }, { + from: function from(O) { + var iteratorRecord = getAsyncIteratorFlattenable(typeof O == 'string' ? toObject(O) : O); + return isPrototypeOf(AsyncIteratorPrototype, iteratorRecord.iterator) + ? iteratorRecord.iterator + : new WrapAsyncIterator(iteratorRecord); + } + }); + + + /***/ }), /* 239 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var speciesConstructor = __webpack_require__(136); - var promiseResolve = __webpack_require__(235); - - // `Promise.prototype.finally` method - // https://tc39.github.io/ecma262/#sec-promise.prototype.finally - __webpack_require__(7)({ target: 'Promise', proto: true, real: true }, { - 'finally': function (onFinally) { - var C = speciesConstructor(this, getBuiltIn('Promise')); - var isFunction = typeof onFinally == 'function'; - return this.then( - isFunction ? function (x) { - return promiseResolve(C, onFinally()).then(function () { return x; }); - } : onFinally, - isFunction ? function (e) { - return promiseResolve(C, onFinally()).then(function () { throw e; }); - } : onFinally - ); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var createAsyncIteratorProxy = __webpack_require__(228); + + module.exports = createAsyncIteratorProxy(function () { + return call(this.next, this.iterator); + }, true); + + + /***/ }), /* 240 */ - /***/ (function (module, exports, __webpack_require__) { - - var aFunction = __webpack_require__(79); - var anObject = __webpack_require__(21); - var nativeApply = (__webpack_require__(2).Reflect || {}).apply; - var functionApply = Function.apply; - - // MS Edge argumentsList argument is optional - var OPTIONAL_ARGUMENTS_LIST = !__webpack_require__(5)(function () { - nativeApply(function () { /* empty */ }); - }); - - // `Reflect.apply` method - // https://tc39.github.io/ecma262/#sec-reflect.apply - __webpack_require__(7)({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, { - apply: function apply(target, thisArgument, argumentsList) { - aFunction(target); - anObject(argumentsList); - return nativeApply - ? nativeApply(target, thisArgument, argumentsList) - : functionApply.call(target, thisArgument, argumentsList); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var indexed = __webpack_require__(226); + + // `AsyncIterator.prototype.indexed` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true, forced: true }, { + indexed: indexed + }); + + + /***/ }), /* 241 */ - /***/ (function (module, exports, __webpack_require__) { - - var create = __webpack_require__(51); - var aFunction = __webpack_require__(79); - var anObject = __webpack_require__(21); - var isObject = __webpack_require__(16); - var fails = __webpack_require__(5); - var bind = __webpack_require__(146); - var nativeConstruct = (__webpack_require__(2).Reflect || {}).construct; - - // `Reflect.construct` method - // https://tc39.github.io/ecma262/#sec-reflect.construct - // MS Edge supports only 2 arguments and argumentsList argument is optional - // FF Nightly sets third argument as `new.target`, but does not create `this` from it - var NEW_TARGET_BUG = fails(function () { - function F() { /* empty */ } - return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F); - }); - var ARGS_BUG = !fails(function () { - nativeConstruct(function () { /* empty */ }); - }); - var FORCED = NEW_TARGET_BUG || ARGS_BUG; - - __webpack_require__(7)({ target: 'Reflect', stat: true, forced: FORCED, sham: FORCED }, { - construct: function construct(Target, args /* , newTarget */) { - aFunction(Target); - anObject(args); - var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]); - if (ARGS_BUG && !NEW_TARGET_BUG) return nativeConstruct(Target, args, newTarget); - if (Target == newTarget) { - // w/o altered newTarget, optimization for 0-4 arguments - switch (args.length) { - case 0: return new Target(); - case 1: return new Target(args[0]); - case 2: return new Target(args[0], args[1]); - case 3: return new Target(args[0], args[1], args[2]); - case 4: return new Target(args[0], args[1], args[2], args[3]); - } - // w/o altered newTarget, lot of arguments case - var $args = [null]; - $args.push.apply($args, args); - return new (bind.apply(Target, $args))(); - } - // with altered newTarget, not support built-in constructors - var proto = newTarget.prototype; - var instance = create(isObject(proto) ? proto : Object.prototype); - var result = Function.apply.call(Target, instance, args); - return isObject(result) ? result : instance; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var map = __webpack_require__(227); + var IS_PURE = __webpack_require__(35); + + // `AsyncIterator.prototype.map` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { + map: map + }); + + + + /***/ }), /* 242 */ - /***/ (function (module, exports, __webpack_require__) { - - var definePropertyModule = __webpack_require__(20); - var anObject = __webpack_require__(21); - var toPrimitive = __webpack_require__(15); - var DESCRIPTORS = __webpack_require__(4); - - // MS Edge has broken Reflect.defineProperty - throwing instead of returning false - var ERROR_INSTEAD_OF_FALSE = __webpack_require__(5)(function () { - // eslint-disable-next-line no-undef - Reflect.defineProperty(definePropertyModule.f({}, 1, { value: 1 }), 1, { value: 2 }); - }); - - // `Reflect.defineProperty` method - // https://tc39.github.io/ecma262/#sec-reflect.defineproperty - __webpack_require__(7)({ target: 'Reflect', stat: true, forced: ERROR_INSTEAD_OF_FALSE, sham: !DESCRIPTORS }, { - defineProperty: function defineProperty(target, propertyKey, attributes) { - anObject(target); - propertyKey = toPrimitive(propertyKey, true); - anObject(attributes); - try { - definePropertyModule.f(target, propertyKey, attributes); - return true; - } catch (e) { - return false; - } - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var isObject = __webpack_require__(19); + var getBuiltIn = __webpack_require__(22); + var getIteratorDirect = __webpack_require__(201); + var closeAsyncIteration = __webpack_require__(203); + + var Promise = getBuiltIn('Promise'); + var $TypeError = TypeError; + + // `AsyncIterator.prototype.reduce` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true }, { + reduce: function reduce(reducer /* , initialValue */) { + anObject(this); + aCallable(reducer); + var record = getIteratorDirect(this); + var iterator = record.iterator; + var next = record.next; + var noInitial = arguments.length < 2; + var accumulator = noInitial ? undefined : arguments[1]; + var counter = 0; + + return new Promise(function (resolve, reject) { + var ifAbruptCloseAsyncIterator = function (error) { + closeAsyncIteration(iterator, reject, error, reject); + }; + + var loop = function () { + try { + Promise.resolve(anObject(call(next, iterator))).then(function (step) { + try { + if (anObject(step).done) { + noInitial ? reject(new $TypeError('Reduce of empty iterator with no initial value')) : resolve(accumulator); + } else { + var value = step.value; + if (noInitial) { + noInitial = false; + accumulator = value; + loop(); + } else try { + var result = reducer(accumulator, value, counter); + + var handler = function ($result) { + accumulator = $result; + loop(); + }; + + if (isObject(result)) Promise.resolve(result).then(handler, ifAbruptCloseAsyncIterator); + else handler(result); + } catch (error3) { ifAbruptCloseAsyncIterator(error3); } + } + counter++; + } catch (error2) { reject(error2); } + }, reject); + } catch (error) { reject(error); } + }; + + loop(); + }); + } + }); + + + /***/ }), /* 243 */ - /***/ (function (module, exports, __webpack_require__) { - - var getOwnPropertyDescriptor = __webpack_require__(8).f; - var anObject = __webpack_require__(21); - - // `Reflect.deleteProperty` method - // https://tc39.github.io/ecma262/#sec-reflect.deleteproperty - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - deleteProperty: function deleteProperty(target, propertyKey) { - var descriptor = getOwnPropertyDescriptor(anObject(target), propertyKey); - return descriptor && !descriptor.configurable ? false : delete target[propertyKey]; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $some = __webpack_require__(202).some; + + // `AsyncIterator.prototype.some` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true }, { + some: function some(predicate) { + return $some(this, predicate); + } + }); + + + /***/ }), /* 244 */ - /***/ (function (module, exports, __webpack_require__) { - - var getOwnPropertyDescriptorModule = __webpack_require__(8); - var getPrototypeOf = __webpack_require__(106); - var has = __webpack_require__(3); - var isObject = __webpack_require__(16); - var anObject = __webpack_require__(21); - - // `Reflect.get` method - // https://tc39.github.io/ecma262/#sec-reflect.get - function get(target, propertyKey /* , receiver */) { - var receiver = arguments.length < 3 ? target : arguments[2]; - var descriptor, prototype; - if (anObject(target) === receiver) return target[propertyKey]; - if (descriptor = getOwnPropertyDescriptorModule.f(target, propertyKey)) return has(descriptor, 'value') - ? descriptor.value - : descriptor.get === undefined - ? undefined - : descriptor.get.call(receiver); - if (isObject(prototype = getPrototypeOf(target))) return get(prototype, propertyKey, receiver); - } - - __webpack_require__(7)({ target: 'Reflect', stat: true }, { get: get }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var notANaN = __webpack_require__(231); + var toPositiveInteger = __webpack_require__(187); + var createAsyncIteratorProxy = __webpack_require__(228); + var createIterResultObject = __webpack_require__(200); + var IS_PURE = __webpack_require__(35); + + var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise) { + var state = this; + var iterator = state.iterator; + var returnMethod; + + if (!state.remaining--) { + var resultDone = createIterResultObject(undefined, true); + state.done = true; + returnMethod = iterator['return']; + if (returnMethod !== undefined) { + return Promise.resolve(call(returnMethod, iterator, undefined)).then(function () { + return resultDone; + }); + } + return resultDone; + } return Promise.resolve(call(state.next, iterator)).then(function (step) { + if (anObject(step).done) { + state.done = true; + return createIterResultObject(undefined, true); + } return createIterResultObject(step.value, false); + }).then(null, function (error) { + state.done = true; + throw error; + }); + }); + + // `AsyncIterator.prototype.take` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true, forced: IS_PURE }, { + take: function take(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new AsyncIteratorProxy(getIteratorDirect(this), { + remaining: remaining + }); + } + }); + + + /***/ }), /* 245 */ - /***/ (function (module, exports, __webpack_require__) { - - var getOwnPropertyDescriptorModule = __webpack_require__(8); - var anObject = __webpack_require__(21); - var DESCRIPTORS = __webpack_require__(4); - - // `Reflect.getOwnPropertyDescriptor` method - // https://tc39.github.io/ecma262/#sec-reflect.getownpropertydescriptor - __webpack_require__(7)({ target: 'Reflect', stat: true, sham: !DESCRIPTORS }, { - getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) { - return getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var $toArray = __webpack_require__(202).toArray; + + // `AsyncIterator.prototype.toArray` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'AsyncIterator', proto: true, real: true }, { + toArray: function toArray() { + return $toArray(this, undefined, []); + } + }); + + + /***/ }), /* 246 */ - /***/ (function (module, exports, __webpack_require__) { - - var objectGetPrototypeOf = __webpack_require__(106); - var anObject = __webpack_require__(21); - var CORRECT_PROTOTYPE_GETTER = __webpack_require__(107); - - // `Reflect.getPrototypeOf` method - // https://tc39.github.io/ecma262/#sec-reflect.getprototypeof - __webpack_require__(7)({ target: 'Reflect', stat: true, sham: !CORRECT_PROTOTYPE_GETTER }, { - getPrototypeOf: function getPrototypeOf(target) { - return objectGetPrototypeOf(anObject(target)); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable es/no-bigint -- safe */ + var $ = __webpack_require__(2); + var NumericRangeIterator = __webpack_require__(247); + + // `BigInt.range` method + // https://github.com/tc39/proposal-Number.range + // TODO: Remove from `core-js@4` + if (typeof BigInt == 'function') { + $({ target: 'BigInt', stat: true, forced: true }, { + range: function range(start, end, option) { + return new NumericRangeIterator(start, end, option, 'bigint', BigInt(0), BigInt(1)); + } + }); + } + + + /***/ }), /* 247 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Reflect.has` method - // https://tc39.github.io/ecma262/#sec-reflect.has - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - has: function has(target, propertyKey) { - return propertyKey in target; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var InternalStateModule = __webpack_require__(50); + var createIteratorConstructor = __webpack_require__(248); + var createIterResultObject = __webpack_require__(200); + var isNullOrUndefined = __webpack_require__(16); + var isObject = __webpack_require__(19); + var defineBuiltInAccessor = __webpack_require__(118); + var DESCRIPTORS = __webpack_require__(5); + + var INCORRECT_RANGE = 'Incorrect Iterator.range arguments'; + var NUMERIC_RANGE_ITERATOR = 'NumericRangeIterator'; + + var setInternalState = InternalStateModule.set; + var getInternalState = InternalStateModule.getterFor(NUMERIC_RANGE_ITERATOR); + + var $RangeError = RangeError; + var $TypeError = TypeError; + + var $RangeIterator = createIteratorConstructor(function NumericRangeIterator(start, end, option, type, zero, one) { + // TODO: Drop the first `typeof` check after removing legacy methods in `core-js@4` + if (typeof start != type || (end !== Infinity && end !== -Infinity && typeof end != type)) { + throw new $TypeError(INCORRECT_RANGE); + } + if (start === Infinity || start === -Infinity) { + throw new $RangeError(INCORRECT_RANGE); + } + var ifIncrease = end > start; + var inclusiveEnd = false; + var step; + if (option === undefined) { + step = undefined; + } else if (isObject(option)) { + step = option.step; + inclusiveEnd = !!option.inclusive; + } else if (typeof option == type) { + step = option; + } else { + throw new $TypeError(INCORRECT_RANGE); + } + if (isNullOrUndefined(step)) { + step = ifIncrease ? one : -one; + } + if (typeof step != type) { + throw new $TypeError(INCORRECT_RANGE); + } + if (step === Infinity || step === -Infinity || (step === zero && start !== end)) { + throw new $RangeError(INCORRECT_RANGE); + } + // eslint-disable-next-line no-self-compare -- NaN check + var hitsEnd = start !== start || end !== end || step !== step || (end > start) !== (step > zero); + setInternalState(this, { + type: NUMERIC_RANGE_ITERATOR, + start: start, + end: end, + step: step, + inclusive: inclusiveEnd, + hitsEnd: hitsEnd, + currentCount: zero, + zero: zero + }); + if (!DESCRIPTORS) { + this.start = start; + this.end = end; + this.step = step; + this.inclusive = inclusiveEnd; + } + }, NUMERIC_RANGE_ITERATOR, function next() { + var state = getInternalState(this); + if (state.hitsEnd) return createIterResultObject(undefined, true); + var start = state.start; + var end = state.end; + var step = state.step; + var currentYieldingValue = start + (step * state.currentCount++); + if (currentYieldingValue === end) state.hitsEnd = true; + var inclusiveEnd = state.inclusive; + var endCondition; + if (end > start) { + endCondition = inclusiveEnd ? currentYieldingValue > end : currentYieldingValue >= end; + } else { + endCondition = inclusiveEnd ? end > currentYieldingValue : end >= currentYieldingValue; + } + if (endCondition) { + state.hitsEnd = true; + return createIterResultObject(undefined, true); + } return createIterResultObject(currentYieldingValue, false); + }); + + var addGetter = function (key) { + defineBuiltInAccessor($RangeIterator.prototype, key, { + get: function () { + return getInternalState(this)[key]; + }, + set: function () { /* empty */ }, + configurable: true, + enumerable: false + }); + }; + + if (DESCRIPTORS) { + addGetter('start'); + addGetter('end'); + addGetter('inclusive'); + addGetter('step'); + } + + module.exports = $RangeIterator; + + + /***/ }), /* 248 */ - /***/ (function (module, exports, __webpack_require__) { - - var anObject = __webpack_require__(21); - var objectIsExtensible = Object.isExtensible; - - // `Reflect.isExtensible` method - // https://tc39.github.io/ecma262/#sec-reflect.isextensible - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - isExtensible: function isExtensible(target) { - anObject(target); - return objectIsExtensible ? objectIsExtensible(target) : true; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var IteratorPrototype = __webpack_require__(249).IteratorPrototype; + var create = __webpack_require__(87); + var createPropertyDescriptor = __webpack_require__(10); + var setToStringTag = __webpack_require__(138); + var Iterators = __webpack_require__(95); + + var returnThis = function () { return this; }; + + module.exports = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) { + var TO_STRING_TAG = NAME + ' Iterator'; + IteratorConstructor.prototype = create(IteratorPrototype, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) }); + setToStringTag(IteratorConstructor, TO_STRING_TAG, false, true); + Iterators[TO_STRING_TAG] = returnThis; + return IteratorConstructor; + }; + + + /***/ }), /* 249 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Reflect.ownKeys` method - // https://tc39.github.io/ecma262/#sec-reflect.ownkeys - __webpack_require__(7)({ target: 'Reflect', stat: true }, { ownKeys: __webpack_require__(32) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + var isCallable = __webpack_require__(20); + var isObject = __webpack_require__(19); + var create = __webpack_require__(87); + var getPrototypeOf = __webpack_require__(85); + var defineBuiltIn = __webpack_require__(46); + var wellKnownSymbol = __webpack_require__(32); + var IS_PURE = __webpack_require__(35); + + var ITERATOR = wellKnownSymbol('iterator'); + var BUGGY_SAFARI_ITERATORS = false; + + // `%IteratorPrototype%` object + // https://tc39.es/ecma262/#sec-%iteratorprototype%-object + var IteratorPrototype, PrototypeOfArrayIteratorPrototype, arrayIterator; + + /* eslint-disable es/no-array-prototype-keys -- safe */ + if ([].keys) { + arrayIterator = [].keys(); + // Safari 8 has buggy iterators w/o `next` + if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS = true; + else { + PrototypeOfArrayIteratorPrototype = getPrototypeOf(getPrototypeOf(arrayIterator)); + if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype = PrototypeOfArrayIteratorPrototype; + } + } + + var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype) || fails(function () { + var test = {}; + // FF44- legacy iterators case + return IteratorPrototype[ITERATOR].call(test) !== test; + }); + + if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype = {}; + else if (IS_PURE) IteratorPrototype = create(IteratorPrototype); + + // `%IteratorPrototype%[@@iterator]()` method + // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator + if (!isCallable(IteratorPrototype[ITERATOR])) { + defineBuiltIn(IteratorPrototype, ITERATOR, function () { + return this; + }); + } + + module.exports = { + IteratorPrototype: IteratorPrototype, + BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS + }; + + + /***/ }), /* 250 */ - /***/ (function (module, exports, __webpack_require__) { - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var FREEZING = __webpack_require__(153); - - // `Reflect.preventExtensions` method - // https://tc39.github.io/ecma262/#sec-reflect.preventextensions - __webpack_require__(7)({ target: 'Reflect', stat: true, sham: !FREEZING }, { - preventExtensions: function preventExtensions(target) { - anObject(target); - try { - var objectPreventExtensions = getBuiltIn('Object', 'preventExtensions'); - if (objectPreventExtensions) objectPreventExtensions(target); - return true; - } catch (e) { - return false; - } - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var apply = __webpack_require__(67); + var getCompositeKeyNode = __webpack_require__(251); + var getBuiltIn = __webpack_require__(22); + var create = __webpack_require__(87); + + var $Object = Object; + + var initializer = function () { + var freeze = getBuiltIn('Object', 'freeze'); + return freeze ? freeze(create(null)) : create(null); + }; + + // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey + $({ global: true, forced: true }, { + compositeKey: function compositeKey() { + return apply(getCompositeKeyNode, $Object, arguments).get('object', initializer); + } + }); + + + /***/ }), /* 251 */ - /***/ (function (module, exports, __webpack_require__) { - - var definePropertyModule = __webpack_require__(20); - var getOwnPropertyDescriptorModule = __webpack_require__(8); - var getPrototypeOf = __webpack_require__(106); - var has = __webpack_require__(3); - var createPropertyDescriptor = __webpack_require__(10); - var anObject = __webpack_require__(21); - var isObject = __webpack_require__(16); - - // `Reflect.set` method - // https://tc39.github.io/ecma262/#sec-reflect.set - function set(target, propertyKey, V /* , receiver */) { - var receiver = arguments.length < 4 ? target : arguments[3]; - var ownDescriptor = getOwnPropertyDescriptorModule.f(anObject(target), propertyKey); - var existingDescriptor, prototype; - if (!ownDescriptor) { - if (isObject(prototype = getPrototypeOf(target))) { - return set(prototype, propertyKey, V, receiver); - } - ownDescriptor = createPropertyDescriptor(0); - } - if (has(ownDescriptor, 'value')) { - if (ownDescriptor.writable === false || !isObject(receiver)) return false; - if (existingDescriptor = getOwnPropertyDescriptorModule.f(receiver, propertyKey)) { - if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false; - existingDescriptor.value = V; - definePropertyModule.f(receiver, propertyKey, existingDescriptor); - } else definePropertyModule.f(receiver, propertyKey, createPropertyDescriptor(0, V)); - return true; - } - return ownDescriptor.set === undefined ? false : (ownDescriptor.set.call(receiver, V), true); - } - - __webpack_require__(7)({ target: 'Reflect', stat: true }, { set: set }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` + __webpack_require__(252); + __webpack_require__(262); + var getBuiltIn = __webpack_require__(22); + var create = __webpack_require__(87); + var isObject = __webpack_require__(19); + + var $Object = Object; + var $TypeError = TypeError; + var Map = getBuiltIn('Map'); + var WeakMap = getBuiltIn('WeakMap'); + + var Node = function () { + // keys + this.object = null; + this.symbol = null; + // child nodes + this.primitives = null; + this.objectsByIndex = create(null); + }; + + Node.prototype.get = function (key, initializer) { + return this[key] || (this[key] = initializer()); + }; + + Node.prototype.next = function (i, it, IS_OBJECT) { + var store = IS_OBJECT + ? this.objectsByIndex[i] || (this.objectsByIndex[i] = new WeakMap()) + : this.primitives || (this.primitives = new Map()); + var entry = store.get(it); + if (!entry) store.set(it, entry = new Node()); + return entry; + }; + + var root = new Node(); + + module.exports = function () { + var active = root; + var length = arguments.length; + var i, it; + // for prevent leaking, start from objects + for (i = 0; i < length; i++) { + if (isObject(it = arguments[i])) active = active.next(i, it, true); + } + if (this === $Object && active === root) throw new $TypeError('Composite keys must contain a non-primitive component'); + for (i = 0; i < length; i++) { + if (!isObject(it = arguments[i])) active = active.next(i, it, false); + } return active; + }; + + + /***/ }), /* 252 */ - /***/ (function (module, exports, __webpack_require__) { - - var objectSetPrototypeOf = __webpack_require__(108); - var validateSetPrototypeOfArguments = __webpack_require__(109); - - // `Reflect.setPrototypeOf` method - // https://tc39.github.io/ecma262/#sec-reflect.setprototypeof - if (objectSetPrototypeOf) __webpack_require__(7)({ target: 'Reflect', stat: true }, { - setPrototypeOf: function setPrototypeOf(target, proto) { - validateSetPrototypeOfArguments(target, proto); - try { - objectSetPrototypeOf(target, proto); - return true; - } catch (e) { - return false; - } - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove this module from `core-js@4` since it's replaced to module below + __webpack_require__(253); + + + /***/ }), /* 253 */ - /***/ (function (module, exports, __webpack_require__) { - - var DESCRIPTORS = __webpack_require__(4); - var MATCH = __webpack_require__(43)('match'); - var global = __webpack_require__(2); - var isForced = __webpack_require__(41); - var inheritIfRequired = __webpack_require__(155); - var defineProperty = __webpack_require__(20).f; - var getOwnPropertyNames = __webpack_require__(33).f; - var isRegExp = __webpack_require__(254); - var getFlags = __webpack_require__(255); - var redefine = __webpack_require__(22); - var fails = __webpack_require__(5); - var NativeRegExp = global.RegExp; - var RegExpPrototype = NativeRegExp.prototype; - var re1 = /a/g; - var re2 = /a/g; - - // "new" should create a new object, old webkit bug - var CORRECT_NEW = new NativeRegExp(re1) !== re1; - - var FORCED = isForced('RegExp', DESCRIPTORS && (!CORRECT_NEW || fails(function () { - re2[MATCH] = false; - // RegExp constructor can alter flags and IsRegExp works correct with @@match - return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i'; - }))); - - // `RegExp` constructor - // https://tc39.github.io/ecma262/#sec-regexp-constructor - if (FORCED) { - var RegExpWrapper = function RegExp(pattern, flags) { - var thisIsRegExp = this instanceof RegExpWrapper; - var patternIsRegExp = isRegExp(pattern); - var flagsAreUndefined = flags === undefined; - return !thisIsRegExp && patternIsRegExp && pattern.constructor === RegExpWrapper && flagsAreUndefined ? pattern - : inheritIfRequired(CORRECT_NEW - ? new NativeRegExp(patternIsRegExp && !flagsAreUndefined ? pattern.source : pattern, flags) - : NativeRegExp((patternIsRegExp = pattern instanceof RegExpWrapper) - ? pattern.source - : pattern, patternIsRegExp && flagsAreUndefined ? getFlags.call(pattern) : flags) - , thisIsRegExp ? this : RegExpPrototype, RegExpWrapper); - }; - var proxy = function (key) { - key in RegExpWrapper || defineProperty(RegExpWrapper, key, { - configurable: true, - get: function () { return NativeRegExp[key]; }, - set: function (it) { NativeRegExp[key] = it; } - }); - }; - var keys = getOwnPropertyNames(NativeRegExp); - var i = 0; - while (i < keys.length) proxy(keys[i++]); - RegExpPrototype.constructor = RegExpWrapper; - RegExpWrapper.prototype = RegExpPrototype; - redefine(global, 'RegExp', RegExpWrapper); - } - - // https://tc39.github.io/ecma262/#sec-get-regexp-@@species - __webpack_require__(123)('RegExp'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var collection = __webpack_require__(254); + var collectionStrong = __webpack_require__(260); + + // `Map` constructor + // https://tc39.es/ecma262/#sec-map-objects + collection('Map', function (init) { + return function Map() { return init(this, arguments.length ? arguments[0] : undefined); }; + }, collectionStrong); + + + /***/ }), /* 254 */ - /***/ (function (module, exports, __webpack_require__) { - - var isObject = __webpack_require__(16); - var classof = __webpack_require__(13); - var MATCH = __webpack_require__(43)('match'); - - // `IsRegExp` abstract operation - // https://tc39.github.io/ecma262/#sec-isregexp - module.exports = function (it) { - var isRegExp; - return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : classof(it) == 'RegExp'); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var uncurryThis = __webpack_require__(13); + var isForced = __webpack_require__(66); + var defineBuiltIn = __webpack_require__(46); + var InternalMetadataModule = __webpack_require__(255); + var iterate = __webpack_require__(91); + var anInstance = __webpack_require__(140); + var isCallable = __webpack_require__(20); + var isNullOrUndefined = __webpack_require__(16); + var isObject = __webpack_require__(19); + var fails = __webpack_require__(6); + var checkCorrectnessOfIteration = __webpack_require__(160); + var setToStringTag = __webpack_require__(138); + var inheritIfRequired = __webpack_require__(74); + + module.exports = function (CONSTRUCTOR_NAME, wrapper, common) { + var IS_MAP = CONSTRUCTOR_NAME.indexOf('Map') !== -1; + var IS_WEAK = CONSTRUCTOR_NAME.indexOf('Weak') !== -1; + var ADDER = IS_MAP ? 'set' : 'add'; + var NativeConstructor = global[CONSTRUCTOR_NAME]; + var NativePrototype = NativeConstructor && NativeConstructor.prototype; + var Constructor = NativeConstructor; + var exported = {}; + + var fixMethod = function (KEY) { + var uncurriedNativeMethod = uncurryThis(NativePrototype[KEY]); + defineBuiltIn(NativePrototype, KEY, + KEY === 'add' ? function add(value) { + uncurriedNativeMethod(this, value === 0 ? 0 : value); + return this; + } : KEY === 'delete' ? function (key) { + return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); + } : KEY === 'get' ? function get(key) { + return IS_WEAK && !isObject(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key); + } : KEY === 'has' ? function has(key) { + return IS_WEAK && !isObject(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); + } : function set(key, value) { + uncurriedNativeMethod(this, key === 0 ? 0 : key, value); + return this; + } + ); + }; + + var REPLACE = isForced( + CONSTRUCTOR_NAME, + !isCallable(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails(function () { + new NativeConstructor().entries().next(); + })) + ); + + if (REPLACE) { + // create collection constructor + Constructor = common.getConstructor(wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER); + InternalMetadataModule.enable(); + } else if (isForced(CONSTRUCTOR_NAME, true)) { + var instance = new Constructor(); + // early implementations not supports chaining + var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) !== instance; + // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false + var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); }); + // most early implementations doesn't supports iterables, most modern - not close it correctly + // eslint-disable-next-line no-new -- required for testing + var ACCEPT_ITERABLES = checkCorrectnessOfIteration(function (iterable) { new NativeConstructor(iterable); }); + // for early implementations -0 and +0 not the same + var BUGGY_ZERO = !IS_WEAK && fails(function () { + // V8 ~ Chromium 42- fails only with 5+ elements + var $instance = new NativeConstructor(); + var index = 5; + while (index--) $instance[ADDER](index, index); + return !$instance.has(-0); + }); + + if (!ACCEPT_ITERABLES) { + Constructor = wrapper(function (dummy, iterable) { + anInstance(dummy, NativePrototype); + var that = inheritIfRequired(new NativeConstructor(), dummy, Constructor); + if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + return that; + }); + Constructor.prototype = NativePrototype; + NativePrototype.constructor = Constructor; + } + + if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) { + fixMethod('delete'); + fixMethod('has'); + IS_MAP && fixMethod('get'); + } + + if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER); + + // weak collections should not contains .clear method + if (IS_WEAK && NativePrototype.clear) delete NativePrototype.clear; + } + + exported[CONSTRUCTOR_NAME] = Constructor; + $({ global: true, constructor: true, forced: Constructor !== NativeConstructor }, exported); + + setToStringTag(Constructor, CONSTRUCTOR_NAME); + + if (!IS_WEAK) common.setStrong(Constructor, CONSTRUCTOR_NAME, IS_MAP); + + return Constructor; + }; + + + /***/ }), /* 255 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - - // `RegExp.prototype.flags` getter implementation - // https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags - module.exports = function () { - var that = anObject(this); - var result = ''; - if (that.global) result += 'g'; - if (that.ignoreCase) result += 'i'; - if (that.multiline) result += 'm'; - if (that.unicode) result += 'u'; - if (that.sticky) result += 'y'; - return result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var hiddenKeys = __webpack_require__(53); + var isObject = __webpack_require__(19); + var hasOwn = __webpack_require__(37); + var defineProperty = __webpack_require__(43).f; + var getOwnPropertyNamesModule = __webpack_require__(56); + var getOwnPropertyNamesExternalModule = __webpack_require__(256); + var isExtensible = __webpack_require__(257); + var uid = __webpack_require__(39); + var FREEZING = __webpack_require__(259); + + var REQUIRED = false; + var METADATA = uid('meta'); + var id = 0; + + var setMetadata = function (it) { + defineProperty(it, METADATA, { value: { + objectID: 'O' + id++, // object ID + weakData: {} // weak collections IDs + } }); + }; + + var fastKey = function (it, create) { + // return a primitive with prefix + if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; + if (!hasOwn(it, METADATA)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return 'F'; + // not necessary to add metadata + if (!create) return 'E'; + // add missing metadata + setMetadata(it); + // return object ID + } return it[METADATA].objectID; + }; + + var getWeakData = function (it, create) { + if (!hasOwn(it, METADATA)) { + // can't set metadata to uncaught frozen object + if (!isExtensible(it)) return true; + // not necessary to add metadata + if (!create) return false; + // add missing metadata + setMetadata(it); + // return the store of weak collections IDs + } return it[METADATA].weakData; + }; + + // add metadata on freeze-family methods calling + var onFreeze = function (it) { + if (FREEZING && REQUIRED && isExtensible(it) && !hasOwn(it, METADATA)) setMetadata(it); + return it; + }; + + var enable = function () { + meta.enable = function () { /* empty */ }; + REQUIRED = true; + var getOwnPropertyNames = getOwnPropertyNamesModule.f; + var splice = uncurryThis([].splice); + var test = {}; + test[METADATA] = 1; + + // prevent exposing of metadata key + if (getOwnPropertyNames(test).length) { + getOwnPropertyNamesModule.f = function (it) { + var result = getOwnPropertyNames(it); + for (var i = 0, length = result.length; i < length; i++) { + if (result[i] === METADATA) { + splice(result, i, 1); + break; + } + } return result; + }; + + $({ target: 'Object', stat: true, forced: true }, { + getOwnPropertyNames: getOwnPropertyNamesExternalModule.f + }); + } + }; + + var meta = module.exports = { + enable: enable, + fastKey: fastKey, + getWeakData: getWeakData, + onFreeze: onFreeze + }; + + hiddenKeys[METADATA] = true; + + + /***/ }), /* 256 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - - var regexpExec = __webpack_require__(257); - - __webpack_require__(7)({ target: 'RegExp', proto: true, forced: /./.exec !== regexpExec }, { - exec: regexpExec - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable es/no-object-getownpropertynames -- safe */ + var classof = __webpack_require__(14); + var toIndexedObject = __webpack_require__(11); + var $getOwnPropertyNames = __webpack_require__(56).f; + var arraySlice = __webpack_require__(145); + + var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames + ? Object.getOwnPropertyNames(window) : []; + + var getWindowNames = function (it) { + try { + return $getOwnPropertyNames(it); + } catch (error) { + return arraySlice(windowNames); + } + }; + + // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window + module.exports.f = function getOwnPropertyNames(it) { + return windowNames && classof(it) === 'Window' + ? getWindowNames(it) + : $getOwnPropertyNames(toIndexedObject(it)); + }; + + + /***/ }), /* 257 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - - var regexpFlags = __webpack_require__(255); - - var nativeExec = RegExp.prototype.exec; - // This always refers to the native implementation, because the - // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js, - // which loads this file before patching the method. - var nativeReplace = String.prototype.replace; - - var patchedExec = nativeExec; - - var UPDATES_LAST_INDEX_WRONG = (function () { - var re1 = /a/; - var re2 = /b*/g; - nativeExec.call(re1, 'a'); - nativeExec.call(re2, 'a'); - return re1.lastIndex !== 0 || re2.lastIndex !== 0; - })(); - - // nonparticipating capturing group, copied from es5-shim's String#split patch. - var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined; - - var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED; - - if (PATCH) { - patchedExec = function exec(str) { - var re = this; - var lastIndex, reCopy, match, i; - - if (NPCG_INCLUDED) { - reCopy = new RegExp('^' + re.source + '$(?!\\s)', regexpFlags.call(re)); - } - if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; - - match = nativeExec.call(re, str); - - if (UPDATES_LAST_INDEX_WRONG && match) { - re.lastIndex = re.global ? match.index + match[0].length : lastIndex; - } - if (NPCG_INCLUDED && match && match.length > 1) { - // Fix browsers whose `exec` methods don't consistently return `undefined` - // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/ - nativeReplace.call(match[0], reCopy, function () { - for (i = 1; i < arguments.length - 2; i++) { - if (arguments[i] === undefined) match[i] = undefined; - } - }); - } - - return match; - }; - } - - module.exports = patchedExec; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + var isObject = __webpack_require__(19); + var classof = __webpack_require__(14); + var ARRAY_BUFFER_NON_EXTENSIBLE = __webpack_require__(258); + + // eslint-disable-next-line es/no-object-isextensible -- safe + var $isExtensible = Object.isExtensible; + var FAILS_ON_PRIMITIVES = fails(function () { $isExtensible(1); }); + + // `Object.isExtensible` method + // https://tc39.es/ecma262/#sec-object.isextensible + module.exports = (FAILS_ON_PRIMITIVES || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) { + if (!isObject(it)) return false; + if (ARRAY_BUFFER_NON_EXTENSIBLE && classof(it) === 'ArrayBuffer') return false; + return $isExtensible ? $isExtensible(it) : true; + } : $isExtensible; + + + /***/ }), /* 258 */ - /***/ (function (module, exports, __webpack_require__) { - - // `RegExp.prototype.flags` getter - // https://tc39.github.io/ecma262/#sec-get-regexp.prototype.flags - if (__webpack_require__(4) && /./g.flags != 'g') { - __webpack_require__(20).f(RegExp.prototype, 'flags', { - configurable: true, - get: __webpack_require__(255) - }); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it + var fails = __webpack_require__(6); + + module.exports = fails(function () { + if (typeof ArrayBuffer == 'function') { + var buffer = new ArrayBuffer(8); + // eslint-disable-next-line es/no-object-isextensible, es/no-object-defineproperty -- safe + if (Object.isExtensible(buffer)) Object.defineProperty(buffer, 'a', { value: 8 }); + } + }); + + + /***/ }), /* 259 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var fails = __webpack_require__(5); - var flags = __webpack_require__(255); - var DESCRIPTORS = __webpack_require__(4); - var TO_STRING = 'toString'; - var nativeToString = /./[TO_STRING]; - - var NOT_GENERIC = fails(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; }); - // FF44- RegExp#toString has a wrong name - var INCORRECT_NAME = nativeToString.name != TO_STRING; - - // `RegExp.prototype.toString` method - // https://tc39.github.io/ecma262/#sec-regexp.prototype.tostring - if (NOT_GENERIC || INCORRECT_NAME) { - __webpack_require__(22)(RegExp.prototype, TO_STRING, function toString() { - var R = anObject(this); - return '/'.concat(R.source, '/', - 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? flags.call(R) : undefined); - }, { unsafe: true }); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + + module.exports = !fails(function () { + // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing + return Object.isExtensible(Object.preventExtensions({})); + }); + + + /***/ }), /* 260 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // `Set` constructor - // https://tc39.github.io/ecma262/#sec-set-objects - module.exports = __webpack_require__(151)('Set', function (get) { - return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; - }, __webpack_require__(156)); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var create = __webpack_require__(87); + var defineBuiltInAccessor = __webpack_require__(118); + var defineBuiltIns = __webpack_require__(198); + var bind = __webpack_require__(92); + var anInstance = __webpack_require__(140); + var isNullOrUndefined = __webpack_require__(16); + var iterate = __webpack_require__(91); + var defineIterator = __webpack_require__(261); + var createIterResultObject = __webpack_require__(200); + var setSpecies = __webpack_require__(139); + var DESCRIPTORS = __webpack_require__(5); + var fastKey = __webpack_require__(255).fastKey; + var InternalStateModule = __webpack_require__(50); + + var setInternalState = InternalStateModule.set; + var internalStateGetterFor = InternalStateModule.getterFor; + + module.exports = { + getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { + var Constructor = wrapper(function (that, iterable) { + anInstance(that, Prototype); + setInternalState(that, { + type: CONSTRUCTOR_NAME, + index: create(null), + first: undefined, + last: undefined, + size: 0 + }); + if (!DESCRIPTORS) that.size = 0; + if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + }); + + var Prototype = Constructor.prototype; + + var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); + + var define = function (that, key, value) { + var state = getInternalState(that); + var entry = getEntry(that, key); + var previous, index; + // change existing entry + if (entry) { + entry.value = value; + // create new entry + } else { + state.last = entry = { + index: index = fastKey(key, true), + key: key, + value: value, + previous: previous = state.last, + next: undefined, + removed: false + }; + if (!state.first) state.first = entry; + if (previous) previous.next = entry; + if (DESCRIPTORS) state.size++; + else that.size++; + // add to index + if (index !== 'F') state.index[index] = entry; + } return that; + }; + + var getEntry = function (that, key) { + var state = getInternalState(that); + // fast case + var index = fastKey(key); + var entry; + if (index !== 'F') return state.index[index]; + // frozen object case + for (entry = state.first; entry; entry = entry.next) { + if (entry.key === key) return entry; + } + }; + + defineBuiltIns(Prototype, { + // `{ Map, Set }.prototype.clear()` methods + // https://tc39.es/ecma262/#sec-map.prototype.clear + // https://tc39.es/ecma262/#sec-set.prototype.clear + clear: function clear() { + var that = this; + var state = getInternalState(that); + var entry = state.first; + while (entry) { + entry.removed = true; + if (entry.previous) entry.previous = entry.previous.next = undefined; + entry = entry.next; + } + state.first = state.last = undefined; + state.index = create(null); + if (DESCRIPTORS) state.size = 0; + else that.size = 0; + }, + // `{ Map, Set }.prototype.delete(key)` methods + // https://tc39.es/ecma262/#sec-map.prototype.delete + // https://tc39.es/ecma262/#sec-set.prototype.delete + 'delete': function (key) { + var that = this; + var state = getInternalState(that); + var entry = getEntry(that, key); + if (entry) { + var next = entry.next; + var prev = entry.previous; + delete state.index[entry.index]; + entry.removed = true; + if (prev) prev.next = next; + if (next) next.previous = prev; + if (state.first === entry) state.first = next; + if (state.last === entry) state.last = prev; + if (DESCRIPTORS) state.size--; + else that.size--; + } return !!entry; + }, + // `{ Map, Set }.prototype.forEach(callbackfn, thisArg = undefined)` methods + // https://tc39.es/ecma262/#sec-map.prototype.foreach + // https://tc39.es/ecma262/#sec-set.prototype.foreach + forEach: function forEach(callbackfn /* , that = undefined */) { + var state = getInternalState(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var entry; + while (entry = entry ? entry.next : state.first) { + boundFunction(entry.value, entry.key, this); + // revert to the last existing entry + while (entry && entry.removed) entry = entry.previous; + } + }, + // `{ Map, Set}.prototype.has(key)` methods + // https://tc39.es/ecma262/#sec-map.prototype.has + // https://tc39.es/ecma262/#sec-set.prototype.has + has: function has(key) { + return !!getEntry(this, key); + } + }); + + defineBuiltIns(Prototype, IS_MAP ? { + // `Map.prototype.get(key)` method + // https://tc39.es/ecma262/#sec-map.prototype.get + get: function get(key) { + var entry = getEntry(this, key); + return entry && entry.value; + }, + // `Map.prototype.set(key, value)` method + // https://tc39.es/ecma262/#sec-map.prototype.set + set: function set(key, value) { + return define(this, key === 0 ? 0 : key, value); + } + } : { + // `Set.prototype.add(value)` method + // https://tc39.es/ecma262/#sec-set.prototype.add + add: function add(value) { + return define(this, value = value === 0 ? 0 : value, value); + } + }); + if (DESCRIPTORS) defineBuiltInAccessor(Prototype, 'size', { + configurable: true, + get: function () { + return getInternalState(this).size; + } + }); + return Constructor; + }, + setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) { + var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator'; + var getInternalCollectionState = internalStateGetterFor(CONSTRUCTOR_NAME); + var getInternalIteratorState = internalStateGetterFor(ITERATOR_NAME); + // `{ Map, Set }.prototype.{ keys, values, entries, @@iterator }()` methods + // https://tc39.es/ecma262/#sec-map.prototype.entries + // https://tc39.es/ecma262/#sec-map.prototype.keys + // https://tc39.es/ecma262/#sec-map.prototype.values + // https://tc39.es/ecma262/#sec-map.prototype-@@iterator + // https://tc39.es/ecma262/#sec-set.prototype.entries + // https://tc39.es/ecma262/#sec-set.prototype.keys + // https://tc39.es/ecma262/#sec-set.prototype.values + // https://tc39.es/ecma262/#sec-set.prototype-@@iterator + defineIterator(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) { + setInternalState(this, { + type: ITERATOR_NAME, + target: iterated, + state: getInternalCollectionState(iterated), + kind: kind, + last: undefined + }); + }, function () { + var state = getInternalIteratorState(this); + var kind = state.kind; + var entry = state.last; + // revert to the last existing entry + while (entry && entry.removed) entry = entry.previous; + // get next entry + if (!state.target || !(state.last = entry = entry ? entry.next : state.state.first)) { + // or finish the iteration + state.target = undefined; + return createIterResultObject(undefined, true); + } + // return step by kind + if (kind === 'keys') return createIterResultObject(entry.key, false); + if (kind === 'values') return createIterResultObject(entry.value, false); + return createIterResultObject([entry.key, entry.value], false); + }, IS_MAP ? 'entries' : 'values', !IS_MAP, true); + + // `{ Map, Set }.prototype[@@species]` accessors + // https://tc39.es/ecma262/#sec-get-map-@@species + // https://tc39.es/ecma262/#sec-get-set-@@species + setSpecies(CONSTRUCTOR_NAME); + } + }; + + + /***/ }), /* 261 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalCodePointAt = __webpack_require__(262); - - // `String.prototype.codePointAt` method - // https://tc39.github.io/ecma262/#sec-string.prototype.codepointat - __webpack_require__(7)({ target: 'String', proto: true }, { - codePointAt: function codePointAt(pos) { - return internalCodePointAt(this, pos); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var IS_PURE = __webpack_require__(35); + var FunctionName = __webpack_require__(48); + var isCallable = __webpack_require__(20); + var createIteratorConstructor = __webpack_require__(248); + var getPrototypeOf = __webpack_require__(85); + var setPrototypeOf = __webpack_require__(69); + var setToStringTag = __webpack_require__(138); + var createNonEnumerableProperty = __webpack_require__(42); + var defineBuiltIn = __webpack_require__(46); + var wellKnownSymbol = __webpack_require__(32); + var Iterators = __webpack_require__(95); + var IteratorsCore = __webpack_require__(249); + + var PROPER_FUNCTION_NAME = FunctionName.PROPER; + var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; + var IteratorPrototype = IteratorsCore.IteratorPrototype; + var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS; + var ITERATOR = wellKnownSymbol('iterator'); + var KEYS = 'keys'; + var VALUES = 'values'; + var ENTRIES = 'entries'; + + var returnThis = function () { return this; }; + + module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) { + createIteratorConstructor(IteratorConstructor, NAME, next); + + var getIterationMethod = function (KIND) { + if (KIND === DEFAULT && defaultIterator) return defaultIterator; + if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND]; + + switch (KIND) { + case KEYS: return function keys() { return new IteratorConstructor(this, KIND); }; + case VALUES: return function values() { return new IteratorConstructor(this, KIND); }; + case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); }; + } + + return function () { return new IteratorConstructor(this); }; + }; + + var TO_STRING_TAG = NAME + ' Iterator'; + var INCORRECT_VALUES_NAME = false; + var IterablePrototype = Iterable.prototype; + var nativeIterator = IterablePrototype[ITERATOR] + || IterablePrototype['@@iterator'] + || DEFAULT && IterablePrototype[DEFAULT]; + var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT); + var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator; + var CurrentIteratorPrototype, methods, KEY; + + // fix native + if (anyNativeIterator) { + CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable())); + if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) { + if (!IS_PURE && getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) { + if (setPrototypeOf) { + setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype); + } else if (!isCallable(CurrentIteratorPrototype[ITERATOR])) { + defineBuiltIn(CurrentIteratorPrototype, ITERATOR, returnThis); + } + } + // Set @@toStringTag to native iterators + setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true, true); + if (IS_PURE) Iterators[TO_STRING_TAG] = returnThis; + } + } + + // fix Array.prototype.{ values, @@iterator }.name in V8 / FF + if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) { + if (!IS_PURE && CONFIGURABLE_FUNCTION_NAME) { + createNonEnumerableProperty(IterablePrototype, 'name', VALUES); + } else { + INCORRECT_VALUES_NAME = true; + defaultIterator = function values() { return call(nativeIterator, this); }; + } + } + + // export additional methods + if (DEFAULT) { + methods = { + values: getIterationMethod(VALUES), + keys: IS_SET ? defaultIterator : getIterationMethod(KEYS), + entries: getIterationMethod(ENTRIES) + }; + if (FORCED) for (KEY in methods) { + if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) { + defineBuiltIn(IterablePrototype, KEY, methods[KEY]); + } + } else $({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods); + } + + // define iterator + if ((!IS_PURE || FORCED) && IterablePrototype[ITERATOR] !== defaultIterator) { + defineBuiltIn(IterablePrototype, ITERATOR, defaultIterator, { name: DEFAULT }); + } + Iterators[NAME] = defaultIterator; + + return methods; + }; + + + /***/ }), /* 262 */ - /***/ (function (module, exports, __webpack_require__) { - - var toInteger = __webpack_require__(37); - var requireObjectCoercible = __webpack_require__(14); - // CONVERT_TO_STRING: true -> String#at - // CONVERT_TO_STRING: false -> String#codePointAt - module.exports = function (that, pos, CONVERT_TO_STRING) { - var S = String(requireObjectCoercible(that)); - var position = toInteger(pos); - var size = S.length; - var first, second; - if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; - first = S.charCodeAt(position); - return first < 0xd800 || first > 0xdbff || position + 1 === size - || (second = S.charCodeAt(position + 1)) < 0xdc00 || second > 0xdfff - ? CONVERT_TO_STRING ? S.charAt(position) : first - : CONVERT_TO_STRING ? S.slice(position, position + 2) : (first - 0xd800 << 10) + (second - 0xdc00) + 0x10000; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove this module from `core-js@4` since it's replaced to module below + __webpack_require__(263); + + + /***/ }), /* 263 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toLength = __webpack_require__(36); - var validateArguments = __webpack_require__(264); - var ENDS_WITH = 'endsWith'; - var nativeEndsWith = ''[ENDS_WITH]; - var min = Math.min; - - var CORRECT_IS_REGEXP_LOGIC = __webpack_require__(265)(ENDS_WITH); - - // `String.prototype.endsWith` method - // https://tc39.github.io/ecma262/#sec-string.prototype.endswith - __webpack_require__(7)({ target: 'String', proto: true, forced: !CORRECT_IS_REGEXP_LOGIC }, { - endsWith: function endsWith(searchString /* , endPosition = @length */) { - var that = validateArguments(this, searchString, ENDS_WITH); - var endPosition = arguments.length > 1 ? arguments[1] : undefined; - var len = toLength(that.length); - var end = endPosition === undefined ? len : min(toLength(endPosition), len); - var search = String(searchString); - return nativeEndsWith - ? nativeEndsWith.call(that, search, end) - : that.slice(end - search.length, end) === search; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var FREEZING = __webpack_require__(259); + var global = __webpack_require__(3); + var uncurryThis = __webpack_require__(13); + var defineBuiltIns = __webpack_require__(198); + var InternalMetadataModule = __webpack_require__(255); + var collection = __webpack_require__(254); + var collectionWeak = __webpack_require__(264); + var isObject = __webpack_require__(19); + var enforceInternalState = __webpack_require__(50).enforce; + var fails = __webpack_require__(6); + var NATIVE_WEAK_MAP = __webpack_require__(51); + + var $Object = Object; + // eslint-disable-next-line es/no-array-isarray -- safe + var isArray = Array.isArray; + // eslint-disable-next-line es/no-object-isextensible -- safe + var isExtensible = $Object.isExtensible; + // eslint-disable-next-line es/no-object-isfrozen -- safe + var isFrozen = $Object.isFrozen; + // eslint-disable-next-line es/no-object-issealed -- safe + var isSealed = $Object.isSealed; + // eslint-disable-next-line es/no-object-freeze -- safe + var freeze = $Object.freeze; + // eslint-disable-next-line es/no-object-seal -- safe + var seal = $Object.seal; + + var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; + var InternalWeakMap; + + var wrapper = function (init) { + return function WeakMap() { + return init(this, arguments.length ? arguments[0] : undefined); + }; + }; + + // `WeakMap` constructor + // https://tc39.es/ecma262/#sec-weakmap-constructor + var $WeakMap = collection('WeakMap', wrapper, collectionWeak); + var WeakMapPrototype = $WeakMap.prototype; + var nativeSet = uncurryThis(WeakMapPrototype.set); + + // Chakra Edge bug: adding frozen arrays to WeakMap unfreeze them + var hasMSEdgeFreezingBug = function () { + return FREEZING && fails(function () { + var frozenArray = freeze([]); + nativeSet(new $WeakMap(), frozenArray, 1); + return !isFrozen(frozenArray); + }); + }; + + // IE11 WeakMap frozen keys fix + // We can't use feature detection because it crash some old IE builds + // https://github.com/zloirock/core-js/issues/485 + if (NATIVE_WEAK_MAP) if (IS_IE11) { + InternalWeakMap = collectionWeak.getConstructor(wrapper, 'WeakMap', true); + InternalMetadataModule.enable(); + var nativeDelete = uncurryThis(WeakMapPrototype['delete']); + var nativeHas = uncurryThis(WeakMapPrototype.has); + var nativeGet = uncurryThis(WeakMapPrototype.get); + defineBuiltIns(WeakMapPrototype, { + 'delete': function (key) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + return nativeDelete(this, key) || state.frozen['delete'](key); + } return nativeDelete(this, key); + }, + has: function has(key) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + return nativeHas(this, key) || state.frozen.has(key); + } return nativeHas(this, key); + }, + get: function get(key) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key); + } return nativeGet(this, key); + }, + set: function set(key, value) { + if (isObject(key) && !isExtensible(key)) { + var state = enforceInternalState(this); + if (!state.frozen) state.frozen = new InternalWeakMap(); + nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value); + } else nativeSet(this, key, value); + return this; + } + }); + // Chakra Edge frozen keys fix + } else if (hasMSEdgeFreezingBug()) { + defineBuiltIns(WeakMapPrototype, { + set: function set(key, value) { + var arrayIntegrityLevel; + if (isArray(key)) { + if (isFrozen(key)) arrayIntegrityLevel = freeze; + else if (isSealed(key)) arrayIntegrityLevel = seal; + } + nativeSet(this, key, value); + if (arrayIntegrityLevel) arrayIntegrityLevel(key); + return this; + } + }); + } + + + /***/ }), /* 264 */ - /***/ (function (module, exports, __webpack_require__) { - - // helper for String#{startsWith, endsWith, includes} - var isRegExp = __webpack_require__(254); - var requireObjectCoercible = __webpack_require__(14); - - module.exports = function (that, searchString, NAME) { - if (isRegExp(searchString)) { - throw TypeError('String.prototype.' + NAME + " doesn't accept regex"); - } return String(requireObjectCoercible(that)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var defineBuiltIns = __webpack_require__(198); + var getWeakData = __webpack_require__(255).getWeakData; + var anInstance = __webpack_require__(140); + var anObject = __webpack_require__(45); + var isNullOrUndefined = __webpack_require__(16); + var isObject = __webpack_require__(19); + var iterate = __webpack_require__(91); + var ArrayIterationModule = __webpack_require__(205); + var hasOwn = __webpack_require__(37); + var InternalStateModule = __webpack_require__(50); + + var setInternalState = InternalStateModule.set; + var internalStateGetterFor = InternalStateModule.getterFor; + var find = ArrayIterationModule.find; + var findIndex = ArrayIterationModule.findIndex; + var splice = uncurryThis([].splice); + var id = 0; + + // fallback for uncaught frozen keys + var uncaughtFrozenStore = function (state) { + return state.frozen || (state.frozen = new UncaughtFrozenStore()); + }; + + var UncaughtFrozenStore = function () { + this.entries = []; + }; + + var findUncaughtFrozen = function (store, key) { + return find(store.entries, function (it) { + return it[0] === key; + }); + }; + + UncaughtFrozenStore.prototype = { + get: function (key) { + var entry = findUncaughtFrozen(this, key); + if (entry) return entry[1]; + }, + has: function (key) { + return !!findUncaughtFrozen(this, key); + }, + set: function (key, value) { + var entry = findUncaughtFrozen(this, key); + if (entry) entry[1] = value; + else this.entries.push([key, value]); + }, + 'delete': function (key) { + var index = findIndex(this.entries, function (it) { + return it[0] === key; + }); + if (~index) splice(this.entries, index, 1); + return !!~index; + } + }; + + module.exports = { + getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { + var Constructor = wrapper(function (that, iterable) { + anInstance(that, Prototype); + setInternalState(that, { + type: CONSTRUCTOR_NAME, + id: id++, + frozen: undefined + }); + if (!isNullOrUndefined(iterable)) iterate(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + }); + + var Prototype = Constructor.prototype; + + var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); + + var define = function (that, key, value) { + var state = getInternalState(that); + var data = getWeakData(anObject(key), true); + if (data === true) uncaughtFrozenStore(state).set(key, value); + else data[state.id] = value; + return that; + }; + + defineBuiltIns(Prototype, { + // `{ WeakMap, WeakSet }.prototype.delete(key)` methods + // https://tc39.es/ecma262/#sec-weakmap.prototype.delete + // https://tc39.es/ecma262/#sec-weakset.prototype.delete + 'delete': function (key) { + var state = getInternalState(this); + if (!isObject(key)) return false; + var data = getWeakData(key); + if (data === true) return uncaughtFrozenStore(state)['delete'](key); + return data && hasOwn(data, state.id) && delete data[state.id]; + }, + // `{ WeakMap, WeakSet }.prototype.has(key)` methods + // https://tc39.es/ecma262/#sec-weakmap.prototype.has + // https://tc39.es/ecma262/#sec-weakset.prototype.has + has: function has(key) { + var state = getInternalState(this); + if (!isObject(key)) return false; + var data = getWeakData(key); + if (data === true) return uncaughtFrozenStore(state).has(key); + return data && hasOwn(data, state.id); + } + }); + + defineBuiltIns(Prototype, IS_MAP ? { + // `WeakMap.prototype.get(key)` method + // https://tc39.es/ecma262/#sec-weakmap.prototype.get + get: function get(key) { + var state = getInternalState(this); + if (isObject(key)) { + var data = getWeakData(key); + if (data === true) return uncaughtFrozenStore(state).get(key); + return data ? data[state.id] : undefined; + } + }, + // `WeakMap.prototype.set(key, value)` method + // https://tc39.es/ecma262/#sec-weakmap.prototype.set + set: function set(key, value) { + return define(this, key, value); + } + } : { + // `WeakSet.prototype.add(value)` method + // https://tc39.es/ecma262/#sec-weakset.prototype.add + add: function add(value) { + return define(this, value, true); + } + }); + + return Constructor; + } + }; + + + /***/ }), /* 265 */ - /***/ (function (module, exports, __webpack_require__) { - - var MATCH = __webpack_require__(43)('match'); - - module.exports = function (METHOD_NAME) { - var regexp = /./; - try { - '/./'[METHOD_NAME](regexp); - } catch (e) { - try { - regexp[MATCH] = false; - return '/./'[METHOD_NAME](regexp); - } catch (f) { /* empty */ } - } return false; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var getCompositeKeyNode = __webpack_require__(251); + var getBuiltIn = __webpack_require__(22); + var apply = __webpack_require__(67); + + // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey + $({ global: true, forced: true }, { + compositeSymbol: function compositeSymbol() { + if (arguments.length === 1 && typeof arguments[0] == 'string') return getBuiltIn('Symbol')['for'](arguments[0]); + return apply(getCompositeKeyNode, null, arguments).get('symbol', getBuiltIn('Symbol')); + } + }); + + + /***/ }), /* 266 */ - /***/ (function (module, exports, __webpack_require__) { - - var toAbsoluteIndex = __webpack_require__(38); - var fromCharCode = String.fromCharCode; - var nativeFromCodePoint = String.fromCodePoint; - - // length should be 1, old FF problem - var INCORRECT_LENGTH = !!nativeFromCodePoint && nativeFromCodePoint.length != 1; - - // `String.fromCodePoint` method - // https://tc39.github.io/ecma262/#sec-string.fromcodepoint - __webpack_require__(7)({ target: 'String', stat: true, forced: INCORRECT_LENGTH }, { - fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars - var elements = []; - var length = arguments.length; - var i = 0; - var code; - while (length > i) { - code = +arguments[i++]; - if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point'); - elements.push(code < 0x10000 - ? fromCharCode(code) - : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00) - ); - } return elements.join(''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var unpackIEEE754 = __webpack_require__(267).unpack; + + // eslint-disable-next-line es/no-typed-arrays -- safe + var getUint16 = uncurryThis(DataView.prototype.getUint16); + + // `DataView.prototype.getFloat16` method + // https://github.com/tc39/proposal-float16array + $({ target: 'DataView', proto: true }, { + getFloat16: function getFloat16(byteOffset /* , littleEndian */) { + var uint16 = getUint16(this, byteOffset, arguments.length > 1 ? arguments[1] : false); + return unpackIEEE754([uint16 & 0xFF, uint16 >> 8 & 0xFF], 10); + } + }); + + + /***/ }), /* 267 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var validateArguments = __webpack_require__(264); - var INCLUDES = 'includes'; - - var CORRECT_IS_REGEXP_LOGIC = __webpack_require__(265)(INCLUDES); - - // `String.prototype.includes` method - // https://tc39.github.io/ecma262/#sec-string.prototype.includes - __webpack_require__(7)({ target: 'String', proto: true, forced: !CORRECT_IS_REGEXP_LOGIC }, { - includes: function includes(searchString /* , position = 0 */) { - return !!~validateArguments(this, searchString, INCLUDES) - .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // IEEE754 conversions based on https://github.com/feross/ieee754 + var $Array = Array; + var abs = Math.abs; + var pow = Math.pow; + var floor = Math.floor; + var log = Math.log; + var LN2 = Math.LN2; + + var pack = function (number, mantissaLength, bytes) { + var buffer = $Array(bytes); + var exponentLength = bytes * 8 - mantissaLength - 1; + var eMax = (1 << exponentLength) - 1; + var eBias = eMax >> 1; + var rt = mantissaLength === 23 ? pow(2, -24) - pow(2, -77) : 0; + var sign = number < 0 || number === 0 && 1 / number < 0 ? 1 : 0; + var index = 0; + var exponent, mantissa, c; + number = abs(number); + // eslint-disable-next-line no-self-compare -- NaN check + if (number !== number || number === Infinity) { + // eslint-disable-next-line no-self-compare -- NaN check + mantissa = number !== number ? 1 : 0; + exponent = eMax; + } else { + exponent = floor(log(number) / LN2); + c = pow(2, -exponent); + if (number * c < 1) { + exponent--; + c *= 2; + } + if (exponent + eBias >= 1) { + number += rt / c; + } else { + number += rt * pow(2, 1 - eBias); + } + if (number * c >= 2) { + exponent++; + c /= 2; + } + if (exponent + eBias >= eMax) { + mantissa = 0; + exponent = eMax; + } else if (exponent + eBias >= 1) { + mantissa = (number * c - 1) * pow(2, mantissaLength); + exponent += eBias; + } else { + mantissa = number * pow(2, eBias - 1) * pow(2, mantissaLength); + exponent = 0; + } + } + while (mantissaLength >= 8) { + buffer[index++] = mantissa & 255; + mantissa /= 256; + mantissaLength -= 8; + } + exponent = exponent << mantissaLength | mantissa; + exponentLength += mantissaLength; + while (exponentLength > 0) { + buffer[index++] = exponent & 255; + exponent /= 256; + exponentLength -= 8; + } + buffer[--index] |= sign * 128; + return buffer; + }; + + var unpack = function (buffer, mantissaLength) { + var bytes = buffer.length; + var exponentLength = bytes * 8 - mantissaLength - 1; + var eMax = (1 << exponentLength) - 1; + var eBias = eMax >> 1; + var nBits = exponentLength - 7; + var index = bytes - 1; + var sign = buffer[index--]; + var exponent = sign & 127; + var mantissa; + sign >>= 7; + while (nBits > 0) { + exponent = exponent * 256 + buffer[index--]; + nBits -= 8; + } + mantissa = exponent & (1 << -nBits) - 1; + exponent >>= -nBits; + nBits += mantissaLength; + while (nBits > 0) { + mantissa = mantissa * 256 + buffer[index--]; + nBits -= 8; + } + if (exponent === 0) { + exponent = 1 - eBias; + } else if (exponent === eMax) { + return mantissa ? NaN : sign ? -Infinity : Infinity; + } else { + mantissa += pow(2, mantissaLength); + exponent -= eBias; + } return (sign ? -1 : 1) * mantissa * pow(2, exponent - mantissaLength); + }; + + module.exports = { + pack: pack, + unpack: unpack + }; + + + /***/ }), /* 268 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var codePointAt = __webpack_require__(262); - var InternalStateModule = __webpack_require__(26); - var defineIterator = __webpack_require__(103); - var STRING_ITERATOR = 'String Iterator'; - var setInternalState = InternalStateModule.set; - var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); - - // `String.prototype[@@iterator]` method - // https://tc39.github.io/ecma262/#sec-string.prototype-@@iterator - defineIterator(String, 'String', function (iterated) { - setInternalState(this, { - type: STRING_ITERATOR, - string: String(iterated), - index: 0 - }); - // `%StringIteratorPrototype%.next` method - // https://tc39.github.io/ecma262/#sec-%stringiteratorprototype%.next - }, function next() { - var state = getInternalState(this); - var string = state.string; - var index = state.index; - var point; - if (index >= string.length) return { value: undefined, done: true }; - point = codePointAt(string, index, true); - state.index += point.length; - return { value: point, done: false }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + + // eslint-disable-next-line es/no-typed-arrays -- safe + var getUint8 = uncurryThis(DataView.prototype.getUint8); + + // `DataView.prototype.getUint8Clamped` method + // https://github.com/tc39/proposal-dataview-get-set-uint8clamped + $({ target: 'DataView', proto: true, forced: true }, { + getUint8Clamped: function getUint8Clamped(byteOffset) { + return getUint8(this, byteOffset); + } + }); + + + /***/ }), /* 269 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - - var anObject = __webpack_require__(21); - var toLength = __webpack_require__(36); - var requireObjectCoercible = __webpack_require__(14); - var advanceStringIndex = __webpack_require__(270); - var regExpExec = __webpack_require__(271); - - // @@match logic - __webpack_require__(272)( - 'match', - 1, - function (MATCH, nativeMatch, maybeCallNative) { - return [ - // `String.prototype.match` method - // https://tc39.github.io/ecma262/#sec-string.prototype.match - function match(regexp) { - var O = requireObjectCoercible(this); - var matcher = regexp == undefined ? undefined : regexp[MATCH]; - return matcher !== undefined ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](String(O)); - }, - // `RegExp.prototype[@@match]` method - // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match - function (regexp) { - var res = maybeCallNative(nativeMatch, regexp, this); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - - if (!rx.global) return regExpExec(rx, S); - - var fullUnicode = rx.unicode; - rx.lastIndex = 0; - var A = []; - var n = 0; - var result; - while ((result = regExpExec(rx, S)) !== null) { - var matchStr = String(result[0]); - A[n] = matchStr; - if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); - n++; - } - return n === 0 ? null : A; - } - ]; - } - ); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var aDataView = __webpack_require__(270); + var toIndex = __webpack_require__(123); + var packIEEE754 = __webpack_require__(267).pack; + var f16round = __webpack_require__(271); + + // eslint-disable-next-line es/no-typed-arrays -- safe + var setUint16 = uncurryThis(DataView.prototype.setUint16); + + // `DataView.prototype.setFloat16` method + // https://github.com/tc39/proposal-float16array + $({ target: 'DataView', proto: true }, { + setFloat16: function setFloat16(byteOffset, value /* , littleEndian */) { + aDataView(this); + var offset = toIndex(byteOffset); + var bytes = packIEEE754(f16round(value), 10, 2); + return setUint16(this, offset, bytes[1] << 8 | bytes[0], arguments.length > 2 ? arguments[2] : false); + } + }); + + + /***/ }), /* 270 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var codePointAt = __webpack_require__(262); - - // `AdvanceStringIndex` abstract operation - // https://tc39.github.io/ecma262/#sec-advancestringindex - module.exports = function (S, index, unicode) { - return index + (unicode ? codePointAt(S, index, true).length : 1); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classof = __webpack_require__(77); + + var $TypeError = TypeError; + + module.exports = function (argument) { + if (classof(argument) === 'DataView') return argument; + throw new $TypeError('Argument is not a DataView'); + }; + + + /***/ }), /* 271 */ - /***/ (function (module, exports, __webpack_require__) { - - var classof = __webpack_require__(13); - var regexpExec = __webpack_require__(257); - - // `RegExpExec` abstract operation - // https://tc39.github.io/ecma262/#sec-regexpexec - module.exports = function (R, S) { - var exec = R.exec; - if (typeof exec === 'function') { - var result = exec.call(R, S); - if (typeof result !== 'object') { - throw TypeError('RegExp exec method returned something other than an Object or null'); - } - return result; - } - - if (classof(R) !== 'RegExp') { - throw TypeError('RegExp#exec called on incompatible receiver'); - } - - return regexpExec.call(R, S); - }; - - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var floatRound = __webpack_require__(272); + + var FLOAT16_EPSILON = 0.0009765625; + var FLOAT16_MAX_VALUE = 65504; + var FLOAT16_MIN_VALUE = 6.103515625e-05; + + // `Math.f16round` method implementation + // https://github.com/tc39/proposal-float16array + module.exports = Math.f16round || function f16round(x) { + return floatRound(x, FLOAT16_EPSILON, FLOAT16_MAX_VALUE, FLOAT16_MIN_VALUE); + }; + + + /***/ }), /* 272 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var hide = __webpack_require__(19); - var redefine = __webpack_require__(22); - var fails = __webpack_require__(5); - var wellKnownSymbol = __webpack_require__(43); - var regexpExec = __webpack_require__(257); - - var SPECIES = wellKnownSymbol('species'); - - var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () { - // #replace needs built-in support for named groups. - // #match works fine because it just return the exec results, even if it has - // a "grops" property. - var re = /./; - re.exec = function () { - var result = []; - result.groups = { a: '7' }; - return result; - }; - return ''.replace(re, '$') !== '7'; - }); - - // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec - // Weex JS has frozen built-in prototypes, so use try / catch wrapper - var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails(function () { - var re = /(?:)/; - var originalExec = re.exec; - re.exec = function () { return originalExec.apply(this, arguments); }; - var result = 'ab'.split(re); - return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b'; - }); - - module.exports = function (KEY, length, exec, sham) { - var SYMBOL = wellKnownSymbol(KEY); - - var DELEGATES_TO_SYMBOL = !fails(function () { - // String methods call symbol-named RegEp methods - var O = {}; - O[SYMBOL] = function () { return 7; }; - return ''[KEY](O) != 7; - }); - - var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails(function () { - // Symbol-named RegExp methods call .exec - var execCalled = false; - var re = /a/; - re.exec = function () { execCalled = true; return null; }; - - if (KEY === 'split') { - // RegExp[@@split] doesn't call the regex's exec method, but first creates - // a new one. We need to return the patched regex when creating the new one. - re.constructor = {}; - re.constructor[SPECIES] = function () { return re; }; - } - - re[SYMBOL](''); - return !execCalled; - }); - - if ( - !DELEGATES_TO_SYMBOL || - !DELEGATES_TO_EXEC || - (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) || - (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) - ) { - var nativeRegExpMethod = /./[SYMBOL]; - var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { - if (regexp.exec === regexpExec) { - if (DELEGATES_TO_SYMBOL && !forceStringMethod) { - // The native String method already delegates to @@method (this - // polyfilled function), leasing to infinite recursion. - // We avoid it by directly calling the native @@method method. - return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) }; - } - return { done: true, value: nativeMethod.call(str, regexp, arg2) }; - } - return { done: false }; - }); - var stringMethod = methods[0]; - var regexMethod = methods[1]; - - redefine(String.prototype, KEY, stringMethod); - redefine(RegExp.prototype, SYMBOL, length == 2 - // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue) - // 21.2.5.11 RegExp.prototype[@@split](string, limit) - ? function (string, arg) { return regexMethod.call(string, this, arg); } - // 21.2.5.6 RegExp.prototype[@@match](string) - // 21.2.5.9 RegExp.prototype[@@search](string) - : function (string) { return regexMethod.call(string, this); } - ); - if (sham) hide(RegExp.prototype[SYMBOL], 'sham', true); - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var sign = __webpack_require__(273); + + var abs = Math.abs; + + var EPSILON = 2.220446049250313e-16; // Number.EPSILON + var INVERSE_EPSILON = 1 / EPSILON; + + var roundTiesToEven = function (n) { + return n + INVERSE_EPSILON - INVERSE_EPSILON; + }; + + module.exports = function (x, FLOAT_EPSILON, FLOAT_MAX_VALUE, FLOAT_MIN_VALUE) { + var n = +x; + var absolute = abs(n); + var s = sign(n); + if (absolute < FLOAT_MIN_VALUE) return s * roundTiesToEven(absolute / FLOAT_MIN_VALUE / FLOAT_EPSILON) * FLOAT_MIN_VALUE * FLOAT_EPSILON; + var a = (1 + FLOAT_EPSILON / EPSILON) * absolute; + var result = a - (a - absolute); + // eslint-disable-next-line no-self-compare -- NaN check + if (result > FLOAT_MAX_VALUE || result !== result) return s * Infinity; + return s * result; + }; + + + /***/ }), /* 273 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalStringPad = __webpack_require__(274); - var userAgent = __webpack_require__(234); - - // https://github.com/zloirock/core-js/issues/280 - var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); - - // `String.prototype.padEnd` method - // https://tc39.github.io/ecma262/#sec-string.prototype.padend - __webpack_require__(7)({ target: 'String', proto: true, forced: WEBKIT_BUG }, { - padEnd: function padEnd(maxLength /* , fillString = ' ' */) { - return internalStringPad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // `Math.sign` method implementation + // https://tc39.es/ecma262/#sec-math.sign + // eslint-disable-next-line es/no-math-sign -- safe + module.exports = Math.sign || function sign(x) { + var n = +x; + // eslint-disable-next-line no-self-compare -- NaN check + return n === 0 || n !== n ? n : n < 0 ? -1 : 1; + }; + + + /***/ }), /* 274 */ - /***/ (function (module, exports, __webpack_require__) { - - // https://github.com/tc39/proposal-string-pad-start-end - var toLength = __webpack_require__(36); - var repeat = __webpack_require__(197); - var requireObjectCoercible = __webpack_require__(14); - - module.exports = function (that, maxLength, fillString, left) { - var S = String(requireObjectCoercible(that)); - var stringLength = S.length; - var fillStr = fillString === undefined ? ' ' : String(fillString); - var intMaxLength = toLength(maxLength); - var fillLen, stringFiller; - if (intMaxLength <= stringLength || fillStr == '') return S; - fillLen = intMaxLength - stringLength; - stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length)); - if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen); - return left ? stringFiller + S : S + stringFiller; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var aDataView = __webpack_require__(270); + var toIndex = __webpack_require__(123); + var toUint8Clamped = __webpack_require__(275); + + // eslint-disable-next-line es/no-typed-arrays -- safe + var setUint8 = uncurryThis(DataView.prototype.setUint8); + + // `DataView.prototype.setUint8Clamped` method + // https://github.com/tc39/proposal-dataview-get-set-uint8clamped + $({ target: 'DataView', proto: true, forced: true }, { + setUint8Clamped: function setUint8Clamped(byteOffset, value) { + aDataView(this); + var offset = toIndex(byteOffset); + return setUint8(this, offset, toUint8Clamped(value)); + } + }); + + + /***/ }), /* 275 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalStringPad = __webpack_require__(274); - var userAgent = __webpack_require__(234); - - // https://github.com/zloirock/core-js/issues/280 - var WEBKIT_BUG = /Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(userAgent); - - // `String.prototype.padStart` method - // https://tc39.github.io/ecma262/#sec-string.prototype.padstart - __webpack_require__(7)({ target: 'String', proto: true, forced: WEBKIT_BUG }, { - padStart: function padStart(maxLength /* , fillString = ' ' */) { - return internalStringPad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var round = Math.round; + + module.exports = function (it) { + var value = round(it); + return value < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF; + }; + + + /***/ }), /* 276 */ - /***/ (function (module, exports, __webpack_require__) { - - var toIndexedObject = __webpack_require__(11); - var toLength = __webpack_require__(36); - - // `String.raw` method - // https://tc39.github.io/ecma262/#sec-string.raw - __webpack_require__(7)({ target: 'String', stat: true }, { - raw: function raw(template) { - var rawTemplate = toIndexedObject(template.raw); - var literalSegments = toLength(rawTemplate.length); - var argumentsLength = arguments.length; - var elements = []; - var i = 0; - while (literalSegments > i) { - elements.push(String(rawTemplate[i++])); - if (i < argumentsLength) elements.push(String(arguments[i])); - } return elements.join(''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://github.com/tc39/proposal-explicit-resource-management + var $ = __webpack_require__(2); + var DESCRIPTORS = __webpack_require__(5); + var getBuiltIn = __webpack_require__(22); + var aCallable = __webpack_require__(29); + var anInstance = __webpack_require__(140); + var defineBuiltIn = __webpack_require__(46); + var defineBuiltIns = __webpack_require__(198); + var defineBuiltInAccessor = __webpack_require__(118); + var wellKnownSymbol = __webpack_require__(32); + var InternalStateModule = __webpack_require__(50); + var addDisposableResource = __webpack_require__(223); + + var SuppressedError = getBuiltIn('SuppressedError'); + var $ReferenceError = ReferenceError; + + var DISPOSE = wellKnownSymbol('dispose'); + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + + var DISPOSABLE_STACK = 'DisposableStack'; + var setInternalState = InternalStateModule.set; + var getDisposableStackInternalState = InternalStateModule.getterFor(DISPOSABLE_STACK); + + var HINT = 'sync-dispose'; + var DISPOSED = 'disposed'; + var PENDING = 'pending'; + + var getPendingDisposableStackInternalState = function (stack) { + var internalState = getDisposableStackInternalState(stack); + if (internalState.state === DISPOSED) throw new $ReferenceError(DISPOSABLE_STACK + ' already disposed'); + return internalState; + }; + + var $DisposableStack = function DisposableStack() { + setInternalState(anInstance(this, DisposableStackPrototype), { + type: DISPOSABLE_STACK, + state: PENDING, + stack: [] + }); + + if (!DESCRIPTORS) this.disposed = false; + }; + + var DisposableStackPrototype = $DisposableStack.prototype; + + defineBuiltIns(DisposableStackPrototype, { + dispose: function dispose() { + var internalState = getDisposableStackInternalState(this); + if (internalState.state === DISPOSED) return; + internalState.state = DISPOSED; + if (!DESCRIPTORS) this.disposed = true; + var stack = internalState.stack; + var i = stack.length; + var thrown = false; + var suppressed; + while (i) { + var disposeMethod = stack[--i]; + stack[i] = null; + try { + disposeMethod(); + } catch (errorResult) { + if (thrown) { + suppressed = new SuppressedError(errorResult, suppressed); + } else { + thrown = true; + suppressed = errorResult; + } + } + } + internalState.stack = null; + if (thrown) throw suppressed; + }, + use: function use(value) { + addDisposableResource(getPendingDisposableStackInternalState(this), value, HINT); + return value; + }, + adopt: function adopt(value, onDispose) { + var internalState = getPendingDisposableStackInternalState(this); + aCallable(onDispose); + addDisposableResource(internalState, undefined, HINT, function () { + onDispose(value); + }); + return value; + }, + defer: function defer(onDispose) { + var internalState = getPendingDisposableStackInternalState(this); + aCallable(onDispose); + addDisposableResource(internalState, undefined, HINT, onDispose); + }, + move: function move() { + var internalState = getPendingDisposableStackInternalState(this); + var newDisposableStack = new $DisposableStack(); + getDisposableStackInternalState(newDisposableStack).stack = internalState.stack; + internalState.stack = []; + internalState.state = DISPOSED; + if (!DESCRIPTORS) this.disposed = true; + return newDisposableStack; + } + }); + + if (DESCRIPTORS) defineBuiltInAccessor(DisposableStackPrototype, 'disposed', { + configurable: true, + get: function disposed() { + return getDisposableStackInternalState(this).state === DISPOSED; + } + }); + + defineBuiltIn(DisposableStackPrototype, DISPOSE, DisposableStackPrototype.dispose, { name: 'dispose' }); + defineBuiltIn(DisposableStackPrototype, TO_STRING_TAG, DISPOSABLE_STACK, { nonWritable: true }); + + $({ global: true, constructor: true }, { + DisposableStack: $DisposableStack + }); + + + /***/ }), /* 277 */ - /***/ (function (module, exports, __webpack_require__) { - - // `String.prototype.repeat` method - // https://tc39.github.io/ecma262/#sec-string.prototype.repeat - __webpack_require__(7)({ target: 'String', proto: true }, { - repeat: __webpack_require__(197) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var demethodize = __webpack_require__(278); + + // `Function.prototype.demethodize` method + // https://github.com/js-choi/proposal-function-demethodize + $({ target: 'Function', proto: true, forced: true }, { + demethodize: demethodize + }); + + + /***/ }), /* 278 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - - var anObject = __webpack_require__(21); - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var toInteger = __webpack_require__(37); - var requireObjectCoercible = __webpack_require__(14); - var advanceStringIndex = __webpack_require__(270); - var regExpExec = __webpack_require__(271); - var max = Math.max; - var min = Math.min; - var floor = Math.floor; - var SUBSTITUTION_SYMBOLS = /\$([$&`']|\d\d?|<[^>]*>)/g; - var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&`']|\d\d?)/g; - - var maybeToString = function (it) { - return it === undefined ? it : String(it); - }; - - // @@replace logic - __webpack_require__(272)( - 'replace', - 2, - function (REPLACE, nativeReplace, maybeCallNative) { - return [ - // `String.prototype.replace` method - // https://tc39.github.io/ecma262/#sec-string.prototype.replace - function replace(searchValue, replaceValue) { - var O = requireObjectCoercible(this); - var replacer = searchValue == undefined ? undefined : searchValue[REPLACE]; - return replacer !== undefined - ? replacer.call(searchValue, O, replaceValue) - : nativeReplace.call(String(O), searchValue, replaceValue); - }, - // `RegExp.prototype[@@replace]` method - // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace - function (regexp, replaceValue) { - var res = maybeCallNative(nativeReplace, regexp, this, replaceValue); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - - var functionalReplace = typeof replaceValue === 'function'; - if (!functionalReplace) replaceValue = String(replaceValue); - - var global = rx.global; - if (global) { - var fullUnicode = rx.unicode; - rx.lastIndex = 0; - } - var results = []; - while (true) { - var result = regExpExec(rx, S); - if (result === null) break; - - results.push(result); - if (!global) break; - - var matchStr = String(result[0]); - if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode); - } - - var accumulatedResult = ''; - var nextSourcePosition = 0; - for (var i = 0; i < results.length; i++) { - result = results[i]; - - var matched = String(result[0]); - var position = max(min(toInteger(result.index), S.length), 0); - var captures = []; - // NOTE: This is equivalent to - // captures = result.slice(1).map(maybeToString) - // but for some reason `nativeSlice.call(result, 1, result.length)` (called in - // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and - // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it. - for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j])); - var namedCaptures = result.groups; - if (functionalReplace) { - var replacerArgs = [matched].concat(captures, position, S); - if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); - var replacement = String(replaceValue.apply(undefined, replacerArgs)); - } else { - replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue); - } - if (position >= nextSourcePosition) { - accumulatedResult += S.slice(nextSourcePosition, position) + replacement; - nextSourcePosition = position + matched.length; - } - } - return accumulatedResult + S.slice(nextSourcePosition); - } - ]; - - // https://tc39.github.io/ecma262/#sec-getsubstitution - function getSubstitution(matched, str, position, captures, namedCaptures, replacement) { - var tailPos = position + matched.length; - var m = captures.length; - var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED; - if (namedCaptures !== undefined) { - namedCaptures = toObject(namedCaptures); - symbols = SUBSTITUTION_SYMBOLS; - } - return nativeReplace.call(replacement, symbols, function (match, ch) { - var capture; - switch (ch.charAt(0)) { - case '$': return '$'; - case '&': return matched; - case '`': return str.slice(0, position); - case "'": return str.slice(tailPos); - case '<': - capture = namedCaptures[ch.slice(1, -1)]; - break; - default: // \d\d? - var n = +ch; - if (n === 0) return match; - if (n > m) { - var f = floor(n / 10); - if (f === 0) return match; - if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); - return match; - } - capture = captures[n - 1]; - } - return capture === undefined ? '' : capture; - }); - } - } - ); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var aCallable = __webpack_require__(29); + + module.exports = function demethodize() { + return uncurryThis(aCallable(this)); + }; + + + /***/ }), /* 279 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - - var anObject = __webpack_require__(21); - var requireObjectCoercible = __webpack_require__(14); - var sameValue = __webpack_require__(216); - var regExpExec = __webpack_require__(271); - - // @@search logic - __webpack_require__(272)( - 'search', - 1, - function (SEARCH, nativeSearch, maybeCallNative) { - return [ - // `String.prototype.search` method - // https://tc39.github.io/ecma262/#sec-string.prototype.search - function search(regexp) { - var O = requireObjectCoercible(this); - var searcher = regexp == undefined ? undefined : regexp[SEARCH]; - return searcher !== undefined ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O)); - }, - // `RegExp.prototype[@@search]` method - // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search - function (regexp) { - var res = maybeCallNative(nativeSearch, regexp, this); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - - var previousLastIndex = rx.lastIndex; - if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0; - var result = regExpExec(rx, S); - if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex; - return result === null ? -1 : result.index; - } - ]; - } - ); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var $isCallable = __webpack_require__(20); + var inspectSource = __webpack_require__(49); + var hasOwn = __webpack_require__(37); + var DESCRIPTORS = __webpack_require__(5); + + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var classRegExp = /^\s*class\b/; + var exec = uncurryThis(classRegExp.exec); + + var isClassConstructor = function (argument) { + try { + // `Function#toString` throws on some built-it function in some legacy engines + // (for example, `DOMQuad` and similar in FF41-) + if (!DESCRIPTORS || !exec(classRegExp, inspectSource(argument))) return false; + } catch (error) { /* empty */ } + var prototype = getOwnPropertyDescriptor(argument, 'prototype'); + return !!prototype && hasOwn(prototype, 'writable') && !prototype.writable; + }; + + // `Function.isCallable` method + // https://github.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-isconstructor-iscallable.md + $({ target: 'Function', stat: true, sham: true, forced: true }, { + isCallable: function isCallable(argument) { + return $isCallable(argument) && !isClassConstructor(argument); + } + }); + + + /***/ }), /* 280 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - - var isRegExp = __webpack_require__(254); - var anObject = __webpack_require__(21); - var requireObjectCoercible = __webpack_require__(14); - var speciesConstructor = __webpack_require__(136); - var advanceStringIndex = __webpack_require__(270); - var toLength = __webpack_require__(36); - var callRegExpExec = __webpack_require__(271); - var regexpExec = __webpack_require__(257); - var fails = __webpack_require__(5); - var arrayPush = [].push; - var min = Math.min; - var MAX_UINT32 = 0xffffffff; - - // babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError - var SUPPORTS_Y = !fails(function () { return !RegExp(MAX_UINT32, 'y'); }); - - // @@split logic - __webpack_require__(272)( - 'split', - 2, - function (SPLIT, nativeSplit, maybeCallNative) { - var internalSplit; - if ( - 'abbc'.split(/(b)*/)[1] == 'c' || - 'test'.split(/(?:)/, -1).length != 4 || - 'ab'.split(/(?:ab)*/).length != 2 || - '.'.split(/(.?)(.?)/).length != 4 || - '.'.split(/()()/).length > 1 || - ''.split(/.?/).length - ) { - // based on es5-shim implementation, need to rework it - internalSplit = function (separator, limit) { - var string = String(requireObjectCoercible(this)); - var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; - if (lim === 0) return []; - if (separator === undefined) return [string]; - // If `separator` is not a regex, use native split - if (!isRegExp(separator)) { - return nativeSplit.call(string, separator, lim); - } - var output = []; - var flags = (separator.ignoreCase ? 'i' : '') + - (separator.multiline ? 'm' : '') + - (separator.unicode ? 'u' : '') + - (separator.sticky ? 'y' : ''); - var lastLastIndex = 0; - // Make `global` and avoid `lastIndex` issues by working with a copy - var separatorCopy = new RegExp(separator.source, flags + 'g'); - var match, lastIndex, lastLength; - while (match = regexpExec.call(separatorCopy, string)) { - lastIndex = separatorCopy.lastIndex; - if (lastIndex > lastLastIndex) { - output.push(string.slice(lastLastIndex, match.index)); - if (match.length > 1 && match.index < string.length) arrayPush.apply(output, match.slice(1)); - lastLength = match[0].length; - lastLastIndex = lastIndex; - if (output.length >= lim) break; - } - if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop - } - if (lastLastIndex === string.length) { - if (lastLength || !separatorCopy.test('')) output.push(''); - } else output.push(string.slice(lastLastIndex)); - return output.length > lim ? output.slice(0, lim) : output; - }; - // Chakra, V8 - } else if ('0'.split(undefined, 0).length) { - internalSplit = function (separator, limit) { - return separator === undefined && limit === 0 ? [] : nativeSplit.call(this, separator, limit); - }; - } else internalSplit = nativeSplit; - - return [ - // `String.prototype.split` method - // https://tc39.github.io/ecma262/#sec-string.prototype.split - function split(separator, limit) { - var O = requireObjectCoercible(this); - var splitter = separator == undefined ? undefined : separator[SPLIT]; - return splitter !== undefined - ? splitter.call(separator, O, limit) - : internalSplit.call(String(O), separator, limit); - }, - // `RegExp.prototype[@@split]` method - // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split - // - // NOTE: This cannot be properly polyfilled in engines that don't support - // the 'y' flag. - function (regexp, limit) { - var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== nativeSplit); - if (res.done) return res.value; - - var rx = anObject(regexp); - var S = String(this); - var C = speciesConstructor(rx, RegExp); - - var unicodeMatching = rx.unicode; - var flags = (rx.ignoreCase ? 'i' : '') + - (rx.multiline ? 'm' : '') + - (rx.unicode ? 'u' : '') + - (SUPPORTS_Y ? 'y' : 'g'); - - // ^(? + rx + ) is needed, in combination with some S slicing, to - // simulate the 'y' flag. - var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags); - var lim = limit === undefined ? MAX_UINT32 : limit >>> 0; - if (lim === 0) return []; - if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : []; - var p = 0; - var q = 0; - var A = []; - while (q < S.length) { - splitter.lastIndex = SUPPORTS_Y ? q : 0; - var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q)); - var e; - if ( - z === null || - (e = min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p - ) { - q = advanceStringIndex(S, q, unicodeMatching); - } else { - A.push(S.slice(p, q)); - if (A.length === lim) return A; - for (var i = 1; i <= z.length - 1; i++) { - A.push(z[i]); - if (A.length === lim) return A; - } - q = p = e; - } - } - A.push(S.slice(p)); - return A; - } - ]; - }, - !SUPPORTS_Y - ); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isConstructor = __webpack_require__(143); + + // `Function.isConstructor` method + // https://github.com/caitp/TC39-Proposals/blob/trunk/tc39-reflect-isconstructor-iscallable.md + $({ target: 'Function', stat: true, forced: true }, { + isConstructor: isConstructor + }); + + + /***/ }), /* 281 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toLength = __webpack_require__(36); - var validateArguments = __webpack_require__(264); - var STARTS_WITH = 'startsWith'; - var CORRECT_IS_REGEXP_LOGIC = __webpack_require__(265)(STARTS_WITH); - var nativeStartsWith = ''[STARTS_WITH]; - - // `String.prototype.startsWith` method - // https://tc39.github.io/ecma262/#sec-string.prototype.startswith - __webpack_require__(7)({ target: 'String', proto: true, forced: !CORRECT_IS_REGEXP_LOGIC }, { - startsWith: function startsWith(searchString /* , position = 0 */) { - var that = validateArguments(this, searchString, STARTS_WITH); - var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length)); - var search = String(searchString); - return nativeStartsWith - ? nativeStartsWith.call(that, search, index) - : that.slice(index, index + search.length) === search; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var wellKnownSymbol = __webpack_require__(32); + var defineProperty = __webpack_require__(43).f; + + var METADATA = wellKnownSymbol('metadata'); + var FunctionPrototype = Function.prototype; + + // Function.prototype[@@metadata] + // https://github.com/tc39/proposal-decorator-metadata + if (FunctionPrototype[METADATA] === undefined) { + defineProperty(FunctionPrototype, METADATA, { + value: null + }); + } + + + /***/ }), /* 282 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalStringTrim = __webpack_require__(180); - var FORCED = __webpack_require__(283)('trim'); - - // `String.prototype.trim` method - // https://tc39.github.io/ecma262/#sec-string.prototype.trim - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - trim: function trim() { - return internalStringTrim(this, 3); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var demethodize = __webpack_require__(278); + + // `Function.prototype.unThis` method + // https://github.com/js-choi/proposal-function-demethodize + // TODO: Remove from `core-js@4` + $({ target: 'Function', proto: true, forced: true, name: 'demethodize' }, { + unThis: demethodize + }); + + + /***/ }), /* 283 */ - /***/ (function (module, exports, __webpack_require__) { - - var fails = __webpack_require__(5); - var whitespaces = __webpack_require__(181); - var non = '\u200b\u0085\u180e'; - - // check that a method works with the correct list - // of whitespaces and has a correct name - module.exports = function (METHOD_NAME) { - return fails(function () { - return !!whitespaces[METHOD_NAME]() || non[METHOD_NAME]() != non || whitespaces[METHOD_NAME].name !== METHOD_NAME; - }); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var anInstance = __webpack_require__(140); + var anObject = __webpack_require__(45); + var isCallable = __webpack_require__(20); + var getPrototypeOf = __webpack_require__(85); + var defineBuiltInAccessor = __webpack_require__(118); + var createProperty = __webpack_require__(284); + var fails = __webpack_require__(6); + var hasOwn = __webpack_require__(37); + var wellKnownSymbol = __webpack_require__(32); + var IteratorPrototype = __webpack_require__(249).IteratorPrototype; + var DESCRIPTORS = __webpack_require__(5); + var IS_PURE = __webpack_require__(35); + + var CONSTRUCTOR = 'constructor'; + var ITERATOR = 'Iterator'; + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + + var $TypeError = TypeError; + var NativeIterator = global[ITERATOR]; + + // FF56- have non-standard global helper `Iterator` + var FORCED = IS_PURE + || !isCallable(NativeIterator) + || NativeIterator.prototype !== IteratorPrototype + // FF44- non-standard `Iterator` passes previous tests + || !fails(function () { NativeIterator({}); }); + + var IteratorConstructor = function Iterator() { + anInstance(this, IteratorPrototype); + if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError('Abstract class Iterator not directly constructable'); + }; + + var defineIteratorPrototypeAccessor = function (key, value) { + if (DESCRIPTORS) { + defineBuiltInAccessor(IteratorPrototype, key, { + configurable: true, + get: function () { + return value; + }, + set: function (replacement) { + anObject(this); + if (this === IteratorPrototype) throw new $TypeError("You can't redefine this property"); + if (hasOwn(this, key)) this[key] = replacement; + else createProperty(this, key, replacement); + } + }); + } else IteratorPrototype[key] = value; + }; + + if (!hasOwn(IteratorPrototype, TO_STRING_TAG)) defineIteratorPrototypeAccessor(TO_STRING_TAG, ITERATOR); + + if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) { + defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor); + } + + IteratorConstructor.prototype = IteratorPrototype; + + // `Iterator` constructor + // https://github.com/tc39/proposal-iterator-helpers + $({ global: true, constructor: true, forced: FORCED }, { + Iterator: IteratorConstructor + }); + + + /***/ }), /* 284 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalStringTrim = __webpack_require__(180); - var FORCED = __webpack_require__(283)('trimEnd'); - - var trimEnd = FORCED ? function trimEnd() { - return internalStringTrim(this, 2); - } : ''.trimEnd; - - // `String.prototype.{ trimEnd, trimRight }` methods - // https://github.com/tc39/ecmascript-string-left-right-trim - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - trimEnd: trimEnd, - trimRight: trimEnd - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var definePropertyModule = __webpack_require__(43); + var createPropertyDescriptor = __webpack_require__(10); + + module.exports = function (object, key, value) { + if (DESCRIPTORS) definePropertyModule.f(object, key, createPropertyDescriptor(0, value)); + else object[key] = value; + }; + + + /***/ }), /* 285 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var internalStringTrim = __webpack_require__(180); - var FORCED = __webpack_require__(283)('trimStart'); - - var trimStart = FORCED ? function trimStart() { - return internalStringTrim(this, 1); - } : ''.trimStart; - - // `String.prototype.{ trimStart, trimLeft }` methods - // https://github.com/tc39/ecmascript-string-left-right-trim - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - trimStart: trimStart, - trimLeft: trimStart - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var indexed = __webpack_require__(286); + + // `Iterator.prototype.asIndexedPairs` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', name: 'indexed', proto: true, real: true, forced: true }, { + asIndexedPairs: indexed + }); + + + /***/ }), /* 286 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('anchor'); - - // `String.prototype.anchor` method - // https://tc39.github.io/ecma262/#sec-string.prototype.anchor - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - anchor: function anchor(name) { - return createHTML(this, 'a', 'name', name); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var map = __webpack_require__(287); + + var callback = function (value, counter) { + return [counter, value]; + }; + + // `Iterator.prototype.indexed` method + // https://github.com/tc39/proposal-iterator-helpers + module.exports = function indexed() { + return call(map, this, callback); + }; + + + /***/ }), /* 287 */ - /***/ (function (module, exports, __webpack_require__) { - - var requireObjectCoercible = __webpack_require__(14); - var quot = /"/g; - - // B.2.3.2.1 CreateHTML(string, tag, attribute, value) - // https://tc39.github.io/ecma262/#sec-createhtml - module.exports = function (string, tag, attribute, value) { - var S = String(requireObjectCoercible(string)); - var p1 = '<' + tag; - if (attribute !== '') p1 += ' ' + attribute + '="' + String(value).replace(quot, '"') + '"'; - return p1 + '>' + S + ''; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var createIteratorProxy = __webpack_require__(288); + var callWithSafeIterationClosing = __webpack_require__(289); + + var IteratorProxy = createIteratorProxy(function () { + var iterator = this.iterator; + var result = anObject(call(this.next, iterator)); + var done = this.done = !!result.done; + if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true); + }); + + // `Iterator.prototype.map` method + // https://github.com/tc39/proposal-iterator-helpers + module.exports = function map(mapper) { + anObject(this); + aCallable(mapper); + return new IteratorProxy(getIteratorDirect(this), { + mapper: mapper + }); + }; + + + /***/ }), /* 288 */ - /***/ (function (module, exports, __webpack_require__) { - - var fails = __webpack_require__(5); - - // check the existence of a method, lowercase - // of a tag and escaping quotes in arguments - module.exports = function (METHOD_NAME) { - return fails(function () { - var test = ''[METHOD_NAME]('"'); - return test !== test.toLowerCase() || test.split('"').length > 3; - }); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var create = __webpack_require__(87); + var createNonEnumerableProperty = __webpack_require__(42); + var defineBuiltIns = __webpack_require__(198); + var wellKnownSymbol = __webpack_require__(32); + var InternalStateModule = __webpack_require__(50); + var getMethod = __webpack_require__(28); + var IteratorPrototype = __webpack_require__(249).IteratorPrototype; + var createIterResultObject = __webpack_require__(200); + var iteratorClose = __webpack_require__(98); + + var TO_STRING_TAG = wellKnownSymbol('toStringTag'); + var ITERATOR_HELPER = 'IteratorHelper'; + var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator'; + var setInternalState = InternalStateModule.set; + + var createIteratorProxyPrototype = function (IS_ITERATOR) { + var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER); + + return defineBuiltIns(create(IteratorPrototype), { + next: function next() { + var state = getInternalState(this); + // for simplification: + // for `%WrapForValidIteratorPrototype%.next` our `nextHandler` returns `IterResultObject` + // for `%IteratorHelperPrototype%.next` - just a value + if (IS_ITERATOR) return state.nextHandler(); + try { + var result = state.done ? undefined : state.nextHandler(); + return createIterResultObject(result, state.done); + } catch (error) { + state.done = true; + throw error; + } + }, + 'return': function () { + var state = getInternalState(this); + var iterator = state.iterator; + state.done = true; + if (IS_ITERATOR) { + var returnMethod = getMethod(iterator, 'return'); + return returnMethod ? call(returnMethod, iterator) : createIterResultObject(undefined, true); + } + if (state.inner) try { + iteratorClose(state.inner.iterator, 'normal'); + } catch (error) { + return iteratorClose(iterator, 'throw', error); + } + iteratorClose(iterator, 'normal'); + return createIterResultObject(undefined, true); + } + }); + }; + + var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true); + var IteratorHelperPrototype = createIteratorProxyPrototype(false); + + createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper'); + + module.exports = function (nextHandler, IS_ITERATOR) { + var IteratorProxy = function Iterator(record, state) { + if (state) { + state.iterator = record.iterator; + state.next = record.next; + } else state = record; + state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER; + state.nextHandler = nextHandler; + state.counter = 0; + state.done = false; + setInternalState(this, state); + }; + + IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype; + + return IteratorProxy; + }; + + + /***/ }), /* 289 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('big'); - - // `String.prototype.big` method - // https://tc39.github.io/ecma262/#sec-string.prototype.big - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - big: function big() { - return createHTML(this, 'big', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var anObject = __webpack_require__(45); + var iteratorClose = __webpack_require__(98); + + // call something on iterator step with safe closing on error + module.exports = function (iterator, fn, value, ENTRIES) { + try { + return ENTRIES ? fn(anObject(value)[0], value[1]) : fn(value); + } catch (error) { + iteratorClose(iterator, 'throw', error); + } + }; + + + /***/ }), /* 290 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('blink'); - - // `String.prototype.blink` method - // https://tc39.github.io/ecma262/#sec-string.prototype.blink - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - blink: function blink() { - return createHTML(this, 'blink', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://github.com/tc39/proposal-explicit-resource-management + var call = __webpack_require__(7); + var defineBuiltIn = __webpack_require__(46); + var getMethod = __webpack_require__(28); + var hasOwn = __webpack_require__(37); + var wellKnownSymbol = __webpack_require__(32); + var IteratorPrototype = __webpack_require__(249).IteratorPrototype; + + var DISPOSE = wellKnownSymbol('dispose'); + + if (!hasOwn(IteratorPrototype, DISPOSE)) { + defineBuiltIn(IteratorPrototype, DISPOSE, function () { + var $return = getMethod(this, 'return'); + if ($return) call($return, this); + }); + } + + + /***/ }), /* 291 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('bold'); - - // `String.prototype.bold` method - // https://tc39.github.io/ecma262/#sec-string.prototype.bold - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - bold: function bold() { - return createHTML(this, 'b', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var notANaN = __webpack_require__(231); + var toPositiveInteger = __webpack_require__(187); + var createIteratorProxy = __webpack_require__(288); + var IS_PURE = __webpack_require__(35); + + var IteratorProxy = createIteratorProxy(function () { + var iterator = this.iterator; + var next = this.next; + var result, done; + while (this.remaining) { + this.remaining--; + result = anObject(call(next, iterator)); + done = this.done = !!result.done; + if (done) return; + } + result = anObject(call(next, iterator)); + done = this.done = !!result.done; + if (!done) return result.value; + }); + + // `Iterator.prototype.drop` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + drop: function drop(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new IteratorProxy(getIteratorDirect(this), { + remaining: remaining + }); + } + }); + + + /***/ }), /* 292 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('fixed'); - - // `String.prototype.fixed` method - // https://tc39.github.io/ecma262/#sec-string.prototype.fixed - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - fixed: function fixed() { - return createHTML(this, 'tt', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var iterate = __webpack_require__(91); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + + // `Iterator.prototype.every` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true }, { + every: function every(predicate) { + anObject(this); + aCallable(predicate); + var record = getIteratorDirect(this); + var counter = 0; + return !iterate(record, function (value, stop) { + if (!predicate(value, counter++)) return stop(); + }, { IS_RECORD: true, INTERRUPTED: true }).stopped; + } + }); + + + /***/ }), /* 293 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('fontcolor'); - - // `String.prototype.fontcolor` method - // https://tc39.github.io/ecma262/#sec-string.prototype.fontcolor - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - fontcolor: function fontcolor(color) { - return createHTML(this, 'font', 'color', color); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var createIteratorProxy = __webpack_require__(288); + var callWithSafeIterationClosing = __webpack_require__(289); + var IS_PURE = __webpack_require__(35); + + var IteratorProxy = createIteratorProxy(function () { + var iterator = this.iterator; + var predicate = this.predicate; + var next = this.next; + var result, done, value; + while (true) { + result = anObject(call(next, iterator)); + done = this.done = !!result.done; + if (done) return; + value = result.value; + if (callWithSafeIterationClosing(iterator, predicate, [value, this.counter++], true)) return value; + } + }); + + // `Iterator.prototype.filter` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + filter: function filter(predicate) { + anObject(this); + aCallable(predicate); + return new IteratorProxy(getIteratorDirect(this), { + predicate: predicate + }); + } + }); + + + /***/ }), /* 294 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('fontsize'); - - // `String.prototype.fontsize` method - // https://tc39.github.io/ecma262/#sec-string.prototype.fontsize - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - fontsize: function fontsize(size) { - return createHTML(this, 'font', 'size', size); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var iterate = __webpack_require__(91); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + + // `Iterator.prototype.find` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true }, { + find: function find(predicate) { + anObject(this); + aCallable(predicate); + var record = getIteratorDirect(this); + var counter = 0; + return iterate(record, function (value, stop) { + if (predicate(value, counter++)) return stop(value); + }, { IS_RECORD: true, INTERRUPTED: true }).result; + } + }); + + + /***/ }), /* 295 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('italics'); - - // `String.prototype.italics` method - // https://tc39.github.io/ecma262/#sec-string.prototype.italics - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - italics: function italics() { - return createHTML(this, 'i', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var getIteratorFlattenable = __webpack_require__(296); + var createIteratorProxy = __webpack_require__(288); + var iteratorClose = __webpack_require__(98); + var IS_PURE = __webpack_require__(35); + + var IteratorProxy = createIteratorProxy(function () { + var iterator = this.iterator; + var mapper = this.mapper; + var result, inner; + + while (true) { + if (inner = this.inner) try { + result = anObject(call(inner.next, inner.iterator)); + if (!result.done) return result.value; + this.inner = null; + } catch (error) { iteratorClose(iterator, 'throw', error); } + + result = anObject(call(this.next, iterator)); + + if (this.done = !!result.done) return; + + try { + this.inner = getIteratorFlattenable(mapper(result.value, this.counter++), false); + } catch (error) { iteratorClose(iterator, 'throw', error); } + } + }); + + // `Iterator.prototype.flatMap` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + flatMap: function flatMap(mapper) { + anObject(this); + aCallable(mapper); + return new IteratorProxy(getIteratorDirect(this), { + mapper: mapper, + inner: null + }); + } + }); + + + /***/ }), /* 296 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('link'); - - // `String.prototype.link` method - // https://tc39.github.io/ecma262/#sec-string.prototype.link - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - link: function link(url) { - return createHTML(this, 'a', 'href', url); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var getIteratorMethod = __webpack_require__(97); + + module.exports = function (obj, stringHandling) { + if (!stringHandling || typeof obj !== 'string') anObject(obj); + var method = getIteratorMethod(obj); + return getIteratorDirect(anObject(method !== undefined ? call(method, obj) : obj)); + }; + + + /***/ }), /* 297 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('small'); - - // `String.prototype.small` method - // https://tc39.github.io/ecma262/#sec-string.prototype.small - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - small: function small() { - return createHTML(this, 'small', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var iterate = __webpack_require__(91); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + + // `Iterator.prototype.forEach` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true }, { + forEach: function forEach(fn) { + anObject(this); + aCallable(fn); + var record = getIteratorDirect(this); + var counter = 0; + iterate(record, function (value) { + fn(value, counter++); + }, { IS_RECORD: true }); + } + }); + + + /***/ }), /* 298 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('strike'); - - // `String.prototype.strike` method - // https://tc39.github.io/ecma262/#sec-string.prototype.strike - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - strike: function strike() { - return createHTML(this, 'strike', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toObject = __webpack_require__(38); + var isPrototypeOf = __webpack_require__(23); + var IteratorPrototype = __webpack_require__(249).IteratorPrototype; + var createIteratorProxy = __webpack_require__(288); + var getIteratorFlattenable = __webpack_require__(296); + var IS_PURE = __webpack_require__(35); + + var IteratorProxy = createIteratorProxy(function () { + return call(this.next, this.iterator); + }, true); + + // `Iterator.from` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', stat: true, forced: IS_PURE }, { + from: function from(O) { + var iteratorRecord = getIteratorFlattenable(typeof O == 'string' ? toObject(O) : O, true); + return isPrototypeOf(IteratorPrototype, iteratorRecord.iterator) + ? iteratorRecord.iterator + : new IteratorProxy(iteratorRecord); + } + }); + + + /***/ }), /* 299 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('sub'); - - // `String.prototype.sub` method - // https://tc39.github.io/ecma262/#sec-string.prototype.sub - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - sub: function sub() { - return createHTML(this, 'sub', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var indexed = __webpack_require__(286); + + // `Iterator.prototype.indexed` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true, forced: true }, { + indexed: indexed + }); + + + /***/ }), /* 300 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createHTML = __webpack_require__(287); - var FORCED = __webpack_require__(288)('sup'); - - // `String.prototype.sup` method - // https://tc39.github.io/ecma262/#sec-string.prototype.sup - __webpack_require__(7)({ target: 'String', proto: true, forced: FORCED }, { - sup: function sup() { - return createHTML(this, 'sup', '', ''); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var map = __webpack_require__(287); + var IS_PURE = __webpack_require__(35); + + // `Iterator.prototype.map` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + map: map + }); + + + /***/ }), /* 301 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Float32Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Float32', 4, function (init) { - return function Float32Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable es/no-bigint -- safe */ + var $ = __webpack_require__(2); + var NumericRangeIterator = __webpack_require__(247); + + var $TypeError = TypeError; + + // `Iterator.range` method + // https://github.com/tc39/proposal-Number.range + $({ target: 'Iterator', stat: true, forced: true }, { + range: function range(start, end, option) { + if (typeof start == 'number') return new NumericRangeIterator(start, end, option, 'number', 0, 1); + if (typeof start == 'bigint') return new NumericRangeIterator(start, end, option, 'bigint', BigInt(0), BigInt(1)); + throw new $TypeError('Incorrect Iterator.range arguments'); + } + }); + + + /***/ }), /* 302 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - if (__webpack_require__(4)) { - var global = __webpack_require__(2); - var $export = __webpack_require__(7); - var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(303); - var ArrayBufferViewCore = __webpack_require__(130); - var ArrayBufferModule = __webpack_require__(129); - var anInstance = __webpack_require__(132); - var createPropertyDescriptor = __webpack_require__(10); - var hide = __webpack_require__(19); - var toLength = __webpack_require__(36); - var toIndex = __webpack_require__(133); - var toOffset = __webpack_require__(304); - var toPrimitive = __webpack_require__(15); - var has = __webpack_require__(3); - var classof = __webpack_require__(98); - var isObject = __webpack_require__(16); - var create = __webpack_require__(51); - var setPrototypeOf = __webpack_require__(108); - var getOwnPropertyNames = __webpack_require__(33).f; - var typedArrayFrom = __webpack_require__(305); - var arrayForEach = __webpack_require__(77)(0); - var setSpecies = __webpack_require__(123); - var definePropertyModule = __webpack_require__(20); - var getOwnPropertyDescriptorModule = __webpack_require__(8); - var InternalStateModule = __webpack_require__(26); - var getInternalState = InternalStateModule.get; - var setInternalState = InternalStateModule.set; - var nativeDefineProperty = definePropertyModule.f; - var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; - var RangeError = global.RangeError; - var ArrayBuffer = ArrayBufferModule.ArrayBuffer; - var DataView = ArrayBufferModule.DataView; - var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; - var TYPED_ARRAY_TAG = ArrayBufferViewCore.TYPED_ARRAY_TAG; - var TypedArray = ArrayBufferViewCore.TypedArray; - var TypedArrayPrototype = ArrayBufferViewCore.TypedArrayPrototype; - var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; - var isTypedArray = ArrayBufferViewCore.isTypedArray; - var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; - var WRONG_LENGTH = 'Wrong length'; - - var fromList = function (C, list) { - var index = 0; - var length = list.length; - var result = new (aTypedArrayConstructor(C))(length); - while (length > index) result[index] = list[index++]; - return result; - }; - - var addGetter = function (it, key) { - nativeDefineProperty(it, key, { - get: function () { - return getInternalState(this)[key]; - } - }); - }; - - var isArrayBuffer = function (it) { - var klass; - return it instanceof ArrayBuffer || (klass = classof(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer'; - }; - - var isTypedArrayIndex = function (target, key) { - return isTypedArray(target) - && typeof key != 'symbol' - && key in target - && String(+key) == String(key); - }; - - var wrappedGetOwnPropertyDescriptor = function getOwnPropertyDescriptor(target, key) { - return isTypedArrayIndex(target, key = toPrimitive(key, true)) - ? createPropertyDescriptor(2, target[key]) - : nativeGetOwnPropertyDescriptor(target, key); - }; - - var wrappedDefineProperty = function defineProperty(target, key, descriptor) { - if (isTypedArrayIndex(target, key = toPrimitive(key, true)) - && isObject(descriptor) - && has(descriptor, 'value') - && !has(descriptor, 'get') - && !has(descriptor, 'set') - // TODO: add validation descriptor w/o calling accessors - && !descriptor.configurable - && (!has(descriptor, 'writable') || descriptor.writable) - && (!has(descriptor, 'enumerable') || descriptor.enumerable) - ) { - target[key] = descriptor.value; - return target; - } return nativeDefineProperty(target, key, descriptor); - }; - - if (!NATIVE_ARRAY_BUFFER_VIEWS) { - getOwnPropertyDescriptorModule.f = wrappedGetOwnPropertyDescriptor; - definePropertyModule.f = wrappedDefineProperty; - addGetter(TypedArrayPrototype, 'buffer'); - addGetter(TypedArrayPrototype, 'byteOffset'); - addGetter(TypedArrayPrototype, 'byteLength'); - addGetter(TypedArrayPrototype, 'length'); - } - - $export({ target: 'Object', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS }, { - getOwnPropertyDescriptor: wrappedGetOwnPropertyDescriptor, - defineProperty: wrappedDefineProperty - }); - - // eslint-disable-next-line max-statements - module.exports = function (TYPE, BYTES, wrapper, CLAMPED) { - var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array'; - var GETTER = 'get' + TYPE; - var SETTER = 'set' + TYPE; - var NativeTypedArrayConstructor = global[CONSTRUCTOR_NAME]; - var TypedArrayConstructor = NativeTypedArrayConstructor; - var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype; - var exported = {}; - - var getter = function (that, index) { - var data = getInternalState(that); - return data.view[GETTER](index * BYTES + data.byteOffset, true); - }; - - var setter = function (that, index, value) { - var data = getInternalState(that); - if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff; - data.view[SETTER](index * BYTES + data.byteOffset, value, true); - }; - - var addElement = function (that, index) { - nativeDefineProperty(that, index, { - get: function () { - return getter(this, index); - }, - set: function (value) { - return setter(this, index, value); - }, - enumerable: true - }); - }; - - if (!NATIVE_ARRAY_BUFFER_VIEWS) { - TypedArrayConstructor = wrapper(function (that, data, offset, $length) { - anInstance(that, TypedArrayConstructor, CONSTRUCTOR_NAME); - var index = 0; - var byteOffset = 0; - var buffer, byteLength, length; - if (!isObject(data)) { - length = toIndex(data); - byteLength = length * BYTES; - buffer = new ArrayBuffer(byteLength); - } else if (isArrayBuffer(data)) { - buffer = data; - byteOffset = toOffset(offset, BYTES); - var $len = data.byteLength; - if ($length === undefined) { - if ($len % BYTES) throw RangeError(WRONG_LENGTH); - byteLength = $len - byteOffset; - if (byteLength < 0) throw RangeError(WRONG_LENGTH); - } else { - byteLength = toLength($length) * BYTES; - if (byteLength + byteOffset > $len) throw RangeError(WRONG_LENGTH); - } - length = byteLength / BYTES; - } else if (isTypedArray(data)) { - return fromList(TypedArrayConstructor, data); - } else { - return typedArrayFrom.call(TypedArrayConstructor, data); - } - setInternalState(that, { - buffer: buffer, - byteOffset: byteOffset, - byteLength: byteLength, - length: length, - view: new DataView(buffer) - }); - while (index < length) addElement(that, index++); - }); - - if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray); - TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create(TypedArrayPrototype); - } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS) { - TypedArrayConstructor = wrapper(function (that, data, typedArrayOffset, $length) { - anInstance(that, TypedArrayConstructor, CONSTRUCTOR_NAME); - if (!isObject(data)) return new NativeTypedArrayConstructor(toIndex(data)); - if (isArrayBuffer(data)) return $length !== undefined - ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES), $length) - : typedArrayOffset !== undefined - ? new NativeTypedArrayConstructor(data, toOffset(typedArrayOffset, BYTES)) - : new NativeTypedArrayConstructor(data); - if (isTypedArray(data)) return fromList(TypedArrayConstructor, data); - return typedArrayFrom.call(TypedArrayConstructor, data); - }); - - if (setPrototypeOf) setPrototypeOf(TypedArrayConstructor, TypedArray); - arrayForEach(getOwnPropertyNames(NativeTypedArrayConstructor), function (key) { - if (!(key in TypedArrayConstructor)) hide(TypedArrayConstructor, key, NativeTypedArrayConstructor[key]); - }); - TypedArrayConstructor.prototype = TypedArrayConstructorPrototype; - } - - if (TypedArrayConstructorPrototype.constructor !== TypedArrayConstructor) { - hide(TypedArrayConstructorPrototype, 'constructor', TypedArrayConstructor); - } - - if (TYPED_ARRAY_TAG) hide(TypedArrayConstructorPrototype, TYPED_ARRAY_TAG, CONSTRUCTOR_NAME); - - exported[CONSTRUCTOR_NAME] = TypedArrayConstructor; - - $export({ - global: true, forced: TypedArrayConstructor != NativeTypedArrayConstructor, sham: !NATIVE_ARRAY_BUFFER_VIEWS - }, exported); - - if (!(BYTES_PER_ELEMENT in TypedArrayConstructor)) { - hide(TypedArrayConstructor, BYTES_PER_ELEMENT, BYTES); - } - - if (!(BYTES_PER_ELEMENT in TypedArrayConstructorPrototype)) { - hide(TypedArrayConstructorPrototype, BYTES_PER_ELEMENT, BYTES); - } - - setSpecies(CONSTRUCTOR_NAME); - }; - } else module.exports = function () { /* empty */ }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var iterate = __webpack_require__(91); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + + var $TypeError = TypeError; + + // `Iterator.prototype.reduce` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true }, { + reduce: function reduce(reducer /* , initialValue */) { + anObject(this); + aCallable(reducer); + var record = getIteratorDirect(this); + var noInitial = arguments.length < 2; + var accumulator = noInitial ? undefined : arguments[1]; + var counter = 0; + iterate(record, function (value) { + if (noInitial) { + noInitial = false; + accumulator = value; + } else { + accumulator = reducer(accumulator, value, counter); + } + counter++; + }, { IS_RECORD: true }); + if (noInitial) throw new $TypeError('Reduce of empty iterator with no initial value'); + return accumulator; + } + }); + + + /***/ }), /* 303 */ - /***/ (function (module, exports, __webpack_require__) { - - /* eslint-disable no-new */ - var global = __webpack_require__(2); - var fails = __webpack_require__(5); - var checkCorrectnessOfIteration = __webpack_require__(92); - var NATIVE_ARRAY_BUFFER_VIEWS = __webpack_require__(130).NATIVE_ARRAY_BUFFER_VIEWS; - var ArrayBuffer = global.ArrayBuffer; - var Int8Array = global.Int8Array; - - module.exports = !NATIVE_ARRAY_BUFFER_VIEWS || !fails(function () { - Int8Array(1); - }) || !fails(function () { - new Int8Array(-1); - }) || !checkCorrectnessOfIteration(function (iterable) { - new Int8Array(); - new Int8Array(null); - new Int8Array(1.5); - new Int8Array(iterable); - }, true) || fails(function () { - // Safari 11 bug - return new Int8Array(new ArrayBuffer(2), 1, undefined).length !== 1; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var iterate = __webpack_require__(91); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + + // `Iterator.prototype.some` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true }, { + some: function some(predicate) { + anObject(this); + aCallable(predicate); + var record = getIteratorDirect(this); + var counter = 0; + return iterate(record, function (value, stop) { + if (predicate(value, counter++)) return stop(); + }, { IS_RECORD: true, INTERRUPTED: true }).stopped; + } + }); + + + /***/ }), /* 304 */ - /***/ (function (module, exports, __webpack_require__) { - - var toInteger = __webpack_require__(37); - - module.exports = function (it, BYTES) { - var offset = toInteger(it); - if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset'); - return offset; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var getIteratorDirect = __webpack_require__(201); + var notANaN = __webpack_require__(231); + var toPositiveInteger = __webpack_require__(187); + var createIteratorProxy = __webpack_require__(288); + var iteratorClose = __webpack_require__(98); + var IS_PURE = __webpack_require__(35); + + var IteratorProxy = createIteratorProxy(function () { + var iterator = this.iterator; + if (!this.remaining--) { + this.done = true; + return iteratorClose(iterator, 'normal', undefined); + } + var result = anObject(call(this.next, iterator)); + var done = this.done = !!result.done; + if (!done) return result.value; + }); + + // `Iterator.prototype.take` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + take: function take(limit) { + anObject(this); + var remaining = toPositiveInteger(notANaN(+limit)); + return new IteratorProxy(getIteratorDirect(this), { + remaining: remaining + }); + } + }); + + + /***/ }), /* 305 */ - /***/ (function (module, exports, __webpack_require__) { - - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var getIteratorMethod = __webpack_require__(97); - var isArrayIteratorMethod = __webpack_require__(95); - var bind = __webpack_require__(78); - var aTypedArrayConstructor = __webpack_require__(130).aTypedArrayConstructor; - - module.exports = function from(source /* , mapfn, thisArg */) { - var O = toObject(source); - var argumentsLength = arguments.length; - var mapfn = argumentsLength > 1 ? arguments[1] : undefined; - var mapping = mapfn !== undefined; - var iteratorMethod = getIteratorMethod(O); - var i, length, result, step, iterator; - if (iteratorMethod != undefined && !isArrayIteratorMethod(iteratorMethod)) { - iterator = iteratorMethod.call(O); - O = []; - while (!(step = iterator.next()).done) { - O.push(step.value); - } - } - if (mapping && argumentsLength > 2) { - mapfn = bind(mapfn, arguments[2], 2); - } - length = toLength(O.length); - result = new (aTypedArrayConstructor(this))(length); - for (i = 0; length > i; i++) { - result[i] = mapping ? mapfn(O[i], i) : O[i]; - } - return result; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var anObject = __webpack_require__(45); + var iterate = __webpack_require__(91); + var getIteratorDirect = __webpack_require__(201); + + var push = [].push; + + // `Iterator.prototype.toArray` method + // https://github.com/tc39/proposal-iterator-helpers + $({ target: 'Iterator', proto: true, real: true }, { + toArray: function toArray() { + var result = []; + iterate(getIteratorDirect(anObject(this)), push, { that: result, IS_RECORD: true }); + return result; + } + }); + + + /***/ }), /* 306 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Float64Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Float64', 8, function (init) { - return function Float64Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var anObject = __webpack_require__(45); + var AsyncFromSyncIterator = __webpack_require__(197); + var WrapAsyncIterator = __webpack_require__(239); + var getIteratorDirect = __webpack_require__(201); + var IS_PURE = __webpack_require__(35); + + // `Iterator.prototype.toAsync` method + // https://github.com/tc39/proposal-async-iterator-helpers + $({ target: 'Iterator', proto: true, real: true, forced: IS_PURE }, { + toAsync: function toAsync() { + return new WrapAsyncIterator(getIteratorDirect(new AsyncFromSyncIterator(getIteratorDirect(anObject(this))))); + } + }); + + + /***/ }), /* 307 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Int8Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Int8', 1, function (init) { - return function Int8Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var NATIVE_RAW_JSON = __webpack_require__(308); + var isRawJSON = __webpack_require__(309); + + // `JSON.parse` method + // https://tc39.es/proposal-json-parse-with-source/#sec-json.israwjson + // https://github.com/tc39/proposal-json-parse-with-source + $({ target: 'JSON', stat: true, forced: !NATIVE_RAW_JSON }, { + isRawJSON: isRawJSON + }); + + + /***/ }), /* 308 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Int16Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Int16', 2, function (init) { - return function Int16Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* eslint-disable es/no-json -- safe */ + var fails = __webpack_require__(6); + + module.exports = !fails(function () { + var unsafeInt = '9007199254740993'; + var raw = JSON.rawJSON(unsafeInt); + return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt; + }); + + + /***/ }), /* 309 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Int32Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Int32', 4, function (init) { - return function Int32Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isObject = __webpack_require__(19); + var getInternalState = __webpack_require__(50).get; + + module.exports = function isRawJSON(O) { + if (!isObject(O)) return false; + var state = getInternalState(O); + return !!state && state.type === 'RawJSON'; + }; + + + /***/ }), /* 310 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Uint8Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Uint8', 1, function (init) { - return function Uint8Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var DESCRIPTORS = __webpack_require__(5); + var global = __webpack_require__(3); + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + var call = __webpack_require__(7); + var isCallable = __webpack_require__(20); + var isObject = __webpack_require__(19); + var isArray = __webpack_require__(107); + var hasOwn = __webpack_require__(37); + var toString = __webpack_require__(76); + var lengthOfArrayLike = __webpack_require__(62); + var createProperty = __webpack_require__(284); + var fails = __webpack_require__(6); + var parseJSONString = __webpack_require__(311); + var NATIVE_SYMBOL = __webpack_require__(25); + + var JSON = global.JSON; + var Number = global.Number; + var SyntaxError = global.SyntaxError; + var nativeParse = JSON && JSON.parse; + var enumerableOwnProperties = getBuiltIn('Object', 'keys'); + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor; + var at = uncurryThis(''.charAt); + var slice = uncurryThis(''.slice); + var exec = uncurryThis(/./.exec); + var push = uncurryThis([].push); + + var IS_DIGIT = /^\d$/; + var IS_NON_ZERO_DIGIT = /^[1-9]$/; + var IS_NUMBER_START = /^(?:-|\d)$/; + var IS_WHITESPACE = /^[\t\n\r ]$/; + + var PRIMITIVE = 0; + var OBJECT = 1; + + var $parse = function (source, reviver) { + source = toString(source); + var context = new Context(source, 0, ''); + var root = context.parse(); + var value = root.value; + var endIndex = context.skip(IS_WHITESPACE, root.end); + if (endIndex < source.length) { + throw new SyntaxError('Unexpected extra character: "' + at(source, endIndex) + '" after the parsed data at: ' + endIndex); + } + return isCallable(reviver) ? internalize({ '': value }, '', reviver, root) : value; + }; + + var internalize = function (holder, name, reviver, node) { + var val = holder[name]; + var unmodified = node && val === node.value; + var context = unmodified && typeof node.source == 'string' ? { source: node.source } : {}; + var elementRecordsLen, keys, len, i, P; + if (isObject(val)) { + var nodeIsArray = isArray(val); + var nodes = unmodified ? node.nodes : nodeIsArray ? [] : {}; + if (nodeIsArray) { + elementRecordsLen = nodes.length; + len = lengthOfArrayLike(val); + for (i = 0; i < len; i++) { + internalizeProperty(val, i, internalize(val, '' + i, reviver, i < elementRecordsLen ? nodes[i] : undefined)); + } + } else { + keys = enumerableOwnProperties(val); + len = lengthOfArrayLike(keys); + for (i = 0; i < len; i++) { + P = keys[i]; + internalizeProperty(val, P, internalize(val, P, reviver, hasOwn(nodes, P) ? nodes[P] : undefined)); + } + } + } + return call(reviver, holder, name, val, context); + }; + + var internalizeProperty = function (object, key, value) { + if (DESCRIPTORS) { + var descriptor = getOwnPropertyDescriptor(object, key); + if (descriptor && !descriptor.configurable) return; + } + if (value === undefined) delete object[key]; + else createProperty(object, key, value); + }; + + var Node = function (value, end, source, nodes) { + this.value = value; + this.end = end; + this.source = source; + this.nodes = nodes; + }; + + var Context = function (source, index) { + this.source = source; + this.index = index; + }; + + // https://www.json.org/json-en.html + Context.prototype = { + fork: function (nextIndex) { + return new Context(this.source, nextIndex); + }, + parse: function () { + var source = this.source; + var i = this.skip(IS_WHITESPACE, this.index); + var fork = this.fork(i); + var chr = at(source, i); + if (exec(IS_NUMBER_START, chr)) return fork.number(); + switch (chr) { + case '{': + return fork.object(); + case '[': + return fork.array(); + case '"': + return fork.string(); + case 't': + return fork.keyword(true); + case 'f': + return fork.keyword(false); + case 'n': + return fork.keyword(null); + } throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i); + }, + node: function (type, value, start, end, nodes) { + return new Node(value, end, type ? null : slice(this.source, start, end), nodes); + }, + object: function () { + var source = this.source; + var i = this.index + 1; + var expectKeypair = false; + var object = {}; + var nodes = {}; + while (i < source.length) { + i = this.until(['"', '}'], i); + if (at(source, i) === '}' && !expectKeypair) { + i++; + break; + } + // Parsing the key + var result = this.fork(i).string(); + var key = result.value; + i = result.end; + i = this.until([':'], i) + 1; + // Parsing value + i = this.skip(IS_WHITESPACE, i); + result = this.fork(i).parse(); + createProperty(nodes, key, result); + createProperty(object, key, result.value); + i = this.until([',', '}'], result.end); + var chr = at(source, i); + if (chr === ',') { + expectKeypair = true; + i++; + } else if (chr === '}') { + i++; + break; + } + } + return this.node(OBJECT, object, this.index, i, nodes); + }, + array: function () { + var source = this.source; + var i = this.index + 1; + var expectElement = false; + var array = []; + var nodes = []; + while (i < source.length) { + i = this.skip(IS_WHITESPACE, i); + if (at(source, i) === ']' && !expectElement) { + i++; + break; + } + var result = this.fork(i).parse(); + push(nodes, result); + push(array, result.value); + i = this.until([',', ']'], result.end); + if (at(source, i) === ',') { + expectElement = true; + i++; + } else if (at(source, i) === ']') { + i++; + break; + } + } + return this.node(OBJECT, array, this.index, i, nodes); + }, + string: function () { + var index = this.index; + var parsed = parseJSONString(this.source, this.index + 1); + return this.node(PRIMITIVE, parsed.value, index, parsed.end); + }, + number: function () { + var source = this.source; + var startIndex = this.index; + var i = startIndex; + if (at(source, i) === '-') i++; + if (at(source, i) === '0') i++; + else if (exec(IS_NON_ZERO_DIGIT, at(source, i))) i = this.skip(IS_DIGIT, ++i); + else throw new SyntaxError('Failed to parse number at: ' + i); + if (at(source, i) === '.') i = this.skip(IS_DIGIT, ++i); + if (at(source, i) === 'e' || at(source, i) === 'E') { + i++; + if (at(source, i) === '+' || at(source, i) === '-') i++; + var exponentStartIndex = i; + i = this.skip(IS_DIGIT, i); + if (exponentStartIndex === i) throw new SyntaxError("Failed to parse number's exponent value at: " + i); + } + return this.node(PRIMITIVE, Number(slice(source, startIndex, i)), startIndex, i); + }, + keyword: function (value) { + var keyword = '' + value; + var index = this.index; + var endIndex = index + keyword.length; + if (slice(this.source, index, endIndex) !== keyword) throw new SyntaxError('Failed to parse value at: ' + index); + return this.node(PRIMITIVE, value, index, endIndex); + }, + skip: function (regex, i) { + var source = this.source; + for (; i < source.length; i++) if (!exec(regex, at(source, i))) break; + return i; + }, + until: function (array, i) { + i = this.skip(IS_WHITESPACE, i); + var chr = at(this.source, i); + for (var j = 0; j < array.length; j++) if (array[j] === chr) return i; + throw new SyntaxError('Unexpected character: "' + chr + '" at: ' + i); + } + }; + + var NO_SOURCE_SUPPORT = fails(function () { + var unsafeInt = '9007199254740993'; + var source; + nativeParse(unsafeInt, function (key, value, context) { + source = context.source; + }); + return source !== unsafeInt; + }); + + var PROPER_BASE_PARSE = NATIVE_SYMBOL && !fails(function () { + // Safari 9 bug + return 1 / nativeParse('-0 \t') !== -Infinity; + }); + + // `JSON.parse` method + // https://tc39.es/ecma262/#sec-json.parse + // https://github.com/tc39/proposal-json-parse-with-source + $({ target: 'JSON', stat: true, forced: NO_SOURCE_SUPPORT }, { + parse: function parse(text, reviver) { + return PROPER_BASE_PARSE && !isCallable(reviver) ? nativeParse(text) : $parse(text, reviver); + } + }); + + + /***/ }), /* 311 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Uint8ClampedArray` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Uint8', 1, function (init) { - return function Uint8ClampedArray(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }, true); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var hasOwn = __webpack_require__(37); + + var $SyntaxError = SyntaxError; + var $parseInt = parseInt; + var fromCharCode = String.fromCharCode; + var at = uncurryThis(''.charAt); + var slice = uncurryThis(''.slice); + var exec = uncurryThis(/./.exec); + + var codePoints = { + '\\"': '"', + '\\\\': '\\', + '\\/': '/', + '\\b': '\b', + '\\f': '\f', + '\\n': '\n', + '\\r': '\r', + '\\t': '\t' + }; + + var IS_4_HEX_DIGITS = /^[\da-f]{4}$/i; + // eslint-disable-next-line regexp/no-control-character -- safe + var IS_C0_CONTROL_CODE = /^[\u0000-\u001F]$/; + + module.exports = function (source, i) { + var unterminated = true; + var value = ''; + while (i < source.length) { + var chr = at(source, i); + if (chr === '\\') { + var twoChars = slice(source, i, i + 2); + if (hasOwn(codePoints, twoChars)) { + value += codePoints[twoChars]; + i += 2; + } else if (twoChars === '\\u') { + i += 2; + var fourHexDigits = slice(source, i, i + 4); + if (!exec(IS_4_HEX_DIGITS, fourHexDigits)) throw new $SyntaxError('Bad Unicode escape at: ' + i); + value += fromCharCode($parseInt(fourHexDigits, 16)); + i += 4; + } else throw new $SyntaxError('Unknown escape sequence: "' + twoChars + '"'); + } else if (chr === '"') { + unterminated = false; + i++; + break; + } else { + if (exec(IS_C0_CONTROL_CODE, chr)) throw new $SyntaxError('Bad control character in string literal at: ' + i); + value += chr; + i++; + } + } + if (unterminated) throw new $SyntaxError('Unterminated string at: ' + i); + return { value: value, end: i }; + }; + + + /***/ }), /* 312 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Uint16Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Uint16', 2, function (init) { - return function Uint16Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var FREEZING = __webpack_require__(259); + var NATIVE_RAW_JSON = __webpack_require__(308); + var getBuiltIn = __webpack_require__(22); + var call = __webpack_require__(7); + var uncurryThis = __webpack_require__(13); + var isCallable = __webpack_require__(20); + var isRawJSON = __webpack_require__(309); + var toString = __webpack_require__(76); + var createProperty = __webpack_require__(284); + var parseJSONString = __webpack_require__(311); + var getReplacerFunction = __webpack_require__(313); + var uid = __webpack_require__(39); + var setInternalState = __webpack_require__(50).set; + + var $String = String; + var $SyntaxError = SyntaxError; + var parse = getBuiltIn('JSON', 'parse'); + var $stringify = getBuiltIn('JSON', 'stringify'); + var create = getBuiltIn('Object', 'create'); + var freeze = getBuiltIn('Object', 'freeze'); + var at = uncurryThis(''.charAt); + var slice = uncurryThis(''.slice); + var exec = uncurryThis(/./.exec); + var push = uncurryThis([].push); + + var MARK = uid(); + var MARK_LENGTH = MARK.length; + var ERROR_MESSAGE = 'Unacceptable as raw JSON'; + var IS_WHITESPACE = /^[\t\n\r ]$/; + + // `JSON.parse` method + // https://tc39.es/proposal-json-parse-with-source/#sec-json.israwjson + // https://github.com/tc39/proposal-json-parse-with-source + $({ target: 'JSON', stat: true, forced: !NATIVE_RAW_JSON }, { + rawJSON: function rawJSON(text) { + var jsonString = toString(text); + if (jsonString === '' || exec(IS_WHITESPACE, at(jsonString, 0)) || exec(IS_WHITESPACE, at(jsonString, jsonString.length - 1))) { + throw new $SyntaxError(ERROR_MESSAGE); + } + var parsed = parse(jsonString); + if (typeof parsed == 'object' && parsed !== null) throw new $SyntaxError(ERROR_MESSAGE); + var obj = create(null); + setInternalState(obj, { type: 'RawJSON' }); + createProperty(obj, 'rawJSON', jsonString); + return FREEZING ? freeze(obj) : obj; + } + }); + + // `JSON.stringify` method + // https://tc39.es/ecma262/#sec-json.stringify + // https://github.com/tc39/proposal-json-parse-with-source + if ($stringify) $({ target: 'JSON', stat: true, arity: 3, forced: !NATIVE_RAW_JSON }, { + stringify: function stringify(text, replacer, space) { + var replacerFunction = getReplacerFunction(replacer); + var rawStrings = []; + + var json = $stringify(text, function (key, value) { + // some old implementations (like WebKit) could pass numbers as keys + var v = isCallable(replacerFunction) ? call(replacerFunction, this, $String(key), value) : value; + return isRawJSON(v) ? MARK + (push(rawStrings, v.rawJSON) - 1) : v; + }, space); + + if (typeof json != 'string') return json; + + var result = ''; + var length = json.length; + + for (var i = 0; i < length; i++) { + var chr = at(json, i); + if (chr === '"') { + var end = parseJSONString(json, ++i).end - 1; + var string = slice(json, i, end); + result += slice(string, 0, MARK_LENGTH) === MARK + ? rawStrings[slice(string, MARK_LENGTH)] + : '"' + string + '"'; + i = end; + } else result += chr; + } + + return result; + } + }); + + + /***/ }), /* 313 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Uint32Array` constructor - // https://tc39.github.io/ecma262/#sec-typedarray-objects - __webpack_require__(302)('Uint32', 4, function (init) { - return function Uint32Array(data, byteOffset, length) { - return init(this, data, byteOffset, length); - }; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var isArray = __webpack_require__(107); + var isCallable = __webpack_require__(20); + var classof = __webpack_require__(14); + var toString = __webpack_require__(76); + + var push = uncurryThis([].push); + + module.exports = function (replacer) { + if (isCallable(replacer)) return replacer; + if (!isArray(replacer)) return; + var rawLength = replacer.length; + var keys = []; + for (var i = 0; i < rawLength; i++) { + var element = replacer[i]; + if (typeof element == 'string') push(keys, element); + else if (typeof element == 'number' || classof(element) === 'Number' || classof(element) === 'String') push(keys, toString(element)); + } + var keysLength = keys.length; + var root = true; + return function (key, value) { + if (root) { + root = false; + return value; + } + if (isArray(this)) return value; + for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value; + }; + }; + + + /***/ }), /* 314 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayCopyWithin = __webpack_require__(74); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.copyWithin` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.copywithin - ArrayBufferViewCore.exportProto('copyWithin', function copyWithin(target, start /* , end */) { - return arrayCopyWithin.call(aTypedArray(this), target, start, arguments.length > 2 ? arguments[2] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aMap = __webpack_require__(315); + var remove = __webpack_require__(132).remove; + + // `Map.prototype.deleteAll` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + deleteAll: function deleteAll(/* ...elements */) { + var collection = aMap(this); + var allDeleted = true; + var wasDeleted; + for (var k = 0, len = arguments.length; k < len; k++) { + wasDeleted = remove(collection, arguments[k]); + allDeleted = allDeleted && wasDeleted; + } return !!allDeleted; + } + }); + + + /***/ }), /* 315 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayEvery = __webpack_require__(77)(4); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.every` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.every - ArrayBufferViewCore.exportProto('every', function every(callbackfn /* , thisArg */) { - return arrayEvery(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var has = __webpack_require__(132).has; + + // Perform ? RequireInternalSlot(M, [[MapData]]) + module.exports = function (it) { + has(it); + return it; + }; + + + /***/ }), /* 316 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayFill = __webpack_require__(82); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.fill` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.fill - // eslint-disable-next-line no-unused-vars - ArrayBufferViewCore.exportProto('fill', function fill(value /* , start, end */) { - return arrayFill.apply(aTypedArray(this), arguments); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aMap = __webpack_require__(315); + var MapHelpers = __webpack_require__(132); + + var get = MapHelpers.get; + var has = MapHelpers.has; + var set = MapHelpers.set; + + // `Map.prototype.emplace` method + // https://github.com/tc39/proposal-upsert + $({ target: 'Map', proto: true, real: true, forced: true }, { + emplace: function emplace(key, handler) { + var map = aMap(this); + var value, inserted; + if (has(map, key)) { + value = get(map, key); + if ('update' in handler) { + value = handler.update(value, key, map); + set(map, key, value); + } return value; + } + inserted = handler.insert(key, map); + set(map, key, inserted); + return inserted; + } + }); + + + /***/ }), /* 317 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var speciesConstructor = __webpack_require__(136); - var ArrayBufferViewCore = __webpack_require__(130); - var arrayFilter = __webpack_require__(77)(2); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; - - // `%TypedArray%.prototype.filter` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.filter - ArrayBufferViewCore.exportProto('filter', function filter(callbackfn /* , thisArg */) { - var list = arrayFilter(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - var C = speciesConstructor(this, this.constructor); - var index = 0; - var length = list.length; - var result = new (aTypedArrayConstructor(C))(length); - while (length > index) result[index] = list[index++]; - return result; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(220); + + // `Map.prototype.every` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + every: function every(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate(map, function (value, key) { + if (!boundFunction(value, key, map)) return false; + }, true) !== false; + } + }); + + + /***/ }), /* 318 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayFind = __webpack_require__(77)(5); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.find` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.find - ArrayBufferViewCore.exportProto('find', function find(predicate /* , thisArg */) { - return arrayFind(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aMap = __webpack_require__(315); + var MapHelpers = __webpack_require__(132); + var iterate = __webpack_require__(220); + + var Map = MapHelpers.Map; + var set = MapHelpers.set; + + // `Map.prototype.filter` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + filter: function filter(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newMap = new Map(); + iterate(map, function (value, key) { + if (boundFunction(value, key, map)) set(newMap, key, value); + }); + return newMap; + } + }); + + + /***/ }), /* 319 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayFindIndex = __webpack_require__(77)(6); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.findIndex` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.findindex - ArrayBufferViewCore.exportProto('findIndex', function findIndex(predicate /* , thisArg */) { - return arrayFindIndex(aTypedArray(this), predicate, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(220); + + // `Map.prototype.find` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + find: function find(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var result = iterate(map, function (value, key) { + if (boundFunction(value, key, map)) return { value: value }; + }, true); + return result && result.value; + } + }); + + + /***/ }), /* 320 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayForEach = __webpack_require__(77)(0); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.forEach` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.foreach - ArrayBufferViewCore.exportProto('forEach', function forEach(callbackfn /* , thisArg */) { - arrayForEach(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(220); + + // `Map.prototype.findKey` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + findKey: function findKey(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var result = iterate(map, function (value, key) { + if (boundFunction(value, key, map)) return { key: key }; + }, true); + return result && result.key; + } + }); + + + /***/ }), /* 321 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(303); - var ArrayBufferViewCore = __webpack_require__(130); - var typedArrayFrom = __webpack_require__(305); - - // `%TypedArray%.from` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.from - ArrayBufferViewCore.exportStatic('from', typedArrayFrom, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var MapHelpers = __webpack_require__(132); + var createCollectionFrom = __webpack_require__(322); + + // `Map.from` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-map.from + $({ target: 'Map', stat: true, forced: true }, { + from: createCollectionFrom(MapHelpers.Map, MapHelpers.set, true) + }); + + + /***/ }), /* 322 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayIncludes = __webpack_require__(35)(true); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.includes` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.includes - ArrayBufferViewCore.exportProto('includes', function includes(searchElement /* , fromIndex */) { - return arrayIncludes(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://tc39.github.io/proposal-setmap-offrom/ + var bind = __webpack_require__(92); + var anObject = __webpack_require__(45); + var toObject = __webpack_require__(38); + var iterate = __webpack_require__(91); + + module.exports = function (C, adder, ENTRY) { + return function from(source /* , mapFn, thisArg */) { + var O = toObject(source); + var length = arguments.length; + var mapFn = length > 1 ? arguments[1] : undefined; + var mapping = mapFn !== undefined; + var boundFunction = mapping ? bind(mapFn, length > 2 ? arguments[2] : undefined) : undefined; + var result = new C(); + var n = 0; + iterate(O, function (nextItem) { + var entry = mapping ? boundFunction(nextItem, n++) : nextItem; + if (ENTRY) adder(result, anObject(entry)[0], entry[1]); + else adder(result, entry); + }); + return result; + }; + }; + + + /***/ }), /* 323 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayIndexOf = __webpack_require__(35)(false); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.indexOf` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.indexof - ArrayBufferViewCore.exportProto('indexOf', function indexOf(searchElement /* , fromIndex */) { - return arrayIndexOf(aTypedArray(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var sameValueZero = __webpack_require__(324); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(220); + + // `Map.prototype.includes` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + includes: function includes(searchElement) { + return iterate(aMap(this), function (value) { + if (sameValueZero(value, searchElement)) return true; + }, true) === true; + } + }); + + + /***/ }), /* 324 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ArrayIterators = __webpack_require__(102); - var Uint8Array = __webpack_require__(2).Uint8Array; - var ArrayBufferViewCore = __webpack_require__(130); - var ITERATOR = __webpack_require__(43)('iterator'); - var arrayValues = ArrayIterators.values; - var arrayKeys = ArrayIterators.keys; - var arrayEntries = ArrayIterators.entries; - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var exportProto = ArrayBufferViewCore.exportProto; - var nativeTypedArrayIterator = Uint8Array && Uint8Array.prototype[ITERATOR]; - - var CORRECT_ITER_NAME = !!nativeTypedArrayIterator - && (nativeTypedArrayIterator.name == 'values' || nativeTypedArrayIterator.name == undefined); - - var typedArrayValues = function values() { - return arrayValues.call(aTypedArray(this)); - }; - - // `%TypedArray%.prototype.entries` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.entries - exportProto('entries', function entries() { - return arrayEntries.call(aTypedArray(this)); - }); - // `%TypedArray%.prototype.keys` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.keys - exportProto('keys', function keys() { - return arrayKeys.call(aTypedArray(this)); - }); - // `%TypedArray%.prototype.values` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.values - exportProto('values', typedArrayValues, !CORRECT_ITER_NAME); - // `%TypedArray%.prototype[@@iterator]` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype-@@iterator - exportProto(ITERATOR, typedArrayValues, !CORRECT_ITER_NAME); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // `SameValueZero` abstract operation + // https://tc39.es/ecma262/#sec-samevaluezero + module.exports = function (x, y) { + // eslint-disable-next-line no-self-compare -- NaN check + return x === y || x !== x && y !== y; + }; + + + /***/ }), /* 325 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var arrayJoin = [].join; - - // `%TypedArray%.prototype.join` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.join - // eslint-disable-next-line no-unused-vars - ArrayBufferViewCore.exportProto('join', function join(separator) { - return arrayJoin.apply(aTypedArray(this), arguments); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var iterate = __webpack_require__(91); + var isCallable = __webpack_require__(20); + var aCallable = __webpack_require__(29); + var Map = __webpack_require__(132).Map; + + // `Map.keyBy` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', stat: true, forced: true }, { + keyBy: function keyBy(iterable, keyDerivative) { + var C = isCallable(this) ? this : Map; + var newMap = new C(); + aCallable(keyDerivative); + var setter = aCallable(newMap.set); + iterate(iterable, function (element) { + call(setter, newMap, keyDerivative(element), element); + }); + return newMap; + } + }); + + + /***/ }), /* 326 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arrayLastIndexOf = __webpack_require__(112); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.lastIndexOf` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.lastindexof - // eslint-disable-next-line no-unused-vars - ArrayBufferViewCore.exportProto('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) { - return arrayLastIndexOf.apply(aTypedArray(this), arguments); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(220); + + // `Map.prototype.keyOf` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + keyOf: function keyOf(searchElement) { + var result = iterate(aMap(this), function (value, key) { + if (value === searchElement) return { key: key }; + }, true); + return result && result.key; + } + }); + + + /***/ }), /* 327 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var speciesConstructor = __webpack_require__(136); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; - - var internalTypedArrayMap = __webpack_require__(77)(1, function (O, length) { - return new (aTypedArrayConstructor(speciesConstructor(O, O.constructor)))(length); - }); - - // `%TypedArray%.prototype.map` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.map - ArrayBufferViewCore.exportProto('map', function map(mapfn /* , thisArg */) { - return internalTypedArrayMap(aTypedArray(this), mapfn, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aMap = __webpack_require__(315); + var MapHelpers = __webpack_require__(132); + var iterate = __webpack_require__(220); + + var Map = MapHelpers.Map; + var set = MapHelpers.set; + + // `Map.prototype.mapKeys` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + mapKeys: function mapKeys(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newMap = new Map(); + iterate(map, function (value, key) { + set(newMap, boundFunction(value, key, map), value); + }); + return newMap; + } + }); + + + /***/ }), /* 328 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = __webpack_require__(303); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; - - // `%TypedArray%.of` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.of - ArrayBufferViewCore.exportStatic('of', function of(/* ...items */) { - var index = 0; - var length = arguments.length; - var result = new (aTypedArrayConstructor(this))(length); - while (length > index) result[index] = arguments[index++]; - return result; - }, TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aMap = __webpack_require__(315); + var MapHelpers = __webpack_require__(132); + var iterate = __webpack_require__(220); + + var Map = MapHelpers.Map; + var set = MapHelpers.set; + + // `Map.prototype.mapValues` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + mapValues: function mapValues(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newMap = new Map(); + iterate(map, function (value, key) { + set(newMap, key, boundFunction(value, key, map)); + }); + return newMap; + } + }); + + + /***/ }), /* 329 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var arrayReduce = [].reduce; - - // `%TypedArray%.prototype.reduce` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.reduce - // eslint-disable-next-line no-unused-vars - ArrayBufferViewCore.exportProto('reduce', function reduce(callbackfn /* , initialValue */) { - return arrayReduce.apply(aTypedArray(this), arguments); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(91); + var set = __webpack_require__(132).set; + + // `Map.prototype.merge` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, arity: 1, forced: true }, { + // eslint-disable-next-line no-unused-vars -- required for `.length` + merge: function merge(iterable /* ...iterables */) { + var map = aMap(this); + var argumentsLength = arguments.length; + var i = 0; + while (i < argumentsLength) { + iterate(arguments[i++], function (key, value) { + set(map, key, value); + }, { AS_ENTRIES: true }); + } + return map; + } + }); + + + /***/ }), /* 330 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var arrayReduceRight = [].reduceRight; - - // `%TypedArray%.prototype.reduceRicht` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.reduceright - // eslint-disable-next-line no-unused-vars - ArrayBufferViewCore.exportProto('reduceRight', function reduceRight(callbackfn /* , initialValue */) { - return arrayReduceRight.apply(aTypedArray(this), arguments); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var MapHelpers = __webpack_require__(132); + var createCollectionOf = __webpack_require__(331); + + // `Map.of` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-map.of + $({ target: 'Map', stat: true, forced: true }, { + of: createCollectionOf(MapHelpers.Map, MapHelpers.set, true) + }); + + + /***/ }), /* 331 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.reverse` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.reverse - ArrayBufferViewCore.exportProto('reverse', function reverse() { - var that = this; - var length = aTypedArray(that).length; - var middle = Math.floor(length / 2); - var index = 0; - var value; - while (index < middle) { - value = that[index]; - that[index++] = that[--length]; - that[length] = value; - } return that; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var anObject = __webpack_require__(45); + + // https://tc39.github.io/proposal-setmap-offrom/ + module.exports = function (C, adder, ENTRY) { + return function of() { + var result = new C(); + var length = arguments.length; + for (var index = 0; index < length; index++) { + var entry = arguments[index]; + if (ENTRY) adder(result, anObject(entry)[0], entry[1]); + else adder(result, entry); + } return result; + }; + }; + + + /***/ }), /* 332 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toLength = __webpack_require__(36); - var toOffset = __webpack_require__(304); - var toObject = __webpack_require__(69); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - var FORCED = __webpack_require__(5)(function () { - // eslint-disable-next-line no-undef - new Int8Array(1).set({}); - }); - - // `%TypedArray%.prototype.set` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.set - ArrayBufferViewCore.exportProto('set', function set(arrayLike /* , offset */) { - aTypedArray(this); - var offset = toOffset(arguments[1], 1); - var length = this.length; - var src = toObject(arrayLike); - var len = toLength(src.length); - var index = 0; - if (len + offset > length) throw RangeError('Wrong length'); - while (index < len) this[offset + index] = src[index++]; - }, FORCED); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aCallable = __webpack_require__(29); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(220); + + var $TypeError = TypeError; + + // `Map.prototype.reduce` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + reduce: function reduce(callbackfn /* , initialValue */) { + var map = aMap(this); + var noInitial = arguments.length < 2; + var accumulator = noInitial ? undefined : arguments[1]; + aCallable(callbackfn); + iterate(map, function (value, key) { + if (noInitial) { + noInitial = false; + accumulator = value; + } else { + accumulator = callbackfn(accumulator, value, key, map); + } + }); + if (noInitial) throw new $TypeError('Reduce of empty map with no initial value'); + return accumulator; + } + }); + + + /***/ }), /* 333 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var speciesConstructor = __webpack_require__(136); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; - var arraySlice = [].slice; - - var FORCED = __webpack_require__(5)(function () { - // eslint-disable-next-line no-undef - new Int8Array(1).slice(); - }); - - // `%TypedArray%.prototype.slice` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.slice - ArrayBufferViewCore.exportProto('slice', function slice(start, end) { - var list = arraySlice.call(aTypedArray(this), start, end); - var C = speciesConstructor(this, this.constructor); - var index = 0; - var length = list.length; - var result = new (aTypedArrayConstructor(C))(length); - while (length > index) result[index] = list[index++]; - return result; - }, FORCED); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aMap = __webpack_require__(315); + var iterate = __webpack_require__(220); + + // `Map.prototype.some` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + some: function some(callbackfn /* , thisArg */) { + var map = aMap(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate(map, function (value, key) { + if (boundFunction(value, key, map)) return true; + }, true) === true; + } + }); + + + /***/ }), /* 334 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var arraySome = __webpack_require__(77)(3); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.some` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.some - ArrayBufferViewCore.exportProto('some', function some(callbackfn /* , thisArg */) { - return arraySome(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aCallable = __webpack_require__(29); + var aMap = __webpack_require__(315); + var MapHelpers = __webpack_require__(132); + + var $TypeError = TypeError; + var get = MapHelpers.get; + var has = MapHelpers.has; + var set = MapHelpers.set; + + // `Map.prototype.update` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Map', proto: true, real: true, forced: true }, { + update: function update(key, callback /* , thunk */) { + var map = aMap(this); + var length = arguments.length; + aCallable(callback); + var isPresentInMap = has(map, key); + if (!isPresentInMap && length < 3) { + throw new $TypeError('Updating absent value'); + } + var value = isPresentInMap ? get(map, key) : aCallable(length > 2 ? arguments[2] : undefined)(key, map); + set(map, key, callback(value, key, map)); + return map; + } + }); + + + /***/ }), /* 335 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var arraySort = [].sort; - - // `%TypedArray%.prototype.sort` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.sort - ArrayBufferViewCore.exportProto('sort', function sort(comparefn) { - return arraySort.call(aTypedArray(this), comparefn); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + + var min = Math.min; + var max = Math.max; + + // `Math.clamp` method + // https://rwaldron.github.io/proposal-math-extensions/ + $({ target: 'Math', stat: true, forced: true }, { + clamp: function clamp(x, lower, upper) { + return min(upper, max(lower, x)); + } + }); + + + /***/ }), /* 336 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toLength = __webpack_require__(36); - var toAbsoluteIndex = __webpack_require__(38); - var speciesConstructor = __webpack_require__(136); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - - // `%TypedArray%.prototype.subarray` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.subarray - ArrayBufferViewCore.exportProto('subarray', function subarray(begin, end) { - var O = aTypedArray(this); - var length = O.length; - var beginIndex = toAbsoluteIndex(begin, length); - return new (speciesConstructor(O, O.constructor))( - O.buffer, - O.byteOffset + beginIndex * O.BYTES_PER_ELEMENT, - toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - beginIndex) - ); - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + + // `Math.DEG_PER_RAD` constant + // https://rwaldron.github.io/proposal-math-extensions/ + $({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, { + DEG_PER_RAD: Math.PI / 180 + }); + + + /***/ }), /* 337 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var Int8Array = __webpack_require__(2).Int8Array; - var fails = __webpack_require__(5); - var ArrayBufferViewCore = __webpack_require__(130); - var aTypedArray = ArrayBufferViewCore.aTypedArray; - var arrayToLocaleString = [].toLocaleString; - var arraySlice = [].slice; - - // iOS Safari 6.x fails here - var TO_LOCALE_BUG = !!Int8Array && fails(function () { - arrayToLocaleString.call(new Int8Array(1)); - }); - var FORCED = fails(function () { - return [1, 2].toLocaleString() != new Int8Array([1, 2]).toLocaleString(); - }) || !fails(function () { - Int8Array.prototype.toLocaleString.call([1, 2]); - }); - - // `%TypedArray%.prototype.toLocaleString` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.tolocalestring - ArrayBufferViewCore.exportProto('toLocaleString', function toLocaleString() { - return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(aTypedArray(this)) : aTypedArray(this), arguments); - }, FORCED); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + + var RAD_PER_DEG = 180 / Math.PI; + + // `Math.degrees` method + // https://rwaldron.github.io/proposal-math-extensions/ + $({ target: 'Math', stat: true, forced: true }, { + degrees: function degrees(radians) { + return radians * RAD_PER_DEG; + } + }); + + + /***/ }), /* 338 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var Uint8Array = __webpack_require__(2).Uint8Array; - var Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype; - var ArrayBufferViewCore = __webpack_require__(130); - var arrayToString = [].toString; - var arrayJoin = [].join; - - if (__webpack_require__(5)(function () { arrayToString.call({}); })) { - arrayToString = function toString() { - return arrayJoin.call(this); - }; - } - - // `%TypedArray%.prototype.toString` method - // https://tc39.github.io/ecma262/#sec-%typedarray%.prototype.tostring - ArrayBufferViewCore.exportProto('toString', arrayToString, (Uint8ArrayPrototype || {}).toString != arrayToString); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + + var scale = __webpack_require__(339); + var fround = __webpack_require__(340); + + // `Math.fscale` method + // https://rwaldron.github.io/proposal-math-extensions/ + $({ target: 'Math', stat: true, forced: true }, { + fscale: function fscale(x, inLow, inHigh, outLow, outHigh) { + return fround(scale(x, inLow, inHigh, outLow, outHigh)); + } + }); + + + /***/ }), /* 339 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var global = __webpack_require__(2); - var redefineAll = __webpack_require__(131); - var InternalMetadataModule = __webpack_require__(152); - var weak = __webpack_require__(340); - var isObject = __webpack_require__(16); - var enforceIternalState = __webpack_require__(26).enforce; - var NATIVE_WEAK_MAP = __webpack_require__(27); - var IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global; - var isExtensible = Object.isExtensible; - var InternalWeakMap; - - var wrapper = function (get) { - return function WeakMap() { - return get(this, arguments.length > 0 ? arguments[0] : undefined); - }; - }; - - // `WeakMap` constructor - // https://tc39.github.io/ecma262/#sec-weakmap-constructor - var $WeakMap = module.exports = __webpack_require__(151)('WeakMap', wrapper, weak, true, true); - - // IE11 WeakMap frozen keys fix - // We can't use feature detection because it crash some old IE builds - // https://github.com/zloirock/core-js/issues/485 - if (NATIVE_WEAK_MAP && IS_IE11) { - InternalWeakMap = weak.getConstructor(wrapper, 'WeakMap', true); - InternalMetadataModule.REQUIRED = true; - var WeakMapPrototype = $WeakMap.prototype; - var nativeDelete = WeakMapPrototype['delete']; - var nativeHas = WeakMapPrototype.has; - var nativeGet = WeakMapPrototype.get; - var nativeSet = WeakMapPrototype.set; - redefineAll(WeakMapPrototype, { - 'delete': function (key) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - return nativeDelete.call(this, key) || state.frozen['delete'](key); - } return nativeDelete.call(this, key); - }, - has: function has(key) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - return nativeHas.call(this, key) || state.frozen.has(key); - } return nativeHas.call(this, key); - }, - get: function get(key) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - return nativeHas.call(this, key) ? nativeGet.call(this, key) : state.frozen.get(key); - } return nativeGet.call(this, key); - }, - set: function set(key, value) { - if (isObject(key) && !isExtensible(key)) { - var state = enforceIternalState(this); - if (!state.frozen) state.frozen = new InternalWeakMap(); - nativeHas.call(this, key) ? nativeSet.call(this, key, value) : state.frozen.set(key, value); - } else nativeSet.call(this, key, value); - return this; - } - }); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // `Math.scale` method implementation + // https://rwaldron.github.io/proposal-math-extensions/ + module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) { + var nx = +x; + var nInLow = +inLow; + var nInHigh = +inHigh; + var nOutLow = +outLow; + var nOutHigh = +outHigh; + // eslint-disable-next-line no-self-compare -- NaN check + if (nx !== nx || nInLow !== nInLow || nInHigh !== nInHigh || nOutLow !== nOutLow || nOutHigh !== nOutHigh) return NaN; + if (nx === Infinity || nx === -Infinity) return nx; + return (nx - nInLow) * (nOutHigh - nOutLow) / (nInHigh - nInLow) + nOutLow; + }; + + + /***/ }), /* 340 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var redefineAll = __webpack_require__(131); - var getWeakData = __webpack_require__(152).getWeakData; - var anObject = __webpack_require__(21); - var isObject = __webpack_require__(16); - var anInstance = __webpack_require__(132); - var iterate = __webpack_require__(154); - var createArrayMethod = __webpack_require__(77); - var $has = __webpack_require__(3); - var InternalStateModule = __webpack_require__(26); - var setInternalState = InternalStateModule.set; - var internalStateGetterFor = InternalStateModule.getterFor; - var arrayFind = createArrayMethod(5); - var arrayFindIndex = createArrayMethod(6); - var id = 0; - - // fallback for uncaught frozen keys - var uncaughtFrozenStore = function (store) { - return store.frozen || (store.frozen = new UncaughtFrozenStore()); - }; - - var UncaughtFrozenStore = function () { - this.entries = []; - }; - - var findUncaughtFrozen = function (store, key) { - return arrayFind(store.entries, function (it) { - return it[0] === key; - }); - }; - - UncaughtFrozenStore.prototype = { - get: function (key) { - var entry = findUncaughtFrozen(this, key); - if (entry) return entry[1]; - }, - has: function (key) { - return !!findUncaughtFrozen(this, key); - }, - set: function (key, value) { - var entry = findUncaughtFrozen(this, key); - if (entry) entry[1] = value; - else this.entries.push([key, value]); - }, - 'delete': function (key) { - var index = arrayFindIndex(this.entries, function (it) { - return it[0] === key; - }); - if (~index) this.entries.splice(index, 1); - return !!~index; - } - }; - - module.exports = { - getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance(that, C, CONSTRUCTOR_NAME); - setInternalState(that, { - type: CONSTRUCTOR_NAME, - id: id++, - frozen: undefined - }); - if (iterable != undefined) iterate(iterable, that[ADDER], that, IS_MAP); - }); - - var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); - - var define = function (that, key, value) { - var state = getInternalState(that); - var data = getWeakData(anObject(key), true); - if (data === true) uncaughtFrozenStore(state).set(key, value); - else data[state.id] = value; - return that; - }; - - redefineAll(C.prototype, { - // 23.3.3.2 WeakMap.prototype.delete(key) - // 23.4.3.3 WeakSet.prototype.delete(value) - 'delete': function (key) { - var state = getInternalState(this); - if (!isObject(key)) return false; - var data = getWeakData(key); - if (data === true) return uncaughtFrozenStore(state)['delete'](key); - return data && $has(data, state.id) && delete data[state.id]; - }, - // 23.3.3.4 WeakMap.prototype.has(key) - // 23.4.3.4 WeakSet.prototype.has(value) - has: function has(key) { - var state = getInternalState(this); - if (!isObject(key)) return false; - var data = getWeakData(key); - if (data === true) return uncaughtFrozenStore(state).has(key); - return data && $has(data, state.id); - } - }); - - redefineAll(C.prototype, IS_MAP ? { - // 23.3.3.3 WeakMap.prototype.get(key) - get: function get(key) { - var state = getInternalState(this); - if (isObject(key)) { - var data = getWeakData(key); - if (data === true) return uncaughtFrozenStore(state).get(key); - return data ? data[state.id] : undefined; - } - }, - // 23.3.3.5 WeakMap.prototype.set(key, value) - set: function set(key, value) { - return define(this, key, value); - } - } : { - // 23.4.3.1 WeakSet.prototype.add(value) - add: function add(value) { - return define(this, value, true); - } - }); - - return C; - } - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var floatRound = __webpack_require__(272); + + var FLOAT32_EPSILON = 1.1920928955078125e-7; // 2 ** -23; + var FLOAT32_MAX_VALUE = 3.4028234663852886e+38; // 2 ** 128 - 2 ** 104 + var FLOAT32_MIN_VALUE = 1.1754943508222875e-38; // 2 ** -126; + + // `Math.fround` method implementation + // https://tc39.es/ecma262/#sec-math.fround + // eslint-disable-next-line es/no-math-fround -- safe + module.exports = Math.fround || function fround(x) { + return floatRound(x, FLOAT32_EPSILON, FLOAT32_MAX_VALUE, FLOAT32_MIN_VALUE); + }; + + + /***/ }), /* 341 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // `WeakSet` constructor - // https://tc39.github.io/ecma262/#sec-weakset-constructor - __webpack_require__(151)('WeakSet', function (get) { - return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); }; - }, __webpack_require__(340), false, true); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var f16round = __webpack_require__(271); + + // `Math.f16round` method + // https://github.com/tc39/proposal-float16array + $({ target: 'Math', stat: true }, { f16round: f16round }); + + + /***/ }), /* 342 */ - /***/ (function (module, exports, __webpack_require__) { - - var getPrototypeOf = __webpack_require__(106); - var setPrototypeOf = __webpack_require__(108); - var create = __webpack_require__(51); - var iterate = __webpack_require__(154); - var hide = __webpack_require__(19); - - var $AggregateError = function AggregateError(errors, message) { - var that = this; - if (!(that instanceof $AggregateError)) return new $AggregateError(errors, message); - if (setPrototypeOf) { - that = setPrototypeOf(new Error(message), getPrototypeOf(that)); - } - var errorsArray = []; - iterate(errors, errorsArray.push, errorsArray); - that.errors = errorsArray; - if (message !== undefined) hide(that, 'message', String(message)); - return that; - }; - - $AggregateError.prototype = create(Error.prototype, { - constructor: { value: $AggregateError, configurable: true, writable: true }, - name: { value: 'AggregateError', configurable: true, writable: true } - }); - - __webpack_require__(7)({ global: true }, { - AggregateError: $AggregateError - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + + // `Math.RAD_PER_DEG` constant + // https://rwaldron.github.io/proposal-math-extensions/ + $({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, { + RAD_PER_DEG: 180 / Math.PI + }); + + + /***/ }), /* 343 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var DESCRIPTORS = __webpack_require__(4); - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var defineProperty = __webpack_require__(20).f; - - // `Array.prototype.lastIndex` getter - // https://github.com/keithamus/proposal-array-last - if (DESCRIPTORS && !('lastIndex' in [])) { - defineProperty(Array.prototype, 'lastIndex', { - configurable: true, - get: function lastIndex() { - var O = toObject(this); - var len = toLength(O.length); - return len == 0 ? 0 : len - 1; - } - }); - - __webpack_require__(75)('lastIndex'); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + + var DEG_PER_RAD = Math.PI / 180; + + // `Math.radians` method + // https://rwaldron.github.io/proposal-math-extensions/ + $({ target: 'Math', stat: true, forced: true }, { + radians: function radians(degrees) { + return degrees * DEG_PER_RAD; + } + }); + + + /***/ }), /* 344 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var DESCRIPTORS = __webpack_require__(4); - var toObject = __webpack_require__(69); - var toLength = __webpack_require__(36); - var defineProperty = __webpack_require__(20).f; - - // `Array.prototype.lastIndex` accessor - // https://github.com/keithamus/proposal-array-last - if (DESCRIPTORS && !('lastItem' in [])) { - defineProperty(Array.prototype, 'lastItem', { - configurable: true, - get: function lastItem() { - var O = toObject(this); - var len = toLength(O.length); - return len == 0 ? undefined : O[len - 1]; - }, - set: function lastItem(value) { - var O = toObject(this); - var len = toLength(O.length); - return O[len == 0 ? 0 : len - 1] = value; - } - }); - - __webpack_require__(75)('lastItem'); - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var scale = __webpack_require__(339); + + // `Math.scale` method + // https://rwaldron.github.io/proposal-math-extensions/ + $({ target: 'Math', stat: true, forced: true }, { + scale: scale + }); + + + /***/ }), /* 345 */ - /***/ (function (module, exports, __webpack_require__) { - - var getCompositeKeyNode = __webpack_require__(346); - var getBuiltIn = __webpack_require__(124); - var create = __webpack_require__(51); - - var initializer = function () { - var freeze = getBuiltIn('Object', 'freeze'); - return freeze ? freeze(create(null)) : create(null); - }; - - // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey - __webpack_require__(7)({ global: true }, { - compositeKey: function compositeKey() { - return getCompositeKeyNode.apply(Object, arguments).get('object', initializer); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + + // `Math.signbit` method + // https://github.com/tc39/proposal-Math.signbit + $({ target: 'Math', stat: true, forced: true }, { + signbit: function signbit(x) { + var n = +x; + // eslint-disable-next-line no-self-compare -- NaN check + return n === n && n === 0 ? 1 / n === -Infinity : n < 0; + } + }); + + + /***/ }), /* 346 */ - /***/ (function (module, exports, __webpack_require__) { - - var Map = __webpack_require__(150); - var WeakMap = __webpack_require__(339); - var create = __webpack_require__(51); - var isObject = __webpack_require__(16); - - var Node = function () { - // keys - this.object = null; - this.symbol = null; - // child nodes - this.primitives = null; - this.objectsByIndex = create(null); - }; - - Node.prototype.get = function (key, initializer) { - return this[key] || (this[key] = initializer()); - }; - - Node.prototype.next = function (i, it, IS_OBJECT) { - var store = IS_OBJECT - ? this.objectsByIndex[i] || (this.objectsByIndex[i] = new WeakMap()) - : this.primitives || (this.primitives = new Map()); - var entry = store.get(it); - if (!entry) store.set(it, entry = new Node()); - return entry; - }; - - var root = new Node(); - - module.exports = function () { - var active = root; - var length = arguments.length; - var i, it; - // for prevent leaking, start from objects - for (i = 0; i < length; i++) { - if (isObject(it = arguments[i])) active = active.next(i, it, true); - } - if (this === Object && active === root) throw TypeError('Composite keys must contain a non-primitive component'); - for (i = 0; i < length; i++) { - if (!isObject(it = arguments[i])) active = active.next(i, it, false); - } return active; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var toIntegerOrInfinity = __webpack_require__(60); + + var INVALID_NUMBER_REPRESENTATION = 'Invalid number representation'; + var INVALID_RADIX = 'Invalid radix'; + var $RangeError = RangeError; + var $SyntaxError = SyntaxError; + var $TypeError = TypeError; + var $parseInt = parseInt; + var pow = Math.pow; + var valid = /^[\d.a-z]+$/; + var charAt = uncurryThis(''.charAt); + var exec = uncurryThis(valid.exec); + var numberToString = uncurryThis(1.0.toString); + var stringSlice = uncurryThis(''.slice); + var split = uncurryThis(''.split); + + // `Number.fromString` method + // https://github.com/tc39/proposal-number-fromstring + $({ target: 'Number', stat: true, forced: true }, { + fromString: function fromString(string, radix) { + var sign = 1; + if (typeof string != 'string') throw new $TypeError(INVALID_NUMBER_REPRESENTATION); + if (!string.length) throw new $SyntaxError(INVALID_NUMBER_REPRESENTATION); + if (charAt(string, 0) === '-') { + sign = -1; + string = stringSlice(string, 1); + if (!string.length) throw new $SyntaxError(INVALID_NUMBER_REPRESENTATION); + } + var R = radix === undefined ? 10 : toIntegerOrInfinity(radix); + if (R < 2 || R > 36) throw new $RangeError(INVALID_RADIX); + if (!exec(valid, string)) throw new $SyntaxError(INVALID_NUMBER_REPRESENTATION); + var parts = split(string, '.'); + var mathNum = $parseInt(parts[0], R); + if (parts.length > 1) mathNum += $parseInt(parts[1], R) / pow(R, parts[1].length); + if (R === 10 && numberToString(mathNum, R) !== string) throw new $SyntaxError(INVALID_NUMBER_REPRESENTATION); + return sign * mathNum; + } + }); + + + /***/ }), /* 347 */ - /***/ (function (module, exports, __webpack_require__) { - - var getCompositeKeyNode = __webpack_require__(346); - var getBuiltIn = __webpack_require__(124); - - // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey - __webpack_require__(7)({ global: true }, { - compositeSymbol: function compositeSymbol() { - if (arguments.length === 1 && typeof arguments[0] === 'string') return getBuiltIn('Symbol')['for'](arguments[0]); - return getCompositeKeyNode.apply(null, arguments).get('symbol', getBuiltIn('Symbol')); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var NumericRangeIterator = __webpack_require__(247); + + // `Number.range` method + // https://github.com/tc39/proposal-Number.range + // TODO: Remove from `core-js@4` + $({ target: 'Number', stat: true, forced: true }, { + range: function range(start, end, option) { + return new NumericRangeIterator(start, end, option, 'number', 0, 1); + } + }); + + + /***/ }), /* 348 */ - /***/ (function (module, exports, __webpack_require__) { - - // `globalThis` object - // https://github.com/tc39/proposal-global - __webpack_require__(7)({ global: true }, { globalThis: __webpack_require__(2) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove this module from `core-js@4` since it's split to modules listed below + __webpack_require__(349); + __webpack_require__(350); + __webpack_require__(351); + + + /***/ }), /* 349 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var collectionDeleteAll = __webpack_require__(350); - - // `Map.prototype.deleteAll` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ - target: 'Map', proto: true, real: true, forced: __webpack_require__(6) - }, { - deleteAll: function deleteAll(/* ...elements */) { - return collectionDeleteAll.apply(this, arguments); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // https://github.com/tc39/proposal-observable + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var DESCRIPTORS = __webpack_require__(5); + var setSpecies = __webpack_require__(139); + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var anInstance = __webpack_require__(140); + var isCallable = __webpack_require__(20); + var isNullOrUndefined = __webpack_require__(16); + var isObject = __webpack_require__(19); + var getMethod = __webpack_require__(28); + var defineBuiltIn = __webpack_require__(46); + var defineBuiltIns = __webpack_require__(198); + var defineBuiltInAccessor = __webpack_require__(118); + var hostReportErrors = __webpack_require__(153); + var wellKnownSymbol = __webpack_require__(32); + var InternalStateModule = __webpack_require__(50); + + var $$OBSERVABLE = wellKnownSymbol('observable'); + var OBSERVABLE = 'Observable'; + var SUBSCRIPTION = 'Subscription'; + var SUBSCRIPTION_OBSERVER = 'SubscriptionObserver'; + var getterFor = InternalStateModule.getterFor; + var setInternalState = InternalStateModule.set; + var getObservableInternalState = getterFor(OBSERVABLE); + var getSubscriptionInternalState = getterFor(SUBSCRIPTION); + var getSubscriptionObserverInternalState = getterFor(SUBSCRIPTION_OBSERVER); + + var SubscriptionState = function (observer) { + this.observer = anObject(observer); + this.cleanup = undefined; + this.subscriptionObserver = undefined; + }; + + SubscriptionState.prototype = { + type: SUBSCRIPTION, + clean: function () { + var cleanup = this.cleanup; + if (cleanup) { + this.cleanup = undefined; + try { + cleanup(); + } catch (error) { + hostReportErrors(error); + } + } + }, + close: function () { + if (!DESCRIPTORS) { + var subscription = this.facade; + var subscriptionObserver = this.subscriptionObserver; + subscription.closed = true; + if (subscriptionObserver) subscriptionObserver.closed = true; + } this.observer = undefined; + }, + isClosed: function () { + return this.observer === undefined; + } + }; + + var Subscription = function (observer, subscriber) { + var subscriptionState = setInternalState(this, new SubscriptionState(observer)); + var start; + if (!DESCRIPTORS) this.closed = false; + try { + if (start = getMethod(observer, 'start')) call(start, observer, this); + } catch (error) { + hostReportErrors(error); + } + if (subscriptionState.isClosed()) return; + var subscriptionObserver = subscriptionState.subscriptionObserver = new SubscriptionObserver(subscriptionState); + try { + var cleanup = subscriber(subscriptionObserver); + var subscription = cleanup; + if (!isNullOrUndefined(cleanup)) subscriptionState.cleanup = isCallable(cleanup.unsubscribe) + ? function () { subscription.unsubscribe(); } + : aCallable(cleanup); + } catch (error) { + subscriptionObserver.error(error); + return; + } if (subscriptionState.isClosed()) subscriptionState.clean(); + }; + + Subscription.prototype = defineBuiltIns({}, { + unsubscribe: function unsubscribe() { + var subscriptionState = getSubscriptionInternalState(this); + if (!subscriptionState.isClosed()) { + subscriptionState.close(); + subscriptionState.clean(); + } + } + }); + + if (DESCRIPTORS) defineBuiltInAccessor(Subscription.prototype, 'closed', { + configurable: true, + get: function closed() { + return getSubscriptionInternalState(this).isClosed(); + } + }); + + var SubscriptionObserver = function (subscriptionState) { + setInternalState(this, { + type: SUBSCRIPTION_OBSERVER, + subscriptionState: subscriptionState + }); + if (!DESCRIPTORS) this.closed = false; + }; + + SubscriptionObserver.prototype = defineBuiltIns({}, { + next: function next(value) { + var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState; + if (!subscriptionState.isClosed()) { + var observer = subscriptionState.observer; + try { + var nextMethod = getMethod(observer, 'next'); + if (nextMethod) call(nextMethod, observer, value); + } catch (error) { + hostReportErrors(error); + } + } + }, + error: function error(value) { + var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState; + if (!subscriptionState.isClosed()) { + var observer = subscriptionState.observer; + subscriptionState.close(); + try { + var errorMethod = getMethod(observer, 'error'); + if (errorMethod) call(errorMethod, observer, value); + else hostReportErrors(value); + } catch (err) { + hostReportErrors(err); + } subscriptionState.clean(); + } + }, + complete: function complete() { + var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState; + if (!subscriptionState.isClosed()) { + var observer = subscriptionState.observer; + subscriptionState.close(); + try { + var completeMethod = getMethod(observer, 'complete'); + if (completeMethod) call(completeMethod, observer); + } catch (error) { + hostReportErrors(error); + } subscriptionState.clean(); + } + } + }); + + if (DESCRIPTORS) defineBuiltInAccessor(SubscriptionObserver.prototype, 'closed', { + configurable: true, + get: function closed() { + return getSubscriptionObserverInternalState(this).subscriptionState.isClosed(); + } + }); + + var $Observable = function Observable(subscriber) { + anInstance(this, ObservablePrototype); + setInternalState(this, { + type: OBSERVABLE, + subscriber: aCallable(subscriber) + }); + }; + + var ObservablePrototype = $Observable.prototype; + + defineBuiltIns(ObservablePrototype, { + subscribe: function subscribe(observer) { + var length = arguments.length; + return new Subscription(isCallable(observer) ? { + next: observer, + error: length > 1 ? arguments[1] : undefined, + complete: length > 2 ? arguments[2] : undefined + } : isObject(observer) ? observer : {}, getObservableInternalState(this).subscriber); + } + }); + + defineBuiltIn(ObservablePrototype, $$OBSERVABLE, function () { return this; }); + + $({ global: true, constructor: true, forced: true }, { + Observable: $Observable + }); + + setSpecies(OBSERVABLE); + + + /***/ }), /* 350 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - - // https://github.com/tc39/collection-methods - module.exports = function (/* ...elements */) { - var collection = anObject(this); - var remover = aFunction(collection['delete']); - var allDeleted = true; - for (var k = 0, len = arguments.length; k < len; k++) { - allDeleted = allDeleted && remover.call(collection, arguments[k]); - } - return !!allDeleted; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var getBuiltIn = __webpack_require__(22); + var call = __webpack_require__(7); + var anObject = __webpack_require__(45); + var isConstructor = __webpack_require__(143); + var getIterator = __webpack_require__(96); + var getMethod = __webpack_require__(28); + var iterate = __webpack_require__(91); + var wellKnownSymbol = __webpack_require__(32); + + var $$OBSERVABLE = wellKnownSymbol('observable'); + + // `Observable.from` method + // https://github.com/tc39/proposal-observable + $({ target: 'Observable', stat: true, forced: true }, { + from: function from(x) { + var C = isConstructor(this) ? this : getBuiltIn('Observable'); + var observableMethod = getMethod(anObject(x), $$OBSERVABLE); + if (observableMethod) { + var observable = anObject(call(observableMethod, x)); + return observable.constructor === C ? observable : new C(function (observer) { + return observable.subscribe(observer); + }); + } + var iterator = getIterator(x); + return new C(function (observer) { + iterate(iterator, function (it, stop) { + observer.next(it); + if (observer.closed) return stop(); + }, { IS_ITERATOR: true, INTERRUPTED: true }); + observer.complete(); + }); + } + }); + + + /***/ }), /* 351 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var bind = __webpack_require__(78); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.every` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - every: function every(callbackfn /* , thisArg */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var step, entry; - while (!(step = iterator.next()).done) { - entry = step.value; - if (!boundFunction(entry[1], entry[0], map)) return false; - } return true; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var getBuiltIn = __webpack_require__(22); + var isConstructor = __webpack_require__(143); + + var Array = getBuiltIn('Array'); + + // `Observable.of` method + // https://github.com/tc39/proposal-observable + $({ target: 'Observable', stat: true, forced: true }, { + of: function of() { + var C = isConstructor(this) ? this : getBuiltIn('Observable'); + var length = arguments.length; + var items = Array(length); + var index = 0; + while (index < length) items[index] = arguments[index++]; + return new C(function (observer) { + for (var i = 0; i < length; i++) { + observer.next(items[i]); + if (observer.closed) return; + } observer.complete(); + }); + } + }); + + + /***/ }), /* 352 */ - /***/ (function (module, exports, __webpack_require__) { - - var IS_PURE = __webpack_require__(6); - var getIterator = __webpack_require__(353); - - module.exports = IS_PURE ? getIterator : function (it) { - // eslint-disable-next-line no-undef - return Map.prototype.entries.call(it); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var newPromiseCapabilityModule = __webpack_require__(157); + var perform = __webpack_require__(154); + + // `Promise.try` method + // https://github.com/tc39/proposal-promise-try + $({ target: 'Promise', stat: true, forced: true }, { + 'try': function (callbackfn) { + var promiseCapability = newPromiseCapabilityModule.f(this); + var result = perform(callbackfn); + (result.error ? promiseCapability.reject : promiseCapability.resolve)(result.value); + return promiseCapability.promise; + } + }); + + + /***/ }), /* 353 */ - /***/ (function (module, exports, __webpack_require__) { - - var anObject = __webpack_require__(21); - var getIteratorMethod = __webpack_require__(97); - - module.exports = function (it) { - var iteratorMethod = getIteratorMethod(it); - if (typeof iteratorMethod != 'function') { - throw TypeError(String(it) + ' is not iterable'); - } return anObject(iteratorMethod.call(it)); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + + var toMetadataKey = ReflectMetadataModule.toKey; + var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; + + // `Reflect.defineMetadata` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + defineMetadata: function defineMetadata(metadataKey, metadataValue, target /* , targetKey */) { + var targetKey = arguments.length < 4 ? undefined : toMetadataKey(arguments[3]); + ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), targetKey); + } + }); + + + /***/ }), /* 354 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var bind = __webpack_require__(78); - var speciesConstructor = __webpack_require__(136); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.filter` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - filter: function filter(callbackfn /* , thisArg */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var newMap = new (speciesConstructor(map, getBuiltIn('Map')))(); - var setter = aFunction(newMap.set); - var step, entry, key, value; - while (!(step = iterator.next()).done) { - entry = step.value; - if (boundFunction(value = entry[1], key = entry[0], map)) setter.call(newMap, key, value); - } - return newMap; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` + __webpack_require__(252); + __webpack_require__(262); + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + var shared = __webpack_require__(33); + + var Map = getBuiltIn('Map'); + var WeakMap = getBuiltIn('WeakMap'); + var push = uncurryThis([].push); + + var metadata = shared('metadata'); + var store = metadata.store || (metadata.store = new WeakMap()); + + var getOrCreateMetadataMap = function (target, targetKey, create) { + var targetMetadata = store.get(target); + if (!targetMetadata) { + if (!create) return; + store.set(target, targetMetadata = new Map()); + } + var keyMetadata = targetMetadata.get(targetKey); + if (!keyMetadata) { + if (!create) return; + targetMetadata.set(targetKey, keyMetadata = new Map()); + } return keyMetadata; + }; + + var ordinaryHasOwnMetadata = function (MetadataKey, O, P) { + var metadataMap = getOrCreateMetadataMap(O, P, false); + return metadataMap === undefined ? false : metadataMap.has(MetadataKey); + }; + + var ordinaryGetOwnMetadata = function (MetadataKey, O, P) { + var metadataMap = getOrCreateMetadataMap(O, P, false); + return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey); + }; + + var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) { + getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue); + }; + + var ordinaryOwnMetadataKeys = function (target, targetKey) { + var metadataMap = getOrCreateMetadataMap(target, targetKey, false); + var keys = []; + if (metadataMap) metadataMap.forEach(function (_, key) { push(keys, key); }); + return keys; + }; + + var toMetadataKey = function (it) { + return it === undefined || typeof it == 'symbol' ? it : String(it); + }; + + module.exports = { + store: store, + getMap: getOrCreateMetadataMap, + has: ordinaryHasOwnMetadata, + get: ordinaryGetOwnMetadata, + set: ordinaryDefineOwnMetadata, + keys: ordinaryOwnMetadataKeys, + toKey: toMetadataKey + }; + + + /***/ }), /* 355 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var bind = __webpack_require__(78); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.find` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - find: function find(callbackfn /* , thisArg */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var step, entry, value; - while (!(step = iterator.next()).done) { - entry = step.value; - if (boundFunction(value = entry[1], entry[0], map)) return value; - } - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + + var toMetadataKey = ReflectMetadataModule.toKey; + var getOrCreateMetadataMap = ReflectMetadataModule.getMap; + var store = ReflectMetadataModule.store; + + // `Reflect.deleteMetadata` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); + var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); + if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; + if (metadataMap.size) return true; + var targetMetadata = store.get(target); + targetMetadata['delete'](targetKey); + return !!targetMetadata.size || store['delete'](target); + } + }); + + + /***/ }), /* 356 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var bind = __webpack_require__(78); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.findKey` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - findKey: function findKey(callbackfn /* , thisArg */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var step, entry, key; - while (!(step = iterator.next()).done) { - entry = step.value; - if (boundFunction(entry[1], key = entry[0], map)) return key; - } - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + var getPrototypeOf = __webpack_require__(85); + + var ordinaryHasOwnMetadata = ReflectMetadataModule.has; + var ordinaryGetOwnMetadata = ReflectMetadataModule.get; + var toMetadataKey = ReflectMetadataModule.toKey; + + var ordinaryGetMetadata = function (MetadataKey, O, P) { + var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); + if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P); + var parent = getPrototypeOf(O); + return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined; + }; + + // `Reflect.getMetadata` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + getMetadata: function getMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); + return ordinaryGetMetadata(metadataKey, anObject(target), targetKey); + } + }); + + + /***/ }), /* 357 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Map.from` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-map.from - __webpack_require__(7)({ target: 'Map', stat: true }, { - from: __webpack_require__(358) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + var getPrototypeOf = __webpack_require__(85); + var $arrayUniqueBy = __webpack_require__(219); + + var arrayUniqueBy = uncurryThis($arrayUniqueBy); + var concat = uncurryThis([].concat); + var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys; + var toMetadataKey = ReflectMetadataModule.toKey; + + var ordinaryMetadataKeys = function (O, P) { + var oKeys = ordinaryOwnMetadataKeys(O, P); + var parent = getPrototypeOf(O); + if (parent === null) return oKeys; + var pKeys = ordinaryMetadataKeys(parent, P); + return pKeys.length ? oKeys.length ? arrayUniqueBy(concat(oKeys, pKeys)) : pKeys : oKeys; + }; + + // `Reflect.getMetadataKeys` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + getMetadataKeys: function getMetadataKeys(target /* , targetKey */) { + var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]); + return ordinaryMetadataKeys(anObject(target), targetKey); + } + }); + + + /***/ }), /* 358 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // https://tc39.github.io/proposal-setmap-offrom/ - var aFunction = __webpack_require__(79); - var bind = __webpack_require__(78); - var iterate = __webpack_require__(154); - - module.exports = function from(source /* , mapFn, thisArg */) { - var mapFn = arguments[1]; - var mapping, A, n, boundFunction; - aFunction(this); - mapping = mapFn !== undefined; - if (mapping) aFunction(mapFn); - if (source == undefined) return new this(); - A = []; - if (mapping) { - n = 0; - boundFunction = bind(mapFn, arguments[2], 2); - iterate(source, function (nextItem) { - A.push(boundFunction(nextItem, n++)); - }); - } else { - iterate(source, A.push, A); - } - return new this(A); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + + var ordinaryGetOwnMetadata = ReflectMetadataModule.get; + var toMetadataKey = ReflectMetadataModule.toKey; + + // `Reflect.getOwnMetadata` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); + return ordinaryGetOwnMetadata(metadataKey, anObject(target), targetKey); + } + }); + + + /***/ }), /* 359 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var iterate = __webpack_require__(154); - var aFunction = __webpack_require__(79); - - // `Map.groupBy` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', stat: true, forced: __webpack_require__(6) }, { - groupBy: function groupBy(iterable, keyDerivative) { - var newMap = new this(); - aFunction(keyDerivative); - var has = aFunction(newMap.has); - var get = aFunction(newMap.get); - var set = aFunction(newMap.set); - iterate(iterable, function (element) { - var derivedKey = keyDerivative(element); - if (!has.call(newMap, derivedKey)) set.call(newMap, derivedKey, [element]); - else get.call(newMap, derivedKey).push(element); - }); - return newMap; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + + var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys; + var toMetadataKey = ReflectMetadataModule.toKey; + + // `Reflect.getOwnMetadataKeys` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) { + var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]); + return ordinaryOwnMetadataKeys(anObject(target), targetKey); + } + }); + + + /***/ }), /* 360 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var getMapIterator = __webpack_require__(352); - var sameValueZero = __webpack_require__(361); - - // `Map.prototype.includes` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - includes: function includes(searchElement) { - var map = anObject(this); - var iterator = getMapIterator(map); - var step; - while (!(step = iterator.next()).done) { - if (sameValueZero(step.value[1], searchElement)) return true; - } - return false; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + var getPrototypeOf = __webpack_require__(85); + + var ordinaryHasOwnMetadata = ReflectMetadataModule.has; + var toMetadataKey = ReflectMetadataModule.toKey; + + var ordinaryHasMetadata = function (MetadataKey, O, P) { + var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); + if (hasOwn) return true; + var parent = getPrototypeOf(O); + return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false; + }; + + // `Reflect.hasMetadata` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); + return ordinaryHasMetadata(metadataKey, anObject(target), targetKey); + } + }); + + + /***/ }), /* 361 */ - /***/ (function (module, exports) { - - // `SameValueZero` abstract operation - // https://tc39.github.io/ecma262/#sec-samevaluezero - module.exports = function (x, y) { - // eslint-disable-next-line no-self-compare - return x === y || x != x && y != y; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + + var ordinaryHasOwnMetadata = ReflectMetadataModule.has; + var toMetadataKey = ReflectMetadataModule.toKey; + + // `Reflect.hasOwnMetadata` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) { + var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); + return ordinaryHasOwnMetadata(metadataKey, anObject(target), targetKey); + } + }); + + + /***/ }), /* 362 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var iterate = __webpack_require__(154); - var aFunction = __webpack_require__(79); - - // `Map.keyBy` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', stat: true, forced: __webpack_require__(6) }, { - keyBy: function keyBy(iterable, keyDerivative) { - var newMap = new this(); - aFunction(keyDerivative); - var setter = aFunction(newMap.set); - iterate(iterable, function (element) { - setter.call(newMap, keyDerivative(element), element); - }); - return newMap; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var ReflectMetadataModule = __webpack_require__(354); + var anObject = __webpack_require__(45); + + var toMetadataKey = ReflectMetadataModule.toKey; + var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; + + // `Reflect.metadata` method + // https://github.com/rbuckton/reflect-metadata + $({ target: 'Reflect', stat: true }, { + metadata: function metadata(metadataKey, metadataValue) { + return function decorator(target, key) { + ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetadataKey(key)); + }; + } + }); + + + /***/ }), /* 363 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.includes` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - keyOf: function keyOf(searchElement) { - var map = anObject(this); - var iterator = getMapIterator(map); - var step, entry; - while (!(step = iterator.next()).done) { - entry = step.value; - if (entry[1] === searchElement) return entry[0]; - } - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var toString = __webpack_require__(76); + var WHITESPACES = __webpack_require__(364); + + var charCodeAt = uncurryThis(''.charCodeAt); + var replace = uncurryThis(''.replace); + var NEED_ESCAPING = RegExp('[!"#$%&\'()*+,\\-./:;<=>?@[\\\\\\]^`{|}~' + WHITESPACES + ']', 'g'); + + // `RegExp.escape` method + // https://github.com/tc39/proposal-regex-escaping + $({ target: 'RegExp', stat: true, forced: true }, { + escape: function escape(S) { + var str = toString(S); + var firstCode = charCodeAt(str, 0); + // escape first DecimalDigit + return (firstCode > 47 && firstCode < 58 ? '\\x3' : '') + replace(str, NEED_ESCAPING, '\\$&'); + } + }); + + + /***/ }), /* 364 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var bind = __webpack_require__(78); - var speciesConstructor = __webpack_require__(136); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.mapKeys` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - mapKeys: function mapKeys(callbackfn /* , thisArg */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var newMap = new (speciesConstructor(map, getBuiltIn('Map')))(); - var setter = aFunction(newMap.set); - var step, entry, value; - while (!(step = iterator.next()).done) { - entry = step.value; - setter.call(newMap, boundFunction(value = entry[1], entry[0], map), value); - } - return newMap; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // a string of all valid unicode whitespaces + module.exports = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' + + '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF'; + + + /***/ }), /* 365 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var bind = __webpack_require__(78); - var speciesConstructor = __webpack_require__(136); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.mapValues` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - mapValues: function mapValues(callbackfn /* , thisArg */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var newMap = new (speciesConstructor(map, getBuiltIn('Map')))(); - var setter = aFunction(newMap.set); - var step, entry, key; - while (!(step = iterator.next()).done) { - entry = step.value; - setter.call(newMap, key = entry[0], boundFunction(entry[1], key, map)); - } - return newMap; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aSet = __webpack_require__(366); + var add = __webpack_require__(367).add; + + // `Set.prototype.addAll` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + addAll: function addAll(/* ...elements */) { + var set = aSet(this); + for (var k = 0, len = arguments.length; k < len; k++) { + add(set, arguments[k]); + } return set; + } + }); + + + /***/ }), /* 366 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var iterate = __webpack_require__(154); - - // `Map.prototype.merge` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - // eslint-disable-next-line no-unused-vars - merge: function merge(iterable /* ...iterbles */) { - var map = anObject(this); - var setter = aFunction(map.set); - var i = 0; - while (i < arguments.length) { - iterate(arguments[i++], setter, map, true); - } - return map; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var has = __webpack_require__(367).has; + + // Perform ? RequireInternalSlot(M, [[SetData]]) + module.exports = function (it) { + has(it); + return it; + }; + + + /***/ }), /* 367 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Map.of` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-map.of - __webpack_require__(7)({ target: 'Map', stat: true }, { - of: __webpack_require__(368) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + // eslint-disable-next-line es/no-set -- safe + var SetPrototype = Set.prototype; + + module.exports = { + // eslint-disable-next-line es/no-set -- safe + Set: Set, + add: uncurryThis(SetPrototype.add), + has: uncurryThis(SetPrototype.has), + remove: uncurryThis(SetPrototype['delete']), + proto: SetPrototype + }; + + + /***/ }), /* 368 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // https://tc39.github.io/proposal-setmap-offrom/ - module.exports = function of() { - var length = arguments.length; - var A = new Array(length); - while (length--) A[length] = arguments[length]; - return new this(A); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aSet = __webpack_require__(366); + var remove = __webpack_require__(367).remove; + + // `Set.prototype.deleteAll` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + deleteAll: function deleteAll(/* ...elements */) { + var collection = aSet(this); + var allDeleted = true; + var wasDeleted; + for (var k = 0, len = arguments.length; k < len; k++) { + wasDeleted = remove(collection, arguments[k]); + allDeleted = allDeleted && wasDeleted; + } return !!allDeleted; + } + }); + + + /***/ }), /* 369 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var getMapIterator = __webpack_require__(352); - - // `Map.prototype.reduce` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - reduce: function reduce(callbackfn /* , initialValue */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var accumulator, step, entry; - aFunction(callbackfn); - if (arguments.length > 1) accumulator = arguments[1]; - else { - step = iterator.next(); - if (step.done) throw TypeError('Reduce of empty map with no initial value'); - accumulator = step.value[1]; - } - while (!(step = iterator.next()).done) { - entry = step.value; - accumulator = callbackfn(accumulator, entry[1], entry[0], map); - } - return accumulator; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var difference = __webpack_require__(370); + var setMethodAcceptSetLike = __webpack_require__(375); + + // `Set.prototype.difference` method + // https://github.com/tc39/proposal-set-methods + $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('difference') }, { + difference: difference + }); + + + /***/ }), /* 370 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var bind = __webpack_require__(78); - var getMapIterator = __webpack_require__(352); - - // `Set.prototype.some` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - some: function some(callbackfn /* , thisArg */) { - var map = anObject(this); - var iterator = getMapIterator(map); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var step, entry; - while (!(step = iterator.next()).done) { - entry = step.value; - if (boundFunction(entry[1], entry[0], map)) return true; - } return false; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aSet = __webpack_require__(366); + var SetHelpers = __webpack_require__(367); + var clone = __webpack_require__(371); + var size = __webpack_require__(373); + var getSetRecord = __webpack_require__(374); + var iterateSet = __webpack_require__(372); + var iterateSimple = __webpack_require__(221); + + var has = SetHelpers.has; + var remove = SetHelpers.remove; + + // `Set.prototype.difference` method + // https://github.com/tc39/proposal-set-methods + module.exports = function difference(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + var result = clone(O); + if (size(O) <= otherRec.size) iterateSet(O, function (e) { + if (otherRec.includes(e)) remove(result, e); + }); + else iterateSimple(otherRec.getIterator(), function (e) { + if (has(O, e)) remove(result, e); + }); + return result; + }; + + + /***/ }), /* 371 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - - // `Set.prototype.update` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Map', proto: true, real: true, forced: __webpack_require__(6) }, { - update: function update(key, callback /* , thunk */) { - var map = anObject(this); - aFunction(callback); - var isPresentInMap = map.has(key); - if (!isPresentInMap && arguments.length < 3) { - throw TypeError('Updating absent value'); - } - var value = isPresentInMap ? map.get(key) : aFunction(arguments[2])(key, map); - map.set(key, callback(value, key, map)); - return map; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var SetHelpers = __webpack_require__(367); + var iterate = __webpack_require__(372); + + var Set = SetHelpers.Set; + var add = SetHelpers.add; + + module.exports = function (set) { + var result = new Set(); + iterate(set, function (it) { + add(result, it); + }); + return result; + }; + + + /***/ }), /* 372 */ - /***/ (function (module, exports, __webpack_require__) { - - var min = Math.min; - var max = Math.max; - - // `Math.clamp` method - // https://rwaldron.github.io/proposal-math-extensions/ - __webpack_require__(7)({ target: 'Math', stat: true }, { - clamp: function clamp(x, lower, upper) { - return min(upper, max(lower, x)); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var iterateSimple = __webpack_require__(221); + var SetHelpers = __webpack_require__(367); + + var Set = SetHelpers.Set; + var SetPrototype = SetHelpers.proto; + var forEach = uncurryThis(SetPrototype.forEach); + var keys = uncurryThis(SetPrototype.keys); + var next = keys(new Set()).next; + + module.exports = function (set, fn, interruptible) { + return interruptible ? iterateSimple({ iterator: keys(set), next: next }, fn) : forEach(set, fn); + }; + + + /***/ }), /* 373 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.DEG_PER_RAD` constant - // https://rwaldron.github.io/proposal-math-extensions/ - __webpack_require__(7)({ target: 'Math', stat: true }, { DEG_PER_RAD: Math.PI / 180 }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThisAccessor = __webpack_require__(70); + var SetHelpers = __webpack_require__(367); + + module.exports = uncurryThisAccessor(SetHelpers.proto, 'size', 'get') || function (set) { + return set.size; + }; + + + /***/ }), /* 374 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.degrees` method - // https://rwaldron.github.io/proposal-math-extensions/ - var RAD_PER_DEG = 180 / Math.PI; - - __webpack_require__(7)({ target: 'Math', stat: true }, { - degrees: function degrees(radians) { - return radians * RAD_PER_DEG; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aCallable = __webpack_require__(29); + var anObject = __webpack_require__(45); + var call = __webpack_require__(7); + var toIntegerOrInfinity = __webpack_require__(60); + var getIteratorDirect = __webpack_require__(201); + + var INVALID_SIZE = 'Invalid size'; + var $RangeError = RangeError; + var $TypeError = TypeError; + var max = Math.max; + + var SetRecord = function (set, intSize) { + this.set = set; + this.size = max(intSize, 0); + this.has = aCallable(set.has); + this.keys = aCallable(set.keys); + }; + + SetRecord.prototype = { + getIterator: function () { + return getIteratorDirect(anObject(call(this.keys, this.set))); + }, + includes: function (it) { + return call(this.has, this.set, it); + } + }; + + // `GetSetRecord` abstract operation + // https://tc39.es/proposal-set-methods/#sec-getsetrecord + module.exports = function (obj) { + anObject(obj); + var numSize = +obj.size; + // NOTE: If size is undefined, then numSize will be NaN + // eslint-disable-next-line no-self-compare -- NaN check + if (numSize !== numSize) throw new $TypeError(INVALID_SIZE); + var intSize = toIntegerOrInfinity(numSize); + if (intSize < 0) throw new $RangeError(INVALID_SIZE); + return new SetRecord(obj, intSize); + }; + + + /***/ }), /* 375 */ - /***/ (function (module, exports, __webpack_require__) { - - var scale = __webpack_require__(376); - var fround = __webpack_require__(168); - - // `Math.fscale` method - // https://rwaldron.github.io/proposal-math-extensions/ - __webpack_require__(7)({ target: 'Math', stat: true }, { - fscale: function fscale(x, inLow, inHigh, outLow, outHigh) { - return fround(scale(x, inLow, inHigh, outLow, outHigh)); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + + var createSetLike = function (size) { + return { + size: size, + has: function () { + return false; + }, + keys: function () { + return { + next: function () { + return { done: true }; + } + }; + } + }; + }; + + module.exports = function (name) { + var Set = getBuiltIn('Set'); + try { + new Set()[name](createSetLike(0)); + try { + // late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it + // https://github.com/tc39/proposal-set-methods/pull/88 + new Set()[name](createSetLike(-1)); + return false; + } catch (error2) { + return true; + } + } catch (error) { + return false; + } + }; + + + /***/ }), /* 376 */ - /***/ (function (module, exports) { - - // `Math.scale` method implementation - // https://rwaldron.github.io/proposal-math-extensions/ - module.exports = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) { - if ( - arguments.length === 0 - /* eslint-disable no-self-compare */ - || x != x - || inLow != inLow - || inHigh != inHigh - || outLow != outLow - || outHigh != outHigh - /* eslint-enable no-self-compare */ - ) return NaN; - if (x === Infinity || x === -Infinity) return x; - return (x - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toSetLike = __webpack_require__(377); + var $difference = __webpack_require__(370); + + // `Set.prototype.difference` method + // https://github.com/tc39/proposal-set-methods + // TODO: Obsolete version, remove from `core-js@4` + $({ target: 'Set', proto: true, real: true, forced: true }, { + difference: function difference(other) { + return call($difference, this, toSetLike(other)); + } + }); + + + /***/ }), /* 377 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.iaddh` method - // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 - __webpack_require__(7)({ target: 'Math', stat: true }, { - iaddh: function iaddh(x0, x1, y0, y1) { - var $x0 = x0 >>> 0; - var $x1 = x1 >>> 0; - var $y0 = y0 >>> 0; - return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + var isCallable = __webpack_require__(20); + var isIterable = __webpack_require__(378); + var isObject = __webpack_require__(19); + + var Set = getBuiltIn('Set'); + + var isSetLike = function (it) { + return isObject(it) + && typeof it.size == 'number' + && isCallable(it.has) + && isCallable(it.keys); + }; + + // fallback old -> new set methods proposal arguments + module.exports = function (it) { + if (isSetLike(it)) return it; + return isIterable(it) ? new Set(it) : it; + }; + + + /***/ }), /* 378 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.imulh` method - // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 - __webpack_require__(7)({ target: 'Math', stat: true }, { - imulh: function imulh(u, v) { - var UINT16 = 0xffff; - var $u = +u; - var $v = +v; - var u0 = $u & UINT16; - var v0 = $v & UINT16; - var u1 = $u >> 16; - var v1 = $v >> 16; - var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); - return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classof = __webpack_require__(77); + var hasOwn = __webpack_require__(37); + var isNullOrUndefined = __webpack_require__(16); + var wellKnownSymbol = __webpack_require__(32); + var Iterators = __webpack_require__(95); + + var ITERATOR = wellKnownSymbol('iterator'); + var $Object = Object; + + module.exports = function (it) { + if (isNullOrUndefined(it)) return false; + var O = $Object(it); + return O[ITERATOR] !== undefined + || '@@iterator' in O + || hasOwn(Iterators, classof(O)); + }; + + + /***/ }), /* 379 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.isubh` method - // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 - __webpack_require__(7)({ target: 'Math', stat: true }, { - isubh: function isubh(x0, x1, y0, y1) { - var $x0 = x0 >>> 0; - var $x1 = x1 >>> 0; - var $y0 = y0 >>> 0; - return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aSet = __webpack_require__(366); + var iterate = __webpack_require__(372); + + // `Set.prototype.every` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + every: function every(callbackfn /* , thisArg */) { + var set = aSet(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate(set, function (value) { + if (!boundFunction(value, value, set)) return false; + }, true) !== false; + } + }); + + + /***/ }), /* 380 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.RAD_PER_DEG` constant - // https://rwaldron.github.io/proposal-math-extensions/ - __webpack_require__(7)({ target: 'Math', stat: true }, { RAD_PER_DEG: 180 / Math.PI }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aSet = __webpack_require__(366); + var SetHelpers = __webpack_require__(367); + var iterate = __webpack_require__(372); + + var Set = SetHelpers.Set; + var add = SetHelpers.add; + + // `Set.prototype.filter` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + filter: function filter(callbackfn /* , thisArg */) { + var set = aSet(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newSet = new Set(); + iterate(set, function (value) { + if (boundFunction(value, value, set)) add(newSet, value); + }); + return newSet; + } + }); + + + /***/ }), /* 381 */ - /***/ (function (module, exports, __webpack_require__) { - - var DEG_PER_RAD = Math.PI / 180; - - // `Math.radians` method - // https://rwaldron.github.io/proposal-math-extensions/ - __webpack_require__(7)({ target: 'Math', stat: true }, { - radians: function radians(degrees) { - return degrees * DEG_PER_RAD; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aSet = __webpack_require__(366); + var iterate = __webpack_require__(372); + + // `Set.prototype.find` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + find: function find(callbackfn /* , thisArg */) { + var set = aSet(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var result = iterate(set, function (value) { + if (boundFunction(value, value, set)) return { value: value }; + }, true); + return result && result.value; + } + }); + + + /***/ }), /* 382 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.scale` method - // https://rwaldron.github.io/proposal-math-extensions/ - __webpack_require__(7)({ target: 'Math', stat: true }, { scale: __webpack_require__(376) }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var SetHelpers = __webpack_require__(367); + var createCollectionFrom = __webpack_require__(322); + + // `Set.from` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-set.from + $({ target: 'Set', stat: true, forced: true }, { + from: createCollectionFrom(SetHelpers.Set, SetHelpers.add, false) + }); + + + /***/ }), /* 383 */ - /***/ (function (module, exports, __webpack_require__) { - - var anObject = __webpack_require__(21); - var numberIsFinite = __webpack_require__(184); - var createIteratorConstructor = __webpack_require__(104); - var SEEDED_RANDOM = 'Seeded Random'; - var SEEDED_RANDOM_GENERATOR = SEEDED_RANDOM + ' Generator'; - var InternalStateModule = __webpack_require__(26); - var setInternalState = InternalStateModule.set; - var getInternalState = InternalStateModule.getterFor(SEEDED_RANDOM_GENERATOR); - var SEED_TYPE_ERROR = 'Math.seededPRNG() argument should have a "seed" field with a finite value.'; - - var $SeededRandomGenerator = createIteratorConstructor(function SeededRandomGenerator(seed) { - setInternalState(this, { - type: SEEDED_RANDOM_GENERATOR, - seed: seed % 2147483647 - }); - }, SEEDED_RANDOM, function next() { - var state = getInternalState(this); - var seed = state.seed = (state.seed * 1103515245 + 12345) % 2147483647; - return { value: (seed & 1073741823) / 1073741823, done: false }; - }); - - // `Math.seededPRNG` method - // https://github.com/tc39/proposal-seeded-random - // based on https://github.com/tc39/proposal-seeded-random/blob/78b8258835b57fc2100d076151ab506bc3202ae6/demo.html - __webpack_require__(7)({ target: 'Math', stat: true, forced: true }, { - seededPRNG: function seededPRNG(it) { - var seed = anObject(it).seed; - if (!numberIsFinite(seed)) throw TypeError(SEED_TYPE_ERROR); - return new $SeededRandomGenerator(seed); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var fails = __webpack_require__(6); + var intersection = __webpack_require__(384); + var setMethodAcceptSetLike = __webpack_require__(375); + + var INCORRECT = !setMethodAcceptSetLike('intersection') || fails(function () { + // eslint-disable-next-line es/no-array-from, es/no-set -- testing + return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2'; + }); + + // `Set.prototype.intersection` method + // https://github.com/tc39/proposal-set-methods + $({ target: 'Set', proto: true, real: true, forced: INCORRECT }, { + intersection: intersection + }); + + + /***/ }), /* 384 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.signbit` method - // https://github.com/tc39/proposal-Math.signbit - __webpack_require__(7)({ target: 'Math', stat: true }, { - signbit: function signbit(x) { - // eslint-disable-next-line no-self-compare - return (x = +x) != x ? x : x == 0 ? 1 / x == Infinity : x > 0; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aSet = __webpack_require__(366); + var SetHelpers = __webpack_require__(367); + var size = __webpack_require__(373); + var getSetRecord = __webpack_require__(374); + var iterateSet = __webpack_require__(372); + var iterateSimple = __webpack_require__(221); + + var Set = SetHelpers.Set; + var add = SetHelpers.add; + var has = SetHelpers.has; + + // `Set.prototype.intersection` method + // https://github.com/tc39/proposal-set-methods + module.exports = function intersection(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + var result = new Set(); + + if (size(O) > otherRec.size) { + iterateSimple(otherRec.getIterator(), function (e) { + if (has(O, e)) add(result, e); + }); + } else { + iterateSet(O, function (e) { + if (otherRec.includes(e)) add(result, e); + }); + } + + return result; + }; + + + /***/ }), /* 385 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Math.umulh` method - // https://gist.github.com/BrendanEich/4294d5c212a6d2254703 - __webpack_require__(7)({ target: 'Math', stat: true }, { - umulh: function umulh(u, v) { - var UINT16 = 0xffff; - var $u = +u; - var $v = +v; - var u0 = $u & UINT16; - var v0 = $v & UINT16; - var u1 = $u >>> 16; - var v1 = $v >>> 16; - var t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16); - return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toSetLike = __webpack_require__(377); + var $intersection = __webpack_require__(384); + + // `Set.prototype.intersection` method + // https://github.com/tc39/proposal-set-methods + // TODO: Obsolete version, remove from `core-js@4` + $({ target: 'Set', proto: true, real: true, forced: true }, { + intersection: function intersection(other) { + return call($intersection, this, toSetLike(other)); + } + }); + + + /***/ }), /* 386 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var toInteger = __webpack_require__(37); - var parseInt = __webpack_require__(194); - var INVALID_NUMBER_REPRESENTATION = 'Invalid number representation'; - var INVALID_RADIX = 'Invalid radix'; - var valid = /^[0-9a-z]+$/; - - // `Number.fromString` method - // https://github.com/tc39/proposal-number-fromstring - __webpack_require__(7)({ target: 'Number', stat: true }, { - fromString: function fromString(string, radix) { - var sign = 1; - var R, mathNum; - if (typeof string != 'string') throw TypeError(INVALID_NUMBER_REPRESENTATION); - if (!string.length) throw SyntaxError(INVALID_NUMBER_REPRESENTATION); - if (string.charAt(0) == '-') { - sign = -1; - string = string.slice(1); - if (!string.length) throw SyntaxError(INVALID_NUMBER_REPRESENTATION); - } - R = radix === undefined ? 10 : toInteger(radix); - if (R < 2 || R > 36) throw RangeError(INVALID_RADIX); - if (!valid.test(string) || (mathNum = parseInt(string, R)).toString(R) !== string) { - throw SyntaxError(INVALID_NUMBER_REPRESENTATION); - } - return sign * mathNum; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isDisjointFrom = __webpack_require__(387); + var setMethodAcceptSetLike = __webpack_require__(375); + + // `Set.prototype.isDisjointFrom` method + // https://github.com/tc39/proposal-set-methods + $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isDisjointFrom') }, { + isDisjointFrom: isDisjointFrom + }); + + + /***/ }), /* 387 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // https://github.com/tc39/proposal-observable - var aFunction = __webpack_require__(79); - var anObject = __webpack_require__(21); - var isObject = __webpack_require__(16); - var anInstance = __webpack_require__(132); - var redefineAll = __webpack_require__(131); - var hide = __webpack_require__(19); - var getIterator = __webpack_require__(353); - var iterate = __webpack_require__(154); - var hostReportErrors = __webpack_require__(237); - var defineProperty = __webpack_require__(20).f; - var InternalStateModule = __webpack_require__(26); - var getInternalState = InternalStateModule.get; - var setInternalState = InternalStateModule.set; - var DESCRIPTORS = __webpack_require__(4); - var OBSERVABLE = __webpack_require__(43)('observable'); - var BREAK = iterate.BREAK; - - var getMethod = function (fn) { - return fn == null ? undefined : aFunction(fn); - }; - - var cleanupSubscription = function (subscriptionState) { - var cleanup = subscriptionState.cleanup; - if (cleanup) { - subscriptionState.cleanup = undefined; - try { - cleanup(); - } catch (e) { - hostReportErrors(e); - } - } - }; - - var subscriptionClosed = function (subscriptionState) { - return subscriptionState.observer === undefined; - }; - - var close = function (subscription, subscriptionState) { - if (!DESCRIPTORS) { - subscription.closed = true; - var subscriptionObserver = subscriptionState.subscriptionObserver; - if (subscriptionObserver) subscriptionObserver.closed = true; - } subscriptionState.observer = undefined; - }; - - var Subscription = function (observer, subscriber) { - var subscriptionState = setInternalState(this, { - cleanup: undefined, - observer: anObject(observer), - subscriptionObserver: undefined - }); - var start; - if (!DESCRIPTORS) this.closed = false; - try { - if (start = getMethod(observer.start)) start.call(observer, this); - } catch (e) { - hostReportErrors(e); - } - if (subscriptionClosed(subscriptionState)) return; - var subscriptionObserver = subscriptionState.subscriptionObserver = new SubscriptionObserver(this); - try { - var cleanup = subscriber(subscriptionObserver); - var subscription = cleanup; - if (cleanup != null) subscriptionState.cleanup = typeof cleanup.unsubscribe === 'function' - ? function () { subscription.unsubscribe(); } - : aFunction(cleanup); - } catch (e) { - subscriptionObserver.error(e); - return; - } if (subscriptionClosed(subscriptionState)) cleanupSubscription(subscriptionState); - }; - - Subscription.prototype = redefineAll({}, { - unsubscribe: function unsubscribe() { - var subscriptionState = getInternalState(this); - if (!subscriptionClosed(subscriptionState)) { - close(this, subscriptionState); - cleanupSubscription(subscriptionState); - } - } - }); - - if (DESCRIPTORS) defineProperty(Subscription.prototype, 'closed', { - configurable: true, - get: function () { - return subscriptionClosed(getInternalState(this)); - } - }); - - var SubscriptionObserver = function (subscription) { - setInternalState(this, { subscription: subscription }); - if (!DESCRIPTORS) this.closed = false; - }; - - SubscriptionObserver.prototype = redefineAll({}, { - next: function next(value) { - var subscriptionState = getInternalState(getInternalState(this).subscription); - if (!subscriptionClosed(subscriptionState)) { - var observer = subscriptionState.observer; - try { - var m = getMethod(observer.next); - if (m) m.call(observer, value); - } catch (e) { - hostReportErrors(e); - } - } - }, - error: function error(value) { - var subscription = getInternalState(this).subscription; - var subscriptionState = getInternalState(subscription); - if (!subscriptionClosed(subscriptionState)) { - var observer = subscriptionState.observer; - close(subscription, subscriptionState); - try { - var m = getMethod(observer.error); - if (m) m.call(observer, value); - else hostReportErrors(value); - } catch (e) { - hostReportErrors(e); - } cleanupSubscription(subscriptionState); - } - }, - complete: function complete() { - var subscription = getInternalState(this).subscription; - var subscriptionState = getInternalState(subscription); - if (!subscriptionClosed(subscriptionState)) { - var observer = subscriptionState.observer; - close(subscription, subscriptionState); - try { - var m = getMethod(observer.complete); - if (m) m.call(observer); - } catch (e) { - hostReportErrors(e); - } cleanupSubscription(subscriptionState); - } - } - }); - - if (DESCRIPTORS) defineProperty(SubscriptionObserver.prototype, 'closed', { - configurable: true, - get: function () { - return subscriptionClosed(getInternalState(getInternalState(this).subscription)); - } - }); - - var $Observable = function Observable(subscriber) { - anInstance(this, $Observable, 'Observable'); - setInternalState(this, { subscriber: aFunction(subscriber) }); - }; - - redefineAll($Observable.prototype, { - subscribe: function subscribe(observer) { - var argumentsLength = arguments.length; - return new Subscription(typeof observer === 'function' ? { - next: observer, - error: argumentsLength > 1 ? arguments[1] : undefined, - complete: argumentsLength > 2 ? arguments[2] : undefined - } : isObject(observer) ? observer : {}, getInternalState(this).subscriber); - } - }); - - redefineAll($Observable, { - from: function from(x) { - var C = typeof this === 'function' ? this : $Observable; - var method = getMethod(anObject(x)[OBSERVABLE]); - if (method) { - var observable = anObject(method.call(x)); - return observable.constructor === C ? observable : new C(function (observer) { - return observable.subscribe(observer); - }); - } - var iterator = getIterator(x); - return new C(function (observer) { - iterate(iterator, function (it) { - observer.next(it); - if (observer.closed) return BREAK; - }, undefined, false, true); - observer.complete(); - }); - }, - of: function of() { - for (var i = 0, argumentsLength = arguments.length, items = new Array(argumentsLength); i < argumentsLength;) { - items[i] = arguments[i++]; - } - return new (typeof this === 'function' ? this : $Observable)(function (observer) { - for (var j = 0; j < items.length; ++j) { - observer.next(items[j]); - if (observer.closed) return; - } observer.complete(); - }); - } - }); - - hide($Observable.prototype, OBSERVABLE, function () { return this; }); - - __webpack_require__(7)({ global: true }, { Observable: $Observable }); - - __webpack_require__(123)('Observable'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aSet = __webpack_require__(366); + var has = __webpack_require__(367).has; + var size = __webpack_require__(373); + var getSetRecord = __webpack_require__(374); + var iterateSet = __webpack_require__(372); + var iterateSimple = __webpack_require__(221); + var iteratorClose = __webpack_require__(98); + + // `Set.prototype.isDisjointFrom` method + // https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom + module.exports = function isDisjointFrom(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + if (size(O) <= otherRec.size) return iterateSet(O, function (e) { + if (otherRec.includes(e)) return false; + }, true) !== false; + var iterator = otherRec.getIterator(); + return iterateSimple(iterator, function (e) { + if (has(O, e)) return iteratorClose(iterator, 'normal', false); + }) !== false; + }; + + + /***/ }), /* 388 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // `Promise.allSettled` method - // https://github.com/tc39/proposal-promise-allSettled - var newPromiseCapabilityModule = __webpack_require__(236); - var perform = __webpack_require__(238); - var iterate = __webpack_require__(154); - - __webpack_require__(7)({ target: 'Promise', stat: true }, { - allSettled: function allSettled(iterable) { - var C = this; - var capability = newPromiseCapabilityModule.f(C); - var resolve = capability.resolve; - var reject = capability.reject; - var result = perform(function () { - var values = []; - var counter = 0; - var remaining = 1; - iterate(iterable, function (promise) { - var index = counter++; - var alreadyCalled = false; - values.push(undefined); - remaining++; - C.resolve(promise).then(function (value) { - if (alreadyCalled) return; - alreadyCalled = true; - values[index] = { status: 'fulfilled', value: value }; - --remaining || resolve(values); - }, function (e) { - if (alreadyCalled) return; - alreadyCalled = true; - values[index] = { status: 'rejected', reason: e }; - --remaining || resolve(values); - }); - }); - --remaining || resolve(values); - }); - if (result.e) reject(result.v); - return capability.promise; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toSetLike = __webpack_require__(377); + var $isDisjointFrom = __webpack_require__(387); + + // `Set.prototype.isDisjointFrom` method + // https://github.com/tc39/proposal-set-methods + // TODO: Obsolete version, remove from `core-js@4` + $({ target: 'Set', proto: true, real: true, forced: true }, { + isDisjointFrom: function isDisjointFrom(other) { + return call($isDisjointFrom, this, toSetLike(other)); + } + }); + + + /***/ }), /* 389 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // `Promise.any` method - // https://github.com/tc39/proposal-promise-any - var getBuiltIn = __webpack_require__(124); - var newPromiseCapabilityModule = __webpack_require__(236); - var perform = __webpack_require__(238); - var iterate = __webpack_require__(154); - var PROMISE_ANY_ERROR = 'No one promise resolved'; - - __webpack_require__(7)({ target: 'Promise', stat: true }, { - any: function any(iterable) { - var C = this; - var capability = newPromiseCapabilityModule.f(C); - var resolve = capability.resolve; - var reject = capability.reject; - var result = perform(function () { - var errors = []; - var counter = 0; - var remaining = 1; - var alreadyResolved = false; - iterate(iterable, function (promise) { - var index = counter++; - var alreadyRejected = false; - errors.push(undefined); - remaining++; - C.resolve(promise).then(function (value) { - if (alreadyRejected || alreadyResolved) return; - alreadyResolved = true; - resolve(value); - }, function (e) { - if (alreadyRejected || alreadyResolved) return; - alreadyRejected = true; - errors[index] = e; - --remaining || reject(new (getBuiltIn('AggregateError'))(errors, PROMISE_ANY_ERROR)); - }); - }); - --remaining || reject(new (getBuiltIn('AggregateError'))(errors, PROMISE_ANY_ERROR)); - }); - if (result.e) reject(result.v); - return capability.promise; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isSubsetOf = __webpack_require__(390); + var setMethodAcceptSetLike = __webpack_require__(375); + + // `Set.prototype.isSubsetOf` method + // https://github.com/tc39/proposal-set-methods + $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSubsetOf') }, { + isSubsetOf: isSubsetOf + }); + + + /***/ }), /* 390 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // `Promise.try` method - // https://github.com/tc39/proposal-promise-try - var newPromiseCapabilityModule = __webpack_require__(236); - var perform = __webpack_require__(238); - - __webpack_require__(7)({ target: 'Promise', stat: true }, { - 'try': function (callbackfn) { - var promiseCapability = newPromiseCapabilityModule.f(this); - var result = perform(callbackfn); - (result.e ? promiseCapability.reject : promiseCapability.resolve)(result.v); - return promiseCapability.promise; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aSet = __webpack_require__(366); + var size = __webpack_require__(373); + var iterate = __webpack_require__(372); + var getSetRecord = __webpack_require__(374); + + // `Set.prototype.isSubsetOf` method + // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf + module.exports = function isSubsetOf(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + if (size(O) > otherRec.size) return false; + return iterate(O, function (e) { + if (!otherRec.includes(e)) return false; + }, true) !== false; + }; + + + /***/ }), /* 391 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var toMetadataKey = ReflectMetadataModule.toKey; - var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; - - // `Reflect.defineMetadata` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - defineMetadata: function defineMetadata(metadataKey, metadataValue, target /* , targetKey */) { - var targetKey = arguments.length < 4 ? undefined : toMetadataKey(arguments[3]); - ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), targetKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toSetLike = __webpack_require__(377); + var $isSubsetOf = __webpack_require__(390); + + // `Set.prototype.isSubsetOf` method + // https://github.com/tc39/proposal-set-methods + // TODO: Obsolete version, remove from `core-js@4` + $({ target: 'Set', proto: true, real: true, forced: true }, { + isSubsetOf: function isSubsetOf(other) { + return call($isSubsetOf, this, toSetLike(other)); + } + }); + + + /***/ }), /* 392 */ - /***/ (function (module, exports, __webpack_require__) { - - var Map = __webpack_require__(150); - var WeakMap = __webpack_require__(339); - var shared = __webpack_require__(25)('metadata'); - var store = shared.store || (shared.store = new WeakMap()); - - var getOrCreateMetadataMap = function (target, targetKey, create) { - var targetMetadata = store.get(target); - if (!targetMetadata) { - if (!create) return; - store.set(target, targetMetadata = new Map()); - } - var keyMetadata = targetMetadata.get(targetKey); - if (!keyMetadata) { - if (!create) return; - targetMetadata.set(targetKey, keyMetadata = new Map()); - } return keyMetadata; - }; - - var ordinaryHasOwnMetadata = function (MetadataKey, O, P) { - var metadataMap = getOrCreateMetadataMap(O, P, false); - return metadataMap === undefined ? false : metadataMap.has(MetadataKey); - }; - - var ordinaryGetOwnMetadata = function (MetadataKey, O, P) { - var metadataMap = getOrCreateMetadataMap(O, P, false); - return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey); - }; - - var ordinaryDefineOwnMetadata = function (MetadataKey, MetadataValue, O, P) { - getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue); - }; - - var ordinaryOwnMetadataKeys = function (target, targetKey) { - var metadataMap = getOrCreateMetadataMap(target, targetKey, false); - var keys = []; - if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); }); - return keys; - }; - - var toMetadataKey = function (it) { - return it === undefined || typeof it == 'symbol' ? it : String(it); - }; - - module.exports = { - store: store, - getMap: getOrCreateMetadataMap, - has: ordinaryHasOwnMetadata, - get: ordinaryGetOwnMetadata, - set: ordinaryDefineOwnMetadata, - keys: ordinaryOwnMetadataKeys, - toKey: toMetadataKey - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isSupersetOf = __webpack_require__(393); + var setMethodAcceptSetLike = __webpack_require__(375); + + // `Set.prototype.isSupersetOf` method + // https://github.com/tc39/proposal-set-methods + $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('isSupersetOf') }, { + isSupersetOf: isSupersetOf + }); + + + /***/ }), /* 393 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var toMetadataKey = ReflectMetadataModule.toKey; - var getOrCreateMetadataMap = ReflectMetadataModule.getMap; - var store = ReflectMetadataModule.store; - - // `Reflect.deleteMetadata` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - deleteMetadata: function deleteMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); - var metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false); - if (metadataMap === undefined || !metadataMap['delete'](metadataKey)) return false; - if (metadataMap.size) return true; - var targetMetadata = store.get(target); - targetMetadata['delete'](targetKey); - return !!targetMetadata.size || store['delete'](target); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aSet = __webpack_require__(366); + var has = __webpack_require__(367).has; + var size = __webpack_require__(373); + var getSetRecord = __webpack_require__(374); + var iterateSimple = __webpack_require__(221); + var iteratorClose = __webpack_require__(98); + + // `Set.prototype.isSupersetOf` method + // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf + module.exports = function isSupersetOf(other) { + var O = aSet(this); + var otherRec = getSetRecord(other); + if (size(O) < otherRec.size) return false; + var iterator = otherRec.getIterator(); + return iterateSimple(iterator, function (e) { + if (!has(O, e)) return iteratorClose(iterator, 'normal', false); + }) !== false; + }; + + + /***/ }), /* 394 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var getPrototypeOf = __webpack_require__(106); - var ordinaryHasOwnMetadata = ReflectMetadataModule.has; - var ordinaryGetOwnMetadata = ReflectMetadataModule.get; - var toMetadataKey = ReflectMetadataModule.toKey; - - var ordinaryGetMetadata = function (MetadataKey, O, P) { - var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); - if (hasOwn) return ordinaryGetOwnMetadata(MetadataKey, O, P); - var parent = getPrototypeOf(O); - return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined; - }; - - // `Reflect.getMetadata` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - getMetadata: function getMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); - return ordinaryGetMetadata(metadataKey, anObject(target), targetKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toSetLike = __webpack_require__(377); + var $isSupersetOf = __webpack_require__(393); + + // `Set.prototype.isSupersetOf` method + // https://github.com/tc39/proposal-set-methods + // TODO: Obsolete version, remove from `core-js@4` + $({ target: 'Set', proto: true, real: true, forced: true }, { + isSupersetOf: function isSupersetOf(other) { + return call($isSupersetOf, this, toSetLike(other)); + } + }); + + + /***/ }), /* 395 */ - /***/ (function (module, exports, __webpack_require__) { - - var Set = __webpack_require__(260); - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var getPrototypeOf = __webpack_require__(106); - var iterate = __webpack_require__(154); - var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys; - var toMetadataKey = ReflectMetadataModule.toKey; - - var from = function (iter) { - var result = []; - iterate(iter, result.push, result); - return result; - }; - - var ordinaryMetadataKeys = function (O, P) { - var oKeys = ordinaryOwnMetadataKeys(O, P); - var parent = getPrototypeOf(O); - if (parent === null) return oKeys; - var pKeys = ordinaryMetadataKeys(parent, P); - return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys; - }; - - // `Reflect.getMetadataKeys` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - getMetadataKeys: function getMetadataKeys(target /* , targetKey */) { - var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]); - return ordinaryMetadataKeys(anObject(target), targetKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var uncurryThis = __webpack_require__(13); + var aSet = __webpack_require__(366); + var iterate = __webpack_require__(372); + var toString = __webpack_require__(76); + + var arrayJoin = uncurryThis([].join); + var push = uncurryThis([].push); + + // `Set.prototype.join` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + join: function join(separator) { + var set = aSet(this); + var sep = separator === undefined ? ',' : toString(separator); + var array = []; + iterate(set, function (value) { + push(array, value); + }); + return arrayJoin(array, sep); + } + }); + + + /***/ }), /* 396 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var ordinaryGetOwnMetadata = ReflectMetadataModule.get; - var toMetadataKey = ReflectMetadataModule.toKey; - - // `Reflect.getOwnMetadata` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - getOwnMetadata: function getOwnMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); - return ordinaryGetOwnMetadata(metadataKey, anObject(target), targetKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aSet = __webpack_require__(366); + var SetHelpers = __webpack_require__(367); + var iterate = __webpack_require__(372); + + var Set = SetHelpers.Set; + var add = SetHelpers.add; + + // `Set.prototype.map` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + map: function map(callbackfn /* , thisArg */) { + var set = aSet(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newSet = new Set(); + iterate(set, function (value) { + add(newSet, boundFunction(value, value, set)); + }); + return newSet; + } + }); + + + /***/ }), /* 397 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var ordinaryOwnMetadataKeys = ReflectMetadataModule.keys; - var toMetadataKey = ReflectMetadataModule.toKey; - - // `Reflect.getOwnMetadataKeys` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - getOwnMetadataKeys: function getOwnMetadataKeys(target /* , targetKey */) { - var targetKey = arguments.length < 2 ? undefined : toMetadataKey(arguments[1]); - return ordinaryOwnMetadataKeys(anObject(target), targetKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var SetHelpers = __webpack_require__(367); + var createCollectionOf = __webpack_require__(331); + + // `Set.of` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-set.of + $({ target: 'Set', stat: true, forced: true }, { + of: createCollectionOf(SetHelpers.Set, SetHelpers.add, false) + }); + + + /***/ }), /* 398 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var getPrototypeOf = __webpack_require__(106); - var ordinaryHasOwnMetadata = ReflectMetadataModule.has; - var toMetadataKey = ReflectMetadataModule.toKey; - - var ordinaryHasMetadata = function (MetadataKey, O, P) { - var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P); - if (hasOwn) return true; - var parent = getPrototypeOf(O); - return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false; - }; - - // `Reflect.hasMetadata` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - hasMetadata: function hasMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); - return ordinaryHasMetadata(metadataKey, anObject(target), targetKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aCallable = __webpack_require__(29); + var aSet = __webpack_require__(366); + var iterate = __webpack_require__(372); + + var $TypeError = TypeError; + + // `Set.prototype.reduce` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + reduce: function reduce(callbackfn /* , initialValue */) { + var set = aSet(this); + var noInitial = arguments.length < 2; + var accumulator = noInitial ? undefined : arguments[1]; + aCallable(callbackfn); + iterate(set, function (value) { + if (noInitial) { + noInitial = false; + accumulator = value; + } else { + accumulator = callbackfn(accumulator, value, value, set); + } + }); + if (noInitial) throw new $TypeError('Reduce of empty set with no initial value'); + return accumulator; + } + }); + + + /***/ }), /* 399 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var ordinaryHasOwnMetadata = ReflectMetadataModule.has; - var toMetadataKey = ReflectMetadataModule.toKey; - - // `Reflect.hasOwnMetadata` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - hasOwnMetadata: function hasOwnMetadata(metadataKey, target /* , targetKey */) { - var targetKey = arguments.length < 3 ? undefined : toMetadataKey(arguments[2]); - return ordinaryHasOwnMetadata(metadataKey, anObject(target), targetKey); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var bind = __webpack_require__(92); + var aSet = __webpack_require__(366); + var iterate = __webpack_require__(372); + + // `Set.prototype.some` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'Set', proto: true, real: true, forced: true }, { + some: function some(callbackfn /* , thisArg */) { + var set = aSet(this); + var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate(set, function (value) { + if (boundFunction(value, value, set)) return true; + }, true) === true; + } + }); + + + /***/ }), /* 400 */ - /***/ (function (module, exports, __webpack_require__) { - - var ReflectMetadataModule = __webpack_require__(392); - var anObject = __webpack_require__(21); - var toMetadataKey = ReflectMetadataModule.toKey; - var ordinaryDefineOwnMetadata = ReflectMetadataModule.set; - - // `Reflect.metadata` method - // https://github.com/rbuckton/reflect-metadata - __webpack_require__(7)({ target: 'Reflect', stat: true }, { - metadata: function metadata(metadataKey, metadataValue) { - return function decorator(target, key) { - ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetadataKey(key)); - }; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var symmetricDifference = __webpack_require__(401); + var setMethodAcceptSetLike = __webpack_require__(375); + + // `Set.prototype.symmetricDifference` method + // https://github.com/tc39/proposal-set-methods + $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('symmetricDifference') }, { + symmetricDifference: symmetricDifference + }); + + + /***/ }), /* 401 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var collectionAddAll = __webpack_require__(402); - - // `Set.prototype.addAll` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - addAll: function addAll(/* ...elements */) { - return collectionAddAll.apply(this, arguments); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aSet = __webpack_require__(366); + var SetHelpers = __webpack_require__(367); + var clone = __webpack_require__(371); + var getSetRecord = __webpack_require__(374); + var iterateSimple = __webpack_require__(221); + + var add = SetHelpers.add; + var has = SetHelpers.has; + var remove = SetHelpers.remove; + + // `Set.prototype.symmetricDifference` method + // https://github.com/tc39/proposal-set-methods + module.exports = function symmetricDifference(other) { + var O = aSet(this); + var keysIter = getSetRecord(other).getIterator(); + var result = clone(O); + iterateSimple(keysIter, function (e) { + if (has(O, e)) remove(result, e); + else add(result, e); + }); + return result; + }; + + + /***/ }), /* 402 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - - // https://github.com/tc39/collection-methods - module.exports = function (/* ...elements */) { - var set = anObject(this); - var adder = aFunction(set.add); - for (var k = 0, len = arguments.length; k < len; k++) { - adder.call(set, arguments[k]); - } - return set; - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toSetLike = __webpack_require__(377); + var $symmetricDifference = __webpack_require__(401); + + // `Set.prototype.symmetricDifference` method + // https://github.com/tc39/proposal-set-methods + // TODO: Obsolete version, remove from `core-js@4` + $({ target: 'Set', proto: true, real: true, forced: true }, { + symmetricDifference: function symmetricDifference(other) { + return call($symmetricDifference, this, toSetLike(other)); + } + }); + + + /***/ }), /* 403 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var collectionDeleteAll = __webpack_require__(350); - - // `Set.prototype.deleteAll` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - deleteAll: function deleteAll(/* ...elements */) { - return collectionDeleteAll.apply(this, arguments); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var union = __webpack_require__(404); + var setMethodAcceptSetLike = __webpack_require__(375); + + // `Set.prototype.union` method + // https://github.com/tc39/proposal-set-methods + $({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, { + union: union + }); + + + /***/ }), /* 404 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var speciesConstructor = __webpack_require__(136); - var iterate = __webpack_require__(154); - - // `Set.prototype.difference` method - // https://github.com/tc39/proposal-set-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - difference: function difference(iterable) { - var set = anObject(this); - var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set); - var remover = aFunction(newSet['delete']); - iterate(iterable, function (value) { - remover.call(newSet, value); - }); - return newSet; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var aSet = __webpack_require__(366); + var add = __webpack_require__(367).add; + var clone = __webpack_require__(371); + var getSetRecord = __webpack_require__(374); + var iterateSimple = __webpack_require__(221); + + // `Set.prototype.union` method + // https://github.com/tc39/proposal-set-methods + module.exports = function union(other) { + var O = aSet(this); + var keysIter = getSetRecord(other).getIterator(); + var result = clone(O); + iterateSimple(keysIter, function (it) { + add(result, it); + }); + return result; + }; + + + /***/ }), /* 405 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var bind = __webpack_require__(78); - var getSetIterator = __webpack_require__(406); - - // `Set.prototype.every` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - every: function every(callbackfn /* , thisArg */) { - var set = anObject(this); - var iterator = getSetIterator(set); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var step, value; - while (!(step = iterator.next()).done) { - if (!boundFunction(value = step.value, value, set)) return false; - } return true; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var call = __webpack_require__(7); + var toSetLike = __webpack_require__(377); + var $union = __webpack_require__(404); + + // `Set.prototype.union` method + // https://github.com/tc39/proposal-set-methods + // TODO: Obsolete version, remove from `core-js@4` + $({ target: 'Set', proto: true, real: true, forced: true }, { + union: function union(other) { + return call($union, this, toSetLike(other)); + } + }); + + + /***/ }), /* 406 */ - /***/ (function (module, exports, __webpack_require__) { - - var IS_PURE = __webpack_require__(6); - var getIterator = __webpack_require__(353); - - module.exports = IS_PURE ? getIterator : function (it) { - // eslint-disable-next-line no-undef - return Set.prototype.values.call(it); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var cooked = __webpack_require__(407); + + // `String.cooked` method + // https://github.com/tc39/proposal-string-cooked + $({ target: 'String', stat: true, forced: true }, { + cooked: cooked + }); + + + /***/ }), /* 407 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var bind = __webpack_require__(78); - var speciesConstructor = __webpack_require__(136); - var getSetIterator = __webpack_require__(406); - - // `Set.prototype.filter` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - filter: function filter(callbackfn /* , thisArg */) { - var set = anObject(this); - var iterator = getSetIterator(set); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(); - var adder = aFunction(newSet.add); - var step, value; - while (!(step = iterator.next()).done) { - if (boundFunction(value = step.value, value, set)) adder.call(newSet, value); - } - return newSet; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var toIndexedObject = __webpack_require__(11); + var toString = __webpack_require__(76); + var lengthOfArrayLike = __webpack_require__(62); + + var $TypeError = TypeError; + var push = uncurryThis([].push); + var join = uncurryThis([].join); + + // `String.cooked` method + // https://tc39.es/proposal-string-cooked/ + module.exports = function cooked(template /* , ...substitutions */) { + var cookedTemplate = toIndexedObject(template); + var literalSegments = lengthOfArrayLike(cookedTemplate); + if (!literalSegments) return ''; + var argumentsLength = arguments.length; + var elements = []; + var i = 0; + while (true) { + var nextVal = cookedTemplate[i++]; + if (nextVal === undefined) throw new $TypeError('Incorrect template'); + push(elements, toString(nextVal)); + if (i === literalSegments) return join(elements, ''); + if (i < argumentsLength) push(elements, toString(arguments[i])); + } + }; + + + /***/ }), /* 408 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var bind = __webpack_require__(78); - var getSetIterator = __webpack_require__(406); - - // `Set.prototype.find` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - find: function find(callbackfn /* , thisArg */) { - var set = anObject(this); - var iterator = getSetIterator(set); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var step, value; - while (!(step = iterator.next()).done) { - if (boundFunction(value = step.value, value, set)) return value; - } - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var createIteratorConstructor = __webpack_require__(248); + var createIterResultObject = __webpack_require__(200); + var requireObjectCoercible = __webpack_require__(15); + var toString = __webpack_require__(76); + var InternalStateModule = __webpack_require__(50); + var StringMultibyteModule = __webpack_require__(409); + + var codeAt = StringMultibyteModule.codeAt; + var charAt = StringMultibyteModule.charAt; + var STRING_ITERATOR = 'String Iterator'; + var setInternalState = InternalStateModule.set; + var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); + + // TODO: unify with String#@@iterator + var $StringIterator = createIteratorConstructor(function StringIterator(string) { + setInternalState(this, { + type: STRING_ITERATOR, + string: string, + index: 0 + }); + }, 'String', function next() { + var state = getInternalState(this); + var string = state.string; + var index = state.index; + var point; + if (index >= string.length) return createIterResultObject(undefined, true); + point = charAt(string, index); + state.index += point.length; + return createIterResultObject({ codePoint: codeAt(point, 0), position: index }, false); + }); + + // `String.prototype.codePoints` method + // https://github.com/tc39/proposal-string-prototype-codepoints + $({ target: 'String', proto: true, forced: true }, { + codePoints: function codePoints() { + return new $StringIterator(toString(requireObjectCoercible(this))); + } + }); + + + /***/ }), /* 409 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Set.from` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-set.from - __webpack_require__(7)({ target: 'Set', stat: true }, { - from: __webpack_require__(358) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var toIntegerOrInfinity = __webpack_require__(60); + var toString = __webpack_require__(76); + var requireObjectCoercible = __webpack_require__(15); + + var charAt = uncurryThis(''.charAt); + var charCodeAt = uncurryThis(''.charCodeAt); + var stringSlice = uncurryThis(''.slice); + + var createMethod = function (CONVERT_TO_STRING) { + return function ($this, pos) { + var S = toString(requireObjectCoercible($this)); + var position = toIntegerOrInfinity(pos); + var size = S.length; + var first, second; + if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; + first = charCodeAt(S, position); + return first < 0xD800 || first > 0xDBFF || position + 1 === size + || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF + ? CONVERT_TO_STRING + ? charAt(S, position) + : first + : CONVERT_TO_STRING + ? stringSlice(S, position, position + 2) + : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; + }; + }; + + module.exports = { + // `String.prototype.codePointAt` method + // https://tc39.es/ecma262/#sec-string.prototype.codepointat + codeAt: createMethod(false), + // `String.prototype.at` method + // https://github.com/mathiasbynens/String.prototype.at + charAt: createMethod(true) + }; + + + /***/ }), /* 410 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var speciesConstructor = __webpack_require__(136); - var iterate = __webpack_require__(154); - - // `Set.prototype.intersection` method - // https://github.com/tc39/proposal-set-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - intersection: function intersection(iterable) { - var set = anObject(this); - var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(); - var hasCheck = aFunction(set.has); - var adder = aFunction(newSet.add); - iterate(iterable, function (value) { - if (hasCheck.call(set, value)) adder.call(newSet, value); - }); - return newSet; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var FREEZING = __webpack_require__(259); + var $ = __webpack_require__(2); + var makeBuiltIn = __webpack_require__(47); + var uncurryThis = __webpack_require__(13); + var apply = __webpack_require__(67); + var anObject = __webpack_require__(45); + var toObject = __webpack_require__(38); + var isCallable = __webpack_require__(20); + var lengthOfArrayLike = __webpack_require__(62); + var defineProperty = __webpack_require__(43).f; + var createArrayFromList = __webpack_require__(145); + var WeakMapHelpers = __webpack_require__(411); + var cooked = __webpack_require__(407); + var parse = __webpack_require__(412); + var whitespaces = __webpack_require__(364); + + var DedentMap = new WeakMapHelpers.WeakMap(); + var weakMapGet = WeakMapHelpers.get; + var weakMapHas = WeakMapHelpers.has; + var weakMapSet = WeakMapHelpers.set; + + var $Array = Array; + var $TypeError = TypeError; + // eslint-disable-next-line es/no-object-freeze -- safe + var freeze = Object.freeze || Object; + // eslint-disable-next-line es/no-object-isfrozen -- safe + var isFrozen = Object.isFrozen; + var min = Math.min; + var charAt = uncurryThis(''.charAt); + var stringSlice = uncurryThis(''.slice); + var split = uncurryThis(''.split); + var exec = uncurryThis(/./.exec); + + var NEW_LINE = /([\n\u2028\u2029]|\r\n?)/g; + var LEADING_WHITESPACE = RegExp('^[' + whitespaces + ']*'); + var NON_WHITESPACE = RegExp('[^' + whitespaces + ']'); + var INVALID_TAG = 'Invalid tag'; + var INVALID_OPENING_LINE = 'Invalid opening line'; + var INVALID_CLOSING_LINE = 'Invalid closing line'; + + var dedentTemplateStringsArray = function (template) { + var rawInput = template.raw; + // https://github.com/tc39/proposal-string-dedent/issues/75 + if (FREEZING && !isFrozen(rawInput)) throw new $TypeError('Raw template should be frozen'); + if (weakMapHas(DedentMap, rawInput)) return weakMapGet(DedentMap, rawInput); + var raw = dedentStringsArray(rawInput); + var cookedArr = cookStrings(raw); + defineProperty(cookedArr, 'raw', { + value: freeze(raw) + }); + freeze(cookedArr); + weakMapSet(DedentMap, rawInput, cookedArr); + return cookedArr; + }; + + var dedentStringsArray = function (template) { + var t = toObject(template); + var length = lengthOfArrayLike(t); + var blocks = $Array(length); + var dedented = $Array(length); + var i = 0; + var lines, common, quasi, k; + + if (!length) throw new $TypeError(INVALID_TAG); + + for (; i < length; i++) { + var element = t[i]; + if (typeof element == 'string') blocks[i] = split(element, NEW_LINE); + else throw new $TypeError(INVALID_TAG); + } + + for (i = 0; i < length; i++) { + var lastSplit = i + 1 === length; + lines = blocks[i]; + if (i === 0) { + if (lines.length === 1 || lines[0].length > 0) { + throw new $TypeError(INVALID_OPENING_LINE); + } + lines[1] = ''; + } + if (lastSplit) { + if (lines.length === 1 || exec(NON_WHITESPACE, lines[lines.length - 1])) { + throw new $TypeError(INVALID_CLOSING_LINE); + } + lines[lines.length - 2] = ''; + lines[lines.length - 1] = ''; + } + for (var j = 2; j < lines.length; j += 2) { + var text = lines[j]; + var lineContainsTemplateExpression = j + 1 === lines.length && !lastSplit; + var leading = exec(LEADING_WHITESPACE, text)[0]; + if (!lineContainsTemplateExpression && leading.length === text.length) { + lines[j] = ''; + continue; + } + common = commonLeadingIndentation(leading, common); + } + } + + var count = common ? common.length : 0; + + for (i = 0; i < length; i++) { + lines = blocks[i]; + quasi = lines[0]; + k = 1; + for (; k < lines.length; k += 2) { + quasi += lines[k] + stringSlice(lines[k + 1], count); + } + dedented[i] = quasi; + } + + return dedented; + }; + + var commonLeadingIndentation = function (a, b) { + if (b === undefined || a === b) return a; + var i = 0; + for (var len = min(a.length, b.length); i < len; i++) { + if (charAt(a, i) !== charAt(b, i)) break; + } + return stringSlice(a, 0, i); + }; + + var cookStrings = function (raw) { + var i = 0; + var length = raw.length; + var result = $Array(length); + for (; i < length; i++) { + result[i] = parse(raw[i]); + } return result; + }; + + var makeDedentTag = function (tag) { + return makeBuiltIn(function (template /* , ...substitutions */) { + var args = createArrayFromList(arguments); + args[0] = dedentTemplateStringsArray(anObject(template)); + return apply(tag, this, args); + }, ''); + }; + + var cookedDedentTag = makeDedentTag(cooked); + + // `String.dedent` method + // https://github.com/tc39/proposal-string-dedent + $({ target: 'String', stat: true, forced: true }, { + dedent: function dedent(templateOrFn /* , ...substitutions */) { + anObject(templateOrFn); + if (isCallable(templateOrFn)) return makeDedentTag(templateOrFn); + return apply(cookedDedentTag, this, arguments); + } + }); + + + /***/ }), /* 411 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var iterate = __webpack_require__(154); - var BREAK = iterate.BREAK; - - // `Set.prototype.isDisjointFrom` method - // https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - isDisjointFrom: function isDisjointFrom(iterable) { - var set = anObject(this); - var hasCheck = aFunction(set.has); - return iterate(iterable, function (value) { - if (hasCheck.call(set, value) === true) return BREAK; - }) !== BREAK; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + // eslint-disable-next-line es/no-weak-map -- safe + var WeakMapPrototype = WeakMap.prototype; + + module.exports = { + // eslint-disable-next-line es/no-weak-map -- safe + WeakMap: WeakMap, + set: uncurryThis(WeakMapPrototype.set), + get: uncurryThis(WeakMapPrototype.get), + has: uncurryThis(WeakMapPrototype.has), + remove: uncurryThis(WeakMapPrototype['delete']) + }; + + + /***/ }), /* 412 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var getIterator = __webpack_require__(353); - var iterate = __webpack_require__(154); - var BREAK = iterate.BREAK; - - // `Set.prototype.isSubsetOf` method - // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - isSubsetOf: function isSubsetOf(iterable) { - var iterator = getIterator(this); - var otherSet = anObject(iterable); - var hasCheck = otherSet.has; - if (typeof hasCheck != 'function') { - otherSet = new (getBuiltIn('Set'))(iterable); - hasCheck = aFunction(otherSet.has); - } - return iterate(iterator, function (value) { - if (hasCheck.call(otherSet, value) === false) return BREAK; - }, undefined, false, true) !== BREAK; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // adapted from https://github.com/jridgewell/string-dedent + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + + var fromCharCode = String.fromCharCode; + var fromCodePoint = getBuiltIn('String', 'fromCodePoint'); + var charAt = uncurryThis(''.charAt); + var charCodeAt = uncurryThis(''.charCodeAt); + var stringIndexOf = uncurryThis(''.indexOf); + var stringSlice = uncurryThis(''.slice); + + var ZERO_CODE = 48; + var NINE_CODE = 57; + var LOWER_A_CODE = 97; + var LOWER_F_CODE = 102; + var UPPER_A_CODE = 65; + var UPPER_F_CODE = 70; + + var isDigit = function (str, index) { + var c = charCodeAt(str, index); + return c >= ZERO_CODE && c <= NINE_CODE; + }; + + var parseHex = function (str, index, end) { + if (end >= str.length) return -1; + var n = 0; + for (; index < end; index++) { + var c = hexToInt(charCodeAt(str, index)); + if (c === -1) return -1; + n = n * 16 + c; + } + return n; + }; + + var hexToInt = function (c) { + if (c >= ZERO_CODE && c <= NINE_CODE) return c - ZERO_CODE; + if (c >= LOWER_A_CODE && c <= LOWER_F_CODE) return c - LOWER_A_CODE + 10; + if (c >= UPPER_A_CODE && c <= UPPER_F_CODE) return c - UPPER_A_CODE + 10; + return -1; + }; + + module.exports = function (raw) { + var out = ''; + var start = 0; + // We need to find every backslash escape sequence, and cook the escape into a real char. + var i = 0; + var n; + while ((i = stringIndexOf(raw, '\\', i)) > -1) { + out += stringSlice(raw, start, i); + // If the backslash is the last char of the string, then it was an invalid sequence. + // This can't actually happen in a tagged template literal, but could happen if you manually + // invoked the tag with an array. + if (++i === raw.length) return; + var next = charAt(raw, i++); + switch (next) { + // Escaped control codes need to be individually processed. + case 'b': + out += '\b'; + break; + case 't': + out += '\t'; + break; + case 'n': + out += '\n'; + break; + case 'v': + out += '\v'; + break; + case 'f': + out += '\f'; + break; + case 'r': + out += '\r'; + break; + // Escaped line terminators just skip the char. + case '\r': + // Treat `\r\n` as a single terminator. + if (i < raw.length && charAt(raw, i) === '\n') ++i; + // break omitted + case '\n': + case '\u2028': + case '\u2029': + break; + // `\0` is a null control char, but `\0` followed by another digit is an illegal octal escape. + case '0': + if (isDigit(raw, i)) return; + out += '\0'; + break; + // Hex escapes must contain 2 hex chars. + case 'x': + n = parseHex(raw, i, i + 2); + if (n === -1) return; + i += 2; + out += fromCharCode(n); + break; + // Unicode escapes contain either 4 chars, or an unlimited number between `{` and `}`. + // The hex value must not overflow 0x10FFFF. + case 'u': + if (i < raw.length && charAt(raw, i) === '{') { + var end = stringIndexOf(raw, '}', ++i); + if (end === -1) return; + n = parseHex(raw, i, end); + i = end + 1; + } else { + n = parseHex(raw, i, i + 4); + i += 4; + } + if (n === -1 || n > 0x10FFFF) return; + out += fromCodePoint(n); + break; + default: + if (isDigit(next, 0)) return; + out += next; + } + start = i; + } + return out + stringSlice(raw, start); + }; + + + /***/ }), /* 413 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var iterate = __webpack_require__(154); - var BREAK = iterate.BREAK; - - // `Set.prototype.isSupersetOf` method - // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - isSupersetOf: function isSupersetOf(iterable) { - var set = anObject(this); - var hasCheck = aFunction(set.has); - return iterate(iterable, function (value) { - if (hasCheck.call(set, value) === false) return BREAK; - }) !== BREAK; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var defineWellKnownSymbol = __webpack_require__(414); + var defineProperty = __webpack_require__(43).f; + var getOwnPropertyDescriptor = __webpack_require__(4).f; + + var Symbol = global.Symbol; + + // `Symbol.asyncDispose` well-known symbol + // https://github.com/tc39/proposal-async-explicit-resource-management + defineWellKnownSymbol('asyncDispose'); + + if (Symbol) { + var descriptor = getOwnPropertyDescriptor(Symbol, 'asyncDispose'); + // workaround of NodeJS 20.4 bug + // https://github.com/nodejs/node/issues/48699 + // and incorrect descriptor from some transpilers and userland helpers + if (descriptor.enumerable && descriptor.configurable && descriptor.writable) { + defineProperty(Symbol, 'asyncDispose', { value: descriptor.value, enumerable: false, configurable: false, writable: false }); + } + } + + + /***/ }), /* 414 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var getSetIterator = __webpack_require__(406); - - // `Set.prototype.join` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - join: function join(separator) { - var set = anObject(this); - var iterator = getSetIterator(set); - var sep = separator === undefined ? ',' : String(separator); - var result = []; - var step; - while (!(step = iterator.next()).done) result.push(step.value); - return result.join(sep); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var path = __webpack_require__(415); + var hasOwn = __webpack_require__(37); + var wrappedWellKnownSymbolModule = __webpack_require__(416); + var defineProperty = __webpack_require__(43).f; + + module.exports = function (NAME) { + var Symbol = path.Symbol || (path.Symbol = {}); + if (!hasOwn(Symbol, NAME)) defineProperty(Symbol, NAME, { + value: wrappedWellKnownSymbolModule.f(NAME) + }); + }; + + + /***/ }), /* 415 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var bind = __webpack_require__(78); - var speciesConstructor = __webpack_require__(136); - var getSetIterator = __webpack_require__(406); - - // `Set.prototype.map` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - map: function map(callbackfn /* , thisArg */) { - var set = anObject(this); - var iterator = getSetIterator(set); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(); - var adder = aFunction(newSet.add); - var step, value; - while (!(step = iterator.next()).done) { - adder.call(newSet, boundFunction(value = step.value, value, set)); - } - return newSet; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + + module.exports = global; + + + /***/ }), /* 416 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Set.of` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-set.of - __webpack_require__(7)({ target: 'Set', stat: true }, { - of: __webpack_require__(368) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var wellKnownSymbol = __webpack_require__(32); + + exports.f = wellKnownSymbol; + + + /***/ }), /* 417 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var getSetIterator = __webpack_require__(406); - - // `Set.prototype.reduce` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - reduce: function reduce(callbackfn /* , initialValue */) { - var set = anObject(this); - var iterator = getSetIterator(set); - var accumulator, step, value; - aFunction(callbackfn); - if (arguments.length > 1) accumulator = arguments[1]; - else { - step = iterator.next(); - if (step.done) throw TypeError('Reduce of empty set with no initial value'); - accumulator = step.value; - } - while (!(step = iterator.next()).done) { - accumulator = callbackfn(accumulator, value = step.value, value, set); - } - return accumulator; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var defineWellKnownSymbol = __webpack_require__(414); + var defineProperty = __webpack_require__(43).f; + var getOwnPropertyDescriptor = __webpack_require__(4).f; + + var Symbol = global.Symbol; + + // `Symbol.dispose` well-known symbol + // https://github.com/tc39/proposal-explicit-resource-management + defineWellKnownSymbol('dispose'); + + if (Symbol) { + var descriptor = getOwnPropertyDescriptor(Symbol, 'dispose'); + // workaround of NodeJS 20.4 bug + // https://github.com/nodejs/node/issues/48699 + // and incorrect descriptor from some transpilers and userland helpers + if (descriptor.enumerable && descriptor.configurable && descriptor.writable) { + defineProperty(Symbol, 'dispose', { value: descriptor.value, enumerable: false, configurable: false, writable: false }); + } + } + + + /***/ }), /* 418 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var anObject = __webpack_require__(21); - var bind = __webpack_require__(78); - var getSetIterator = __webpack_require__(406); - - // `Set.prototype.some` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - some: function some(callbackfn /* , thisArg */) { - var set = anObject(this); - var iterator = getSetIterator(set); - var boundFunction = bind(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var step, value; - while (!(step = iterator.next()).done) { - if (boundFunction(value = step.value, value, set)) return true; - } return false; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isRegisteredSymbol = __webpack_require__(419); + + // `Symbol.isRegisteredSymbol` method + // https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol + $({ target: 'Symbol', stat: true }, { + isRegisteredSymbol: isRegisteredSymbol + }); + + + /***/ }), /* 419 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var speciesConstructor = __webpack_require__(136); - var iterate = __webpack_require__(154); - - // `Set.prototype.symmetricDifference` method - // https://github.com/tc39/proposal-set-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - symmetricDifference: function symmetricDifference(iterable) { - var set = anObject(this); - var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set); - var remover = aFunction(newSet['delete']); - var adder = aFunction(newSet.add); - iterate(iterable, function (value) { - remover.call(newSet, value) || adder.call(newSet, value); - }); - return newSet; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + + var Symbol = getBuiltIn('Symbol'); + var keyFor = Symbol.keyFor; + var thisSymbolValue = uncurryThis(Symbol.prototype.valueOf); + + // `Symbol.isRegisteredSymbol` method + // https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol + module.exports = Symbol.isRegisteredSymbol || function isRegisteredSymbol(value) { + try { + return keyFor(thisSymbolValue(value)) !== undefined; + } catch (error) { + return false; + } + }; + + + /***/ }), /* 420 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var getBuiltIn = __webpack_require__(124); - var anObject = __webpack_require__(21); - var aFunction = __webpack_require__(79); - var speciesConstructor = __webpack_require__(136); - var iterate = __webpack_require__(154); - - // `Set.prototype.union` method - // https://github.com/tc39/proposal-set-methods - __webpack_require__(7)({ target: 'Set', proto: true, real: true, forced: __webpack_require__(6) }, { - union: function union(iterable) { - var set = anObject(this); - var newSet = new (speciesConstructor(set, getBuiltIn('Set')))(set); - iterate(iterable, aFunction(newSet.add), newSet); - return newSet; - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isRegisteredSymbol = __webpack_require__(419); + + // `Symbol.isRegistered` method + // obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-isregisteredsymbol + $({ target: 'Symbol', stat: true, name: 'isRegisteredSymbol' }, { + isRegistered: isRegisteredSymbol + }); + + + /***/ }), /* 421 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var codePointAt = __webpack_require__(262); - - // `String.prototype.at` method - // https://github.com/mathiasbynens/String.prototype.at - __webpack_require__(7)({ target: 'String', proto: true }, { - at: function at(pos) { - return codePointAt(this, pos, true); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isWellKnownSymbol = __webpack_require__(422); + + // `Symbol.isWellKnownSymbol` method + // https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol + // We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected + $({ target: 'Symbol', stat: true, forced: true }, { + isWellKnownSymbol: isWellKnownSymbol + }); + + + /***/ }), /* 422 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createIteratorConstructor = __webpack_require__(104); - var requireObjectCoercible = __webpack_require__(14); - var InternalStateModule = __webpack_require__(26); - var codePointAt = __webpack_require__(262); - var STRING_ITERATOR = 'String Iterator'; - var setInternalState = InternalStateModule.set; - var getInternalState = InternalStateModule.getterFor(STRING_ITERATOR); - - // TODO: unify with String#@@iterator - var $StringIterator = createIteratorConstructor(function StringIterator(string) { - setInternalState(this, { - type: STRING_ITERATOR, - string: string, - index: 0 - }); - }, 'String', function next() { - var state = getInternalState(this); - var string = state.string; - var index = state.index; - var point; - if (index >= string.length) return { value: undefined, done: true }; - point = codePointAt(string, index, true); - state.index += point.length; - return { value: { codePoint: codePointAt(point, 0), position: index }, done: false }; - }); - - // `String.prototype.codePoints` method - // https://github.com/tc39/proposal-string-prototype-codepoints - __webpack_require__(7)({ target: 'String', proto: true }, { - codePoints: function codePoints() { - return new $StringIterator(String(requireObjectCoercible(this))); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var shared = __webpack_require__(33); + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + var isSymbol = __webpack_require__(21); + var wellKnownSymbol = __webpack_require__(32); + + var Symbol = getBuiltIn('Symbol'); + var $isWellKnownSymbol = Symbol.isWellKnownSymbol; + var getOwnPropertyNames = getBuiltIn('Object', 'getOwnPropertyNames'); + var thisSymbolValue = uncurryThis(Symbol.prototype.valueOf); + var WellKnownSymbolsStore = shared('wks'); + + for (var i = 0, symbolKeys = getOwnPropertyNames(Symbol), symbolKeysLength = symbolKeys.length; i < symbolKeysLength; i++) { + // some old engines throws on access to some keys like `arguments` or `caller` + try { + var symbolKey = symbolKeys[i]; + if (isSymbol(Symbol[symbolKey])) wellKnownSymbol(symbolKey); + } catch (error) { /* empty */ } + } + + // `Symbol.isWellKnownSymbol` method + // https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol + // We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected + module.exports = function isWellKnownSymbol(value) { + if ($isWellKnownSymbol && $isWellKnownSymbol(value)) return true; + try { + var symbol = thisSymbolValue(value); + for (var j = 0, keys = getOwnPropertyNames(WellKnownSymbolsStore), keysLength = keys.length; j < keysLength; j++) { + // eslint-disable-next-line eqeqeq -- polyfilled symbols case + if (WellKnownSymbolsStore[keys[j]] == symbol) return true; + } + } catch (error) { /* empty */ } + return false; + }; + + + /***/ }), /* 423 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var createIteratorConstructor = __webpack_require__(104); - var requireObjectCoercible = __webpack_require__(14); - var toLength = __webpack_require__(36); - var aFunction = __webpack_require__(79); - var anObject = __webpack_require__(21); - var classof = __webpack_require__(98); - var getFlags = __webpack_require__(255); - var hide = __webpack_require__(19); - var speciesConstructor = __webpack_require__(136); - var advanceStringIndex = __webpack_require__(270); - var MATCH_ALL = __webpack_require__(43)('matchAll'); - var IS_PURE = __webpack_require__(6); - var REGEXP_STRING = 'RegExp String'; - var REGEXP_STRING_ITERATOR = REGEXP_STRING + ' Iterator'; - var InternalStateModule = __webpack_require__(26); - var setInternalState = InternalStateModule.set; - var getInternalState = InternalStateModule.getterFor(REGEXP_STRING_ITERATOR); - var RegExpPrototype = RegExp.prototype; - var regExpBuiltinExec = RegExpPrototype.exec; - - var regExpExec = function (R, S) { - var exec = R.exec; - var result; - if (typeof exec == 'function') { - result = exec.call(R, S); - if (typeof result != 'object') throw TypeError('Incorrect exec result'); - return result; - } return regExpBuiltinExec.call(R, S); - }; - - // eslint-disable-next-line max-len - var $RegExpStringIterator = createIteratorConstructor(function RegExpStringIterator(regexp, string, global, fullUnicode) { - setInternalState(this, { - type: REGEXP_STRING_ITERATOR, - regexp: regexp, - string: string, - global: global, - unicode: fullUnicode, - done: false - }); - }, REGEXP_STRING, function next() { - var state = getInternalState(this); - if (state.done) return { value: undefined, done: true }; - var R = state.regexp; - var S = state.string; - var match = regExpExec(R, S); - if (match === null) return { value: undefined, done: state.done = true }; - if (state.global) { - if (String(match[0]) == '') R.lastIndex = advanceStringIndex(S, toLength(R.lastIndex), state.unicode); - return { value: match, done: false }; - } - state.done = true; - return { value: match, done: false }; - }); - - var $matchAll = function (string) { - var R = anObject(this); - var S = String(string); - var C, flags, matcher, global, fullUnicode; - C = speciesConstructor(R, RegExp); - flags = 'flags' in RegExpPrototype ? String(R.flags) : getFlags.call(R); - matcher = new C(C === RegExp ? R.source : R, flags); - global = !!~flags.indexOf('g'); - fullUnicode = !!~flags.indexOf('u'); - matcher.lastIndex = toLength(R.lastIndex); - return new $RegExpStringIterator(matcher, S, global, fullUnicode); - }; - - // `String.prototype.matchAll` method - // https://github.com/tc39/proposal-string-matchall - __webpack_require__(7)({ target: 'String', proto: true }, { - matchAll: function matchAll(regexp) { - var O = requireObjectCoercible(this); - var S, matcher, rx; - if (regexp != null) { - matcher = regexp[MATCH_ALL]; - if (matcher === undefined && IS_PURE && classof(regexp) == 'RegExp') matcher = $matchAll; - if (matcher != null) return aFunction(matcher).call(regexp, O); - } - S = String(O); - rx = new RegExp(regexp, 'g'); - return IS_PURE ? $matchAll.call(rx, S) : rx[MATCH_ALL](S); - } - }); - - IS_PURE || MATCH_ALL in RegExpPrototype || hide(RegExpPrototype, MATCH_ALL, $matchAll); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var isWellKnownSymbol = __webpack_require__(422); + + // `Symbol.isWellKnown` method + // obsolete version of https://tc39.es/proposal-symbol-predicates/#sec-symbol-iswellknownsymbol + // We should patch it for newly added well-known symbols. If it's not required, this module just will not be injected + $({ target: 'Symbol', stat: true, name: 'isWellKnownSymbol', forced: true }, { + isWellKnown: isWellKnownSymbol + }); + + + /***/ }), /* 424 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var requireObjectCoercible = __webpack_require__(14); - var isRegExp = __webpack_require__(254); - var getRegExpFlags = __webpack_require__(255); - var ESCAPE_REGEXP = /[\\^$*+?.()|[\]{}]/g; - - // `String.prototype.replaceAll` method - // https://github.com/tc39/proposal-string-replace-all - __webpack_require__(7)({ target: 'String', proto: true }, { - replaceAll: function replaceAll(searchValue, replaceValue) { - var O = requireObjectCoercible(this); - var search, flags; - if (isRegExp(searchValue)) { - flags = getRegExpFlags.call(searchValue); - search = new RegExp(searchValue.source, ~flags.indexOf('g') ? flags : flags + 'g'); - } else { - search = new RegExp(String(searchValue).replace(ESCAPE_REGEXP, '\\$&'), 'g'); - } - return String(O).replace(search, replaceValue); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineWellKnownSymbol = __webpack_require__(414); + + // `Symbol.matcher` well-known symbol + // https://github.com/tc39/proposal-pattern-matching + defineWellKnownSymbol('matcher'); + + + /***/ }), /* 425 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.patternMatch` well-known symbol - // https://github.com/tc39/proposal-using-statement - __webpack_require__(46)('dispose'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineWellKnownSymbol = __webpack_require__(414); + + // `Symbol.metadata` well-known symbol + // https://github.com/tc39/proposal-decorators + defineWellKnownSymbol('metadata'); + + + /***/ }), /* 426 */ - /***/ (function (module, exports, __webpack_require__) { - - // https://github.com/tc39/proposal-observable - __webpack_require__(46)('observable'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var defineWellKnownSymbol = __webpack_require__(414); + + // `Symbol.metadataKey` well-known symbol + // https://github.com/tc39/proposal-decorator-metadata + defineWellKnownSymbol('metadataKey'); + + + /***/ }), /* 427 */ - /***/ (function (module, exports, __webpack_require__) { - - // `Symbol.patternMatch` well-known symbol - // https://github.com/tc39/proposal-pattern-matching - __webpack_require__(46)('patternMatch'); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineWellKnownSymbol = __webpack_require__(414); + + // `Symbol.observable` well-known symbol + // https://github.com/tc39/proposal-observable + defineWellKnownSymbol('observable'); + + + /***/ }), /* 428 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var collectionDeleteAll = __webpack_require__(350); - - // `WeakMap.prototype.deleteAll` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ - target: 'WeakMap', proto: true, real: true, forced: __webpack_require__(6) - }, { - deleteAll: function deleteAll(/* ...elements */) { - return collectionDeleteAll.apply(this, arguments); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var getBuiltIn = __webpack_require__(22); + var aConstructor = __webpack_require__(142); + var arrayFromAsync = __webpack_require__(195); + var ArrayBufferViewCore = __webpack_require__(181); + var arrayFromConstructorAndList = __webpack_require__(112); + + var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; + var exportTypedArrayStaticMethod = ArrayBufferViewCore.exportTypedArrayStaticMethod; + + // `%TypedArray%.fromAsync` method + // https://github.com/tc39/proposal-array-from-async + exportTypedArrayStaticMethod('fromAsync', function fromAsync(asyncItems /* , mapfn = undefined, thisArg = undefined */) { + var C = this; + var argumentsLength = arguments.length; + var mapfn = argumentsLength > 1 ? arguments[1] : undefined; + var thisArg = argumentsLength > 2 ? arguments[2] : undefined; + return new (getBuiltIn('Promise'))(function (resolve) { + aConstructor(C); + resolve(arrayFromAsync(asyncItems, mapfn, thisArg)); + }).then(function (list) { + return arrayFromConstructorAndList(aTypedArrayConstructor(C), list); + }); + }, true); + + + /***/ }), /* 429 */ - /***/ (function (module, exports, __webpack_require__) { - - // `WeakMap.from` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from - __webpack_require__(7)({ target: 'WeakMap', stat: true }, { - from: __webpack_require__(358) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var ArrayBufferViewCore = __webpack_require__(181); + var $filterReject = __webpack_require__(205).filterReject; + var fromSpeciesAndList = __webpack_require__(430); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.filterReject` method + // https://github.com/tc39/proposal-array-filtering + exportTypedArrayMethod('filterReject', function filterReject(callbackfn /* , thisArg */) { + var list = $filterReject(aTypedArray(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return fromSpeciesAndList(this, list); + }, true); + + + /***/ }), /* 430 */ - /***/ (function (module, exports, __webpack_require__) { - - // `WeakMap.of` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of - __webpack_require__(7)({ target: 'WeakMap', stat: true }, { - of: __webpack_require__(368) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var arrayFromConstructorAndList = __webpack_require__(112); + var typedArraySpeciesConstructor = __webpack_require__(431); + + module.exports = function (instance, list) { + return arrayFromConstructorAndList(typedArraySpeciesConstructor(instance), list); + }; + + + /***/ }), /* 431 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var collectionAddAll = __webpack_require__(402); - var IS_PURE = __webpack_require__(6); - - // `WeakSet.prototype.addAll` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'WeakSet', proto: true, real: true, forced: IS_PURE }, { - addAll: function addAll(/* ...elements */) { - return collectionAddAll.apply(this, arguments); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var ArrayBufferViewCore = __webpack_require__(181); + var speciesConstructor = __webpack_require__(141); + + var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + + // a part of `TypedArraySpeciesCreate` abstract operation + // https://tc39.es/ecma262/#typedarray-species-create + module.exports = function (originalArray) { + return aTypedArrayConstructor(speciesConstructor(originalArray, getTypedArrayConstructor(originalArray))); + }; + + + /***/ }), /* 432 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - var collectionDeleteAll = __webpack_require__(350); - var IS_PURE = __webpack_require__(6); - - // `WeakSet.prototype.deleteAll` method - // https://github.com/tc39/proposal-collection-methods - __webpack_require__(7)({ target: 'WeakSet', proto: true, real: true, forced: IS_PURE }, { - deleteAll: function deleteAll(/* ...elements */) { - return collectionDeleteAll.apply(this, arguments); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var ArrayBufferViewCore = __webpack_require__(181); + var $group = __webpack_require__(209); + var typedArraySpeciesConstructor = __webpack_require__(431); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + + // `%TypedArray%.prototype.groupBy` method + // https://github.com/tc39/proposal-array-grouping + exportTypedArrayMethod('groupBy', function groupBy(callbackfn /* , thisArg */) { + var thisArg = arguments.length > 1 ? arguments[1] : undefined; + return $group(aTypedArray(this), callbackfn, thisArg, typedArraySpeciesConstructor); + }, true); + + + /***/ }), /* 433 */ - /***/ (function (module, exports, __webpack_require__) { - - // `WeakSet.from` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from - __webpack_require__(7)({ target: 'WeakSet', stat: true }, { - from: __webpack_require__(358) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove from `core-js@4` + var ArrayBufferViewCore = __webpack_require__(181); + var lengthOfArrayLike = __webpack_require__(62); + var isBigIntArray = __webpack_require__(191); + var toAbsoluteIndex = __webpack_require__(59); + var toBigInt = __webpack_require__(192); + var toIntegerOrInfinity = __webpack_require__(60); + var fails = __webpack_require__(6); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var max = Math.max; + var min = Math.min; + + // some early implementations, like WebKit, does not follow the final semantic + var PROPER_ORDER = !fails(function () { + // eslint-disable-next-line es/no-typed-arrays -- required for testing + var array = new Int8Array([1]); + + var spliced = array.toSpliced(1, 0, { + valueOf: function () { + array[0] = 2; + return 3; + } + }); + + return spliced[0] !== 2 || spliced[1] !== 3; + }); + + // `%TypedArray%.prototype.toSpliced` method + // https://tc39.es/proposal-change-array-by-copy/#sec-%typedarray%.prototype.toSpliced + exportTypedArrayMethod('toSpliced', function toSpliced(start, deleteCount /* , ...items */) { + var O = aTypedArray(this); + var C = getTypedArrayConstructor(O); + var len = lengthOfArrayLike(O); + var actualStart = toAbsoluteIndex(start, len); + var argumentsLength = arguments.length; + var k = 0; + var insertCount, actualDeleteCount, thisIsBigIntArray, convertedItems, value, newLen, A; + if (argumentsLength === 0) { + insertCount = actualDeleteCount = 0; + } else if (argumentsLength === 1) { + insertCount = 0; + actualDeleteCount = len - actualStart; + } else { + actualDeleteCount = min(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart); + insertCount = argumentsLength - 2; + if (insertCount) { + convertedItems = new C(insertCount); + thisIsBigIntArray = isBigIntArray(convertedItems); + for (var i = 2; i < argumentsLength; i++) { + value = arguments[i]; + // FF30- typed arrays doesn't properly convert objects to typed array values + convertedItems[i - 2] = thisIsBigIntArray ? toBigInt(value) : +value; + } + } + } + newLen = len + insertCount - actualDeleteCount; + A = new C(newLen); + + for (; k < actualStart; k++) A[k] = O[k]; + for (; k < actualStart + insertCount; k++) A[k] = convertedItems[k - actualStart]; + for (; k < newLen; k++) A[k] = O[k + actualDeleteCount - insertCount]; + + return A; + }, !PROPER_ORDER); + + + /***/ }), /* 434 */ - /***/ (function (module, exports, __webpack_require__) { - - // `WeakSet.of` method - // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of - __webpack_require__(7)({ target: 'WeakSet', stat: true }, { - of: __webpack_require__(368) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + var ArrayBufferViewCore = __webpack_require__(181); + var arrayFromConstructorAndList = __webpack_require__(112); + var $arrayUniqueBy = __webpack_require__(219); + + var aTypedArray = ArrayBufferViewCore.aTypedArray; + var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; + var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; + var arrayUniqueBy = uncurryThis($arrayUniqueBy); + + // `%TypedArray%.prototype.uniqueBy` method + // https://github.com/tc39/proposal-array-unique + exportTypedArrayMethod('uniqueBy', function uniqueBy(resolver) { + aTypedArray(this); + return arrayFromConstructorAndList(getTypedArrayConstructor(this), arrayUniqueBy(this, resolver)); + }, true); + + + /***/ }), /* 435 */ - /***/ (function (module, exports, __webpack_require__) { - - var DOMIterables = __webpack_require__(436); - var forEach = __webpack_require__(90); - var hide = __webpack_require__(19); - var global = __webpack_require__(2); - - for (var COLLECTION_NAME in DOMIterables) { - var Collection = global[COLLECTION_NAME]; - var CollectionPrototype = Collection && Collection.prototype; - // some Chrome versions have non-configurable methods on DOMTokenList - if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try { - hide(CollectionPrototype, 'forEach', forEach); - } catch (e) { - CollectionPrototype.forEach = forEach; - } - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var uncurryThis = __webpack_require__(13); + var anObjectOrUndefined = __webpack_require__(436); + var aString = __webpack_require__(437); + var hasOwn = __webpack_require__(37); + var arrayFromConstructorAndList = __webpack_require__(112); + var base64Map = __webpack_require__(438); + var getAlphabetOption = __webpack_require__(439); + + var base64Alphabet = base64Map.c2i; + var base64UrlAlphabet = base64Map.c2iUrl; + + var Uint8Array = global.Uint8Array; + var SyntaxError = global.SyntaxError; + var charAt = uncurryThis(''.charAt); + var replace = uncurryThis(''.replace); + var stringSlice = uncurryThis(''.slice); + var push = uncurryThis([].push); + var SPACES = /[\t\n\f\r ]/g; + var EXTRA_BITS = 'Extra bits'; + + // `Uint8Array.fromBase64` method + // https://github.com/tc39/proposal-arraybuffer-base64 + if (Uint8Array) $({ target: 'Uint8Array', stat: true, forced: true }, { + fromBase64: function fromBase64(string /* , options */) { + aString(string); + var options = arguments.length > 1 ? anObjectOrUndefined(arguments[1]) : undefined; + var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet; + var strict = options ? !!options.strict : false; + + var input = strict ? string : replace(string, SPACES, ''); + + if (input.length % 4 === 0) { + if (stringSlice(input, -2) === '==') input = stringSlice(input, 0, -2); + else if (stringSlice(input, -1) === '=') input = stringSlice(input, 0, -1); + } else if (strict) throw new SyntaxError('Input is not correctly padded'); + + var lastChunkSize = input.length % 4; + + switch (lastChunkSize) { + case 1: throw new SyntaxError('Bad input length'); + case 2: input += 'AA'; break; + case 3: input += 'A'; + } + + var bytes = []; + var i = 0; + var inputLength = input.length; + + var at = function (shift) { + var chr = charAt(input, i + shift); + if (!hasOwn(alphabet, chr)) throw new SyntaxError('Bad char in input: "' + chr + '"'); + return alphabet[chr] << (18 - 6 * shift); + }; + + for (; i < inputLength; i += 4) { + var triplet = at(0) + at(1) + at(2) + at(3); + push(bytes, (triplet >> 16) & 255, (triplet >> 8) & 255, triplet & 255); + } + + var byteLength = bytes.length; + + if (lastChunkSize === 2) { + if (strict && bytes[byteLength - 2] !== 0) throw new SyntaxError(EXTRA_BITS); + byteLength -= 2; + } else if (lastChunkSize === 3) { + if (strict && bytes[byteLength - 1] !== 0) throw new SyntaxError(EXTRA_BITS); + byteLength--; + } + + return arrayFromConstructorAndList(Uint8Array, bytes, byteLength); + } + }); + + + /***/ }), /* 436 */ - /***/ (function (module, exports) { - - // iterable DOM collections - // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods - module.exports = { - CSSRuleList: 0, - CSSStyleDeclaration: 0, - CSSValueList: 0, - ClientRectList: 0, - DOMRectList: 0, - DOMStringList: 0, - DOMTokenList: 1, - DataTransferItemList: 0, - FileList: 0, - HTMLAllCollection: 0, - HTMLCollection: 0, - HTMLFormElement: 0, - HTMLSelectElement: 0, - MediaList: 0, - MimeTypeArray: 0, - NamedNodeMap: 0, - NodeList: 1, - PaintRequestList: 0, - Plugin: 0, - PluginArray: 0, - SVGLengthList: 0, - SVGNumberList: 0, - SVGPathSegList: 0, - SVGPointList: 0, - SVGStringList: 0, - SVGTransformList: 0, - SourceBufferList: 0, - StyleSheetList: 0, - TextTrackCueList: 0, - TextTrackList: 0, - TouchList: 0 - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var isObject = __webpack_require__(19); + + var $String = String; + var $TypeError = TypeError; + + module.exports = function (argument) { + if (argument === undefined || isObject(argument)) return argument; + throw new $TypeError($String(argument) + ' is not an object or undefined'); + }; + + + /***/ }), /* 437 */ - /***/ (function (module, exports, __webpack_require__) { - - var DOMIterables = __webpack_require__(436); - var ArrayIteratorMethods = __webpack_require__(102); - var global = __webpack_require__(2); - var hide = __webpack_require__(19); - var wellKnownSymbol = __webpack_require__(43); - var ITERATOR = wellKnownSymbol('iterator'); - var TO_STRING_TAG = wellKnownSymbol('toStringTag'); - var ArrayValues = ArrayIteratorMethods.values; - - for (var COLLECTION_NAME in DOMIterables) { - var Collection = global[COLLECTION_NAME]; - var CollectionPrototype = Collection && Collection.prototype; - if (CollectionPrototype) { - // some Chrome versions have non-configurable methods on DOMTokenList - if (CollectionPrototype[ITERATOR] !== ArrayValues) try { - hide(CollectionPrototype, ITERATOR, ArrayValues); - } catch (e) { - CollectionPrototype[ITERATOR] = ArrayValues; - } - if (!CollectionPrototype[TO_STRING_TAG]) hide(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME); - if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) { - // some Chrome versions have non-configurable methods on DOMTokenList - if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try { - hide(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]); - } catch (e) { - CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME]; - } - } - } - } - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $TypeError = TypeError; + + module.exports = function (argument) { + if (typeof argument == 'string') return argument; + throw new $TypeError('Argument is not a string'); + }; + + + /***/ }), /* 438 */ - /***/ (function (module, exports, __webpack_require__) { - - var global = __webpack_require__(2); - var task = __webpack_require__(232); - var FORCED = !global.setImmediate || !global.clearImmediate; - - __webpack_require__(7)({ global: true, bind: true, enumerable: true, forced: FORCED }, { - setImmediate: task.set, - clearImmediate: task.clear - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var commonAlphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; + var base64Alphabet = commonAlphabet + '+/'; + var base64UrlAlphabet = commonAlphabet + '-_'; + + var inverse = function (characters) { + // TODO: use `Object.create(null)` in `core-js@4` + var result = {}; + var index = 0; + for (; index < 64; index++) result[characters.charAt(index)] = index; + return result; + }; + + module.exports = { + i2c: base64Alphabet, + c2i: inverse(base64Alphabet), + i2cUrl: base64UrlAlphabet, + c2iUrl: inverse(base64UrlAlphabet) + }; + + + /***/ }), /* 439 */ - /***/ (function (module, exports, __webpack_require__) { - - // `queueMicrotask` method - // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask - var microtask = __webpack_require__(233); - var process = __webpack_require__(2).process; - var isNode = __webpack_require__(13)(process) == 'process'; - - __webpack_require__(7)({ global: true, enumerable: true, noTargetGet: true }, { - queueMicrotask: function queueMicrotask(fn) { - var domain = isNode && process.domain; - microtask(domain ? domain.bind(fn) : fn); - } - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $TypeError = TypeError; + + module.exports = function (options) { + var alphabet = options && options.alphabet; + if (alphabet === undefined || alphabet === 'base64' || alphabet === 'base64url') return alphabet || 'base64'; + throw new $TypeError('Incorrect `alphabet` option'); + }; + + + /***/ }), /* 440 */ - /***/ (function (module, exports, __webpack_require__) { - - // ie9- setTimeout & setInterval additional parameters fix - var global = __webpack_require__(2); - var userAgent = __webpack_require__(234); - var slice = [].slice; - - var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check - - var wrap = function (set) { - return function (fn, time /* , ...args */) { - var boundArgs = arguments.length > 2; - var args = boundArgs ? slice.call(arguments, 2) : false; - return set(boundArgs ? function () { - // eslint-disable-next-line no-new-func - (typeof fn == 'function' ? fn : Function(fn)).apply(this, args); - } : fn, time); - }; - }; - - __webpack_require__(7)({ global: true, bind: true, forced: MSIE }, { - setTimeout: wrap(global.setTimeout), - setInterval: wrap(global.setInterval) - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var uncurryThis = __webpack_require__(13); + var aString = __webpack_require__(437); + + var Uint8Array = global.Uint8Array; + var SyntaxError = global.SyntaxError; + var parseInt = global.parseInt; + var NOT_HEX = /[^\da-f]/i; + var exec = uncurryThis(NOT_HEX.exec); + var stringSlice = uncurryThis(''.slice); + + // `Uint8Array.fromHex` method + // https://github.com/tc39/proposal-arraybuffer-base64 + if (Uint8Array) $({ target: 'Uint8Array', stat: true, forced: true }, { + fromHex: function fromHex(string) { + aString(string); + var stringLength = string.length; + if (stringLength % 2) throw new SyntaxError('String should have an even number of characters'); + if (exec(NOT_HEX, string)) throw new SyntaxError('String should only contain hex characters'); + var result = new Uint8Array(stringLength / 2); + for (var i = 0; i < stringLength; i += 2) { + result[i / 2] = parseInt(stringSlice(string, i, i + 2), 16); + } + return result; + } + }); + + + /***/ }), /* 441 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - __webpack_require__(268); - // var DEBUG = true; - var DESCRIPTORS = __webpack_require__(4); - var USE_NATIVE_URL = __webpack_require__(442); - var NativeURL = __webpack_require__(2).URL; - var defineProperties = __webpack_require__(52); - var redefine = __webpack_require__(22); - var anInstance = __webpack_require__(132); - var has = __webpack_require__(3); - var assign = __webpack_require__(200); - var arrayFrom = __webpack_require__(93); - var codePointAt = __webpack_require__(262); - var toASCII = __webpack_require__(443); - var URLSearchParamsModule = __webpack_require__(444); - var URLSearchParams = URLSearchParamsModule.URLSearchParams; - var getInternalSearchParamsState = URLSearchParamsModule.getState; - var InternalStateModule = __webpack_require__(26); - var setInternalState = InternalStateModule.set; - var getInternalURLState = InternalStateModule.getterFor('URL'); - var pow = Math.pow; - - var INVALID_AUTHORITY = 'Invalid authority'; - var INVALID_SCHEME = 'Invalid scheme'; - var INVALID_HOST = 'Invalid host'; - var INVALID_PORT = 'Invalid port'; - - var ALPHA = /[a-zA-Z]/; - var ALPHANUMERIC = /[a-zA-Z0-9+\-.]/; - var DIGIT = /[0-9]/; - var HEX_START = /^(0x|0X)/; - var OCT = /^[0-7]+$/; - var DEC = /^[0-9]+$/; - var HEX = /^[0-9A-Fa-f]+$/; - // eslint-disable-next-line no-control-regex - var FORBIDDEN_HOST_CODE_POINT = /\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/; - // eslint-disable-next-line no-control-regex - var FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT = /\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/; - // eslint-disable-next-line no-control-regex - var LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE = /^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g; - // eslint-disable-next-line no-control-regex - var TAB_AND_NEW_LINE = /\u0009|\u000A|\u000D/g; - var EOF; - - var parseHost = function (url, input) { - var result, codePoints, i; - if (input.charAt(0) == '[') { - if (input.charAt(input.length - 1) != ']') return INVALID_HOST; - result = parseIPv6(input.slice(1, -1)); - if (!result) return INVALID_HOST; - url.host = result; - // opaque host - } else if (!isSpecial(url)) { - if (FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT.test(input)) return INVALID_HOST; - result = ''; - codePoints = arrayFrom(input); - for (i = 0; i < codePoints.length; i++) result += percentEncode(codePoints[i], C0ControlPercentEncodeSet); - url.host = result; - } else { - input = toASCII(input); - if (FORBIDDEN_HOST_CODE_POINT.test(input)) return INVALID_HOST; - result = parseIPv4(input); - if (result === null) return INVALID_HOST; - url.host = result; - } - }; - - var parseIPv4 = function (input) { - var parts = input.split('.'); - var partsLength, numbers, i, part, R, n, ipv4; - if (parts[parts.length - 1] == '') { - if (parts.length) parts.pop(); - } - partsLength = parts.length; - if (partsLength > 4) return input; - numbers = []; - for (i = 0; i < partsLength; i++) { - part = parts[i]; - if (part == '') return input; - R = 10; - if (part.length > 1 && part.charAt(0) == '0') { - R = HEX_START.test(part) ? 16 : 8; - part = part.slice(R == 8 ? 1 : 2); - } - if (part === '') { - n = 0; - } else { - if (!(R == 10 ? DEC : R == 8 ? OCT : HEX).test(part)) return input; - n = parseInt(part, R); - } - numbers.push(n); - } - for (i = 0; i < partsLength; i++) { - n = numbers[i]; - if (i == partsLength - 1) { - if (n >= pow(256, 5 - partsLength)) return null; - } else if (n > 255) return null; - } - ipv4 = numbers.pop(); - for (i = 0; i < numbers.length; i++) { - ipv4 += numbers[i] * pow(256, 3 - i); - } - return ipv4; - }; - - // eslint-disable-next-line max-statements - var parseIPv6 = function (input) { - var address = [0, 0, 0, 0, 0, 0, 0, 0]; - var pieceIndex = 0; - var compress = null; - var pointer = 0; - var value, length, numbersSeen, ipv4Piece, number, swaps, swap; - - var char = function () { - return input.charAt(pointer); - }; - - if (char() == ':') { - if (input.charAt(1) != ':') return; - pointer += 2; - pieceIndex++; - compress = pieceIndex; - } - while (char()) { - if (pieceIndex == 8) return; - if (char() == ':') { - if (compress !== null) return; - pointer++; - pieceIndex++; - compress = pieceIndex; - continue; - } - value = length = 0; - while (length < 4 && HEX.test(char())) { - value = value * 16 + parseInt(char(), 16); - pointer++; - length++; - } - if (char() == '.') { - if (length == 0) return; - pointer -= length; - if (pieceIndex > 6) return; - numbersSeen = 0; - while (char()) { - ipv4Piece = null; - if (numbersSeen > 0) { - if (char() == '.' && numbersSeen < 4) pointer++; - else return; - } - if (!DIGIT.test(char())) return; - while (DIGIT.test(char())) { - number = parseInt(char(), 10); - if (ipv4Piece === null) ipv4Piece = number; - else if (ipv4Piece == 0) return; - else ipv4Piece = ipv4Piece * 10 + number; - if (ipv4Piece > 255) return; - pointer++; - } - address[pieceIndex] = address[pieceIndex] * 256 + ipv4Piece; - numbersSeen++; - if (numbersSeen == 2 || numbersSeen == 4) pieceIndex++; - } - if (numbersSeen != 4) return; - break; - } else if (char() == ':') { - pointer++; - if (!char()) return; - } else if (char()) return; - address[pieceIndex++] = value; - } - if (compress !== null) { - swaps = pieceIndex - compress; - pieceIndex = 7; - while (pieceIndex != 0 && swaps > 0) { - swap = address[pieceIndex]; - address[pieceIndex--] = address[compress + swaps - 1]; - address[compress + --swaps] = swap; - } - } else if (pieceIndex != 8) return; - return address; - }; - - var findLongestZeroSequence = function (ipv6) { - var maxIndex = null; - var maxLength = 1; - var currStart = null; - var currLength = 0; - var i = 0; - for (; i < 8; i++) { - if (ipv6[i] !== 0) { - if (currLength > maxLength) { - maxIndex = currStart; - maxLength = currLength; - } - currStart = null; - currLength = 0; - } else { - if (currStart === null) currStart = i; - ++currLength; - } - } - if (currLength > maxLength) { - maxIndex = currStart; - maxLength = currLength; - } - return maxIndex; - }; - - var serializeHost = function (host) { - var result, i, compress, ignore0; - // ipv4 - if (typeof host == 'number') { - result = []; - for (i = 0; i < 4; i++) { - result.unshift(host % 256); - host = Math.floor(host / 256); - } return result.join('.'); - // ipv6 - } else if (typeof host == 'object') { - result = ''; - compress = findLongestZeroSequence(host); - for (i = 0; i < 8; i++) { - if (ignore0 && host[i] === 0) continue; - if (ignore0) ignore0 = false; - if (compress === i) { - result += i ? ':' : '::'; - ignore0 = true; - } else { - result += host[i].toString(16); - if (i < 7) result += ':'; - } - } - return '[' + result + ']'; - } return host; - }; - - var C0ControlPercentEncodeSet = {}; - var fragmentPercentEncodeSet = assign({}, C0ControlPercentEncodeSet, { - ' ': 1, '"': 1, '<': 1, '>': 1, '`': 1 - }); - var pathPercentEncodeSet = assign({}, fragmentPercentEncodeSet, { - '#': 1, '?': 1, '{': 1, '}': 1 - }); - var userinfoPercentEncodeSet = assign({}, pathPercentEncodeSet, { - '/': 1, ':': 1, ';': 1, '=': 1, '@': 1, '[': 1, '\\': 1, ']': 1, '^': 1, '|': 1 - }); - - var percentEncode = function (char, set) { - var code = codePointAt(char, 0); - return code > 0x20 && code < 0x7F && !has(set, char) ? char : encodeURIComponent(char); - }; - - var specialSchemes = { - ftp: 21, - file: null, - gopher: 70, - http: 80, - https: 443, - ws: 80, - wss: 443 - }; - - var isSpecial = function (url) { - return has(specialSchemes, url.scheme); - }; - - var includesCredentials = function (url) { - return url.username != '' || url.password != ''; - }; - - var cannotHaveUsernamePasswordPort = function (url) { - return !url.host || url.cannotBeABaseURL || url.scheme == 'file'; - }; - - var isWindowsDriveLetter = function (string, normalized) { - var second; - return string.length == 2 && ALPHA.test(string.charAt(0)) - && ((second = string.charAt(1)) == ':' || (!normalized && second == '|')); - }; - - var startsWithWindowsDriveLetter = function (string) { - var third; - return string.length > 1 && isWindowsDriveLetter(string.slice(0, 2)) && ( - string.length == 2 || - ((third = string.charAt(2)) === '/' || third === '\\' || third === '?' || third === '#') - ); - }; - - var shortenURLsPath = function (url) { - var path = url.path; - var pathSize = path.length; - if (pathSize && (url.scheme != 'file' || pathSize != 1 || !isWindowsDriveLetter(path[0], true))) { - path.pop(); - } - }; - - var isSingleDot = function (segment) { - return segment === '.' || segment.toLowerCase() === '%2e'; - }; - - var isDoubleDot = function (segment) { - segment = segment.toLowerCase(); - return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e'; - }; - - // States: - var SCHEME_START = {}; // 'SCHEME_START'; - var SCHEME = {}; // 'SCHEME'; - var NO_SCHEME = {}; // 'NO_SCHEME'; - var SPECIAL_RELATIVE_OR_AUTHORITY = {}; // 'SPECIAL_RELATIVE_OR_AUTHORITY'; - var PATH_OR_AUTHORITY = {}; // 'PATH_OR_AUTHORITY'; - var RELATIVE = {}; // 'RELATIVE'; - var RELATIVE_SLASH = {}; // 'RELATIVE_SLASH'; - var SPECIAL_AUTHORITY_SLASHES = {}; // 'SPECIAL_AUTHORITY_SLASHES'; - var SPECIAL_AUTHORITY_IGNORE_SLASHES = {}; // 'SPECIAL_AUTHORITY_IGNORE_SLASHES'; - var AUTHORITY = {}; // 'AUTHORITY'; - var HOST = {}; // 'HOST'; - var HOSTNAME = {}; // 'HOSTNAME'; - var PORT = {}; // 'PORT'; - var FILE = {}; // 'FILE'; - var FILE_SLASH = {}; // 'FILE_SLASH'; - var FILE_HOST = {}; // 'FILE_HOST'; - var PATH_START = {}; // 'PATH_START'; - var PATH = {}; // 'PATH'; - var CANNOT_BE_A_BASE_URL_PATH = {}; // 'CANNOT_BE_A_BASE_URL_PATH'; - var QUERY = {}; // 'QUERY'; - var FRAGMENT = {}; // 'FRAGMENT'; - - // eslint-disable-next-line max-statements - var parseURL = function (url, input, stateOverride, base) { - var state = stateOverride || SCHEME_START; - var pointer = 0; - var buffer = ''; - var seenAt = false; - var seenBracket = false; - var seenPasswordToken = false; - var codePoints, char, bufferCodePoints, failure; - - if (!stateOverride) { - url.scheme = ''; - url.username = ''; - url.password = ''; - url.host = null; - url.port = null; - url.path = []; - url.query = null; - url.fragment = null; - url.cannotBeABaseURL = false; - input = input.replace(LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE, ''); - } - - input = input.replace(TAB_AND_NEW_LINE, ''); - - codePoints = arrayFrom(input); - - while (pointer <= codePoints.length) { - char = codePoints[pointer]; - // eslint-disable-next-line - // if (DEBUG) console.log(pointer, char, state, buffer); - switch (state) { - case SCHEME_START: - if (char && ALPHA.test(char)) { - buffer += char.toLowerCase(); - state = SCHEME; - } else if (!stateOverride) { - state = NO_SCHEME; - continue; - } else return INVALID_SCHEME; - break; - - case SCHEME: - if (char && (ALPHANUMERIC.test(char) || char == '+' || char == '-' || char == '.')) { - buffer += char.toLowerCase(); - } else if (char == ':') { - if (stateOverride) { - if ( - (isSpecial(url) != has(specialSchemes, buffer)) || - (buffer == 'file' && (includesCredentials(url) || url.port !== null)) || - (url.scheme == 'file' && !url.host) - ) return; - } - url.scheme = buffer; - if (stateOverride) { - if (isSpecial(url) && specialSchemes[url.scheme] == url.port) url.port = null; - return; - } - buffer = ''; - if (url.scheme == 'file') { - state = FILE; - } else if (isSpecial(url) && base && base.scheme == url.scheme) { - state = SPECIAL_RELATIVE_OR_AUTHORITY; - } else if (isSpecial(url)) { - state = SPECIAL_AUTHORITY_SLASHES; - } else if (codePoints[pointer + 1] == '/') { - state = PATH_OR_AUTHORITY; - pointer++; - } else { - url.cannotBeABaseURL = true; - url.path.push(''); - state = CANNOT_BE_A_BASE_URL_PATH; - } - } else if (!stateOverride) { - buffer = ''; - state = NO_SCHEME; - pointer = 0; - continue; - } else return INVALID_SCHEME; - break; - - case NO_SCHEME: - if (!base || (base.cannotBeABaseURL && char != '#')) return INVALID_SCHEME; - if (base.cannotBeABaseURL && char == '#') { - url.scheme = base.scheme; - url.path = base.path.slice(); - url.query = base.query; - url.fragment = ''; - url.cannotBeABaseURL = true; - state = FRAGMENT; - break; - } - state = base.scheme == 'file' ? FILE : RELATIVE; - continue; - - case SPECIAL_RELATIVE_OR_AUTHORITY: - if (char == '/' && codePoints[pointer + 1] == '/') { - state = SPECIAL_AUTHORITY_IGNORE_SLASHES; - pointer++; - } else { - state = RELATIVE; - continue; - } break; - - case PATH_OR_AUTHORITY: - if (char == '/') { - state = AUTHORITY; - break; - } else { - state = PATH; - continue; - } - - case RELATIVE: - url.scheme = base.scheme; - if (char == EOF) { - url.username = base.username; - url.password = base.password; - url.host = base.host; - url.port = base.port; - url.path = base.path.slice(); - url.query = base.query; - } else if (char == '/' || (char == '\\' && isSpecial(url))) { - state = RELATIVE_SLASH; - } else if (char == '?') { - url.username = base.username; - url.password = base.password; - url.host = base.host; - url.port = base.port; - url.path = base.path.slice(); - url.query = ''; - state = QUERY; - } else if (char == '#') { - url.username = base.username; - url.password = base.password; - url.host = base.host; - url.port = base.port; - url.path = base.path.slice(); - url.query = base.query; - url.fragment = ''; - state = FRAGMENT; - } else { - url.username = base.username; - url.password = base.password; - url.host = base.host; - url.port = base.port; - url.path = base.path.slice(); - url.path.pop(); - state = PATH; - continue; - } break; - - case RELATIVE_SLASH: - if (isSpecial(url) && (char == '/' || char == '\\')) { - state = SPECIAL_AUTHORITY_IGNORE_SLASHES; - } else if (char == '/') { - state = AUTHORITY; - } else { - url.username = base.username; - url.password = base.password; - url.host = base.host; - url.port = base.port; - state = PATH; - continue; - } break; - - case SPECIAL_AUTHORITY_SLASHES: - state = SPECIAL_AUTHORITY_IGNORE_SLASHES; - if (char != '/' || buffer.charAt(pointer + 1) != '/') continue; - pointer++; - break; - - case SPECIAL_AUTHORITY_IGNORE_SLASHES: - if (char != '/' && char != '\\') { - state = AUTHORITY; - continue; - } break; - - case AUTHORITY: - if (char == '@') { - if (seenAt) buffer = '%40' + buffer; - seenAt = true; - bufferCodePoints = arrayFrom(buffer); - for (var i = 0; i < bufferCodePoints.length; i++) { - var codePoint = bufferCodePoints[i]; - if (codePoint == ':' && !seenPasswordToken) { - seenPasswordToken = true; - continue; - } - var encodedCodePoints = percentEncode(codePoint, userinfoPercentEncodeSet); - if (seenPasswordToken) url.password += encodedCodePoints; - else url.username += encodedCodePoints; - } - buffer = ''; - } else if ( - char == EOF || char == '/' || char == '?' || char == '#' || - (char == '\\' && isSpecial(url)) - ) { - if (seenAt && buffer == '') return INVALID_AUTHORITY; - pointer -= arrayFrom(buffer).length + 1; - buffer = ''; - state = HOST; - } else buffer += char; - break; - - case HOST: - case HOSTNAME: - if (stateOverride && url.scheme == 'file') { - state = FILE_HOST; - continue; - } else if (char == ':' && !seenBracket) { - if (buffer == '') return INVALID_HOST; - failure = parseHost(url, buffer); - if (failure) return failure; - buffer = ''; - state = PORT; - if (stateOverride == HOSTNAME) return; - } else if ( - char == EOF || char == '/' || char == '?' || char == '#' || - (char == '\\' && isSpecial(url)) - ) { - if (isSpecial(url) && buffer == '') return INVALID_HOST; - if (stateOverride && buffer == '' && (includesCredentials(url) || url.port !== null)) return; - failure = parseHost(url, buffer); - if (failure) return failure; - buffer = ''; - state = PATH_START; - if (stateOverride) return; - continue; - } else { - if (char == '[') seenBracket = true; - else if (char == ']') seenBracket = false; - buffer += char; - } break; - - case PORT: - if (DIGIT.test(char)) { - buffer += char; - } else if ( - char == EOF || char == '/' || char == '?' || char == '#' || - (char == '\\' && isSpecial(url)) || - stateOverride - ) { - if (buffer != '') { - var port = parseInt(buffer, 10); - if (port > 0xffff) return INVALID_PORT; - url.port = (isSpecial(url) && port === specialSchemes[url.scheme]) ? null : port; - buffer = ''; - } - if (stateOverride) return; - state = PATH_START; - continue; - } else return INVALID_PORT; - break; - - case FILE: - url.scheme = 'file'; - if (char == '/' || char == '\\') state = FILE_SLASH; - else if (base && base.scheme == 'file') { - if (char == EOF) { - url.host = base.host; - url.path = base.path.slice(); - url.query = base.query; - } else if (char == '?') { - url.host = base.host; - url.path = base.path.slice(); - url.query = ''; - state = QUERY; - } else if (char == '#') { - url.host = base.host; - url.path = base.path.slice(); - url.query = base.query; - url.fragment = ''; - state = FRAGMENT; - } else { - if (!startsWithWindowsDriveLetter(codePoints.slice(pointer).join(''))) { - url.host = base.host; - url.path = base.path.slice(); - shortenURLsPath(url); - } - state = PATH; - continue; - } - } else { - state = PATH; - continue; - } break; - - case FILE_SLASH: - if (char == '/' || char == '\\') { - state = FILE_HOST; - break; - } - if (base && base.scheme == 'file' && !startsWithWindowsDriveLetter(codePoints.slice(pointer).join(''))) { - if (isWindowsDriveLetter(base.path[0], true)) url.path.push(base.path[0]); - else url.host = base.host; - } - state = PATH; - continue; - - case FILE_HOST: - if (char == EOF || char == '/' || char == '\\' || char == '?' || char == '#') { - if (!stateOverride && isWindowsDriveLetter(buffer)) { - state = PATH; - } else if (buffer == '') { - url.host = ''; - if (stateOverride) return; - state = PATH_START; - } else { - failure = parseHost(url, buffer); - if (failure) return failure; - if (url.host == 'localhost') url.host = ''; - if (stateOverride) return; - buffer = ''; - state = PATH_START; - } continue; - } else buffer += char; - break; - - case PATH_START: - if (isSpecial(url)) { - state = PATH; - if (char != '/' && char != '\\') continue; - } else if (!stateOverride && char == '?') { - url.query = ''; - state = QUERY; - } else if (!stateOverride && char == '#') { - url.fragment = ''; - state = FRAGMENT; - } else if (char != EOF) { - state = PATH; - if (char != '/') continue; - } break; - - case PATH: - if ( - char == EOF || char == '/' || - (char == '\\' && isSpecial(url)) || - (!stateOverride && (char == '?' || char == '#')) - ) { - if (isDoubleDot(buffer)) { - shortenURLsPath(url); - if (char != '/' && !(char == '\\' && isSpecial(url))) { - url.path.push(''); - } - } else if (isSingleDot(buffer)) { - if (char != '/' && !(char == '\\' && isSpecial(url))) { - url.path.push(''); - } - } else { - if (url.scheme == 'file' && !url.path.length && isWindowsDriveLetter(buffer)) { - if (url.host) url.host = ''; - buffer = buffer.charAt(0) + ':'; // normalize windows drive letter - } - url.path.push(buffer); - } - buffer = ''; - if (url.scheme == 'file' && (char == EOF || char == '?' || char == '#')) { - while (url.path.length > 1 && url.path[0] === '') { - url.path.shift(); - } - } - if (char == '?') { - url.query = ''; - state = QUERY; - } else if (char == '#') { - url.fragment = ''; - state = FRAGMENT; - } - } else { - buffer += percentEncode(char, pathPercentEncodeSet); - } break; - - case CANNOT_BE_A_BASE_URL_PATH: - if (char == '?') { - url.query = ''; - state = QUERY; - } else if (char == '#') { - url.fragment = ''; - state = FRAGMENT; - } else if (char != EOF) { - url.path[0] += percentEncode(char, C0ControlPercentEncodeSet); - } break; - - case QUERY: - if (!stateOverride && char == '#') { - url.fragment = ''; - state = FRAGMENT; - } else if (char != EOF) { - if (char == "'" && isSpecial(url)) url.query += '%27'; - else if (char == '#') url.query += '%23'; - else url.query += percentEncode(char, C0ControlPercentEncodeSet); - } break; - - case FRAGMENT: - if (char != EOF) url.fragment += percentEncode(char, fragmentPercentEncodeSet); - break; - } - - pointer++; - } - }; - - // `URL` constructor - // https://url.spec.whatwg.org/#url-class - var URLConstructor = function URL(url /* , base */) { - var that = anInstance(this, URLConstructor, 'URL'); - var base = arguments.length > 1 ? arguments[1] : undefined; - var urlString = String(url); - var state = setInternalState(that, { type: 'URL' }); - var baseState, failure; - // if (DEBUG) this.state = state; - if (base !== undefined) { - if (base instanceof URLConstructor) baseState = getInternalURLState(base); - else { - failure = parseURL(baseState = {}, String(base)); - if (failure) throw TypeError(failure); - } - } - failure = parseURL(state, urlString, null, baseState); - if (failure) throw TypeError(failure); - var searchParams = state.searchParams = new URLSearchParams(); - var searchParamsState = getInternalSearchParamsState(searchParams); - searchParamsState.updateSearchParams(state.query); - searchParamsState.updateURL = function () { - state.query = String(searchParams) || null; - }; - if (!DESCRIPTORS) { - that.href = serializeURL.call(that); - that.origin = getOrigin.call(that); - that.protocol = getProtocol.call(that); - that.username = getUsername.call(that); - that.password = getPassword.call(that); - that.host = getHost.call(that); - that.hostname = getHostname.call(that); - that.port = getPort.call(that); - that.pathname = getPathname.call(that); - that.search = getSearch.call(that); - that.searchParams = getSearchParams.call(that); - that.hash = getHash.call(that); - } - }; - - var URLPrototype = URLConstructor.prototype; - - var serializeURL = function () { - var url = getInternalURLState(this); - var scheme = url.scheme; - var username = url.username; - var password = url.password; - var host = url.host; - var port = url.port; - var path = url.path; - var query = url.query; - var fragment = url.fragment; - var output = scheme + ':'; - if (host !== null) { - output += '//'; - if (includesCredentials(url)) { - output += username + (password ? ':' + password : '') + '@'; - } - output += serializeHost(host); - if (port !== null) output += ':' + port; - } else if (scheme == 'file') output += '//'; - output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + path.join('/') : ''; - if (query !== null) output += '?' + query; - if (fragment !== null) output += '#' + fragment; - return output; - }; - - var getOrigin = function () { - var url = getInternalURLState(this); - var scheme = url.scheme; - var port = url.port; - if (scheme == 'blob') try { - return new URL(scheme.path[0]).origin; - } catch (e) { - return 'null'; - } - if (scheme == 'file' || !isSpecial(url)) return 'null'; - return scheme + '://' + serializeHost(url.host) + (port !== null ? ':' + port : ''); - }; - - var getProtocol = function () { - return getInternalURLState(this).scheme + ':'; - }; - - var getUsername = function () { - return getInternalURLState(this).username; - }; - - var getPassword = function () { - return getInternalURLState(this).password; - }; - - var getHost = function () { - var url = getInternalURLState(this); - var host = url.host; - var port = url.port; - return host === null ? '' - : port === null ? serializeHost(host) - : serializeHost(host) + ':' + port; - }; - - var getHostname = function () { - var host = getInternalURLState(this).host; - return host === null ? '' : serializeHost(host); - }; - - var getPort = function () { - var port = getInternalURLState(this).port; - return port === null ? '' : String(port); - }; - - var getPathname = function () { - var url = getInternalURLState(this); - var path = url.path; - return url.cannotBeABaseURL ? path[0] : path.length ? '/' + path.join('/') : ''; - }; - - var getSearch = function () { - var query = getInternalURLState(this).query; - return query ? '?' + query : ''; - }; - - var getSearchParams = function () { - return getInternalURLState(this).searchParams; - }; - - var getHash = function () { - var fragment = getInternalURLState(this).fragment; - return fragment ? '#' + fragment : ''; - }; - - var accessorDescriptor = function (getter, setter) { - return { get: getter, set: setter, configurable: true, enumerable: true }; - }; - - if (DESCRIPTORS) { - defineProperties(URLPrototype, { - // `URL.prototype.href` accessors pair - // https://url.spec.whatwg.org/#dom-url-href - href: accessorDescriptor(serializeURL, function (href) { - var url = getInternalURLState(this); - var urlString = String(href); - var failure = parseURL(url, urlString); - if (failure) throw TypeError(failure); - getInternalSearchParamsState(url.searchParams).updateSearchParams(url.query); - }), - // `URL.prototype.origin` getter - // https://url.spec.whatwg.org/#dom-url-origin - origin: accessorDescriptor(getOrigin), - // `URL.prototype.protocol` accessors pair - // https://url.spec.whatwg.org/#dom-url-protocol - protocol: accessorDescriptor(getProtocol, function (protocol) { - var url = getInternalURLState(this); - parseURL(url, String(protocol) + ':', SCHEME_START); - }), - // `URL.prototype.username` accessors pair - // https://url.spec.whatwg.org/#dom-url-username - username: accessorDescriptor(getUsername, function (username) { - var url = getInternalURLState(this); - var codePoints = arrayFrom(String(username)); - if (cannotHaveUsernamePasswordPort(url)) return; - url.username = ''; - for (var i = 0; i < codePoints.length; i++) { - url.username += percentEncode(codePoints[i], userinfoPercentEncodeSet); - } - }), - // `URL.prototype.password` accessors pair - // https://url.spec.whatwg.org/#dom-url-password - password: accessorDescriptor(getPassword, function (password) { - var url = getInternalURLState(this); - var codePoints = arrayFrom(String(password)); - if (cannotHaveUsernamePasswordPort(url)) return; - url.password = ''; - for (var i = 0; i < codePoints.length; i++) { - url.password += percentEncode(codePoints[i], userinfoPercentEncodeSet); - } - }), - // `URL.prototype.host` accessors pair - // https://url.spec.whatwg.org/#dom-url-host - host: accessorDescriptor(getHost, function (host) { - var url = getInternalURLState(this); - if (url.cannotBeABaseURL) return; - parseURL(url, String(host), HOST); - }), - // `URL.prototype.hostname` accessors pair - // https://url.spec.whatwg.org/#dom-url-hostname - hostname: accessorDescriptor(getHostname, function (hostname) { - var url = getInternalURLState(this); - if (url.cannotBeABaseURL) return; - parseURL(url, String(hostname), HOSTNAME); - }), - // `URL.prototype.port` accessors pair - // https://url.spec.whatwg.org/#dom-url-port - port: accessorDescriptor(getPort, function (port) { - var url = getInternalURLState(this); - if (cannotHaveUsernamePasswordPort(url)) return; - port = String(port); - if (port == '') url.port = null; - else parseURL(url, port, PORT); - }), - // `URL.prototype.pathname` accessors pair - // https://url.spec.whatwg.org/#dom-url-pathname - pathname: accessorDescriptor(getPathname, function (pathname) { - var url = getInternalURLState(this); - if (url.cannotBeABaseURL) return; - url.path = []; - parseURL(url, pathname + '', PATH_START); - }), - // `URL.prototype.search` accessors pair - // https://url.spec.whatwg.org/#dom-url-search - search: accessorDescriptor(getSearch, function (search) { - var url = getInternalURLState(this); - search = String(search); - if (search == '') { - url.query = null; - } else { - if ('?' == search.charAt(0)) search = search.slice(1); - url.query = ''; - parseURL(url, search, QUERY); - } - getInternalSearchParamsState(url.searchParams).updateSearchParams(url.query); - }), - // `URL.prototype.searchParams` getter - // https://url.spec.whatwg.org/#dom-url-searchparams - searchParams: accessorDescriptor(getSearchParams), - // `URL.prototype.hash` accessors pair - // https://url.spec.whatwg.org/#dom-url-hash - hash: accessorDescriptor(getHash, function (hash) { - var url = getInternalURLState(this); - hash = String(hash); - if (hash == '') { - url.fragment = null; - return; - } - if ('#' == hash.charAt(0)) hash = hash.slice(1); - url.fragment = ''; - parseURL(url, hash, FRAGMENT); - }) - }); - } - - // `URL.prototype.toJSON` method - // https://url.spec.whatwg.org/#dom-url-tojson - redefine(URLPrototype, 'toJSON', function toJSON() { - return serializeURL.call(this); - }, { enumerable: true }); - - // `URL.prototype.toString` method - // https://url.spec.whatwg.org/#URL-stringification-behavior - redefine(URLPrototype, 'toString', function toString() { - return serializeURL.call(this); - }, { enumerable: true }); - - if (NativeURL) { - var nativeCreateObjectURL = NativeURL.createObjectURL; - var nativeRevokeObjectURL = NativeURL.revokeObjectURL; - // `URL.createObjectURL` method - // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL - // eslint-disable-next-line no-unused-vars - if (nativeCreateObjectURL) redefine(URLConstructor, 'createObjectURL', function createObjectURL(blob) { - return nativeCreateObjectURL.apply(NativeURL, arguments); - }); - // `URL.revokeObjectURL` method - // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL - // eslint-disable-next-line no-unused-vars - if (nativeRevokeObjectURL) redefine(URLConstructor, 'revokeObjectURL', function revokeObjectURL(url) { - return nativeRevokeObjectURL.apply(NativeURL, arguments); - }); - } - - __webpack_require__(42)(URLConstructor, 'URL'); - - __webpack_require__(7)({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, { - URL: URLConstructor - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var uncurryThis = __webpack_require__(13); + var anObjectOrUndefined = __webpack_require__(436); + var anUint8Array = __webpack_require__(442); + var base64Map = __webpack_require__(438); + var getAlphabetOption = __webpack_require__(439); + + var base64Alphabet = base64Map.i2c; + var base64UrlAlphabet = base64Map.i2cUrl; + + var Uint8Array = global.Uint8Array; + var charAt = uncurryThis(''.charAt); + + // `Uint8Array.prototype.toBase64` method + // https://github.com/tc39/proposal-arraybuffer-base64 + if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: true }, { + toBase64: function toBase64(/* options */) { + var array = anUint8Array(this); + var options = arguments.length ? anObjectOrUndefined(arguments[0]) : undefined; + var alphabet = getAlphabetOption(options) === 'base64' ? base64Alphabet : base64UrlAlphabet; + + var result = ''; + var i = 0; + var length = array.length; + var triplet; + + var at = function (shift) { + return charAt(alphabet, (triplet >> (6 * shift)) & 63); + }; + + for (; i + 2 < length; i += 3) { + triplet = (array[i] << 16) + (array[i + 1] << 8) + array[i + 2]; + result += at(3) + at(2) + at(1) + at(0); + } + if (i + 2 === length) { + triplet = (array[i] << 16) + (array[i + 1] << 8); + result += at(3) + at(2) + at(1) + '='; + } else if (i + 1 === length) { + triplet = array[i] << 16; + result += at(3) + at(2) + '=='; + } + + return result; + } + }); + + + /***/ }), /* 442 */ - /***/ (function (module, exports, __webpack_require__) { - - var IS_PURE = __webpack_require__(6); - var ITERATOR = __webpack_require__(43)('iterator'); - - module.exports = !__webpack_require__(5)(function () { - var url = new URL('b?e=1', 'http://a'); - var searchParams = url.searchParams; - url.pathname = 'c%20d'; - return (IS_PURE && !url.toJSON) - || !searchParams.sort - || url.href !== 'http://a/c%20d?e=1' - || searchParams.get('e') !== '1' - || String(new URLSearchParams('?a=1')) !== 'a=1' - || !searchParams[ITERATOR] - // throws in Edge - || new URL('https://a@b').username !== 'a' - || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b' - // not punycoded in Edge - || new URL('http://тест').host !== 'xn--e1aybc' - // not escaped in Chrome 62- - || new URL('http://a#б').hash !== '#%D0%B1'; - }); - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var classof = __webpack_require__(77); + + var $TypeError = TypeError; + + // Perform ? RequireInternalSlot(argument, [[TypedArrayName]]) + // If argument.[[TypedArrayName]] is not "Uint8Array", throw a TypeError exception + module.exports = function (argument) { + if (classof(argument) === 'Uint8Array') return argument; + throw new $TypeError('Argument is not an Uint8Array'); + }; + + + /***/ }), /* 443 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js - var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1 - var base = 36; - var tMin = 1; - var tMax = 26; - var skew = 38; - var damp = 700; - var initialBias = 72; - var initialN = 128; // 0x80 - var delimiter = '-'; // '\x2D' - var regexNonASCII = /[^\0-\x7E]/; // non-ASCII chars - var regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g; // RFC 3490 separators - var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process'; - var baseMinusTMin = base - tMin; - var floor = Math.floor; - var stringFromCharCode = String.fromCharCode; - - /** - * Creates an array containing the numeric code points of each Unicode - * character in the string. While JavaScript uses UCS-2 internally, - * this function will convert a pair of surrogate halves (each of which - * UCS-2 exposes as separate characters) into a single code point, - * matching UTF-16. - */ - var ucs2decode = function (string) { - var output = []; - var counter = 0; - var length = string.length; - while (counter < length) { - var value = string.charCodeAt(counter++); - if (value >= 0xD800 && value <= 0xDBFF && counter < length) { - // It's a high surrogate, and there is a next character. - var extra = string.charCodeAt(counter++); - if ((extra & 0xFC00) == 0xDC00) { // Low surrogate. - output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); - } else { - // It's an unmatched surrogate; only append this code unit, in case the - // next code unit is the high surrogate of a surrogate pair. - output.push(value); - counter--; - } - } else { - output.push(value); - } - } - return output; - }; - - /** - * Converts a digit/integer into a basic code point. - */ - var digitToBasic = function (digit) { - // 0..25 map to ASCII a..z or A..Z - // 26..35 map to ASCII 0..9 - return digit + 22 + 75 * (digit < 26); - }; - - /** - * Bias adaptation function as per section 3.4 of RFC 3492. - * https://tools.ietf.org/html/rfc3492#section-3.4 - */ - var adapt = function (delta, numPoints, firstTime) { - var k = 0; - delta = firstTime ? floor(delta / damp) : delta >> 1; - delta += floor(delta / numPoints); - for (/* no initialization */; delta > baseMinusTMin * tMax >> 1; k += base) { - delta = floor(delta / baseMinusTMin); - } - return floor(k + (baseMinusTMin + 1) * delta / (delta + skew)); - }; - - /** - * Converts a string of Unicode symbols (e.g. a domain name label) to a - * Punycode string of ASCII-only symbols. - */ - // eslint-disable-next-line max-statements - var encode = function (input) { - var output = []; - - // Convert the input in UCS-2 to an array of Unicode code points. - input = ucs2decode(input); - - // Cache the length. - var inputLength = input.length; - - // Initialize the state. - var n = initialN; - var delta = 0; - var bias = initialBias; - var i, currentValue; - - // Handle the basic code points. - for (i = 0; i < input.length; i++) { - currentValue = input[i]; - if (currentValue < 0x80) { - output.push(stringFromCharCode(currentValue)); - } - } - - var basicLength = output.length; // number of basic code points. - var handledCPCount = basicLength; // number of code points that have been handled; - - // Finish the basic string with a delimiter unless it's empty. - if (basicLength) { - output.push(delimiter); - } - - // Main encoding loop: - while (handledCPCount < inputLength) { - // All non-basic code points < n have been handled already. Find the next larger one: - var m = maxInt; - for (i = 0; i < input.length; i++) { - currentValue = input[i]; - if (currentValue >= n && currentValue < m) { - m = currentValue; - } - } - - // Increase `delta` enough to advance the decoder's state to , but guard against overflow. - var handledCPCountPlusOne = handledCPCount + 1; - if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) { - throw RangeError(OVERFLOW_ERROR); - } - - delta += (m - n) * handledCPCountPlusOne; - n = m; - - for (i = 0; i < input.length; i++) { - currentValue = input[i]; - if (currentValue < n && ++delta > maxInt) { - throw RangeError(OVERFLOW_ERROR); - } - if (currentValue == n) { - // Represent delta as a generalized variable-length integer. - var q = delta; - for (var k = base; /* no condition */; k += base) { - var t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias); - if (q < t) { - break; - } - var qMinusT = q - t; - var baseMinusT = base - t; - output.push(stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT))); - q = floor(qMinusT / baseMinusT); - } - - output.push(stringFromCharCode(digitToBasic(q))); - bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength); - delta = 0; - ++handledCPCount; - } - } - - ++delta; - ++n; - } - return output.join(''); - }; - - module.exports = function (input) { - var encoded = []; - var labels = input.toLowerCase().replace(regexSeparators, '\x2E').split('.'); - var i, label; - for (i = 0; i < labels.length; i++) { - label = labels[i]; - encoded.push(regexNonASCII.test(label) ? 'xn--' + encode(label) : label); - } - return encoded.join('.'); - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var uncurryThis = __webpack_require__(13); + var anUint8Array = __webpack_require__(442); + + var Uint8Array = global.Uint8Array; + var numberToString = uncurryThis(1.0.toString); + + // `Uint8Array.prototype.toHex` method + // https://github.com/tc39/proposal-arraybuffer-base64 + if (Uint8Array) $({ target: 'Uint8Array', proto: true, forced: true }, { + toHex: function toHex() { + anUint8Array(this); + var result = ''; + for (var i = 0, length = this.length; i < length; i++) { + var hex = numberToString(this[i], 16); + result += hex.length === 1 ? '0' + hex : hex; + } + return result; + } + }); + + + /***/ }), /* 444 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - __webpack_require__(102); - var USE_NATIVE_URL = __webpack_require__(442); - var redefine = __webpack_require__(22); - var redefineAll = __webpack_require__(131); - var createIteratorConstructor = __webpack_require__(104); - var InternalStateModule = __webpack_require__(26); - var anInstance = __webpack_require__(132); - var hasOwn = __webpack_require__(3); - var bind = __webpack_require__(78); - var anObject = __webpack_require__(21); - var isObject = __webpack_require__(16); - var getIterator = __webpack_require__(353); - var getIteratorMethod = __webpack_require__(97); - var ITERATOR = __webpack_require__(43)('iterator'); - var URL_SEARCH_PARAMS = 'URLSearchParams'; - var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator'; - var setInternalState = InternalStateModule.set; - var getInternalParamsState = InternalStateModule.getterFor(URL_SEARCH_PARAMS); - var getInternalIteratorState = InternalStateModule.getterFor(URL_SEARCH_PARAMS_ITERATOR); - - var plus = /\+/g; - - var deserialize = function (it) { - return decodeURIComponent(it.replace(plus, ' ')); - }; - - var find = /[!'()~]|%20/g; - - var replace = { - '!': '%21', - "'": '%27', - '(': '%28', - ')': '%29', - '~': '%7E', - '%20': '+' - }; - - var replacer = function (match) { - return replace[match]; - }; - - var serialize = function (it) { - return encodeURIComponent(it).replace(find, replacer); - }; - - var parseSearchParams = function (result, query) { - if (query) { - var attributes = query.split('&'); - var i = 0; - var attribute, entry; - while (i < attributes.length) { - attribute = attributes[i++]; - if (attribute.length) { - entry = attribute.split('='); - result.push({ - key: deserialize(entry.shift()), - value: deserialize(entry.join('=')) - }); - } - } - } return result; - }; - - var updateSearchParams = function (query) { - this.entries.length = 0; - parseSearchParams(this.entries, query); - }; - - var validateArgumentsLength = function (passed, required) { - if (passed < required) throw TypeError('Not enough arguments'); - }; - - var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) { - setInternalState(this, { - type: URL_SEARCH_PARAMS_ITERATOR, - iterator: getIterator(getInternalParamsState(params).entries), - kind: kind - }); - }, 'Iterator', function next() { - var state = getInternalIteratorState(this); - var kind = state.kind; - var step = state.iterator.next(); - var entry = step.value; - if (!step.done) { - step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value]; - } return step; - }); - - // `URLSearchParams` constructor - // https://url.spec.whatwg.org/#interface-urlsearchparams - var URLSearchParamsConstructor = function URLSearchParams(/* init */) { - anInstance(this, URLSearchParamsConstructor, URL_SEARCH_PARAMS); - var init = arguments.length > 0 ? arguments[0] : undefined; - var that = this; - var entries = []; - var iteratorMethod, iterator, step, entryIterator, first, second, key; - - setInternalState(that, { - type: URL_SEARCH_PARAMS, - entries: entries, - updateURL: null, - updateSearchParams: updateSearchParams - }); - - if (init !== undefined) { - if (isObject(init)) { - iteratorMethod = getIteratorMethod(init); - if (typeof iteratorMethod === 'function') { - iterator = iteratorMethod.call(init); - while (!(step = iterator.next()).done) { - entryIterator = getIterator(anObject(step.value)); - if ( - (first = entryIterator.next()).done || - (second = entryIterator.next()).done || - !entryIterator.next().done - ) throw TypeError('Expected sequence with length 2'); - entries.push({ key: first.value + '', value: second.value + '' }); - } - } else for (key in init) if (hasOwn(init, key)) entries.push({ key: key, value: init[key] + '' }); - } else { - parseSearchParams(entries, typeof init === 'string' ? init.charAt(0) === '?' ? init.slice(1) : init : init + ''); - } - } - }; - - var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype; - - redefineAll(URLSearchParamsPrototype, { - // `URLSearchParams.prototype.appent` method - // https://url.spec.whatwg.org/#dom-urlsearchparams-append - append: function append(name, value) { - validateArgumentsLength(arguments.length, 2); - var state = getInternalParamsState(this); - state.entries.push({ key: name + '', value: value + '' }); - if (state.updateURL) state.updateURL(); - }, - // `URLSearchParams.prototype.delete` method - // https://url.spec.whatwg.org/#dom-urlsearchparams-delete - 'delete': function (name) { - validateArgumentsLength(arguments.length, 1); - var state = getInternalParamsState(this); - var entries = state.entries; - var key = name + ''; - var i = 0; - while (i < entries.length) { - if (entries[i].key === key) entries.splice(i, 1); - else i++; - } - if (state.updateURL) state.updateURL(); - }, - // `URLSearchParams.prototype.get` method - // https://url.spec.whatwg.org/#dom-urlsearchparams-get - get: function get(name) { - validateArgumentsLength(arguments.length, 1); - var entries = getInternalParamsState(this).entries; - var key = name + ''; - var i = 0; - for (; i < entries.length; i++) if (entries[i].key === key) return entries[i].value; - return null; - }, - // `URLSearchParams.prototype.getAll` method - // https://url.spec.whatwg.org/#dom-urlsearchparams-getall - getAll: function getAll(name) { - validateArgumentsLength(arguments.length, 1); - var entries = getInternalParamsState(this).entries; - var key = name + ''; - var result = []; - var i = 0; - for (; i < entries.length; i++) if (entries[i].key === key) result.push(entries[i].value); - return result; - }, - // `URLSearchParams.prototype.has` method - // https://url.spec.whatwg.org/#dom-urlsearchparams-has - has: function has(name) { - validateArgumentsLength(arguments.length, 1); - var entries = getInternalParamsState(this).entries; - var key = name + ''; - var i = 0; - while (i < entries.length) if (entries[i++].key === key) return true; - return false; - }, - // `URLSearchParams.prototype.set` method - // https://url.spec.whatwg.org/#dom-urlsearchparams-set - set: function set(name, value) { - validateArgumentsLength(arguments.length, 1); - var state = getInternalParamsState(this); - var entries = state.entries; - var found = false; - var key = name + ''; - var val = value + ''; - var i = 0; - var entry; - for (; i < entries.length; i++) { - entry = entries[i]; - if (entry.key === key) { - if (found) entries.splice(i--, 1); - else { - found = true; - entry.value = val; - } - } - } - if (!found) entries.push({ key: key, value: val }); - if (state.updateURL) state.updateURL(); - }, - // `URLSearchParams.prototype.sort` method - // https://url.spec.whatwg.org/#dom-urlsearchparams-sort - sort: function sort() { - var state = getInternalParamsState(this); - var entries = state.entries; - // Array#sort is not stable in some engines - var slice = entries.slice(); - var entry, i, j; - entries.length = 0; - for (i = 0; i < slice.length; i++) { - entry = slice[i]; - for (j = 0; j < i; j++) if (entries[j].key > entry.key) { - entries.splice(j, 0, entry); - break; - } - if (j === i) entries.push(entry); - } - if (state.updateURL) state.updateURL(); - }, - // `URLSearchParams.prototype.forEach` method - forEach: function forEach(callback /* , thisArg */) { - var entries = getInternalParamsState(this).entries; - var boundFunction = bind(callback, arguments.length > 1 ? arguments[1] : undefined, 3); - var i = 0; - var entry; - while (i < entries.length) { - entry = entries[i++]; - boundFunction(entry.value, entry.key, this); - } - }, - // `URLSearchParams.prototype.keys` method - keys: function keys() { - return new URLSearchParamsIterator(this, 'keys'); - }, - // `URLSearchParams.prototype.values` method - values: function values() { - return new URLSearchParamsIterator(this, 'values'); - }, - // `URLSearchParams.prototype.entries` method - entries: function entries() { - return new URLSearchParamsIterator(this, 'entries'); - } - }, { enumerable: true }); - - // `URLSearchParams.prototype[@@iterator]` method - redefine(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries); - - // `URLSearchParams.prototype.toString` method - // https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior - redefine(URLSearchParamsPrototype, 'toString', function toString() { - var entries = getInternalParamsState(this).entries; - var result = []; - var i = 0; - var entry; - while (i < entries.length) { - entry = entries[i++]; - result.push(serialize(entry.key) + '=' + serialize(entry.value)); - } return result.join('&'); - }, { enumerable: true }); - - __webpack_require__(42)(URLSearchParamsConstructor, URL_SEARCH_PARAMS); - - __webpack_require__(7)({ global: true, forced: !USE_NATIVE_URL }, { - URLSearchParams: URLSearchParamsConstructor - }); - - module.exports = { - URLSearchParams: URLSearchParamsConstructor, - getState: getInternalParamsState - }; - - - /***/ -}), + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aWeakMap = __webpack_require__(445); + var remove = __webpack_require__(411).remove; + + // `WeakMap.prototype.deleteAll` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'WeakMap', proto: true, real: true, forced: true }, { + deleteAll: function deleteAll(/* ...elements */) { + var collection = aWeakMap(this); + var allDeleted = true; + var wasDeleted; + for (var k = 0, len = arguments.length; k < len; k++) { + wasDeleted = remove(collection, arguments[k]); + allDeleted = allDeleted && wasDeleted; + } return !!allDeleted; + } + }); + + + /***/ }), /* 445 */ - /***/ (function (module, exports, __webpack_require__) { - - "use strict"; - - // `URL.prototype.toJSON` method - // https://url.spec.whatwg.org/#dom-url-tojson - __webpack_require__(7)({ target: 'URL', proto: true, enumerable: true }, { - toJSON: function toJSON() { - return URL.prototype.toString.call(this); - } - }); - - - /***/ -}) - /******/]); -}(); \ No newline at end of file + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var has = __webpack_require__(411).has; + + // Perform ? RequireInternalSlot(M, [[WeakMapData]]) + module.exports = function (it) { + has(it); + return it; + }; + + + /***/ }), + /* 446 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var WeakMapHelpers = __webpack_require__(411); + var createCollectionFrom = __webpack_require__(322); + + // `WeakMap.from` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.from + $({ target: 'WeakMap', stat: true, forced: true }, { + from: createCollectionFrom(WeakMapHelpers.WeakMap, WeakMapHelpers.set, true) + }); + + + /***/ }), + /* 447 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var WeakMapHelpers = __webpack_require__(411); + var createCollectionOf = __webpack_require__(331); + + // `WeakMap.of` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-weakmap.of + $({ target: 'WeakMap', stat: true, forced: true }, { + of: createCollectionOf(WeakMapHelpers.WeakMap, WeakMapHelpers.set, true) + }); + + + /***/ }), + /* 448 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aWeakMap = __webpack_require__(445); + var WeakMapHelpers = __webpack_require__(411); + + var get = WeakMapHelpers.get; + var has = WeakMapHelpers.has; + var set = WeakMapHelpers.set; + + // `WeakMap.prototype.emplace` method + // https://github.com/tc39/proposal-upsert + $({ target: 'WeakMap', proto: true, real: true, forced: true }, { + emplace: function emplace(key, handler) { + var map = aWeakMap(this); + var value, inserted; + if (has(map, key)) { + value = get(map, key); + if ('update' in handler) { + value = handler.update(value, key, map); + set(map, key, value); + } return value; + } + inserted = handler.insert(key, map); + set(map, key, inserted); + return inserted; + } + }); + + + /***/ }), + /* 449 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aWeakSet = __webpack_require__(450); + var add = __webpack_require__(451).add; + + // `WeakSet.prototype.addAll` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'WeakSet', proto: true, real: true, forced: true }, { + addAll: function addAll(/* ...elements */) { + var set = aWeakSet(this); + for (var k = 0, len = arguments.length; k < len; k++) { + add(set, arguments[k]); + } return set; + } + }); + + + /***/ }), + /* 450 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var has = __webpack_require__(451).has; + + // Perform ? RequireInternalSlot(M, [[WeakSetData]]) + module.exports = function (it) { + has(it); + return it; + }; + + + /***/ }), + /* 451 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var uncurryThis = __webpack_require__(13); + + // eslint-disable-next-line es/no-weak-set -- safe + var WeakSetPrototype = WeakSet.prototype; + + module.exports = { + // eslint-disable-next-line es/no-weak-set -- safe + WeakSet: WeakSet, + add: uncurryThis(WeakSetPrototype.add), + has: uncurryThis(WeakSetPrototype.has), + remove: uncurryThis(WeakSetPrototype['delete']) + }; + + + /***/ }), + /* 452 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var aWeakSet = __webpack_require__(450); + var remove = __webpack_require__(451).remove; + + // `WeakSet.prototype.deleteAll` method + // https://github.com/tc39/proposal-collection-methods + $({ target: 'WeakSet', proto: true, real: true, forced: true }, { + deleteAll: function deleteAll(/* ...elements */) { + var collection = aWeakSet(this); + var allDeleted = true; + var wasDeleted; + for (var k = 0, len = arguments.length; k < len; k++) { + wasDeleted = remove(collection, arguments[k]); + allDeleted = allDeleted && wasDeleted; + } return !!allDeleted; + } + }); + + + /***/ }), + /* 453 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var WeakSetHelpers = __webpack_require__(451); + var createCollectionFrom = __webpack_require__(322); + + // `WeakSet.from` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.from + $({ target: 'WeakSet', stat: true, forced: true }, { + from: createCollectionFrom(WeakSetHelpers.WeakSet, WeakSetHelpers.add, false) + }); + + + /***/ }), + /* 454 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var WeakSetHelpers = __webpack_require__(451); + var createCollectionOf = __webpack_require__(331); + + // `WeakSet.of` method + // https://tc39.github.io/proposal-setmap-offrom/#sec-weakset.of + $({ target: 'WeakSet', stat: true, forced: true }, { + of: createCollectionOf(WeakSetHelpers.WeakSet, WeakSetHelpers.add, false) + }); + + + /***/ }), + /* 455 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var tryNodeRequire = __webpack_require__(125); + var getBuiltIn = __webpack_require__(22); + var fails = __webpack_require__(6); + var create = __webpack_require__(87); + var createPropertyDescriptor = __webpack_require__(10); + var defineProperty = __webpack_require__(43).f; + var defineBuiltIn = __webpack_require__(46); + var defineBuiltInAccessor = __webpack_require__(118); + var hasOwn = __webpack_require__(37); + var anInstance = __webpack_require__(140); + var anObject = __webpack_require__(45); + var errorToString = __webpack_require__(456); + var normalizeStringArgument = __webpack_require__(75); + var DOMExceptionConstants = __webpack_require__(457); + var clearErrorStack = __webpack_require__(81); + var InternalStateModule = __webpack_require__(50); + var DESCRIPTORS = __webpack_require__(5); + var IS_PURE = __webpack_require__(35); + + var DOM_EXCEPTION = 'DOMException'; + var DATA_CLONE_ERR = 'DATA_CLONE_ERR'; + var Error = getBuiltIn('Error'); + // NodeJS < 17.0 does not expose `DOMException` to global + var NativeDOMException = getBuiltIn(DOM_EXCEPTION) || (function () { + try { + // NodeJS < 15.0 does not expose `MessageChannel` to global + var MessageChannel = getBuiltIn('MessageChannel') || tryNodeRequire('worker_threads').MessageChannel; + // eslint-disable-next-line es/no-weak-map, unicorn/require-post-message-target-origin -- safe + new MessageChannel().port1.postMessage(new WeakMap()); + } catch (error) { + if (error.name === DATA_CLONE_ERR && error.code === 25) return error.constructor; + } + })(); + var NativeDOMExceptionPrototype = NativeDOMException && NativeDOMException.prototype; + var ErrorPrototype = Error.prototype; + var setInternalState = InternalStateModule.set; + var getInternalState = InternalStateModule.getterFor(DOM_EXCEPTION); + var HAS_STACK = 'stack' in new Error(DOM_EXCEPTION); + + var codeFor = function (name) { + return hasOwn(DOMExceptionConstants, name) && DOMExceptionConstants[name].m ? DOMExceptionConstants[name].c : 0; + }; + + var $DOMException = function DOMException() { + anInstance(this, DOMExceptionPrototype); + var argumentsLength = arguments.length; + var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]); + var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error'); + var code = codeFor(name); + setInternalState(this, { + type: DOM_EXCEPTION, + name: name, + message: message, + code: code + }); + if (!DESCRIPTORS) { + this.name = name; + this.message = message; + this.code = code; + } + if (HAS_STACK) { + var error = new Error(message); + error.name = DOM_EXCEPTION; + defineProperty(this, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); + } + }; + + var DOMExceptionPrototype = $DOMException.prototype = create(ErrorPrototype); + + var createGetterDescriptor = function (get) { + return { enumerable: true, configurable: true, get: get }; + }; + + var getterFor = function (key) { + return createGetterDescriptor(function () { + return getInternalState(this)[key]; + }); + }; + + if (DESCRIPTORS) { + // `DOMException.prototype.code` getter + defineBuiltInAccessor(DOMExceptionPrototype, 'code', getterFor('code')); + // `DOMException.prototype.message` getter + defineBuiltInAccessor(DOMExceptionPrototype, 'message', getterFor('message')); + // `DOMException.prototype.name` getter + defineBuiltInAccessor(DOMExceptionPrototype, 'name', getterFor('name')); + } + + defineProperty(DOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, $DOMException)); + + // FF36- DOMException is a function, but can't be constructed + var INCORRECT_CONSTRUCTOR = fails(function () { + return !(new NativeDOMException() instanceof Error); + }); + + // Safari 10.1 / Chrome 32- / IE8- DOMException.prototype.toString bugs + var INCORRECT_TO_STRING = INCORRECT_CONSTRUCTOR || fails(function () { + return ErrorPrototype.toString !== errorToString || String(new NativeDOMException(1, 2)) !== '2: 1'; + }); + + // Deno 1.6.3- DOMException.prototype.code just missed + var INCORRECT_CODE = INCORRECT_CONSTRUCTOR || fails(function () { + return new NativeDOMException(1, 'DataCloneError').code !== 25; + }); + + // Deno 1.6.3- DOMException constants just missed + var MISSED_CONSTANTS = INCORRECT_CONSTRUCTOR + || NativeDOMException[DATA_CLONE_ERR] !== 25 + || NativeDOMExceptionPrototype[DATA_CLONE_ERR] !== 25; + + var FORCED_CONSTRUCTOR = IS_PURE ? INCORRECT_TO_STRING || INCORRECT_CODE || MISSED_CONSTANTS : INCORRECT_CONSTRUCTOR; + + // `DOMException` constructor + // https://webidl.spec.whatwg.org/#idl-DOMException + $({ global: true, constructor: true, forced: FORCED_CONSTRUCTOR }, { + DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException + }); + + var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); + var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; + + if (INCORRECT_TO_STRING && (IS_PURE || NativeDOMException === PolyfilledDOMException)) { + defineBuiltIn(PolyfilledDOMExceptionPrototype, 'toString', errorToString); + } + + if (INCORRECT_CODE && DESCRIPTORS && NativeDOMException === PolyfilledDOMException) { + defineBuiltInAccessor(PolyfilledDOMExceptionPrototype, 'code', createGetterDescriptor(function () { + return codeFor(anObject(this).name); + })); + } + + // `DOMException` constants + for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { + var constant = DOMExceptionConstants[key]; + var constantName = constant.s; + var descriptor = createPropertyDescriptor(6, constant.c); + if (!hasOwn(PolyfilledDOMException, constantName)) { + defineProperty(PolyfilledDOMException, constantName, descriptor); + } + if (!hasOwn(PolyfilledDOMExceptionPrototype, constantName)) { + defineProperty(PolyfilledDOMExceptionPrototype, constantName, descriptor); + } + } + + + /***/ }), + /* 456 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var fails = __webpack_require__(6); + var anObject = __webpack_require__(45); + var normalizeStringArgument = __webpack_require__(75); + + var nativeErrorToString = Error.prototype.toString; + + var INCORRECT_TO_STRING = fails(function () { + if (DESCRIPTORS) { + // Chrome 32- incorrectly call accessor + // eslint-disable-next-line es/no-object-create, es/no-object-defineproperty -- safe + var object = Object.create(Object.defineProperty({}, 'name', { get: function () { + return this === object; + } })); + if (nativeErrorToString.call(object) !== 'true') return true; + } + // FF10- does not properly handle non-strings + return nativeErrorToString.call({ message: 1, name: 2 }) !== '2: 1' + // IE8 does not properly handle defaults + || nativeErrorToString.call({}) !== 'Error'; + }); + + module.exports = INCORRECT_TO_STRING ? function toString() { + var O = anObject(this); + var name = normalizeStringArgument(O.name, 'Error'); + var message = normalizeStringArgument(O.message); + return !name ? message : !message ? name : name + ': ' + message; + } : nativeErrorToString; + + + /***/ }), + /* 457 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + module.exports = { + IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 }, + DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 }, + HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 }, + WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 }, + InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 }, + NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 }, + NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 }, + NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 }, + NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 }, + InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 }, + InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 }, + SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 }, + InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 }, + NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 }, + InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 }, + ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 }, + TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 }, + SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 }, + NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 }, + AbortError: { s: 'ABORT_ERR', c: 20, m: 1 }, + URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 }, + QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 }, + TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 }, + InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 }, + DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 } + }; + + + /***/ }), + /* 458 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var getBuiltIn = __webpack_require__(22); + var createPropertyDescriptor = __webpack_require__(10); + var defineProperty = __webpack_require__(43).f; + var hasOwn = __webpack_require__(37); + var anInstance = __webpack_require__(140); + var inheritIfRequired = __webpack_require__(74); + var normalizeStringArgument = __webpack_require__(75); + var DOMExceptionConstants = __webpack_require__(457); + var clearErrorStack = __webpack_require__(81); + var DESCRIPTORS = __webpack_require__(5); + var IS_PURE = __webpack_require__(35); + + var DOM_EXCEPTION = 'DOMException'; + var Error = getBuiltIn('Error'); + var NativeDOMException = getBuiltIn(DOM_EXCEPTION); + + var $DOMException = function DOMException() { + anInstance(this, DOMExceptionPrototype); + var argumentsLength = arguments.length; + var message = normalizeStringArgument(argumentsLength < 1 ? undefined : arguments[0]); + var name = normalizeStringArgument(argumentsLength < 2 ? undefined : arguments[1], 'Error'); + var that = new NativeDOMException(message, name); + var error = new Error(message); + error.name = DOM_EXCEPTION; + defineProperty(that, 'stack', createPropertyDescriptor(1, clearErrorStack(error.stack, 1))); + inheritIfRequired(that, this, $DOMException); + return that; + }; + + var DOMExceptionPrototype = $DOMException.prototype = NativeDOMException.prototype; + + var ERROR_HAS_STACK = 'stack' in new Error(DOM_EXCEPTION); + var DOM_EXCEPTION_HAS_STACK = 'stack' in new NativeDOMException(1, 2); + + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var descriptor = NativeDOMException && DESCRIPTORS && Object.getOwnPropertyDescriptor(global, DOM_EXCEPTION); + + // Bun ~ 0.1.1 DOMException have incorrect descriptor and we can't redefine it + // https://github.com/Jarred-Sumner/bun/issues/399 + var BUGGY_DESCRIPTOR = !!descriptor && !(descriptor.writable && descriptor.configurable); + + var FORCED_CONSTRUCTOR = ERROR_HAS_STACK && !BUGGY_DESCRIPTOR && !DOM_EXCEPTION_HAS_STACK; + + // `DOMException` constructor patch for `.stack` where it's required + // https://webidl.spec.whatwg.org/#es-DOMException-specialness + $({ global: true, constructor: true, forced: IS_PURE || FORCED_CONSTRUCTOR }, { // TODO: fix export logic + DOMException: FORCED_CONSTRUCTOR ? $DOMException : NativeDOMException + }); + + var PolyfilledDOMException = getBuiltIn(DOM_EXCEPTION); + var PolyfilledDOMExceptionPrototype = PolyfilledDOMException.prototype; + + if (PolyfilledDOMExceptionPrototype.constructor !== PolyfilledDOMException) { + if (!IS_PURE) { + defineProperty(PolyfilledDOMExceptionPrototype, 'constructor', createPropertyDescriptor(1, PolyfilledDOMException)); + } + + for (var key in DOMExceptionConstants) if (hasOwn(DOMExceptionConstants, key)) { + var constant = DOMExceptionConstants[key]; + var constantName = constant.s; + if (!hasOwn(PolyfilledDOMException, constantName)) { + defineProperty(PolyfilledDOMException, constantName, createPropertyDescriptor(6, constant.c)); + } + } + } + + + /***/ }), + /* 459 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var getBuiltIn = __webpack_require__(22); + var setToStringTag = __webpack_require__(138); + + var DOM_EXCEPTION = 'DOMException'; + + // `DOMException.prototype[@@toStringTag]` property + setToStringTag(getBuiltIn(DOM_EXCEPTION), DOM_EXCEPTION); + + + /***/ }), + /* 460 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + // TODO: Remove this module from `core-js@4` since it's split to modules listed below + __webpack_require__(461); + __webpack_require__(462); + + + /***/ }), + /* 461 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var clearImmediate = __webpack_require__(144).clear; + + // `clearImmediate` method + // http://w3c.github.io/setImmediate/#si-clearImmediate + $({ global: true, bind: true, enumerable: true, forced: global.clearImmediate !== clearImmediate }, { + clearImmediate: clearImmediate + }); + + + /***/ }), + /* 462 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var setTask = __webpack_require__(144).set; + var schedulersFix = __webpack_require__(463); + + // https://github.com/oven-sh/bun/issues/1633 + var setImmediate = global.setImmediate ? schedulersFix(setTask, false) : setTask; + + // `setImmediate` method + // http://w3c.github.io/setImmediate/#si-setImmediate + $({ global: true, bind: true, enumerable: true, forced: global.setImmediate !== setImmediate }, { + setImmediate: setImmediate + }); + + + /***/ }), + /* 463 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var global = __webpack_require__(3); + var apply = __webpack_require__(67); + var isCallable = __webpack_require__(20); + var ENGINE_IS_BUN = __webpack_require__(464); + var USER_AGENT = __webpack_require__(27); + var arraySlice = __webpack_require__(145); + var validateArgumentsLength = __webpack_require__(146); + + var Function = global.Function; + // dirty IE9- and Bun 0.3.0- checks + var WRAP = /MSIE .\./.test(USER_AGENT) || ENGINE_IS_BUN && (function () { + var version = global.Bun.version.split('.'); + return version.length < 3 || version[0] === '0' && (version[1] < 3 || version[1] === '3' && version[2] === '0'); + })(); + + // IE9- / Bun 0.3.0- setTimeout / setInterval / setImmediate additional parameters fix + // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timers + // https://github.com/oven-sh/bun/issues/1633 + module.exports = function (scheduler, hasTimeArg) { + var firstParamIndex = hasTimeArg ? 2 : 1; + return WRAP ? function (handler, timeout /* , ...arguments */) { + var boundArgs = validateArgumentsLength(arguments.length, 1) > firstParamIndex; + var fn = isCallable(handler) ? handler : Function(handler); + var params = boundArgs ? arraySlice(arguments, firstParamIndex) : []; + var callback = boundArgs ? function () { + apply(fn, this, params); + } : fn; + return hasTimeArg ? scheduler(callback, timeout) : scheduler(callback); + } : scheduler; + }; + + + /***/ }), + /* 464 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + /* global Bun -- Bun case */ + module.exports = typeof Bun == 'function' && Bun && typeof Bun.version == 'string'; + + + /***/ }), + /* 465 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var defineBuiltInAccessor = __webpack_require__(118); + var DESCRIPTORS = __webpack_require__(5); + + var $TypeError = TypeError; + // eslint-disable-next-line es/no-object-defineproperty -- safe + var defineProperty = Object.defineProperty; + var INCORRECT_VALUE = global.self !== global; + + // `self` getter + // https://html.spec.whatwg.org/multipage/window-object.html#dom-self + try { + if (DESCRIPTORS) { + // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe + var descriptor = Object.getOwnPropertyDescriptor(global, 'self'); + // some engines have `self`, but with incorrect descriptor + // https://github.com/denoland/deno/issues/15765 + if (INCORRECT_VALUE || !descriptor || !descriptor.get || !descriptor.enumerable) { + defineBuiltInAccessor(global, 'self', { + get: function self() { + return global; + }, + set: function self(value) { + if (this !== global) throw new $TypeError('Illegal invocation'); + defineProperty(global, 'self', { + value: value, + writable: true, + configurable: true, + enumerable: true + }); + }, + configurable: true, + enumerable: true + }); + } + } else $({ global: true, simple: true, forced: INCORRECT_VALUE }, { + self: global + }); + } catch (error) { /* empty */ } + + + /***/ }), + /* 466 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var IS_PURE = __webpack_require__(35); + var $ = __webpack_require__(2); + var global = __webpack_require__(3); + var getBuiltIn = __webpack_require__(22); + var uncurryThis = __webpack_require__(13); + var fails = __webpack_require__(6); + var uid = __webpack_require__(39); + var isCallable = __webpack_require__(20); + var isConstructor = __webpack_require__(143); + var isNullOrUndefined = __webpack_require__(16); + var isObject = __webpack_require__(19); + var isSymbol = __webpack_require__(21); + var iterate = __webpack_require__(91); + var anObject = __webpack_require__(45); + var classof = __webpack_require__(77); + var hasOwn = __webpack_require__(37); + var createProperty = __webpack_require__(284); + var createNonEnumerableProperty = __webpack_require__(42); + var lengthOfArrayLike = __webpack_require__(62); + var validateArgumentsLength = __webpack_require__(146); + var getRegExpFlags = __webpack_require__(177); + var MapHelpers = __webpack_require__(132); + var SetHelpers = __webpack_require__(367); + var setIterate = __webpack_require__(372); + var detachTransferable = __webpack_require__(124); + var ERROR_STACK_INSTALLABLE = __webpack_require__(82); + var PROPER_STRUCTURED_CLONE_TRANSFER = __webpack_require__(127); + + var Object = global.Object; + var Array = global.Array; + var Date = global.Date; + var Error = global.Error; + var TypeError = global.TypeError; + var PerformanceMark = global.PerformanceMark; + var DOMException = getBuiltIn('DOMException'); + var Map = MapHelpers.Map; + var mapHas = MapHelpers.has; + var mapGet = MapHelpers.get; + var mapSet = MapHelpers.set; + var Set = SetHelpers.Set; + var setAdd = SetHelpers.add; + var setHas = SetHelpers.has; + var objectKeys = getBuiltIn('Object', 'keys'); + var push = uncurryThis([].push); + var thisBooleanValue = uncurryThis(true.valueOf); + var thisNumberValue = uncurryThis(1.0.valueOf); + var thisStringValue = uncurryThis(''.valueOf); + var thisTimeValue = uncurryThis(Date.prototype.getTime); + var PERFORMANCE_MARK = uid('structuredClone'); + var DATA_CLONE_ERROR = 'DataCloneError'; + var TRANSFERRING = 'Transferring'; + + var checkBasicSemantic = function (structuredCloneImplementation) { + return !fails(function () { + var set1 = new global.Set([7]); + var set2 = structuredCloneImplementation(set1); + var number = structuredCloneImplementation(Object(7)); + return set2 === set1 || !set2.has(7) || !isObject(number) || +number !== 7; + }) && structuredCloneImplementation; + }; + + var checkErrorsCloning = function (structuredCloneImplementation, $Error) { + return !fails(function () { + var error = new $Error(); + var test = structuredCloneImplementation({ a: error, b: error }); + return !(test && test.a === test.b && test.a instanceof $Error && test.a.stack === error.stack); + }); + }; + + // https://github.com/whatwg/html/pull/5749 + var checkNewErrorsCloningSemantic = function (structuredCloneImplementation) { + return !fails(function () { + var test = structuredCloneImplementation(new global.AggregateError([1], PERFORMANCE_MARK, { cause: 3 })); + return test.name !== 'AggregateError' || test.errors[0] !== 1 || test.message !== PERFORMANCE_MARK || test.cause !== 3; + }); + }; + + // FF94+, Safari 15.4+, Chrome 98+, NodeJS 17.0+, Deno 1.13+ + // FF<103 and Safari implementations can't clone errors + // https://bugzilla.mozilla.org/show_bug.cgi?id=1556604 + // FF103 can clone errors, but `.stack` of clone is an empty string + // https://bugzilla.mozilla.org/show_bug.cgi?id=1778762 + // FF104+ fixed it on usual errors, but not on DOMExceptions + // https://bugzilla.mozilla.org/show_bug.cgi?id=1777321 + // Chrome <102 returns `null` if cloned object contains multiple references to one error + // https://bugs.chromium.org/p/v8/issues/detail?id=12542 + // NodeJS implementation can't clone DOMExceptions + // https://github.com/nodejs/node/issues/41038 + // only FF103+ supports new (html/5749) error cloning semantic + var nativeStructuredClone = global.structuredClone; + + var FORCED_REPLACEMENT = IS_PURE + || !checkErrorsCloning(nativeStructuredClone, Error) + || !checkErrorsCloning(nativeStructuredClone, DOMException) + || !checkNewErrorsCloningSemantic(nativeStructuredClone); + + // Chrome 82+, Safari 14.1+, Deno 1.11+ + // Chrome 78-81 implementation swaps `.name` and `.message` of cloned `DOMException` + // Chrome returns `null` if cloned object contains multiple references to one error + // Safari 14.1 implementation doesn't clone some `RegExp` flags, so requires a workaround + // Safari implementation can't clone errors + // Deno 1.2-1.10 implementations too naive + // NodeJS 16.0+ does not have `PerformanceMark` constructor + // NodeJS <17.2 structured cloning implementation from `performance.mark` is too naive + // and can't clone, for example, `RegExp` or some boxed primitives + // https://github.com/nodejs/node/issues/40840 + // no one of those implementations supports new (html/5749) error cloning semantic + var structuredCloneFromMark = !nativeStructuredClone && checkBasicSemantic(function (value) { + return new PerformanceMark(PERFORMANCE_MARK, { detail: value }).detail; + }); + + var nativeRestrictedStructuredClone = checkBasicSemantic(nativeStructuredClone) || structuredCloneFromMark; + + var throwUncloneable = function (type) { + throw new DOMException('Uncloneable type: ' + type, DATA_CLONE_ERROR); + }; + + var throwUnpolyfillable = function (type, action) { + throw new DOMException((action || 'Cloning') + ' of ' + type + ' cannot be properly polyfilled in this engine', DATA_CLONE_ERROR); + }; + + var tryNativeRestrictedStructuredClone = function (value, type) { + if (!nativeRestrictedStructuredClone) throwUnpolyfillable(type); + return nativeRestrictedStructuredClone(value); + }; + + var createDataTransfer = function () { + var dataTransfer; + try { + dataTransfer = new global.DataTransfer(); + } catch (error) { + try { + dataTransfer = new global.ClipboardEvent('').clipboardData; + } catch (error2) { /* empty */ } + } + return dataTransfer && dataTransfer.items && dataTransfer.files ? dataTransfer : null; + }; + + var cloneBuffer = function (value, map, $type) { + if (mapHas(map, value)) return mapGet(map, value); + + var type = $type || classof(value); + var clone, length, options, source, target, i; + + if (type === 'SharedArrayBuffer') { + if (nativeRestrictedStructuredClone) clone = nativeRestrictedStructuredClone(value); + // SharedArrayBuffer should use shared memory, we can't polyfill it, so return the original + else clone = value; + } else { + var DataView = global.DataView; + + // `ArrayBuffer#slice` is not available in IE10 + // `ArrayBuffer#slice` and `DataView` are not available in old FF + if (!DataView && !isCallable(value.slice)) throwUnpolyfillable('ArrayBuffer'); + // detached buffers throws in `DataView` and `.slice` + try { + if (isCallable(value.slice) && !value.resizable) { + clone = value.slice(0); + } else { + length = value.byteLength; + options = 'maxByteLength' in value ? { maxByteLength: value.maxByteLength } : undefined; + // eslint-disable-next-line es/no-resizable-and-growable-arraybuffers -- safe + clone = new ArrayBuffer(length, options); + source = new DataView(value); + target = new DataView(clone); + for (i = 0; i < length; i++) { + target.setUint8(i, source.getUint8(i)); + } + } + } catch (error) { + throw new DOMException('ArrayBuffer is detached', DATA_CLONE_ERROR); + } + } + + mapSet(map, value, clone); + + return clone; + }; + + var cloneView = function (value, type, offset, length, map) { + var C = global[type]; + // in some old engines like Safari 9, typeof C is 'object' + // on Uint8ClampedArray or some other constructors + if (!isObject(C)) throwUnpolyfillable(type); + return new C(cloneBuffer(value.buffer, map), offset, length); + }; + + var structuredCloneInternal = function (value, map) { + if (isSymbol(value)) throwUncloneable('Symbol'); + if (!isObject(value)) return value; + // effectively preserves circular references + if (map) { + if (mapHas(map, value)) return mapGet(map, value); + } else map = new Map(); + + var type = classof(value); + var C, name, cloned, dataTransfer, i, length, keys, key; + + switch (type) { + case 'Array': + cloned = Array(lengthOfArrayLike(value)); + break; + case 'Object': + cloned = {}; + break; + case 'Map': + cloned = new Map(); + break; + case 'Set': + cloned = new Set(); + break; + case 'RegExp': + // in this block because of a Safari 14.1 bug + // old FF does not clone regexes passed to the constructor, so get the source and flags directly + cloned = new RegExp(value.source, getRegExpFlags(value)); + break; + case 'Error': + name = value.name; + switch (name) { + case 'AggregateError': + cloned = new (getBuiltIn(name))([]); + break; + case 'EvalError': + case 'RangeError': + case 'ReferenceError': + case 'SuppressedError': + case 'SyntaxError': + case 'TypeError': + case 'URIError': + cloned = new (getBuiltIn(name))(); + break; + case 'CompileError': + case 'LinkError': + case 'RuntimeError': + cloned = new (getBuiltIn('WebAssembly', name))(); + break; + default: + cloned = new Error(); + } + break; + case 'DOMException': + cloned = new DOMException(value.message, value.name); + break; + case 'ArrayBuffer': + case 'SharedArrayBuffer': + cloned = cloneBuffer(value, map, type); + break; + case 'DataView': + case 'Int8Array': + case 'Uint8Array': + case 'Uint8ClampedArray': + case 'Int16Array': + case 'Uint16Array': + case 'Int32Array': + case 'Uint32Array': + case 'Float16Array': + case 'Float32Array': + case 'Float64Array': + case 'BigInt64Array': + case 'BigUint64Array': + length = type === 'DataView' ? value.byteLength : value.length; + cloned = cloneView(value, type, value.byteOffset, length, map); + break; + case 'DOMQuad': + try { + cloned = new DOMQuad( + structuredCloneInternal(value.p1, map), + structuredCloneInternal(value.p2, map), + structuredCloneInternal(value.p3, map), + structuredCloneInternal(value.p4, map) + ); + } catch (error) { + cloned = tryNativeRestrictedStructuredClone(value, type); + } + break; + case 'File': + if (nativeRestrictedStructuredClone) try { + cloned = nativeRestrictedStructuredClone(value); + // NodeJS 20.0.0 bug, https://github.com/nodejs/node/issues/47612 + if (classof(cloned) !== type) cloned = undefined; + } catch (error) { /* empty */ } + if (!cloned) try { + cloned = new File([value], value.name, value); + } catch (error) { /* empty */ } + if (!cloned) throwUnpolyfillable(type); + break; + case 'FileList': + dataTransfer = createDataTransfer(); + if (dataTransfer) { + for (i = 0, length = lengthOfArrayLike(value); i < length; i++) { + dataTransfer.items.add(structuredCloneInternal(value[i], map)); + } + cloned = dataTransfer.files; + } else cloned = tryNativeRestrictedStructuredClone(value, type); + break; + case 'ImageData': + // Safari 9 ImageData is a constructor, but typeof ImageData is 'object' + try { + cloned = new ImageData( + structuredCloneInternal(value.data, map), + value.width, + value.height, + { colorSpace: value.colorSpace } + ); + } catch (error) { + cloned = tryNativeRestrictedStructuredClone(value, type); + } break; + default: + if (nativeRestrictedStructuredClone) { + cloned = nativeRestrictedStructuredClone(value); + } else switch (type) { + case 'BigInt': + // can be a 3rd party polyfill + cloned = Object(value.valueOf()); + break; + case 'Boolean': + cloned = Object(thisBooleanValue(value)); + break; + case 'Number': + cloned = Object(thisNumberValue(value)); + break; + case 'String': + cloned = Object(thisStringValue(value)); + break; + case 'Date': + cloned = new Date(thisTimeValue(value)); + break; + case 'Blob': + try { + cloned = value.slice(0, value.size, value.type); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'DOMPoint': + case 'DOMPointReadOnly': + C = global[type]; + try { + cloned = C.fromPoint + ? C.fromPoint(value) + : new C(value.x, value.y, value.z, value.w); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'DOMRect': + case 'DOMRectReadOnly': + C = global[type]; + try { + cloned = C.fromRect + ? C.fromRect(value) + : new C(value.x, value.y, value.width, value.height); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'DOMMatrix': + case 'DOMMatrixReadOnly': + C = global[type]; + try { + cloned = C.fromMatrix + ? C.fromMatrix(value) + : new C(value); + } catch (error) { + throwUnpolyfillable(type); + } break; + case 'AudioData': + case 'VideoFrame': + if (!isCallable(value.clone)) throwUnpolyfillable(type); + try { + cloned = value.clone(); + } catch (error) { + throwUncloneable(type); + } break; + case 'CropTarget': + case 'CryptoKey': + case 'FileSystemDirectoryHandle': + case 'FileSystemFileHandle': + case 'FileSystemHandle': + case 'GPUCompilationInfo': + case 'GPUCompilationMessage': + case 'ImageBitmap': + case 'RTCCertificate': + case 'WebAssembly.Module': + throwUnpolyfillable(type); + // break omitted + default: + throwUncloneable(type); + } + } + + mapSet(map, value, cloned); + + switch (type) { + case 'Array': + case 'Object': + keys = objectKeys(value); + for (i = 0, length = lengthOfArrayLike(keys); i < length; i++) { + key = keys[i]; + createProperty(cloned, key, structuredCloneInternal(value[key], map)); + } break; + case 'Map': + value.forEach(function (v, k) { + mapSet(cloned, structuredCloneInternal(k, map), structuredCloneInternal(v, map)); + }); + break; + case 'Set': + value.forEach(function (v) { + setAdd(cloned, structuredCloneInternal(v, map)); + }); + break; + case 'Error': + createNonEnumerableProperty(cloned, 'message', structuredCloneInternal(value.message, map)); + if (hasOwn(value, 'cause')) { + createNonEnumerableProperty(cloned, 'cause', structuredCloneInternal(value.cause, map)); + } + if (name === 'AggregateError') { + cloned.errors = structuredCloneInternal(value.errors, map); + } else if (name === 'SuppressedError') { + cloned.error = structuredCloneInternal(value.error, map); + cloned.suppressed = structuredCloneInternal(value.suppressed, map); + } // break omitted + case 'DOMException': + if (ERROR_STACK_INSTALLABLE) { + createNonEnumerableProperty(cloned, 'stack', structuredCloneInternal(value.stack, map)); + } + } + + return cloned; + }; + + var tryToTransfer = function (rawTransfer, map) { + if (!isObject(rawTransfer)) throw new TypeError('Transfer option cannot be converted to a sequence'); + + var transfer = []; + + iterate(rawTransfer, function (value) { + push(transfer, anObject(value)); + }); + + var i = 0; + var length = lengthOfArrayLike(transfer); + var buffers = new Set(); + var value, type, C, transferred, canvas, context; + + while (i < length) { + value = transfer[i++]; + + type = classof(value); + + if (type === 'ArrayBuffer' ? setHas(buffers, value) : mapHas(map, value)) { + throw new DOMException('Duplicate transferable', DATA_CLONE_ERROR); + } + + if (type === 'ArrayBuffer') { + setAdd(buffers, value); + continue; + } + + if (PROPER_STRUCTURED_CLONE_TRANSFER) { + transferred = nativeStructuredClone(value, { transfer: [value] }); + } else switch (type) { + case 'ImageBitmap': + C = global.OffscreenCanvas; + if (!isConstructor(C)) throwUnpolyfillable(type, TRANSFERRING); + try { + canvas = new C(value.width, value.height); + context = canvas.getContext('bitmaprenderer'); + context.transferFromImageBitmap(value); + transferred = canvas.transferToImageBitmap(); + } catch (error) { /* empty */ } + break; + case 'AudioData': + case 'VideoFrame': + if (!isCallable(value.clone) || !isCallable(value.close)) throwUnpolyfillable(type, TRANSFERRING); + try { + transferred = value.clone(); + value.close(); + } catch (error) { /* empty */ } + break; + case 'MediaSourceHandle': + case 'MessagePort': + case 'OffscreenCanvas': + case 'ReadableStream': + case 'TransformStream': + case 'WritableStream': + throwUnpolyfillable(type, TRANSFERRING); + } + + if (transferred === undefined) throw new DOMException('This object cannot be transferred: ' + type, DATA_CLONE_ERROR); + + mapSet(map, value, transferred); + } + + return buffers; + }; + + var detachBuffers = function (buffers) { + setIterate(buffers, function (buffer) { + if (PROPER_STRUCTURED_CLONE_TRANSFER) { + nativeRestrictedStructuredClone(buffer, { transfer: [buffer] }); + } else if (isCallable(buffer.transfer)) { + buffer.transfer(); + } else if (detachTransferable) { + detachTransferable(buffer); + } else { + throwUnpolyfillable('ArrayBuffer', TRANSFERRING); + } + }); + }; + + // `structuredClone` method + // https://html.spec.whatwg.org/multipage/structured-data.html#dom-structuredclone + $({ global: true, enumerable: true, sham: !PROPER_STRUCTURED_CLONE_TRANSFER, forced: FORCED_REPLACEMENT }, { + structuredClone: function structuredClone(value /* , { transfer } */) { + var options = validateArgumentsLength(arguments.length, 1) > 1 && !isNullOrUndefined(arguments[1]) ? anObject(arguments[1]) : undefined; + var transfer = options ? options.transfer : undefined; + var map, buffers; + + if (transfer !== undefined) { + map = new Map(); + buffers = tryToTransfer(transfer, map); + } + + var clone = structuredCloneInternal(value, map); + + // since of an issue with cloning views of transferred buffers, we a forced to detach them later + // https://github.com/zloirock/core-js/issues/1265 + if (buffers) detachBuffers(buffers); + + return clone; + } + }); + + + /***/ }), + /* 467 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var $ = __webpack_require__(2); + var getBuiltIn = __webpack_require__(22); + var fails = __webpack_require__(6); + var validateArgumentsLength = __webpack_require__(146); + var toString = __webpack_require__(76); + var USE_NATIVE_URL = __webpack_require__(468); + + var URL = getBuiltIn('URL'); + + // https://github.com/nodejs/node/issues/47505 + // https://github.com/denoland/deno/issues/18893 + var THROWS_WITHOUT_ARGUMENTS = USE_NATIVE_URL && fails(function () { + URL.canParse(); + }); + + // `URL.canParse` method + // https://url.spec.whatwg.org/#dom-url-canparse + $({ target: 'URL', stat: true, forced: !THROWS_WITHOUT_ARGUMENTS }, { + canParse: function canParse(url) { + var length = validateArgumentsLength(arguments.length, 1); + var urlString = toString(url); + var base = length < 2 || arguments[1] === undefined ? undefined : toString(arguments[1]); + try { + return !!new URL(urlString, base); + } catch (error) { + return false; + } + } + }); + + + /***/ }), + /* 468 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var fails = __webpack_require__(6); + var wellKnownSymbol = __webpack_require__(32); + var DESCRIPTORS = __webpack_require__(5); + var IS_PURE = __webpack_require__(35); + + var ITERATOR = wellKnownSymbol('iterator'); + + module.exports = !fails(function () { + // eslint-disable-next-line unicorn/relative-url-style -- required for testing + var url = new URL('b?a=1&b=2&c=3', 'http://a'); + var params = url.searchParams; + var params2 = new URLSearchParams('a=1&a=2&b=3'); + var result = ''; + url.pathname = 'c%20d'; + params.forEach(function (value, key) { + params['delete']('b'); + result += key + value; + }); + params2['delete']('a', 2); + // `undefined` case is a Chromium 117 bug + // https://bugs.chromium.org/p/v8/issues/detail?id=14222 + params2['delete']('b', undefined); + return (IS_PURE && (!url.toJSON || !params2.has('a', 1) || params2.has('a', 2) || !params2.has('a', undefined) || params2.has('b'))) + || (!params.size && (IS_PURE || !DESCRIPTORS)) + || !params.sort + || url.href !== 'http://a/c%20d?a=1&c=3' + || params.get('c') !== '3' + || String(new URLSearchParams('?a=1')) !== 'a=1' + || !params[ITERATOR] + // throws in Edge + || new URL('https://a@b').username !== 'a' + || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b' + // not punycoded in Edge + || new URL('http://тест').host !== 'xn--e1aybc' + // not escaped in Chrome 62- + || new URL('http://a#б').hash !== '#%D0%B1' + // fails in Chrome 66- + || result !== 'a1c3' + // throws in Safari + || new URL('http://x', undefined).host !== 'x'; + }); + + + /***/ }), + /* 469 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineBuiltIn = __webpack_require__(46); + var uncurryThis = __webpack_require__(13); + var toString = __webpack_require__(76); + var validateArgumentsLength = __webpack_require__(146); + + var $URLSearchParams = URLSearchParams; + var URLSearchParamsPrototype = $URLSearchParams.prototype; + var append = uncurryThis(URLSearchParamsPrototype.append); + var $delete = uncurryThis(URLSearchParamsPrototype['delete']); + var forEach = uncurryThis(URLSearchParamsPrototype.forEach); + var push = uncurryThis([].push); + var params = new $URLSearchParams('a=1&a=2&b=3'); + + params['delete']('a', 1); + // `undefined` case is a Chromium 117 bug + // https://bugs.chromium.org/p/v8/issues/detail?id=14222 + params['delete']('b', undefined); + + if (params + '' !== 'a=2') { + defineBuiltIn(URLSearchParamsPrototype, 'delete', function (name /* , value */) { + var length = arguments.length; + var $value = length < 2 ? undefined : arguments[1]; + if (length && $value === undefined) return $delete(this, name); + var entries = []; + forEach(this, function (v, k) { // also validates `this` + push(entries, { key: k, value: v }); + }); + validateArgumentsLength(length, 1); + var key = toString(name); + var value = toString($value); + var index = 0; + var dindex = 0; + var found = false; + var entriesLength = entries.length; + var entry; + while (index < entriesLength) { + entry = entries[index++]; + if (found || entry.key === key) { + found = true; + $delete(this, entry.key); + } else dindex++; + } + while (dindex < entriesLength) { + entry = entries[dindex++]; + if (!(entry.key === key && entry.value === value)) append(this, entry.key, entry.value); + } + }, { enumerable: true, unsafe: true }); + } + + + /***/ }), + /* 470 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var defineBuiltIn = __webpack_require__(46); + var uncurryThis = __webpack_require__(13); + var toString = __webpack_require__(76); + var validateArgumentsLength = __webpack_require__(146); + + var $URLSearchParams = URLSearchParams; + var URLSearchParamsPrototype = $URLSearchParams.prototype; + var getAll = uncurryThis(URLSearchParamsPrototype.getAll); + var $has = uncurryThis(URLSearchParamsPrototype.has); + var params = new $URLSearchParams('a=1'); + + // `undefined` case is a Chromium 117 bug + // https://bugs.chromium.org/p/v8/issues/detail?id=14222 + if (params.has('a', 2) || !params.has('a', undefined)) { + defineBuiltIn(URLSearchParamsPrototype, 'has', function has(name /* , value */) { + var length = arguments.length; + var $value = length < 2 ? undefined : arguments[1]; + if (length && $value === undefined) return $has(this, name); + var values = getAll(this, name); // also validates `this` + validateArgumentsLength(length, 1); + var value = toString($value); + var index = 0; + while (index < values.length) { + if (values[index++] === value) return true; + } return false; + }, { enumerable: true, unsafe: true }); + } + + + /***/ }), + /* 471 */ + /***/ (function(module, exports, __webpack_require__) { + + "use strict"; + + var DESCRIPTORS = __webpack_require__(5); + var uncurryThis = __webpack_require__(13); + var defineBuiltInAccessor = __webpack_require__(118); + + var URLSearchParamsPrototype = URLSearchParams.prototype; + var forEach = uncurryThis(URLSearchParamsPrototype.forEach); + + // `URLSearchParams.prototype.size` getter + // https://github.com/whatwg/url/pull/734 + if (DESCRIPTORS && !('size' in URLSearchParamsPrototype)) { + defineBuiltInAccessor(URLSearchParamsPrototype, 'size', { + get: function size() { + var count = 0; + forEach(this, function () { count++; }); + return count; + }, + configurable: true, + enumerable: true + }); + } + + + /***/ }) + /******/ ]); }(); \ No newline at end of file diff --git a/www.rus/js/porting/compat/nwjs.js b/www.rus/js/porting/compat/nwjs.js index f8d678c..e940870 100644 --- a/www.rus/js/porting/compat/nwjs.js +++ b/www.rus/js/porting/compat/nwjs.js @@ -2,26 +2,6 @@ window._MEMO_PATHS = {} -/** - * String.prototype.replaceAll() polyfill - * https://gomakethings.com/how-to-replace-a-section-of-a-string-with-another-one-with-vanilla-js/ - * @author Chris Ferdinandi - * @license MIT - */ -if (!String.prototype.replaceAll) { - String.prototype.replaceAll = function(str, newStr){ - - // If a regex pattern - if (Object.prototype.toString.call(str).toLowerCase() === '[object regexp]') { - return this.replace(str, newStr); - } - - // If a string - return this.replace(new RegExp(str, 'g'), newStr); - - }; -} - function replaceSpecialSymbols(s) { const memoized = _MEMO_PATHS[s]; if (memoized != undefined) { @@ -439,7 +419,7 @@ require.libs.fs = { } throw e; } - return xhr.status === 200 || xhr.status === 0; + return xhr.status === 200 || xhr.responseText !== ""; }, unlinkSync: function () {