diff --git a/package-lock.json b/package-lock.json index 414334929b6..19cd70ecada 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,39 +1,6648 @@ { "name": "rollup", "version": "2.61.1", - "lockfileVersion": 1, + "lockfileVersion": 2, "requires": true, + "packages": { + "": { + "name": "rollup", + "version": "2.61.1", + "hasInstallScript": true, + "license": "MIT", + "bin": { + "rollup": "dist/bin/rollup" + }, + "devDependencies": { + "@rollup/plugin-alias": "^3.1.8", + "@rollup/plugin-buble": "^0.21.3", + "@rollup/plugin-commonjs": "^21.0.1", + "@rollup/plugin-json": "^4.1.0", + "@rollup/plugin-node-resolve": "^13.1.1", + "@rollup/plugin-replace": "^3.0.0", + "@rollup/plugin-typescript": "^8.2.5", + "@rollup/pluginutils": "^4.1.2", + "@types/node": "^10.17.60", + "@types/require-relative": "^0.8.0", + "@types/signal-exit": "^3.0.1", + "@types/yargs-parser": "^20.2.1", + "@typescript-eslint/eslint-plugin": "^5.7.0", + "@typescript-eslint/parser": "^5.7.0", + "acorn": "^8.6.0", + "acorn-jsx": "^5.3.2", + "acorn-walk": "^8.2.0", + "buble": "^0.20.0", + "chokidar": "^3.5.2", + "colorette": "^2.0.16", + "core-js": "^3.19.3", + "date-time": "^4.0.0", + "es5-shim": "^4.6.2", + "es6-shim": "^0.35.6", + "eslint": "^8.4.1", + "eslint-config-prettier": "^8.3.0", + "eslint-plugin-import": "^2.25.3", + "eslint-plugin-prettier": "^4.0.0", + "execa": "^5.1.1", + "fixturify": "^2.1.1", + "hash.js": "^1.1.7", + "husky": "^7.0.4", + "is-reference": "^3.0.0", + "lint-staged": "^10.5.4", + "locate-character": "^2.0.5", + "magic-string": "^0.25.7", + "mocha": "^9.1.3", + "nyc": "^15.1.0", + "pinst": "^2.1.6", + "prettier": "^2.5.1", + "pretty-bytes": "^5.6.0", + "pretty-ms": "^7.0.1", + "require-relative": "^0.8.7", + "requirejs": "^2.3.6", + "rollup": "^2.61.1", + "rollup-plugin-license": "^2.5.0", + "rollup-plugin-string": "^3.0.0", + "rollup-plugin-terser": "^7.0.2", + "rollup-plugin-thatworks": "^1.0.4", + "sander": "^0.6.0", + "shx": "^0.3.3", + "signal-exit": "^3.0.6", + "source-map": "^0.7.3", + "source-map-support": "^0.5.21", + "sourcemap-codec": "^1.4.8", + "systemjs": "^6.11.0", + "terser": "^5.10.0", + "tslib": "^2.3.1", + "typescript": "^4.5.4", + "weak-napi": "^2.0.2", + "yargs-parser": "^20.2.9" + }, + "engines": { + "node": ">=10.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz", + "integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==", + "dev": true, + "dependencies": { + "@babel/highlight": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.4.tgz", + "integrity": "sha512-1o/jo7D+kC9ZjHX5v+EHrdjl3PhxMrLSOTGsOdHJ+KL8HCaEK6ehrVL2RS6oHDZp+L7xLirLrPmQtEng769J/Q==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.16.0.tgz", + "integrity": "sha512-mYZEvshBRHGsIAiyH5PzCFTCfbWfoYbO/jcSdXQSUQu1/pW0xDZAUP7KEc32heqWTAfAHhV9j1vH8Sav7l+JNQ==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.16.0", + "@babel/generator": "^7.16.0", + "@babel/helper-compilation-targets": "^7.16.0", + "@babel/helper-module-transforms": "^7.16.0", + "@babel/helpers": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/traverse": "^7.16.0", + "@babel/types": "^7.16.0", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.1.2", + "semver": "^6.3.0", + "source-map": "^0.5.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/core/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/core/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@babel/generator": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.0.tgz", + "integrity": "sha512-RR8hUCfRQn9j9RPKEVXo9LiwoxLPYn6hNZlvUOR8tSnaxlD0p0+la00ZP9/SnRt6HchKr+X0fO2r8vrETiJGew==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.0", + "jsesc": "^2.5.1", + "source-map": "^0.5.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/generator/node_modules/source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.3.tgz", + "integrity": "sha512-vKsoSQAyBmxS35JUOOt+07cLc6Nk/2ljLIHwmq2/NM6hdioUaqEXq/S+nXvbvXbZkNDlWOymPanJGOc4CBjSJA==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.16.0", + "@babel/helper-validator-option": "^7.14.5", + "browserslist": "^4.17.5", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-compilation-targets/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/@babel/helper-function-name": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz", + "integrity": "sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==", + "dev": true, + "dependencies": { + "@babel/helper-get-function-arity": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/types": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-get-function-arity": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz", + "integrity": "sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-hoist-variables": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.0.tgz", + "integrity": "sha512-1AZlpazjUR0EQZQv3sgRNfM9mEVWPK3M6vlalczA+EECcPz3XPh6VplbErL5UoMpChhSck5wAJHthlj1bYpcmg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-member-expression-to-functions": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.16.0.tgz", + "integrity": "sha512-bsjlBFPuWT6IWhl28EdrQ+gTvSvj5tqVP5Xeftp07SEuz5pLnsXZuDkDD3Rfcxy0IsHmbZ+7B2/9SHzxO0T+sQ==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.0.tgz", + "integrity": "sha512-kkH7sWzKPq0xt3H1n+ghb4xEMP8k0U7XV3kkB+ZGy69kDk2ySFW1qPi06sjKzFY3t1j6XbJSqr4mF9L7CYVyhg==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.16.0.tgz", + "integrity": "sha512-My4cr9ATcaBbmaEa8M0dZNA74cfI6gitvUAskgDtAFmAqyFKDSHQo5YstxPbN+lzHl2D9l/YOEFqb2mtUh4gfA==", + "dev": true, + "dependencies": { + "@babel/helper-module-imports": "^7.16.0", + "@babel/helper-replace-supers": "^7.16.0", + "@babel/helper-simple-access": "^7.16.0", + "@babel/helper-split-export-declaration": "^7.16.0", + "@babel/helper-validator-identifier": "^7.15.7", + "@babel/template": "^7.16.0", + "@babel/traverse": "^7.16.0", + "@babel/types": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-optimise-call-expression": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.0.tgz", + "integrity": "sha512-SuI467Gi2V8fkofm2JPnZzB/SUuXoJA5zXe/xzyPP2M04686RzFKFHPK6HDVN6JvWBIEW8tt9hPR7fXdn2Lgpw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-replace-supers": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.0.tgz", + "integrity": "sha512-TQxuQfSCdoha7cpRNJvfaYxxxzmbxXw/+6cS7V02eeDYyhxderSoMVALvwupA54/pZcOTtVeJ0xccp1nGWladA==", + "dev": true, + "dependencies": { + "@babel/helper-member-expression-to-functions": "^7.16.0", + "@babel/helper-optimise-call-expression": "^7.16.0", + "@babel/traverse": "^7.16.0", + "@babel/types": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-simple-access": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.0.tgz", + "integrity": "sha512-o1rjBT/gppAqKsYfUdfHq5Rk03lMQrkPHG1OWzHWpLgVXRH4HnMM9Et9CVdIqwkCQlobnGHEJMsgWP/jE1zUiw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-split-export-declaration": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz", + "integrity": "sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==", + "dev": true, + "dependencies": { + "@babel/types": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.15.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.15.7.tgz", + "integrity": "sha512-K4JvCtQqad9OY2+yTU8w+E82ywk/fe+ELNlt1G8z3bVGlZfn/hOcQQsUhGhW/N+tb3fxK800wLtKOE/aM0m72w==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz", + "integrity": "sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.3.tgz", + "integrity": "sha512-Xn8IhDlBPhvYTvgewPKawhADichOsbkZuzN7qz2BusOM0brChsyXMDJvldWaYMMUNiCQdQzNEioXTp3sC8Nt8w==", + "dev": true, + "dependencies": { + "@babel/template": "^7.16.0", + "@babel/traverse": "^7.16.3", + "@babel/types": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz", + "integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.15.7", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.4.tgz", + "integrity": "sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==", + "dev": true, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/template": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz", + "integrity": "sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/types": "^7.16.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.3.tgz", + "integrity": "sha512-eolumr1vVMjqevCpwVO99yN/LoGL0EyHiLO5I043aYQvwOJ9eR5UsZSClHVCzfhBduMAsSzgA/6AyqPjNayJag==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.16.0", + "@babel/generator": "^7.16.0", + "@babel/helper-function-name": "^7.16.0", + "@babel/helper-hoist-variables": "^7.16.0", + "@babel/helper-split-export-declaration": "^7.16.0", + "@babel/parser": "^7.16.3", + "@babel/types": "^7.16.0", + "debug": "^4.1.0", + "globals": "^11.1.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse/node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/@babel/types": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", + "dev": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.15.7", + "to-fast-properties": "^2.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.0.5.tgz", + "integrity": "sha512-BLxsnmK3KyPunz5wmCCpqy0YelEoxxGmH73Is+Z74oOTMtExcjkr3dDR6quwrjh1YspA8DH9gnX1o069KiS9AQ==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.2.0", + "globals": "^13.9.0", + "ignore": "^4.0.6", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.0.4", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc/node_modules/ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.9.2.tgz", + "integrity": "sha512-UXOuFCGcwciWckOpmfKDq/GyhlTf9pN/BzG//x8p8zTOFEcGuA68ANXheFS0AGvy3qgZqLBUkMs7hqzqCKOVwA==", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "dev": true + }, + "node_modules/@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "dev": true, + "dependencies": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/schema": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", + "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dev": true, + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@rollup/plugin-alias": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/@rollup/plugin-alias/-/plugin-alias-3.1.8.tgz", + "integrity": "sha512-tf7HeSs/06wO2LPqKNY3Ckbvy0JRe7Jyn98bXnt/gfrxbe+AJucoNJlsEVi9sdgbQtXemjbakCpO/76JVgnHpA==", + "dev": true, + "dependencies": { + "slash": "^3.0.0" + }, + "engines": { + "node": ">=8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-buble": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/@rollup/plugin-buble/-/plugin-buble-0.21.3.tgz", + "integrity": "sha512-Iv8cCuFPnMdqV4pcyU+OrfjOfagPArRQ1PyQjx5KgHk3dARedI+8PNTLSMpJts0lQJr8yF2pAU4GxpxCBJ9HYw==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.0.8", + "@types/buble": "^0.19.2", + "buble": "^0.20.0" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-buble/node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-buble/node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "node_modules/@rollup/plugin-buble/node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, + "node_modules/@rollup/plugin-commonjs": { + "version": "21.0.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-21.0.1.tgz", + "integrity": "sha512-EA+g22lbNJ8p5kuZJUYyhhDK7WgJckW5g4pNN7n4mAFUM96VuwUnNT3xr2Db2iCZPI1pJPbGyfT5mS9T1dHfMg==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "commondir": "^1.0.1", + "estree-walker": "^2.0.1", + "glob": "^7.1.6", + "is-reference": "^1.2.1", + "magic-string": "^0.25.7", + "resolve": "^1.17.0" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^2.38.3" + } + }, + "node_modules/@rollup/plugin-commonjs/node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-commonjs/node_modules/@rollup/pluginutils/node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, + "node_modules/@rollup/plugin-commonjs/node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "node_modules/@rollup/plugin-commonjs/node_modules/is-reference": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz", + "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==", + "dev": true, + "dependencies": { + "@types/estree": "*" + } + }, + "node_modules/@rollup/plugin-json": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-4.1.0.tgz", + "integrity": "sha512-yfLbTdNS6amI/2OpmbiBoW12vngr5NW2jCJVZSBEz+H5KfUJZ2M7sDjk0U6GOOdCWFVScShte29o9NezJ53TPw==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.0.8" + }, + "peerDependencies": { + "rollup": "^1.20.0 || ^2.0.0" + } + }, + "node_modules/@rollup/plugin-json/node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-json/node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "node_modules/@rollup/plugin-json/node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, + "node_modules/@rollup/plugin-node-resolve": { + "version": "13.1.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.1.1.tgz", + "integrity": "sha512-6QKtRevXLrmEig9UiMYt2fSvee9TyltGRfw+qSs6xjUnxwjOzTOqy+/Lpxsgjb8mJn1EQNbCDAvt89O4uzL5kw==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "@types/resolve": "1.17.1", + "builtin-modules": "^3.1.0", + "deepmerge": "^4.2.2", + "is-module": "^1.0.0", + "resolve": "^1.19.0" + }, + "engines": { + "node": ">= 10.0.0" + }, + "peerDependencies": { + "rollup": "^2.42.0" + } + }, + "node_modules/@rollup/plugin-node-resolve/node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-node-resolve/node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "node_modules/@rollup/plugin-node-resolve/node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, + "node_modules/@rollup/plugin-replace": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-replace/-/plugin-replace-3.0.0.tgz", + "integrity": "sha512-3c7JCbMuYXM4PbPWT4+m/4Y6U60SgsnDT/cCyAyUKwFHg7pTSfsSQzIpETha3a3ig6OdOKzZz87D9ZXIK3qsDg==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "magic-string": "^0.25.7" + }, + "peerDependencies": { + "rollup": "^1.20.0 || ^2.0.0" + } + }, + "node_modules/@rollup/plugin-replace/node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-replace/node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "node_modules/@rollup/plugin-replace/node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, + "node_modules/@rollup/plugin-typescript": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-typescript/-/plugin-typescript-8.3.0.tgz", + "integrity": "sha512-I5FpSvLbtAdwJ+naznv+B4sjXZUcIvLLceYpITAn7wAP8W0wqc5noLdGIp9HGVntNhRWXctwPYrSSFQxtl0FPA==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^3.1.0", + "resolve": "^1.17.0" + }, + "engines": { + "node": ">=8.0.0" + }, + "peerDependencies": { + "rollup": "^2.14.0", + "tslib": "*", + "typescript": ">=3.7.0" + } + }, + "node_modules/@rollup/plugin-typescript/node_modules/@rollup/pluginutils": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-3.1.0.tgz", + "integrity": "sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==", + "dev": true, + "dependencies": { + "@types/estree": "0.0.39", + "estree-walker": "^1.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0" + } + }, + "node_modules/@rollup/plugin-typescript/node_modules/@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "node_modules/@rollup/plugin-typescript/node_modules/estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true + }, + "node_modules/@rollup/pluginutils": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.1.2.tgz", + "integrity": "sha512-ROn4qvkxP9SyPeHaf7uQC/GPFY6L/OWy9+bd9AwcjOAWQwxRscoEyAUD8qCY5o5iL4jqQwoLk2kaTKJPb/HwzQ==", + "dev": true, + "dependencies": { + "estree-walker": "^2.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/@types/buble": { + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@types/buble/-/buble-0.19.2.tgz", + "integrity": "sha512-uUD8zIfXMKThmFkahTXDGI3CthFH1kMg2dOm3KLi4GlC5cbARA64bEcUMbbWdWdE73eoc/iBB9PiTMqH0dNS2Q==", + "dev": true, + "dependencies": { + "magic-string": "^0.25.0" + } + }, + "node_modules/@types/estree": { + "version": "0.0.50", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.50.tgz", + "integrity": "sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw==", + "dev": true + }, + "node_modules/@types/fs-extra": { + "version": "8.1.2", + "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.1.2.tgz", + "integrity": "sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", + "dev": true, + "dependencies": { + "@types/minimatch": "*", + "@types/node": "*" + } + }, + "node_modules/@types/json-schema": { + "version": "7.0.9", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", + "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", + "dev": true + }, + "node_modules/@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=", + "dev": true + }, + "node_modules/@types/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", + "dev": true + }, + "node_modules/@types/node": { + "version": "10.17.60", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", + "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==", + "dev": true + }, + "node_modules/@types/parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", + "dev": true + }, + "node_modules/@types/require-relative": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@types/require-relative/-/require-relative-0.8.0.tgz", + "integrity": "sha512-3xDLWkeSGvkRmTWOhJS+WjqT7QT8oacisRorMQypA9Y3BSRnpzu0J0+YJUcNY4Kmg8vY+A4vAwc8qwM82k3cMA==", + "dev": true + }, + "node_modules/@types/resolve": { + "version": "1.17.1", + "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.17.1.tgz", + "integrity": "sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/rimraf": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@types/rimraf/-/rimraf-2.0.5.tgz", + "integrity": "sha512-YyP+VfeaqAyFmXoTh3HChxOQMyjByRMsHU7kc5KOJkSlXudhMhQIALbYV7rHh/l8d2lX3VUQzprrcAgWdRuU8g==", + "dev": true, + "dependencies": { + "@types/glob": "*", + "@types/node": "*" + } + }, + "node_modules/@types/signal-exit": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@types/signal-exit/-/signal-exit-3.0.1.tgz", + "integrity": "sha512-OSitN9PP9E/c4tlt1Qdj3CAz5uHD9Da5rhUqlaKyQRCX1T7Zdpbk6YdeZbR2eiE2ce+NMBgVnMxGqpaPSNQDUQ==", + "dev": true + }, + "node_modules/@types/yargs-parser": { + "version": "20.2.1", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-20.2.1.tgz", + "integrity": "sha512-7tFImggNeNBVMsn0vLrpn1H1uPrUBdnARPTpZoitY37ZrdJREzf7I16tMrlK3hen349gr1NYh8CmZQa7CTG6Aw==", + "dev": true + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.7.0.tgz", + "integrity": "sha512-8RTGBpNn5a9M628wBPrCbJ+v3YTEOE2qeZb7TDkGKTDXSj36KGRg92SpFFaR/0S3rSXQxM0Og/kV9EyadsYSBg==", + "dev": true, + "dependencies": { + "@typescript-eslint/experimental-utils": "5.7.0", + "@typescript-eslint/scope-manager": "5.7.0", + "debug": "^4.3.2", + "functional-red-black-tree": "^1.0.1", + "ignore": "^5.1.8", + "regexpp": "^3.2.0", + "semver": "^7.3.5", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^5.0.0", + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/experimental-utils": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.7.0.tgz", + "integrity": "sha512-u57eZ5FbEpzN5kSjmVrSesovWslH2ZyNPnaXQMXWgH57d5+EVHEt76W75vVuI9qKZ5BMDKNfRN+pxcPEjQjb2A==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.9", + "@typescript-eslint/scope-manager": "5.7.0", + "@typescript-eslint/types": "5.7.0", + "@typescript-eslint/typescript-estree": "5.7.0", + "eslint-scope": "^5.1.1", + "eslint-utils": "^3.0.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "*" + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.7.0.tgz", + "integrity": "sha512-m/gWCCcS4jXw6vkrPQ1BjZ1vomP01PArgzvauBqzsoZ3urLbsRChexB8/YV8z9HwE3qlJM35FxfKZ1nfP/4x8g==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "5.7.0", + "@typescript-eslint/types": "5.7.0", + "@typescript-eslint/typescript-estree": "5.7.0", + "debug": "^4.3.2" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.7.0.tgz", + "integrity": "sha512-7mxR520DGq5F7sSSgM0HSSMJ+TFUymOeFRMfUfGFAVBv8BR+Jv1vHgAouYUvWRZeszVBJlLcc9fDdktxb5kmxA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.7.0", + "@typescript-eslint/visitor-keys": "5.7.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/types": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.7.0.tgz", + "integrity": "sha512-5AeYIF5p2kAneIpnLFve8g50VyAjq7udM7ApZZ9JYjdPjkz0LvODfuSHIDUVnIuUoxafoWzpFyU7Sqbxgi79mA==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.7.0.tgz", + "integrity": "sha512-aO1Ql+izMrTnPj5aFFlEJkpD4jRqC4Gwhygu2oHK2wfVQpmOPbyDSveJ+r/NQo+PWV43M6uEAeLVbTi09dFLhg==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.7.0", + "@typescript-eslint/visitor-keys": "5.7.0", + "debug": "^4.3.2", + "globby": "^11.0.4", + "is-glob": "^4.0.3", + "semver": "^7.3.5", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.7.0.tgz", + "integrity": "sha512-hdohahZ4lTFcglZSJ3DGdzxQHBSxsLVqHzkiOmKi7xVAWC4y2c1bIMKmPJSrA4aOEoRUPOKQ87Y/taC7yVHpFg==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.7.0", + "eslint-visitor-keys": "^3.0.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@ungap/promise-all-settled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", + "dev": true + }, + "node_modules/acorn": { + "version": "8.6.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.6.0.tgz", + "integrity": "sha512-U1riIR+lBSNi3IbxtaHOIKdH8sLFv3NYfNv8sg7ZsNhcfl4HF2++BfqqrNAxoCLQW1iiylOj76ecnaUxz+z9yw==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/acorn-walk": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", + "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/aggregate-error": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", + "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", + "dev": true, + "dependencies": { + "clean-stack": "^2.0.0", + "indent-string": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-escapes/node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/append-transform": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-2.0.0.tgz", + "integrity": "sha512-7yeyCEurROLQJFv5Xj4lEGTy0borxepjFv1g22oAdqFu//SrAlDl1O1Nxx15SH1RoliUml6p8dwJW9jvZughhg==", + "dev": true, + "dependencies": { + "default-require-extensions": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/archy": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", + "integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=", + "dev": true + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/array-includes": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.4.tgz", + "integrity": "sha512-ZTNSQkmWumEbiHO2GF4GmWxYVTiQyJy2XOTa15sdQSrvKn7l+180egQMqlrMOUMCyLMD7pmyQe4mMDUT6Behrw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1", + "get-intrinsic": "^1.1.1", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/array.prototype.flat": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.5.tgz", + "integrity": "sha512-KaYU+S+ndVqyUnignHftkwc58o3uVU1jzczILJ1tN2YaIZpFIKBiP/x/j97E5MVPsaCloPbqWLB/8qCTVvT2qg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/astral-regex": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz", + "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browser-stdout": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", + "dev": true + }, + "node_modules/browserslist": { + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.18.1.tgz", + "integrity": "sha512-8ScCzdpPwR2wQh8IT82CA2VgDwjHyqMovPBZSNH54+tm4Jk2pCuv90gmAdH6J84OCRWi0b4gMe6O6XPXuJnjgQ==", + "dev": true, + "dependencies": { + "caniuse-lite": "^1.0.30001280", + "electron-to-chromium": "^1.3.896", + "escalade": "^3.1.1", + "node-releases": "^2.0.1", + "picocolors": "^1.0.0" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + } + }, + "node_modules/buble": { + "version": "0.20.0", + "resolved": "https://registry.npmjs.org/buble/-/buble-0.20.0.tgz", + "integrity": "sha512-/1gnaMQE8xvd5qsNBl+iTuyjJ9XxeaVxAMF86dQ4EyxFJOZtsgOS8Ra+7WHgZTam5IFDtt4BguN0sH0tVTKrOw==", + "dev": true, + "dependencies": { + "acorn": "^6.4.1", + "acorn-dynamic-import": "^4.0.0", + "acorn-jsx": "^5.2.0", + "chalk": "^2.4.2", + "magic-string": "^0.25.7", + "minimist": "^1.2.5", + "regexpu-core": "4.5.4" + }, + "bin": { + "buble": "bin/buble" + } + }, + "node_modules/buble/node_modules/acorn": { + "version": "6.4.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", + "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/buble/node_modules/acorn-dynamic-import": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz", + "integrity": "sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "node_modules/builtin-modules": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.2.0.tgz", + "integrity": "sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA==", + "dev": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/caching-transform": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-4.0.0.tgz", + "integrity": "sha512-kpqOvwXnjjN44D89K5ccQC+RUrsy7jB/XLlRrx0D7/2HNcTPqzsb6XgYoErwko6QsV184CA2YgS1fxDiiDZMWA==", + "dev": true, + "dependencies": { + "hasha": "^5.0.0", + "make-dir": "^3.0.0", + "package-hash": "^4.0.0", + "write-file-atomic": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001286", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001286.tgz", + "integrity": "sha512-zaEMRH6xg8ESMi2eQ3R4eZ5qw/hJiVsO/HlLwniIwErij0JDr9P+8V4dtx1l+kLq6j3yy8l8W4fst1lBnat5wQ==", + "dev": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + } + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chokidar": { + "version": "3.5.2", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.2.tgz", + "integrity": "sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ==", + "dev": true, + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/clean-stack": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", + "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "dev": true, + "dependencies": { + "restore-cursor": "^3.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cli-truncate": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-2.1.0.tgz", + "integrity": "sha512-n8fOixwDD6b/ObinzTrp1ZKFzbgvKZvuz/TvejnLn1aQfC6r52XEx85FmuC+3HI+JM7coBRXUvNqEU2PHVrHpg==", + "dev": true, + "dependencies": { + "slice-ansi": "^3.0.0", + "string-width": "^4.2.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "node_modules/colorette": { + "version": "2.0.16", + "resolved": "https://registry.npmjs.org/colorette/-/colorette-2.0.16.tgz", + "integrity": "sha512-hUewv7oMjCp+wkBv5Rm0v87eJhq4woh5rSR+42YSQJKecCqgIqNkZ6lAlQms/BwHPJA5NKMRlpxPRv0n8HQW6g==", + "dev": true + }, + "node_modules/commander": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz", + "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/commenting": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/commenting/-/commenting-1.1.0.tgz", + "integrity": "sha512-YeNK4tavZwtH7jEgK1ZINXzLKm6DZdEMfsaaieOsCAN0S8vsY7UeuO3Q7d/M018EFgE+IeUAuBOKkFccBZsUZA==", + "dev": true + }, + "node_modules/commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=", + "dev": true + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "node_modules/convert-source-map": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", + "integrity": "sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.1.1" + } + }, + "node_modules/core-js": { + "version": "3.19.3", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.19.3.tgz", + "integrity": "sha512-LeLBMgEGSsG7giquSzvgBrTS7V5UL6ks3eQlUSbN8dJStlLFiRzUm5iqsRyzUB8carhfKjkJ2vzKqE6z1Vga9g==", + "dev": true, + "hasInstallScript": true, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/core-js" + } + }, + "node_modules/cosmiconfig": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.0.1.tgz", + "integrity": "sha512-a1YWNUV2HwGimB7dU2s1wUMurNKjpx60HxBB6xUM8Re+2s1g1IIfJvFR0/iCF+XHdE0GMTKTuLR32UQff4TEyQ==", + "dev": true, + "dependencies": { + "@types/parse-json": "^4.0.0", + "import-fresh": "^3.2.1", + "parse-json": "^5.0.0", + "path-type": "^4.0.0", + "yaml": "^1.10.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dev": true, + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/date-time": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/date-time/-/date-time-4.0.0.tgz", + "integrity": "sha512-I53Xcn8FBobcKFcNUfZUSE6O3HeRdp1IOLWyHkipi5S07sEZbTwP+xTrPp5Ch6q6iyFkC06B14+bm96FrdfIEA==", + "dev": true, + "dependencies": { + "time-zone": "^2.0.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/debug": { + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", + "dev": true + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, + "node_modules/deepmerge": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.2.2.tgz", + "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/default-require-extensions": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-3.0.0.tgz", + "integrity": "sha512-ek6DpXq/SCpvjhpFsLFRVtIxJCRw6fUR42lYMVZuUMK7n8eMz4Uh5clckdBjEpLhn/gEBZo7hDJnJcwdKLKQjg==", + "dev": true, + "dependencies": { + "strip-bom": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "dependencies": { + "object-keys": "^1.0.12" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "dev": true, + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dev": true, + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/electron-to-chromium": { + "version": "1.4.17", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.17.tgz", + "integrity": "sha512-zhk1MravPtq/KBhmGB7TLBILmXTgRG9TFSI3qS3DbgyfHzIl72iiTE37r/BHIbPCJJlWIo5rySyxiH4vWhu2ZA==", + "dev": true + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/enquirer": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", + "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", + "dev": true, + "dependencies": { + "ansi-colors": "^4.1.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/ensure-posix-path": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/ensure-posix-path/-/ensure-posix-path-1.1.1.tgz", + "integrity": "sha512-VWU0/zXzVbeJNXvME/5EmLuEj2TauvoaTz6aFYK1Z92JCBlDlZ3Gu0tuGR42kpW1754ywTs+QB0g5TP0oj9Zaw==", + "dev": true + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-abstract": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.19.1.tgz", + "integrity": "sha512-2vJ6tjA/UfqLm2MPs7jxVybLoB8i1t1Jd9R3kISld20sIxPcTbLuggQOUxeWeAvIUkduv/CfMjuh4WmiXr2v9w==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "get-intrinsic": "^1.1.1", + "get-symbol-description": "^1.0.0", + "has": "^1.0.3", + "has-symbols": "^1.0.2", + "internal-slot": "^1.0.3", + "is-callable": "^1.2.4", + "is-negative-zero": "^2.0.1", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.1", + "is-string": "^1.0.7", + "is-weakref": "^1.0.1", + "object-inspect": "^1.11.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.2", + "string.prototype.trimend": "^1.0.4", + "string.prototype.trimstart": "^1.0.4", + "unbox-primitive": "^1.0.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/es5-shim": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/es5-shim/-/es5-shim-4.6.2.tgz", + "integrity": "sha512-n0XTVMGps+Deyr38jtqKPR5F5hb9owYeRQcKJW39eFvzUk/u/9Ww315werRzbiNMnHCUw/YHDPBphTlEnzdi+A==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/es6-error": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", + "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==", + "dev": true + }, + "node_modules/es6-shim": { + "version": "0.35.6", + "resolved": "https://registry.npmjs.org/es6-shim/-/es6-shim-0.35.6.tgz", + "integrity": "sha512-EmTr31wppcaIAgblChZiuN/l9Y7DPyw8Xtbg7fIVngn6zMW+IEBJDJngeKC3x6wr0V/vcA2wqeFnaw1bFJbDdA==", + "dev": true + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/eslint": { + "version": "8.4.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.4.1.tgz", + "integrity": "sha512-TxU/p7LB1KxQ6+7aztTnO7K0i+h0tDi81YRY9VzB6Id71kNz+fFYnf5HD5UOQmxkzcoa0TlVZf9dpMtUv0GpWg==", + "dev": true, + "dependencies": { + "@eslint/eslintrc": "^1.0.5", + "@humanwhocodes/config-array": "^0.9.2", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "enquirer": "^2.3.5", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.1.0", + "eslint-utils": "^3.0.0", + "eslint-visitor-keys": "^3.1.0", + "espree": "^9.2.0", + "esquery": "^1.4.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^6.0.1", + "globals": "^13.6.0", + "ignore": "^4.0.6", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.0.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "progress": "^2.0.0", + "regexpp": "^3.2.0", + "semver": "^7.2.1", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.0", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-config-prettier": { + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz", + "integrity": "sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==", + "dev": true, + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-import-resolver-node": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz", + "integrity": "sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==", + "dev": true, + "dependencies": { + "debug": "^3.2.7", + "resolve": "^1.20.0" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-module-utils": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.1.tgz", + "integrity": "sha512-fjoetBXQZq2tSTWZ9yWVl2KuFrTZZH3V+9iD1V1RfpDgxzJR+mPd/KZmMiA8gbPqdBzpNiEHOuT7IYEWxrH0zQ==", + "dev": true, + "dependencies": { + "debug": "^3.2.7", + "find-up": "^2.1.0", + "pkg-dir": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import": { + "version": "2.25.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.3.tgz", + "integrity": "sha512-RzAVbby+72IB3iOEL8clzPLzL3wpDrlwjsTBAQXgyp5SeTqqY+0bFubwuo+y/HLhNZcXV4XqTBO4LGsfyHIDXg==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.4", + "array.prototype.flat": "^1.2.5", + "debug": "^2.6.9", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.6", + "eslint-module-utils": "^2.7.1", + "has": "^1.0.3", + "is-core-module": "^2.8.0", + "is-glob": "^4.0.3", + "minimatch": "^3.0.4", + "object.values": "^1.1.5", + "resolve": "^1.20.0", + "tsconfig-paths": "^3.11.0" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "node_modules/eslint-plugin-prettier": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-4.0.0.tgz", + "integrity": "sha512-98MqmCJ7vJodoQK359bqQWaxOE0CS8paAz/GgjaZLyex4TTk3g9HugoO89EqWCrFiOqn9EVvcoo7gZzONCWVwQ==", + "dev": true, + "dependencies": { + "prettier-linter-helpers": "^1.0.0" + }, + "engines": { + "node": ">=6.0.0" + }, + "peerDependencies": { + "eslint": ">=7.28.0", + "prettier": ">=2.0.0" + }, + "peerDependenciesMeta": { + "eslint-config-prettier": { + "optional": true + } + } + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/eslint-utils": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", + "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^2.0.0" + }, + "engines": { + "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=5" + } + }, + "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", + "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.1.0.tgz", + "integrity": "sha512-yWJFpu4DtjsWKkt5GeNBBuZMlNcYVs6vRCLoCVEJrTjaSB6LC98gFipNK/erM2Heg/E8mIK+hXG/pJMLK+eRZA==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/eslint/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/eslint/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/eslint/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/eslint/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/eslint/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/eslint-scope": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.0.tgz", + "integrity": "sha512-aWwkhnS0qAXqNOgKOK0dJ2nvzEbhEvpy8OlJ9kZ0FeZnA6zpjv1/Vei+puGFFX7zkPCkHHXb7IDX3A+7yPrRWg==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/eslint/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/eslint/node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/eslint/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/eslint/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/espree": { + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.2.0.tgz", + "integrity": "sha512-oP3utRkynpZWF/F2x/HZJ+AGtnIclaR7z1pYPxy7NYM2fSO6LgK/Rkny8anRSPK/VwEA1eqm2squui0T7ZMOBg==", + "dev": true, + "dependencies": { + "acorn": "^8.6.0", + "acorn-jsx": "^5.3.1", + "eslint-visitor-keys": "^3.1.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/esquery": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", + "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "dev": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esquery/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dev": true, + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "dev": true + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true + }, + "node_modules/fast-diff": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", + "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", + "dev": true + }, + "node_modules/fast-glob": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", + "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", + "dev": true, + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "node_modules/fastq": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.13.0.tgz", + "integrity": "sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw==", + "dev": true, + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-cache-dir": { + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.2.tgz", + "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", + "dev": true, + "dependencies": { + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/avajs/find-cache-dir?sponsor=1" + } + }, + "node_modules/find-cache-dir/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-cache-dir/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-cache-dir/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/find-cache-dir/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-cache-dir/node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/find-cache-dir/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-cache-dir/node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "dependencies": { + "locate-path": "^2.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/fixturify": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/fixturify/-/fixturify-2.1.1.tgz", + "integrity": "sha512-SRgwIMXlxkb6AUgaVjIX+jCEqdhyXu9hah7mcK+lWynjKtX73Ux1TDv71B7XyaQ+LJxkYRHl5yCL8IycAvQRUw==", + "dev": true, + "dependencies": { + "@types/fs-extra": "^8.1.0", + "@types/minimatch": "^3.0.3", + "@types/rimraf": "^2.0.3", + "fs-extra": "^8.1.0", + "matcher-collection": "^2.0.1", + "walk-sync": "^2.0.2" + }, + "engines": { + "node": "10.* || >= 12.*" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "bin": { + "flat": "cli.js" + } + }, + "node_modules/flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "dev": true, + "dependencies": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flatted": { + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.4.tgz", + "integrity": "sha512-8/sOawo8tJ4QOBX8YlQBMxL8+RLZfxMQOif9o0KUKTNTjMYElWPE0r/m5VNFxTRd0NSw8qSy8dajrwX4RYI1Hw==", + "dev": true + }, + "node_modules/foreground-child": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-2.0.0.tgz", + "integrity": "sha512-dCIq9FpEcyQyXKCkyzmlPTFNgrCzPudOe+mhvJU5zAtlBnGVy2yKxtfsxK2tQBThwq225jcvBjpw1Gr40uzZCA==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/fromentries": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.3.2.tgz", + "integrity": "sha512-cHEpEQHUg0f8XdtZCc2ZAhrHzKzT0MrFUTcvx+hfxYu7rGMDc5SKoXFh+n4YigxsHXRzc6OrCshdR1bWH6HHyg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/fs-extra": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", + "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^4.0.0", + "universalify": "^0.1.0" + }, + "engines": { + "node": ">=6 <7 || >=8" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "node_modules/functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", + "dev": true + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", + "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-own-enumerable-property-symbols": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz", + "integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==", + "dev": true + }, + "node_modules/get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "dev": true, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-symbol-from-current-process-h": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-symbol-from-current-process-h/-/get-symbol-from-current-process-h-1.0.2.tgz", + "integrity": "sha512-syloC6fsCt62ELLrr1VKBM1ggOpMdetX9hTrdW77UQdcApPHLmf7CI7OKcN1c9kYuNxKcDe4iJ4FY9sX3aw2xw==", + "dev": true + }, + "node_modules/get-uv-event-loop-napi-h": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/get-uv-event-loop-napi-h/-/get-uv-event-loop-napi-h-1.0.6.tgz", + "integrity": "sha512-t5c9VNR84nRoF+eLiz6wFrEp1SE2Acg0wS+Ysa2zF0eROes+LzOfuTaVHxGy8AbS8rq7FHEJzjnCZo1BupwdJg==", + "dev": true, + "dependencies": { + "get-symbol-from-current-process-h": "^1.0.1" + } + }, + "node_modules/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/globals": { + "version": "13.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.12.0.tgz", + "integrity": "sha512-uS8X6lSKN2JumVoXrbUz+uG4BYG+eiawqm3qFcT7ammfbUHeCBoJMlHcec/S3krSk73/AE/f0szYFmgAA3kYZg==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/globby": { + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.4.tgz", + "integrity": "sha512-9O4MVG9ioZJ08ffbcyVYyLOJLk5JQ688pJ4eMGLpdWLHq/Wr1D9BlriLQyL0E+jbkuePVZXYFj47QM/v093wHg==", + "dev": true, + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.1.1", + "ignore": "^5.1.4", + "merge2": "^1.3.0", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.8.tgz", + "integrity": "sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg==", + "dev": true + }, + "node_modules/growl": { + "version": "1.10.5", + "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", + "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", + "dev": true, + "engines": { + "node": ">=4.x" + } + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", + "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/has-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", + "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hash.js": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", + "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + } + }, + "node_modules/hasha": { + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/hasha/-/hasha-5.2.2.tgz", + "integrity": "sha512-Hrp5vIK/xr5SkeN2onO32H0MgNZ0f17HRNH39WfL0SYUNOTZ5Lz1TJ8Pajo/87dYGEFlLMm7mIc/k/s6Bvz9HQ==", + "dev": true, + "dependencies": { + "is-stream": "^2.0.0", + "type-fest": "^0.8.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/hasha/node_modules/type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true, + "bin": { + "he": "bin/he" + } + }, + "node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true + }, + "node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/husky": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/husky/-/husky-7.0.4.tgz", + "integrity": "sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ==", + "dev": true, + "bin": { + "husky": "lib/bin.js" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/typicode" + } + }, + "node_modules/ignore": { + "version": "5.1.9", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.9.tgz", + "integrity": "sha512-2zeMQpbKz5dhZ9IwL0gbxSW5w0NK/MSAMtNuhgIHEPmaU3vPdKPL0UdvUCXs5SS4JAwsBxysK5sFMW8ocFiVjQ==", + "dev": true, + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true, + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "node_modules/internal-slot": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.3.tgz", + "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==", + "dev": true, + "dependencies": { + "get-intrinsic": "^1.1.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/interpret": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz", + "integrity": "sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==", + "dev": true, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dev": true, + "dependencies": { + "has-bigints": "^1.0.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-callable": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.4.tgz", + "integrity": "sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-core-module": { + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.8.0.tgz", + "integrity": "sha512-vd15qHsaqrRL7dtH6QNuy0ndJmRDrS9HAM1CAiSifNUFv4x1a0CCVsj18hJ1mShxIG6T2i1sO78MkP56r0nYRw==", + "dev": true, + "dependencies": { + "has": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-module": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz", + "integrity": "sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=", + "dev": true + }, + "node_modules/is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "dev": true, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-number-object": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.6.tgz", + "integrity": "sha512-bEVOqiRcvo3zO1+G2lVMy+gkkEm9Yh7cDMRusKKu5ZJKPUYSJwICTKZrNKHA2EbSP0Tu0+6B/emsYNHZyn6K8g==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", + "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-reference": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-3.0.0.tgz", + "integrity": "sha512-Eo1W3wUoHWoCoVM4GVl/a+K0IgiqE5aIo4kJABFyMum1ZORlPkC+UC357sSQUL5w5QCE5kCC9upl75b7+7CY/Q==", + "dev": true, + "dependencies": { + "@types/estree": "*" + } + }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-regexp": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", + "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.1.tgz", + "integrity": "sha512-IU0NmyknYZN0rChcKhRO1X8LYz5Isj/Fsqh8NJOSf+N/hCOTwy29F32Ik7a+QszE63IdvmwdTPDd6cZ5pg4cwA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dev": true, + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dev": true, + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=", + "dev": true + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", + "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-hook": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-3.0.0.tgz", + "integrity": "sha512-Pt/uge1Q9s+5VAZ+pCo16TYMWPBIl+oaNIjgLQxcX0itS6ueeaA+pEfThZpH8WxhFgCiEb8sAJY6MdUKgiIWaQ==", + "dev": true, + "dependencies": { + "append-transform": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz", + "integrity": "sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ==", + "dev": true, + "dependencies": { + "@babel/core": "^7.7.5", + "@istanbuljs/schema": "^0.1.2", + "istanbul-lib-coverage": "^3.0.0", + "semver": "^6.3.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/istanbul-lib-processinfo": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-processinfo/-/istanbul-lib-processinfo-2.0.2.tgz", + "integrity": "sha512-kOwpa7z9hme+IBPZMzQ5vdQj8srYgAtaRqeI48NGmAQ+/5yKiHLV0QbYqQpxsdEF0+w14SoB8YbnHKcXE2KnYw==", + "dev": true, + "dependencies": { + "archy": "^1.0.0", + "cross-spawn": "^7.0.0", + "istanbul-lib-coverage": "^3.0.0-alpha.1", + "make-dir": "^3.0.0", + "p-map": "^3.0.0", + "rimraf": "^3.0.0", + "uuid": "^3.3.3" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-processinfo/node_modules/p-map": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", + "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", + "dev": true, + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz", + "integrity": "sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw==", + "dev": true, + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^3.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-report/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-source-maps": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", + "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", + "dev": true, + "dependencies": { + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0", + "source-map": "^0.6.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-source-maps/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/istanbul-reports": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.1.tgz", + "integrity": "sha512-q1kvhAXWSsXfMjCdNHNPKZZv94OlspKnoGv+R9RGbnqOOQ0VbNfLFgQDVgi7hHenKsndGq3/o0OBdzDXthWcNw==", + "dev": true, + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-worker": { + "version": "26.6.2", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz", + "integrity": "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==", + "dev": true, + "dependencies": { + "@types/node": "*", + "merge-stream": "^2.0.0", + "supports-color": "^7.0.0" + }, + "engines": { + "node": ">= 10.13.0" + } + }, + "node_modules/jest-worker/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true + }, + "node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "dev": true + }, + "node_modules/json5": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", + "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", + "dev": true, + "dependencies": { + "minimist": "^1.2.5" + }, + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/jsonfile": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", + "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "dev": true, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true + }, + "node_modules/lint-staged": { + "version": "10.5.4", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-10.5.4.tgz", + "integrity": "sha512-EechC3DdFic/TdOPgj/RB3FicqE6932LTHCUm0Y2fsD9KGlLB+RwJl2q1IYBIvEsKzDOgn0D4gll+YxG5RsrKg==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "cli-truncate": "^2.1.0", + "commander": "^6.2.0", + "cosmiconfig": "^7.0.0", + "debug": "^4.2.0", + "dedent": "^0.7.0", + "enquirer": "^2.3.6", + "execa": "^4.1.0", + "listr2": "^3.2.2", + "log-symbols": "^4.0.0", + "micromatch": "^4.0.2", + "normalize-path": "^3.0.0", + "please-upgrade-node": "^3.2.0", + "string-argv": "0.3.1", + "stringify-object": "^3.3.0" + }, + "bin": { + "lint-staged": "bin/lint-staged.js" + }, + "funding": { + "url": "https://opencollective.com/lint-staged" + } + }, + "node_modules/lint-staged/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/lint-staged/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/lint-staged/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/lint-staged/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/lint-staged/node_modules/execa": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz", + "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "human-signals": "^1.1.1", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.0", + "onetime": "^5.1.0", + "signal-exit": "^3.0.2", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/lint-staged/node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dev": true, + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lint-staged/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/lint-staged/node_modules/human-signals": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz", + "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", + "dev": true, + "engines": { + "node": ">=8.12.0" + } + }, + "node_modules/lint-staged/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/listr2": { + "version": "3.13.5", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.13.5.tgz", + "integrity": "sha512-3n8heFQDSk+NcwBn3CgxEibZGaRzx+pC64n3YjpMD1qguV4nWus3Al+Oo3KooqFKTQEJ1v7MmnbnyyNspgx3NA==", + "dev": true, + "dependencies": { + "cli-truncate": "^2.1.0", + "colorette": "^2.0.16", + "log-update": "^4.0.0", + "p-map": "^4.0.0", + "rfdc": "^1.3.0", + "rxjs": "^7.4.0", + "through": "^2.3.8", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "enquirer": ">= 2.3.0 < 3" + }, + "peerDependenciesMeta": { + "enquirer": { + "optional": true + } + } + }, + "node_modules/locate-character": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/locate-character/-/locate-character-2.0.5.tgz", + "integrity": "sha512-n2GmejDXtOPBAZdIiEFy5dJ5N38xBCXLNOtw2WpB9kGh6pnrEuKlwYI+Tkpofc4wDtVXHtoAOJaMRlYG/oYaxg==", + "dev": true + }, + "node_modules/locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "dependencies": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "node_modules/lodash.flattendeep": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", + "integrity": "sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=", + "dev": true + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-symbols/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/log-symbols/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/log-symbols/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/log-symbols/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/log-symbols/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/log-update": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/log-update/-/log-update-4.0.0.tgz", + "integrity": "sha512-9fkkDevMefjg0mmzWFBW8YkFP91OrizzkW3diF7CpG+S2EYdy4+TVfGwz1zeF8x7hCx1ovSPTOE9Ngib74qqUg==", + "dev": true, + "dependencies": { + "ansi-escapes": "^4.3.0", + "cli-cursor": "^3.1.0", + "slice-ansi": "^4.0.0", + "wrap-ansi": "^6.2.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/log-update/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/log-update/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/log-update/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/log-update/node_modules/slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/slice-ansi?sponsor=1" + } + }, + "node_modules/log-update/node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dev": true, + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/magic-string": { + "version": "0.25.7", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.7.tgz", + "integrity": "sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==", + "dev": true, + "dependencies": { + "sourcemap-codec": "^1.4.4" + } + }, + "node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dev": true, + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir/node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true, + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/matcher-collection": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/matcher-collection/-/matcher-collection-2.0.1.tgz", + "integrity": "sha512-daE62nS2ZQsDg9raM0IlZzLmI2u+7ZapXBwdoeBUKAYERPDDIc0qNqA8E0Rp2D+gspKR7BgIFP52GeujaGXWeQ==", + "dev": true, + "dependencies": { + "@types/minimatch": "^3.0.3", + "minimatch": "^3.0.2" + }, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/micromatch": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", + "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "dev": true, + "dependencies": { + "braces": "^3.0.1", + "picomatch": "^2.2.3" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/minimalistic-assert": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", + "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==", + "dev": true + }, + "node_modules/minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "dev": true + }, + "node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true, + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/mocha": { + "version": "9.1.3", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-9.1.3.tgz", + "integrity": "sha512-Xcpl9FqXOAYqI3j79pEtHBBnQgVXIhpULjGQa7DVb0Po+VzmSIK9kanAiWLHoRR/dbZ2qpdPshuXr8l1VaHCzw==", + "dev": true, + "dependencies": { + "@ungap/promise-all-settled": "1.1.2", + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.2", + "debug": "4.3.2", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.1.7", + "growl": "1.10.5", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "3.0.4", + "ms": "2.1.3", + "nanoid": "3.1.25", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "which": "2.0.2", + "workerpool": "6.1.5", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha" + }, + "engines": { + "node": ">= 12.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mochajs" + } + }, + "node_modules/mocha/node_modules/debug": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", + "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/mocha/node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/mocha/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/glob": { + "version": "7.1.7", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.7.tgz", + "integrity": "sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/mocha/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/mocha/node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "node_modules/mocha/node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/mocha/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/mocha/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/mocha/node_modules/yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/moment": { + "version": "2.29.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.29.1.tgz", + "integrity": "sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/nanoid": { + "version": "3.1.25", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.25.tgz", + "integrity": "sha512-rdwtIXaXCLFAQbnfqDRnI6jaRHp9fTcYBjtFKE8eezcZ7LuLjhUaQGNeMXf1HmRoCH32CLz6XwX0TtxEOS/A3Q==", + "dev": true, + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "dev": true + }, + "node_modules/node-addon-api": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", + "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", + "dev": true + }, + "node_modules/node-gyp-build": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.3.0.tgz", + "integrity": "sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q==", + "dev": true, + "bin": { + "node-gyp-build": "bin.js", + "node-gyp-build-optional": "optional.js", + "node-gyp-build-test": "build-test.js" + } + }, + "node_modules/node-preload": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/node-preload/-/node-preload-0.2.1.tgz", + "integrity": "sha512-RM5oyBy45cLEoHqCeh+MNuFAxO0vTFBLskvQbOKnEE7YTTSN4tbN8QWDIPQ6L+WvKsB/qLEGpYe2ZZ9d4W9OIQ==", + "dev": true, + "dependencies": { + "process-on-spawn": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/node-releases": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz", + "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==", + "dev": true + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc": { + "version": "15.1.0", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-15.1.0.tgz", + "integrity": "sha512-jMW04n9SxKdKi1ZMGhvUTHBN0EICCRkHemEoE5jm6mTYcqcdas0ATzgUgejlQUHMvpnOZqGB5Xxsv9KxJW1j8A==", + "dev": true, + "dependencies": { + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.2", + "caching-transform": "^4.0.0", + "convert-source-map": "^1.7.0", + "decamelize": "^1.2.0", + "find-cache-dir": "^3.2.0", + "find-up": "^4.1.0", + "foreground-child": "^2.0.0", + "get-package-type": "^0.1.0", + "glob": "^7.1.6", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-hook": "^3.0.0", + "istanbul-lib-instrument": "^4.0.0", + "istanbul-lib-processinfo": "^2.0.2", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^4.0.0", + "istanbul-reports": "^3.0.2", + "make-dir": "^3.0.0", + "node-preload": "^0.2.1", + "p-map": "^3.0.0", + "process-on-spawn": "^1.0.0", + "resolve-from": "^5.0.0", + "rimraf": "^3.0.0", + "signal-exit": "^3.0.2", + "spawn-wrap": "^2.0.0", + "test-exclude": "^6.0.0", + "yargs": "^15.0.2" + }, + "bin": { + "nyc": "bin/nyc.js" + }, + "engines": { + "node": ">=8.9" + } + }, + "node_modules/nyc/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/nyc/node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/nyc/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/nyc/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/nyc/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/nyc/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/p-map": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-3.0.0.tgz", + "integrity": "sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ==", + "dev": true, + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/nyc/node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", + "dev": true + }, + "node_modules/nyc/node_modules/yargs": { + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "dev": true, + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/nyc/node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "dev": true, + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/object-inspect": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.1.tgz", + "integrity": "sha512-If7BjFlpkzzBeV1cqgT3OSWT3azyoxDGajR+iGnFBfVV2EWyDyWaZZW2ERDjUaY2QM8i5jI3Sj7mhsM4DDAqWA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", + "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "define-properties": "^1.1.3", + "has-symbols": "^1.0.1", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.values": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.5.tgz", + "integrity": "sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "dev": true, + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "dependencies": { + "p-try": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "dependencies": { + "p-limit": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/p-map": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", + "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", + "dev": true, + "dependencies": { + "aggregate-error": "^3.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/package-hash": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/package-hash/-/package-hash-4.0.0.tgz", + "integrity": "sha512-whdkPIooSu/bASggZ96BWVvZTRMOFxnyUG5PnTSGKoJE2gd5mbVNmR2Nj20QFzxYYgAXpoqC+AiXzl+UMRh7zQ==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.15", + "hasha": "^5.0.0", + "lodash.flattendeep": "^4.4.0", + "release-zalgo": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/package-name-regex": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/package-name-regex/-/package-name-regex-2.0.4.tgz", + "integrity": "sha512-p+ixFAmbQ9DE9TG3ptbjLc7/gwgdKEMCwdGpZwxzgD02D1q/SRRT/j32MyjGjJQ36CSTeVsvKt9Zp3PUHYWBnw==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/dword-design" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/parse-ms": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/parse-ms/-/parse-ms-2.1.0.tgz", + "integrity": "sha512-kHt7kzLoS9VBZfUsiKjv43mr91ea+U05EyKkEtqp7vNbHxmaVuEqN7XxeEVnGrMtYOAxGrDElSi96K7EgO1zCA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", + "dev": true + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/picocolors": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", + "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==", + "dev": true + }, + "node_modules/picomatch": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", + "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pinst": { + "version": "2.1.6", + "resolved": "https://registry.npmjs.org/pinst/-/pinst-2.1.6.tgz", + "integrity": "sha512-B4dYmf6nEXg1NpDSB+orYWvKa5Kfmz5KzWC29U59dpVM4S/+xp0ak/JMEsw04UQTNNKps7klu0BUalr343Gt9g==", + "dev": true, + "dependencies": { + "fromentries": "^1.3.2" + }, + "bin": { + "pinst": "bin.js" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/pkg-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", + "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", + "dev": true, + "dependencies": { + "find-up": "^2.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/please-upgrade-node": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz", + "integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==", + "dev": true, + "dependencies": { + "semver-compare": "^1.0.0" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.5.1.tgz", + "integrity": "sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==", + "dev": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/prettier-linter-helpers": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", + "dev": true, + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/pretty-bytes": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", + "integrity": "sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==", + "dev": true, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pretty-ms": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/pretty-ms/-/pretty-ms-7.0.1.tgz", + "integrity": "sha512-973driJZvxiGOQ5ONsFhOF/DtzPMOMtgC11kCpUrPGMTgqp2q/1gwzCquocrN33is0VZ5GFHXZYMM9l6h67v2Q==", + "dev": true, + "dependencies": { + "parse-ms": "^2.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/process-on-spawn": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/process-on-spawn/-/process-on-spawn-1.0.0.tgz", + "integrity": "sha512-1WsPDsUSMmZH5LeMLegqkPDrsGgsWwk1Exipy2hvB0o/F0ASzbpIctSCcZIK1ykJvtTJULEH+20WOFjMvGnCTg==", + "dev": true, + "dependencies": { + "fromentries": "^1.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/pump": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/rechoir": { + "version": "0.6.2", + "resolved": "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz", + "integrity": "sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q=", + "dev": true, + "dependencies": { + "resolve": "^1.1.6" + }, + "engines": { + "node": ">= 0.10" + } + }, + "node_modules/regenerate": { + "version": "1.4.2", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", + "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==", + "dev": true + }, + "node_modules/regenerate-unicode-properties": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.2.0.tgz", + "integrity": "sha512-F9DjY1vKLo/tPePDycuH3dn9H1OTPIkVD9Kz4LODu+F2C75mgjAJ7x/gwy6ZcSNRAAkhNlJSOHRe8k3p+K9WhA==", + "dev": true, + "dependencies": { + "regenerate": "^1.4.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regexpp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", + "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, + "node_modules/regexpu-core": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.5.4.tgz", + "integrity": "sha512-BtizvGtFQKGPUcTy56o3nk1bGRp4SZOTYrDtGNlqCQufptV5IkkLN6Emw+yunAJjzf+C9FQFtvq7IoA3+oMYHQ==", + "dev": true, + "dependencies": { + "regenerate": "^1.4.0", + "regenerate-unicode-properties": "^8.0.2", + "regjsgen": "^0.5.0", + "regjsparser": "^0.6.0", + "unicode-match-property-ecmascript": "^1.0.4", + "unicode-match-property-value-ecmascript": "^1.1.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/regjsgen": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.2.tgz", + "integrity": "sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A==", + "dev": true + }, + "node_modules/regjsparser": { + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.9.tgz", + "integrity": "sha512-ZqbNRz1SNjLAiYuwY0zoXW8Ne675IX5q+YHioAGbCw4X96Mjl2+dcX9B2ciaeyYjViDAfvIjFpQjJgLttTEERQ==", + "dev": true, + "dependencies": { + "jsesc": "~0.5.0" + }, + "bin": { + "regjsparser": "bin/parser" + } + }, + "node_modules/regjsparser/node_modules/jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true, + "bin": { + "jsesc": "bin/jsesc" + } + }, + "node_modules/release-zalgo": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/release-zalgo/-/release-zalgo-1.0.0.tgz", + "integrity": "sha1-CXALflB0Mpc5Mw5TXFqQ+2eFFzA=", + "dev": true, + "dependencies": { + "es6-error": "^4.0.1" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "dev": true + }, + "node_modules/require-relative": { + "version": "0.8.7", + "resolved": "https://registry.npmjs.org/require-relative/-/require-relative-0.8.7.tgz", + "integrity": "sha1-eZlTn8ngR6N5KPoZb44VY9q9Nt4=", + "dev": true + }, + "node_modules/requirejs": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/requirejs/-/requirejs-2.3.6.tgz", + "integrity": "sha512-ipEzlWQe6RK3jkzikgCupiTbTvm4S0/CAU5GlgptkN5SO6F3u0UD0K18wy6ErDqiCyP4J4YYe1HuAShvsxePLg==", + "dev": true, + "bin": { + "r_js": "bin/r.js", + "r.js": "bin/r.js" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/resolve": { + "version": "1.20.0", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", + "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", + "dev": true, + "dependencies": { + "is-core-module": "^2.2.0", + "path-parse": "^1.0.6" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "dev": true, + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "dev": true, + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rfdc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz", + "integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==", + "dev": true + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/rollup": { + "version": "2.61.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.61.1.tgz", + "integrity": "sha512-BbTXlEvB8d+XFbK/7E5doIcRtxWPRiqr0eb5vQ0+2paMM04Ye4PZY5nHOQef2ix24l/L0SpLd5hwcH15QHPdvA==", + "dev": true, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=10.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/rollup-plugin-license": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-license/-/rollup-plugin-license-2.6.0.tgz", + "integrity": "sha512-ilM+sb9xCvP+23tmzsCqJSm33877nIFeO6lMDGbckxc1jq2nW6WtU1nFD4cfOrKYl0cw1dkz4rC3VMAe8dA8cQ==", + "dev": true, + "dependencies": { + "commenting": "1.1.0", + "glob": "7.2.0", + "lodash": "4.17.21", + "magic-string": "0.25.7", + "mkdirp": "1.0.4", + "moment": "2.29.1", + "package-name-regex": "2.0.4", + "spdx-expression-validate": "2.0.0", + "spdx-satisfies": "5.0.1" + }, + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "rollup": "^1.0.0 || ^2.0.0" + } + }, + "node_modules/rollup-plugin-string": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-string/-/rollup-plugin-string-3.0.0.tgz", + "integrity": "sha512-vqyzgn9QefAgeKi+Y4A7jETeIAU1zQmS6VotH6bzm/zmUQEnYkpIGRaOBPY41oiWYV4JyBoGAaBjYMYuv+6wVw==", + "dev": true, + "dependencies": { + "rollup-pluginutils": "^2.4.1" + } + }, + "node_modules/rollup-plugin-terser": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz", + "integrity": "sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==", + "dev": true, + "dependencies": { + "@babel/code-frame": "^7.10.4", + "jest-worker": "^26.2.1", + "serialize-javascript": "^4.0.0", + "terser": "^5.0.0" + }, + "peerDependencies": { + "rollup": "^2.0.0" + } + }, + "node_modules/rollup-plugin-terser/node_modules/serialize-javascript": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz", + "integrity": "sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==", + "dev": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/rollup-plugin-thatworks": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/rollup-plugin-thatworks/-/rollup-plugin-thatworks-1.0.4.tgz", + "integrity": "sha512-RxlYx/oolwXW7akleFzRmJ8gQrWUK4NSZw8E+LHJTWHiA1mhseIMurz8IkyDAG4fwensXHocNYvKUHivhN9EXw==", + "dev": true, + "engines": { + "node": ">= 12" + } + }, + "node_modules/rollup-pluginutils": { + "version": "2.8.2", + "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", + "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", + "dev": true, + "dependencies": { + "estree-walker": "^0.6.1" + } + }, + "node_modules/rollup-pluginutils/node_modules/estree-walker": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", + "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", + "dev": true + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/rxjs": { + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.4.0.tgz", + "integrity": "sha512-7SQDi7xeTMCJpqViXh8gL/lebcwlp3d831F05+9B44A4B0WfsEwUQHR64gsH1kvJ+Ep/J9K2+n1hVl1CsGN23w==", + "dev": true, + "dependencies": { + "tslib": "~2.1.0" + } + }, + "node_modules/rxjs/node_modules/tslib": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", + "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==", + "dev": true + }, + "node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", + "dev": true + }, + "node_modules/sander": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/sander/-/sander-0.6.0.tgz", + "integrity": "sha1-rxYkzX+2362Y6+9WUxn5IAeNqSU=", + "dev": true, + "dependencies": { + "graceful-fs": "^4.1.3", + "mkdirp": "^0.5.1", + "rimraf": "^2.5.2" + } + }, + "node_modules/sander/node_modules/mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dev": true, + "dependencies": { + "minimist": "^1.2.5" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/sander/node_modules/rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "dev": true, + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/semver": { + "version": "7.3.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", + "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/semver-compare": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", + "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", + "dev": true + }, + "node_modules/serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, + "node_modules/setimmediate-napi": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/setimmediate-napi/-/setimmediate-napi-1.0.6.tgz", + "integrity": "sha512-sdNXN15Av1jPXuSal4Mk4tEAKn0+8lfF9Z50/negaQMrAIO9c1qM0eiCh8fT6gctp0RiCObk+6/Xfn5RMGdZoA==", + "dev": true, + "dependencies": { + "get-symbol-from-current-process-h": "^1.0.1", + "get-uv-event-loop-napi-h": "^1.0.5" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/shelljs": { + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.8.4.tgz", + "integrity": "sha512-7gk3UZ9kOfPLIAbslLzyWeGiEqx9e3rxwZM0KE6EL8GlGwjym9Mrlx5/p33bWTu9YG6vcS4MBxYZDHYr5lr8BQ==", + "dev": true, + "dependencies": { + "glob": "^7.0.0", + "interpret": "^1.0.0", + "rechoir": "^0.6.2" + }, + "bin": { + "shjs": "bin/shjs" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/shx": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/shx/-/shx-0.3.3.tgz", + "integrity": "sha512-nZJ3HFWVoTSyyB+evEKjJ1STiixGztlqwKLTUNV5KqMWtGey9fTd4KU1gdZ1X9BV6215pswQ/Jew9NsuS/fNDA==", + "dev": true, + "dependencies": { + "minimist": "^1.2.3", + "shelljs": "^0.8.4" + }, + "bin": { + "shx": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/signal-exit": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.6.tgz", + "integrity": "sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ==", + "dev": true + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/slice-ansi": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", + "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/slice-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/slice-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/slice-ansi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/source-map": { + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz", + "integrity": "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==", + "dev": true, + "engines": { + "node": ">= 8" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/source-map-support/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "dev": true + }, + "node_modules/spawn-wrap": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-2.0.0.tgz", + "integrity": "sha512-EeajNjfN9zMnULLwhZZQU3GWBoFNkbngTUPfaawT4RkMiviTxcX0qfhVbGey39mfctfDHkWtuecgQ8NJcyQWHg==", + "dev": true, + "dependencies": { + "foreground-child": "^2.0.0", + "is-windows": "^1.0.2", + "make-dir": "^3.0.0", + "rimraf": "^3.0.0", + "signal-exit": "^3.0.2", + "which": "^2.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/spdx-compare": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/spdx-compare/-/spdx-compare-1.0.0.tgz", + "integrity": "sha512-C1mDZOX0hnu0ep9dfmuoi03+eOdDoz2yvK79RxbcrVEG1NO1Ph35yW102DHWKN4pk80nwCgeMmSY5L25VE4D9A==", + "dev": true, + "dependencies": { + "array-find-index": "^1.0.2", + "spdx-expression-parse": "^3.0.0", + "spdx-ranges": "^2.0.0" + } + }, + "node_modules/spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "node_modules/spdx-expression-parse": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", + "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", + "dev": true, + "dependencies": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "node_modules/spdx-expression-validate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-validate/-/spdx-expression-validate-2.0.0.tgz", + "integrity": "sha512-b3wydZLM+Tc6CFvaRDBOF9d76oGIHNCLYFeHbftFXUWjnfZWganmDmvtM5sm1cRwJc/VDBMLyGGrsLFd1vOxbg==", + "dev": true, + "dependencies": { + "spdx-expression-parse": "^3.0.0" + } + }, + "node_modules/spdx-license-ids": { + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz", + "integrity": "sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==", + "dev": true + }, + "node_modules/spdx-ranges": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/spdx-ranges/-/spdx-ranges-2.1.1.tgz", + "integrity": "sha512-mcdpQFV7UDAgLpXEE/jOMqvK4LBoO0uTQg0uvXUewmEFhpiZx5yJSZITHB8w1ZahKdhfZqP5GPEOKLyEq5p8XA==", + "dev": true + }, + "node_modules/spdx-satisfies": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/spdx-satisfies/-/spdx-satisfies-5.0.1.tgz", + "integrity": "sha512-Nwor6W6gzFp8XX4neaKQ7ChV4wmpSh2sSDemMFSzHxpTw460jxFYeOn+jq4ybnSSw/5sc3pjka9MQPouksQNpw==", + "dev": true, + "dependencies": { + "spdx-compare": "^1.0.0", + "spdx-expression-parse": "^3.0.0", + "spdx-ranges": "^2.0.0" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, + "node_modules/string-argv": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.3.1.tgz", + "integrity": "sha512-a1uQGz7IyVy9YwhqjZIZu1c8JO8dNIe20xBmSS6qu9kv++k3JGzCVmprbNN5Kn+BgzD5E7YYwg1CcjuJMRNsvg==", + "dev": true, + "engines": { + "node": ">=0.6.19" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", + "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", + "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/stringify-object": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", + "integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==", + "dev": true, + "dependencies": { + "get-own-enumerable-property-symbols": "^3.0.0", + "is-obj": "^1.0.1", + "is-regexp": "^1.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/systemjs": { + "version": "6.11.0", + "resolved": "https://registry.npmjs.org/systemjs/-/systemjs-6.11.0.tgz", + "integrity": "sha512-7YPIY44j+BoY+E6cGBSw0oCU8SNTTIHKZgftcBdwWkDzs/M86Fdlr21FrzAyph7Zo8r3CFGscyFe4rrBtixrBg==", + "dev": true + }, + "node_modules/terser": { + "version": "5.10.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.10.0.tgz", + "integrity": "sha512-AMmF99DMfEDiRJfxfY5jj5wNH/bYO09cniSqhfoyxc8sFoYIgkJy86G04UoZU5VjlpnplVu0K6Tx6E9b5+DlHA==", + "dev": true, + "dependencies": { + "commander": "^2.20.0", + "source-map": "~0.7.2", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + }, + "peerDependencies": { + "acorn": "^8.5.0" + }, + "peerDependenciesMeta": { + "acorn": { + "optional": true + } + } + }, + "node_modules/terser/node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/test-exclude": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", + "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "dev": true, + "dependencies": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^7.1.4", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "dev": true + }, + "node_modules/through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true + }, + "node_modules/time-zone": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/time-zone/-/time-zone-2.0.0.tgz", + "integrity": "sha512-2cp/YLRm7ly33CzvySyXqo/QEOu4KMn6fCof0gpqosWY3PEJUJJhXP/Cb2wXFUuCzWWJYEmPvdHNzjLlfXC49A==", + "dev": true, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/tsconfig-paths": { + "version": "3.12.0", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.12.0.tgz", + "integrity": "sha512-e5adrnOYT6zqVnWqZu7i/BQ3BnhzvGbjEjejFXO20lKIKpwTaupkCPgEfv4GZK1IBciJUEhYs3J3p75FdaTFVg==", + "dev": true, + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.1", + "minimist": "^1.2.0", + "strip-bom": "^3.0.0" + } + }, + "node_modules/tsconfig-paths/node_modules/json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/tsconfig-paths/node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/tslib": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.3.1.tgz", + "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", + "dev": true + }, + "node_modules/tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "dev": true, + "dependencies": { + "tslib": "^1.8.1" + }, + "engines": { + "node": ">= 6" + }, + "peerDependencies": { + "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + } + }, + "node_modules/tsutils/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typedarray-to-buffer": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", + "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", + "dev": true, + "dependencies": { + "is-typedarray": "^1.0.0" + } + }, + "node_modules/typescript": { + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz", + "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, + "node_modules/unbox-primitive": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.1.tgz", + "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==", + "dev": true, + "dependencies": { + "function-bind": "^1.1.1", + "has-bigints": "^1.0.1", + "has-symbols": "^1.0.2", + "which-boxed-primitive": "^1.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/unicode-canonical-property-names-ecmascript": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", + "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-ecmascript": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz", + "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==", + "dev": true, + "dependencies": { + "unicode-canonical-property-names-ecmascript": "^1.0.4", + "unicode-property-aliases-ecmascript": "^1.0.4" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-match-property-value-ecmascript": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.2.0.tgz", + "integrity": "sha512-wjuQHGQVofmSJv1uVISKLE5zO2rNGzM/KCYZch/QQvez7C1hUhBIuZ701fYXExuufJFMPhv2SyL8CyoIfMLbIQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/unicode-property-aliases-ecmascript": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.1.0.tgz", + "integrity": "sha512-PqSoPh/pWetQ2phoj5RLiaqIk4kCNwoV3CI+LfGmWLKI3rE3kl1h59XpX2BjgDrmbxD9ARtQobPGU1SguCYuQg==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/universalify": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", + "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", + "dev": true, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dev": true, + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "dev": true, + "bin": { + "uuid": "bin/uuid" + } + }, + "node_modules/v8-compile-cache": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz", + "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==", + "dev": true + }, + "node_modules/walk-sync": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/walk-sync/-/walk-sync-2.2.0.tgz", + "integrity": "sha512-IC8sL7aB4/ZgFcGI2T1LczZeFWZ06b3zoHH7jBPyHxOtIIz1jppWHjjEXkOFvFojBVAK9pV7g47xOZ4LW3QLfg==", + "dev": true, + "dependencies": { + "@types/minimatch": "^3.0.3", + "ensure-posix-path": "^1.1.0", + "matcher-collection": "^2.0.0", + "minimatch": "^3.0.4" + }, + "engines": { + "node": "8.* || >= 10.*" + } + }, + "node_modules/weak-napi": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/weak-napi/-/weak-napi-2.0.2.tgz", + "integrity": "sha512-LcOSVFrghtVXf4QH+DLIy8iPiCktV7lVbqRDYP+bDPpLzC41RCHQPMyQOnPpWO41Ie4CmnDxS+mbL72r5xFMMQ==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "node-addon-api": "^3.0.0", + "node-gyp-build": "^4.2.1", + "setimmediate-napi": "^1.0.3" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dev": true, + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "dev": true + }, + "node_modules/word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/workerpool": { + "version": "6.1.5", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.1.5.tgz", + "integrity": "sha512-XdKkCK0Zqc6w3iTxLckiuJ81tiD/o5rBE/m+nXpRCB+/Sq4DqkfXZ/x0jW02DG1tGsfUGXbTJyZDP+eu67haSw==", + "dev": true + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/wrap-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "node_modules/write-file-atomic": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-3.0.3.tgz", + "integrity": "sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q==", + "dev": true, + "dependencies": { + "imurmurhash": "^0.1.4", + "is-typedarray": "^1.0.0", + "signal-exit": "^3.0.2", + "typedarray-to-buffer": "^3.1.5" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", + "dev": true + }, + "node_modules/yaml": { + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", + "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", + "dev": true, + "engines": { + "node": ">= 6" + } + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.9", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.9.tgz", + "integrity": "sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", + "dev": true, + "dependencies": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-unparser/node_modules/camelcase": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.1.tgz", + "integrity": "sha512-tVI4q5jjFV5CavAU8DXfza/TJcZutVKo/5Foskmsqcm0MsL91moHvwiGNnqaa2o6PF/7yT5ikDRcVcl8Rj6LCA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yargs-unparser/node_modules/decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + }, "dependencies": { "@babel/code-frame": { - "version": "7.12.11", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz", - "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.0.tgz", + "integrity": "sha512-IF4EOMEV+bfYwOmNxGzSnjR2EmQod7f1UXOpZM3l4i4o4QNwzjtJAu/HxdjHq0aYBvdqMuQEY1eg0nqW9ZPORA==", "dev": true, "requires": { - "@babel/highlight": "^7.10.4" + "@babel/highlight": "^7.16.0" } }, "@babel/compat-data": { - "version": "7.15.0", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.15.0.tgz", - "integrity": "sha512-0NqAC1IJE0S0+lL1SWFMxMkz1pKCNCjI4tr2Zx4LJSXxCLAdr6KyArnY+sno5m3yH9g737ygOyPABDsnXkpxiA==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.16.4.tgz", + "integrity": "sha512-1o/jo7D+kC9ZjHX5v+EHrdjl3PhxMrLSOTGsOdHJ+KL8HCaEK6ehrVL2RS6oHDZp+L7xLirLrPmQtEng769J/Q==", "dev": true }, "@babel/core": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.15.8.tgz", - "integrity": "sha512-3UG9dsxvYBMYwRv+gS41WKHno4K60/9GPy1CJaH6xy3Elq8CTtvtjT5R5jmNhXfCYLX2mTw+7/aq5ak/gOE0og==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.15.8", - "@babel/generator": "^7.15.8", - "@babel/helper-compilation-targets": "^7.15.4", - "@babel/helper-module-transforms": "^7.15.8", - "@babel/helpers": "^7.15.4", - "@babel/parser": "^7.15.8", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.6", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.16.0.tgz", + "integrity": "sha512-mYZEvshBRHGsIAiyH5PzCFTCfbWfoYbO/jcSdXQSUQu1/pW0xDZAUP7KEc32heqWTAfAHhV9j1vH8Sav7l+JNQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.0", + "@babel/generator": "^7.16.0", + "@babel/helper-compilation-targets": "^7.16.0", + "@babel/helper-module-transforms": "^7.16.0", + "@babel/helpers": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/traverse": "^7.16.0", + "@babel/types": "^7.16.0", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -42,24 +6651,6 @@ "source-map": "^0.5.0" }, "dependencies": { - "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", - "dev": true, - "requires": { - "@babel/highlight": "^7.14.5" - } - }, - "json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dev": true, - "requires": { - "minimist": "^1.2.5" - } - }, "semver": { "version": "6.3.0", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", @@ -75,22 +6666,16 @@ } }, "@babel/generator": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.15.8.tgz", - "integrity": "sha512-ECmAKstXbp1cvpTTZciZCgfOt6iN64lR0d+euv3UZisU5awfRawOvg07Utn/qBGuH4bRIEZKrA/4LzZyXhZr8g==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.16.0.tgz", + "integrity": "sha512-RR8hUCfRQn9j9RPKEVXo9LiwoxLPYn6hNZlvUOR8tSnaxlD0p0+la00ZP9/SnRt6HchKr+X0fO2r8vrETiJGew==", "dev": true, "requires": { - "@babel/types": "^7.15.6", + "@babel/types": "^7.16.0", "jsesc": "^2.5.1", "source-map": "^0.5.0" }, "dependencies": { - "jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "dev": true - }, "source-map": { "version": "0.5.7", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", @@ -100,14 +6685,14 @@ } }, "@babel/helper-compilation-targets": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.4.tgz", - "integrity": "sha512-rMWPCirulnPSe4d+gwdWXLfAXTTBj8M3guAf5xFQJ0nvFY7tfNAFnWdqaHegHlgDZOCT4qvhF3BYlSJag8yhqQ==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.3.tgz", + "integrity": "sha512-vKsoSQAyBmxS35JUOOt+07cLc6Nk/2ljLIHwmq2/NM6hdioUaqEXq/S+nXvbvXbZkNDlWOymPanJGOc4CBjSJA==", "dev": true, "requires": { - "@babel/compat-data": "^7.15.0", + "@babel/compat-data": "^7.16.0", "@babel/helper-validator-option": "^7.14.5", - "browserslist": "^4.16.6", + "browserslist": "^4.17.5", "semver": "^6.3.0" }, "dependencies": { @@ -120,105 +6705,105 @@ } }, "@babel/helper-function-name": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.15.4.tgz", - "integrity": "sha512-Z91cOMM4DseLIGOnog+Z8OI6YseR9bua+HpvLAQ2XayUGU+neTtX+97caALaLdyu53I/fjhbeCnWnRH1O3jFOw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.16.0.tgz", + "integrity": "sha512-BZh4mEk1xi2h4HFjWUXRQX5AEx4rvaZxHgax9gcjdLWdkjsY7MKt5p0otjsg5noXw+pB+clMCjw+aEVYADMjog==", "dev": true, "requires": { - "@babel/helper-get-function-arity": "^7.15.4", - "@babel/template": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/helper-get-function-arity": "^7.16.0", + "@babel/template": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/helper-get-function-arity": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.15.4.tgz", - "integrity": "sha512-1/AlxSF92CmGZzHnC515hm4SirTxtpDnLEJ0UyEMgTMZN+6bxXKg04dKhiRx5Enel+SUA1G1t5Ed/yQia0efrA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.16.0.tgz", + "integrity": "sha512-ASCquNcywC1NkYh/z7Cgp3w31YW8aojjYIlNg4VeJiHkqyP4AzIvr4qx7pYDb4/s8YcsZWqqOSxgkvjUz1kpDQ==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-hoist-variables": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.15.4.tgz", - "integrity": "sha512-VTy085egb3jUGVK9ycIxQiPbquesq0HUQ+tPO0uv5mPEBZipk+5FkRKiWq5apuyTE9FUrjENB0rCf8y+n+UuhA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.0.tgz", + "integrity": "sha512-1AZlpazjUR0EQZQv3sgRNfM9mEVWPK3M6vlalczA+EECcPz3XPh6VplbErL5UoMpChhSck5wAJHthlj1bYpcmg==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-member-expression-to-functions": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.4.tgz", - "integrity": "sha512-cokOMkxC/BTyNP1AlY25HuBWM32iCEsLPI4BHDpJCHHm1FU2E7dKWWIXJgQgSFiu4lp8q3bL1BIKwqkSUviqtA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.16.0.tgz", + "integrity": "sha512-bsjlBFPuWT6IWhl28EdrQ+gTvSvj5tqVP5Xeftp07SEuz5pLnsXZuDkDD3Rfcxy0IsHmbZ+7B2/9SHzxO0T+sQ==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-module-imports": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.15.4.tgz", - "integrity": "sha512-jeAHZbzUwdW/xHgHQ3QmWR4Jg6j15q4w/gCfwZvtqOxoo5DKtLHk8Bsf4c5RZRC7NmLEs+ohkdq8jFefuvIxAA==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.16.0.tgz", + "integrity": "sha512-kkH7sWzKPq0xt3H1n+ghb4xEMP8k0U7XV3kkB+ZGy69kDk2ySFW1qPi06sjKzFY3t1j6XbJSqr4mF9L7CYVyhg==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-module-transforms": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.15.8.tgz", - "integrity": "sha512-DfAfA6PfpG8t4S6npwzLvTUpp0sS7JrcuaMiy1Y5645laRJIp/LiLGIBbQKaXSInK8tiGNI7FL7L8UvB8gdUZg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.16.0.tgz", + "integrity": "sha512-My4cr9ATcaBbmaEa8M0dZNA74cfI6gitvUAskgDtAFmAqyFKDSHQo5YstxPbN+lzHl2D9l/YOEFqb2mtUh4gfA==", "dev": true, "requires": { - "@babel/helper-module-imports": "^7.15.4", - "@babel/helper-replace-supers": "^7.15.4", - "@babel/helper-simple-access": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", + "@babel/helper-module-imports": "^7.16.0", + "@babel/helper-replace-supers": "^7.16.0", + "@babel/helper-simple-access": "^7.16.0", + "@babel/helper-split-export-declaration": "^7.16.0", "@babel/helper-validator-identifier": "^7.15.7", - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.6" + "@babel/template": "^7.16.0", + "@babel/traverse": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/helper-optimise-call-expression": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.15.4.tgz", - "integrity": "sha512-E/z9rfbAOt1vDW1DR7k4SzhzotVV5+qMciWV6LaG1g4jeFrkDlJedjtV4h0i4Q/ITnUu+Pk08M7fczsB9GXBDw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.16.0.tgz", + "integrity": "sha512-SuI467Gi2V8fkofm2JPnZzB/SUuXoJA5zXe/xzyPP2M04686RzFKFHPK6HDVN6JvWBIEW8tt9hPR7fXdn2Lgpw==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-replace-supers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.15.4.tgz", - "integrity": "sha512-/ztT6khaXF37MS47fufrKvIsiQkx1LBRvSJNzRqmbyeZnTwU9qBxXYLaaT/6KaxfKhjs2Wy8kG8ZdsFUuWBjzw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.16.0.tgz", + "integrity": "sha512-TQxuQfSCdoha7cpRNJvfaYxxxzmbxXw/+6cS7V02eeDYyhxderSoMVALvwupA54/pZcOTtVeJ0xccp1nGWladA==", "dev": true, "requires": { - "@babel/helper-member-expression-to-functions": "^7.15.4", - "@babel/helper-optimise-call-expression": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/helper-member-expression-to-functions": "^7.16.0", + "@babel/helper-optimise-call-expression": "^7.16.0", + "@babel/traverse": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/helper-simple-access": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.15.4.tgz", - "integrity": "sha512-UzazrDoIVOZZcTeHHEPYrr1MvTR/K+wgLg6MY6e1CJyaRhbibftF6fR2KU2sFRtI/nERUZR9fBd6aKgBlIBaPg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.16.0.tgz", + "integrity": "sha512-o1rjBT/gppAqKsYfUdfHq5Rk03lMQrkPHG1OWzHWpLgVXRH4HnMM9Et9CVdIqwkCQlobnGHEJMsgWP/jE1zUiw==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-split-export-declaration": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.15.4.tgz", - "integrity": "sha512-HsFqhLDZ08DxCpBdEVtKmywj6PQbwnF6HHybur0MAnkAKnlS6uHkwnmRIkElB2Owpfb4xL4NwDmDLFubueDXsw==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.0.tgz", + "integrity": "sha512-0YMMRpuDFNGTHNRiiqJX19GjNXA4H0E8jZ2ibccfSxaCogbm3am5WN/2nQNj0YnQwGWM1J06GOcQ2qnh3+0paw==", "dev": true, "requires": { - "@babel/types": "^7.15.4" + "@babel/types": "^7.16.0" } }, "@babel/helper-validator-identifier": { @@ -234,81 +6819,61 @@ "dev": true }, "@babel/helpers": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.15.4.tgz", - "integrity": "sha512-V45u6dqEJ3w2rlryYYXf6i9rQ5YMNu4FLS6ngs8ikblhu2VdR1AqAd6aJjBzmf2Qzh6KOLqKHxEN9+TFbAkAVQ==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.3.tgz", + "integrity": "sha512-Xn8IhDlBPhvYTvgewPKawhADichOsbkZuzN7qz2BusOM0brChsyXMDJvldWaYMMUNiCQdQzNEioXTp3sC8Nt8w==", "dev": true, "requires": { - "@babel/template": "^7.15.4", - "@babel/traverse": "^7.15.4", - "@babel/types": "^7.15.4" + "@babel/template": "^7.16.0", + "@babel/traverse": "^7.16.3", + "@babel/types": "^7.16.0" } }, "@babel/highlight": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.14.5.tgz", - "integrity": "sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.16.0.tgz", + "integrity": "sha512-t8MH41kUQylBtu2+4IQA3atqevA2lRgqA2wyVB/YiWmsDSuylZZuXOUy9ric30hfzauEFfdsuk/eXTRrGrfd0g==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.5", + "@babel/helper-validator-identifier": "^7.15.7", "chalk": "^2.0.0", "js-tokens": "^4.0.0" } }, "@babel/parser": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.15.8.tgz", - "integrity": "sha512-BRYa3wcQnjS/nqI8Ac94pYYpJfojHVvVXJ97+IDCImX4Jc8W8Xv1+47enbruk+q1etOpsQNwnfFcNGw+gtPGxA==", + "version": "7.16.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.4.tgz", + "integrity": "sha512-6V0qdPUaiVHH3RtZeLIsc+6pDhbYzHR8ogA8w+f+Wc77DuXto19g2QUwveINoS34Uw+W8/hQDGJCx+i4n7xcng==", "dev": true }, "@babel/template": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz", - "integrity": "sha512-UgBAfEa1oGuYgDIPM2G+aHa4Nlo9Lh6mGD2bDBGMTbYnc38vulXPuC1MGjYILIEmlwl6Rd+BPR9ee3gm20CBtg==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.16.0.tgz", + "integrity": "sha512-MnZdpFD/ZdYhXwiunMqqgyZyucaYsbL0IrjoGjaVhGilz+x8YB++kRfygSOIj1yOtWKPlx7NBp+9I1RQSgsd5A==", "dev": true, "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4" - }, - "dependencies": { - "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", - "dev": true, - "requires": { - "@babel/highlight": "^7.14.5" - } - } + "@babel/code-frame": "^7.16.0", + "@babel/parser": "^7.16.0", + "@babel/types": "^7.16.0" } }, "@babel/traverse": { - "version": "7.15.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.15.4.tgz", - "integrity": "sha512-W6lQD8l4rUbQR/vYgSuCAE75ADyyQvOpFVsvPPdkhf6lATXAsQIG9YdtOcu8BB1dZ0LKu+Zo3c1wEcbKeuhdlA==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.14.5", - "@babel/generator": "^7.15.4", - "@babel/helper-function-name": "^7.15.4", - "@babel/helper-hoist-variables": "^7.15.4", - "@babel/helper-split-export-declaration": "^7.15.4", - "@babel/parser": "^7.15.4", - "@babel/types": "^7.15.4", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.3.tgz", + "integrity": "sha512-eolumr1vVMjqevCpwVO99yN/LoGL0EyHiLO5I043aYQvwOJ9eR5UsZSClHVCzfhBduMAsSzgA/6AyqPjNayJag==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.16.0", + "@babel/generator": "^7.16.0", + "@babel/helper-function-name": "^7.16.0", + "@babel/helper-hoist-variables": "^7.16.0", + "@babel/helper-split-export-declaration": "^7.16.0", + "@babel/parser": "^7.16.3", + "@babel/types": "^7.16.0", "debug": "^4.1.0", "globals": "^11.1.0" }, "dependencies": { - "@babel/code-frame": { - "version": "7.15.8", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz", - "integrity": "sha512-2IAnmn8zbvC/jKYhq5Ki9I+DwjlrtMPUCH/CpHvqI4dNnlwHwsxoIhlc8WcYY5LSYknXQtAlFYuHfqAFCvQ4Wg==", - "dev": true, - "requires": { - "@babel/highlight": "^7.14.5" - } - }, "globals": { "version": "11.12.0", "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", @@ -318,12 +6883,12 @@ } }, "@babel/types": { - "version": "7.15.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.15.6.tgz", - "integrity": "sha512-BPU+7QhqNjmWyDO0/vitH/CuhpV8ZmK1wpKva8nuyNF5MJfuRNWMc+hc14+u9xT93kvykMdncrJT19h74uB1Ig==", + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.16.0.tgz", + "integrity": "sha512-PJgg/k3SdLsGb3hhisFvtLOw5ts113klrpLuIPtCJIU+BB24fqq6lf8RWqKJEjzqXR9AEH1rIb5XTqwBHB+kQg==", "dev": true, "requires": { - "@babel/helper-validator-identifier": "^7.14.9", + "@babel/helper-validator-identifier": "^7.15.7", "to-fast-properties": "^2.0.0" } }, @@ -344,26 +6909,11 @@ "strip-json-comments": "^3.1.1" }, "dependencies": { - "argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, "ignore": { "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true - }, - "js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "requires": { - "argparse": "^2.0.1" - } + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true } } }, @@ -397,11 +6947,14 @@ "resolve-from": "^5.0.0" }, "dependencies": { - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } }, "find-up": { "version": "4.1.0", @@ -413,6 +6966,16 @@ "path-exists": "^4.0.0" } }, + "js-yaml": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", + "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + }, "locate-path": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", @@ -522,6 +7085,18 @@ "estree-walker": "^1.0.1", "picomatch": "^2.2.2" } + }, + "@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true } } }, @@ -559,10 +7134,10 @@ } } }, - "estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", + "@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", "dev": true }, "is-reference": { @@ -595,13 +7170,25 @@ "estree-walker": "^1.0.1", "picomatch": "^2.2.2" } + }, + "@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true } } }, "@rollup/plugin-node-resolve": { - "version": "13.0.6", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.0.6.tgz", - "integrity": "sha512-sFsPDMPd4gMqnh2gS0uIxELnoRUp5kBl5knxD2EO0778G1oOJv4G1vyT2cpWz75OU2jDVcXhjVUuTAczGyFNKA==", + "version": "13.1.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.1.1.tgz", + "integrity": "sha512-6QKtRevXLrmEig9UiMYt2fSvee9TyltGRfw+qSs6xjUnxwjOzTOqy+/Lpxsgjb8mJn1EQNbCDAvt89O4uzL5kw==", "dev": true, "requires": { "@rollup/pluginutils": "^3.1.0", @@ -622,6 +7209,18 @@ "estree-walker": "^1.0.1", "picomatch": "^2.2.2" } + }, + "@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true } } }, @@ -645,6 +7244,18 @@ "estree-walker": "^1.0.1", "picomatch": "^2.2.2" } + }, + "@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true } } }, @@ -668,25 +7279,29 @@ "estree-walker": "^1.0.1", "picomatch": "^2.2.2" } + }, + "@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "estree-walker": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", + "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "dev": true } } }, "@rollup/pluginutils": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.1.1.tgz", - "integrity": "sha512-clDjivHqWGXi7u+0d2r2sBi4Ie6VLEAzWMIkvJLnDmxoOhBYOTfzGbOQBA32THHm11/LiJbd01tJUpJsbshSWQ==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.1.2.tgz", + "integrity": "sha512-ROn4qvkxP9SyPeHaf7uQC/GPFY6L/OWy9+bd9AwcjOAWQwxRscoEyAUD8qCY5o5iL4jqQwoLk2kaTKJPb/HwzQ==", "dev": true, "requires": { "estree-walker": "^2.0.1", "picomatch": "^2.2.2" - }, - "dependencies": { - "estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", - "dev": true - } } }, "@types/buble": { @@ -699,9 +7314,9 @@ } }, "@types/estree": { - "version": "0.0.39", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", - "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "version": "0.0.50", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.50.tgz", + "integrity": "sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw==", "dev": true }, "@types/fs-extra": { @@ -714,9 +7329,9 @@ } }, "@types/glob": { - "version": "7.1.4", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.1.4.tgz", - "integrity": "sha512-w+LsMxKyYQm347Otw+IfBXOv9UWVjpHpCDdbBMt8Kz/xbvCYNjP+0qPh91Km3iKfSRLBB0P7fAMf0KHrPu+MyA==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==", "dev": true, "requires": { "@types/minimatch": "*", @@ -791,13 +7406,13 @@ "dev": true }, "@typescript-eslint/eslint-plugin": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.6.0.tgz", - "integrity": "sha512-MIbeMy5qfLqtgs1hWd088k1hOuRsN9JrHUPwVVKCD99EOUqScd7SrwoZl4Gso05EAP9w1kvLWUVGJOVpRPkDPA==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.7.0.tgz", + "integrity": "sha512-8RTGBpNn5a9M628wBPrCbJ+v3YTEOE2qeZb7TDkGKTDXSj36KGRg92SpFFaR/0S3rSXQxM0Og/kV9EyadsYSBg==", "dev": true, "requires": { - "@typescript-eslint/experimental-utils": "5.6.0", - "@typescript-eslint/scope-manager": "5.6.0", + "@typescript-eslint/experimental-utils": "5.7.0", + "@typescript-eslint/scope-manager": "5.7.0", "debug": "^4.3.2", "functional-red-black-tree": "^1.0.1", "ignore": "^5.1.8", @@ -807,55 +7422,55 @@ } }, "@typescript-eslint/experimental-utils": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.6.0.tgz", - "integrity": "sha512-VDoRf3Qj7+W3sS/ZBXZh3LBzp0snDLEgvp6qj0vOAIiAPM07bd5ojQ3CTzF/QFl5AKh7Bh1ycgj6lFBJHUt/DA==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.7.0.tgz", + "integrity": "sha512-u57eZ5FbEpzN5kSjmVrSesovWslH2ZyNPnaXQMXWgH57d5+EVHEt76W75vVuI9qKZ5BMDKNfRN+pxcPEjQjb2A==", "dev": true, "requires": { "@types/json-schema": "^7.0.9", - "@typescript-eslint/scope-manager": "5.6.0", - "@typescript-eslint/types": "5.6.0", - "@typescript-eslint/typescript-estree": "5.6.0", + "@typescript-eslint/scope-manager": "5.7.0", + "@typescript-eslint/types": "5.7.0", + "@typescript-eslint/typescript-estree": "5.7.0", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0" } }, "@typescript-eslint/parser": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.6.0.tgz", - "integrity": "sha512-YVK49NgdUPQ8SpCZaOpiq1kLkYRPMv9U5gcMrywzI8brtwZjr/tG3sZpuHyODt76W/A0SufNjYt9ZOgrC4tLIQ==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.7.0.tgz", + "integrity": "sha512-m/gWCCcS4jXw6vkrPQ1BjZ1vomP01PArgzvauBqzsoZ3urLbsRChexB8/YV8z9HwE3qlJM35FxfKZ1nfP/4x8g==", "dev": true, "requires": { - "@typescript-eslint/scope-manager": "5.6.0", - "@typescript-eslint/types": "5.6.0", - "@typescript-eslint/typescript-estree": "5.6.0", + "@typescript-eslint/scope-manager": "5.7.0", + "@typescript-eslint/types": "5.7.0", + "@typescript-eslint/typescript-estree": "5.7.0", "debug": "^4.3.2" } }, "@typescript-eslint/scope-manager": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.6.0.tgz", - "integrity": "sha512-1U1G77Hw2jsGWVsO2w6eVCbOg0HZ5WxL/cozVSTfqnL/eB9muhb8THsP0G3w+BB5xAHv9KptwdfYFAUfzcIh4A==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.7.0.tgz", + "integrity": "sha512-7mxR520DGq5F7sSSgM0HSSMJ+TFUymOeFRMfUfGFAVBv8BR+Jv1vHgAouYUvWRZeszVBJlLcc9fDdktxb5kmxA==", "dev": true, "requires": { - "@typescript-eslint/types": "5.6.0", - "@typescript-eslint/visitor-keys": "5.6.0" + "@typescript-eslint/types": "5.7.0", + "@typescript-eslint/visitor-keys": "5.7.0" } }, "@typescript-eslint/types": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.6.0.tgz", - "integrity": "sha512-OIZffked7mXv4mXzWU5MgAEbCf9ecNJBKi+Si6/I9PpTaj+cf2x58h2oHW5/P/yTnPkKaayfjhLvx+crnl5ubA==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.7.0.tgz", + "integrity": "sha512-5AeYIF5p2kAneIpnLFve8g50VyAjq7udM7ApZZ9JYjdPjkz0LvODfuSHIDUVnIuUoxafoWzpFyU7Sqbxgi79mA==", "dev": true }, "@typescript-eslint/typescript-estree": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.6.0.tgz", - "integrity": "sha512-92vK5tQaE81rK7fOmuWMrSQtK1IMonESR+RJR2Tlc7w4o0MeEdjgidY/uO2Gobh7z4Q1hhS94Cr7r021fMVEeA==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.7.0.tgz", + "integrity": "sha512-aO1Ql+izMrTnPj5aFFlEJkpD4jRqC4Gwhygu2oHK2wfVQpmOPbyDSveJ+r/NQo+PWV43M6uEAeLVbTi09dFLhg==", "dev": true, "requires": { - "@typescript-eslint/types": "5.6.0", - "@typescript-eslint/visitor-keys": "5.6.0", + "@typescript-eslint/types": "5.7.0", + "@typescript-eslint/visitor-keys": "5.7.0", "debug": "^4.3.2", "globby": "^11.0.4", "is-glob": "^4.0.3", @@ -864,12 +7479,12 @@ } }, "@typescript-eslint/visitor-keys": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.6.0.tgz", - "integrity": "sha512-1p7hDp5cpRFUyE3+lvA74egs+RWSgumrBpzBCDzfTFv0aQ7lIeay80yU0hIxgAhwQ6PcasW35kaOCyDOv6O/Ng==", + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.7.0.tgz", + "integrity": "sha512-hdohahZ4lTFcglZSJ3DGdzxQHBSxsLVqHzkiOmKi7xVAWC4y2c1bIMKmPJSrA4aOEoRUPOKQ87Y/taC7yVHpFg==", "dev": true, "requires": { - "@typescript-eslint/types": "5.6.0", + "@typescript-eslint/types": "5.7.0", "eslint-visitor-keys": "^3.0.0" } }, @@ -885,17 +7500,12 @@ "integrity": "sha512-U1riIR+lBSNi3IbxtaHOIKdH8sLFv3NYfNv8sg7ZsNhcfl4HF2++BfqqrNAxoCLQW1iiylOj76ecnaUxz+z9yw==", "dev": true }, - "acorn-dynamic-import": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz", - "integrity": "sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==", - "dev": true - }, "acorn-jsx": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true + "dev": true, + "requires": {} }, "acorn-walk": { "version": "8.2.0", @@ -989,13 +7599,10 @@ "dev": true }, "argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, - "requires": { - "sprintf-js": "~1.0.2" - } + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true }, "array-find-index": { "version": "1.0.2", @@ -1077,15 +7684,15 @@ "dev": true }, "browserslist": { - "version": "4.17.4", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.17.4.tgz", - "integrity": "sha512-Zg7RpbZpIJRW3am9Lyckue7PLytvVxxhJj1CaJVlCWENsGEAOlnlt8X0ZxGRPp7Bt9o8tIRM5SEXy4BCPMJjLQ==", + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.18.1.tgz", + "integrity": "sha512-8ScCzdpPwR2wQh8IT82CA2VgDwjHyqMovPBZSNH54+tm4Jk2pCuv90gmAdH6J84OCRWi0b4gMe6O6XPXuJnjgQ==", "dev": true, "requires": { - "caniuse-lite": "^1.0.30001265", - "electron-to-chromium": "^1.3.867", + "caniuse-lite": "^1.0.30001280", + "electron-to-chromium": "^1.3.896", "escalade": "^3.1.1", - "node-releases": "^2.0.0", + "node-releases": "^2.0.1", "picocolors": "^1.0.0" } }, @@ -1109,6 +7716,13 @@ "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", "dev": true + }, + "acorn-dynamic-import": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz", + "integrity": "sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==", + "dev": true, + "requires": {} } } }, @@ -1153,15 +7767,15 @@ "dev": true }, "camelcase": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.1.tgz", - "integrity": "sha512-tVI4q5jjFV5CavAU8DXfza/TJcZutVKo/5Foskmsqcm0MsL91moHvwiGNnqaa2o6PF/7yT5ikDRcVcl8Rj6LCA==", + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true }, "caniuse-lite": { - "version": "1.0.30001269", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001269.tgz", - "integrity": "sha512-UOy8okEVs48MyHYgV+RdW1Oiudl1H6KolybD6ZquD0VcrPSgj25omXO1S7rDydjpqaISCwA8Pyx+jUQKZwWO5w==", + "version": "1.0.30001286", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001286.tgz", + "integrity": "sha512-zaEMRH6xg8ESMi2eQ3R4eZ5qw/hJiVsO/HlLwniIwErij0JDr9P+8V4dtx1l+kLq6j3yy8l8W4fst1lBnat5wQ==", "dev": true }, "chalk": { @@ -1214,43 +7828,6 @@ "requires": { "slice-ansi": "^3.0.0", "string-width": "^4.2.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "slice-ansi": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", - "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", - "dev": true, - "requires": { - "ansi-styles": "^4.0.0", - "astral-regex": "^2.0.0", - "is-fullwidth-code-point": "^3.0.0" - } - } } }, "cliui": { @@ -1316,20 +7893,12 @@ "dev": true, "requires": { "safe-buffer": "~5.1.1" - }, - "dependencies": { - "safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - } } }, "core-js": { - "version": "3.18.3", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.18.3.tgz", - "integrity": "sha512-tReEhtMReZaPFVw7dajMx0vlsz3oOb8ajgPoHVYGxr8ErnZ6PcYEvvmjGmXlfpnxpkYSdOQttjB+MvVbCGfvLw==", + "version": "3.19.3", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.19.3.tgz", + "integrity": "sha512-LeLBMgEGSsG7giquSzvgBrTS7V5UL6ks3eQlUSbN8dJStlLFiRzUm5iqsRyzUB8carhfKjkJ2vzKqE6z1Vga9g==", "dev": true }, "cosmiconfig": { @@ -1366,18 +7935,18 @@ } }, "debug": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", - "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", + "version": "4.3.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", + "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", "dev": true, "requires": { "ms": "2.1.2" } }, "decamelize": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", - "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", "dev": true }, "dedent": { @@ -1405,14 +7974,6 @@ "dev": true, "requires": { "strip-bom": "^4.0.0" - }, - "dependencies": { - "strip-bom": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", - "dev": true - } } }, "define-properties": { @@ -1449,9 +8010,9 @@ } }, "electron-to-chromium": { - "version": "1.3.871", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.871.tgz", - "integrity": "sha512-qcLvDUPf8DSIMWarHT2ptgcqrYg62n3vPA7vhrOF24d8UNzbUBaHu2CySiENR3nEDzYgaN60071t0F6KLYMQ7Q==", + "version": "1.4.17", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.17.tgz", + "integrity": "sha512-zhk1MravPtq/KBhmGB7TLBILmXTgRG9TFSI3qS3DbgyfHzIl72iiTE37r/BHIbPCJJlWIo5rySyxiH4vWhu2ZA==", "dev": true }, "emoji-regex": { @@ -1617,12 +8178,6 @@ "color-convert": "^2.0.1" } }, - "argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, "chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", @@ -1691,15 +8246,6 @@ "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", "dev": true }, - "js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "requires": { - "argparse": "^2.0.1" - } - }, "supports-color": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", @@ -1715,7 +8261,8 @@ "version": "8.3.0", "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.3.0.tgz", "integrity": "sha512-BgZuLUSeKzvlL/VUjx/Yb787VQ26RU3gGjA3iiFvdsp/2bMfVIWUVP7tjxtjS0e+HP409cPlPvNkQloz8C91ew==", - "dev": true + "dev": true, + "requires": {} }, "eslint-import-resolver-node": { "version": "0.3.6", @@ -1858,14 +8405,6 @@ "acorn": "^8.6.0", "acorn-jsx": "^5.3.1", "eslint-visitor-keys": "^3.1.0" - }, - "dependencies": { - "acorn": { - "version": "8.6.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.6.0.tgz", - "integrity": "sha512-U1riIR+lBSNi3IbxtaHOIKdH8sLFv3NYfNv8sg7ZsNhcfl4HF2++BfqqrNAxoCLQW1iiylOj76ecnaUxz+z9yw==", - "dev": true - } } }, "esprima": { @@ -1915,9 +8454,9 @@ "dev": true }, "estree-walker": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz", - "integrity": "sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==", "dev": true }, "esutils": { @@ -2533,9 +9072,9 @@ "dev": true }, "is-negative-zero": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", "dev": true }, "is-number": { @@ -2633,12 +9172,12 @@ "dev": true }, "is-weakref": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.1.tgz", - "integrity": "sha512-b2jKc2pQZjaeFYWEf7ScFj+Be1I+PXmlu572Q8coTXZ+LD/QQZ7ShPMst8h16riVgyXTQwUsFEl74mDvc/3MHQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", "dev": true, "requires": { - "call-bind": "^1.0.0" + "call-bind": "^1.0.2" } }, "is-windows": { @@ -2654,9 +9193,9 @@ "dev": true }, "istanbul-lib-coverage": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.2.tgz", - "integrity": "sha512-o5+eTUYzCJ11/+JhW5/FUCdfsdoYVdQ/8I/OveE2XsjehYn5DdeSnNQAbjYaO8gQ6hvGTN6GM6ddQqpTVG5j8g==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz", + "integrity": "sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw==", "dev": true }, "istanbul-lib-hook": { @@ -2762,9 +9301,9 @@ } }, "istanbul-reports": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.0.5.tgz", - "integrity": "sha512-5+19PlhnGabNWB7kOFnuxT8H3T/iIyQzIbQMxXsURmmvKg86P2sbkrGOT77VnHw0Qr0gc2XzRaRfMZYYbSQCJQ==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.1.tgz", + "integrity": "sha512-q1kvhAXWSsXfMjCdNHNPKZZv94OlspKnoGv+R9RGbnqOOQ0VbNfLFgQDVgi7hHenKsndGq3/o0OBdzDXthWcNw==", "dev": true, "requires": { "html-escaper": "^2.0.0", @@ -2806,19 +9345,18 @@ "dev": true }, "js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", "dev": true, "requires": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" + "argparse": "^2.0.1" } }, "jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", "dev": true }, "json-parse-even-better-errors": { @@ -2840,12 +9378,12 @@ "dev": true }, "json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", + "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", "dev": true, "requires": { - "minimist": "^1.2.0" + "minimist": "^1.2.5" } }, "jsonfile": { @@ -2868,9 +9406,9 @@ } }, "lines-and-columns": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", - "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", "dev": true }, "lint-staged": { @@ -2980,26 +9518,19 @@ } }, "listr2": { - "version": "3.12.2", - "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.12.2.tgz", - "integrity": "sha512-64xC2CJ/As/xgVI3wbhlPWVPx0wfTqbUAkpb7bjDi0thSWMqrf07UFhrfsGoo8YSXmF049Rp9C0cjLC8rZxK9A==", + "version": "3.13.5", + "resolved": "https://registry.npmjs.org/listr2/-/listr2-3.13.5.tgz", + "integrity": "sha512-3n8heFQDSk+NcwBn3CgxEibZGaRzx+pC64n3YjpMD1qguV4nWus3Al+Oo3KooqFKTQEJ1v7MmnbnyyNspgx3NA==", "dev": true, "requires": { "cli-truncate": "^2.1.0", - "colorette": "^1.4.0", + "colorette": "^2.0.16", "log-update": "^4.0.0", "p-map": "^4.0.0", - "rxjs": "^6.6.7", + "rfdc": "^1.3.0", + "rxjs": "^7.4.0", "through": "^2.3.8", "wrap-ansi": "^7.0.0" - }, - "dependencies": { - "colorette": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.4.0.tgz", - "integrity": "sha512-Y2oEozpomLn7Q3HFP7dpww7AtMJplbM9lGZP6RDfHqmbeRjiwRg4n6VM6j4KLmRke85uWEI7JqF17f3pqdRA0g==", - "dev": true - } } }, "locate-character": { @@ -3133,6 +9664,17 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, + "slice-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", + "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "astral-regex": "^2.0.0", + "is-fullwidth-code-point": "^3.0.0" + } + }, "wrap-ansi": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", @@ -3278,11 +9820,22 @@ "yargs-unparser": "2.0.0" }, "dependencies": { - "argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "debug": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.2.tgz", + "integrity": "sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw==", + "dev": true, + "requires": { + "ms": "2.1.2" + }, + "dependencies": { + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + } + } }, "escape-string-regexp": { "version": "4.0.0", @@ -3320,15 +9873,6 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, - "js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "requires": { - "argparse": "^2.0.1" - } - }, "locate-path": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", @@ -3431,9 +9975,9 @@ } }, "node-releases": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.0.tgz", - "integrity": "sha512-aA87l0flFYMzCHpTM3DERFSYxc6lv/BltdbRTOMZuxZ0cwZCD3mejE5n9vLhSJCN++/eOqr77G1IO5uXxlQYWA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.1.tgz", + "integrity": "sha512-CqyzN6z7Q6aMeF/ktcMVTzhAHCEpf8SOarwpzpf8pNBY2k5/oM34UHldUwp8VKI7uxct2HxSRdJjBaZeESzcxA==", "dev": true }, "normalize-path": { @@ -3495,12 +10039,6 @@ "color-convert": "^2.0.1" } }, - "camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true - }, "cliui": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", @@ -3527,12 +10065,6 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, - "decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "dev": true - }, "find-up": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", @@ -4007,6 +10539,14 @@ "dev": true, "requires": { "jsesc": "~0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true + } } }, "release-zalgo": { @@ -4074,6 +10614,12 @@ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", "dev": true }, + "rfdc": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/rfdc/-/rfdc-1.3.0.tgz", + "integrity": "sha512-V2hovdzFbOi77/WajaSMXk2OLm+xNIeQdMMuB7icj7bk6zi2F8GGAxigcnDFpJHbNyNcgyJDiP+8nOrY5cZGrA==", + "dev": true + }, "rimraf": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", @@ -4084,9 +10630,9 @@ } }, "rollup": { - "version": "2.60.2", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.60.2.tgz", - "integrity": "sha512-1Bgjpq61sPjgoZzuiDSGvbI1tD91giZABgjCQBKM5aYLnzjq52GoDuWVwT/cm/MCxCMPU8gqQvkj8doQ5C8Oqw==", + "version": "2.61.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.61.1.tgz", + "integrity": "sha512-BbTXlEvB8d+XFbK/7E5doIcRtxWPRiqr0eb5vQ0+2paMM04Ye4PZY5nHOQef2ix24l/L0SpLd5hwcH15QHPdvA==", "dev": true, "requires": { "fsevents": "~2.3.2" @@ -4174,26 +10720,26 @@ } }, "rxjs": { - "version": "6.6.7", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", - "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.4.0.tgz", + "integrity": "sha512-7SQDi7xeTMCJpqViXh8gL/lebcwlp3d831F05+9B44A4B0WfsEwUQHR64gsH1kvJ+Ep/J9K2+n1hVl1CsGN23w==", "dev": true, "requires": { - "tslib": "^1.9.0" + "tslib": "~2.1.0" }, "dependencies": { "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.1.0.tgz", + "integrity": "sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==", "dev": true } } }, "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", "dev": true }, "sander": { @@ -4327,9 +10873,9 @@ "dev": true }, "slice-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz", - "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz", + "integrity": "sha512-pSyv7bSTC7ig9Dcgbw9AuRNUb5k5V6oDudjZoMBSr13qpLBG7tB+zgCkARjq7xIUgdz5P1Qe8u+rSGdouOOIyQ==", "dev": true, "requires": { "ansi-styles": "^4.0.0", @@ -4444,9 +10990,9 @@ } }, "spdx-license-ids": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.10.tgz", - "integrity": "sha512-oie3/+gKf7QtpitB0LYLETe+k8SifzsX4KixvpOsbI6S0kRiRQ5MKOio8eMSAKQ17N06+wdEOXRiId+zOxo0hA==", + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.11.tgz", + "integrity": "sha512-Ctl2BrFiM0X3MANYgj3CkygxhRmr9mi6xhejbdO960nF6EDJApTYpn0BQnDKlnNBULKiCN1n3w9EBkHK8ZWg+g==", "dev": true }, "spdx-ranges": { @@ -4530,9 +11076,9 @@ } }, "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", "dev": true }, "strip-final-newline": { @@ -4635,6 +11181,23 @@ "json5": "^1.0.1", "minimist": "^1.2.0", "strip-bom": "^3.0.0" + }, + "dependencies": { + "json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + } } }, "tslib": { @@ -4685,9 +11248,9 @@ } }, "typescript": { - "version": "4.5.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.2.tgz", - "integrity": "sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==", + "version": "4.5.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.4.tgz", + "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", "dev": true }, "unbox-primitive": { @@ -4924,6 +11487,20 @@ "decamelize": "^4.0.0", "flat": "^5.0.2", "is-plain-obj": "^2.1.0" + }, + "dependencies": { + "camelcase": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.2.1.tgz", + "integrity": "sha512-tVI4q5jjFV5CavAU8DXfza/TJcZutVKo/5Foskmsqcm0MsL91moHvwiGNnqaa2o6PF/7yT5ikDRcVcl8Rj6LCA==", + "dev": true + }, + "decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true + } } }, "yocto-queue": { diff --git a/package.json b/package.json index 84acbdb2164..149f76a2aa6 100644 --- a/package.json +++ b/package.json @@ -62,23 +62,23 @@ "@rollup/plugin-buble": "^0.21.3", "@rollup/plugin-commonjs": "^21.0.1", "@rollup/plugin-json": "^4.1.0", - "@rollup/plugin-node-resolve": "^13.0.6", + "@rollup/plugin-node-resolve": "^13.1.1", "@rollup/plugin-replace": "^3.0.0", "@rollup/plugin-typescript": "^8.2.5", - "@rollup/pluginutils": "^4.1.1", + "@rollup/pluginutils": "^4.1.2", "@types/node": "^10.17.60", "@types/require-relative": "^0.8.0", "@types/signal-exit": "^3.0.1", "@types/yargs-parser": "^20.2.1", - "@typescript-eslint/eslint-plugin": "^5.6.0", - "@typescript-eslint/parser": "^5.6.0", + "@typescript-eslint/eslint-plugin": "^5.7.0", + "@typescript-eslint/parser": "^5.7.0", "acorn": "^8.6.0", "acorn-jsx": "^5.3.2", "acorn-walk": "^8.2.0", "buble": "^0.20.0", "chokidar": "^3.5.2", "colorette": "^2.0.16", - "core-js": "^3.18.3", + "core-js": "^3.19.3", "date-time": "^4.0.0", "es5-shim": "^4.6.2", "es6-shim": "^0.35.6", @@ -102,7 +102,7 @@ "pretty-ms": "^7.0.1", "require-relative": "^0.8.7", "requirejs": "^2.3.6", - "rollup": "^2.60.2", + "rollup": "^2.61.1", "rollup-plugin-license": "^2.5.0", "rollup-plugin-string": "^3.0.0", "rollup-plugin-terser": "^7.0.2", @@ -116,7 +116,7 @@ "systemjs": "^6.11.0", "terser": "^5.10.0", "tslib": "^2.3.1", - "typescript": "^4.5.2", + "typescript": "^4.5.4", "weak-napi": "^2.0.2", "yargs-parser": "^20.2.9" }, diff --git a/test/form/samples/supports-core-js/_expected.js b/test/form/samples/supports-core-js/_expected.js index dcfcb45bbfd..4f85ccdd7bf 100644 --- a/test/form/samples/supports-core-js/_expected.js +++ b/test/form/samples/supports-core-js/_expected.js @@ -5,7 +5,7 @@ var check = function (it) { }; // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028 -var global$R = +var global$1S = // eslint-disable-next-line es/no-global-this -- safe check(typeof globalThis == 'object' && globalThis) || check(typeof window == 'object' && window) || @@ -17,7 +17,7 @@ var global$R = var objectGetOwnPropertyDescriptor = {}; -var fails$15 = function (exec) { +var fails$17 = function (exec) { try { return !!exec(); } catch (error) { @@ -25,31 +25,37 @@ var fails$15 = function (exec) { } }; -var fails$14 = fails$15; +var fails$16 = fails$17; // Detect IE8's incomplete defineProperty implementation -var descriptors = !fails$14(function () { +var descriptors = !fails$16(function () { // eslint-disable-next-line es/no-object-defineproperty -- required for testing return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7; }); +var call$_ = Function.prototype.call; + +var functionCall = call$_.bind ? call$_.bind(call$_) : function () { + return call$_.apply(call$_, arguments); +}; + var objectPropertyIsEnumerable = {}; -var $propertyIsEnumerable$1 = {}.propertyIsEnumerable; +var $propertyIsEnumerable$2 = {}.propertyIsEnumerable; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe var getOwnPropertyDescriptor$8 = Object.getOwnPropertyDescriptor; // Nashorn ~ JDK8 bug -var NASHORN_BUG = getOwnPropertyDescriptor$8 && !$propertyIsEnumerable$1.call({ 1: 2 }, 1); +var NASHORN_BUG = getOwnPropertyDescriptor$8 && !$propertyIsEnumerable$2.call({ 1: 2 }, 1); // `Object.prototype.propertyIsEnumerable` method implementation // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) { var descriptor = getOwnPropertyDescriptor$8(this, V); return !!descriptor && descriptor.enumerable; -} : $propertyIsEnumerable$1; +} : $propertyIsEnumerable$2; -var createPropertyDescriptor$9 = function (bitmap, value) { +var createPropertyDescriptor$a = function (bitmap, value) { return { enumerable: !(bitmap & 1), configurable: !(bitmap & 2), @@ -58,30 +64,53 @@ var createPropertyDescriptor$9 = function (bitmap, value) { }; }; -var toString$u = {}.toString; +var FunctionPrototype$4 = Function.prototype; +var bind$v = FunctionPrototype$4.bind; +var call$Z = FunctionPrototype$4.call; +var callBind = bind$v && bind$v.bind(call$Z); + +var functionUncurryThis = bind$v ? function (fn) { + return fn && callBind(call$Z, fn); +} : function (fn) { + return fn && function () { + return call$Z.apply(fn, arguments); + }; +}; + +var uncurryThis$1h = functionUncurryThis; + +var toString$w = uncurryThis$1h({}.toString); +var stringSlice$g = uncurryThis$1h(''.slice); var classofRaw$1 = function (it) { - return toString$u.call(it).slice(8, -1); + return stringSlice$g(toString$w(it), 8, -1); }; -var fails$13 = fails$15; -var classof$d = classofRaw$1; +var global$1R = global$1S; +var uncurryThis$1g = functionUncurryThis; +var fails$15 = fails$17; +var classof$j = classofRaw$1; -var split = ''.split; +var Object$7 = global$1R.Object; +var split$4 = uncurryThis$1g(''.split); // fallback for non-array-like ES3 and non-enumerable old V8 strings -var indexedObject = fails$13(function () { +var indexedObject = fails$15(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); + return !Object$7('z').propertyIsEnumerable(0); }) ? function (it) { - return classof$d(it) == 'String' ? split.call(it, '') : Object(it); -} : Object; + return classof$j(it) == 'String' ? split$4(it, '') : Object$7(it); +} : Object$7; + +var global$1Q = global$1S; + +var TypeError$F = global$1Q.TypeError; // `RequireObjectCoercible` abstract operation // https://tc39.es/ecma262/#sec-requireobjectcoercible var requireObjectCoercible$j = function (it) { - if (it == undefined) throw TypeError("Can't call method on " + it); + if (it == undefined) throw TypeError$F("Can't call method on " + it); return it; }; @@ -89,66 +118,76 @@ var requireObjectCoercible$j = function (it) { var IndexedObject$6 = indexedObject; var requireObjectCoercible$i = requireObjectCoercible$j; -var toIndexedObject$d = function (it) { +var toIndexedObject$e = function (it) { return IndexedObject$6(requireObjectCoercible$i(it)); }; // `IsCallable` abstract operation // https://tc39.es/ecma262/#sec-iscallable var isCallable$z = function (argument) { - return typeof argument === 'function'; + return typeof argument == 'function'; }; var isCallable$y = isCallable$z; -var isObject$C = function (it) { - return typeof it === 'object' ? it !== null : isCallable$y(it); +var isObject$B = function (it) { + return typeof it == 'object' ? it !== null : isCallable$y(it); }; -var global$Q = global$R; +var global$1P = global$1S; var isCallable$x = isCallable$z; var aFunction = function (argument) { return isCallable$x(argument) ? argument : undefined; }; -var getBuiltIn$y = function (namespace, method) { - return arguments.length < 2 ? aFunction(global$Q[namespace]) : global$Q[namespace] && global$Q[namespace][method]; +var getBuiltIn$z = function (namespace, method) { + return arguments.length < 2 ? aFunction(global$1P[namespace]) : global$1P[namespace] && global$1P[namespace][method]; }; -var getBuiltIn$x = getBuiltIn$y; +var uncurryThis$1f = functionUncurryThis; + +var objectIsPrototypeOf = uncurryThis$1f({}.isPrototypeOf); + +var getBuiltIn$y = getBuiltIn$z; -var engineUserAgent = getBuiltIn$x('navigator', 'userAgent') || ''; +var engineUserAgent = getBuiltIn$y('navigator', 'userAgent') || ''; -var global$P = global$R; +var global$1O = global$1S; var userAgent$7 = engineUserAgent; -var process$4 = global$P.process; -var Deno = global$P.Deno; +var process$4 = global$1O.process; +var Deno = global$1O.Deno; var versions = process$4 && process$4.versions || Deno && Deno.version; var v8 = versions && versions.v8; var match, version; if (v8) { match = v8.split('.'); - version = match[0] < 4 ? 1 : match[0] + match[1]; -} else if (userAgent$7) { + // 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$7) { match = userAgent$7.match(/Edge\/(\d+)/); if (!match || match[1] >= 74) { match = userAgent$7.match(/Chrome\/(\d+)/); - if (match) version = match[1]; + if (match) version = +match[1]; } } -var engineV8Version = version && +version; +var engineV8Version = version; /* eslint-disable es/no-symbol -- required for testing */ var V8_VERSION$3 = engineV8Version; -var fails$12 = fails$15; +var fails$14 = fails$17; // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing -var nativeSymbol$1 = !!Object.getOwnPropertySymbols && !fails$12(function () { +var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$14(function () { var symbol = Symbol(); // Chrome 38 Symbol has incorrect toString conversion // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances @@ -159,82 +198,99 @@ var nativeSymbol$1 = !!Object.getOwnPropertySymbols && !fails$12(function () { /* eslint-disable es/no-symbol -- required for testing */ -var NATIVE_SYMBOL$2 = nativeSymbol$1; +var NATIVE_SYMBOL$3 = nativeSymbol; -var useSymbolAsUid = NATIVE_SYMBOL$2 +var useSymbolAsUid = NATIVE_SYMBOL$3 && !Symbol.sham && typeof Symbol.iterator == 'symbol'; +var global$1N = global$1S; +var getBuiltIn$x = getBuiltIn$z; var isCallable$w = isCallable$z; -var getBuiltIn$w = getBuiltIn$y; +var isPrototypeOf$d = objectIsPrototypeOf; var USE_SYMBOL_AS_UID$1 = useSymbolAsUid; +var Object$6 = global$1N.Object; + var isSymbol$5 = USE_SYMBOL_AS_UID$1 ? function (it) { return typeof it == 'symbol'; } : function (it) { - var $Symbol = getBuiltIn$w('Symbol'); - return isCallable$w($Symbol) && Object(it) instanceof $Symbol; + var $Symbol = getBuiltIn$x('Symbol'); + return isCallable$w($Symbol) && isPrototypeOf$d($Symbol.prototype, Object$6(it)); }; -var tryToString$3 = function (argument) { +var global$1M = global$1S; + +var String$6 = global$1M.String; + +var tryToString$5 = function (argument) { try { - return String(argument); + return String$6(argument); } catch (error) { return 'Object'; } }; +var global$1L = global$1S; var isCallable$v = isCallable$z; -var tryToString$2 = tryToString$3; +var tryToString$4 = tryToString$5; + +var TypeError$E = global$1L.TypeError; // `Assert: IsCallable(argument) is true` -var aCallable$Q = function (argument) { +var aCallable$S = function (argument) { if (isCallable$v(argument)) return argument; - throw TypeError(tryToString$2(argument) + ' is not a function'); + throw TypeError$E(tryToString$4(argument) + ' is not a function'); }; -var aCallable$P = aCallable$Q; +var aCallable$R = aCallable$S; // `GetMethod` abstract operation // https://tc39.es/ecma262/#sec-getmethod var getMethod$h = function (V, P) { var func = V[P]; - return func == null ? undefined : aCallable$P(func); + return func == null ? undefined : aCallable$R(func); }; +var global$1K = global$1S; +var call$Y = functionCall; var isCallable$u = isCallable$z; -var isObject$B = isObject$C; +var isObject$A = isObject$B; + +var TypeError$D = global$1K.TypeError; // `OrdinaryToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-ordinarytoprimitive var ordinaryToPrimitive$2 = function (input, pref) { var fn, val; - if (pref === 'string' && isCallable$u(fn = input.toString) && !isObject$B(val = fn.call(input))) return val; - if (isCallable$u(fn = input.valueOf) && !isObject$B(val = fn.call(input))) return val; - if (pref !== 'string' && isCallable$u(fn = input.toString) && !isObject$B(val = fn.call(input))) return val; - throw TypeError("Can't convert object to primitive value"); + if (pref === 'string' && isCallable$u(fn = input.toString) && !isObject$A(val = call$Y(fn, input))) return val; + if (isCallable$u(fn = input.valueOf) && !isObject$A(val = call$Y(fn, input))) return val; + if (pref !== 'string' && isCallable$u(fn = input.toString) && !isObject$A(val = call$Y(fn, input))) return val; + throw TypeError$D("Can't convert object to primitive value"); }; var shared$7 = {exports: {}}; var isPure = false; -var global$O = global$R; +var global$1J = global$1S; + +// eslint-disable-next-line es/no-object-defineproperty -- safe +var defineProperty$g = Object.defineProperty; var setGlobal$3 = function (key, value) { try { - // eslint-disable-next-line es/no-object-defineproperty -- safe - Object.defineProperty(global$O, key, { value: value, configurable: true, writable: true }); + defineProperty$g(global$1J, key, { value: value, configurable: true, writable: true }); } catch (error) { - global$O[key] = value; + global$1J[key] = value; } return value; }; -var global$N = global$R; +var global$1I = global$1S; var setGlobal$2 = setGlobal$3; var SHARED = '__core-js_shared__'; -var store$5 = global$N[SHARED] || setGlobal$2(SHARED, {}); +var store$5 = global$1I[SHARED] || setGlobal$2(SHARED, {}); var sharedStore = store$5; @@ -243,76 +299,90 @@ var store$4 = sharedStore; (shared$7.exports = function (key, value) { return store$4[key] || (store$4[key] = value !== undefined ? value : {}); })('versions', []).push({ - version: '3.18.3', + version: '3.19.3', mode: 'global', copyright: '© 2021 Denis Pushkarev (zloirock.ru)' }); +var global$1H = global$1S; var requireObjectCoercible$h = requireObjectCoercible$j; +var Object$5 = global$1H.Object; + // `ToObject` abstract operation // https://tc39.es/ecma262/#sec-toobject var toObject$z = function (argument) { - return Object(requireObjectCoercible$h(argument)); + return Object$5(requireObjectCoercible$h(argument)); }; +var uncurryThis$1e = functionUncurryThis; var toObject$y = toObject$z; -var hasOwnProperty = {}.hasOwnProperty; +var hasOwnProperty = uncurryThis$1e({}.hasOwnProperty); // `HasOwnProperty` abstract operation // https://tc39.es/ecma262/#sec-hasownproperty var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) { - return hasOwnProperty.call(toObject$y(it), key); + return hasOwnProperty(toObject$y(it), key); }; +var uncurryThis$1d = functionUncurryThis; + var id$2 = 0; var postfix = Math.random(); +var toString$v = uncurryThis$1d(1.0.toString); var uid$5 = function (key) { - return 'Symbol(' + String(key === undefined ? '' : key) + ')_' + (++id$2 + postfix).toString(36); + return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$v(++id$2 + postfix, 36); }; -var global$M = global$R; +var global$1G = global$1S; var shared$6 = shared$7.exports; -var hasOwn$o = hasOwnProperty_1; +var hasOwn$r = hasOwnProperty_1; var uid$4 = uid$5; -var NATIVE_SYMBOL$1 = nativeSymbol$1; +var NATIVE_SYMBOL$2 = nativeSymbol; var USE_SYMBOL_AS_UID = useSymbolAsUid; var WellKnownSymbolsStore$1 = shared$6('wks'); -var Symbol$3 = global$M.Symbol; +var Symbol$3 = global$1G.Symbol; +var symbolFor = Symbol$3 && Symbol$3['for']; var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$4; -var wellKnownSymbol$G = function (name) { - if (!hasOwn$o(WellKnownSymbolsStore$1, name) || !(NATIVE_SYMBOL$1 || typeof WellKnownSymbolsStore$1[name] == 'string')) { - if (NATIVE_SYMBOL$1 && hasOwn$o(Symbol$3, name)) { +var wellKnownSymbol$H = function (name) { + if (!hasOwn$r(WellKnownSymbolsStore$1, name) || !(NATIVE_SYMBOL$2 || typeof WellKnownSymbolsStore$1[name] == 'string')) { + var description = 'Symbol.' + name; + if (NATIVE_SYMBOL$2 && hasOwn$r(Symbol$3, name)) { WellKnownSymbolsStore$1[name] = Symbol$3[name]; + } else if (USE_SYMBOL_AS_UID && symbolFor) { + WellKnownSymbolsStore$1[name] = symbolFor(description); } else { - WellKnownSymbolsStore$1[name] = createWellKnownSymbol('Symbol.' + name); + WellKnownSymbolsStore$1[name] = createWellKnownSymbol(description); } } return WellKnownSymbolsStore$1[name]; }; -var isObject$A = isObject$C; +var global$1F = global$1S; +var call$X = functionCall; +var isObject$z = isObject$B; var isSymbol$4 = isSymbol$5; var getMethod$g = getMethod$h; var ordinaryToPrimitive$1 = ordinaryToPrimitive$2; -var wellKnownSymbol$F = wellKnownSymbol$G; +var wellKnownSymbol$G = wellKnownSymbol$H; -var TO_PRIMITIVE$2 = wellKnownSymbol$F('toPrimitive'); +var TypeError$C = global$1F.TypeError; +var TO_PRIMITIVE$2 = wellKnownSymbol$G('toPrimitive'); // `ToPrimitive` abstract operation // https://tc39.es/ecma262/#sec-toprimitive var toPrimitive$3 = function (input, pref) { - if (!isObject$A(input) || isSymbol$4(input)) return input; + if (!isObject$z(input) || isSymbol$4(input)) return input; var exoticToPrim = getMethod$g(input, TO_PRIMITIVE$2); var result; if (exoticToPrim) { if (pref === undefined) pref = 'default'; - result = exoticToPrim.call(input, pref); - if (!isObject$A(result) || isSymbol$4(result)) return result; - throw TypeError("Can't convert object to primitive value"); + result = call$X(exoticToPrim, input, pref); + if (!isObject$z(result) || isSymbol$4(result)) return result; + throw TypeError$C("Can't convert object to primitive value"); } if (pref === undefined) pref = 'number'; return ordinaryToPrimitive$1(input, pref); @@ -325,26 +395,26 @@ var isSymbol$3 = isSymbol$5; // https://tc39.es/ecma262/#sec-topropertykey var toPropertyKey$9 = function (argument) { var key = toPrimitive$2(argument, 'string'); - return isSymbol$3(key) ? key : String(key); + return isSymbol$3(key) ? key : key + ''; }; -var global$L = global$R; -var isObject$z = isObject$C; +var global$1E = global$1S; +var isObject$y = isObject$B; -var document$3 = global$L.document; +var document$3 = global$1E.document; // typeof document.createElement is 'object' in old IE -var EXISTS$1 = isObject$z(document$3) && isObject$z(document$3.createElement); +var EXISTS$1 = isObject$y(document$3) && isObject$y(document$3.createElement); var documentCreateElement$2 = function (it) { return EXISTS$1 ? document$3.createElement(it) : {}; }; var DESCRIPTORS$A = descriptors; -var fails$11 = fails$15; +var fails$13 = fails$17; var createElement$1 = documentCreateElement$2; // Thank's IE8 for his funny defineProperty -var ie8DomDefine = !DESCRIPTORS$A && !fails$11(function () { +var ie8DomDefine = !DESCRIPTORS$A && !fails$13(function () { // eslint-disable-next-line es/no-object-defineproperty -- requied for testing return Object.defineProperty(createElement$1('div'), 'a', { get: function () { return 7; } @@ -352,11 +422,12 @@ var ie8DomDefine = !DESCRIPTORS$A && !fails$11(function () { }); var DESCRIPTORS$z = descriptors; +var call$W = functionCall; var propertyIsEnumerableModule$2 = objectPropertyIsEnumerable; -var createPropertyDescriptor$8 = createPropertyDescriptor$9; -var toIndexedObject$c = toIndexedObject$d; +var createPropertyDescriptor$9 = createPropertyDescriptor$a; +var toIndexedObject$d = toIndexedObject$e; var toPropertyKey$8 = toPropertyKey$9; -var hasOwn$n = hasOwnProperty_1; +var hasOwn$q = hasOwnProperty_1; var IE8_DOM_DEFINE$1 = ie8DomDefine; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe @@ -365,29 +436,35 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor; // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor objectGetOwnPropertyDescriptor.f = DESCRIPTORS$z ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) { - O = toIndexedObject$c(O); + O = toIndexedObject$d(O); P = toPropertyKey$8(P); if (IE8_DOM_DEFINE$1) try { return $getOwnPropertyDescriptor$1(O, P); } catch (error) { /* empty */ } - if (hasOwn$n(O, P)) return createPropertyDescriptor$8(!propertyIsEnumerableModule$2.f.call(O, P), O[P]); + if (hasOwn$q(O, P)) return createPropertyDescriptor$9(!call$W(propertyIsEnumerableModule$2.f, O, P), O[P]); }; var objectDefineProperty = {}; -var isObject$y = isObject$C; +var global$1D = global$1S; +var isObject$x = isObject$B; + +var String$5 = global$1D.String; +var TypeError$B = global$1D.TypeError; // `Assert: Type(argument) is Object` var anObject$1C = function (argument) { - if (isObject$y(argument)) return argument; - throw TypeError(String(argument) + ' is not an object'); + if (isObject$x(argument)) return argument; + throw TypeError$B(String$5(argument) + ' is not an object'); }; +var global$1C = global$1S; var DESCRIPTORS$y = descriptors; var IE8_DOM_DEFINE = ie8DomDefine; var anObject$1B = anObject$1C; var toPropertyKey$7 = toPropertyKey$9; +var TypeError$A = global$1C.TypeError; // eslint-disable-next-line es/no-object-defineproperty -- safe var $defineProperty$1 = Object.defineProperty; @@ -400,17 +477,17 @@ objectDefineProperty.f = DESCRIPTORS$y ? $defineProperty$1 : function defineProp if (IE8_DOM_DEFINE) try { return $defineProperty$1(O, P, Attributes); } catch (error) { /* empty */ } - if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported'); + if ('get' in Attributes || 'set' in Attributes) throw TypeError$A('Accessors not supported'); if ('value' in Attributes) O[P] = Attributes.value; return O; }; var DESCRIPTORS$x = descriptors; var definePropertyModule$c = objectDefineProperty; -var createPropertyDescriptor$7 = createPropertyDescriptor$9; +var createPropertyDescriptor$8 = createPropertyDescriptor$a; var createNonEnumerableProperty$h = DESCRIPTORS$x ? function (object, key, value) { - return definePropertyModule$c.f(object, key, createPropertyDescriptor$7(1, value)); + return definePropertyModule$c.f(object, key, createPropertyDescriptor$8(1, value)); } : function (object, key, value) { object[key] = value; return object; @@ -418,25 +495,26 @@ var createNonEnumerableProperty$h = DESCRIPTORS$x ? function (object, key, value var redefine$l = {exports: {}}; +var uncurryThis$1c = functionUncurryThis; var isCallable$t = isCallable$z; var store$3 = sharedStore; -var functionToString = Function.toString; +var functionToString$1 = uncurryThis$1c(Function.toString); // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper if (!isCallable$t(store$3.inspectSource)) { store$3.inspectSource = function (it) { - return functionToString.call(it); + return functionToString$1(it); }; } var inspectSource$4 = store$3.inspectSource; -var global$K = global$R; +var global$1B = global$1S; var isCallable$s = isCallable$z; var inspectSource$3 = inspectSource$4; -var WeakMap$3 = global$K.WeakMap; +var WeakMap$3 = global$1B.WeakMap; var nativeWeakMap = isCallable$s(WeakMap$3) && /native code/.test(inspectSource$3(WeakMap$3)); @@ -452,62 +530,64 @@ var sharedKey$4 = function (key) { var hiddenKeys$6 = {}; var NATIVE_WEAK_MAP$1 = nativeWeakMap; -var global$J = global$R; -var isObject$x = isObject$C; +var global$1A = global$1S; +var uncurryThis$1b = functionUncurryThis; +var isObject$w = isObject$B; var createNonEnumerableProperty$g = createNonEnumerableProperty$h; -var hasOwn$m = hasOwnProperty_1; +var hasOwn$p = hasOwnProperty_1; var shared$4 = sharedStore; var sharedKey$3 = sharedKey$4; var hiddenKeys$5 = hiddenKeys$6; var OBJECT_ALREADY_INITIALIZED = 'Object already initialized'; -var WeakMap$2 = global$J.WeakMap; +var TypeError$z = global$1A.TypeError; +var WeakMap$2 = global$1A.WeakMap; var set$3, get$2, has; var enforce = function (it) { return has(it) ? get$2(it) : set$3(it, {}); }; -var getterFor = function (TYPE) { +var getterFor$1 = function (TYPE) { return function (it) { var state; - if (!isObject$x(it) || (state = get$2(it)).type !== TYPE) { - throw TypeError('Incompatible receiver, ' + TYPE + ' required'); + if (!isObject$w(it) || (state = get$2(it)).type !== TYPE) { + throw TypeError$z('Incompatible receiver, ' + TYPE + ' required'); } return state; }; }; if (NATIVE_WEAK_MAP$1 || shared$4.state) { var store$2 = shared$4.state || (shared$4.state = new WeakMap$2()); - var wmget = store$2.get; - var wmhas = store$2.has; - var wmset = store$2.set; + var wmget = uncurryThis$1b(store$2.get); + var wmhas = uncurryThis$1b(store$2.has); + var wmset = uncurryThis$1b(store$2.set); set$3 = function (it, metadata) { - if (wmhas.call(store$2, it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); + if (wmhas(store$2, it)) throw new TypeError$z(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; - wmset.call(store$2, it, metadata); + wmset(store$2, it, metadata); return metadata; }; get$2 = function (it) { - return wmget.call(store$2, it) || {}; + return wmget(store$2, it) || {}; }; has = function (it) { - return wmhas.call(store$2, it); + return wmhas(store$2, it); }; } else { var STATE = sharedKey$3('state'); hiddenKeys$5[STATE] = true; set$3 = function (it, metadata) { - if (hasOwn$m(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED); + if (hasOwn$p(it, STATE)) throw new TypeError$z(OBJECT_ALREADY_INITIALIZED); metadata.facade = it; createNonEnumerableProperty$g(it, STATE, metadata); return metadata; }; get$2 = function (it) { - return hasOwn$m(it, STATE) ? it[STATE] : {}; + return hasOwn$p(it, STATE) ? it[STATE] : {}; }; has = function (it) { - return hasOwn$m(it, STATE); + return hasOwn$p(it, STATE); }; } @@ -516,20 +596,20 @@ var internalState = { get: get$2, has: has, enforce: enforce, - getterFor: getterFor + getterFor: getterFor$1 }; var DESCRIPTORS$w = descriptors; -var hasOwn$l = hasOwnProperty_1; +var hasOwn$o = hasOwnProperty_1; -var FunctionPrototype$2 = Function.prototype; +var FunctionPrototype$3 = Function.prototype; // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe var getDescriptor = DESCRIPTORS$w && Object.getOwnPropertyDescriptor; -var EXISTS = hasOwn$l(FunctionPrototype$2, 'name'); +var EXISTS = hasOwn$o(FunctionPrototype$3, 'name'); // additional protection from minified / mangled / dropped function names var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something'; -var CONFIGURABLE = EXISTS && (!DESCRIPTORS$w || (DESCRIPTORS$w && getDescriptor(FunctionPrototype$2, 'name').configurable)); +var CONFIGURABLE = EXISTS && (!DESCRIPTORS$w || (DESCRIPTORS$w && getDescriptor(FunctionPrototype$3, 'name').configurable)); var functionName = { EXISTS: EXISTS, @@ -537,16 +617,16 @@ var functionName = { CONFIGURABLE: CONFIGURABLE }; -var global$I = global$R; +var global$1z = global$1S; var isCallable$r = isCallable$z; -var hasOwn$k = hasOwnProperty_1; +var hasOwn$n = hasOwnProperty_1; var createNonEnumerableProperty$f = createNonEnumerableProperty$h; var setGlobal$1 = setGlobal$3; var inspectSource$2 = inspectSource$4; var InternalStateModule$j = internalState; var CONFIGURABLE_FUNCTION_NAME$2 = functionName.CONFIGURABLE; -var getInternalState$i = InternalStateModule$j.get; +var getInternalState$h = InternalStateModule$j.get; var enforceInternalState$1 = InternalStateModule$j.enforce; var TEMPLATE = String(String).split('String'); @@ -560,7 +640,7 @@ var TEMPLATE = String(String).split('String'); if (String(name).slice(0, 7) === 'Symbol(') { name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']'; } - if (!hasOwn$k(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$2 && value.name !== name)) { + if (!hasOwn$n(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$2 && value.name !== name)) { createNonEnumerableProperty$f(value, 'name', name); } state = enforceInternalState$1(value); @@ -568,7 +648,7 @@ var TEMPLATE = String(String).split('String'); state.source = TEMPLATE.join(typeof name == 'string' ? name : ''); } } - if (O === global$I) { + if (O === global$1z) { if (simple) O[key] = value; else setGlobal$1(key, value); return; @@ -581,7 +661,7 @@ var TEMPLATE = String(String).split('String'); else createNonEnumerableProperty$f(O, key, value); // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative })(Function.prototype, 'toString', function toString() { - return isCallable$r(this) && getInternalState$i(this).source || inspectSource$2(this); + return isCallable$r(this) && getInternalState$h(this).source || inspectSource$2(this); }); var objectGetOwnPropertyNames = {}; @@ -599,15 +679,15 @@ var toIntegerOrInfinity$i = function (argument) { var toIntegerOrInfinity$h = toIntegerOrInfinity$i; -var max$6 = Math.max; +var max$7 = Math.max; var min$a = 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). -var toAbsoluteIndex$8 = function (index, length) { +var toAbsoluteIndex$9 = function (index, length) { var integer = toIntegerOrInfinity$h(index); - return integer < 0 ? max$6(integer + length, 0) : min$a(integer, length); + return integer < 0 ? max$7(integer + length, 0) : min$a(integer, length); }; var toIntegerOrInfinity$g = toIntegerOrInfinity$i; @@ -628,16 +708,16 @@ var lengthOfArrayLike$q = function (obj) { return toLength$c(obj.length); }; -var toIndexedObject$b = toIndexedObject$d; -var toAbsoluteIndex$7 = toAbsoluteIndex$8; +var toIndexedObject$c = toIndexedObject$e; +var toAbsoluteIndex$8 = toAbsoluteIndex$9; var lengthOfArrayLike$p = lengthOfArrayLike$q; // `Array.prototype.{ indexOf, includes }` methods implementation var createMethod$8 = function (IS_INCLUDES) { return function ($this, el, fromIndex) { - var O = toIndexedObject$b($this); + var O = toIndexedObject$c($this); var length = lengthOfArrayLike$p(O); - var index = toAbsoluteIndex$7(fromIndex, length); + var index = toAbsoluteIndex$8(fromIndex, length); var value; // Array#includes uses SameValueZero equality algorithm // eslint-disable-next-line no-self-compare -- NaN check @@ -661,20 +741,23 @@ var arrayIncludes = { indexOf: createMethod$8(false) }; -var hasOwn$j = hasOwnProperty_1; -var toIndexedObject$a = toIndexedObject$d; -var indexOf = arrayIncludes.indexOf; +var uncurryThis$1a = functionUncurryThis; +var hasOwn$m = hasOwnProperty_1; +var toIndexedObject$b = toIndexedObject$e; +var indexOf$2 = arrayIncludes.indexOf; var hiddenKeys$4 = hiddenKeys$6; +var push$j = uncurryThis$1a([].push); + var objectKeysInternal = function (object, names) { - var O = toIndexedObject$a(object); + var O = toIndexedObject$b(object); var i = 0; var result = []; var key; - for (key in O) !hasOwn$j(hiddenKeys$4, key) && hasOwn$j(O, key) && result.push(key); + for (key in O) !hasOwn$m(hiddenKeys$4, key) && hasOwn$m(O, key) && push$j(result, key); // Don't enum bug & hidden keys - while (names.length > i) if (hasOwn$j(O, key = names[i++])) { - ~indexOf(result, key) || result.push(key); + while (names.length > i) if (hasOwn$m(O, key = names[i++])) { + ~indexOf$2(result, key) || push$j(result, key); } return result; }; @@ -707,19 +790,22 @@ var objectGetOwnPropertySymbols = {}; // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols; -var getBuiltIn$v = getBuiltIn$y; +var getBuiltIn$w = getBuiltIn$z; +var uncurryThis$19 = functionUncurryThis; var getOwnPropertyNamesModule$2 = objectGetOwnPropertyNames; var getOwnPropertySymbolsModule$2 = objectGetOwnPropertySymbols; var anObject$1A = anObject$1C; +var concat$4 = uncurryThis$19([].concat); + // all object keys, includes non-enumerable and symbols -var ownKeys$3 = getBuiltIn$v('Reflect', 'ownKeys') || function ownKeys(it) { +var ownKeys$3 = getBuiltIn$w('Reflect', 'ownKeys') || function ownKeys(it) { var keys = getOwnPropertyNamesModule$2.f(anObject$1A(it)); var getOwnPropertySymbols = getOwnPropertySymbolsModule$2.f; - return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys; + return getOwnPropertySymbols ? concat$4(keys, getOwnPropertySymbols(it)) : keys; }; -var hasOwn$i = hasOwnProperty_1; +var hasOwn$l = hasOwnProperty_1; var ownKeys$2 = ownKeys$3; var getOwnPropertyDescriptorModule$6 = objectGetOwnPropertyDescriptor; var definePropertyModule$b = objectDefineProperty; @@ -730,11 +816,11 @@ var copyConstructorProperties$3 = function (target, source) { var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule$6.f; for (var i = 0; i < keys.length; i++) { var key = keys[i]; - if (!hasOwn$i(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); + if (!hasOwn$l(target, key)) defineProperty(target, key, getOwnPropertyDescriptor(source, key)); } }; -var fails$10 = fails$15; +var fails$12 = fails$17; var isCallable$q = isCallable$z; var replacement = /#|\.prototype\./; @@ -743,7 +829,7 @@ var isForced$5 = function (feature, detection) { var value = data[normalize(feature)]; return value == POLYFILL ? true : value == NATIVE ? false - : isCallable$q(detection) ? fails$10(detection) + : isCallable$q(detection) ? fails$12(detection) : !!detection; }; @@ -757,7 +843,7 @@ var POLYFILL = isForced$5.POLYFILL = 'P'; var isForced_1 = isForced$5; -var global$H = global$R; +var global$1y = global$1S; var getOwnPropertyDescriptor$7 = objectGetOwnPropertyDescriptor.f; var createNonEnumerableProperty$e = createNonEnumerableProperty$h; var redefine$k = redefine$l.exports; @@ -786,11 +872,11 @@ var _export = function (options, source) { var STATIC = options.stat; var FORCED, target, key, targetProperty, sourceProperty, descriptor; if (GLOBAL) { - target = global$H; + target = global$1y; } else if (STATIC) { - target = global$H[TARGET] || setGlobal(TARGET, {}); + target = global$1y[TARGET] || setGlobal(TARGET, {}); } else { - target = (global$H[TARGET] || {}).prototype; + target = (global$1y[TARGET] || {}).prototype; } if (target) for (key in source) { sourceProperty = source[key]; @@ -801,7 +887,7 @@ var _export = function (options, source) { FORCED = isForced$4(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced); // contained in target if (!FORCED && targetProperty !== undefined) { - if (typeof sourceProperty === typeof targetProperty) continue; + if (typeof sourceProperty == typeof targetProperty) continue; copyConstructorProperties$2(sourceProperty, targetProperty); } // add a flag to not completely full polyfills @@ -813,30 +899,43 @@ var _export = function (options, source) { } }; -var classof$c = classofRaw$1; +var FunctionPrototype$2 = Function.prototype; +var apply$p = FunctionPrototype$2.apply; +var bind$u = FunctionPrototype$2.bind; +var call$V = FunctionPrototype$2.call; + +// eslint-disable-next-line es/no-reflect -- safe +var functionApply$1 = typeof Reflect == 'object' && Reflect.apply || (bind$u ? call$V.bind(apply$p) : function () { + return call$V.apply(apply$p, arguments); +}); + +var classof$i = classofRaw$1; // `IsArray` abstract operation // https://tc39.es/ecma262/#sec-isarray // eslint-disable-next-line es/no-array-isarray -- safe var isArray$8 = Array.isArray || function isArray(argument) { - return classof$c(argument) == 'Array'; + return classof$i(argument) == 'Array'; }; -var wellKnownSymbol$E = wellKnownSymbol$G; +var wellKnownSymbol$F = wellKnownSymbol$H; -var TO_STRING_TAG$8 = wellKnownSymbol$E('toStringTag'); +var TO_STRING_TAG$9 = wellKnownSymbol$F('toStringTag'); var test$2 = {}; -test$2[TO_STRING_TAG$8] = 'z'; +test$2[TO_STRING_TAG$9] = 'z'; var toStringTagSupport = String(test$2) === '[object z]'; +var global$1x = global$1S; var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport; var isCallable$p = isCallable$z; var classofRaw = classofRaw$1; -var wellKnownSymbol$D = wellKnownSymbol$G; +var wellKnownSymbol$E = wellKnownSymbol$H; + +var TO_STRING_TAG$8 = wellKnownSymbol$E('toStringTag'); +var Object$4 = global$1x.Object; -var TO_STRING_TAG$7 = wellKnownSymbol$D('toStringTag'); // ES3 wrong here var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments'; @@ -848,22 +947,25 @@ var tryGet = function (it, key) { }; // getting tag from ES6+ `Object.prototype.toString` -var classof$b = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) { +var classof$h = TO_STRING_TAG_SUPPORT$2 ? 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$7)) == 'string' ? tag + : typeof (tag = tryGet(O = Object$4(it), TO_STRING_TAG$8)) == 'string' ? tag // builtinTag case : CORRECT_ARGUMENTS ? classofRaw(O) // ES3 arguments fallback : (result = classofRaw(O)) == 'Object' && isCallable$p(O.callee) ? 'Arguments' : result; }; -var classof$a = classof$b; +var global$1w = global$1S; +var classof$g = classof$h; + +var String$4 = global$1w.String; -var toString$t = function (argument) { - if (classof$a(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); - return String(argument); +var toString$u = function (argument) { + if (classof$g(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string'); + return String$4(argument); }; var internalObjectKeys = objectKeysInternal; @@ -879,6 +981,7 @@ var objectKeys$5 = Object.keys || function keys(O) { var DESCRIPTORS$v = descriptors; var definePropertyModule$a = objectDefineProperty; var anObject$1z = anObject$1C; +var toIndexedObject$a = toIndexedObject$e; var objectKeys$4 = objectKeys$5; // `Object.defineProperties` method @@ -886,17 +989,18 @@ var objectKeys$4 = objectKeys$5; // eslint-disable-next-line es/no-object-defineproperties -- safe var objectDefineProperties = DESCRIPTORS$v ? Object.defineProperties : function defineProperties(O, Properties) { anObject$1z(O); + var props = toIndexedObject$a(Properties); var keys = objectKeys$4(Properties); var length = keys.length; var index = 0; var key; - while (length > index) definePropertyModule$a.f(O, key = keys[index++], Properties[key]); + while (length > index) definePropertyModule$a.f(O, key = keys[index++], props[key]); return O; }; -var getBuiltIn$u = getBuiltIn$y; +var getBuiltIn$v = getBuiltIn$z; -var html$2 = getBuiltIn$u('document', 'documentElement'); +var html$2 = getBuiltIn$v('document', 'documentElement'); /* global ActiveXObject -- old IE, WSH */ @@ -984,12 +1088,40 @@ var objectCreate$1 = Object.create || function create(O, Properties) { var objectGetOwnPropertyNamesExternal = {}; +var toPropertyKey$6 = toPropertyKey$9; +var definePropertyModule$9 = objectDefineProperty; +var createPropertyDescriptor$7 = createPropertyDescriptor$a; + +var createProperty$8 = function (object, key, value) { + var propertyKey = toPropertyKey$6(key); + if (propertyKey in object) definePropertyModule$9.f(object, propertyKey, createPropertyDescriptor$7(0, value)); + else object[propertyKey] = value; +}; + +var global$1v = global$1S; +var toAbsoluteIndex$7 = toAbsoluteIndex$9; +var lengthOfArrayLike$o = lengthOfArrayLike$q; +var createProperty$7 = createProperty$8; + +var Array$b = global$1v.Array; +var max$6 = Math.max; + +var arraySliceSimple = function (O, start, end) { + var length = lengthOfArrayLike$o(O); + var k = toAbsoluteIndex$7(start, length); + var fin = toAbsoluteIndex$7(end === undefined ? length : end, length); + var result = Array$b(max$6(fin - k, 0)); + for (var n = 0; k < fin; k++, n++) createProperty$7(result, n, O[k]); + result.length = n; + return result; +}; + /* eslint-disable es/no-object-getownpropertynames -- safe */ -var toIndexedObject$9 = toIndexedObject$d; +var classof$f = classofRaw$1; +var toIndexedObject$9 = toIndexedObject$e; var $getOwnPropertyNames$1 = objectGetOwnPropertyNames.f; - -var toString$s = {}.toString; +var arraySlice$e = arraySliceSimple; var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : []; @@ -998,92 +1130,86 @@ var getWindowNames = function (it) { try { return $getOwnPropertyNames$1(it); } catch (error) { - return windowNames.slice(); + return arraySlice$e(windowNames); } }; // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames(it) { - return windowNames && toString$s.call(it) == '[object Window]' + return windowNames && classof$f(it) == 'Window' ? getWindowNames(it) : $getOwnPropertyNames$1(toIndexedObject$9(it)); }; +var uncurryThis$18 = functionUncurryThis; + +var arraySlice$d = uncurryThis$18([].slice); + var wellKnownSymbolWrapped = {}; -var wellKnownSymbol$C = wellKnownSymbol$G; +var wellKnownSymbol$D = wellKnownSymbol$H; -wellKnownSymbolWrapped.f = wellKnownSymbol$C; +wellKnownSymbolWrapped.f = wellKnownSymbol$D; -var global$G = global$R; +var global$1u = global$1S; -var path$1 = global$G; +var path$1 = global$1u; var path = path$1; -var hasOwn$h = hasOwnProperty_1; +var hasOwn$k = hasOwnProperty_1; var wrappedWellKnownSymbolModule$1 = wellKnownSymbolWrapped; var defineProperty$f = objectDefineProperty.f; var defineWellKnownSymbol$l = function (NAME) { var Symbol = path.Symbol || (path.Symbol = {}); - if (!hasOwn$h(Symbol, NAME)) defineProperty$f(Symbol, NAME, { + if (!hasOwn$k(Symbol, NAME)) defineProperty$f(Symbol, NAME, { value: wrappedWellKnownSymbolModule$1.f(NAME) }); }; var defineProperty$e = objectDefineProperty.f; -var hasOwn$g = hasOwnProperty_1; -var wellKnownSymbol$B = wellKnownSymbol$G; +var hasOwn$j = hasOwnProperty_1; +var wellKnownSymbol$C = wellKnownSymbol$H; -var TO_STRING_TAG$6 = wellKnownSymbol$B('toStringTag'); +var TO_STRING_TAG$7 = wellKnownSymbol$C('toStringTag'); var setToStringTag$b = function (it, TAG, STATIC) { - if (it && !hasOwn$g(it = STATIC ? it : it.prototype, TO_STRING_TAG$6)) { - defineProperty$e(it, TO_STRING_TAG$6, { configurable: true, value: TAG }); + if (it && !hasOwn$j(it = STATIC ? it : it.prototype, TO_STRING_TAG$7)) { + defineProperty$e(it, TO_STRING_TAG$7, { configurable: true, value: TAG }); } }; -var aCallable$O = aCallable$Q; +var uncurryThis$17 = functionUncurryThis; +var aCallable$Q = aCallable$S; + +var bind$t = uncurryThis$17(uncurryThis$17.bind); // optional / simple context binding -var functionBindContext = function (fn, that, length) { - aCallable$O(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 */) { +var functionBindContext = function (fn, that) { + aCallable$Q(fn); + return that === undefined ? fn : bind$t ? bind$t(fn, that) : function (/* ...args */) { return fn.apply(that, arguments); }; }; -var fails$$ = fails$15; +var uncurryThis$16 = functionUncurryThis; +var fails$11 = fails$17; var isCallable$o = isCallable$z; -var classof$9 = classof$b; -var getBuiltIn$t = getBuiltIn$y; +var classof$e = classof$h; +var getBuiltIn$u = getBuiltIn$z; var inspectSource$1 = inspectSource$4; +var noop = function () { /* empty */ }; var empty = []; -var construct$1 = getBuiltIn$t('Reflect', 'construct'); +var construct$1 = getBuiltIn$u('Reflect', 'construct'); var constructorRegExp = /^\s*(?:class|function)\b/; -var exec$1 = constructorRegExp.exec; -var INCORRECT_TO_STRING = !constructorRegExp.exec(function () { /* empty */ }); +var exec$a = uncurryThis$16(constructorRegExp.exec); +var INCORRECT_TO_STRING = !constructorRegExp.exec(noop); var isConstructorModern = function (argument) { if (!isCallable$o(argument)) return false; try { - construct$1(Object, empty, argument); + construct$1(noop, empty, argument); return true; } catch (error) { return false; @@ -1092,17 +1218,17 @@ var isConstructorModern = function (argument) { var isConstructorLegacy = function (argument) { if (!isCallable$o(argument)) return false; - switch (classof$9(argument)) { + switch (classof$e(argument)) { case 'AsyncFunction': case 'GeneratorFunction': case 'AsyncGeneratorFunction': return false; // we can't check .prototype since constructors produced by .bind haven't it - } return INCORRECT_TO_STRING || !!exec$1.call(constructorRegExp, inspectSource$1(argument)); + } return INCORRECT_TO_STRING || !!exec$a(constructorRegExp, inspectSource$1(argument)); }; // `IsConstructor` abstract operation // https://tc39.es/ecma262/#sec-isconstructor -var isConstructor$7 = !construct$1 || fails$$(function () { +var isConstructor$7 = !construct$1 || fails$11(function () { var called; return isConstructorModern(isConstructorModern.call) || !isConstructorModern(Object) @@ -1110,12 +1236,14 @@ var isConstructor$7 = !construct$1 || fails$$(function () { || called; }) ? isConstructorLegacy : isConstructorModern; +var global$1t = global$1S; var isArray$7 = isArray$8; var isConstructor$6 = isConstructor$7; -var isObject$w = isObject$C; -var wellKnownSymbol$A = wellKnownSymbol$G; +var isObject$v = isObject$B; +var wellKnownSymbol$B = wellKnownSymbol$H; -var SPECIES$6 = wellKnownSymbol$A('species'); +var SPECIES$6 = wellKnownSymbol$B('species'); +var Array$a = global$1t.Array; // a part of `ArraySpeciesCreate` abstract operation // https://tc39.es/ecma262/#sec-arrayspeciescreate @@ -1124,12 +1252,12 @@ var arraySpeciesConstructor$2 = function (originalArray) { if (isArray$7(originalArray)) { C = originalArray.constructor; // cross-realm fallback - if (isConstructor$6(C) && (C === Array || isArray$7(C.prototype))) C = undefined; - else if (isObject$w(C)) { + if (isConstructor$6(C) && (C === Array$a || isArray$7(C.prototype))) C = undefined; + else if (isObject$v(C)) { C = C[SPECIES$6]; if (C === null) C = undefined; } - } return C === undefined ? Array : C; + } return C === undefined ? Array$a : C; }; var arraySpeciesConstructor$1 = arraySpeciesConstructor$2; @@ -1140,13 +1268,14 @@ var arraySpeciesCreate$6 = function (originalArray, length) { return new (arraySpeciesConstructor$1(originalArray))(length === 0 ? 0 : length); }; -var bind$q = functionBindContext; +var bind$s = functionBindContext; +var uncurryThis$15 = functionUncurryThis; var IndexedObject$5 = indexedObject; var toObject$x = toObject$z; -var lengthOfArrayLike$o = lengthOfArrayLike$q; +var lengthOfArrayLike$n = lengthOfArrayLike$q; var arraySpeciesCreate$5 = arraySpeciesCreate$6; -var push$4 = [].push; +var push$i = uncurryThis$15([].push); // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation var createMethod$7 = function (TYPE) { @@ -1160,8 +1289,8 @@ var createMethod$7 = function (TYPE) { return function ($this, callbackfn, that, specificCreate) { var O = toObject$x($this); var self = IndexedObject$5(O); - var boundFunction = bind$q(callbackfn, that, 3); - var length = lengthOfArrayLike$o(self); + var boundFunction = bind$s(callbackfn, that); + var length = lengthOfArrayLike$n(self); var index = 0; var create = specificCreate || arraySpeciesCreate$5; var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined; @@ -1175,10 +1304,10 @@ var createMethod$7 = function (TYPE) { case 3: return true; // some case 5: return value; // find case 6: return index; // findIndex - case 2: push$4.call(target, value); // filter + case 2: push$i(target, value); // filter } else switch (TYPE) { case 4: return false; // every - case 7: push$4.call(target, value); // filterReject + case 7: push$i(target, value); // filterReject } } } @@ -1214,36 +1343,41 @@ var arrayIteration = { }; var $$4i = _export; -var global$F = global$R; -var getBuiltIn$s = getBuiltIn$y; +var global$1s = global$1S; +var getBuiltIn$t = getBuiltIn$z; +var apply$o = functionApply$1; +var call$U = functionCall; +var uncurryThis$14 = functionUncurryThis; var DESCRIPTORS$u = descriptors; -var NATIVE_SYMBOL = nativeSymbol$1; -var fails$_ = fails$15; -var hasOwn$f = hasOwnProperty_1; +var NATIVE_SYMBOL$1 = nativeSymbol; +var fails$10 = fails$17; +var hasOwn$i = hasOwnProperty_1; var isArray$6 = isArray$8; var isCallable$n = isCallable$z; -var isObject$v = isObject$C; +var isObject$u = isObject$B; +var isPrototypeOf$c = objectIsPrototypeOf; var isSymbol$2 = isSymbol$5; var anObject$1x = anObject$1C; var toObject$w = toObject$z; -var toIndexedObject$8 = toIndexedObject$d; -var toPropertyKey$6 = toPropertyKey$9; -var $toString$3 = toString$t; -var createPropertyDescriptor$6 = createPropertyDescriptor$9; +var toIndexedObject$8 = toIndexedObject$e; +var toPropertyKey$5 = toPropertyKey$9; +var $toString$3 = toString$u; +var createPropertyDescriptor$6 = createPropertyDescriptor$a; var nativeObjectCreate = objectCreate$1; var objectKeys$3 = objectKeys$5; var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames; var getOwnPropertyNamesExternal = objectGetOwnPropertyNamesExternal; var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols; var getOwnPropertyDescriptorModule$5 = objectGetOwnPropertyDescriptor; -var definePropertyModule$9 = objectDefineProperty; +var definePropertyModule$8 = objectDefineProperty; var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable; +var arraySlice$c = arraySlice$d; var redefine$j = redefine$l.exports; var shared$3 = shared$7.exports; var sharedKey$1 = sharedKey$4; var hiddenKeys$1 = hiddenKeys$6; var uid$2 = uid$5; -var wellKnownSymbol$z = wellKnownSymbol$G; +var wellKnownSymbol$A = wellKnownSymbol$H; var wrappedWellKnownSymbolModule = wellKnownSymbolWrapped; var defineWellKnownSymbol$k = defineWellKnownSymbol$l; var setToStringTag$a = setToStringTag$b; @@ -1253,41 +1387,48 @@ var $forEach$3 = arrayIteration.forEach; var HIDDEN = sharedKey$1('hidden'); var SYMBOL = 'Symbol'; var PROTOTYPE$1 = 'prototype'; -var TO_PRIMITIVE$1 = wellKnownSymbol$z('toPrimitive'); +var TO_PRIMITIVE$1 = wellKnownSymbol$A('toPrimitive'); + var setInternalState$i = InternalStateModule$i.set; -var getInternalState$h = InternalStateModule$i.getterFor(SYMBOL); -var ObjectPrototype$3 = Object[PROTOTYPE$1]; -var $Symbol = global$F.Symbol; -var $stringify$1 = getBuiltIn$s('JSON', 'stringify'); +var getInternalState$g = InternalStateModule$i.getterFor(SYMBOL); + +var ObjectPrototype$4 = Object[PROTOTYPE$1]; +var $Symbol = global$1s.Symbol; +var SymbolPrototype$1 = $Symbol && $Symbol[PROTOTYPE$1]; +var TypeError$y = global$1s.TypeError; +var QObject = global$1s.QObject; +var $stringify$1 = getBuiltIn$t('JSON', 'stringify'); var nativeGetOwnPropertyDescriptor$2 = getOwnPropertyDescriptorModule$5.f; -var nativeDefineProperty$1 = definePropertyModule$9.f; +var nativeDefineProperty$1 = definePropertyModule$8.f; var nativeGetOwnPropertyNames = getOwnPropertyNamesExternal.f; var nativePropertyIsEnumerable = propertyIsEnumerableModule$1.f; +var push$h = uncurryThis$14([].push); + var AllSymbols = shared$3('symbols'); var ObjectPrototypeSymbols = shared$3('op-symbols'); var StringToSymbolRegistry = shared$3('string-to-symbol-registry'); var SymbolToStringRegistry = shared$3('symbol-to-string-registry'); var WellKnownSymbolsStore = shared$3('wks'); -var QObject = global$F.QObject; + // Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 var USE_SETTER = !QObject || !QObject[PROTOTYPE$1] || !QObject[PROTOTYPE$1].findChild; // fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 -var setSymbolDescriptor = DESCRIPTORS$u && fails$_(function () { +var setSymbolDescriptor = DESCRIPTORS$u && fails$10(function () { return nativeObjectCreate(nativeDefineProperty$1({}, 'a', { get: function () { return nativeDefineProperty$1(this, 'a', { value: 7 }).a; } })).a != 7; }) ? function (O, P, Attributes) { - var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor$2(ObjectPrototype$3, P); - if (ObjectPrototypeDescriptor) delete ObjectPrototype$3[P]; + var ObjectPrototypeDescriptor = nativeGetOwnPropertyDescriptor$2(ObjectPrototype$4, P); + if (ObjectPrototypeDescriptor) delete ObjectPrototype$4[P]; nativeDefineProperty$1(O, P, Attributes); - if (ObjectPrototypeDescriptor && O !== ObjectPrototype$3) { - nativeDefineProperty$1(ObjectPrototype$3, P, ObjectPrototypeDescriptor); + if (ObjectPrototypeDescriptor && O !== ObjectPrototype$4) { + nativeDefineProperty$1(ObjectPrototype$4, P, ObjectPrototypeDescriptor); } } : nativeDefineProperty$1; var wrap$1 = function (tag, description) { - var symbol = AllSymbols[tag] = nativeObjectCreate($Symbol[PROTOTYPE$1]); + var symbol = AllSymbols[tag] = nativeObjectCreate(SymbolPrototype$1); setInternalState$i(symbol, { type: SYMBOL, tag: tag, @@ -1298,16 +1439,16 @@ var wrap$1 = function (tag, description) { }; var $defineProperty = function defineProperty(O, P, Attributes) { - if (O === ObjectPrototype$3) $defineProperty(ObjectPrototypeSymbols, P, Attributes); + if (O === ObjectPrototype$4) $defineProperty(ObjectPrototypeSymbols, P, Attributes); anObject$1x(O); - var key = toPropertyKey$6(P); + var key = toPropertyKey$5(P); anObject$1x(Attributes); - if (hasOwn$f(AllSymbols, key)) { + if (hasOwn$i(AllSymbols, key)) { if (!Attributes.enumerable) { - if (!hasOwn$f(O, HIDDEN)) nativeDefineProperty$1(O, HIDDEN, createPropertyDescriptor$6(1, {})); + if (!hasOwn$i(O, HIDDEN)) nativeDefineProperty$1(O, HIDDEN, createPropertyDescriptor$6(1, {})); O[HIDDEN][key] = true; } else { - if (hasOwn$f(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false; + if (hasOwn$i(O, HIDDEN) && O[HIDDEN][key]) O[HIDDEN][key] = false; Attributes = nativeObjectCreate(Attributes, { enumerable: createPropertyDescriptor$6(0, false) }); } return setSymbolDescriptor(O, key, Attributes); } return nativeDefineProperty$1(O, key, Attributes); @@ -1318,7 +1459,7 @@ var $defineProperties = function defineProperties(O, Properties) { var properties = toIndexedObject$8(Properties); var keys = objectKeys$3(properties).concat($getOwnPropertySymbols(properties)); $forEach$3(keys, function (key) { - if (!DESCRIPTORS$u || $propertyIsEnumerable.call(properties, key)) $defineProperty(O, key, properties[key]); + if (!DESCRIPTORS$u || call$U($propertyIsEnumerable$1, properties, key)) $defineProperty(O, key, properties[key]); }); return O; }; @@ -1327,20 +1468,20 @@ var $create = function create(O, Properties) { return Properties === undefined ? nativeObjectCreate(O) : $defineProperties(nativeObjectCreate(O), Properties); }; -var $propertyIsEnumerable = function propertyIsEnumerable(V) { - var P = toPropertyKey$6(V); - var enumerable = nativePropertyIsEnumerable.call(this, P); - if (this === ObjectPrototype$3 && hasOwn$f(AllSymbols, P) && !hasOwn$f(ObjectPrototypeSymbols, P)) return false; - return enumerable || !hasOwn$f(this, P) || !hasOwn$f(AllSymbols, P) || hasOwn$f(this, HIDDEN) && this[HIDDEN][P] +var $propertyIsEnumerable$1 = function propertyIsEnumerable(V) { + var P = toPropertyKey$5(V); + var enumerable = call$U(nativePropertyIsEnumerable, this, P); + if (this === ObjectPrototype$4 && hasOwn$i(AllSymbols, P) && !hasOwn$i(ObjectPrototypeSymbols, P)) return false; + return enumerable || !hasOwn$i(this, P) || !hasOwn$i(AllSymbols, P) || hasOwn$i(this, HIDDEN) && this[HIDDEN][P] ? enumerable : true; }; var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(O, P) { var it = toIndexedObject$8(O); - var key = toPropertyKey$6(P); - if (it === ObjectPrototype$3 && hasOwn$f(AllSymbols, key) && !hasOwn$f(ObjectPrototypeSymbols, key)) return; + var key = toPropertyKey$5(P); + if (it === ObjectPrototype$4 && hasOwn$i(AllSymbols, key) && !hasOwn$i(ObjectPrototypeSymbols, key)) return; var descriptor = nativeGetOwnPropertyDescriptor$2(it, key); - if (descriptor && hasOwn$f(AllSymbols, key) && !(hasOwn$f(it, HIDDEN) && it[HIDDEN][key])) { + if (descriptor && hasOwn$i(AllSymbols, key) && !(hasOwn$i(it, HIDDEN) && it[HIDDEN][key])) { descriptor.enumerable = true; } return descriptor; @@ -1350,18 +1491,18 @@ var $getOwnPropertyNames = function getOwnPropertyNames(O) { var names = nativeGetOwnPropertyNames(toIndexedObject$8(O)); var result = []; $forEach$3(names, function (key) { - if (!hasOwn$f(AllSymbols, key) && !hasOwn$f(hiddenKeys$1, key)) result.push(key); + if (!hasOwn$i(AllSymbols, key) && !hasOwn$i(hiddenKeys$1, key)) push$h(result, key); }); return result; }; var $getOwnPropertySymbols = function getOwnPropertySymbols(O) { - var IS_OBJECT_PROTOTYPE = O === ObjectPrototype$3; + var IS_OBJECT_PROTOTYPE = O === ObjectPrototype$4; var names = nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE ? ObjectPrototypeSymbols : toIndexedObject$8(O)); var result = []; $forEach$3(names, function (key) { - if (hasOwn$f(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn$f(ObjectPrototype$3, key))) { - result.push(AllSymbols[key]); + if (hasOwn$i(AllSymbols, key) && (!IS_OBJECT_PROTOTYPE || hasOwn$i(ObjectPrototype$4, key))) { + push$h(result, AllSymbols[key]); } }); return result; @@ -1369,53 +1510,55 @@ var $getOwnPropertySymbols = function getOwnPropertySymbols(O) { // `Symbol` constructor // https://tc39.es/ecma262/#sec-symbol-constructor -if (!NATIVE_SYMBOL) { +if (!NATIVE_SYMBOL$1) { $Symbol = function Symbol() { - if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor'); + if (isPrototypeOf$c(SymbolPrototype$1, this)) throw TypeError$y('Symbol is not a constructor'); var description = !arguments.length || arguments[0] === undefined ? undefined : $toString$3(arguments[0]); var tag = uid$2(description); var setter = function (value) { - if (this === ObjectPrototype$3) setter.call(ObjectPrototypeSymbols, value); - if (hasOwn$f(this, HIDDEN) && hasOwn$f(this[HIDDEN], tag)) this[HIDDEN][tag] = false; + if (this === ObjectPrototype$4) call$U(setter, ObjectPrototypeSymbols, value); + if (hasOwn$i(this, HIDDEN) && hasOwn$i(this[HIDDEN], tag)) this[HIDDEN][tag] = false; setSymbolDescriptor(this, tag, createPropertyDescriptor$6(1, value)); }; - if (DESCRIPTORS$u && USE_SETTER) setSymbolDescriptor(ObjectPrototype$3, tag, { configurable: true, set: setter }); + if (DESCRIPTORS$u && USE_SETTER) setSymbolDescriptor(ObjectPrototype$4, tag, { configurable: true, set: setter }); return wrap$1(tag, description); }; - redefine$j($Symbol[PROTOTYPE$1], 'toString', function toString() { - return getInternalState$h(this).tag; + SymbolPrototype$1 = $Symbol[PROTOTYPE$1]; + + redefine$j(SymbolPrototype$1, 'toString', function toString() { + return getInternalState$g(this).tag; }); redefine$j($Symbol, 'withoutSetter', function (description) { return wrap$1(uid$2(description), description); }); - propertyIsEnumerableModule$1.f = $propertyIsEnumerable; - definePropertyModule$9.f = $defineProperty; + propertyIsEnumerableModule$1.f = $propertyIsEnumerable$1; + definePropertyModule$8.f = $defineProperty; getOwnPropertyDescriptorModule$5.f = $getOwnPropertyDescriptor; getOwnPropertyNamesModule$1.f = getOwnPropertyNamesExternal.f = $getOwnPropertyNames; getOwnPropertySymbolsModule$1.f = $getOwnPropertySymbols; wrappedWellKnownSymbolModule.f = function (name) { - return wrap$1(wellKnownSymbol$z(name), name); + return wrap$1(wellKnownSymbol$A(name), name); }; if (DESCRIPTORS$u) { // https://github.com/tc39/proposal-Symbol-description - nativeDefineProperty$1($Symbol[PROTOTYPE$1], 'description', { + nativeDefineProperty$1(SymbolPrototype$1, 'description', { configurable: true, get: function description() { - return getInternalState$h(this).description; + return getInternalState$g(this).description; } }); { - redefine$j(ObjectPrototype$3, 'propertyIsEnumerable', $propertyIsEnumerable, { unsafe: true }); + redefine$j(ObjectPrototype$4, 'propertyIsEnumerable', $propertyIsEnumerable$1, { unsafe: true }); } } } -$$4i({ global: true, wrap: true, forced: !NATIVE_SYMBOL, sham: !NATIVE_SYMBOL }, { +$$4i({ global: true, wrap: true, forced: !NATIVE_SYMBOL$1, sham: !NATIVE_SYMBOL$1 }, { Symbol: $Symbol }); @@ -1423,12 +1566,12 @@ $forEach$3(objectKeys$3(WellKnownSymbolsStore), function (name) { defineWellKnownSymbol$k(name); }); -$$4i({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, { +$$4i({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL$1 }, { // `Symbol.for` method // https://tc39.es/ecma262/#sec-symbol.for 'for': function (key) { var string = $toString$3(key); - if (hasOwn$f(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string]; + if (hasOwn$i(StringToSymbolRegistry, string)) return StringToSymbolRegistry[string]; var symbol = $Symbol(string); StringToSymbolRegistry[string] = symbol; SymbolToStringRegistry[symbol] = string; @@ -1437,14 +1580,14 @@ $$4i({ target: SYMBOL, stat: true, forced: !NATIVE_SYMBOL }, { // `Symbol.keyFor` method // https://tc39.es/ecma262/#sec-symbol.keyfor keyFor: function keyFor(sym) { - if (!isSymbol$2(sym)) throw TypeError(sym + ' is not a symbol'); - if (hasOwn$f(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym]; + if (!isSymbol$2(sym)) throw TypeError$y(sym + ' is not a symbol'); + if (hasOwn$i(SymbolToStringRegistry, sym)) return SymbolToStringRegistry[sym]; }, useSetter: function () { USE_SETTER = true; }, useSimple: function () { USE_SETTER = false; } }); -$$4i({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS$u }, { +$$4i({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL$1, sham: !DESCRIPTORS$u }, { // `Object.create` method // https://tc39.es/ecma262/#sec-object.create create: $create, @@ -1459,7 +1602,7 @@ $$4i({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL, sham: !DESCRIPTORS$ getOwnPropertyDescriptor: $getOwnPropertyDescriptor }); -$$4i({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, { +$$4i({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL$1 }, { // `Object.getOwnPropertyNames` method // https://tc39.es/ecma262/#sec-object.getownpropertynames getOwnPropertyNames: $getOwnPropertyNames, @@ -1470,7 +1613,7 @@ $$4i({ target: 'Object', stat: true, forced: !NATIVE_SYMBOL }, { // Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives // https://bugs.chromium.org/p/v8/issues/detail?id=3443 -$$4i({ target: 'Object', stat: true, forced: fails$_(function () { getOwnPropertySymbolsModule$1.f(1); }) }, { +$$4i({ target: 'Object', stat: true, forced: fails$10(function () { getOwnPropertySymbolsModule$1.f(1); }) }, { getOwnPropertySymbols: function getOwnPropertySymbols(it) { return getOwnPropertySymbolsModule$1.f(toObject$w(it)); } @@ -1479,7 +1622,7 @@ $$4i({ target: 'Object', stat: true, forced: fails$_(function () { getOwnPropert // `JSON.stringify` method behavior with symbols // https://tc39.es/ecma262/#sec-json.stringify if ($stringify$1) { - var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL || fails$_(function () { + var FORCED_JSON_STRINGIFY = !NATIVE_SYMBOL$1 || fails$10(function () { var symbol = $Symbol(); // MS Edge converts symbol values to JSON as {} return $stringify$1([symbol]) != '[null]' @@ -1492,28 +1635,27 @@ if ($stringify$1) { $$4i({ target: 'JSON', stat: true, forced: FORCED_JSON_STRINGIFY }, { // eslint-disable-next-line no-unused-vars -- required for `.length` stringify: function stringify(it, replacer, space) { - var args = [it]; - var index = 1; - var $replacer; - while (arguments.length > index) args.push(arguments[index++]); - $replacer = replacer; - if (!isObject$v(replacer) && it === undefined || isSymbol$2(it)) return; // IE8 returns string on undefined + var args = arraySlice$c(arguments); + var $replacer = replacer; + if (!isObject$u(replacer) && it === undefined || isSymbol$2(it)) return; // IE8 returns string on undefined if (!isArray$6(replacer)) replacer = function (key, value) { - if (isCallable$n($replacer)) value = $replacer.call(this, key, value); + if (isCallable$n($replacer)) value = call$U($replacer, this, key, value); if (!isSymbol$2(value)) return value; }; args[1] = replacer; - return $stringify$1.apply(null, args); + return apply$o($stringify$1, null, args); } }); } // `Symbol.prototype[@@toPrimitive]` method // https://tc39.es/ecma262/#sec-symbol.prototype-@@toprimitive -if (!$Symbol[PROTOTYPE$1][TO_PRIMITIVE$1]) { - var valueOf$1 = $Symbol[PROTOTYPE$1].valueOf; - redefine$j($Symbol[PROTOTYPE$1], TO_PRIMITIVE$1, function () { - return valueOf$1.apply(this, arguments); +if (!SymbolPrototype$1[TO_PRIMITIVE$1]) { + var valueOf = SymbolPrototype$1.valueOf; + // eslint-disable-next-line no-unused-vars -- required for .length + redefine$j(SymbolPrototype$1, TO_PRIMITIVE$1, function (hint) { + // TODO: improve hint logic + return call$U(valueOf, this); }); } // `Symbol.prototype[@@toStringTag]` property @@ -1524,44 +1666,52 @@ hiddenKeys$1[HIDDEN] = true; var $$4h = _export; var DESCRIPTORS$t = descriptors; -var global$E = global$R; -var hasOwn$e = hasOwnProperty_1; +var global$1r = global$1S; +var uncurryThis$13 = functionUncurryThis; +var hasOwn$h = hasOwnProperty_1; var isCallable$m = isCallable$z; -var isObject$u = isObject$C; +var isPrototypeOf$b = objectIsPrototypeOf; +var toString$t = toString$u; var defineProperty$d = objectDefineProperty.f; var copyConstructorProperties$1 = copyConstructorProperties$3; -var NativeSymbol = global$E.Symbol; +var NativeSymbol = global$1r.Symbol; +var SymbolPrototype = NativeSymbol && NativeSymbol.prototype; -if (DESCRIPTORS$t && isCallable$m(NativeSymbol) && (!('description' in NativeSymbol.prototype) || +if (DESCRIPTORS$t && isCallable$m(NativeSymbol) && (!('description' in SymbolPrototype) || // 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 + var description = arguments.length < 1 || arguments[0] === undefined ? undefined : toString$t(arguments[0]); + var result = isPrototypeOf$b(SymbolPrototype, this) ? new NativeSymbol(description) // in Edge 13, String(Symbol(undefined)) === 'Symbol(undefined)' : description === undefined ? NativeSymbol() : NativeSymbol(description); if (description === '') EmptyStringDescriptionStore[result] = true; return result; }; + copyConstructorProperties$1(SymbolWrapper, NativeSymbol); - var symbolPrototype = SymbolWrapper.prototype = NativeSymbol.prototype; - symbolPrototype.constructor = SymbolWrapper; + SymbolWrapper.prototype = SymbolPrototype; + SymbolPrototype.constructor = SymbolWrapper; - var symbolToString = symbolPrototype.toString; - var nativeSymbol = String(NativeSymbol('test')) == 'Symbol(test)'; + var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)'; + var symbolToString = uncurryThis$13(SymbolPrototype.toString); + var symbolValueOf = uncurryThis$13(SymbolPrototype.valueOf); var regexp = /^Symbol\((.*)\)[^)]+$/; - defineProperty$d(symbolPrototype, 'description', { + var replace$a = uncurryThis$13(''.replace); + var stringSlice$f = uncurryThis$13(''.slice); + + defineProperty$d(SymbolPrototype, 'description', { configurable: true, get: function description() { - var symbol = isObject$u(this) ? this.valueOf() : this; - var string = symbolToString.call(symbol); - if (hasOwn$e(EmptyStringDescriptionStore, symbol)) return ''; - var desc = nativeSymbol ? string.slice(7, -1) : string.replace(regexp, '$1'); + var symbol = symbolValueOf(this); + var string = symbolToString(symbol); + if (hasOwn$h(EmptyStringDescriptionStore, symbol)) return ''; + var desc = NATIVE_SYMBOL ? stringSlice$f(string, 7, -1) : replace$a(string, regexp, '$1'); return desc === '' ? undefined : desc; } }); @@ -1649,45 +1799,51 @@ var defineWellKnownSymbol$7 = defineWellKnownSymbol$l; // https://tc39.es/ecma262/#sec-symbol.unscopables defineWellKnownSymbol$7('unscopables'); -var fails$Z = fails$15; +var fails$$ = fails$17; -var correctPrototypeGetter = !fails$Z(function () { +var correctPrototypeGetter = !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; }); -var hasOwn$d = hasOwnProperty_1; +var global$1q = global$1S; +var hasOwn$g = hasOwnProperty_1; var isCallable$l = isCallable$z; var toObject$v = toObject$z; var sharedKey = sharedKey$4; var CORRECT_PROTOTYPE_GETTER$2 = correctPrototypeGetter; var IE_PROTO = sharedKey('IE_PROTO'); -var ObjectPrototype$2 = Object.prototype; +var Object$3 = global$1q.Object; +var ObjectPrototype$3 = Object$3.prototype; // `Object.getPrototypeOf` method // https://tc39.es/ecma262/#sec-object.getprototypeof -// eslint-disable-next-line es/no-object-getprototypeof -- safe -var objectGetPrototypeOf$1 = CORRECT_PROTOTYPE_GETTER$2 ? Object.getPrototypeOf : function (O) { +var objectGetPrototypeOf$1 = CORRECT_PROTOTYPE_GETTER$2 ? Object$3.getPrototypeOf : function (O) { var object = toObject$v(O); - if (hasOwn$d(object, IE_PROTO)) return object[IE_PROTO]; + if (hasOwn$g(object, IE_PROTO)) return object[IE_PROTO]; var constructor = object.constructor; if (isCallable$l(constructor) && object instanceof constructor) { return constructor.prototype; - } return object instanceof Object ? ObjectPrototype$2 : null; + } return object instanceof Object$3 ? ObjectPrototype$3 : null; }; +var global$1p = global$1S; var isCallable$k = isCallable$z; +var String$3 = global$1p.String; +var TypeError$x = global$1p.TypeError; + var aPossiblePrototype$2 = function (argument) { - if (typeof argument === 'object' || isCallable$k(argument)) return argument; - throw TypeError("Can't set " + String(argument) + ' as a prototype'); + if (typeof argument == 'object' || isCallable$k(argument)) return argument; + throw TypeError$x("Can't set " + String$3(argument) + ' as a prototype'); }; /* eslint-disable no-proto -- safe */ +var uncurryThis$12 = functionUncurryThis; var anObject$1w = anObject$1C; var aPossiblePrototype$1 = aPossiblePrototype$2; @@ -1701,20 +1857,41 @@ var objectSetPrototypeOf$1 = Object.setPrototypeOf || ('__proto__' in {} ? funct var setter; try { // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - setter = Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set; - setter.call(test, []); + setter = uncurryThis$12(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set); + setter(test, []); CORRECT_SETTER = test instanceof Array; } catch (error) { /* empty */ } return function setPrototypeOf(O, proto) { anObject$1w(O); aPossiblePrototype$1(proto); - if (CORRECT_SETTER) setter.call(O, proto); + if (CORRECT_SETTER) setter(O, proto); else O.__proto__ = proto; return O; }; }() : undefined); -var isObject$t = isObject$C; +var uncurryThis$11 = functionUncurryThis; +var arraySlice$b = arraySliceSimple; + +var replace$9 = uncurryThis$11(''.replace); +var split$3 = uncurryThis$11(''.split); +var join$7 = uncurryThis$11([].join); + +var TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd'); +var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/; +var IS_V8_OR_CHAKRA_STACK = V8_OR_CHAKRA_STACK_ENTRY.test(TEST); +var IS_FIREFOX_OR_SAFARI_STACK = /@[^\n]*\n/.test(TEST) && !/zxcasd/.test(TEST); + +var clearErrorStack$1 = function (stack, dropEntries) { + if (typeof stack != 'string') return stack; + if (IS_V8_OR_CHAKRA_STACK) { + while (dropEntries--) stack = replace$9(stack, V8_OR_CHAKRA_STACK_ENTRY, ''); + } else if (IS_FIREFOX_OR_SAFARI_STACK) { + return join$7(arraySlice$b(split$3(stack, '\n'), dropEntries), '\n'); + } return stack; +}; + +var isObject$t = isObject$B; var createNonEnumerableProperty$d = createNonEnumerableProperty$h; // `InstallErrorCause` abstract operation @@ -1727,40 +1904,46 @@ var installErrorCause$1 = function (O, options) { var iterators = {}; -var wellKnownSymbol$y = wellKnownSymbol$G; +var wellKnownSymbol$z = wellKnownSymbol$H; var Iterators$4 = iterators; -var ITERATOR$a = wellKnownSymbol$y('iterator'); -var ArrayPrototype$2 = Array.prototype; +var ITERATOR$a = wellKnownSymbol$z('iterator'); +var ArrayPrototype$1 = Array.prototype; // check on default Array iterator var isArrayIteratorMethod$3 = function (it) { - return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$2[ITERATOR$a] === it); + return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$1[ITERATOR$a] === it); }; -var classof$8 = classof$b; +var classof$d = classof$h; var getMethod$f = getMethod$h; var Iterators$3 = iterators; -var wellKnownSymbol$x = wellKnownSymbol$G; +var wellKnownSymbol$y = wellKnownSymbol$H; -var ITERATOR$9 = wellKnownSymbol$x('iterator'); +var ITERATOR$9 = wellKnownSymbol$y('iterator'); var getIteratorMethod$9 = function (it) { if (it != undefined) return getMethod$f(it, ITERATOR$9) || getMethod$f(it, '@@iterator') - || Iterators$3[classof$8(it)]; + || Iterators$3[classof$d(it)]; }; -var aCallable$N = aCallable$Q; +var global$1o = global$1S; +var call$T = functionCall; +var aCallable$P = aCallable$S; var anObject$1v = anObject$1C; +var tryToString$3 = tryToString$5; var getIteratorMethod$8 = getIteratorMethod$9; +var TypeError$w = global$1o.TypeError; + var getIterator$b = function (argument, usingIterator) { var iteratorMethod = arguments.length < 2 ? getIteratorMethod$8(argument) : usingIterator; - if (aCallable$N(iteratorMethod)) return anObject$1v(iteratorMethod.call(argument)); - throw TypeError(String(argument) + ' is not iterable'); + if (aCallable$P(iteratorMethod)) return anObject$1v(call$T(iteratorMethod, argument)); + throw TypeError$w(tryToString$3(argument) + ' is not iterable'); }; +var call$S = functionCall; var anObject$1u = anObject$1C; var getMethod$e = getMethod$h; @@ -1773,7 +1956,7 @@ var iteratorClose$4 = function (iterator, kind, value) { if (kind === 'throw') throw value; return value; } - innerResult = innerResult.call(iterator); + innerResult = call$S(innerResult, iterator); } catch (error) { innerError = true; innerResult = error; @@ -1784,25 +1967,33 @@ var iteratorClose$4 = function (iterator, kind, value) { return value; }; +var global$1n = global$1S; +var bind$r = functionBindContext; +var call$R = functionCall; var anObject$1t = anObject$1C; +var tryToString$2 = tryToString$5; var isArrayIteratorMethod$2 = isArrayIteratorMethod$3; -var lengthOfArrayLike$n = lengthOfArrayLike$q; -var bind$p = functionBindContext; +var lengthOfArrayLike$m = lengthOfArrayLike$q; +var isPrototypeOf$a = objectIsPrototypeOf; var getIterator$a = getIterator$b; var getIteratorMethod$7 = getIteratorMethod$9; var iteratorClose$3 = iteratorClose$4; +var TypeError$v = global$1n.TypeError; + var Result = function (stopped, result) { this.stopped = stopped; this.result = result; }; -var iterate$I = function (iterable, unboundFunction, options) { +var ResultPrototype = Result.prototype; + +var iterate$H = function (iterable, unboundFunction, options) { var that = options && options.that; var AS_ENTRIES = !!(options && options.AS_ENTRIES); var IS_ITERATOR = !!(options && options.IS_ITERATOR); var INTERRUPTED = !!(options && options.INTERRUPTED); - var fn = bind$p(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED); + var fn = bind$r(unboundFunction, that); var iterator, iterFn, index, length, result, next, step; var stop = function (condition) { @@ -1821,62 +2012,91 @@ var iterate$I = function (iterable, unboundFunction, options) { iterator = iterable; } else { iterFn = getIteratorMethod$7(iterable); - if (!iterFn) throw TypeError(String(iterable) + ' is not iterable'); + if (!iterFn) throw TypeError$v(tryToString$2(iterable) + ' is not iterable'); // optimisation for array iterators if (isArrayIteratorMethod$2(iterFn)) { - for (index = 0, length = lengthOfArrayLike$n(iterable); length > index; index++) { + for (index = 0, length = lengthOfArrayLike$m(iterable); length > index; index++) { result = callFn(iterable[index]); - if (result && result instanceof Result) return result; + if (result && isPrototypeOf$a(ResultPrototype, result)) return result; } return new Result(false); } iterator = getIterator$a(iterable, iterFn); } next = iterator.next; - while (!(step = next.call(iterator)).done) { + while (!(step = call$R(next, iterator)).done) { try { result = callFn(step.value); } catch (error) { iteratorClose$3(iterator, 'throw', error); } - if (typeof result == 'object' && result && result instanceof Result) return result; + if (typeof result == 'object' && result && isPrototypeOf$a(ResultPrototype, result)) return result; } return new Result(false); }; +var toString$s = toString$u; + +var normalizeStringArgument$1 = function (argument, $default) { + return argument === undefined ? arguments.length < 2 ? '' : $default : toString$s(argument); +}; + +var fails$_ = fails$17; +var createPropertyDescriptor$5 = createPropertyDescriptor$a; + +var errorStackInstallable = !fails$_(function () { + var error = Error('a'); + if (!('stack' in error)) return true; + // eslint-disable-next-line es/no-object-defineproperty -- safe + Object.defineProperty(error, 'stack', createPropertyDescriptor$5(1, 7)); + return error.stack !== 7; +}); + var $$4g = _export; +var global$1m = global$1S; +var isPrototypeOf$9 = objectIsPrototypeOf; var getPrototypeOf$d = objectGetPrototypeOf$1; var setPrototypeOf$7 = objectSetPrototypeOf$1; var copyConstructorProperties = copyConstructorProperties$3; var create$d = objectCreate$1; var createNonEnumerableProperty$c = createNonEnumerableProperty$h; -var createPropertyDescriptor$5 = createPropertyDescriptor$9; +var createPropertyDescriptor$4 = createPropertyDescriptor$a; +var clearErrorStack = clearErrorStack$1; var installErrorCause = installErrorCause$1; -var iterate$H = iterate$I; -var toString$r = toString$t; +var iterate$G = iterate$H; +var normalizeStringArgument = normalizeStringArgument$1; +var wellKnownSymbol$x = wellKnownSymbol$H; +var ERROR_STACK_INSTALLABLE = errorStackInstallable; + +var TO_STRING_TAG$6 = wellKnownSymbol$x('toStringTag'); +var Error$2 = global$1m.Error; +var push$g = [].push; var $AggregateError = function AggregateError(errors, message /* , options */) { - var that = this; var options = arguments.length > 2 ? arguments[2] : undefined; - if (!(that instanceof $AggregateError)) return new $AggregateError(errors, message, options); + var isInstance = isPrototypeOf$9(AggregateErrorPrototype, this); + var that; if (setPrototypeOf$7) { - // eslint-disable-next-line unicorn/error-message -- expected - that = setPrototypeOf$7(new Error(undefined), getPrototypeOf$d(that)); + that = setPrototypeOf$7(new Error$2(undefined), isInstance ? getPrototypeOf$d(this) : AggregateErrorPrototype); + } else { + that = isInstance ? this : create$d(AggregateErrorPrototype); + createNonEnumerableProperty$c(that, TO_STRING_TAG$6, 'Error'); } - if (message !== undefined) createNonEnumerableProperty$c(that, 'message', toString$r(message)); + createNonEnumerableProperty$c(that, 'message', normalizeStringArgument(message, '')); + if (ERROR_STACK_INSTALLABLE) createNonEnumerableProperty$c(that, 'stack', clearErrorStack(that.stack, 1)); installErrorCause(that, options); var errorsArray = []; - iterate$H(errors, errorsArray.push, { that: errorsArray }); + iterate$G(errors, push$g, { that: errorsArray }); createNonEnumerableProperty$c(that, 'errors', errorsArray); return that; }; -if (setPrototypeOf$7) setPrototypeOf$7($AggregateError, Error); -else copyConstructorProperties($AggregateError, Error); +if (setPrototypeOf$7) setPrototypeOf$7($AggregateError, Error$2); +else copyConstructorProperties($AggregateError, Error$2); -$AggregateError.prototype = create$d(Error.prototype, { - constructor: createPropertyDescriptor$5(1, $AggregateError), - message: createPropertyDescriptor$5(1, ''), - name: createPropertyDescriptor$5(1, 'AggregateError') +var AggregateErrorPrototype = $AggregateError.prototype = create$d(Error$2.prototype, { + constructor: createPropertyDescriptor$4(1, $AggregateError), + message: createPropertyDescriptor$4(1, ''), + name: createPropertyDescriptor$4(1, 'AggregateError') }); // `AggregateError` constructor @@ -1885,17 +2105,17 @@ $$4g({ global: true }, { AggregateError: $AggregateError }); -var wellKnownSymbol$w = wellKnownSymbol$G; +var wellKnownSymbol$w = wellKnownSymbol$H; var create$c = objectCreate$1; -var definePropertyModule$8 = objectDefineProperty; +var definePropertyModule$7 = objectDefineProperty; var UNSCOPABLES = wellKnownSymbol$w('unscopables'); -var ArrayPrototype$1 = Array.prototype; +var ArrayPrototype = Array.prototype; // Array.prototype[@@unscopables] // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables -if (ArrayPrototype$1[UNSCOPABLES] == undefined) { - definePropertyModule$8.f(ArrayPrototype$1, UNSCOPABLES, { +if (ArrayPrototype[UNSCOPABLES] == undefined) { + definePropertyModule$7.f(ArrayPrototype, UNSCOPABLES, { configurable: true, value: create$c(null) }); @@ -1903,12 +2123,12 @@ if (ArrayPrototype$1[UNSCOPABLES] == undefined) { // add a key to Array.prototype[@@unscopables] var addToUnscopables$h = function (key) { - ArrayPrototype$1[UNSCOPABLES][key] = true; + ArrayPrototype[UNSCOPABLES][key] = true; }; var $$4f = _export; var toObject$u = toObject$z; -var lengthOfArrayLike$m = lengthOfArrayLike$q; +var lengthOfArrayLike$l = lengthOfArrayLike$q; var toIntegerOrInfinity$f = toIntegerOrInfinity$i; var addToUnscopables$g = addToUnscopables$h; @@ -1917,7 +2137,7 @@ var addToUnscopables$g = addToUnscopables$h; $$4f({ target: 'Array', proto: true }, { at: function at(index) { var O = toObject$u(this); - var len = lengthOfArrayLike$m(O); + var len = lengthOfArrayLike$l(O); var relativeIndex = toIntegerOrInfinity$f(index); var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; return (k < 0 || k >= len) ? undefined : O[k]; @@ -1926,18 +2146,8 @@ $$4f({ target: 'Array', proto: true }, { addToUnscopables$g('at'); -var toPropertyKey$5 = toPropertyKey$9; -var definePropertyModule$7 = objectDefineProperty; -var createPropertyDescriptor$4 = createPropertyDescriptor$9; - -var createProperty$7 = function (object, key, value) { - var propertyKey = toPropertyKey$5(key); - if (propertyKey in object) definePropertyModule$7.f(object, propertyKey, createPropertyDescriptor$4(0, value)); - else object[propertyKey] = value; -}; - -var fails$Y = fails$15; -var wellKnownSymbol$v = wellKnownSymbol$G; +var fails$Z = fails$17; +var wellKnownSymbol$v = wellKnownSymbol$H; var V8_VERSION$2 = engineV8Version; var SPECIES$5 = wellKnownSymbol$v('species'); @@ -1946,7 +2156,7 @@ var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) { // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation // https://github.com/zloirock/core-js/issues/677 - return V8_VERSION$2 >= 51 || !fails$Y(function () { + return V8_VERSION$2 >= 51 || !fails$Z(function () { var array = []; var constructor = array.constructor = {}; constructor[SPECIES$5] = function () { @@ -1957,25 +2167,27 @@ var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) { }; var $$4e = _export; -var fails$X = fails$15; +var global$1l = global$1S; +var fails$Y = fails$17; var isArray$5 = isArray$8; -var isObject$s = isObject$C; +var isObject$s = isObject$B; var toObject$t = toObject$z; -var lengthOfArrayLike$l = lengthOfArrayLike$q; -var createProperty$6 = createProperty$7; +var lengthOfArrayLike$k = lengthOfArrayLike$q; +var createProperty$6 = createProperty$8; var arraySpeciesCreate$4 = arraySpeciesCreate$6; var arrayMethodHasSpeciesSupport$4 = arrayMethodHasSpeciesSupport$5; -var wellKnownSymbol$u = wellKnownSymbol$G; +var wellKnownSymbol$u = wellKnownSymbol$H; var V8_VERSION$1 = engineV8Version; var IS_CONCAT_SPREADABLE = wellKnownSymbol$u('isConcatSpreadable'); var MAX_SAFE_INTEGER$2 = 0x1FFFFFFFFFFFFF; var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded'; +var TypeError$u = global$1l.TypeError; // We can't use this feature detection in V8 since it causes // deoptimization and serious performance degradation // https://github.com/zloirock/core-js/issues/679 -var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$X(function () { +var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$Y(function () { var array = []; array[IS_CONCAT_SPREADABLE] = false; return array.concat()[0] !== array; @@ -2004,11 +2216,11 @@ $$4e({ target: 'Array', proto: true, forced: FORCED$u }, { for (i = -1, length = arguments.length; i < length; i++) { E = i === -1 ? O : arguments[i]; if (isConcatSpreadable(E)) { - len = lengthOfArrayLike$l(E); - if (n + len > MAX_SAFE_INTEGER$2) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + len = lengthOfArrayLike$k(E); + if (n + len > MAX_SAFE_INTEGER$2) throw TypeError$u(MAXIMUM_ALLOWED_INDEX_EXCEEDED); for (k = 0; k < len; k++, n++) if (k in E) createProperty$6(A, n, E[k]); } else { - if (n >= MAX_SAFE_INTEGER$2) throw TypeError(MAXIMUM_ALLOWED_INDEX_EXCEEDED); + if (n >= MAX_SAFE_INTEGER$2) throw TypeError$u(MAXIMUM_ALLOWED_INDEX_EXCEEDED); createProperty$6(A, n++, E); } } @@ -2018,8 +2230,8 @@ $$4e({ target: 'Array', proto: true, forced: FORCED$u }, { }); var toObject$s = toObject$z; -var toAbsoluteIndex$6 = toAbsoluteIndex$8; -var lengthOfArrayLike$k = lengthOfArrayLike$q; +var toAbsoluteIndex$6 = toAbsoluteIndex$9; +var lengthOfArrayLike$j = lengthOfArrayLike$q; var min$8 = Math.min; @@ -2028,7 +2240,7 @@ var min$8 = Math.min; // eslint-disable-next-line es/no-array-prototype-copywithin -- safe var arrayCopyWithin = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) { var O = toObject$s(this); - var len = lengthOfArrayLike$k(O); + var len = lengthOfArrayLike$j(O); var to = toAbsoluteIndex$6(target, len); var from = toAbsoluteIndex$6(start, len); var end = arguments.length > 2 ? arguments[2] : undefined; @@ -2060,11 +2272,11 @@ $$4d({ target: 'Array', proto: true }, { // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables addToUnscopables$f('copyWithin'); -var fails$W = fails$15; +var fails$X = fails$17; var arrayMethodIsStrict$9 = function (METHOD_NAME, argument) { var method = [][METHOD_NAME]; - return !!method && fails$W(function () { + return !!method && fails$X(function () { // eslint-disable-next-line no-useless-call,no-throw-literal -- required for testing method.call(null, argument || function () { throw 1; }, 1); }); @@ -2085,14 +2297,14 @@ $$4c({ target: 'Array', proto: true, forced: !STRICT_METHOD$8 }, { }); var toObject$r = toObject$z; -var toAbsoluteIndex$5 = toAbsoluteIndex$8; -var lengthOfArrayLike$j = lengthOfArrayLike$q; +var toAbsoluteIndex$5 = toAbsoluteIndex$9; +var lengthOfArrayLike$i = lengthOfArrayLike$q; // `Array.prototype.fill` method implementation // https://tc39.es/ecma262/#sec-array.prototype.fill var arrayFill$1 = function fill(value /* , start = 0, end = @length */) { var O = toObject$r(this); - var length = lengthOfArrayLike$j(O); + var length = lengthOfArrayLike$i(O); var argumentsLength = arguments.length; var index = toAbsoluteIndex$5(argumentsLength > 1 ? arguments[1] : undefined, length); var end = argumentsLength > 2 ? arguments[2] : undefined; @@ -2102,13 +2314,13 @@ var arrayFill$1 = function fill(value /* , start = 0, end = @length */) { }; var $$4b = _export; -var fill = arrayFill$1; +var fill$1 = arrayFill$1; var addToUnscopables$e = addToUnscopables$h; // `Array.prototype.fill` method // https://tc39.es/ecma262/#sec-array.prototype.fill $$4b({ target: 'Array', proto: true }, { - fill: fill + fill: fill$1 }); // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables @@ -2171,16 +2383,19 @@ $$48({ target: 'Array', proto: true, forced: SKIPS_HOLES }, { // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables addToUnscopables$c(FIND_INDEX); +var global$1k = global$1S; var isArray$4 = isArray$8; -var lengthOfArrayLike$i = lengthOfArrayLike$q; -var bind$o = functionBindContext; +var lengthOfArrayLike$h = lengthOfArrayLike$q; +var bind$q = functionBindContext; + +var TypeError$t = global$1k.TypeError; // `FlattenIntoArray` abstract operation // https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray var flattenIntoArray$2 = function (target, original, source, sourceLen, start, depth, mapper, thisArg) { var targetIndex = start; var sourceIndex = 0; - var mapFn = mapper ? bind$o(mapper, thisArg, 3) : false; + var mapFn = mapper ? bind$q(mapper, thisArg) : false; var element, elementLen; while (sourceIndex < sourceLen) { @@ -2188,10 +2403,10 @@ var flattenIntoArray$2 = function (target, original, source, sourceLen, start, d element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex]; if (depth > 0 && isArray$4(element)) { - elementLen = lengthOfArrayLike$i(element); + elementLen = lengthOfArrayLike$h(element); targetIndex = flattenIntoArray$2(target, original, element, elementLen, targetIndex, depth - 1) - 1; } else { - if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError('Exceed the acceptable array length'); + if (targetIndex >= 0x1FFFFFFFFFFFFF) throw TypeError$t('Exceed the acceptable array length'); target[targetIndex] = element; } @@ -2207,7 +2422,7 @@ var flattenIntoArray_1 = flattenIntoArray$2; var $$47 = _export; var flattenIntoArray$1 = flattenIntoArray_1; var toObject$q = toObject$z; -var lengthOfArrayLike$h = lengthOfArrayLike$q; +var lengthOfArrayLike$g = lengthOfArrayLike$q; var toIntegerOrInfinity$e = toIntegerOrInfinity$i; var arraySpeciesCreate$3 = arraySpeciesCreate$6; @@ -2217,7 +2432,7 @@ $$47({ target: 'Array', proto: true }, { flat: function flat(/* depthArg = 1 */) { var depthArg = arguments.length ? arguments[0] : undefined; var O = toObject$q(this); - var sourceLen = lengthOfArrayLike$h(O); + var sourceLen = lengthOfArrayLike$g(O); var A = arraySpeciesCreate$3(O, 0); A.length = flattenIntoArray$1(A, O, O, sourceLen, 0, depthArg === undefined ? 1 : toIntegerOrInfinity$e(depthArg)); return A; @@ -2226,9 +2441,9 @@ $$47({ target: 'Array', proto: true }, { var $$46 = _export; var flattenIntoArray = flattenIntoArray_1; -var aCallable$M = aCallable$Q; +var aCallable$O = aCallable$S; var toObject$p = toObject$z; -var lengthOfArrayLike$g = lengthOfArrayLike$q; +var lengthOfArrayLike$f = lengthOfArrayLike$q; var arraySpeciesCreate$2 = arraySpeciesCreate$6; // `Array.prototype.flatMap` method @@ -2236,9 +2451,9 @@ var arraySpeciesCreate$2 = arraySpeciesCreate$6; $$46({ target: 'Array', proto: true }, { flatMap: function flatMap(callbackfn /* , thisArg */) { var O = toObject$p(this); - var sourceLen = lengthOfArrayLike$g(O); + var sourceLen = lengthOfArrayLike$f(O); var A; - aCallable$M(callbackfn); + aCallable$O(callbackfn); A = arraySpeciesCreate$2(O, 0); A.length = flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments.length > 1 ? arguments[1] : undefined); return A; @@ -2279,16 +2494,20 @@ var callWithSafeIterationClosing$3 = function (iterator, fn, value, ENTRIES) { } }; -var bind$n = functionBindContext; +var global$1j = global$1S; +var bind$p = functionBindContext; +var call$Q = functionCall; var toObject$o = toObject$z; var callWithSafeIterationClosing$2 = callWithSafeIterationClosing$3; var isArrayIteratorMethod$1 = isArrayIteratorMethod$3; var isConstructor$5 = isConstructor$7; -var lengthOfArrayLike$f = lengthOfArrayLike$q; -var createProperty$5 = createProperty$7; +var lengthOfArrayLike$e = lengthOfArrayLike$q; +var createProperty$5 = createProperty$8; var getIterator$9 = getIterator$b; var getIteratorMethod$6 = getIteratorMethod$9; +var Array$9 = global$1j.Array; + // `Array.from` method implementation // https://tc39.es/ecma262/#sec-array.from var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) { @@ -2297,22 +2516,22 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde var argumentsLength = arguments.length; var mapfn = argumentsLength > 1 ? arguments[1] : undefined; var mapping = mapfn !== undefined; - if (mapping) mapfn = bind$n(mapfn, argumentsLength > 2 ? arguments[2] : undefined, 2); + if (mapping) mapfn = bind$p(mapfn, argumentsLength > 2 ? arguments[2] : undefined); var iteratorMethod = getIteratorMethod$6(O); var index = 0; var length, result, step, iterator, next, value; // if the target is not iterable or it's an array with the default iterator - use a simple case - if (iteratorMethod && !(this == Array && isArrayIteratorMethod$1(iteratorMethod))) { + if (iteratorMethod && !(this == Array$9 && isArrayIteratorMethod$1(iteratorMethod))) { iterator = getIterator$9(O, iteratorMethod); next = iterator.next; result = IS_CONSTRUCTOR ? new this() : []; - for (;!(step = next.call(iterator)).done; index++) { + for (;!(step = call$Q(next, iterator)).done; index++) { value = mapping ? callWithSafeIterationClosing$2(iterator, mapfn, [step.value, index], true) : step.value; createProperty$5(result, index, value); } } else { - length = lengthOfArrayLike$f(O); - result = IS_CONSTRUCTOR ? new this(length) : Array(length); + length = lengthOfArrayLike$e(O); + result = IS_CONSTRUCTOR ? new this(length) : Array$9(length); for (;length > index; index++) { value = mapping ? mapfn(O[index], index) : O[index]; createProperty$5(result, index, value); @@ -2322,7 +2541,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde return result; }; -var wellKnownSymbol$t = wellKnownSymbol$G; +var wellKnownSymbol$t = wellKnownSymbol$H; var ITERATOR$8 = wellKnownSymbol$t('iterator'); var SAFE_CLOSING = false; @@ -2362,7 +2581,7 @@ var checkCorrectnessOfIteration$4 = function (exec, SKIP_CLOSING) { }; var $$44 = _export; -var from$5 = arrayFrom$1; +var from$4 = arrayFrom$1; var checkCorrectnessOfIteration$3 = checkCorrectnessOfIteration$4; var INCORRECT_ITERATION$1 = !checkCorrectnessOfIteration$3(function (iterable) { @@ -2373,7 +2592,7 @@ var INCORRECT_ITERATION$1 = !checkCorrectnessOfIteration$3(function (iterable) { // `Array.from` method // https://tc39.es/ecma262/#sec-array.from $$44({ target: 'Array', stat: true, forced: INCORRECT_ITERATION$1 }, { - from: from$5 + from: from$4 }); var $$43 = _export; @@ -2393,22 +2612,24 @@ addToUnscopables$b('includes'); /* eslint-disable es/no-array-prototype-indexof -- required for testing */ var $$42 = _export; -var $indexOf$1 = arrayIncludes.indexOf; +var uncurryThis$10 = functionUncurryThis; +var $IndexOf = arrayIncludes.indexOf; var arrayMethodIsStrict$6 = arrayMethodIsStrict$9; -var nativeIndexOf = [].indexOf; +var un$IndexOf = uncurryThis$10([].indexOf); -var NEGATIVE_ZERO$1 = !!nativeIndexOf && 1 / [1].indexOf(1, -0) < 0; +var NEGATIVE_ZERO$1 = !!un$IndexOf && 1 / un$IndexOf([1], 1, -0) < 0; var STRICT_METHOD$6 = arrayMethodIsStrict$6('indexOf'); // `Array.prototype.indexOf` method // https://tc39.es/ecma262/#sec-array.prototype.indexof $$42({ target: 'Array', proto: true, forced: NEGATIVE_ZERO$1 || !STRICT_METHOD$6 }, { indexOf: function indexOf(searchElement /* , fromIndex = 0 */) { + var fromIndex = arguments.length > 1 ? arguments[1] : undefined; return NEGATIVE_ZERO$1 // convert -0 to +0 - ? nativeIndexOf.apply(this, arguments) || 0 - : $indexOf$1(this, searchElement, arguments.length > 1 ? arguments[1] : undefined); + ? un$IndexOf(this, searchElement, fromIndex) || 0 + : $IndexOf(this, searchElement, fromIndex); } }); @@ -2421,11 +2642,11 @@ $$41({ target: 'Array', stat: true }, { isArray: isArray$3 }); -var fails$V = fails$15; +var fails$W = fails$17; var isCallable$j = isCallable$z; var getPrototypeOf$c = objectGetPrototypeOf$1; var redefine$i = redefine$l.exports; -var wellKnownSymbol$s = wellKnownSymbol$G; +var wellKnownSymbol$s = wellKnownSymbol$H; var ITERATOR$7 = wellKnownSymbol$s('iterator'); var BUGGY_SAFARI_ITERATORS$1 = false; @@ -2445,7 +2666,7 @@ if ([].keys) { } } -var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$5 == undefined || fails$V(function () { +var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$5 == undefined || fails$W(function () { var test = {}; // FF44- legacy iterators case return IteratorPrototype$5[ITERATOR$7].call(test) !== test; @@ -2468,21 +2689,22 @@ var iteratorsCore = { var IteratorPrototype$4 = iteratorsCore.IteratorPrototype; var create$b = objectCreate$1; -var createPropertyDescriptor$3 = createPropertyDescriptor$9; +var createPropertyDescriptor$3 = createPropertyDescriptor$a; var setToStringTag$9 = setToStringTag$b; var Iterators$2 = iterators; var returnThis$1 = function () { return this; }; -var createIteratorConstructor$7 = function (IteratorConstructor, NAME, next) { +var createIteratorConstructor$7 = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) { var TO_STRING_TAG = NAME + ' Iterator'; - IteratorConstructor.prototype = create$b(IteratorPrototype$4, { next: createPropertyDescriptor$3(1, next) }); + IteratorConstructor.prototype = create$b(IteratorPrototype$4, { next: createPropertyDescriptor$3(+!ENUMERABLE_NEXT, next) }); setToStringTag$9(IteratorConstructor, TO_STRING_TAG, false); Iterators$2[TO_STRING_TAG] = returnThis$1; return IteratorConstructor; }; var $$40 = _export; +var call$P = functionCall; var FunctionName$1 = functionName; var isCallable$i = isCallable$z; var createIteratorConstructor$6 = createIteratorConstructor$7; @@ -2491,7 +2713,7 @@ var setPrototypeOf$6 = objectSetPrototypeOf$1; var setToStringTag$8 = setToStringTag$b; var createNonEnumerableProperty$b = createNonEnumerableProperty$h; var redefine$h = redefine$l.exports; -var wellKnownSymbol$r = wellKnownSymbol$G; +var wellKnownSymbol$r = wellKnownSymbol$H; var Iterators$1 = iterators; var IteratorsCore = iteratorsCore; @@ -2551,7 +2773,7 @@ var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFA createNonEnumerableProperty$b(IterablePrototype, 'name', VALUES); } else { INCORRECT_VALUES_NAME = true; - defaultIterator = function values() { return nativeIterator.call(this); }; + defaultIterator = function values() { return call$P(nativeIterator, this); }; } } @@ -2578,7 +2800,7 @@ var defineIterator$3 = function (Iterable, NAME, IteratorConstructor, next, DEFA return methods; }; -var toIndexedObject$7 = toIndexedObject$d; +var toIndexedObject$7 = toIndexedObject$e; var addToUnscopables$a = addToUnscopables$h; var Iterators = iterators; var InternalStateModule$h = internalState; @@ -2586,7 +2808,7 @@ var defineIterator$2 = defineIterator$3; var ARRAY_ITERATOR = 'Array Iterator'; var setInternalState$h = InternalStateModule$h.set; -var getInternalState$g = InternalStateModule$h.getterFor(ARRAY_ITERATOR); +var getInternalState$f = InternalStateModule$h.getterFor(ARRAY_ITERATOR); // `Array.prototype.entries` method // https://tc39.es/ecma262/#sec-array.prototype.entries @@ -2608,7 +2830,7 @@ var es_array_iterator = defineIterator$2(Array, 'Array', function (iterated, kin // `%ArrayIteratorPrototype%.next` method // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next }, function () { - var state = getInternalState$g(this); + var state = getInternalState$f(this); var target = state.target; var kind = state.kind; var index = state.index++; @@ -2632,11 +2854,12 @@ addToUnscopables$a('values'); addToUnscopables$a('entries'); var $$3$ = _export; +var uncurryThis$$ = functionUncurryThis; var IndexedObject$4 = indexedObject; -var toIndexedObject$6 = toIndexedObject$d; +var toIndexedObject$6 = toIndexedObject$e; var arrayMethodIsStrict$5 = arrayMethodIsStrict$9; -var nativeJoin = [].join; +var un$Join = uncurryThis$$([].join); var ES3_STRINGS = IndexedObject$4 != Object; var STRICT_METHOD$5 = arrayMethodIsStrict$5('join', ','); @@ -2645,14 +2868,15 @@ var STRICT_METHOD$5 = arrayMethodIsStrict$5('join', ','); // https://tc39.es/ecma262/#sec-array.prototype.join $$3$({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD$5 }, { join: function join(separator) { - return nativeJoin.call(toIndexedObject$6(this), separator === undefined ? ',' : separator); + return un$Join(toIndexedObject$6(this), separator === undefined ? ',' : separator); } }); /* eslint-disable es/no-array-prototype-lastindexof -- safe */ -var toIndexedObject$5 = toIndexedObject$d; +var apply$n = functionApply$1; +var toIndexedObject$5 = toIndexedObject$e; var toIntegerOrInfinity$d = toIntegerOrInfinity$i; -var lengthOfArrayLike$e = lengthOfArrayLike$q; +var lengthOfArrayLike$d = lengthOfArrayLike$q; var arrayMethodIsStrict$4 = arrayMethodIsStrict$9; var min$7 = Math.min; @@ -2665,9 +2889,9 @@ var FORCED$t = NEGATIVE_ZERO || !STRICT_METHOD$4; // https://tc39.es/ecma262/#sec-array.prototype.lastindexof var arrayLastIndexOf = FORCED$t ? function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) { // convert -0 to +0 - if (NEGATIVE_ZERO) return $lastIndexOf$1.apply(this, arguments) || 0; + if (NEGATIVE_ZERO) return apply$n($lastIndexOf$1, this, arguments) || 0; var O = toIndexedObject$5(this); - var length = lengthOfArrayLike$e(O); + var length = lengthOfArrayLike$d(O); var index = length - 1; if (arguments.length > 1) index = min$7(index, toIntegerOrInfinity$d(arguments[1])); if (index < 0) index = length + index; @@ -2701,14 +2925,16 @@ $$3Z({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, { }); var $$3Y = _export; -var fails$U = fails$15; +var global$1i = global$1S; +var fails$V = fails$17; var isConstructor$4 = isConstructor$7; -var createProperty$4 = createProperty$7; +var createProperty$4 = createProperty$8; -var ISNT_GENERIC = fails$U(function () { +var Array$8 = global$1i.Array; + +var ISNT_GENERIC = fails$V(function () { function F() { /* empty */ } - // eslint-disable-next-line es/no-array-of -- required for testing - return !(Array.of.call(F) instanceof F); + return !(Array$8.of.call(F) instanceof F); }); // `Array.of` method @@ -2718,25 +2944,28 @@ $$3Y({ target: 'Array', stat: true, forced: ISNT_GENERIC }, { of: function of(/* ...args */) { var index = 0; var argumentsLength = arguments.length; - var result = new (isConstructor$4(this) ? this : Array)(argumentsLength); + var result = new (isConstructor$4(this) ? this : Array$8)(argumentsLength); while (argumentsLength > index) createProperty$4(result, index, arguments[index++]); result.length = argumentsLength; return result; } }); -var aCallable$L = aCallable$Q; +var global$1h = global$1S; +var aCallable$N = aCallable$S; var toObject$n = toObject$z; var IndexedObject$3 = indexedObject; -var lengthOfArrayLike$d = lengthOfArrayLike$q; +var lengthOfArrayLike$c = lengthOfArrayLike$q; + +var TypeError$s = global$1h.TypeError; // `Array.prototype.{ reduce, reduceRight }` methods implementation var createMethod$6 = function (IS_RIGHT) { return function (that, callbackfn, argumentsLength, memo) { - aCallable$L(callbackfn); + aCallable$N(callbackfn); var O = toObject$n(that); var self = IndexedObject$3(O); - var length = lengthOfArrayLike$d(O); + var length = lengthOfArrayLike$c(O); var index = IS_RIGHT ? length - 1 : 0; var i = IS_RIGHT ? -1 : 1; if (argumentsLength < 2) while (true) { @@ -2747,7 +2976,7 @@ var createMethod$6 = function (IS_RIGHT) { } index += i; if (IS_RIGHT ? index < 0 : length <= index) { - throw TypeError('Reduce of empty array with no initial value'); + throw TypeError$s('Reduce of empty array with no initial value'); } } for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) { @@ -2766,10 +2995,10 @@ var arrayReduce = { right: createMethod$6(true) }; -var classof$7 = classofRaw$1; -var global$D = global$R; +var classof$c = classofRaw$1; +var global$1g = global$1S; -var engineIsNode = classof$7(global$D.process) == 'process'; +var engineIsNode = classof$c(global$1g.process) == 'process'; var $$3X = _export; var $reduce$1 = arrayReduce.left; @@ -2786,7 +3015,8 @@ var CHROME_BUG$1 = !IS_NODE$5 && CHROME_VERSION$1 > 79 && CHROME_VERSION$1 < 83; // https://tc39.es/ecma262/#sec-array.prototype.reduce $$3X({ target: 'Array', proto: true, forced: !STRICT_METHOD$3 || CHROME_BUG$1 }, { reduce: function reduce(callbackfn /* , initialValue */) { - return $reduce$1(this, callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); + var length = arguments.length; + return $reduce$1(this, callbackfn, length, length > 1 ? arguments[1] : undefined); } }); @@ -2810,9 +3040,10 @@ $$3W({ target: 'Array', proto: true, forced: !STRICT_METHOD$2 || CHROME_BUG }, { }); var $$3V = _export; +var uncurryThis$_ = functionUncurryThis; var isArray$2 = isArray$8; -var nativeReverse = [].reverse; +var un$Reverse = uncurryThis$_([].reverse); var test$1 = [1, 2]; // `Array.prototype.reverse` method @@ -2823,25 +3054,27 @@ $$3V({ target: 'Array', proto: true, forced: String(test$1) === String(test$1.re reverse: function reverse() { // eslint-disable-next-line no-self-assign -- dirty hack if (isArray$2(this)) this.length = this.length; - return nativeReverse.call(this); + return un$Reverse(this); } }); var $$3U = _export; +var global$1f = global$1S; var isArray$1 = isArray$8; var isConstructor$3 = isConstructor$7; -var isObject$r = isObject$C; -var toAbsoluteIndex$4 = toAbsoluteIndex$8; -var lengthOfArrayLike$c = lengthOfArrayLike$q; -var toIndexedObject$4 = toIndexedObject$d; -var createProperty$3 = createProperty$7; -var wellKnownSymbol$q = wellKnownSymbol$G; +var isObject$r = isObject$B; +var toAbsoluteIndex$4 = toAbsoluteIndex$9; +var lengthOfArrayLike$b = lengthOfArrayLike$q; +var toIndexedObject$4 = toIndexedObject$e; +var createProperty$3 = createProperty$8; +var wellKnownSymbol$q = wellKnownSymbol$H; var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$5; +var un$Slice = arraySlice$d; var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('slice'); var SPECIES$4 = wellKnownSymbol$q('species'); -var nativeSlice = [].slice; +var Array$7 = global$1f.Array; var max$5 = Math.max; // `Array.prototype.slice` method @@ -2850,7 +3083,7 @@ var max$5 = Math.max; $$3U({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, { slice: function slice(start, end) { var O = toIndexedObject$4(this); - var length = lengthOfArrayLike$c(O); + var length = lengthOfArrayLike$b(O); var k = toAbsoluteIndex$4(start, length); var fin = toAbsoluteIndex$4(end === undefined ? length : end, length); // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible @@ -2858,17 +3091,17 @@ $$3U({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, { if (isArray$1(O)) { Constructor = O.constructor; // cross-realm fallback - if (isConstructor$3(Constructor) && (Constructor === Array || isArray$1(Constructor.prototype))) { + if (isConstructor$3(Constructor) && (Constructor === Array$7 || isArray$1(Constructor.prototype))) { Constructor = undefined; } else if (isObject$r(Constructor)) { Constructor = Constructor[SPECIES$4]; if (Constructor === null) Constructor = undefined; } - if (Constructor === Array || Constructor === undefined) { - return nativeSlice.call(O, k, fin); + if (Constructor === Array$7 || Constructor === undefined) { + return un$Slice(O, k, fin); } } - result = new (Constructor === undefined ? Array : Constructor)(max$5(fin - k, 0)); + result = new (Constructor === undefined ? Array$7 : Constructor)(max$5(fin - k, 0)); for (n = 0; k < fin; k++, n++) if (k in O) createProperty$3(result, n, O[k]); result.length = n; return result; @@ -2889,15 +3122,17 @@ $$3T({ target: 'Array', proto: true, forced: !STRICT_METHOD$1 }, { } }); -// TODO: use something more complex like timsort? +var arraySlice$a = arraySliceSimple; + var floor$9 = Math.floor; var mergeSort = function (array, comparefn) { var length = array.length; var middle = floor$9(length / 2); return length < 8 ? insertionSort(array, comparefn) : merge( - mergeSort(array.slice(0, middle), comparefn), - mergeSort(array.slice(middle), comparefn), + array, + mergeSort(arraySlice$a(array, 0, middle), comparefn), + mergeSort(arraySlice$a(array, middle), comparefn), comparefn ); }; @@ -2917,23 +3152,20 @@ var insertionSort = function (array, comparefn) { } return array; }; -var merge = function (left, right, comparefn) { +var merge = function (array, left, right, comparefn) { var llength = left.length; var rlength = right.length; var lindex = 0; var rindex = 0; - var result = []; while (lindex < llength || rindex < rlength) { - if (lindex < llength && rindex < rlength) { - result.push(comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]); - } else { - result.push(lindex < llength ? left[lindex++] : right[rindex++]); - } - } return result; + array[lindex + rindex] = (lindex < llength && rindex < rlength) + ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++] + : lindex < llength ? left[lindex++] : right[rindex++]; + } return array; }; -var arraySort = mergeSort; +var arraySort$1 = mergeSort; var userAgent$6 = engineUserAgent; @@ -2952,12 +3184,13 @@ var webkit = userAgent$5.match(/AppleWebKit\/(\d+)\./); var engineWebkitVersion = !!webkit && +webkit[1]; var $$3S = _export; -var aCallable$K = aCallable$Q; +var uncurryThis$Z = functionUncurryThis; +var aCallable$M = aCallable$S; var toObject$m = toObject$z; -var lengthOfArrayLike$b = lengthOfArrayLike$q; -var toString$q = toString$t; -var fails$T = fails$15; -var internalSort$1 = arraySort; +var lengthOfArrayLike$a = lengthOfArrayLike$q; +var toString$r = toString$u; +var fails$U = fails$17; +var internalSort$1 = arraySort$1; var arrayMethodIsStrict = arrayMethodIsStrict$9; var FF$1 = engineFfVersion; var IE_OR_EDGE$1 = engineIsIeOrEdge; @@ -2965,20 +3198,21 @@ var V8$1 = engineV8Version; var WEBKIT$2 = engineWebkitVersion; var test = []; -var nativeSort$1 = test.sort; +var un$Sort$1 = uncurryThis$Z(test.sort); +var push$f = uncurryThis$Z(test.push); // IE8- -var FAILS_ON_UNDEFINED = fails$T(function () { +var FAILS_ON_UNDEFINED = fails$U(function () { test.sort(undefined); }); // V8 bug -var FAILS_ON_NULL = fails$T(function () { +var FAILS_ON_NULL = fails$U(function () { test.sort(null); }); // Old WebKit var STRICT_METHOD = arrayMethodIsStrict('sort'); -var STABLE_SORT$1 = !fails$T(function () { +var STABLE_SORT$1 = !fails$U(function () { // feature detection can be too slow, so check engines versions if (V8$1) return V8$1 < 70; if (FF$1 && FF$1 > 3) return; @@ -3020,7 +3254,7 @@ var getSortCompare$1 = function (comparefn) { if (y === undefined) return -1; if (x === undefined) return 1; if (comparefn !== undefined) return +comparefn(x, y) || 0; - return toString$q(x) > toString$q(y) ? 1 : -1; + return toString$r(x) > toString$r(y) ? 1 : -1; }; }; @@ -3028,21 +3262,22 @@ var getSortCompare$1 = function (comparefn) { // https://tc39.es/ecma262/#sec-array.prototype.sort $$3S({ target: 'Array', proto: true, forced: FORCED$s }, { sort: function sort(comparefn) { - if (comparefn !== undefined) aCallable$K(comparefn); + if (comparefn !== undefined) aCallable$M(comparefn); var array = toObject$m(this); - if (STABLE_SORT$1) return comparefn === undefined ? nativeSort$1.call(array) : nativeSort$1.call(array, comparefn); + if (STABLE_SORT$1) return comparefn === undefined ? un$Sort$1(array) : un$Sort$1(array, comparefn); var items = []; - var arrayLength = lengthOfArrayLike$b(array); + var arrayLength = lengthOfArrayLike$a(array); var itemsLength, index; for (index = 0; index < arrayLength; index++) { - if (index in array) items.push(array[index]); + if (index in array) push$f(items, array[index]); } - items = internalSort$1(items, getSortCompare$1(comparefn)); + internalSort$1(items, getSortCompare$1(comparefn)); + itemsLength = items.length; index = 0; @@ -3053,15 +3288,15 @@ $$3S({ target: 'Array', proto: true, forced: FORCED$s }, { } }); -var getBuiltIn$r = getBuiltIn$y; +var getBuiltIn$s = getBuiltIn$z; var definePropertyModule$6 = objectDefineProperty; -var wellKnownSymbol$p = wellKnownSymbol$G; +var wellKnownSymbol$p = wellKnownSymbol$H; var DESCRIPTORS$s = descriptors; var SPECIES$3 = wellKnownSymbol$p('species'); var setSpecies$7 = function (CONSTRUCTOR_NAME) { - var Constructor = getBuiltIn$r(CONSTRUCTOR_NAME); + var Constructor = getBuiltIn$s(CONSTRUCTOR_NAME); var defineProperty = definePropertyModule$6.f; if (DESCRIPTORS$s && Constructor && !Constructor[SPECIES$3]) { @@ -3079,16 +3314,18 @@ var setSpecies$6 = setSpecies$7; setSpecies$6('Array'); var $$3R = _export; -var toAbsoluteIndex$3 = toAbsoluteIndex$8; +var global$1e = global$1S; +var toAbsoluteIndex$3 = toAbsoluteIndex$9; var toIntegerOrInfinity$c = toIntegerOrInfinity$i; -var lengthOfArrayLike$a = lengthOfArrayLike$q; +var lengthOfArrayLike$9 = lengthOfArrayLike$q; var toObject$l = toObject$z; var arraySpeciesCreate$1 = arraySpeciesCreate$6; -var createProperty$2 = createProperty$7; +var createProperty$2 = createProperty$8; var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$5; var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice'); +var TypeError$r = global$1e.TypeError; var max$4 = Math.max; var min$6 = Math.min; var MAX_SAFE_INTEGER$1 = 0x1FFFFFFFFFFFFF; @@ -3100,7 +3337,7 @@ var MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded'; $$3R({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { splice: function splice(start, deleteCount /* , ...items */) { var O = toObject$l(this); - var len = lengthOfArrayLike$a(O); + var len = lengthOfArrayLike$9(O); var actualStart = toAbsoluteIndex$3(start, len); var argumentsLength = arguments.length; var insertCount, actualDeleteCount, A, k, from, to; @@ -3114,7 +3351,7 @@ $$3R({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, { actualDeleteCount = min$6(max$4(toIntegerOrInfinity$c(deleteCount), 0), len - actualStart); } if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER$1) { - throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED); + throw TypeError$r(MAXIMUM_ALLOWED_LENGTH_EXCEEDED); } A = arraySpeciesCreate$1(O, actualDeleteCount); for (k = 0; k < actualDeleteCount; k++) { @@ -3161,7 +3398,7 @@ var addToUnscopables$8 = addToUnscopables$h; addToUnscopables$8('flatMap'); // eslint-disable-next-line es/no-typed-arrays -- safe -var arrayBufferNative = typeof ArrayBuffer !== 'undefined' && typeof DataView !== 'undefined'; +var arrayBufferNative = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined'; var redefine$g = redefine$l.exports; @@ -3170,25 +3407,36 @@ var redefineAll$a = function (target, src, options) { return target; }; -var anInstance$b = function (it, Constructor, name) { - if (it instanceof Constructor) return it; - throw TypeError('Incorrect ' + (name ? name + ' ' : '') + 'invocation'); +var global$1d = global$1S; +var isPrototypeOf$8 = objectIsPrototypeOf; + +var TypeError$q = global$1d.TypeError; + +var anInstance$b = function (it, Prototype) { + if (isPrototypeOf$8(Prototype, it)) return it; + throw TypeError$q('Incorrect invocation'); }; +var global$1c = global$1S; var toIntegerOrInfinity$b = toIntegerOrInfinity$i; var toLength$b = toLength$d; +var RangeError$c = global$1c.RangeError; + // `ToIndex` abstract operation // https://tc39.es/ecma262/#sec-toindex var toIndex$2 = function (it) { if (it === undefined) return 0; var number = toIntegerOrInfinity$b(it); var length = toLength$b(number); - if (number !== length) throw RangeError('Wrong length or index'); + if (number !== length) throw RangeError$c('Wrong length or index'); return length; }; // IEEE754 conversions based on https://github.com/feross/ieee754 +var global$1b = global$1S; + +var Array$6 = global$1b.Array; var abs$7 = Math.abs; var pow$4 = Math.pow; var floor$8 = Math.floor; @@ -3196,7 +3444,7 @@ var log$8 = Math.log; var LN2$2 = Math.LN2; var pack = function (number, mantissaLength, bytes) { - var buffer = new Array(bytes); + var buffer = Array$6(bytes); var exponentLength = bytes * 8 - mantissaLength - 1; var eMax = (1 << exponentLength) - 1; var eBias = eMax >> 1; @@ -3212,7 +3460,8 @@ var pack = function (number, mantissaLength, bytes) { exponent = eMax; } else { exponent = floor$8(log$8(number) / LN2$2); - if (number * (c = pow$4(2, -exponent)) < 1) { + c = pow$4(2, -exponent); + if (number * c < 1) { exponent--; c *= 2; } @@ -3236,10 +3485,18 @@ var pack = function (number, mantissaLength, bytes) { exponent = 0; } } - for (; mantissaLength >= 8; buffer[index++] = mantissa & 255, mantissa /= 256, mantissaLength -= 8); + while (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); + while (exponentLength > 0) { + buffer[index++] = exponent & 255; + exponent /= 256; + exponentLength -= 8; + } buffer[--index] |= sign * 128; return buffer; }; @@ -3255,11 +3512,17 @@ var unpack = function (buffer, mantissaLength) { var exponent = sign & 127; var mantissa; sign >>= 7; - for (; nBits > 0; exponent = exponent * 256 + buffer[index], index--, nBits -= 8); + while (nBits > 0) { + exponent = exponent * 256 + buffer[index--]; + nBits -= 8; + } mantissa = exponent & (1 << -nBits) - 1; exponent >>= -nBits; nBits += mantissaLength; - for (; nBits > 0; mantissa = mantissa * 256 + buffer[index], index--, nBits -= 8); + while (nBits > 0) { + mantissa = mantissa * 256 + buffer[index--]; + nBits -= 8; + } if (exponent === 0) { exponent = 1 - eBias; } else if (exponent === eMax) { @@ -3275,13 +3538,14 @@ var ieee754 = { unpack: unpack }; -var global$C = global$R; +var global$1a = global$1S; +var uncurryThis$Y = functionUncurryThis; var DESCRIPTORS$r = descriptors; var NATIVE_ARRAY_BUFFER$2 = arrayBufferNative; var FunctionName = functionName; var createNonEnumerableProperty$a = createNonEnumerableProperty$h; var redefineAll$9 = redefineAll$a; -var fails$S = fails$15; +var fails$T = fails$17; var anInstance$a = anInstance$b; var toIntegerOrInfinity$a = toIntegerOrInfinity$i; var toLength$a = toLength$d; @@ -3292,24 +3556,29 @@ var setPrototypeOf$5 = objectSetPrototypeOf$1; var getOwnPropertyNames$4 = objectGetOwnPropertyNames.f; var defineProperty$c = objectDefineProperty.f; var arrayFill = arrayFill$1; +var arraySlice$9 = arraySliceSimple; var setToStringTag$7 = setToStringTag$b; var InternalStateModule$g = internalState; var PROPER_FUNCTION_NAME$3 = FunctionName.PROPER; var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE; -var getInternalState$f = InternalStateModule$g.get; +var getInternalState$e = InternalStateModule$g.get; var setInternalState$g = InternalStateModule$g.set; var ARRAY_BUFFER$1 = 'ArrayBuffer'; var DATA_VIEW = 'DataView'; var PROTOTYPE = 'prototype'; var WRONG_LENGTH$1 = 'Wrong length'; var WRONG_INDEX = 'Wrong index'; -var NativeArrayBuffer$1 = global$C[ARRAY_BUFFER$1]; +var NativeArrayBuffer$1 = global$1a[ARRAY_BUFFER$1]; var $ArrayBuffer = NativeArrayBuffer$1; -var $DataView = global$C[DATA_VIEW]; -var $DataViewPrototype = $DataView && $DataView[PROTOTYPE]; -var ObjectPrototype$1 = Object.prototype; -var RangeError$2 = global$C.RangeError; +var ArrayBufferPrototype$1 = $ArrayBuffer && $ArrayBuffer[PROTOTYPE]; +var $DataView = global$1a[DATA_VIEW]; +var DataViewPrototype$1 = $DataView && $DataView[PROTOTYPE]; +var ObjectPrototype$2 = Object.prototype; +var Array$5 = global$1a.Array; +var RangeError$b = global$1a.RangeError; +var fill = uncurryThis$Y(arrayFill); +var reverse = uncurryThis$Y([].reverse); var packIEEE754 = IEEE754.pack; var unpackIEEE754 = IEEE754.unpack; @@ -3339,24 +3608,24 @@ var packFloat64 = function (number) { }; var addGetter$1 = function (Constructor, key) { - defineProperty$c(Constructor[PROTOTYPE], key, { get: function () { return getInternalState$f(this)[key]; } }); + defineProperty$c(Constructor[PROTOTYPE], key, { get: function () { return getInternalState$e(this)[key]; } }); }; var get$1 = function (view, count, index, isLittleEndian) { var intIndex = toIndex$1(index); - var store = getInternalState$f(view); - if (intIndex + count > store.byteLength) throw RangeError$2(WRONG_INDEX); - var bytes = getInternalState$f(store.buffer).bytes; + var store = getInternalState$e(view); + if (intIndex + count > store.byteLength) throw RangeError$b(WRONG_INDEX); + var bytes = getInternalState$e(store.buffer).bytes; var start = intIndex + store.byteOffset; - var pack = bytes.slice(start, start + count); - return isLittleEndian ? pack : pack.reverse(); + var pack = arraySlice$9(bytes, start, start + count); + return isLittleEndian ? pack : reverse(pack); }; var set$2 = function (view, count, index, conversion, value, isLittleEndian) { var intIndex = toIndex$1(index); - var store = getInternalState$f(view); - if (intIndex + count > store.byteLength) throw RangeError$2(WRONG_INDEX); - var bytes = getInternalState$f(store.buffer).bytes; + var store = getInternalState$e(view); + if (intIndex + count > store.byteLength) throw RangeError$b(WRONG_INDEX); + var bytes = getInternalState$e(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]; @@ -3364,23 +3633,25 @@ var set$2 = function (view, count, index, conversion, value, isLittleEndian) { if (!NATIVE_ARRAY_BUFFER$2) { $ArrayBuffer = function ArrayBuffer(length) { - anInstance$a(this, $ArrayBuffer, ARRAY_BUFFER$1); + anInstance$a(this, ArrayBufferPrototype$1); var byteLength = toIndex$1(length); setInternalState$g(this, { - bytes: arrayFill.call(new Array(byteLength), 0), + bytes: fill(Array$5(byteLength), 0), byteLength: byteLength }); if (!DESCRIPTORS$r) this.byteLength = byteLength; }; + ArrayBufferPrototype$1 = $ArrayBuffer[PROTOTYPE]; + $DataView = function DataView(buffer, byteOffset, byteLength) { - anInstance$a(this, $DataView, DATA_VIEW); - anInstance$a(buffer, $ArrayBuffer, DATA_VIEW); - var bufferLength = getInternalState$f(buffer).byteLength; + anInstance$a(this, DataViewPrototype$1); + anInstance$a(buffer, ArrayBufferPrototype$1); + var bufferLength = getInternalState$e(buffer).byteLength; var offset = toIntegerOrInfinity$a(byteOffset); - if (offset < 0 || offset > bufferLength) throw RangeError$2('Wrong offset'); + if (offset < 0 || offset > bufferLength) throw RangeError$b('Wrong offset'); byteLength = byteLength === undefined ? bufferLength - offset : toLength$a(byteLength); - if (offset + byteLength > bufferLength) throw RangeError$2(WRONG_LENGTH$1); + if (offset + byteLength > bufferLength) throw RangeError$b(WRONG_LENGTH$1); setInternalState$g(this, { buffer: buffer, byteLength: byteLength, @@ -3393,6 +3664,8 @@ if (!NATIVE_ARRAY_BUFFER$2) { } }; + DataViewPrototype$1 = $DataView[PROTOTYPE]; + if (DESCRIPTORS$r) { addGetter$1($ArrayBuffer, 'byteLength'); addGetter$1($DataView, 'buffer'); @@ -3400,7 +3673,7 @@ if (!NATIVE_ARRAY_BUFFER$2) { addGetter$1($DataView, 'byteOffset'); } - redefineAll$9($DataView[PROTOTYPE], { + redefineAll$9(DataViewPrototype$1, { getInt8: function getInt8(byteOffset) { return get$1(this, 1, byteOffset)[0] << 24 >> 24; }, @@ -3455,11 +3728,11 @@ if (!NATIVE_ARRAY_BUFFER$2) { } else { var INCORRECT_ARRAY_BUFFER_NAME = PROPER_FUNCTION_NAME$3 && NativeArrayBuffer$1.name !== ARRAY_BUFFER$1; /* eslint-disable no-new -- required for testing */ - if (!fails$S(function () { + if (!fails$T(function () { NativeArrayBuffer$1(1); - }) || !fails$S(function () { + }) || !fails$T(function () { new NativeArrayBuffer$1(-1); - }) || fails$S(function () { + }) || fails$T(function () { new NativeArrayBuffer$1(); new NativeArrayBuffer$1(1.5); new NativeArrayBuffer$1(NaN); @@ -3467,36 +3740,39 @@ if (!NATIVE_ARRAY_BUFFER$2) { })) { /* eslint-enable no-new -- required for testing */ $ArrayBuffer = function ArrayBuffer(length) { - anInstance$a(this, $ArrayBuffer); + anInstance$a(this, ArrayBufferPrototype$1); return new NativeArrayBuffer$1(toIndex$1(length)); }; - var ArrayBufferPrototype = $ArrayBuffer[PROTOTYPE] = NativeArrayBuffer$1[PROTOTYPE]; + + $ArrayBuffer[PROTOTYPE] = ArrayBufferPrototype$1; + for (var keys$2 = getOwnPropertyNames$4(NativeArrayBuffer$1), j$1 = 0, key$1; keys$2.length > j$1;) { if (!((key$1 = keys$2[j$1++]) in $ArrayBuffer)) { createNonEnumerableProperty$a($ArrayBuffer, key$1, NativeArrayBuffer$1[key$1]); } } - ArrayBufferPrototype.constructor = $ArrayBuffer; + + ArrayBufferPrototype$1.constructor = $ArrayBuffer; } else if (INCORRECT_ARRAY_BUFFER_NAME && CONFIGURABLE_FUNCTION_NAME) { createNonEnumerableProperty$a(NativeArrayBuffer$1, 'name', ARRAY_BUFFER$1); } // WebKit bug - the same parent prototype for typed arrays and data view - if (setPrototypeOf$5 && getPrototypeOf$a($DataViewPrototype) !== ObjectPrototype$1) { - setPrototypeOf$5($DataViewPrototype, ObjectPrototype$1); + if (setPrototypeOf$5 && getPrototypeOf$a(DataViewPrototype$1) !== ObjectPrototype$2) { + setPrototypeOf$5(DataViewPrototype$1, ObjectPrototype$2); } // iOS Safari 7.x bug var testView = new $DataView(new $ArrayBuffer(2)); - var $setInt8 = $DataViewPrototype.setInt8; + var $setInt8 = uncurryThis$Y(DataViewPrototype$1.setInt8); testView.setInt8(0, 2147483648); testView.setInt8(1, 2147483649); - if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll$9($DataViewPrototype, { + if (testView.getInt8(0) || !testView.getInt8(1)) redefineAll$9(DataViewPrototype$1, { setInt8: function setInt8(byteOffset, value) { - $setInt8.call(this, byteOffset, value << 24 >> 24); + $setInt8(this, byteOffset, value << 24 >> 24); }, setUint8: function setUint8(byteOffset, value) { - $setInt8.call(this, byteOffset, value << 24 >> 24); + $setInt8(this, byteOffset, value << 24 >> 24); } }, { unsafe: true }); } @@ -3510,13 +3786,13 @@ var arrayBuffer = { }; var $$3Q = _export; -var global$B = global$R; +var global$19 = global$1S; var arrayBufferModule = arrayBuffer; var setSpecies$5 = setSpecies$7; var ARRAY_BUFFER = 'ArrayBuffer'; var ArrayBuffer$4 = arrayBufferModule[ARRAY_BUFFER]; -var NativeArrayBuffer = global$B[ARRAY_BUFFER]; +var NativeArrayBuffer = global$19[ARRAY_BUFFER]; // `ArrayBuffer` constructor // https://tc39.es/ecma262/#sec-arraybuffer-constructor @@ -3528,34 +3804,35 @@ setSpecies$5(ARRAY_BUFFER); var NATIVE_ARRAY_BUFFER$1 = arrayBufferNative; var DESCRIPTORS$q = descriptors; -var global$A = global$R; +var global$18 = global$1S; var isCallable$h = isCallable$z; -var isObject$q = isObject$C; -var hasOwn$c = hasOwnProperty_1; -var classof$6 = classof$b; -var tryToString$1 = tryToString$3; +var isObject$q = isObject$B; +var hasOwn$f = hasOwnProperty_1; +var classof$b = classof$h; +var tryToString$1 = tryToString$5; var createNonEnumerableProperty$9 = createNonEnumerableProperty$h; var redefine$f = redefine$l.exports; var defineProperty$b = objectDefineProperty.f; +var isPrototypeOf$7 = objectIsPrototypeOf; var getPrototypeOf$9 = objectGetPrototypeOf$1; var setPrototypeOf$4 = objectSetPrototypeOf$1; -var wellKnownSymbol$o = wellKnownSymbol$G; +var wellKnownSymbol$o = wellKnownSymbol$H; var uid$1 = uid$5; -var Int8Array$3 = global$A.Int8Array; +var Int8Array$3 = global$18.Int8Array; var Int8ArrayPrototype = Int8Array$3 && Int8Array$3.prototype; -var Uint8ClampedArray = global$A.Uint8ClampedArray; +var Uint8ClampedArray = global$18.Uint8ClampedArray; var Uint8ClampedArrayPrototype = Uint8ClampedArray && Uint8ClampedArray.prototype; var TypedArray$1 = Int8Array$3 && getPrototypeOf$9(Int8Array$3); var TypedArrayPrototype$1 = Int8ArrayPrototype && getPrototypeOf$9(Int8ArrayPrototype); -var ObjectPrototype = Object.prototype; -var isPrototypeOf$2 = ObjectPrototype.isPrototypeOf; +var ObjectPrototype$1 = Object.prototype; +var TypeError$p = global$18.TypeError; var TO_STRING_TAG$5 = wellKnownSymbol$o('toStringTag'); var TYPED_ARRAY_TAG$1 = uid$1('TYPED_ARRAY_TAG'); var TYPED_ARRAY_CONSTRUCTOR$2 = uid$1('TYPED_ARRAY_CONSTRUCTOR'); // Fixing native typed arrays in Opera Presto crashes the browser, see #595 -var NATIVE_ARRAY_BUFFER_VIEWS$3 = NATIVE_ARRAY_BUFFER$1 && !!setPrototypeOf$4 && classof$6(global$A.opera) !== 'Opera'; +var NATIVE_ARRAY_BUFFER_VIEWS$3 = NATIVE_ARRAY_BUFFER$1 && !!setPrototypeOf$4 && classof$b(global$18.opera) !== 'Opera'; var TYPED_ARRAY_TAG_REQIRED = false; var NAME$1, Constructor, Prototype; @@ -3578,34 +3855,34 @@ var BigIntArrayConstructorsList = { var isView = function isView(it) { if (!isObject$q(it)) return false; - var klass = classof$6(it); + var klass = classof$b(it); return klass === 'DataView' - || hasOwn$c(TypedArrayConstructorsList, klass) - || hasOwn$c(BigIntArrayConstructorsList, klass); + || hasOwn$f(TypedArrayConstructorsList, klass) + || hasOwn$f(BigIntArrayConstructorsList, klass); }; var isTypedArray$1 = function (it) { if (!isObject$q(it)) return false; - var klass = classof$6(it); - return hasOwn$c(TypedArrayConstructorsList, klass) - || hasOwn$c(BigIntArrayConstructorsList, klass); + var klass = classof$b(it); + return hasOwn$f(TypedArrayConstructorsList, klass) + || hasOwn$f(BigIntArrayConstructorsList, klass); }; var aTypedArray$t = function (it) { if (isTypedArray$1(it)) return it; - throw TypeError('Target is not a typed array'); + throw TypeError$p('Target is not a typed array'); }; var aTypedArrayConstructor$5 = function (C) { - if (isCallable$h(C) && (!setPrototypeOf$4 || isPrototypeOf$2.call(TypedArray$1, C))) return C; - throw TypeError(tryToString$1(C) + ' is not a typed array constructor'); + if (isCallable$h(C) && (!setPrototypeOf$4 || isPrototypeOf$7(TypedArray$1, C))) return C; + throw TypeError$p(tryToString$1(C) + ' is not a typed array constructor'); }; var exportTypedArrayMethod$u = function (KEY, property, forced) { if (!DESCRIPTORS$q) return; if (forced) for (var ARRAY in TypedArrayConstructorsList) { - var TypedArrayConstructor = global$A[ARRAY]; - if (TypedArrayConstructor && hasOwn$c(TypedArrayConstructor.prototype, KEY)) try { + var TypedArrayConstructor = global$18[ARRAY]; + if (TypedArrayConstructor && hasOwn$f(TypedArrayConstructor.prototype, KEY)) try { delete TypedArrayConstructor.prototype[KEY]; } catch (error) { /* empty */ } } @@ -3620,8 +3897,8 @@ var exportTypedArrayStaticMethod$3 = function (KEY, property, forced) { if (!DESCRIPTORS$q) return; if (setPrototypeOf$4) { if (forced) for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global$A[ARRAY]; - if (TypedArrayConstructor && hasOwn$c(TypedArrayConstructor, KEY)) try { + TypedArrayConstructor = global$18[ARRAY]; + if (TypedArrayConstructor && hasOwn$f(TypedArrayConstructor, KEY)) try { delete TypedArrayConstructor[KEY]; } catch (error) { /* empty */ } } @@ -3633,7 +3910,7 @@ var exportTypedArrayStaticMethod$3 = function (KEY, property, forced) { } else return; } for (ARRAY in TypedArrayConstructorsList) { - TypedArrayConstructor = global$A[ARRAY]; + TypedArrayConstructor = global$18[ARRAY]; if (TypedArrayConstructor && (!TypedArrayConstructor[KEY] || forced)) { redefine$f(TypedArrayConstructor, KEY, property); } @@ -3641,14 +3918,14 @@ var exportTypedArrayStaticMethod$3 = function (KEY, property, forced) { }; for (NAME$1 in TypedArrayConstructorsList) { - Constructor = global$A[NAME$1]; + Constructor = global$18[NAME$1]; Prototype = Constructor && Constructor.prototype; if (Prototype) createNonEnumerableProperty$9(Prototype, TYPED_ARRAY_CONSTRUCTOR$2, Constructor); else NATIVE_ARRAY_BUFFER_VIEWS$3 = false; } for (NAME$1 in BigIntArrayConstructorsList) { - Constructor = global$A[NAME$1]; + Constructor = global$18[NAME$1]; Prototype = Constructor && Constructor.prototype; if (Prototype) createNonEnumerableProperty$9(Prototype, TYPED_ARRAY_CONSTRUCTOR$2, Constructor); } @@ -3657,17 +3934,17 @@ for (NAME$1 in BigIntArrayConstructorsList) { if (!NATIVE_ARRAY_BUFFER_VIEWS$3 || !isCallable$h(TypedArray$1) || TypedArray$1 === Function.prototype) { // eslint-disable-next-line no-shadow -- safe TypedArray$1 = function TypedArray() { - throw TypeError('Incorrect invocation'); + throw TypeError$p('Incorrect invocation'); }; if (NATIVE_ARRAY_BUFFER_VIEWS$3) for (NAME$1 in TypedArrayConstructorsList) { - if (global$A[NAME$1]) setPrototypeOf$4(global$A[NAME$1], TypedArray$1); + if (global$18[NAME$1]) setPrototypeOf$4(global$18[NAME$1], TypedArray$1); } } -if (!NATIVE_ARRAY_BUFFER_VIEWS$3 || !TypedArrayPrototype$1 || TypedArrayPrototype$1 === ObjectPrototype) { +if (!NATIVE_ARRAY_BUFFER_VIEWS$3 || !TypedArrayPrototype$1 || TypedArrayPrototype$1 === ObjectPrototype$1) { TypedArrayPrototype$1 = TypedArray$1.prototype; if (NATIVE_ARRAY_BUFFER_VIEWS$3) for (NAME$1 in TypedArrayConstructorsList) { - if (global$A[NAME$1]) setPrototypeOf$4(global$A[NAME$1].prototype, TypedArrayPrototype$1); + if (global$18[NAME$1]) setPrototypeOf$4(global$18[NAME$1].prototype, TypedArrayPrototype$1); } } @@ -3676,13 +3953,13 @@ if (NATIVE_ARRAY_BUFFER_VIEWS$3 && getPrototypeOf$9(Uint8ClampedArrayPrototype) setPrototypeOf$4(Uint8ClampedArrayPrototype, TypedArrayPrototype$1); } -if (DESCRIPTORS$q && !hasOwn$c(TypedArrayPrototype$1, TO_STRING_TAG$5)) { +if (DESCRIPTORS$q && !hasOwn$f(TypedArrayPrototype$1, TO_STRING_TAG$5)) { TYPED_ARRAY_TAG_REQIRED = true; defineProperty$b(TypedArrayPrototype$1, TO_STRING_TAG$5, { get: function () { return isObject$q(this) ? this[TYPED_ARRAY_TAG$1] : undefined; } }); - for (NAME$1 in TypedArrayConstructorsList) if (global$A[NAME$1]) { - createNonEnumerableProperty$9(global$A[NAME$1], TYPED_ARRAY_TAG$1, NAME$1); + for (NAME$1 in TypedArrayConstructorsList) if (global$18[NAME$1]) { + createNonEnumerableProperty$9(global$18[NAME$1], TYPED_ARRAY_TAG$1, NAME$1); } } @@ -3711,18 +3988,21 @@ $$3P({ target: 'ArrayBuffer', stat: true, forced: !NATIVE_ARRAY_BUFFER_VIEWS$2 } isView: ArrayBufferViewCore$x.isView }); +var global$17 = global$1S; var isConstructor$2 = isConstructor$7; -var tryToString = tryToString$3; +var tryToString = tryToString$5; + +var TypeError$o = global$17.TypeError; // `Assert: IsConstructor(argument) is true` var aConstructor$5 = function (argument) { if (isConstructor$2(argument)) return argument; - throw TypeError(tryToString(argument) + ' is not a constructor'); + throw TypeError$o(tryToString(argument) + ' is not a constructor'); }; var anObject$1r = anObject$1C; var aConstructor$4 = aConstructor$5; -var wellKnownSymbol$n = wellKnownSymbol$G; +var wellKnownSymbol$n = wellKnownSymbol$H; var SPECIES$2 = wellKnownSymbol$n('species'); @@ -3735,18 +4015,22 @@ var speciesConstructor$f = function (O, defaultConstructor) { }; var $$3O = _export; -var fails$R = fails$15; +var uncurryThis$X = functionUncurryThis; +var fails$S = fails$17; var ArrayBufferModule$2 = arrayBuffer; var anObject$1q = anObject$1C; -var toAbsoluteIndex$2 = toAbsoluteIndex$8; +var toAbsoluteIndex$2 = toAbsoluteIndex$9; var toLength$9 = toLength$d; var speciesConstructor$e = speciesConstructor$f; var ArrayBuffer$3 = ArrayBufferModule$2.ArrayBuffer; var DataView$2 = ArrayBufferModule$2.DataView; -var nativeArrayBufferSlice = ArrayBuffer$3.prototype.slice; +var DataViewPrototype = DataView$2.prototype; +var un$ArrayBufferSlice = uncurryThis$X(ArrayBuffer$3.prototype.slice); +var getUint8 = uncurryThis$X(DataViewPrototype.getUint8); +var setUint8 = uncurryThis$X(DataViewPrototype.setUint8); -var INCORRECT_SLICE = fails$R(function () { +var INCORRECT_SLICE = fails$S(function () { return !new ArrayBuffer$3(2).slice(1, undefined).byteLength; }); @@ -3754,8 +4038,8 @@ var INCORRECT_SLICE = fails$R(function () { // https://tc39.es/ecma262/#sec-arraybuffer.prototype.slice $$3O({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE }, { slice: function slice(start, end) { - if (nativeArrayBufferSlice !== undefined && end === undefined) { - return nativeArrayBufferSlice.call(anObject$1q(this), start); // FF fix + if (un$ArrayBufferSlice && end === undefined) { + return un$ArrayBufferSlice(anObject$1q(this), start); // FF fix } var length = anObject$1q(this).byteLength; var first = toAbsoluteIndex$2(start, length); @@ -3765,7 +4049,7 @@ $$3O({ target: 'ArrayBuffer', proto: true, unsafe: true, forced: INCORRECT_SLICE var viewTarget = new DataView$2(result); var index = 0; while (first < fin) { - viewTarget.setUint8(index++, viewSource.getUint8(first++)); + setUint8(viewTarget, index++, getUint8(viewSource, first++)); } return result; } }); @@ -3781,47 +4065,55 @@ $$3N({ global: true, forced: !NATIVE_ARRAY_BUFFER }, { }); var $$3M = _export; -var fails$Q = fails$15; +var uncurryThis$W = functionUncurryThis; +var fails$R = fails$17; -var FORCED$r = fails$Q(function () { +var FORCED$r = fails$R(function () { return new Date(16e11).getYear() !== 120; }); -var getFullYear = Date.prototype.getFullYear; +var getFullYear = uncurryThis$W(Date.prototype.getFullYear); // `Date.prototype.getYear` method // https://tc39.es/ecma262/#sec-date.prototype.getyear $$3M({ target: 'Date', proto: true, forced: FORCED$r }, { getYear: function getYear() { - return getFullYear.call(this) - 1900; + return getFullYear(this) - 1900; } }); var $$3L = _export; +var global$16 = global$1S; +var uncurryThis$V = functionUncurryThis; + +var Date$1 = global$16.Date; +var getTime$3 = uncurryThis$V(Date$1.prototype.getTime); // `Date.now` method // https://tc39.es/ecma262/#sec-date.now $$3L({ target: 'Date', stat: true }, { now: function now() { - return new Date().getTime(); + return getTime$3(new Date$1()); } }); var $$3K = _export; +var uncurryThis$U = functionUncurryThis; var toIntegerOrInfinity$9 = toIntegerOrInfinity$i; -var getTime$2 = Date.prototype.getTime; -var setFullYear = Date.prototype.setFullYear; +var DatePrototype$3 = Date.prototype; +var getTime$2 = uncurryThis$U(DatePrototype$3.getTime); +var setFullYear = uncurryThis$U(DatePrototype$3.setFullYear); // `Date.prototype.setYear` method // https://tc39.es/ecma262/#sec-date.prototype.setyear $$3K({ target: 'Date', proto: true }, { setYear: function setYear(year) { // validate - getTime$2.call(this); + getTime$2(this); var yi = toIntegerOrInfinity$9(year); var yyyy = 0 <= yi && yi <= 99 ? yi + 1900 : yi; - return setFullYear.call(this, yyyy); + return setFullYear(this, yyyy); } }); @@ -3833,41 +4125,47 @@ $$3J({ target: 'Date', proto: true }, { toGMTString: Date.prototype.toUTCString }); +var global$15 = global$1S; var toIntegerOrInfinity$8 = toIntegerOrInfinity$i; -var toString$p = toString$t; +var toString$q = toString$u; var requireObjectCoercible$g = requireObjectCoercible$j; +var RangeError$a = global$15.RangeError; + // `String.prototype.repeat` method implementation // https://tc39.es/ecma262/#sec-string.prototype.repeat var stringRepeat = function repeat(count) { - var str = toString$p(requireObjectCoercible$g(this)); + var str = toString$q(requireObjectCoercible$g(this)); var result = ''; var n = toIntegerOrInfinity$8(count); - if (n < 0 || n == Infinity) throw RangeError('Wrong number of repetitions'); + if (n < 0 || n == Infinity) throw RangeError$a('Wrong number of repetitions'); for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str; return result; }; // https://github.com/tc39/proposal-string-pad-start-end +var uncurryThis$T = functionUncurryThis; var toLength$8 = toLength$d; -var toString$o = toString$t; -var repeat$2 = stringRepeat; +var toString$p = toString$u; +var $repeat$1 = stringRepeat; var requireObjectCoercible$f = requireObjectCoercible$j; +var repeat$2 = uncurryThis$T($repeat$1); +var stringSlice$e = uncurryThis$T(''.slice); var ceil$1 = Math.ceil; // `String.prototype.{ padStart, padEnd }` methods implementation var createMethod$5 = function (IS_END) { return function ($this, maxLength, fillString) { - var S = toString$o(requireObjectCoercible$f($this)); + var S = toString$p(requireObjectCoercible$f($this)); var intMaxLength = toLength$8(maxLength); var stringLength = S.length; - var fillStr = fillString === undefined ? ' ' : toString$o(fillString); + var fillStr = fillString === undefined ? ' ' : toString$p(fillString); var fillLen, stringFiller; if (intMaxLength <= stringLength || fillStr == '') return S; fillLen = intMaxLength - stringLength; - stringFiller = repeat$2.call(fillStr, ceil$1(fillLen / fillStr.length)); - if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen); + stringFiller = repeat$2(fillStr, ceil$1(fillLen / fillStr.length)); + if (stringFiller.length > fillLen) stringFiller = stringSlice$e(stringFiller, 0, fillLen); return IS_END ? S + stringFiller : stringFiller + S; }; }; @@ -3881,36 +4179,46 @@ var stringPad = { end: createMethod$5(true) }; -var fails$P = fails$15; +var global$14 = global$1S; +var uncurryThis$S = functionUncurryThis; +var fails$Q = fails$17; var padStart = stringPad.start; +var RangeError$9 = global$14.RangeError; var abs$6 = Math.abs; var DatePrototype$2 = Date.prototype; -var getTime$1 = DatePrototype$2.getTime; -var nativeDateToISOString = DatePrototype$2.toISOString; +var n$DateToISOString = DatePrototype$2.toISOString; +var getTime$1 = uncurryThis$S(DatePrototype$2.getTime); +var getUTCDate = uncurryThis$S(DatePrototype$2.getUTCDate); +var getUTCFullYear = uncurryThis$S(DatePrototype$2.getUTCFullYear); +var getUTCHours = uncurryThis$S(DatePrototype$2.getUTCHours); +var getUTCMilliseconds = uncurryThis$S(DatePrototype$2.getUTCMilliseconds); +var getUTCMinutes = uncurryThis$S(DatePrototype$2.getUTCMinutes); +var getUTCMonth = uncurryThis$S(DatePrototype$2.getUTCMonth); +var getUTCSeconds = uncurryThis$S(DatePrototype$2.getUTCSeconds); // `Date.prototype.toISOString` method implementation // https://tc39.es/ecma262/#sec-date.prototype.toisostring // PhantomJS / old WebKit fails here: -var dateToIsoString = (fails$P(function () { - return nativeDateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; -}) || !fails$P(function () { - nativeDateToISOString.call(new Date(NaN)); +var dateToIsoString = (fails$Q(function () { + return n$DateToISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z'; +}) || !fails$Q(function () { + n$DateToISOString.call(new Date(NaN)); })) ? function toISOString() { - if (!isFinite(getTime$1.call(this))) throw RangeError('Invalid time value'); + if (!isFinite(getTime$1(this))) throw RangeError$9('Invalid time value'); var date = this; - var year = date.getUTCFullYear(); - var milliseconds = date.getUTCMilliseconds(); + var year = getUTCFullYear(date); + var milliseconds = getUTCMilliseconds(date); var sign = year < 0 ? '-' : year > 9999 ? '+' : ''; return sign + padStart(abs$6(year), sign ? 6 : 4, 0) + - '-' + padStart(date.getUTCMonth() + 1, 2, 0) + - '-' + padStart(date.getUTCDate(), 2, 0) + - 'T' + padStart(date.getUTCHours(), 2, 0) + - ':' + padStart(date.getUTCMinutes(), 2, 0) + - ':' + padStart(date.getUTCSeconds(), 2, 0) + + '-' + padStart(getUTCMonth(date) + 1, 2, 0) + + '-' + padStart(getUTCDate(date), 2, 0) + + 'T' + padStart(getUTCHours(date), 2, 0) + + ':' + padStart(getUTCMinutes(date), 2, 0) + + ':' + padStart(getUTCSeconds(date), 2, 0) + '.' + padStart(milliseconds, 3, 0) + 'Z'; -} : nativeDateToISOString; +} : n$DateToISOString; var $$3I = _export; var toISOString = dateToIsoString; @@ -3923,11 +4231,11 @@ $$3I({ target: 'Date', proto: true, forced: Date.prototype.toISOString !== toISO }); var $$3H = _export; -var fails$O = fails$15; +var fails$P = fails$17; var toObject$k = toObject$z; var toPrimitive$1 = toPrimitive$3; -var FORCED$q = fails$O(function () { +var FORCED$q = fails$P(function () { return new Date(NaN).toJSON() !== null || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1; }); @@ -3943,56 +4251,68 @@ $$3H({ target: 'Date', proto: true, forced: FORCED$q }, { } }); +var global$13 = global$1S; var anObject$1p = anObject$1C; var ordinaryToPrimitive = ordinaryToPrimitive$2; +var TypeError$n = global$13.TypeError; + // `Date.prototype[@@toPrimitive](hint)` method implementation // https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive var dateToPrimitive$1 = function (hint) { anObject$1p(this); if (hint === 'string' || hint === 'default') hint = 'string'; - else if (hint !== 'number') throw TypeError('Incorrect hint'); + else if (hint !== 'number') throw TypeError$n('Incorrect hint'); return ordinaryToPrimitive(this, hint); }; +var hasOwn$e = hasOwnProperty_1; var redefine$e = redefine$l.exports; var dateToPrimitive = dateToPrimitive$1; -var wellKnownSymbol$m = wellKnownSymbol$G; +var wellKnownSymbol$m = wellKnownSymbol$H; var TO_PRIMITIVE = wellKnownSymbol$m('toPrimitive'); var DatePrototype$1 = Date.prototype; // `Date.prototype[@@toPrimitive]` method // https://tc39.es/ecma262/#sec-date.prototype-@@toprimitive -if (!(TO_PRIMITIVE in DatePrototype$1)) { +if (!hasOwn$e(DatePrototype$1, TO_PRIMITIVE)) { redefine$e(DatePrototype$1, TO_PRIMITIVE, dateToPrimitive); } +var uncurryThis$R = functionUncurryThis; var redefine$d = redefine$l.exports; var DatePrototype = Date.prototype; var INVALID_DATE = 'Invalid Date'; var TO_STRING$1 = 'toString'; -var nativeDateToString = DatePrototype[TO_STRING$1]; -var getTime = DatePrototype.getTime; +var un$DateToString = uncurryThis$R(DatePrototype[TO_STRING$1]); +var getTime = uncurryThis$R(DatePrototype.getTime); // `Date.prototype.toString` method // https://tc39.es/ecma262/#sec-date.prototype.tostring if (String(new Date(NaN)) != INVALID_DATE) { redefine$d(DatePrototype, TO_STRING$1, function toString() { - var value = getTime.call(this); + var value = getTime(this); // eslint-disable-next-line no-self-compare -- NaN check - return value === value ? nativeDateToString.call(this) : INVALID_DATE; + return value === value ? un$DateToString(this) : INVALID_DATE; }); } var $$3G = _export; -var toString$n = toString$t; +var uncurryThis$Q = functionUncurryThis; +var toString$o = toString$u; + +var charAt$f = uncurryThis$Q(''.charAt); +var charCodeAt$4 = uncurryThis$Q(''.charCodeAt); +var exec$9 = uncurryThis$Q(/./.exec); +var numberToString$3 = uncurryThis$Q(1.0.toString); +var toUpperCase = uncurryThis$Q(''.toUpperCase); var raw = /[\w*+\-./@]/; var hex$1 = function (code, length) { - var result = code.toString(16); + var result = numberToString$3(code, 16); while (result.length < length) result = '0' + result; return result; }; @@ -4001,68 +4321,74 @@ var hex$1 = function (code, length) { // https://tc39.es/ecma262/#sec-escape-string $$3G({ global: true }, { escape: function escape(string) { - var str = toString$n(string); + var str = toString$o(string); var result = ''; var length = str.length; var index = 0; var chr, code; while (index < length) { - chr = str.charAt(index++); - if (raw.test(chr)) { + chr = charAt$f(str, index++); + if (exec$9(raw, chr)) { result += chr; } else { - code = chr.charCodeAt(0); + code = charCodeAt$4(chr, 0); if (code < 256) { result += '%' + hex$1(code, 2); } else { - result += '%u' + hex$1(code, 4).toUpperCase(); + result += '%u' + toUpperCase(hex$1(code, 4)); } } } return result; } }); -var aCallable$J = aCallable$Q; -var isObject$p = isObject$C; +var global$12 = global$1S; +var uncurryThis$P = functionUncurryThis; +var aCallable$L = aCallable$S; +var isObject$p = isObject$B; +var hasOwn$d = hasOwnProperty_1; +var arraySlice$8 = arraySlice$d; -var slice$2 = [].slice; +var Function$3 = global$12.Function; +var concat$3 = uncurryThis$P([].concat); +var join$6 = uncurryThis$P([].join); var factories = {}; var construct = function (C, argsLength, args) { - if (!(argsLength in factories)) { + if (!hasOwn$d(factories, argsLength)) { for (var list = [], i = 0; i < argsLength; i++) list[i] = 'a[' + i + ']'; - // eslint-disable-next-line no-new-func -- we have no proper alternatives, IE8- only - factories[argsLength] = Function('C,a', 'return new C(' + list.join(',') + ')'); + factories[argsLength] = Function$3('C,a', 'return new C(' + join$6(list, ',') + ')'); } return factories[argsLength](C, args); }; // `Function.prototype.bind` method implementation // https://tc39.es/ecma262/#sec-function.prototype.bind -var functionBind = Function.bind || function bind(that /* , ...args */) { - var fn = aCallable$J(this); - var partArgs = slice$2.call(arguments, 1); +var functionBind = Function$3.bind || function bind(that /* , ...args */) { + var F = aCallable$L(this); + var Prototype = F.prototype; + var partArgs = arraySlice$8(arguments, 1); var boundFunction = function bound(/* args... */) { - var args = partArgs.concat(slice$2.call(arguments)); - return this instanceof boundFunction ? construct(fn, args.length, args) : fn.apply(that, args); + var args = concat$3(partArgs, arraySlice$8(arguments)); + return this instanceof boundFunction ? construct(F, args.length, args) : F.apply(that, args); }; - if (isObject$p(fn.prototype)) boundFunction.prototype = fn.prototype; + if (isObject$p(Prototype)) boundFunction.prototype = Prototype; return boundFunction; }; var $$3F = _export; -var bind$m = functionBind; +var bind$o = functionBind; // `Function.prototype.bind` method // https://tc39.es/ecma262/#sec-function.prototype.bind $$3F({ target: 'Function', proto: true }, { - bind: bind$m + bind: bind$o }); var isCallable$g = isCallable$z; -var isObject$o = isObject$C; +var isObject$o = isObject$B; var definePropertyModule$5 = objectDefineProperty; var getPrototypeOf$8 = objectGetPrototypeOf$1; -var wellKnownSymbol$l = wellKnownSymbol$G; +var wellKnownSymbol$l = wellKnownSymbol$H; var HAS_INSTANCE = wellKnownSymbol$l('hasInstance'); var FunctionPrototype$1 = Function.prototype; @@ -4072,20 +4398,23 @@ var FunctionPrototype$1 = Function.prototype; if (!(HAS_INSTANCE in FunctionPrototype$1)) { definePropertyModule$5.f(FunctionPrototype$1, HAS_INSTANCE, { value: function (O) { if (!isCallable$g(this) || !isObject$o(O)) return false; - if (!isObject$o(this.prototype)) return O instanceof this; + var P = this.prototype; + if (!isObject$o(P)) return O instanceof this; // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this: - while (O = getPrototypeOf$8(O)) if (this.prototype === O) return true; + while (O = getPrototypeOf$8(O)) if (P === O) return true; return false; } }); } var DESCRIPTORS$p = descriptors; var FUNCTION_NAME_EXISTS = functionName.EXISTS; +var uncurryThis$O = functionUncurryThis; var defineProperty$a = objectDefineProperty.f; var FunctionPrototype = Function.prototype; -var FunctionPrototypeToString = FunctionPrototype.toString; -var nameRE = /^\s*function ([^ (]*)/; +var functionToString = uncurryThis$O(FunctionPrototype.toString); +var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/; +var regExpExec$4 = uncurryThis$O(nameRE.exec); var NAME = 'name'; // Function instances `.name` property @@ -4095,7 +4424,7 @@ if (DESCRIPTORS$p && !FUNCTION_NAME_EXISTS) { configurable: true, get: function () { try { - return FunctionPrototypeToString.call(this).match(nameRE)[1]; + return regExpExec$4(nameRE, functionToString(this))[1]; } catch (error) { return ''; } @@ -4104,32 +4433,42 @@ if (DESCRIPTORS$p && !FUNCTION_NAME_EXISTS) { } var $$3E = _export; -var global$z = global$R; +var global$11 = global$1S; // `globalThis` object // https://tc39.es/ecma262/#sec-globalthis $$3E({ global: true }, { - globalThis: global$z + globalThis: global$11 }); var $$3D = _export; -var getBuiltIn$q = getBuiltIn$y; -var fails$N = fails$15; - -var $stringify = getBuiltIn$q('JSON', 'stringify'); -var re = /[\uD800-\uDFFF]/g; +var global$10 = global$1S; +var getBuiltIn$r = getBuiltIn$z; +var apply$m = functionApply$1; +var uncurryThis$N = functionUncurryThis; +var fails$O = fails$17; + +var Array$4 = global$10.Array; +var $stringify = getBuiltIn$r('JSON', 'stringify'); +var exec$8 = uncurryThis$N(/./.exec); +var charAt$e = uncurryThis$N(''.charAt); +var charCodeAt$3 = uncurryThis$N(''.charCodeAt); +var replace$8 = uncurryThis$N(''.replace); +var numberToString$2 = uncurryThis$N(1.0.toString); + +var tester = /[\uD800-\uDFFF]/g; var low = /^[\uD800-\uDBFF]$/; var hi = /^[\uDC00-\uDFFF]$/; var fix = function (match, offset, string) { - var prev = string.charAt(offset - 1); - var next = string.charAt(offset + 1); - if ((low.test(match) && !hi.test(next)) || (hi.test(match) && !low.test(prev))) { - return '\\u' + match.charCodeAt(0).toString(16); + var prev = charAt$e(string, offset - 1); + var next = charAt$e(string, offset + 1); + if ((exec$8(low, match) && !exec$8(hi, next)) || (exec$8(hi, match) && !exec$8(low, prev))) { + return '\\u' + numberToString$2(charCodeAt$3(match, 0), 16); } return match; }; -var FORCED$p = fails$N(function () { +var FORCED$p = fails$O(function () { return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"' || $stringify('\uDEAD') !== '"\\udead"'; }); @@ -4141,35 +4480,66 @@ if ($stringify) { $$3D({ target: 'JSON', stat: true, forced: FORCED$p }, { // eslint-disable-next-line no-unused-vars -- required for `.length` stringify: function stringify(it, replacer, space) { - var result = $stringify.apply(null, arguments); - return typeof result == 'string' ? result.replace(re, fix) : result; + for (var i = 0, l = arguments.length, args = Array$4(l); i < l; i++) args[i] = arguments[i]; + var result = apply$m($stringify, null, args); + return typeof result == 'string' ? replace$8(result, tester, fix) : result; } }); } -var global$y = global$R; +var global$$ = global$1S; var setToStringTag$6 = setToStringTag$b; // JSON[@@toStringTag] property // https://tc39.es/ecma262/#sec-json-@@tostringtag -setToStringTag$6(global$y.JSON, 'JSON', true); +setToStringTag$6(global$$.JSON, 'JSON', true); var internalMetadata = {exports: {}}; -var fails$M = fails$15; +// FF26- bug: ArrayBuffers are non-extensible, but Object.isExtensible does not report it +var fails$N = fails$17; + +var arrayBufferNonExtensible = fails$N(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 }); + } +}); + +var fails$M = fails$17; +var isObject$n = isObject$B; +var classof$a = classofRaw$1; +var ARRAY_BUFFER_NON_EXTENSIBLE$2 = arrayBufferNonExtensible; + +// eslint-disable-next-line es/no-object-isextensible -- safe +var $isExtensible$2 = Object.isExtensible; +var FAILS_ON_PRIMITIVES$9 = fails$M(function () { $isExtensible$2(1); }); + +// `Object.isExtensible` method +// https://tc39.es/ecma262/#sec-object.isextensible +var objectIsExtensible = (FAILS_ON_PRIMITIVES$9 || ARRAY_BUFFER_NON_EXTENSIBLE$2) ? function isExtensible(it) { + if (!isObject$n(it)) return false; + if (ARRAY_BUFFER_NON_EXTENSIBLE$2 && classof$a(it) == 'ArrayBuffer') return false; + return $isExtensible$2 ? $isExtensible$2(it) : true; +} : $isExtensible$2; + +var fails$L = fails$17; -var freezing = !fails$M(function () { +var freezing = !fails$L(function () { // eslint-disable-next-line es/no-object-isextensible, es/no-object-preventextensions -- required for testing return Object.isExtensible(Object.preventExtensions({})); }); var $$3C = _export; +var uncurryThis$M = functionUncurryThis; var hiddenKeys = hiddenKeys$6; -var isObject$n = isObject$C; -var hasOwn$b = hasOwnProperty_1; +var isObject$m = isObject$B; +var hasOwn$c = hasOwnProperty_1; var defineProperty$9 = objectDefineProperty.f; var getOwnPropertyNamesModule = objectGetOwnPropertyNames; var getOwnPropertyNamesExternalModule = objectGetOwnPropertyNamesExternal; +var isExtensible$1 = objectIsExtensible; var uid = uid$5; var FREEZING$4 = freezing; @@ -4177,11 +4547,6 @@ var REQUIRED = false; var METADATA = uid('meta'); var id$1 = 0; -// eslint-disable-next-line es/no-object-isextensible -- safe -var isExtensible$1 = Object.isExtensible || function () { - return true; -}; - var setMetadata = function (it) { defineProperty$9(it, METADATA, { value: { objectID: 'O' + id$1++, // object ID @@ -4191,8 +4556,8 @@ var setMetadata = function (it) { var fastKey$1 = function (it, create) { // return a primitive with prefix - if (!isObject$n(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; - if (!hasOwn$b(it, METADATA)) { + if (!isObject$m(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it; + if (!hasOwn$c(it, METADATA)) { // can't set metadata to uncaught frozen object if (!isExtensible$1(it)) return 'F'; // not necessary to add metadata @@ -4204,7 +4569,7 @@ var fastKey$1 = function (it, create) { }; var getWeakData$1 = function (it, create) { - if (!hasOwn$b(it, METADATA)) { + if (!hasOwn$c(it, METADATA)) { // can't set metadata to uncaught frozen object if (!isExtensible$1(it)) return true; // not necessary to add metadata @@ -4217,7 +4582,7 @@ var getWeakData$1 = function (it, create) { // add metadata on freeze-family methods calling var onFreeze$3 = function (it) { - if (FREEZING$4 && REQUIRED && isExtensible$1(it) && !hasOwn$b(it, METADATA)) setMetadata(it); + if (FREEZING$4 && REQUIRED && isExtensible$1(it) && !hasOwn$c(it, METADATA)) setMetadata(it); return it; }; @@ -4225,7 +4590,7 @@ var enable = function () { meta.enable = function () { /* empty */ }; REQUIRED = true; var getOwnPropertyNames = getOwnPropertyNamesModule.f; - var splice = [].splice; + var splice = uncurryThis$M([].splice); var test = {}; test[METADATA] = 1; @@ -4235,7 +4600,7 @@ var enable = function () { var result = getOwnPropertyNames(it); for (var i = 0, length = result.length; i < length; i++) { if (result[i] === METADATA) { - splice.call(result, i, 1); + splice(result, i, 1); break; } } return result; @@ -4257,7 +4622,7 @@ var meta = internalMetadata.exports = { hiddenKeys[METADATA] = true; var isCallable$f = isCallable$z; -var isObject$m = isObject$C; +var isObject$l = isObject$B; var setPrototypeOf$3 = objectSetPrototypeOf$1; // makes subclassing work correct for wrapped built-ins @@ -4269,22 +4634,23 @@ var inheritIfRequired$4 = function ($this, dummy, Wrapper) { // we haven't completely correct pre-ES6 way for getting `new.target`, so use this isCallable$f(NewTarget = dummy.constructor) && NewTarget !== Wrapper && - isObject$m(NewTargetPrototype = NewTarget.prototype) && + isObject$l(NewTargetPrototype = NewTarget.prototype) && NewTargetPrototype !== Wrapper.prototype ) setPrototypeOf$3($this, NewTargetPrototype); return $this; }; var $$3B = _export; -var global$x = global$R; +var global$_ = global$1S; +var uncurryThis$L = functionUncurryThis; var isForced$3 = isForced_1; var redefine$c = redefine$l.exports; var InternalMetadataModule$1 = internalMetadata.exports; -var iterate$G = iterate$I; +var iterate$F = iterate$H; var anInstance$9 = anInstance$b; var isCallable$e = isCallable$z; -var isObject$l = isObject$C; -var fails$L = fails$15; +var isObject$k = isObject$B; +var fails$K = fails$17; var checkCorrectnessOfIteration$2 = checkCorrectnessOfIteration$4; var setToStringTag$5 = setToStringTag$b; var inheritIfRequired$3 = inheritIfRequired$4; @@ -4293,25 +4659,25 @@ var collection$4 = 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$x[CONSTRUCTOR_NAME]; + var NativeConstructor = global$_[CONSTRUCTOR_NAME]; var NativePrototype = NativeConstructor && NativeConstructor.prototype; var Constructor = NativeConstructor; var exported = {}; var fixMethod = function (KEY) { - var nativeMethod = NativePrototype[KEY]; + var uncurriedNativeMethod = uncurryThis$L(NativePrototype[KEY]); redefine$c(NativePrototype, KEY, KEY == 'add' ? function add(value) { - nativeMethod.call(this, value === 0 ? 0 : value); + uncurriedNativeMethod(this, value === 0 ? 0 : value); return this; } : KEY == 'delete' ? function (key) { - return IS_WEAK && !isObject$l(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key); + return IS_WEAK && !isObject$k(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); } : KEY == 'get' ? function get(key) { - return IS_WEAK && !isObject$l(key) ? undefined : nativeMethod.call(this, key === 0 ? 0 : key); + return IS_WEAK && !isObject$k(key) ? undefined : uncurriedNativeMethod(this, key === 0 ? 0 : key); } : KEY == 'has' ? function has(key) { - return IS_WEAK && !isObject$l(key) ? false : nativeMethod.call(this, key === 0 ? 0 : key); + return IS_WEAK && !isObject$k(key) ? false : uncurriedNativeMethod(this, key === 0 ? 0 : key); } : function set(key, value) { - nativeMethod.call(this, key === 0 ? 0 : key, value); + uncurriedNativeMethod(this, key === 0 ? 0 : key, value); return this; } ); @@ -4319,7 +4685,7 @@ var collection$4 = function (CONSTRUCTOR_NAME, wrapper, common) { var REPLACE = isForced$3( CONSTRUCTOR_NAME, - !isCallable$e(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails$L(function () { + !isCallable$e(NativeConstructor) || !(IS_WEAK || NativePrototype.forEach && !fails$K(function () { new NativeConstructor().entries().next(); })) ); @@ -4333,12 +4699,12 @@ var collection$4 = function (CONSTRUCTOR_NAME, wrapper, common) { // 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$L(function () { instance.has(1); }); + var THROWS_ON_PRIMITIVES = fails$K(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$2(function (iterable) { new NativeConstructor(iterable); }); // for early implementations -0 and +0 not the same - var BUGGY_ZERO = !IS_WEAK && fails$L(function () { + var BUGGY_ZERO = !IS_WEAK && fails$K(function () { // V8 ~ Chromium 42- fails only with 5+ elements var $instance = new NativeConstructor(); var index = 5; @@ -4348,9 +4714,9 @@ var collection$4 = function (CONSTRUCTOR_NAME, wrapper, common) { if (!ACCEPT_ITERABLES) { Constructor = wrapper(function (dummy, iterable) { - anInstance$9(dummy, Constructor, CONSTRUCTOR_NAME); + anInstance$9(dummy, NativePrototype); var that = inheritIfRequired$3(new NativeConstructor(), dummy, Constructor); - if (iterable != undefined) iterate$G(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + if (iterable != undefined) iterate$F(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); return that; }); Constructor.prototype = NativePrototype; @@ -4382,9 +4748,9 @@ var collection$4 = function (CONSTRUCTOR_NAME, wrapper, common) { var defineProperty$8 = objectDefineProperty.f; var create$a = objectCreate$1; var redefineAll$8 = redefineAll$a; -var bind$l = functionBindContext; +var bind$n = functionBindContext; var anInstance$8 = anInstance$b; -var iterate$F = iterate$I; +var iterate$E = iterate$H; var defineIterator$1 = defineIterator$3; var setSpecies$4 = setSpecies$7; var DESCRIPTORS$o = descriptors; @@ -4396,8 +4762,8 @@ var internalStateGetterFor$1 = InternalStateModule$f.getterFor; var collectionStrong$2 = { getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance$8(that, C, CONSTRUCTOR_NAME); + var Constructor = wrapper(function (that, iterable) { + anInstance$8(that, Prototype); setInternalState$f(that, { type: CONSTRUCTOR_NAME, index: create$a(null), @@ -4406,9 +4772,11 @@ var collectionStrong$2 = { size: 0 }); if (!DESCRIPTORS$o) that.size = 0; - if (iterable != undefined) iterate$F(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + if (iterable != undefined) iterate$E(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); }); + var Prototype = Constructor.prototype; + var getInternalState = internalStateGetterFor$1(CONSTRUCTOR_NAME); var define = function (that, key, value) { @@ -4449,7 +4817,7 @@ var collectionStrong$2 = { } }; - redefineAll$8(C.prototype, { + redefineAll$8(Prototype, { // `{ Map, Set }.prototype.clear()` methods // https://tc39.es/ecma262/#sec-map.prototype.clear // https://tc39.es/ecma262/#sec-set.prototype.clear @@ -4493,7 +4861,7 @@ var collectionStrong$2 = { // https://tc39.es/ecma262/#sec-set.prototype.foreach forEach: function forEach(callbackfn /* , that = undefined */) { var state = getInternalState(this); - var boundFunction = bind$l(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = bind$n(callbackfn, arguments.length > 1 ? arguments[1] : undefined); var entry; while (entry = entry ? entry.next : state.first) { boundFunction(entry.value, entry.key, this); @@ -4509,7 +4877,7 @@ var collectionStrong$2 = { } }); - redefineAll$8(C.prototype, IS_MAP ? { + redefineAll$8(Prototype, IS_MAP ? { // `Map.prototype.get(key)` method // https://tc39.es/ecma262/#sec-map.prototype.get get: function get(key) { @@ -4528,14 +4896,14 @@ var collectionStrong$2 = { return define(this, value = value === 0 ? 0 : value, value); } }); - if (DESCRIPTORS$o) defineProperty$8(C.prototype, 'size', { + if (DESCRIPTORS$o) defineProperty$8(Prototype, 'size', { get: function () { return getInternalState(this).size; } }); - return C; + return Constructor; }, - setStrong: function (C, CONSTRUCTOR_NAME, IS_MAP) { + setStrong: function (Constructor, CONSTRUCTOR_NAME, IS_MAP) { var ITERATOR_NAME = CONSTRUCTOR_NAME + ' Iterator'; var getInternalCollectionState = internalStateGetterFor$1(CONSTRUCTOR_NAME); var getInternalIteratorState = internalStateGetterFor$1(ITERATOR_NAME); @@ -4548,7 +4916,7 @@ var collectionStrong$2 = { // 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$1(C, CONSTRUCTOR_NAME, function (iterated, kind) { + defineIterator$1(Constructor, CONSTRUCTOR_NAME, function (iterated, kind) { setInternalState$f(this, { type: ITERATOR_NAME, target: iterated, @@ -4586,7 +4954,7 @@ var collectionStrong$1 = collectionStrong$2; // `Map` constructor // https://tc39.es/ecma262/#sec-map-objects -var es_map = collection$3('Map', function (init) { +collection$3('Map', function (init) { return function Map() { return init(this, arguments.length ? arguments[0] : undefined); }; }, collectionStrong$1); @@ -4805,12 +5173,12 @@ $$3s({ target: 'Math', stat: true, forced: BUGGY }, { }); var $$3r = _export; -var fails$K = fails$15; +var fails$J = fails$17; // eslint-disable-next-line es/no-math-imul -- required for testing var $imul = Math.imul; -var FORCED$n = fails$K(function () { +var FORCED$n = fails$J(function () { return $imul(0xFFFFFFFF, 5) != -5 || $imul.length != 2; }); @@ -4871,14 +5239,14 @@ $$3n({ target: 'Math', stat: true }, { }); var $$3m = _export; -var fails$J = fails$15; +var fails$I = fails$17; var expm1$1 = mathExpm1; var abs$1 = Math.abs; var exp$1 = Math.exp; var E = Math.E; -var FORCED$m = fails$J(function () { +var FORCED$m = fails$I(function () { // eslint-disable-next-line es/no-math-sinh -- required for testing return Math.sinh(-2e-17) != -2e-17; }); @@ -4926,22 +5294,22 @@ $$3k({ target: 'Math', stat: true }, { } }); -var valueOf = 1.0.valueOf; +var uncurryThis$K = functionUncurryThis; // `thisNumberValue` abstract operation // https://tc39.es/ecma262/#sec-thisnumbervalue -var thisNumberValue$3 = function (value) { - return valueOf.call(value); -}; +var thisNumberValue$3 = uncurryThis$K(1.0.valueOf); // a string of all valid unicode whitespaces var whitespaces$4 = '\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'; +var uncurryThis$J = functionUncurryThis; var requireObjectCoercible$e = requireObjectCoercible$j; -var toString$m = toString$t; +var toString$n = toString$u; var whitespaces$3 = whitespaces$4; +var replace$7 = uncurryThis$J(''.replace); var whitespace = '[' + whitespaces$3 + ']'; var ltrim = RegExp('^' + whitespace + whitespace + '*'); var rtrim = RegExp(whitespace + whitespace + '*$'); @@ -4949,9 +5317,9 @@ var rtrim = RegExp(whitespace + whitespace + '*$'); // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation var createMethod$4 = function (TYPE) { return function ($this) { - var string = toString$m(requireObjectCoercible$e($this)); - if (TYPE & 1) string = string.replace(ltrim, ''); - if (TYPE & 2) string = string.replace(rtrim, ''); + var string = toString$n(requireObjectCoercible$e($this)); + if (TYPE & 1) string = replace$7(string, ltrim, ''); + if (TYPE & 2) string = replace$7(string, rtrim, ''); return string; }; }; @@ -4969,14 +5337,16 @@ var stringTrim = { }; var DESCRIPTORS$n = descriptors; -var global$w = global$R; +var global$Z = global$1S; +var uncurryThis$I = functionUncurryThis; var isForced$2 = isForced_1; var redefine$b = redefine$l.exports; -var hasOwn$a = hasOwnProperty_1; +var hasOwn$b = hasOwnProperty_1; var inheritIfRequired$2 = inheritIfRequired$4; +var isPrototypeOf$6 = objectIsPrototypeOf; var isSymbol$1 = isSymbol$5; var toPrimitive = toPrimitive$3; -var fails$I = fails$15; +var fails$H = fails$17; var getOwnPropertyNames$3 = objectGetOwnPropertyNames.f; var getOwnPropertyDescriptor$6 = objectGetOwnPropertyDescriptor.f; var defineProperty$7 = objectDefineProperty.f; @@ -4984,14 +5354,17 @@ var thisNumberValue$2 = thisNumberValue$3; var trim$2 = stringTrim.trim; var NUMBER = 'Number'; -var NativeNumber = global$w[NUMBER]; +var NativeNumber = global$Z[NUMBER]; var NumberPrototype = NativeNumber.prototype; +var TypeError$m = global$Z.TypeError; +var arraySlice$7 = uncurryThis$I(''.slice); +var charCodeAt$2 = uncurryThis$I(''.charCodeAt); // `ToNumeric` abstract operation // https://tc39.es/ecma262/#sec-tonumeric var toNumeric = function (value) { var primValue = toPrimitive(value, 'number'); - return typeof primValue === 'bigint' ? primValue : toNumber(primValue); + return typeof primValue == 'bigint' ? primValue : toNumber(primValue); }; // `ToNumber` abstract operation @@ -4999,23 +5372,23 @@ var toNumeric = function (value) { var toNumber = function (argument) { var it = toPrimitive(argument, 'number'); var first, third, radix, maxCode, digits, length, index, code; - if (isSymbol$1(it)) throw TypeError('Cannot convert a Symbol value to a number'); + if (isSymbol$1(it)) throw TypeError$m('Cannot convert a Symbol value to a number'); if (typeof it == 'string' && it.length > 2) { it = trim$2(it); - first = it.charCodeAt(0); + first = charCodeAt$2(it, 0); if (first === 43 || first === 45) { - third = it.charCodeAt(2); + third = charCodeAt$2(it, 2); if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix } else if (first === 48) { - switch (it.charCodeAt(1)) { + switch (charCodeAt$2(it, 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); + digits = arraySlice$7(it, 2); length = digits.length; for (index = 0; index < length; index++) { - code = digits.charCodeAt(index); + code = charCodeAt$2(digits, index); // 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; @@ -5031,7 +5404,7 @@ if (isForced$2(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNu var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value)); var dummy = this; // check on 1..constructor(foo) case - return dummy instanceof NumberWrapper && fails$I(function () { thisNumberValue$2(dummy); }) + return isPrototypeOf$6(NumberPrototype, dummy) && fails$H(function () { thisNumberValue$2(dummy); }) ? inheritIfRequired$2(Object(n), dummy, NumberWrapper) : n; }; for (var keys$1 = DESCRIPTORS$n ? getOwnPropertyNames$3(NativeNumber) : ( @@ -5042,13 +5415,13 @@ if (isForced$2(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNu // ESNext 'fromString,range' ).split(','), j = 0, key; keys$1.length > j; j++) { - if (hasOwn$a(NativeNumber, key = keys$1[j]) && !hasOwn$a(NumberWrapper, key)) { + if (hasOwn$b(NativeNumber, key = keys$1[j]) && !hasOwn$b(NumberWrapper, key)) { defineProperty$7(NumberWrapper, key, getOwnPropertyDescriptor$6(NativeNumber, key)); } } NumberWrapper.prototype = NumberPrototype; NumberPrototype.constructor = NumberWrapper; - redefine$b(global$w, NUMBER, NumberWrapper); + redefine$b(global$Z, NUMBER, NumberWrapper); } var $$3j = _export; @@ -5059,9 +5432,9 @@ $$3j({ target: 'Number', stat: true }, { EPSILON: Math.pow(2, -52) }); -var global$v = global$R; +var global$Y = global$1S; -var globalIsFinite = global$v.isFinite; +var globalIsFinite = global$Y.isFinite; // `Number.isFinite` method // https://tc39.es/ecma262/#sec-number.isfinite @@ -5077,7 +5450,7 @@ var numberIsFinite$1 = numberIsFinite$2; // https://tc39.es/ecma262/#sec-number.isfinite $$3i({ target: 'Number', stat: true }, { isFinite: numberIsFinite$1 }); -var isObject$k = isObject$C; +var isObject$j = isObject$B; var floor$5 = Math.floor; @@ -5085,7 +5458,7 @@ var floor$5 = Math.floor; // https://tc39.es/ecma262/#sec-isintegralnumber // eslint-disable-next-line es/no-number-isinteger -- safe var isIntegralNumber$3 = Number.isInteger || function isInteger(it) { - return !isObject$k(it) && isFinite(it) && floor$5(it) === it; + return !isObject$j(it) && isFinite(it) && floor$5(it) === it; }; var $$3h = _export; @@ -5137,26 +5510,28 @@ $$3d({ target: 'Number', stat: true }, { MIN_SAFE_INTEGER: -0x1FFFFFFFFFFFFF }); -var global$u = global$R; -var fails$H = fails$15; -var toString$l = toString$t; +var global$X = global$1S; +var fails$G = fails$17; +var uncurryThis$H = functionUncurryThis; +var toString$m = toString$u; var trim$1 = stringTrim.trim; var whitespaces$2 = whitespaces$4; -var $parseFloat$1 = global$u.parseFloat; -var Symbol$2 = global$u.Symbol; +var charAt$d = uncurryThis$H(''.charAt); +var n$ParseFloat = global$X.parseFloat; +var Symbol$2 = global$X.Symbol; var ITERATOR$5 = Symbol$2 && Symbol$2.iterator; -var FORCED$l = 1 / $parseFloat$1(whitespaces$2 + '-0') !== -Infinity +var FORCED$l = 1 / n$ParseFloat(whitespaces$2 + '-0') !== -Infinity // MS Edge 18- broken with boxed symbols - || (ITERATOR$5 && !fails$H(function () { $parseFloat$1(Object(ITERATOR$5)); })); + || (ITERATOR$5 && !fails$G(function () { n$ParseFloat(Object(ITERATOR$5)); })); // `parseFloat` method // https://tc39.es/ecma262/#sec-parsefloat-string var numberParseFloat = FORCED$l ? function parseFloat(string) { - var trimmedString = trim$1(toString$l(string)); - var result = $parseFloat$1(trimmedString); - return result === 0 && trimmedString.charAt(0) == '-' ? -0 : result; -} : $parseFloat$1; + var trimmedString = trim$1(toString$m(string)); + var result = n$ParseFloat(trimmedString); + return result === 0 && charAt$d(trimmedString, 0) == '-' ? -0 : result; +} : n$ParseFloat; var $$3c = _export; var parseFloat$1 = numberParseFloat; @@ -5168,45 +5543,53 @@ $$3c({ target: 'Number', stat: true, forced: Number.parseFloat != parseFloat$1 } parseFloat: parseFloat$1 }); -var global$t = global$R; -var fails$G = fails$15; -var toString$k = toString$t; +var global$W = global$1S; +var fails$F = fails$17; +var uncurryThis$G = functionUncurryThis; +var toString$l = toString$u; var trim = stringTrim.trim; var whitespaces$1 = whitespaces$4; -var $parseInt$1 = global$t.parseInt; -var Symbol$1 = global$t.Symbol; +var $parseInt$1 = global$W.parseInt; +var Symbol$1 = global$W.Symbol; var ITERATOR$4 = Symbol$1 && Symbol$1.iterator; var hex = /^[+-]?0x/i; +var exec$7 = uncurryThis$G(hex.exec); var FORCED$k = $parseInt$1(whitespaces$1 + '08') !== 8 || $parseInt$1(whitespaces$1 + '0x16') !== 22 // MS Edge 18- broken with boxed symbols - || (ITERATOR$4 && !fails$G(function () { $parseInt$1(Object(ITERATOR$4)); })); + || (ITERATOR$4 && !fails$F(function () { $parseInt$1(Object(ITERATOR$4)); })); // `parseInt` method // https://tc39.es/ecma262/#sec-parseint-string-radix var numberParseInt = FORCED$k ? function parseInt(string, radix) { - var S = trim(toString$k(string)); - return $parseInt$1(S, (radix >>> 0) || (hex.test(S) ? 16 : 10)); + var S = trim(toString$l(string)); + return $parseInt$1(S, (radix >>> 0) || (exec$7(hex, S) ? 16 : 10)); } : $parseInt$1; var $$3b = _export; -var parseInt$2 = numberParseInt; +var parseInt$3 = numberParseInt; // `Number.parseInt` method // https://tc39.es/ecma262/#sec-number.parseint // eslint-disable-next-line es/no-number-parseint -- required for testing -$$3b({ target: 'Number', stat: true, forced: Number.parseInt != parseInt$2 }, { - parseInt: parseInt$2 +$$3b({ target: 'Number', stat: true, forced: Number.parseInt != parseInt$3 }, { + parseInt: parseInt$3 }); var $$3a = _export; +var global$V = global$1S; +var uncurryThis$F = functionUncurryThis; var toIntegerOrInfinity$7 = toIntegerOrInfinity$i; var thisNumberValue$1 = thisNumberValue$3; -var repeat$1 = stringRepeat; -var fails$F = fails$15; +var $repeat = stringRepeat; +var fails$E = fails$17; -var nativeToFixed = 1.0.toFixed; +var RangeError$8 = global$V.RangeError; +var String$2 = global$V.String; var floor$4 = Math.floor; +var repeat$1 = uncurryThis$F($repeat); +var stringSlice$d = uncurryThis$F(''.slice); +var un$ToFixed = uncurryThis$F(1.0.toFixed); var pow$1 = function (x, n, acc) { return n === 0 ? acc : n % 2 === 1 ? pow$1(x, n - 1, acc * x) : pow$1(x * x, n / 2, acc); @@ -5250,20 +5633,20 @@ var dataToString = function (data) { var s = ''; while (--index >= 0) { if (s !== '' || index === 0 || data[index] !== 0) { - var t = String(data[index]); - s = s === '' ? t : s + repeat$1.call('0', 7 - t.length) + t; + var t = String$2(data[index]); + s = s === '' ? t : s + repeat$1('0', 7 - t.length) + t; } } return s; }; -var FORCED$j = nativeToFixed && ( - 0.00008.toFixed(3) !== '0.000' || - 0.9.toFixed(0) !== '1' || - 1.255.toFixed(2) !== '1.25' || - 1000000000000000128.0.toFixed(0) !== '1000000000000000128' -) || !fails$F(function () { +var FORCED$j = fails$E(function () { + return un$ToFixed(0.00008, 3) !== '0.000' || + un$ToFixed(0.9, 0) !== '1' || + un$ToFixed(1.255, 2) !== '1.25' || + un$ToFixed(1000000000000000128.0, 0) !== '1000000000000000128'; +}) || !fails$E(function () { // V8 ~ Android 4.3- - nativeToFixed.call({}); + un$ToFixed({}); }); // `Number.prototype.toFixed` method @@ -5277,10 +5660,10 @@ $$3a({ target: 'Number', proto: true, forced: FORCED$j }, { var result = '0'; var e, z, j, k; - if (fractDigits < 0 || fractDigits > 20) throw RangeError('Incorrect fraction digits'); + if (fractDigits < 0 || fractDigits > 20) throw RangeError$8('Incorrect fraction digits'); // eslint-disable-next-line no-self-compare -- NaN check if (number != number) return 'NaN'; - if (number <= -1e21 || number >= 1e21) return String(number); + if (number <= -1e21 || number >= 1e21) return String$2(number); if (number < 0) { sign = '-'; number = -number; @@ -5310,14 +5693,14 @@ $$3a({ target: 'Number', proto: true, forced: FORCED$j }, { } else { multiply(data, 0, z); multiply(data, 1 << -e, 0); - result = dataToString(data) + repeat$1.call('0', fractDigits); + result = dataToString(data) + repeat$1('0', fractDigits); } } if (fractDigits > 0) { k = result.length; result = sign + (k <= fractDigits - ? '0.' + repeat$1.call('0', fractDigits - k) + result - : result.slice(0, k - fractDigits) + '.' + result.slice(k - fractDigits)); + ? '0.' + repeat$1('0', fractDigits - k) + result + : stringSlice$d(result, 0, k - fractDigits) + '.' + stringSlice$d(result, k - fractDigits)); } else { result = sign + result; } return result; @@ -5325,17 +5708,18 @@ $$3a({ target: 'Number', proto: true, forced: FORCED$j }, { }); var $$39 = _export; -var fails$E = fails$15; +var uncurryThis$E = functionUncurryThis; +var fails$D = fails$17; var thisNumberValue = thisNumberValue$3; -var nativeToPrecision = 1.0.toPrecision; +var un$ToPrecision = uncurryThis$E(1.0.toPrecision); -var FORCED$i = fails$E(function () { +var FORCED$i = fails$D(function () { // IE7- - return nativeToPrecision.call(1, undefined) !== '1'; -}) || !fails$E(function () { + return un$ToPrecision(1, undefined) !== '1'; +}) || !fails$D(function () { // V8 ~ Android 4.3- - nativeToPrecision.call({}); + un$ToPrecision({}); }); // `Number.prototype.toPrecision` method @@ -5343,13 +5727,15 @@ var FORCED$i = fails$E(function () { $$39({ target: 'Number', proto: true, forced: FORCED$i }, { toPrecision: function toPrecision(precision) { return precision === undefined - ? nativeToPrecision.call(thisNumberValue(this)) - : nativeToPrecision.call(thisNumberValue(this), precision); + ? un$ToPrecision(thisNumberValue(this)) + : un$ToPrecision(thisNumberValue(this), precision); } }); var DESCRIPTORS$m = descriptors; -var fails$D = fails$15; +var uncurryThis$D = functionUncurryThis; +var call$O = functionCall; +var fails$C = fails$17; var objectKeys$2 = objectKeys$5; var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols; var propertyIsEnumerableModule = objectPropertyIsEnumerable; @@ -5360,10 +5746,11 @@ var IndexedObject$2 = indexedObject; var $assign = Object.assign; // eslint-disable-next-line es/no-object-defineproperty -- required for testing var defineProperty$6 = Object.defineProperty; +var concat$2 = uncurryThis$D([].concat); // `Object.assign` method // https://tc39.es/ecma262/#sec-object.assign -var objectAssign = !$assign || fails$D(function () { +var objectAssign = !$assign || fails$C(function () { // should have correct order of operations (Edge bug) if (DESCRIPTORS$m && $assign({ b: 1 }, $assign(defineProperty$6({}, 'a', { enumerable: true, @@ -5391,13 +5778,13 @@ var objectAssign = !$assign || fails$D(function () { var propertyIsEnumerable = propertyIsEnumerableModule.f; while (argumentsLength > index) { var S = IndexedObject$2(arguments[index++]); - var keys = getOwnPropertySymbols ? objectKeys$2(S).concat(getOwnPropertySymbols(S)) : objectKeys$2(S); + var keys = getOwnPropertySymbols ? concat$2(objectKeys$2(S), getOwnPropertySymbols(S)) : objectKeys$2(S); var length = keys.length; var j = 0; var key; while (length > j) { key = keys[j++]; - if (!DESCRIPTORS$m || propertyIsEnumerable.call(S, key)) T[key] = S[key]; + if (!DESCRIPTORS$m || call$O(propertyIsEnumerable, S, key)) T[key] = S[key]; } } return T; } : $assign; @@ -5422,12 +5809,12 @@ $$37({ target: 'Object', stat: true, sham: !DESCRIPTORS$l }, { create: create$9 }); -var global$s = global$R; -var fails$C = fails$15; +var global$U = global$1S; +var fails$B = fails$17; var WEBKIT$1 = engineWebkitVersion; // Forced replacement object prototype accessors methods -var objectPrototypeAccessorsForced = !fails$C(function () { +var objectPrototypeAccessorsForced = !fails$B(function () { // This feature detection crashes old WebKit // https://github.com/zloirock/core-js/issues/232 if (WEBKIT$1 && WEBKIT$1 < 535) return; @@ -5435,13 +5822,13 @@ var objectPrototypeAccessorsForced = !fails$C(function () { // In FF throws only define methods // eslint-disable-next-line no-undef, no-useless-call -- required for testing __defineSetter__.call(null, key, function () { /* empty */ }); - delete global$s[key]; + delete global$U[key]; }); var $$36 = _export; var DESCRIPTORS$k = descriptors; var FORCED$h = objectPrototypeAccessorsForced; -var aCallable$I = aCallable$Q; +var aCallable$K = aCallable$S; var toObject$i = toObject$z; var definePropertyModule$4 = objectDefineProperty; @@ -5450,7 +5837,7 @@ var definePropertyModule$4 = objectDefineProperty; if (DESCRIPTORS$k) { $$36({ target: 'Object', proto: true, forced: FORCED$h }, { __defineGetter__: function __defineGetter__(P, getter) { - definePropertyModule$4.f(toObject$i(this), P, { get: aCallable$I(getter), enumerable: true, configurable: true }); + definePropertyModule$4.f(toObject$i(this), P, { get: aCallable$K(getter), enumerable: true, configurable: true }); } }); } @@ -5478,7 +5865,7 @@ $$34({ target: 'Object', stat: true, forced: !DESCRIPTORS$i, sham: !DESCRIPTORS$ var $$33 = _export; var DESCRIPTORS$h = descriptors; var FORCED$g = objectPrototypeAccessorsForced; -var aCallable$H = aCallable$Q; +var aCallable$J = aCallable$S; var toObject$h = toObject$z; var definePropertyModule$3 = objectDefineProperty; @@ -5487,15 +5874,19 @@ var definePropertyModule$3 = objectDefineProperty; if (DESCRIPTORS$h) { $$33({ target: 'Object', proto: true, forced: FORCED$g }, { __defineSetter__: function __defineSetter__(P, setter) { - definePropertyModule$3.f(toObject$h(this), P, { set: aCallable$H(setter), enumerable: true, configurable: true }); + definePropertyModule$3.f(toObject$h(this), P, { set: aCallable$J(setter), enumerable: true, configurable: true }); } }); } var DESCRIPTORS$g = descriptors; +var uncurryThis$C = functionUncurryThis; var objectKeys$1 = objectKeys$5; -var toIndexedObject$3 = toIndexedObject$d; -var propertyIsEnumerable = objectPropertyIsEnumerable.f; +var toIndexedObject$3 = toIndexedObject$e; +var $propertyIsEnumerable = objectPropertyIsEnumerable.f; + +var propertyIsEnumerable = uncurryThis$C($propertyIsEnumerable); +var push$e = uncurryThis$C([].push); // `Object.{ entries, values }` methods implementation var createMethod$3 = function (TO_ENTRIES) { @@ -5508,8 +5899,8 @@ var createMethod$3 = function (TO_ENTRIES) { var key; while (length > i) { key = keys[i++]; - if (!DESCRIPTORS$g || propertyIsEnumerable.call(O, key)) { - result.push(TO_ENTRIES ? [key, O[key]] : O[key]); + if (!DESCRIPTORS$g || propertyIsEnumerable(O, key)) { + push$e(result, TO_ENTRIES ? [key, O[key]] : O[key]); } } return result; @@ -5538,32 +5929,32 @@ $$32({ target: 'Object', stat: true }, { var $$31 = _export; var FREEZING$3 = freezing; -var fails$B = fails$15; -var isObject$j = isObject$C; +var fails$A = fails$17; +var isObject$i = isObject$B; var onFreeze$2 = internalMetadata.exports.onFreeze; // eslint-disable-next-line es/no-object-freeze -- safe var $freeze = Object.freeze; -var FAILS_ON_PRIMITIVES$9 = fails$B(function () { $freeze(1); }); +var FAILS_ON_PRIMITIVES$8 = fails$A(function () { $freeze(1); }); // `Object.freeze` method // https://tc39.es/ecma262/#sec-object.freeze -$$31({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$9, sham: !FREEZING$3 }, { +$$31({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$8, sham: !FREEZING$3 }, { freeze: function freeze(it) { - return $freeze && isObject$j(it) ? $freeze(onFreeze$2(it)) : it; + return $freeze && isObject$i(it) ? $freeze(onFreeze$2(it)) : it; } }); var $$30 = _export; -var iterate$E = iterate$I; -var createProperty$1 = createProperty$7; +var iterate$D = iterate$H; +var createProperty$1 = createProperty$8; // `Object.fromEntries` method // https://github.com/tc39/proposal-object-from-entries $$30({ target: 'Object', stat: true }, { fromEntries: function fromEntries(iterable) { var obj = {}; - iterate$E(iterable, function (k, v) { + iterate$D(iterable, function (k, v) { createProperty$1(obj, k, v); }, { AS_ENTRIES: true }); return obj; @@ -5571,13 +5962,13 @@ $$30({ target: 'Object', stat: true }, { }); var $$2$ = _export; -var fails$A = fails$15; -var toIndexedObject$2 = toIndexedObject$d; +var fails$z = fails$17; +var toIndexedObject$2 = toIndexedObject$e; var nativeGetOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f; var DESCRIPTORS$f = descriptors; -var FAILS_ON_PRIMITIVES$8 = fails$A(function () { nativeGetOwnPropertyDescriptor$1(1); }); -var FORCED$f = !DESCRIPTORS$f || FAILS_ON_PRIMITIVES$8; +var FAILS_ON_PRIMITIVES$7 = fails$z(function () { nativeGetOwnPropertyDescriptor$1(1); }); +var FORCED$f = !DESCRIPTORS$f || FAILS_ON_PRIMITIVES$7; // `Object.getOwnPropertyDescriptor` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor @@ -5590,9 +5981,9 @@ $$2$({ target: 'Object', stat: true, forced: FORCED$f, sham: !DESCRIPTORS$f }, { var $$2_ = _export; var DESCRIPTORS$e = descriptors; var ownKeys$1 = ownKeys$3; -var toIndexedObject$1 = toIndexedObject$d; +var toIndexedObject$1 = toIndexedObject$e; var getOwnPropertyDescriptorModule$4 = objectGetOwnPropertyDescriptor; -var createProperty = createProperty$7; +var createProperty = createProperty$8; // `Object.getOwnPropertyDescriptors` method // https://tc39.es/ecma262/#sec-object.getownpropertydescriptors @@ -5613,41 +6004,41 @@ $$2_({ target: 'Object', stat: true, sham: !DESCRIPTORS$e }, { }); var $$2Z = _export; -var fails$z = fails$15; +var fails$y = fails$17; var getOwnPropertyNames$2 = objectGetOwnPropertyNamesExternal.f; // eslint-disable-next-line es/no-object-getownpropertynames -- required for testing -var FAILS_ON_PRIMITIVES$7 = fails$z(function () { return !Object.getOwnPropertyNames(1); }); +var FAILS_ON_PRIMITIVES$6 = fails$y(function () { return !Object.getOwnPropertyNames(1); }); // `Object.getOwnPropertyNames` method // https://tc39.es/ecma262/#sec-object.getownpropertynames -$$2Z({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$7 }, { +$$2Z({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$6 }, { getOwnPropertyNames: getOwnPropertyNames$2 }); var $$2Y = _export; -var fails$y = fails$15; +var fails$x = fails$17; var toObject$g = toObject$z; var nativeGetPrototypeOf = objectGetPrototypeOf$1; var CORRECT_PROTOTYPE_GETTER$1 = correctPrototypeGetter; -var FAILS_ON_PRIMITIVES$6 = fails$y(function () { nativeGetPrototypeOf(1); }); +var FAILS_ON_PRIMITIVES$5 = fails$x(function () { nativeGetPrototypeOf(1); }); // `Object.getPrototypeOf` method // https://tc39.es/ecma262/#sec-object.getprototypeof -$$2Y({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$6, sham: !CORRECT_PROTOTYPE_GETTER$1 }, { +$$2Y({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$5, sham: !CORRECT_PROTOTYPE_GETTER$1 }, { getPrototypeOf: function getPrototypeOf(it) { return nativeGetPrototypeOf(toObject$g(it)); } }); var $$2X = _export; -var hasOwn$9 = hasOwnProperty_1; +var hasOwn$a = hasOwnProperty_1; // `Object.hasOwn` method // https://github.com/tc39/proposal-accessible-object-hasownproperty $$2X({ target: 'Object', stat: true }, { - hasOwn: hasOwn$9 + hasOwn: hasOwn$a }); // `SameValue` abstract operation @@ -5668,24 +6059,20 @@ $$2W({ target: 'Object', stat: true }, { }); var $$2V = _export; -var fails$x = fails$15; -var isObject$i = isObject$C; - -// eslint-disable-next-line es/no-object-isextensible -- safe -var $isExtensible = Object.isExtensible; -var FAILS_ON_PRIMITIVES$5 = fails$x(function () { $isExtensible(1); }); +var $isExtensible$1 = objectIsExtensible; // `Object.isExtensible` method // https://tc39.es/ecma262/#sec-object.isextensible -$$2V({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$5 }, { - isExtensible: function isExtensible(it) { - return isObject$i(it) ? $isExtensible ? $isExtensible(it) : true : false; - } +// eslint-disable-next-line es/no-object-isextensible -- safe +$$2V({ target: 'Object', stat: true, forced: Object.isExtensible !== $isExtensible$1 }, { + isExtensible: $isExtensible$1 }); var $$2U = _export; -var fails$w = fails$15; -var isObject$h = isObject$C; +var fails$w = fails$17; +var isObject$h = isObject$B; +var classof$9 = classofRaw$1; +var ARRAY_BUFFER_NON_EXTENSIBLE$1 = arrayBufferNonExtensible; // eslint-disable-next-line es/no-object-isfrozen -- safe var $isFrozen = Object.isFrozen; @@ -5693,15 +6080,19 @@ var FAILS_ON_PRIMITIVES$4 = fails$w(function () { $isFrozen(1); }); // `Object.isFrozen` method // https://tc39.es/ecma262/#sec-object.isfrozen -$$2U({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$4 }, { +$$2U({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$4 || ARRAY_BUFFER_NON_EXTENSIBLE$1 }, { isFrozen: function isFrozen(it) { - return isObject$h(it) ? $isFrozen ? $isFrozen(it) : false : true; + if (!isObject$h(it)) return true; + if (ARRAY_BUFFER_NON_EXTENSIBLE$1 && classof$9(it) == 'ArrayBuffer') return true; + return $isFrozen ? $isFrozen(it) : false; } }); var $$2T = _export; -var fails$v = fails$15; -var isObject$g = isObject$C; +var fails$v = fails$17; +var isObject$g = isObject$B; +var classof$8 = classofRaw$1; +var ARRAY_BUFFER_NON_EXTENSIBLE = arrayBufferNonExtensible; // eslint-disable-next-line es/no-object-issealed -- safe var $isSealed = Object.isSealed; @@ -5709,16 +6100,18 @@ var FAILS_ON_PRIMITIVES$3 = fails$v(function () { $isSealed(1); }); // `Object.isSealed` method // https://tc39.es/ecma262/#sec-object.issealed -$$2T({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$3 }, { +$$2T({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$3 || ARRAY_BUFFER_NON_EXTENSIBLE }, { isSealed: function isSealed(it) { - return isObject$g(it) ? $isSealed ? $isSealed(it) : false : true; + if (!isObject$g(it)) return true; + if (ARRAY_BUFFER_NON_EXTENSIBLE && classof$8(it) == 'ArrayBuffer') return true; + return $isSealed ? $isSealed(it) : false; } }); var $$2S = _export; var toObject$f = toObject$z; var nativeKeys = objectKeys$5; -var fails$u = fails$15; +var fails$u = fails$17; var FAILS_ON_PRIMITIVES$2 = fails$u(function () { nativeKeys(1); }); @@ -5777,10 +6170,10 @@ if (DESCRIPTORS$c) { } var $$2P = _export; -var isObject$f = isObject$C; +var isObject$f = isObject$B; var onFreeze$1 = internalMetadata.exports.onFreeze; var FREEZING$2 = freezing; -var fails$t = fails$15; +var fails$t = fails$17; // eslint-disable-next-line es/no-object-preventextensions -- safe var $preventExtensions = Object.preventExtensions; @@ -5795,10 +6188,10 @@ $$2P({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1, sham: !FREEZ }); var $$2O = _export; -var isObject$e = isObject$C; +var isObject$e = isObject$B; var onFreeze = internalMetadata.exports.onFreeze; var FREEZING$1 = freezing; -var fails$s = fails$15; +var fails$s = fails$17; // eslint-disable-next-line es/no-object-seal -- safe var $seal = Object.seal; @@ -5822,22 +6215,22 @@ $$2N({ target: 'Object', stat: true }, { }); var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport; -var classof$5 = classof$b; +var classof$7 = classof$h; // `Object.prototype.toString` method implementation // https://tc39.es/ecma262/#sec-object.prototype.tostring var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() { - return '[object ' + classof$5(this) + ']'; + return '[object ' + classof$7(this) + ']'; }; var TO_STRING_TAG_SUPPORT = toStringTagSupport; var redefine$a = redefine$l.exports; -var toString$j = objectToString; +var toString$k = objectToString; // `Object.prototype.toString` method // https://tc39.es/ecma262/#sec-object.prototype.tostring if (!TO_STRING_TAG_SUPPORT) { - redefine$a(Object.prototype, 'toString', toString$j, { unsafe: true }); + redefine$a(Object.prototype, 'toString', toString$k, { unsafe: true }); } var $$2M = _export; @@ -5869,28 +6262,33 @@ $$2K({ global: true, forced: parseInt != $parseInt }, { parseInt: $parseInt }); -var global$r = global$R; +var global$T = global$1S; -var nativePromiseConstructor = global$r.Promise; +var nativePromiseConstructor = global$T.Promise; var userAgent$4 = engineUserAgent; var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$4); -var global$q = global$R; +var global$S = global$1S; +var apply$l = functionApply$1; +var bind$m = functionBindContext; var isCallable$d = isCallable$z; -var fails$r = fails$15; -var bind$k = functionBindContext; +var hasOwn$9 = hasOwnProperty_1; +var fails$r = fails$17; var html = html$2; +var arraySlice$6 = arraySlice$d; var createElement = documentCreateElement$2; var IS_IOS$1 = engineIsIos; var IS_NODE$3 = engineIsNode; -var set$1 = global$q.setImmediate; -var clear = global$q.clearImmediate; -var process$3 = global$q.process; -var MessageChannel = global$q.MessageChannel; -var Dispatch = global$q.Dispatch; +var set$1 = global$S.setImmediate; +var clear = global$S.clearImmediate; +var process$3 = global$S.process; +var Dispatch = global$S.Dispatch; +var Function$2 = global$S.Function; +var MessageChannel = global$S.MessageChannel; +var String$1 = global$S.String; var counter = 0; var queue = {}; var ONREADYSTATECHANGE = 'onreadystatechange'; @@ -5898,12 +6296,11 @@ var location, defer, channel, port; try { // Deno throws a ReferenceError on `location` access without `--location` flag - location = global$q.location; + location = global$S.location; } catch (error) { /* empty */ } var run = function (id) { - // eslint-disable-next-line no-prototype-builtins -- safe - if (queue.hasOwnProperty(id)) { + if (hasOwn$9(queue, id)) { var fn = queue[id]; delete queue[id]; fn(); @@ -5922,19 +6319,15 @@ var listener = function (event) { var post = function (id) { // old engines have not location.origin - global$q.postMessage(String(id), location.protocol + '//' + location.host); + global$S.postMessage(String$1(id), location.protocol + '//' + location.host); }; // Node.js 0.9+ & IE10+ has setImmediate, otherwise: if (!set$1 || !clear) { set$1 = function setImmediate(fn) { - var args = []; - var argumentsLength = arguments.length; - var i = 1; - while (argumentsLength > i) args.push(arguments[i++]); + var args = arraySlice$6(arguments, 1); queue[++counter] = function () { - // eslint-disable-next-line no-new-func -- spec requirement - (isCallable$d(fn) ? fn : Function(fn)).apply(undefined, args); + apply$l(isCallable$d(fn) ? fn : Function$2(fn), undefined, args); }; defer(counter); return counter; @@ -5958,18 +6351,18 @@ if (!set$1 || !clear) { channel = new MessageChannel(); port = channel.port2; channel.port1.onmessage = listener; - defer = bind$k(port.postMessage, port, 1); + defer = bind$m(port.postMessage, port); // Browsers with postMessage, skip WebWorkers // IE8 has postMessage, but it's sync & typeof its postMessage is 'object' } else if ( - global$q.addEventListener && - isCallable$d(global$q.postMessage) && - !global$q.importScripts && + global$S.addEventListener && + isCallable$d(global$S.postMessage) && + !global$S.importScripts && location && location.protocol !== 'file:' && !fails$r(post) ) { defer = post; - global$q.addEventListener('message', listener, false); + global$S.addEventListener('message', listener, false); // IE8- } else if (ONREADYSTATECHANGE in createElement('script')) { defer = function (id) { @@ -5992,15 +6385,16 @@ var task$2 = { }; var userAgent$3 = engineUserAgent; -var global$p = global$R; +var global$R = global$1S; -var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$3) && global$p.Pebble !== undefined; +var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$3) && global$R.Pebble !== undefined; var userAgent$2 = engineUserAgent; var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent$2); -var global$o = global$R; +var global$Q = global$1S; +var bind$l = functionBindContext; var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f; var macrotask = task$2.set; var IS_IOS = engineIsIos; @@ -6008,12 +6402,12 @@ var IS_IOS_PEBBLE = engineIsIosPebble; var IS_WEBOS_WEBKIT = engineIsWebosWebkit; var IS_NODE$2 = engineIsNode; -var MutationObserver = global$o.MutationObserver || global$o.WebKitMutationObserver; -var document$2 = global$o.document; -var process$2 = global$o.process; -var Promise$4 = global$o.Promise; +var MutationObserver = global$Q.MutationObserver || global$Q.WebKitMutationObserver; +var document$2 = global$Q.document; +var process$2 = global$Q.process; +var Promise$4 = global$Q.Promise; // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask` -var queueMicrotaskDescriptor = getOwnPropertyDescriptor$3(global$o, 'queueMicrotask'); +var queueMicrotaskDescriptor = getOwnPropertyDescriptor$3(global$Q, 'queueMicrotask'); var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value; var flush, head, last, notify$1, toggle, node, promise, then; @@ -6052,9 +6446,9 @@ if (!queueMicrotask) { promise = Promise$4.resolve(undefined); // workaround of WebKit ~ iOS Safari 10.1 bug promise.constructor = Promise$4; - then = promise.then; + then = bind$l(promise.then, promise); notify$1 = function () { - then.call(promise, flush); + then(flush); }; // Node.js without promises } else if (IS_NODE$2) { @@ -6068,9 +6462,10 @@ if (!queueMicrotask) { // - onreadystatechange // - setTimeout } else { + // strange IE + webpack dev server bug - use .bind(global) + macrotask = bind$l(macrotask, global$Q); notify$1 = function () { - // strange IE + webpack dev server bug - use .call(global) - macrotask.call(global$o, flush); + macrotask(flush); }; } } @@ -6086,7 +6481,7 @@ var microtask$2 = queueMicrotask || function (fn) { var newPromiseCapability$2 = {}; -var aCallable$G = aCallable$Q; +var aCallable$I = aCallable$S; var PromiseCapability = function (C) { var resolve, reject; @@ -6095,8 +6490,8 @@ var PromiseCapability = function (C) { resolve = $$resolve; reject = $$reject; }); - this.resolve = aCallable$G(resolve); - this.reject = aCallable$G(reject); + this.resolve = aCallable$I(resolve); + this.reject = aCallable$I(reject); }; // `NewPromiseCapability` abstract operation @@ -6106,7 +6501,7 @@ newPromiseCapability$2.f = function (C) { }; var anObject$1o = anObject$1C; -var isObject$d = isObject$C; +var isObject$d = isObject$B; var newPromiseCapability$1 = newPromiseCapability$2; var promiseResolve$2 = function (C, x) { @@ -6118,12 +6513,12 @@ var promiseResolve$2 = function (C, x) { return promiseCapability.promise; }; -var global$n = global$R; +var global$P = global$1S; var hostReportErrors$2 = function (a, b) { - var console = global$n.console; + var console = global$P.console; if (console && console.error) { - arguments.length === 1 ? console.error(a) : console.error(a, b); + arguments.length == 1 ? console.error(a) : console.error(a, b); } }; @@ -6138,20 +6533,21 @@ var perform$4 = function (exec) { var engineIsBrowser = typeof window == 'object'; var $$2J = _export; -var global$m = global$R; -var getBuiltIn$p = getBuiltIn$y; +var global$O = global$1S; +var getBuiltIn$q = getBuiltIn$z; +var call$N = functionCall; var NativePromise$1 = nativePromiseConstructor; var redefine$9 = redefine$l.exports; var redefineAll$7 = redefineAll$a; var setPrototypeOf$1 = objectSetPrototypeOf$1; var setToStringTag$3 = setToStringTag$b; var setSpecies$3 = setSpecies$7; -var aCallable$F = aCallable$Q; +var aCallable$H = aCallable$S; var isCallable$c = isCallable$z; -var isObject$c = isObject$C; +var isObject$c = isObject$B; var anInstance$7 = anInstance$b; var inspectSource = inspectSource$4; -var iterate$D = iterate$I; +var iterate$C = iterate$H; var checkCorrectnessOfIteration$1 = checkCorrectnessOfIteration$4; var speciesConstructor$d = speciesConstructor$f; var task$1 = task$2.set; @@ -6162,26 +6558,28 @@ var newPromiseCapabilityModule$3 = newPromiseCapability$2; var perform$3 = perform$4; var InternalStateModule$e = internalState; var isForced$1 = isForced_1; -var wellKnownSymbol$k = wellKnownSymbol$G; +var wellKnownSymbol$k = wellKnownSymbol$H; var IS_BROWSER = engineIsBrowser; var IS_NODE$1 = engineIsNode; var V8_VERSION = engineV8Version; var SPECIES$1 = wellKnownSymbol$k('species'); var PROMISE = 'Promise'; -var getInternalState$e = InternalStateModule$e.get; + +var getInternalState$d = InternalStateModule$e.getterFor(PROMISE); var setInternalState$e = InternalStateModule$e.set; var getInternalPromiseState = InternalStateModule$e.getterFor(PROMISE); var NativePromisePrototype = NativePromise$1 && NativePromise$1.prototype; var PromiseConstructor = NativePromise$1; -var PromiseConstructorPrototype = NativePromisePrototype; -var TypeError$1 = global$m.TypeError; -var document$1 = global$m.document; -var process$1 = global$m.process; +var PromisePrototype = NativePromisePrototype; +var TypeError$l = global$O.TypeError; +var document$1 = global$O.document; +var process$1 = global$O.process; var newPromiseCapability = newPromiseCapabilityModule$3.f; var newGenericPromiseCapability = newPromiseCapability; -var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$m.dispatchEvent); -var NATIVE_REJECTION_EVENT = isCallable$c(global$m.PromiseRejectionEvent); + +var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$O.dispatchEvent); +var NATIVE_REJECTION_EVENT = isCallable$c(global$O.PromiseRejectionEvent); var UNHANDLED_REJECTION = 'unhandledrejection'; var REJECTION_HANDLED = 'rejectionhandled'; var PENDING = 0; @@ -6190,6 +6588,7 @@ var REJECTED = 2; var HANDLED = 1; var UNHANDLED = 2; var SUBCLASSING = false; + var Internal, OwnPromiseCapability, PromiseWrapper, nativeThen; var FORCED$c = isForced$1(PROMISE, function () { @@ -6258,9 +6657,9 @@ var notify = function (state, isReject) { } } if (result === reaction.promise) { - reject(TypeError$1('Promise-chain cycle')); + reject(TypeError$l('Promise-chain cycle')); } else if (then = isThenable(result)) { - then.call(result, resolve, reject); + call$N(then, result, resolve, reject); } else resolve(result); } else reject(value); } catch (error) { @@ -6281,14 +6680,14 @@ var dispatchEvent = function (name, promise, reason) { event.promise = promise; event.reason = reason; event.initEvent(name, false, true); - global$m.dispatchEvent(event); + global$O.dispatchEvent(event); } else event = { promise: promise, reason: reason }; - if (!NATIVE_REJECTION_EVENT && (handler = global$m['on' + name])) handler(event); + if (!NATIVE_REJECTION_EVENT && (handler = global$O['on' + name])) handler(event); else if (name === UNHANDLED_REJECTION) hostReportErrors$1('Unhandled promise rejection', reason); }; var onUnhandled = function (state) { - task$1.call(global$m, function () { + call$N(task$1, global$O, function () { var promise = state.facade; var value = state.value; var IS_UNHANDLED = isUnhandled(state); @@ -6311,7 +6710,7 @@ var isUnhandled = function (state) { }; var onHandleUnhandled = function (state) { - task$1.call(global$m, function () { + call$N(task$1, global$O, function () { var promise = state.facade; if (IS_NODE$1) { process$1.emit('rejectionHandled', promise); @@ -6319,7 +6718,7 @@ var onHandleUnhandled = function (state) { }); }; -var bind$j = function (fn, state, unwrap) { +var bind$k = function (fn, state, unwrap) { return function (value) { fn(state, value, unwrap); }; @@ -6339,15 +6738,15 @@ var internalResolve = function (state, value, unwrap) { state.done = true; if (unwrap) state = unwrap; try { - if (state.facade === value) throw TypeError$1("Promise can't be resolved itself"); + if (state.facade === value) throw TypeError$l("Promise can't be resolved itself"); var then = isThenable(value); if (then) { microtask$1(function () { var wrapper = { done: false }; try { - then.call(value, - bind$j(internalResolve, wrapper, state), - bind$j(internalReject, wrapper, state) + call$N(then, value, + bind$k(internalResolve, wrapper, state), + bind$k(internalReject, wrapper, state) ); } catch (error) { internalReject(wrapper, error, state); @@ -6367,17 +6766,17 @@ var internalResolve = function (state, value, unwrap) { if (FORCED$c) { // 25.4.3.1 Promise(executor) PromiseConstructor = function Promise(executor) { - anInstance$7(this, PromiseConstructor, PROMISE); - aCallable$F(executor); - Internal.call(this); - var state = getInternalState$e(this); + anInstance$7(this, PromisePrototype); + aCallable$H(executor); + call$N(Internal, this); + var state = getInternalState$d(this); try { - executor(bind$j(internalResolve, state), bind$j(internalReject, state)); + executor(bind$k(internalResolve, state), bind$k(internalReject, state)); } catch (error) { internalReject(state, error); } }; - PromiseConstructorPrototype = PromiseConstructor.prototype; + PromisePrototype = PromiseConstructor.prototype; // eslint-disable-next-line no-unused-vars -- required for `.length` Internal = function Promise(executor) { setInternalState$e(this, { @@ -6391,17 +6790,18 @@ if (FORCED$c) { value: undefined }); }; - Internal.prototype = redefineAll$7(PromiseConstructorPrototype, { + Internal.prototype = redefineAll$7(PromisePrototype, { // `Promise.prototype.then` method // https://tc39.es/ecma262/#sec-promise.prototype.then then: function then(onFulfilled, onRejected) { var state = getInternalPromiseState(this); + var reactions = state.reactions; var reaction = newPromiseCapability(speciesConstructor$d(this, PromiseConstructor)); reaction.ok = isCallable$c(onFulfilled) ? onFulfilled : true; reaction.fail = isCallable$c(onRejected) && onRejected; reaction.domain = IS_NODE$1 ? process$1.domain : undefined; state.parent = true; - state.reactions.push(reaction); + reactions[reactions.length] = reaction; if (state.state != PENDING) notify(state, false); return reaction.promise; }, @@ -6413,10 +6813,10 @@ if (FORCED$c) { }); OwnPromiseCapability = function () { var promise = new Internal(); - var state = getInternalState$e(promise); + var state = getInternalState$d(promise); this.promise = promise; - this.resolve = bind$j(internalResolve, state); - this.reject = bind$j(internalReject, state); + this.resolve = bind$k(internalResolve, state); + this.reject = bind$k(internalReject, state); }; newPromiseCapabilityModule$3.f = newPromiseCapability = function (C) { return C === PromiseConstructor || C === PromiseWrapper @@ -6432,13 +6832,13 @@ if (FORCED$c) { redefine$9(NativePromisePrototype, 'then', function then(onFulfilled, onRejected) { var that = this; return new PromiseConstructor(function (resolve, reject) { - nativeThen.call(that, resolve, reject); + call$N(nativeThen, that, resolve, reject); }).then(onFulfilled, onRejected); // https://github.com/zloirock/core-js/issues/640 }, { unsafe: true }); // makes sure that native promise-based APIs `Promise#catch` properly works with patched `Promise#then` - redefine$9(NativePromisePrototype, 'catch', PromiseConstructorPrototype['catch'], { unsafe: true }); + redefine$9(NativePromisePrototype, 'catch', PromisePrototype['catch'], { unsafe: true }); } // make `.constructor === Promise` work for native promise-based APIs @@ -6448,7 +6848,7 @@ if (FORCED$c) { // make `instanceof Promise` work for native promise-based APIs if (setPrototypeOf$1) { - setPrototypeOf$1(NativePromisePrototype, PromiseConstructorPrototype); + setPrototypeOf$1(NativePromisePrototype, PromisePrototype); } } } @@ -6460,7 +6860,7 @@ $$2J({ global: true, wrap: true, forced: FORCED$c }, { setToStringTag$3(PromiseConstructor, PROMISE, false); setSpecies$3(PROMISE); -PromiseWrapper = getBuiltIn$p(PROMISE); +PromiseWrapper = getBuiltIn$q(PROMISE); // statics $$2J({ target: PROMISE, stat: true, forced: FORCED$c }, { @@ -6468,7 +6868,7 @@ $$2J({ target: PROMISE, stat: true, forced: FORCED$c }, { // https://tc39.es/ecma262/#sec-promise.reject reject: function reject(r) { var capability = newPromiseCapability(this); - capability.reject.call(undefined, r); + call$N(capability.reject, undefined, r); return capability.promise; } }); @@ -6490,16 +6890,15 @@ $$2J({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, { var resolve = capability.resolve; var reject = capability.reject; var result = perform$3(function () { - var $promiseResolve = aCallable$F(C.resolve); + var $promiseResolve = aCallable$H(C.resolve); var values = []; var counter = 0; var remaining = 1; - iterate$D(iterable, function (promise) { + iterate$C(iterable, function (promise) { var index = counter++; var alreadyCalled = false; - values.push(undefined); remaining++; - $promiseResolve.call(C, promise).then(function (value) { + call$N($promiseResolve, C, promise).then(function (value) { if (alreadyCalled) return; alreadyCalled = true; values[index] = value; @@ -6518,9 +6917,9 @@ $$2J({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, { var capability = newPromiseCapability(C); var reject = capability.reject; var result = perform$3(function () { - var $promiseResolve = aCallable$F(C.resolve); - iterate$D(iterable, function (promise) { - $promiseResolve.call(C, promise).then(capability.resolve, reject); + var $promiseResolve = aCallable$H(C.resolve); + iterate$C(iterable, function (promise) { + call$N($promiseResolve, C, promise).then(capability.resolve, reject); }); }); if (result.error) reject(result.value); @@ -6529,10 +6928,11 @@ $$2J({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, { }); var $$2I = _export; -var aCallable$E = aCallable$Q; +var call$M = functionCall; +var aCallable$G = aCallable$S; var newPromiseCapabilityModule$2 = newPromiseCapability$2; var perform$2 = perform$4; -var iterate$C = iterate$I; +var iterate$B = iterate$H; // `Promise.allSettled` method // https://tc39.es/ecma262/#sec-promise.allsettled @@ -6543,16 +6943,15 @@ $$2I({ target: 'Promise', stat: true }, { var resolve = capability.resolve; var reject = capability.reject; var result = perform$2(function () { - var promiseResolve = aCallable$E(C.resolve); + var promiseResolve = aCallable$G(C.resolve); var values = []; var counter = 0; var remaining = 1; - iterate$C(iterable, function (promise) { + iterate$B(iterable, function (promise) { var index = counter++; var alreadyCalled = false; - values.push(undefined); remaining++; - promiseResolve.call(C, promise).then(function (value) { + call$M(promiseResolve, C, promise).then(function (value) { if (alreadyCalled) return; alreadyCalled = true; values[index] = { status: 'fulfilled', value: value }; @@ -6572,11 +6971,12 @@ $$2I({ target: 'Promise', stat: true }, { }); var $$2H = _export; -var aCallable$D = aCallable$Q; -var getBuiltIn$o = getBuiltIn$y; +var aCallable$F = aCallable$S; +var getBuiltIn$p = getBuiltIn$z; +var call$L = functionCall; var newPromiseCapabilityModule$1 = newPromiseCapability$2; var perform$1 = perform$4; -var iterate$B = iterate$I; +var iterate$A = iterate$H; var PROMISE_ANY_ERROR = 'No one promise resolved'; @@ -6585,21 +6985,21 @@ var PROMISE_ANY_ERROR = 'No one promise resolved'; $$2H({ target: 'Promise', stat: true }, { any: function any(iterable) { var C = this; + var AggregateError = getBuiltIn$p('AggregateError'); var capability = newPromiseCapabilityModule$1.f(C); var resolve = capability.resolve; var reject = capability.reject; var result = perform$1(function () { - var promiseResolve = aCallable$D(C.resolve); + var promiseResolve = aCallable$F(C.resolve); var errors = []; var counter = 0; var remaining = 1; var alreadyResolved = false; - iterate$B(iterable, function (promise) { + iterate$A(iterable, function (promise) { var index = counter++; var alreadyRejected = false; - errors.push(undefined); remaining++; - promiseResolve.call(C, promise).then(function (value) { + call$L(promiseResolve, C, promise).then(function (value) { if (alreadyRejected || alreadyResolved) return; alreadyResolved = true; resolve(value); @@ -6607,10 +7007,10 @@ $$2H({ target: 'Promise', stat: true }, { if (alreadyRejected || alreadyResolved) return; alreadyRejected = true; errors[index] = error; - --remaining || reject(new (getBuiltIn$o('AggregateError'))(errors, PROMISE_ANY_ERROR)); + --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR)); }); }); - --remaining || reject(new (getBuiltIn$o('AggregateError'))(errors, PROMISE_ANY_ERROR)); + --remaining || reject(new AggregateError(errors, PROMISE_ANY_ERROR)); }); if (result.error) reject(result.value); return capability.promise; @@ -6619,8 +7019,8 @@ $$2H({ target: 'Promise', stat: true }, { var $$2G = _export; var NativePromise = nativePromiseConstructor; -var fails$q = fails$15; -var getBuiltIn$n = getBuiltIn$y; +var fails$q = fails$17; +var getBuiltIn$o = getBuiltIn$z; var isCallable$b = isCallable$z; var speciesConstructor$c = speciesConstructor$f; var promiseResolve = promiseResolve$2; @@ -6635,7 +7035,7 @@ var NON_GENERIC = !!NativePromise && fails$q(function () { // https://tc39.es/ecma262/#sec-promise.prototype.finally $$2G({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, { 'finally': function (onFinally) { - var C = speciesConstructor$c(this, getBuiltIn$n('Promise')); + var C = speciesConstructor$c(this, getBuiltIn$o('Promise')); var isFunction = isCallable$b(onFinally); return this.then( isFunction ? function (x) { @@ -6650,48 +7050,45 @@ $$2G({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, { // makes sure that native promise-based APIs `Promise#finally` properly works with patched `Promise#then` if (isCallable$b(NativePromise)) { - var method = getBuiltIn$n('Promise').prototype['finally']; + var method = getBuiltIn$o('Promise').prototype['finally']; if (NativePromise.prototype['finally'] !== method) { redefine$8(NativePromise.prototype, 'finally', method, { unsafe: true }); } } var $$2F = _export; -var getBuiltIn$m = getBuiltIn$y; -var aCallable$C = aCallable$Q; +var functionApply = functionApply$1; +var aCallable$E = aCallable$S; var anObject$1n = anObject$1C; -var fails$p = fails$15; - -var nativeApply = getBuiltIn$m('Reflect', 'apply'); -var functionApply = Function.apply; +var fails$p = fails$17; // MS Edge argumentsList argument is optional var OPTIONAL_ARGUMENTS_LIST = !fails$p(function () { - nativeApply(function () { /* empty */ }); + // eslint-disable-next-line es/no-reflect -- required for testing + Reflect.apply(function () { /* empty */ }); }); // `Reflect.apply` method // https://tc39.es/ecma262/#sec-reflect.apply $$2F({ target: 'Reflect', stat: true, forced: OPTIONAL_ARGUMENTS_LIST }, { apply: function apply(target, thisArgument, argumentsList) { - aCallable$C(target); - anObject$1n(argumentsList); - return nativeApply - ? nativeApply(target, thisArgument, argumentsList) - : functionApply.call(target, thisArgument, argumentsList); + return functionApply(aCallable$E(target), thisArgument, anObject$1n(argumentsList)); } }); var $$2E = _export; -var getBuiltIn$l = getBuiltIn$y; +var getBuiltIn$n = getBuiltIn$z; +var apply$k = functionApply$1; +var bind$j = functionBind; var aConstructor$3 = aConstructor$5; var anObject$1m = anObject$1C; -var isObject$b = isObject$C; +var isObject$b = isObject$B; var create$8 = objectCreate$1; -var bind$i = functionBind; -var fails$o = fails$15; +var fails$o = fails$17; -var nativeConstruct = getBuiltIn$l('Reflect', 'construct'); +var nativeConstruct = getBuiltIn$n('Reflect', 'construct'); +var ObjectPrototype = Object.prototype; +var push$d = [].push; // `Reflect.construct` method // https://tc39.es/ecma262/#sec-reflect.construct @@ -6701,9 +7098,11 @@ var NEW_TARGET_BUG = fails$o(function () { function F() { /* empty */ } return !(nativeConstruct(function () { /* empty */ }, [], F) instanceof F); }); + var ARGS_BUG = !fails$o(function () { nativeConstruct(function () { /* empty */ }); }); + var FORCED$b = NEW_TARGET_BUG || ARGS_BUG; $$2E({ target: 'Reflect', stat: true, forced: FORCED$b, sham: FORCED$b }, { @@ -6723,13 +7122,13 @@ $$2E({ target: 'Reflect', stat: true, forced: FORCED$b, sham: FORCED$b }, { } // w/o altered newTarget, lot of arguments case var $args = [null]; - $args.push.apply($args, args); - return new (bind$i.apply(Target, $args))(); + apply$k(push$d, $args, args); + return new (apply$k(bind$j, Target, $args))(); } // with altered newTarget, not support built-in constructors var proto = newTarget.prototype; - var instance = create$8(isObject$b(proto) ? proto : Object.prototype); - var result = Function.apply.call(Target, instance, args); + var instance = create$8(isObject$b(proto) ? proto : ObjectPrototype); + var result = apply$k(Target, instance, args); return isObject$b(result) ? result : instance; } }); @@ -6739,7 +7138,7 @@ var DESCRIPTORS$b = descriptors; var anObject$1l = anObject$1C; var toPropertyKey$2 = toPropertyKey$9; var definePropertyModule$2 = objectDefineProperty; -var fails$n = fails$15; +var fails$n = fails$17; // MS Edge has broken Reflect.defineProperty - throwing instead of returning false var ERROR_INSTEAD_OF_FALSE = fails$n(function () { @@ -6783,7 +7182,8 @@ var isDataDescriptor$2 = function (descriptor) { }; var $$2B = _export; -var isObject$a = isObject$C; +var call$K = functionCall; +var isObject$a = isObject$B; var anObject$1j = anObject$1C; var isDataDescriptor$1 = isDataDescriptor$2; var getOwnPropertyDescriptorModule$3 = objectGetOwnPropertyDescriptor; @@ -6798,7 +7198,7 @@ function get(target, propertyKey /* , receiver */) { descriptor = getOwnPropertyDescriptorModule$3.f(target, propertyKey); if (descriptor) return isDataDescriptor$1(descriptor) ? descriptor.value - : descriptor.get === undefined ? undefined : descriptor.get.call(receiver); + : descriptor.get === undefined ? undefined : call$K(descriptor.get, receiver); if (isObject$a(prototype = getPrototypeOf$5(target))) return get(prototype, propertyKey, receiver); } @@ -6844,16 +7244,14 @@ $$2y({ target: 'Reflect', stat: true }, { var $$2x = _export; var anObject$1g = anObject$1C; - -// eslint-disable-next-line es/no-object-isextensible -- safe -var objectIsExtensible = Object.isExtensible; +var $isExtensible = objectIsExtensible; // `Reflect.isExtensible` method // https://tc39.es/ecma262/#sec-reflect.isextensible $$2x({ target: 'Reflect', stat: true }, { isExtensible: function isExtensible(target) { anObject$1g(target); - return objectIsExtensible ? objectIsExtensible(target) : true; + return $isExtensible(target); } }); @@ -6867,7 +7265,7 @@ $$2w({ target: 'Reflect', stat: true }, { }); var $$2v = _export; -var getBuiltIn$k = getBuiltIn$y; +var getBuiltIn$m = getBuiltIn$z; var anObject$1f = anObject$1C; var FREEZING = freezing; @@ -6877,7 +7275,7 @@ $$2v({ target: 'Reflect', stat: true, sham: !FREEZING }, { preventExtensions: function preventExtensions(target) { anObject$1f(target); try { - var objectPreventExtensions = getBuiltIn$k('Object', 'preventExtensions'); + var objectPreventExtensions = getBuiltIn$m('Object', 'preventExtensions'); if (objectPreventExtensions) objectPreventExtensions(target); return true; } catch (error) { @@ -6887,14 +7285,15 @@ $$2v({ target: 'Reflect', stat: true, sham: !FREEZING }, { }); var $$2u = _export; +var call$J = functionCall; var anObject$1e = anObject$1C; -var isObject$9 = isObject$C; +var isObject$9 = isObject$B; var isDataDescriptor = isDataDescriptor$2; -var fails$m = fails$15; +var fails$m = fails$17; var definePropertyModule$1 = objectDefineProperty; var getOwnPropertyDescriptorModule$1 = objectGetOwnPropertyDescriptor; var getPrototypeOf$4 = objectGetPrototypeOf$1; -var createPropertyDescriptor$2 = createPropertyDescriptor$9; +var createPropertyDescriptor$2 = createPropertyDescriptor$a; // `Reflect.set` method // https://tc39.es/ecma262/#sec-reflect.set @@ -6918,7 +7317,7 @@ function set(target, propertyKey, V /* , receiver */) { } else { setter = ownDescriptor.set; if (setter === undefined) return false; - setter.call(receiver, V); + call$J(setter, receiver, V); } return true; } @@ -6956,18 +7355,18 @@ if (objectSetPrototypeOf) $$2t({ target: 'Reflect', stat: true }, { }); var $$2s = _export; -var global$l = global$R; +var global$N = global$1S; var setToStringTag$2 = setToStringTag$b; $$2s({ global: true }, { Reflect: {} }); // Reflect[@@toStringTag] property // https://tc39.es/ecma262/#sec-reflect-@@tostringtag -setToStringTag$2(global$l.Reflect, 'Reflect', true); +setToStringTag$2(global$N.Reflect, 'Reflect', true); -var isObject$8 = isObject$C; -var classof$4 = classofRaw$1; -var wellKnownSymbol$j = wellKnownSymbol$G; +var isObject$8 = isObject$B; +var classof$6 = classofRaw$1; +var wellKnownSymbol$j = wellKnownSymbol$H; var MATCH$2 = wellKnownSymbol$j('match'); @@ -6975,7 +7374,7 @@ var MATCH$2 = wellKnownSymbol$j('match'); // https://tc39.es/ecma262/#sec-isregexp var isRegexp = function (it) { var isRegExp; - return isObject$8(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$4(it) == 'RegExp'); + return isObject$8(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$6(it) == 'RegExp'); }; var anObject$1c = anObject$1C; @@ -6994,43 +7393,53 @@ var regexpFlags$1 = function () { return result; }; -var regexpStickyHelpers = {}; - -var fails$l = fails$15; -var global$k = global$R; +var fails$l = fails$17; +var global$M = global$1S; // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError -var $RegExp$2 = global$k.RegExp; +var $RegExp$2 = global$M.RegExp; -regexpStickyHelpers.UNSUPPORTED_Y = fails$l(function () { +var UNSUPPORTED_Y$3 = fails$l(function () { var re = $RegExp$2('a', 'y'); re.lastIndex = 2; return re.exec('abcd') != null; }); -regexpStickyHelpers.BROKEN_CARET = fails$l(function () { +// UC Browser bug +// https://github.com/zloirock/core-js/issues/1008 +var MISSED_STICKY$2 = UNSUPPORTED_Y$3 || fails$l(function () { + return !$RegExp$2('a', 'y').sticky; +}); + +var BROKEN_CARET = UNSUPPORTED_Y$3 || fails$l(function () { // https://bugzilla.mozilla.org/show_bug.cgi?id=773687 var re = $RegExp$2('^r', 'gy'); re.lastIndex = 2; return re.exec('str') != null; }); -var fails$k = fails$15; -var global$j = global$R; +var regexpStickyHelpers = { + BROKEN_CARET: BROKEN_CARET, + MISSED_STICKY: MISSED_STICKY$2, + UNSUPPORTED_Y: UNSUPPORTED_Y$3 +}; + +var fails$k = fails$17; +var global$L = global$1S; // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError -var $RegExp$1 = global$j.RegExp; +var $RegExp$1 = global$L.RegExp; var regexpUnsupportedDotAll = fails$k(function () { var re = $RegExp$1('.', 's'); return !(re.dotAll && re.exec('\n') && re.flags === 's'); }); -var fails$j = fails$15; -var global$i = global$R; +var fails$j = fails$17; +var global$K = global$1S; // babel-minify and Closure Compiler transpiles RegExp('(?b)', 'g') -> /(?b)/g and it causes SyntaxError -var $RegExp = global$i.RegExp; +var $RegExp = global$K.RegExp; var regexpUnsupportedNcg = fails$j(function () { var re = $RegExp('(?b)', 'g'); @@ -7039,28 +7448,37 @@ var regexpUnsupportedNcg = fails$j(function () { }); var DESCRIPTORS$9 = descriptors; -var global$h = global$R; +var global$J = global$1S; +var uncurryThis$B = functionUncurryThis; var isForced = isForced_1; var inheritIfRequired$1 = inheritIfRequired$4; var createNonEnumerableProperty$8 = createNonEnumerableProperty$h; var defineProperty$5 = objectDefineProperty.f; var getOwnPropertyNames$1 = objectGetOwnPropertyNames.f; +var isPrototypeOf$5 = objectIsPrototypeOf; var isRegExp$4 = isRegexp; -var toString$i = toString$t; -var getFlags = regexpFlags$1; +var toString$j = toString$u; +var regExpFlags$4 = regexpFlags$1; var stickyHelpers$2 = regexpStickyHelpers; var redefine$7 = redefine$l.exports; -var fails$i = fails$15; +var fails$i = fails$17; var hasOwn$7 = hasOwnProperty_1; var enforceInternalState = internalState.enforce; var setSpecies$2 = setSpecies$7; -var wellKnownSymbol$i = wellKnownSymbol$G; +var wellKnownSymbol$i = wellKnownSymbol$H; var UNSUPPORTED_DOT_ALL$2 = regexpUnsupportedDotAll; var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg; var MATCH$1 = wellKnownSymbol$i('match'); -var NativeRegExp = global$h.RegExp; -var RegExpPrototype$6 = NativeRegExp.prototype; +var NativeRegExp = global$J.RegExp; +var RegExpPrototype$7 = NativeRegExp.prototype; +var SyntaxError$1 = global$J.SyntaxError; +var getFlags$3 = uncurryThis$B(regExpFlags$4); +var exec$6 = uncurryThis$B(RegExpPrototype$7.exec); +var charAt$c = uncurryThis$B(''.charAt); +var replace$6 = uncurryThis$B(''.replace); +var stringIndexOf$4 = uncurryThis$B(''.indexOf); +var stringSlice$c = uncurryThis$B(''.slice); // TODO: Use only propper RegExpIdentifierName var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/; var re1 = /a/g; @@ -7069,10 +7487,11 @@ var re2 = /a/g; // "new" should create a new object, old webkit bug var CORRECT_NEW = new NativeRegExp(re1) !== re1; -var UNSUPPORTED_Y$3 = stickyHelpers$2.UNSUPPORTED_Y; +var MISSED_STICKY$1 = stickyHelpers$2.MISSED_STICKY; +var UNSUPPORTED_Y$2 = stickyHelpers$2.UNSUPPORTED_Y; var BASE_FORCED = DESCRIPTORS$9 && - (!CORRECT_NEW || UNSUPPORTED_Y$3 || UNSUPPORTED_DOT_ALL$2 || UNSUPPORTED_NCG$1 || fails$i(function () { + (!CORRECT_NEW || MISSED_STICKY$1 || UNSUPPORTED_DOT_ALL$2 || UNSUPPORTED_NCG$1 || fails$i(function () { re2[MATCH$1] = false; // RegExp constructor can alter flags and IsRegExp works correct with @@match return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i'; @@ -7085,9 +7504,9 @@ var handleDotAll = function (string) { var brackets = false; var chr; for (; index <= length; index++) { - chr = string.charAt(index); + chr = charAt$c(string, index); if (chr === '\\') { - result += chr + string.charAt(++index); + result += chr + charAt$c(string, ++index); continue; } if (!brackets && chr === '.') { @@ -7114,9 +7533,9 @@ var handleNCG = function (string) { var groupname = ''; var chr; for (; index <= length; index++) { - chr = string.charAt(index); + chr = charAt$c(string, index); if (chr === '\\') { - chr = chr + string.charAt(++index); + chr = chr + charAt$c(string, ++index); } else if (chr === ']') { brackets = false; } else if (!brackets) switch (true) { @@ -7124,7 +7543,7 @@ var handleNCG = function (string) { brackets = true; break; case chr === '(': - if (IS_NCG.test(string.slice(index + 1))) { + if (exec$6(IS_NCG, stringSlice$c(string, index + 1))) { index += 2; ncg = true; } @@ -7133,10 +7552,10 @@ var handleNCG = function (string) { continue; case chr === '>' && ncg: if (groupname === '' || hasOwn$7(names, groupname)) { - throw new SyntaxError('Invalid capture group name'); + throw new SyntaxError$1('Invalid capture group name'); } names[groupname] = true; - named.push([groupname, groupid]); + named[named.length] = [groupname, groupid]; ncg = false; groupname = ''; continue; @@ -7150,7 +7569,7 @@ var handleNCG = function (string) { // https://tc39.es/ecma262/#sec-regexp-constructor if (isForced('RegExp', BASE_FORCED)) { var RegExpWrapper = function RegExp(pattern, flags) { - var thisIsRegExp = this instanceof RegExpWrapper; + var thisIsRegExp = isPrototypeOf$5(RegExpPrototype$7, this); var patternIsRegExp = isRegExp$4(pattern); var flagsAreUndefined = flags === undefined; var groups = []; @@ -7161,25 +7580,25 @@ if (isForced('RegExp', BASE_FORCED)) { return pattern; } - if (patternIsRegExp || pattern instanceof RegExpWrapper) { + if (patternIsRegExp || isPrototypeOf$5(RegExpPrototype$7, pattern)) { pattern = pattern.source; - if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : getFlags.call(rawPattern); + if (flagsAreUndefined) flags = 'flags' in rawPattern ? rawPattern.flags : getFlags$3(rawPattern); } - pattern = pattern === undefined ? '' : toString$i(pattern); - flags = flags === undefined ? '' : toString$i(flags); + pattern = pattern === undefined ? '' : toString$j(pattern); + flags = flags === undefined ? '' : toString$j(flags); rawPattern = pattern; if (UNSUPPORTED_DOT_ALL$2 && 'dotAll' in re1) { - dotAll = !!flags && flags.indexOf('s') > -1; - if (dotAll) flags = flags.replace(/s/g, ''); + dotAll = !!flags && stringIndexOf$4(flags, 's') > -1; + if (dotAll) flags = replace$6(flags, /s/g, ''); } rawFlags = flags; - if (UNSUPPORTED_Y$3 && 'sticky' in re1) { - sticky = !!flags && flags.indexOf('y') > -1; - if (sticky) flags = flags.replace(/y/g, ''); + if (MISSED_STICKY$1 && 'sticky' in re1) { + sticky = !!flags && stringIndexOf$4(flags, 'y') > -1; + if (sticky && UNSUPPORTED_Y$2) flags = replace$6(flags, /y/g, ''); } if (UNSUPPORTED_NCG$1) { @@ -7188,7 +7607,7 @@ if (isForced('RegExp', BASE_FORCED)) { groups = handled[1]; } - result = inheritIfRequired$1(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype$6, RegExpWrapper); + result = inheritIfRequired$1(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype$7, RegExpWrapper); if (dotAll || sticky || groups.length) { state = enforceInternalState(result); @@ -7220,100 +7639,108 @@ if (isForced('RegExp', BASE_FORCED)) { proxy(keys[index++]); } - RegExpPrototype$6.constructor = RegExpWrapper; - RegExpWrapper.prototype = RegExpPrototype$6; - redefine$7(global$h, 'RegExp', RegExpWrapper); + RegExpPrototype$7.constructor = RegExpWrapper; + RegExpWrapper.prototype = RegExpPrototype$7; + redefine$7(global$J, 'RegExp', RegExpWrapper); } // https://tc39.es/ecma262/#sec-get-regexp-@@species setSpecies$2('RegExp'); +var global$I = global$1S; var DESCRIPTORS$8 = descriptors; var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll; +var classof$5 = classofRaw$1; var defineProperty$4 = objectDefineProperty.f; -var getInternalState$d = internalState.get; -var RegExpPrototype$5 = RegExp.prototype; +var getInternalState$c = internalState.get; + +var RegExpPrototype$6 = RegExp.prototype; +var TypeError$k = global$I.TypeError; // `RegExp.prototype.dotAll` getter // https://tc39.es/ecma262/#sec-get-regexp.prototype.dotall if (DESCRIPTORS$8 && UNSUPPORTED_DOT_ALL$1) { - defineProperty$4(RegExpPrototype$5, 'dotAll', { + defineProperty$4(RegExpPrototype$6, 'dotAll', { configurable: true, get: function () { - if (this === RegExpPrototype$5) return undefined; + if (this === RegExpPrototype$6) return undefined; // We can't use InternalStateModule.getterFor because // we don't add metadata for regexps created by a literal. - if (this instanceof RegExp) { - return !!getInternalState$d(this).dotAll; + if (classof$5(this) === 'RegExp') { + return !!getInternalState$c(this).dotAll; } - throw TypeError('Incompatible receiver, RegExp required'); + throw TypeError$k('Incompatible receiver, RegExp required'); } }); } /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */ /* eslint-disable regexp/no-useless-quantifier -- testing */ -var toString$h = toString$t; +var call$I = functionCall; +var uncurryThis$A = functionUncurryThis; +var toString$i = toString$u; var regexpFlags = regexpFlags$1; var stickyHelpers$1 = regexpStickyHelpers; var shared$2 = shared$7.exports; var create$7 = objectCreate$1; -var getInternalState$c = internalState.get; +var getInternalState$b = internalState.get; var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll; var UNSUPPORTED_NCG = regexpUnsupportedNcg; -var nativeExec = RegExp.prototype.exec; var nativeReplace = shared$2('native-string-replace', String.prototype.replace); - +var nativeExec = RegExp.prototype.exec; var patchedExec = nativeExec; +var charAt$b = uncurryThis$A(''.charAt); +var indexOf$1 = uncurryThis$A(''.indexOf); +var replace$5 = uncurryThis$A(''.replace); +var stringSlice$b = uncurryThis$A(''.slice); var UPDATES_LAST_INDEX_WRONG = (function () { var re1 = /a/; var re2 = /b*/g; - nativeExec.call(re1, 'a'); - nativeExec.call(re2, 'a'); + call$I(nativeExec, re1, 'a'); + call$I(nativeExec, re2, 'a'); return re1.lastIndex !== 0 || re2.lastIndex !== 0; })(); -var UNSUPPORTED_Y$2 = stickyHelpers$1.UNSUPPORTED_Y || stickyHelpers$1.BROKEN_CARET; +var UNSUPPORTED_Y$1 = stickyHelpers$1.BROKEN_CARET; // 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 || UNSUPPORTED_Y$2 || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; +var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$1 || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG; if (PATCH) { - // eslint-disable-next-line max-statements -- TODO patchedExec = function exec(string) { var re = this; - var state = getInternalState$c(re); - var str = toString$h(string); + var state = getInternalState$b(re); + var str = toString$i(string); var raw = state.raw; var result, reCopy, lastIndex, match, i, object, group; if (raw) { raw.lastIndex = re.lastIndex; - result = patchedExec.call(raw, str); + result = call$I(patchedExec, raw, str); re.lastIndex = raw.lastIndex; return result; } var groups = state.groups; - var sticky = UNSUPPORTED_Y$2 && re.sticky; - var flags = regexpFlags.call(re); + var sticky = UNSUPPORTED_Y$1 && re.sticky; + var flags = call$I(regexpFlags, re); var source = re.source; var charsAdded = 0; var strCopy = str; if (sticky) { - flags = flags.replace('y', ''); - if (flags.indexOf('g') === -1) { + flags = replace$5(flags, 'y', ''); + if (indexOf$1(flags, 'g') === -1) { flags += 'g'; } - strCopy = str.slice(re.lastIndex); + strCopy = stringSlice$b(str, re.lastIndex); // Support anchored sticky behavior. - if (re.lastIndex > 0 && (!re.multiline || re.multiline && str.charAt(re.lastIndex - 1) !== '\n')) { + if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$b(str, re.lastIndex - 1) !== '\n')) { source = '(?: ' + source + ')'; strCopy = ' ' + strCopy; charsAdded++; @@ -7328,12 +7755,12 @@ if (PATCH) { } if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex; - match = nativeExec.call(sticky ? reCopy : re, strCopy); + match = call$I(nativeExec, sticky ? reCopy : re, strCopy); if (sticky) { if (match) { - match.input = match.input.slice(charsAdded); - match[0] = match[0].slice(charsAdded); + match.input = stringSlice$b(match.input, charsAdded); + match[0] = stringSlice$b(match[0], charsAdded); match.index = re.lastIndex; re.lastIndex += match[0].length; } else re.lastIndex = 0; @@ -7343,7 +7770,7 @@ if (PATCH) { 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 () { + call$I(nativeReplace, match[0], reCopy, function () { for (i = 1; i < arguments.length - 2; i++) { if (arguments[i] === undefined) match[i] = undefined; } @@ -7365,50 +7792,56 @@ if (PATCH) { var regexpExec$3 = patchedExec; var $$2r = _export; -var exec = regexpExec$3; +var exec$5 = regexpExec$3; // `RegExp.prototype.exec` method // https://tc39.es/ecma262/#sec-regexp.prototype.exec -$$2r({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, { - exec: exec +$$2r({ target: 'RegExp', proto: true, forced: /./.exec !== exec$5 }, { + exec: exec$5 }); var DESCRIPTORS$7 = descriptors; var objectDefinePropertyModule = objectDefineProperty; -var regExpFlags = regexpFlags$1; -var fails$h = fails$15; +var regExpFlags$3 = regexpFlags$1; +var fails$h = fails$17; + +var RegExpPrototype$5 = RegExp.prototype; var FORCED$a = DESCRIPTORS$7 && fails$h(function () { // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe - return Object.getOwnPropertyDescriptor(RegExp.prototype, 'flags').get.call({ dotAll: true, sticky: true }) !== 'sy'; + return Object.getOwnPropertyDescriptor(RegExpPrototype$5, 'flags').get.call({ dotAll: true, sticky: true }) !== 'sy'; }); // `RegExp.prototype.flags` getter // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags -if (FORCED$a) objectDefinePropertyModule.f(RegExp.prototype, 'flags', { +if (FORCED$a) objectDefinePropertyModule.f(RegExpPrototype$5, 'flags', { configurable: true, - get: regExpFlags + get: regExpFlags$3 }); +var global$H = global$1S; var DESCRIPTORS$6 = descriptors; -var UNSUPPORTED_Y$1 = regexpStickyHelpers.UNSUPPORTED_Y; +var MISSED_STICKY = regexpStickyHelpers.MISSED_STICKY; +var classof$4 = classofRaw$1; var defineProperty$3 = objectDefineProperty.f; -var getInternalState$b = internalState.get; +var getInternalState$a = internalState.get; + var RegExpPrototype$4 = RegExp.prototype; +var TypeError$j = global$H.TypeError; // `RegExp.prototype.sticky` getter // https://tc39.es/ecma262/#sec-get-regexp.prototype.sticky -if (DESCRIPTORS$6 && UNSUPPORTED_Y$1) { +if (DESCRIPTORS$6 && MISSED_STICKY) { defineProperty$3(RegExpPrototype$4, 'sticky', { configurable: true, get: function () { if (this === RegExpPrototype$4) return undefined; // We can't use InternalStateModule.getterFor because // we don't add metadata for regexps created by a literal. - if (this instanceof RegExp) { - return !!getInternalState$b(this).sticky; + if (classof$4(this) === 'RegExp') { + return !!getInternalState$a(this).sticky; } - throw TypeError('Incompatible receiver, RegExp required'); + throw TypeError$j('Incompatible receiver, RegExp required'); } }); } @@ -7416,8 +7849,11 @@ if (DESCRIPTORS$6 && UNSUPPORTED_Y$1) { // TODO: Remove from `core-js@4` since it's moved to entry points var $$2q = _export; +var global$G = global$1S; +var call$H = functionCall; +var uncurryThis$z = functionUncurryThis; var isCallable$a = isCallable$z; -var isObject$7 = isObject$C; +var isObject$7 = isObject$B; var DELEGATES_TO_EXEC = function () { var execCalled = false; @@ -7429,36 +7865,40 @@ var DELEGATES_TO_EXEC = function () { return re.test('abc') === true && execCalled; }(); -var nativeTest = /./.test; +var Error$1 = global$G.Error; +var un$Test = uncurryThis$z(/./.test); // `RegExp.prototype.test` method // https://tc39.es/ecma262/#sec-regexp.prototype.test $$2q({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, { test: function (str) { var exec = this.exec; - if (!isCallable$a(exec)) return nativeTest.call(this, str); - var result = exec.call(this, str); + if (!isCallable$a(exec)) return un$Test(this, str); + var result = call$H(exec, this, str); if (result !== null && !isObject$7(result)) { - throw new Error('RegExp exec method returned something other than an Object or null'); + throw new Error$1('RegExp exec method returned something other than an Object or null'); } return !!result; } }); +var uncurryThis$y = functionUncurryThis; var PROPER_FUNCTION_NAME$2 = functionName.PROPER; var redefine$6 = redefine$l.exports; var anObject$1b = anObject$1C; -var $toString$2 = toString$t; -var fails$g = fails$15; -var flags = regexpFlags$1; +var isPrototypeOf$4 = objectIsPrototypeOf; +var $toString$2 = toString$u; +var fails$g = fails$17; +var regExpFlags$2 = regexpFlags$1; var TO_STRING = 'toString'; var RegExpPrototype$3 = RegExp.prototype; -var nativeToString = RegExpPrototype$3[TO_STRING]; +var n$ToString = RegExpPrototype$3[TO_STRING]; +var getFlags$2 = uncurryThis$y(regExpFlags$2); -var NOT_GENERIC = fails$g(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; }); +var NOT_GENERIC = fails$g(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; }); // FF44- RegExp#toString has a wrong name -var INCORRECT_NAME = PROPER_FUNCTION_NAME$2 && nativeToString.name != TO_STRING; +var INCORRECT_NAME = PROPER_FUNCTION_NAME$2 && n$ToString.name != TO_STRING; // `RegExp.prototype.toString` method // https://tc39.es/ecma262/#sec-regexp.prototype.tostring @@ -7467,7 +7907,7 @@ if (NOT_GENERIC || INCORRECT_NAME) { var R = anObject$1b(this); var p = $toString$2(R.source); var rf = R.flags; - var f = $toString$2(rf === undefined && R instanceof RegExp && !('flags' in RegExpPrototype$3) ? flags.call(R) : rf); + var f = $toString$2(rf === undefined && isPrototypeOf$4(RegExpPrototype$3, R) && !('flags' in RegExpPrototype$3) ? getFlags$2(R) : rf); return '/' + p + '/' + f; }, { unsafe: true }); } @@ -7477,15 +7917,18 @@ var collectionStrong = collectionStrong$2; // `Set` constructor // https://tc39.es/ecma262/#sec-set-objects -var es_set = collection$2('Set', function (init) { +collection$2('Set', function (init) { return function Set() { return init(this, arguments.length ? arguments[0] : undefined); }; }, collectionStrong); var $$2p = _export; +var uncurryThis$x = functionUncurryThis; var requireObjectCoercible$d = requireObjectCoercible$j; var toIntegerOrInfinity$6 = toIntegerOrInfinity$i; -var toString$g = toString$t; -var fails$f = fails$15; +var toString$h = toString$u; +var fails$f = fails$17; + +var charAt$a = uncurryThis$x(''.charAt); var FORCED$9 = fails$f(function () { return '𠮷'.at(0) !== '\uD842'; @@ -7495,30 +7938,39 @@ var FORCED$9 = fails$f(function () { // https://github.com/tc39/proposal-relative-indexing-method $$2p({ target: 'String', proto: true, forced: FORCED$9 }, { at: function at(index) { - var S = toString$g(requireObjectCoercible$d(this)); + var S = toString$h(requireObjectCoercible$d(this)); var len = S.length; var relativeIndex = toIntegerOrInfinity$6(index); var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; - return (k < 0 || k >= len) ? undefined : S.charAt(k); + return (k < 0 || k >= len) ? undefined : charAt$a(S, k); } }); +var uncurryThis$w = functionUncurryThis; var toIntegerOrInfinity$5 = toIntegerOrInfinity$i; -var toString$f = toString$t; +var toString$g = toString$u; var requireObjectCoercible$c = requireObjectCoercible$j; +var charAt$9 = uncurryThis$w(''.charAt); +var charCodeAt$1 = uncurryThis$w(''.charCodeAt); +var stringSlice$a = uncurryThis$w(''.slice); + var createMethod$2 = function (CONVERT_TO_STRING) { return function ($this, pos) { - var S = toString$f(requireObjectCoercible$c($this)); + var S = toString$g(requireObjectCoercible$c($this)); var position = toIntegerOrInfinity$5(pos); var size = S.length; var first, second; if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined; - first = S.charCodeAt(position); + first = charCodeAt$1(S, 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; + || (second = charCodeAt$1(S, position + 1)) < 0xDC00 || second > 0xDFFF + ? CONVERT_TO_STRING + ? charAt$9(S, position) + : first + : CONVERT_TO_STRING + ? stringSlice$a(S, position, position + 2) + : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000; }; }; @@ -7542,15 +7994,18 @@ $$2o({ target: 'String', proto: true }, { } }); +var global$F = global$1S; var isRegExp$3 = isRegexp; +var TypeError$i = global$F.TypeError; + var notARegexp = function (it) { if (isRegExp$3(it)) { - throw TypeError("The method doesn't accept regular expressions"); + throw TypeError$i("The method doesn't accept regular expressions"); } return it; }; -var wellKnownSymbol$h = wellKnownSymbol$G; +var wellKnownSymbol$h = wellKnownSymbol$H; var MATCH = wellKnownSymbol$h('match'); @@ -7567,15 +8022,17 @@ var correctIsRegexpLogic = function (METHOD_NAME) { }; var $$2n = _export; +var uncurryThis$v = functionUncurryThis; var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f; var toLength$7 = toLength$d; -var toString$e = toString$t; +var toString$f = toString$u; var notARegExp$2 = notARegexp; var requireObjectCoercible$b = requireObjectCoercible$j; var correctIsRegExpLogic$2 = correctIsRegexpLogic; // eslint-disable-next-line es/no-string-prototype-endswith -- safe -var $endsWith = ''.endsWith; +var un$EndsWith = uncurryThis$v(''.endsWith); +var slice = uncurryThis$v(''.slice); var min$5 = Math.min; var CORRECT_IS_REGEXP_LOGIC$1 = correctIsRegExpLogic$2('endsWith'); @@ -7589,24 +8046,28 @@ var MDN_POLYFILL_BUG$1 = !CORRECT_IS_REGEXP_LOGIC$1 && !!function () { // https://tc39.es/ecma262/#sec-string.prototype.endswith $$2n({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_REGEXP_LOGIC$1 }, { endsWith: function endsWith(searchString /* , endPosition = @length */) { - var that = toString$e(requireObjectCoercible$b(this)); + var that = toString$f(requireObjectCoercible$b(this)); notARegExp$2(searchString); var endPosition = arguments.length > 1 ? arguments[1] : undefined; var len = that.length; var end = endPosition === undefined ? len : min$5(toLength$7(endPosition), len); - var search = toString$e(searchString); - return $endsWith - ? $endsWith.call(that, search, end) - : that.slice(end - search.length, end) === search; + var search = toString$f(searchString); + return un$EndsWith + ? un$EndsWith(that, search, end) + : slice(that, end - search.length, end) === search; } }); var $$2m = _export; -var toAbsoluteIndex$1 = toAbsoluteIndex$8; +var global$E = global$1S; +var uncurryThis$u = functionUncurryThis; +var toAbsoluteIndex$1 = toAbsoluteIndex$9; -var fromCharCode$1 = String.fromCharCode; +var RangeError$7 = global$E.RangeError; +var fromCharCode$2 = String.fromCharCode; // eslint-disable-next-line es/no-string-fromcodepoint -- required for testing var $fromCodePoint = String.fromCodePoint; +var join$5 = uncurryThis$u([].join); // length should be 1, old FF problem var INCORRECT_LENGTH = !!$fromCodePoint && $fromCodePoint.length != 1; @@ -7622,66 +8083,72 @@ $$2m({ target: 'String', stat: true, forced: INCORRECT_LENGTH }, { var code; while (length > i) { code = +arguments[i++]; - if (toAbsoluteIndex$1(code, 0x10FFFF) !== code) throw RangeError(code + ' is not a valid code point'); - elements.push(code < 0x10000 - ? fromCharCode$1(code) - : fromCharCode$1(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00) - ); - } return elements.join(''); + if (toAbsoluteIndex$1(code, 0x10FFFF) !== code) throw RangeError$7(code + ' is not a valid code point'); + elements[i] = code < 0x10000 + ? fromCharCode$2(code) + : fromCharCode$2(((code -= 0x10000) >> 10) + 0xD800, code % 0x400 + 0xDC00); + } return join$5(elements, ''); } }); var $$2l = _export; +var uncurryThis$t = functionUncurryThis; var notARegExp$1 = notARegexp; var requireObjectCoercible$a = requireObjectCoercible$j; -var toString$d = toString$t; +var toString$e = toString$u; var correctIsRegExpLogic$1 = correctIsRegexpLogic; +var stringIndexOf$3 = uncurryThis$t(''.indexOf); + // `String.prototype.includes` method // https://tc39.es/ecma262/#sec-string.prototype.includes $$2l({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes') }, { includes: function includes(searchString /* , position = 0 */) { - return !!~toString$d(requireObjectCoercible$a(this)) - .indexOf(toString$d(notARegExp$1(searchString)), arguments.length > 1 ? arguments[1] : undefined); + return !!~stringIndexOf$3( + toString$e(requireObjectCoercible$a(this)), + toString$e(notARegExp$1(searchString)), + arguments.length > 1 ? arguments[1] : undefined + ); } }); -var charAt$3 = stringMultibyte.charAt; -var toString$c = toString$t; +var charAt$8 = stringMultibyte.charAt; +var toString$d = toString$u; var InternalStateModule$d = internalState; var defineIterator = defineIterator$3; var STRING_ITERATOR$1 = 'String Iterator'; var setInternalState$d = InternalStateModule$d.set; -var getInternalState$a = InternalStateModule$d.getterFor(STRING_ITERATOR$1); +var getInternalState$9 = InternalStateModule$d.getterFor(STRING_ITERATOR$1); // `String.prototype[@@iterator]` method // https://tc39.es/ecma262/#sec-string.prototype-@@iterator defineIterator(String, 'String', function (iterated) { setInternalState$d(this, { type: STRING_ITERATOR$1, - string: toString$c(iterated), + string: toString$d(iterated), index: 0 }); // `%StringIteratorPrototype%.next` method // https://tc39.es/ecma262/#sec-%stringiteratorprototype%.next }, function next() { - var state = getInternalState$a(this); + var state = getInternalState$9(this); var string = state.string; var index = state.index; var point; if (index >= string.length) return { value: undefined, done: true }; - point = charAt$3(string, index); + point = charAt$8(string, index); state.index += point.length; return { value: point, done: false }; }); // TODO: Remove from `core-js@4` since it's moved to entry points +var uncurryThis$s = functionUncurryThis; var redefine$5 = redefine$l.exports; var regexpExec$2 = regexpExec$3; -var fails$e = fails$15; -var wellKnownSymbol$g = wellKnownSymbol$G; +var fails$e = fails$17; +var wellKnownSymbol$g = wellKnownSymbol$H; var createNonEnumerableProperty$7 = createNonEnumerableProperty$h; var SPECIES = wellKnownSymbol$g('species'); @@ -7726,17 +8193,18 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) { !DELEGATES_TO_EXEC || FORCED ) { - var nativeRegExpMethod = /./[SYMBOL]; + var uncurriedNativeRegExpMethod = uncurryThis$s(/./[SYMBOL]); var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) { + var uncurriedNativeMethod = uncurryThis$s(nativeMethod); var $exec = regexp.exec; if ($exec === regexpExec$2 || $exec === RegExpPrototype$2.exec) { 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: uncurriedNativeRegExpMethod(regexp, str, arg2) }; } - return { done: true, value: nativeMethod.call(str, regexp, arg2) }; + return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) }; } return { done: false }; }); @@ -7748,36 +8216,41 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) { if (SHAM) createNonEnumerableProperty$7(RegExpPrototype$2[SYMBOL], 'sham', true); }; -var charAt$2 = stringMultibyte.charAt; +var charAt$7 = stringMultibyte.charAt; // `AdvanceStringIndex` abstract operation // https://tc39.es/ecma262/#sec-advancestringindex var advanceStringIndex$4 = function (S, index, unicode) { - return index + (unicode ? charAt$2(S, index).length : 1); + return index + (unicode ? charAt$7(S, index).length : 1); }; +var global$D = global$1S; +var call$G = functionCall; var anObject$1a = anObject$1C; var isCallable$9 = isCallable$z; var classof$3 = classofRaw$1; var regexpExec$1 = regexpExec$3; +var TypeError$h = global$D.TypeError; + // `RegExpExec` abstract operation // https://tc39.es/ecma262/#sec-regexpexec var regexpExecAbstract = function (R, S) { var exec = R.exec; if (isCallable$9(exec)) { - var result = exec.call(R, S); + var result = call$G(exec, R, S); if (result !== null) anObject$1a(result); return result; } - if (classof$3(R) === 'RegExp') return regexpExec$1.call(R, S); - throw TypeError('RegExp#exec called on incompatible receiver'); + if (classof$3(R) === 'RegExp') return call$G(regexpExec$1, R, S); + throw TypeError$h('RegExp#exec called on incompatible receiver'); }; +var call$F = functionCall; var fixRegExpWellKnownSymbolLogic$3 = fixRegexpWellKnownSymbolLogic; var anObject$19 = anObject$1C; var toLength$6 = toLength$d; -var toString$b = toString$t; +var toString$c = toString$u; var requireObjectCoercible$9 = requireObjectCoercible$j; var getMethod$d = getMethod$h; var advanceStringIndex$3 = advanceStringIndex$4; @@ -7791,13 +8264,13 @@ fixRegExpWellKnownSymbolLogic$3('match', function (MATCH, nativeMatch, maybeCall function match(regexp) { var O = requireObjectCoercible$9(this); var matcher = regexp == undefined ? undefined : getMethod$d(regexp, MATCH); - return matcher ? matcher.call(regexp, O) : new RegExp(regexp)[MATCH](toString$b(O)); + return matcher ? call$F(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$c(O)); }, // `RegExp.prototype[@@match]` method // https://tc39.es/ecma262/#sec-regexp.prototype-@@match function (string) { var rx = anObject$19(this); - var S = toString$b(string); + var S = toString$c(string); var res = maybeCallNative(nativeMatch, rx, S); if (res.done) return res.value; @@ -7810,7 +8283,7 @@ fixRegExpWellKnownSymbolLogic$3('match', function (MATCH, nativeMatch, maybeCall var n = 0; var result; while ((result = regExpExec$3(rx, S)) !== null) { - var matchStr = toString$b(result[0]); + var matchStr = toString$c(result[0]); A[n] = matchStr; if (matchStr === '') rx.lastIndex = advanceStringIndex$3(S, toLength$6(rx.lastIndex), fullUnicode); n++; @@ -7822,18 +8295,22 @@ fixRegExpWellKnownSymbolLogic$3('match', function (MATCH, nativeMatch, maybeCall /* eslint-disable es/no-string-prototype-matchall -- safe */ var $$2k = _export; +var global$C = global$1S; +var call$E = functionCall; +var uncurryThis$r = functionUncurryThis; var createIteratorConstructor$5 = createIteratorConstructor$7; var requireObjectCoercible$8 = requireObjectCoercible$j; var toLength$5 = toLength$d; -var toString$a = toString$t; +var toString$b = toString$u; var anObject$18 = anObject$1C; var classof$2 = classofRaw$1; +var isPrototypeOf$3 = objectIsPrototypeOf; var isRegExp$2 = isRegexp; -var getRegExpFlags$1 = regexpFlags$1; +var regExpFlags$1 = regexpFlags$1; var getMethod$c = getMethod$h; var redefine$4 = redefine$l.exports; -var fails$d = fails$15; -var wellKnownSymbol$f = wellKnownSymbol$G; +var fails$d = fails$17; +var wellKnownSymbol$f = wellKnownSymbol$H; var speciesConstructor$b = speciesConstructor$f; var advanceStringIndex$2 = advanceStringIndex$4; var regExpExec$2 = regexpExecAbstract; @@ -7844,33 +8321,35 @@ var MATCH_ALL = wellKnownSymbol$f('matchAll'); var REGEXP_STRING = 'RegExp String'; var REGEXP_STRING_ITERATOR = REGEXP_STRING + ' Iterator'; var setInternalState$c = InternalStateModule$c.set; -var getInternalState$9 = InternalStateModule$c.getterFor(REGEXP_STRING_ITERATOR); +var getInternalState$8 = InternalStateModule$c.getterFor(REGEXP_STRING_ITERATOR); var RegExpPrototype$1 = RegExp.prototype; -var nativeMatchAll = ''.matchAll; +var TypeError$g = global$C.TypeError; +var getFlags$1 = uncurryThis$r(regExpFlags$1); +var stringIndexOf$2 = uncurryThis$r(''.indexOf); +var un$MatchAll = uncurryThis$r(''.matchAll); -var WORKS_WITH_NON_GLOBAL_REGEX = !!nativeMatchAll && !fails$d(function () { - 'a'.matchAll(/./); +var WORKS_WITH_NON_GLOBAL_REGEX = !!un$MatchAll && !fails$d(function () { + un$MatchAll('a', /./); }); -// eslint-disable-next-line max-len -- ignore -var $RegExpStringIterator = createIteratorConstructor$5(function RegExpStringIterator(regexp, string, global, fullUnicode) { +var $RegExpStringIterator = createIteratorConstructor$5(function RegExpStringIterator(regexp, string, $global, fullUnicode) { setInternalState$c(this, { type: REGEXP_STRING_ITERATOR, regexp: regexp, string: string, - global: global, + global: $global, unicode: fullUnicode, done: false }); }, REGEXP_STRING, function next() { - var state = getInternalState$9(this); + var state = getInternalState$8(this); if (state.done) return { value: undefined, done: true }; var R = state.regexp; var S = state.string; var match = regExpExec$2(R, S); if (match === null) return { value: undefined, done: state.done = true }; if (state.global) { - if (toString$a(match[0]) === '') R.lastIndex = advanceStringIndex$2(S, toLength$5(R.lastIndex), state.unicode); + if (toString$b(match[0]) === '') R.lastIndex = advanceStringIndex$2(S, toLength$5(R.lastIndex), state.unicode); return { value: match, done: false }; } state.done = true; @@ -7879,19 +8358,19 @@ var $RegExpStringIterator = createIteratorConstructor$5(function RegExpStringIte var $matchAll = function (string) { var R = anObject$18(this); - var S = toString$a(string); - var C, flagsValue, flags, matcher, global, fullUnicode; + var S = toString$b(string); + var C, flagsValue, flags, matcher, $global, fullUnicode; C = speciesConstructor$b(R, RegExp); flagsValue = R.flags; - if (flagsValue === undefined && R instanceof RegExp && !('flags' in RegExpPrototype$1)) { - flagsValue = getRegExpFlags$1.call(R); + if (flagsValue === undefined && isPrototypeOf$3(RegExpPrototype$1, R) && !('flags' in RegExpPrototype$1)) { + flagsValue = getFlags$1(R); } - flags = flagsValue === undefined ? '' : toString$a(flagsValue); + flags = flagsValue === undefined ? '' : toString$b(flagsValue); matcher = new C(C === RegExp ? R.source : R, flags); - global = !!~flags.indexOf('g'); - fullUnicode = !!~flags.indexOf('u'); + $global = !!~stringIndexOf$2(flags, 'g'); + fullUnicode = !!~stringIndexOf$2(flags, 'u'); matcher.lastIndex = toLength$5(R.lastIndex); - return new $RegExpStringIterator(matcher, S, global, fullUnicode); + return new $RegExpStringIterator(matcher, S, $global, fullUnicode); }; // `String.prototype.matchAll` method @@ -7902,18 +8381,18 @@ $$2k({ target: 'String', proto: true, forced: WORKS_WITH_NON_GLOBAL_REGEX }, { var flags, S, matcher, rx; if (regexp != null) { if (isRegExp$2(regexp)) { - flags = toString$a(requireObjectCoercible$8('flags' in RegExpPrototype$1 + flags = toString$b(requireObjectCoercible$8('flags' in RegExpPrototype$1 ? regexp.flags - : getRegExpFlags$1.call(regexp) + : getFlags$1(regexp) )); - if (!~flags.indexOf('g')) throw TypeError('`.matchAll` does not allow non-global regexes'); + if (!~stringIndexOf$2(flags, 'g')) throw TypeError$g('`.matchAll` does not allow non-global regexes'); } - if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll.apply(O, arguments); + if (WORKS_WITH_NON_GLOBAL_REGEX) return un$MatchAll(O, regexp); matcher = getMethod$c(regexp, MATCH_ALL); if (matcher === undefined && IS_PURE$D && classof$2(regexp) == 'RegExp') matcher = $matchAll; - if (matcher) return matcher.call(regexp, O); - } else if (WORKS_WITH_NON_GLOBAL_REGEX) return nativeMatchAll.apply(O, arguments); - S = toString$a(O); + if (matcher) return call$E(matcher, regexp, O); + } else if (WORKS_WITH_NON_GLOBAL_REGEX) return un$MatchAll(O, regexp); + S = toString$b(O); rx = new RegExp(regexp, 'g'); return rx[MATCH_ALL](S); } @@ -7951,28 +8430,28 @@ $$2i({ target: 'String', proto: true, forced: WEBKIT_BUG }, { }); var $$2h = _export; -var toIndexedObject = toIndexedObject$d; +var uncurryThis$q = functionUncurryThis; +var toIndexedObject = toIndexedObject$e; var toObject$c = toObject$z; -var toString$9 = toString$t; -var lengthOfArrayLike$9 = lengthOfArrayLike$q; +var toString$a = toString$u; +var lengthOfArrayLike$8 = lengthOfArrayLike$q; -var ArrayPrototype = Array.prototype; -var push$3 = ArrayPrototype.push; -var join = ArrayPrototype.join; +var push$c = uncurryThis$q([].push); +var join$4 = uncurryThis$q([].join); // `String.raw` method // https://tc39.es/ecma262/#sec-string.raw $$2h({ target: 'String', stat: true }, { raw: function raw(template) { var rawTemplate = toIndexedObject(toObject$c(template).raw); - var literalSegments = lengthOfArrayLike$9(rawTemplate); + var literalSegments = lengthOfArrayLike$8(rawTemplate); var argumentsLength = arguments.length; var elements = []; var i = 0; while (literalSegments > i) { - push$3.call(elements, toString$9(rawTemplate[i++])); - if (i === literalSegments) return join.call(elements, ''); - if (i < argumentsLength) push$3.call(elements, toString$9(arguments[i])); + push$c(elements, toString$a(rawTemplate[i++])); + if (i === literalSegments) return join$4(elements, ''); + if (i < argumentsLength) push$c(elements, toString$a(arguments[i])); } } }); @@ -7986,10 +8465,13 @@ $$2g({ target: 'String', proto: true }, { repeat: repeat }); +var uncurryThis$p = functionUncurryThis; var toObject$b = toObject$z; var floor$3 = Math.floor; -var replace$1 = ''.replace; +var charAt$6 = uncurryThis$p(''.charAt); +var replace$4 = uncurryThis$p(''.replace); +var stringSlice$9 = uncurryThis$p(''.slice); var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g; var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g; @@ -8003,15 +8485,15 @@ var getSubstitution$2 = function (matched, str, position, captures, namedCapture namedCaptures = toObject$b(namedCaptures); symbols = SUBSTITUTION_SYMBOLS; } - return replace$1.call(replacement, symbols, function (match, ch) { + return replace$4(replacement, symbols, function (match, ch) { var capture; - switch (ch.charAt(0)) { + switch (charAt$6(ch, 0)) { case '$': return '$'; case '&': return matched; - case '`': return str.slice(0, position); - case "'": return str.slice(tailPos); + case '`': return stringSlice$9(str, 0, position); + case "'": return stringSlice$9(str, tailPos); case '<': - capture = namedCaptures[ch.slice(1, -1)]; + capture = namedCaptures[stringSlice$9(ch, 1, -1)]; break; default: // \d\d? var n = +ch; @@ -8019,7 +8501,7 @@ var getSubstitution$2 = function (matched, str, position, captures, namedCapture if (n > m) { var f = floor$3(n / 10); if (f === 0) return match; - if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1); + if (f <= m) return captures[f - 1] === undefined ? charAt$6(ch, 1) : captures[f - 1] + charAt$6(ch, 1); return match; } capture = captures[n - 1]; @@ -8028,23 +8510,30 @@ var getSubstitution$2 = function (matched, str, position, captures, namedCapture }); }; +var apply$j = functionApply$1; +var call$D = functionCall; +var uncurryThis$o = functionUncurryThis; var fixRegExpWellKnownSymbolLogic$2 = fixRegexpWellKnownSymbolLogic; -var fails$c = fails$15; +var fails$c = fails$17; var anObject$17 = anObject$1C; var isCallable$8 = isCallable$z; var toIntegerOrInfinity$4 = toIntegerOrInfinity$i; var toLength$4 = toLength$d; -var toString$8 = toString$t; +var toString$9 = toString$u; var requireObjectCoercible$7 = requireObjectCoercible$j; var advanceStringIndex$1 = advanceStringIndex$4; var getMethod$b = getMethod$h; var getSubstitution$1 = getSubstitution$2; var regExpExec$1 = regexpExecAbstract; -var wellKnownSymbol$e = wellKnownSymbol$G; +var wellKnownSymbol$e = wellKnownSymbol$H; var REPLACE$1 = wellKnownSymbol$e('replace'); var max$3 = Math.max; var min$4 = Math.min; +var concat$1 = uncurryThis$o([].concat); +var push$b = uncurryThis$o([].push); +var stringIndexOf$1 = uncurryThis$o(''.indexOf); +var stringSlice$8 = uncurryThis$o(''.slice); var maybeToString = function (it) { return it === undefined ? it : String(it); @@ -8087,26 +8576,26 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall var O = requireObjectCoercible$7(this); var replacer = searchValue == undefined ? undefined : getMethod$b(searchValue, REPLACE$1); return replacer - ? replacer.call(searchValue, O, replaceValue) - : nativeReplace.call(toString$8(O), searchValue, replaceValue); + ? call$D(replacer, searchValue, O, replaceValue) + : call$D(nativeReplace, toString$9(O), searchValue, replaceValue); }, // `RegExp.prototype[@@replace]` method // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace function (string, replaceValue) { var rx = anObject$17(this); - var S = toString$8(string); + var S = toString$9(string); if ( - typeof replaceValue === 'string' && - replaceValue.indexOf(UNSAFE_SUBSTITUTE) === -1 && - replaceValue.indexOf('$<') === -1 + typeof replaceValue == 'string' && + stringIndexOf$1(replaceValue, UNSAFE_SUBSTITUTE) === -1 && + stringIndexOf$1(replaceValue, '$<') === -1 ) { var res = maybeCallNative(nativeReplace, rx, S, replaceValue); if (res.done) return res.value; } var functionalReplace = isCallable$8(replaceValue); - if (!functionalReplace) replaceValue = toString$8(replaceValue); + if (!functionalReplace) replaceValue = toString$9(replaceValue); var global = rx.global; if (global) { @@ -8118,10 +8607,10 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall var result = regExpExec$1(rx, S); if (result === null) break; - results.push(result); + push$b(results, result); if (!global) break; - var matchStr = toString$8(result[0]); + var matchStr = toString$9(result[0]); if (matchStr === '') rx.lastIndex = advanceStringIndex$1(S, toLength$4(rx.lastIndex), fullUnicode); } @@ -8130,7 +8619,7 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall for (var i = 0; i < results.length; i++) { result = results[i]; - var matched = toString$8(result[0]); + var matched = toString$9(result[0]); var position = max$3(min$4(toIntegerOrInfinity$4(result.index), S.length), 0); var captures = []; // NOTE: This is equivalent to @@ -8138,43 +8627,51 @@ fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCall // 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])); + for (var j = 1; j < result.length; j++) push$b(captures, maybeToString(result[j])); var namedCaptures = result.groups; if (functionalReplace) { - var replacerArgs = [matched].concat(captures, position, S); - if (namedCaptures !== undefined) replacerArgs.push(namedCaptures); - var replacement = toString$8(replaceValue.apply(undefined, replacerArgs)); + var replacerArgs = concat$1([matched], captures, position, S); + if (namedCaptures !== undefined) push$b(replacerArgs, namedCaptures); + var replacement = toString$9(apply$j(replaceValue, undefined, replacerArgs)); } else { replacement = getSubstitution$1(matched, S, position, captures, namedCaptures, replaceValue); } if (position >= nextSourcePosition) { - accumulatedResult += S.slice(nextSourcePosition, position) + replacement; + accumulatedResult += stringSlice$8(S, nextSourcePosition, position) + replacement; nextSourcePosition = position + matched.length; } } - return accumulatedResult + S.slice(nextSourcePosition); + return accumulatedResult + stringSlice$8(S, nextSourcePosition); } ]; }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE); var $$2f = _export; +var global$B = global$1S; +var call$C = functionCall; +var uncurryThis$n = functionUncurryThis; var requireObjectCoercible$6 = requireObjectCoercible$j; var isCallable$7 = isCallable$z; var isRegExp$1 = isRegexp; -var toString$7 = toString$t; +var toString$8 = toString$u; var getMethod$a = getMethod$h; -var getRegExpFlags = regexpFlags$1; +var regExpFlags = regexpFlags$1; var getSubstitution = getSubstitution$2; -var wellKnownSymbol$d = wellKnownSymbol$G; +var wellKnownSymbol$d = wellKnownSymbol$H; var REPLACE = wellKnownSymbol$d('replace'); var RegExpPrototype = RegExp.prototype; +var TypeError$f = global$B.TypeError; +var getFlags = uncurryThis$n(regExpFlags); +var indexOf = uncurryThis$n(''.indexOf); +uncurryThis$n(''.replace); +var stringSlice$7 = uncurryThis$n(''.slice); var max$2 = Math.max; var stringIndexOf = function (string, searchValue, fromIndex) { if (fromIndex > string.length) return -1; if (searchValue === '') return fromIndex; - return string.indexOf(searchValue, fromIndex); + return indexOf(string, searchValue, fromIndex); }; // `String.prototype.replaceAll` method @@ -8189,46 +8686,45 @@ $$2f({ target: 'String', proto: true }, { if (searchValue != null) { IS_REG_EXP = isRegExp$1(searchValue); if (IS_REG_EXP) { - flags = toString$7(requireObjectCoercible$6('flags' in RegExpPrototype + flags = toString$8(requireObjectCoercible$6('flags' in RegExpPrototype ? searchValue.flags - : getRegExpFlags.call(searchValue) + : getFlags(searchValue) )); - if (!~flags.indexOf('g')) throw TypeError('`.replaceAll` does not allow non-global regexes'); + if (!~indexOf(flags, 'g')) throw TypeError$f('`.replaceAll` does not allow non-global regexes'); } replacer = getMethod$a(searchValue, REPLACE); if (replacer) { - return replacer.call(searchValue, O, replaceValue); + return call$C(replacer, searchValue, O, replaceValue); } } - string = toString$7(O); - searchString = toString$7(searchValue); + string = toString$8(O); + searchString = toString$8(searchValue); functionalReplace = isCallable$7(replaceValue); - if (!functionalReplace) replaceValue = toString$7(replaceValue); + if (!functionalReplace) replaceValue = toString$8(replaceValue); searchLength = searchString.length; advanceBy = max$2(1, searchLength); position = stringIndexOf(string, searchString, 0); while (position !== -1) { - if (functionalReplace) { - replacement = toString$7(replaceValue(searchString, position, string)); - } else { - replacement = getSubstitution(searchString, string, position, [], undefined, replaceValue); - } - result += string.slice(endOfLastMatch, position) + replacement; + replacement = functionalReplace + ? toString$8(replaceValue(searchString, position, string)) + : getSubstitution(searchString, string, position, [], undefined, replaceValue); + result += stringSlice$7(string, endOfLastMatch, position) + replacement; endOfLastMatch = position + searchLength; position = stringIndexOf(string, searchString, position + advanceBy); } if (endOfLastMatch < string.length) { - result += string.slice(endOfLastMatch); + result += stringSlice$7(string, endOfLastMatch); } return result; } }); +var call$B = functionCall; var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic; var anObject$16 = anObject$1C; var requireObjectCoercible$5 = requireObjectCoercible$j; var sameValue = sameValue$1; -var toString$6 = toString$t; +var toString$7 = toString$u; var getMethod$9 = getMethod$h; var regExpExec = regexpExecAbstract; @@ -8240,13 +8736,13 @@ fixRegExpWellKnownSymbolLogic$1('search', function (SEARCH, nativeSearch, maybeC function search(regexp) { var O = requireObjectCoercible$5(this); var searcher = regexp == undefined ? undefined : getMethod$9(regexp, SEARCH); - return searcher ? searcher.call(regexp, O) : new RegExp(regexp)[SEARCH](toString$6(O)); + return searcher ? call$B(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$7(O)); }, // `RegExp.prototype[@@search]` method // https://tc39.es/ecma262/#sec-regexp.prototype-@@search function (string) { var rx = anObject$16(this); - var S = toString$6(string); + var S = toString$7(string); var res = maybeCallNative(nativeSearch, rx, S); if (res.done) return res.value; @@ -8260,6 +8756,9 @@ fixRegExpWellKnownSymbolLogic$1('search', function (SEARCH, nativeSearch, maybeC ]; }); +var apply$i = functionApply$1; +var call$A = functionCall; +var uncurryThis$m = functionUncurryThis; var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic; var isRegExp = isRegexp; var anObject$15 = anObject$1C; @@ -8267,17 +8766,21 @@ var requireObjectCoercible$4 = requireObjectCoercible$j; var speciesConstructor$a = speciesConstructor$f; var advanceStringIndex = advanceStringIndex$4; var toLength$3 = toLength$d; -var toString$5 = toString$t; +var toString$6 = toString$u; var getMethod$8 = getMethod$h; +var arraySlice$5 = arraySliceSimple; var callRegExpExec = regexpExecAbstract; var regexpExec = regexpExec$3; var stickyHelpers = regexpStickyHelpers; -var fails$b = fails$15; +var fails$b = fails$17; var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y; -var arrayPush = [].push; -var min$3 = Math.min; var MAX_UINT32 = 0xFFFFFFFF; +var min$3 = Math.min; +var $push = [].push; +var exec$4 = uncurryThis$m(/./.exec); +var push$a = uncurryThis$m($push); +var stringSlice$6 = uncurryThis$m(''.slice); // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec // Weex JS has frozen built-in prototypes, so use try / catch wrapper @@ -8305,13 +8808,13 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa ) { // based on es5-shim implementation, need to rework it internalSplit = function (separator, limit) { - var string = toString$5(requireObjectCoercible$4(this)); + var string = toString$6(requireObjectCoercible$4(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); + return call$A(nativeSplit, string, separator, lim); } var output = []; var flags = (separator.ignoreCase ? 'i' : '') + @@ -8322,11 +8825,11 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa // 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)) { + while (match = call$A(regexpExec, 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)); + push$a(output, stringSlice$6(string, lastLastIndex, match.index)); + if (match.length > 1 && match.index < string.length) apply$i($push, output, arraySlice$5(match, 1)); lastLength = match[0].length; lastLastIndex = lastIndex; if (output.length >= lim) break; @@ -8334,14 +8837,14 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa 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; + if (lastLength || !exec$4(separatorCopy, '')) push$a(output, ''); + } else push$a(output, stringSlice$6(string, lastLastIndex)); + return output.length > lim ? arraySlice$5(output, 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); + return separator === undefined && limit === 0 ? [] : call$A(nativeSplit, this, separator, limit); }; } else internalSplit = nativeSplit; @@ -8352,8 +8855,8 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa var O = requireObjectCoercible$4(this); var splitter = separator == undefined ? undefined : getMethod$8(separator, SPLIT); return splitter - ? splitter.call(separator, O, limit) - : internalSplit.call(toString$5(O), separator, limit); + ? call$A(splitter, separator, O, limit) + : call$A(internalSplit, toString$6(O), separator, limit); }, // `RegExp.prototype[@@split]` method // https://tc39.es/ecma262/#sec-regexp.prototype-@@split @@ -8362,7 +8865,7 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa // the 'y' flag. function (string, limit) { var rx = anObject$15(this); - var S = toString$5(string); + var S = toString$6(string); var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit); if (res.done) return res.value; @@ -8386,7 +8889,7 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa var A = []; while (q < S.length) { splitter.lastIndex = UNSUPPORTED_Y ? 0 : q; - var z = callRegExpExec(splitter, UNSUPPORTED_Y ? S.slice(q) : S); + var z = callRegExpExec(splitter, UNSUPPORTED_Y ? stringSlice$6(S, q) : S); var e; if ( z === null || @@ -8394,31 +8897,33 @@ fixRegExpWellKnownSymbolLogic('split', function (SPLIT, nativeSplit, maybeCallNa ) { q = advanceStringIndex(S, q, unicodeMatching); } else { - A.push(S.slice(p, q)); + push$a(A, stringSlice$6(S, p, q)); if (A.length === lim) return A; for (var i = 1; i <= z.length - 1; i++) { - A.push(z[i]); + push$a(A, z[i]); if (A.length === lim) return A; } q = p = e; } } - A.push(S.slice(p)); + push$a(A, stringSlice$6(S, p)); return A; } ]; }, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y); var $$2e = _export; +var uncurryThis$l = functionUncurryThis; var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f; var toLength$2 = toLength$d; -var toString$4 = toString$t; +var toString$5 = toString$u; var notARegExp = notARegexp; var requireObjectCoercible$3 = requireObjectCoercible$j; var correctIsRegExpLogic = correctIsRegexpLogic; // eslint-disable-next-line es/no-string-prototype-startswith -- safe -var $startsWith = ''.startsWith; +var un$StartsWith = uncurryThis$l(''.startsWith); +var stringSlice$5 = uncurryThis$l(''.slice); var min$2 = Math.min; var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith'); @@ -8432,22 +8937,23 @@ var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () { // https://tc39.es/ecma262/#sec-string.prototype.startswith $$2e({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, { startsWith: function startsWith(searchString /* , position = 0 */) { - var that = toString$4(requireObjectCoercible$3(this)); + var that = toString$5(requireObjectCoercible$3(this)); notARegExp(searchString); var index = toLength$2(min$2(arguments.length > 1 ? arguments[1] : undefined, that.length)); - var search = toString$4(searchString); - return $startsWith - ? $startsWith.call(that, search, index) - : that.slice(index, index + search.length) === search; + var search = toString$5(searchString); + return un$StartsWith + ? un$StartsWith(that, search, index) + : stringSlice$5(that, index, index + search.length) === search; } }); var $$2d = _export; +var uncurryThis$k = functionUncurryThis; var requireObjectCoercible$2 = requireObjectCoercible$j; var toIntegerOrInfinity$3 = toIntegerOrInfinity$i; -var toString$3 = toString$t; +var toString$4 = toString$u; -var slice$1 = ''.slice; +var stringSlice$4 = uncurryThis$k(''.slice); var max$1 = Math.max; var min$1 = Math.min; @@ -8458,7 +8964,7 @@ var FORCED$8 = !''.substr || 'ab'.substr(-1) !== 'b'; // https://tc39.es/ecma262/#sec-string.prototype.substr $$2d({ target: 'String', proto: true, forced: FORCED$8 }, { substr: function substr(start, length) { - var that = toString$3(requireObjectCoercible$2(this)); + var that = toString$4(requireObjectCoercible$2(this)); var size = that.length; var intStart = toIntegerOrInfinity$3(start); var intLength, intEnd; @@ -8467,12 +8973,12 @@ $$2d({ target: 'String', proto: true, forced: FORCED$8 }, { intLength = length === undefined ? size : toIntegerOrInfinity$3(length); if (intLength <= 0 || intLength === Infinity) return ''; intEnd = min$1(intStart + intLength, size); - return intStart >= intEnd ? '' : slice$1.call(that, intStart, intEnd); + return intStart >= intEnd ? '' : stringSlice$4(that, intStart, intEnd); } }); var PROPER_FUNCTION_NAME$1 = functionName.PROPER; -var fails$a = fails$15; +var fails$a = fails$17; var whitespaces = whitespaces$4; var non = '\u200B\u0085\u180E'; @@ -8537,21 +9043,23 @@ $$2a({ target: 'String', proto: true, name: 'trimStart', forced: FORCED$6 }, { trimLeft: trimStart }); +var uncurryThis$j = functionUncurryThis; var requireObjectCoercible$1 = requireObjectCoercible$j; -var toString$2 = toString$t; +var toString$3 = toString$u; var quot = /"/g; +var replace$3 = uncurryThis$j(''.replace); // `CreateHTML` abstract operation // https://tc39.es/ecma262/#sec-createhtml var createHtml = function (string, tag, attribute, value) { - var S = toString$2(requireObjectCoercible$1(string)); + var S = toString$3(requireObjectCoercible$1(string)); var p1 = '<' + tag; - if (attribute !== '') p1 += ' ' + attribute + '="' + toString$2(value).replace(quot, '"') + '"'; + if (attribute !== '') p1 += ' ' + attribute + '="' + replace$3(toString$3(value), quot, '"') + '"'; return p1 + '>' + S + ''; }; -var fails$9 = fails$15; +var fails$9 = fails$17; // check the existence of a method, lowercase // of a tag and escaping quotes in arguments @@ -8722,13 +9230,13 @@ var typedArrayConstructor = {exports: {}}; /* eslint-disable no-new -- required for testing */ -var global$g = global$R; -var fails$8 = fails$15; +var global$A = global$1S; +var fails$8 = fails$17; var checkCorrectnessOfIteration = checkCorrectnessOfIteration$4; var NATIVE_ARRAY_BUFFER_VIEWS$1 = arrayBufferViewCore.NATIVE_ARRAY_BUFFER_VIEWS; -var ArrayBuffer$2 = global$g.ArrayBuffer; -var Int8Array$2 = global$g.Int8Array; +var ArrayBuffer$2 = global$A.ArrayBuffer; +var Int8Array$2 = global$A.Int8Array; var typedArrayConstructorsRequireWrappers = !NATIVE_ARRAY_BUFFER_VIEWS$1 || !fails$8(function () { Int8Array$2(1); @@ -8744,29 +9252,36 @@ var typedArrayConstructorsRequireWrappers = !NATIVE_ARRAY_BUFFER_VIEWS$1 || !fai return new Int8Array$2(new ArrayBuffer$2(2), 1, undefined).length !== 1; }); +var global$z = global$1S; var toIntegerOrInfinity$2 = toIntegerOrInfinity$i; +var RangeError$6 = global$z.RangeError; + var toPositiveInteger$5 = function (it) { var result = toIntegerOrInfinity$2(it); - if (result < 0) throw RangeError("The argument can't be less than 0"); + if (result < 0) throw RangeError$6("The argument can't be less than 0"); return result; }; +var global$y = global$1S; var toPositiveInteger$4 = toPositiveInteger$5; +var RangeError$5 = global$y.RangeError; + var toOffset$2 = function (it, BYTES) { var offset = toPositiveInteger$4(it); - if (offset % BYTES) throw RangeError('Wrong offset'); + if (offset % BYTES) throw RangeError$5('Wrong offset'); return offset; }; +var bind$i = functionBindContext; +var call$z = functionCall; var aConstructor$2 = aConstructor$5; var toObject$a = toObject$z; -var lengthOfArrayLike$8 = lengthOfArrayLike$q; +var lengthOfArrayLike$7 = lengthOfArrayLike$q; var getIterator$8 = getIterator$b; var getIteratorMethod$5 = getIteratorMethod$9; var isArrayIteratorMethod = isArrayIteratorMethod$3; -var bind$h = functionBindContext; var aTypedArrayConstructor$4 = arrayBufferViewCore.aTypedArrayConstructor; var typedArrayFrom$2 = function from(source /* , mapfn, thisArg */) { @@ -8781,14 +9296,14 @@ var typedArrayFrom$2 = function from(source /* , mapfn, thisArg */) { iterator = getIterator$8(O, iteratorMethod); next = iterator.next; O = []; - while (!(step = next.call(iterator)).done) { + while (!(step = call$z(next, iterator)).done) { O.push(step.value); } } if (mapping && argumentsLength > 2) { - mapfn = bind$h(mapfn, arguments[2], 2); + mapfn = bind$i(mapfn, arguments[2]); } - length = lengthOfArrayLike$8(O); + length = lengthOfArrayLike$7(O); result = new (aTypedArrayConstructor$4(C))(length); for (i = 0; length > i; i++) { result[i] = mapping ? mapfn(O[i], i) : O[i]; @@ -8797,13 +9312,14 @@ var typedArrayFrom$2 = function from(source /* , mapfn, thisArg */) { }; var $$1Y = _export; -var global$f = global$R; +var global$x = global$1S; +var call$y = functionCall; var DESCRIPTORS$5 = descriptors; var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS$3 = typedArrayConstructorsRequireWrappers; var ArrayBufferViewCore$w = arrayBufferViewCore; var ArrayBufferModule = arrayBuffer; var anInstance$6 = anInstance$b; -var createPropertyDescriptor$1 = createPropertyDescriptor$9; +var createPropertyDescriptor$1 = createPropertyDescriptor$a; var createNonEnumerableProperty$6 = createNonEnumerableProperty$h; var isIntegralNumber = isIntegralNumber$3; var toLength$1 = toLength$d; @@ -8811,10 +9327,11 @@ var toIndex = toIndex$2; var toOffset$1 = toOffset$2; var toPropertyKey$1 = toPropertyKey$9; var hasOwn$6 = hasOwnProperty_1; -var classof$1 = classof$b; -var isObject$6 = isObject$C; +var classof$1 = classof$h; +var isObject$6 = isObject$B; var isSymbol = isSymbol$5; var create$6 = objectCreate$1; +var isPrototypeOf$2 = objectIsPrototypeOf; var setPrototypeOf = objectSetPrototypeOf$1; var getOwnPropertyNames = objectGetOwnPropertyNames.f; var typedArrayFrom$1 = typedArrayFrom$2; @@ -8825,13 +9342,14 @@ var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor; var InternalStateModule$b = internalState; var inheritIfRequired = inheritIfRequired$4; -var getInternalState$8 = InternalStateModule$b.get; +var getInternalState$7 = InternalStateModule$b.get; var setInternalState$b = InternalStateModule$b.set; var nativeDefineProperty = definePropertyModule.f; var nativeGetOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f; var round = Math.round; -var RangeError$1 = global$f.RangeError; +var RangeError$4 = global$x.RangeError; var ArrayBuffer$1 = ArrayBufferModule.ArrayBuffer; +var ArrayBufferPrototype = ArrayBuffer$1.prototype; var DataView$1 = ArrayBufferModule.DataView; var NATIVE_ARRAY_BUFFER_VIEWS = ArrayBufferViewCore$w.NATIVE_ARRAY_BUFFER_VIEWS; var TYPED_ARRAY_CONSTRUCTOR$1 = ArrayBufferViewCore$w.TYPED_ARRAY_CONSTRUCTOR; @@ -8844,22 +9362,23 @@ var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'; var WRONG_LENGTH = 'Wrong length'; var fromList = function (C, list) { + aTypedArrayConstructor$3(C); var index = 0; var length = list.length; - var result = new (aTypedArrayConstructor$3(C))(length); + var result = new C(length); while (length > index) result[index] = list[index++]; return result; }; var addGetter = function (it, key) { nativeDefineProperty(it, key, { get: function () { - return getInternalState$8(this)[key]; + return getInternalState$7(this)[key]; } }); }; var isArrayBuffer = function (it) { var klass; - return it instanceof ArrayBuffer$1 || (klass = classof$1(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer'; + return isPrototypeOf$2(ArrayBufferPrototype, it) || (klass = classof$1(it)) == 'ArrayBuffer' || klass == 'SharedArrayBuffer'; }; var isTypedArrayIndex = function (target, key) { @@ -8914,18 +9433,18 @@ if (DESCRIPTORS$5) { var CONSTRUCTOR_NAME = TYPE + (CLAMPED ? 'Clamped' : '') + 'Array'; var GETTER = 'get' + TYPE; var SETTER = 'set' + TYPE; - var NativeTypedArrayConstructor = global$f[CONSTRUCTOR_NAME]; + var NativeTypedArrayConstructor = global$x[CONSTRUCTOR_NAME]; var TypedArrayConstructor = NativeTypedArrayConstructor; var TypedArrayConstructorPrototype = TypedArrayConstructor && TypedArrayConstructor.prototype; var exported = {}; var getter = function (that, index) { - var data = getInternalState$8(that); + var data = getInternalState$7(that); return data.view[GETTER](index * BYTES + data.byteOffset, true); }; var setter = function (that, index, value) { - var data = getInternalState$8(that); + var data = getInternalState$7(that); if (CLAMPED) value = (value = round(value)) < 0 ? 0 : value > 0xFF ? 0xFF : value & 0xFF; data.view[SETTER](index * BYTES + data.byteOffset, value, true); }; @@ -8944,7 +9463,7 @@ if (DESCRIPTORS$5) { if (!NATIVE_ARRAY_BUFFER_VIEWS) { TypedArrayConstructor = wrapper(function (that, data, offset, $length) { - anInstance$6(that, TypedArrayConstructor, CONSTRUCTOR_NAME); + anInstance$6(that, TypedArrayConstructorPrototype); var index = 0; var byteOffset = 0; var buffer, byteLength, length; @@ -8957,18 +9476,18 @@ if (DESCRIPTORS$5) { byteOffset = toOffset$1(offset, BYTES); var $len = data.byteLength; if ($length === undefined) { - if ($len % BYTES) throw RangeError$1(WRONG_LENGTH); + if ($len % BYTES) throw RangeError$4(WRONG_LENGTH); byteLength = $len - byteOffset; - if (byteLength < 0) throw RangeError$1(WRONG_LENGTH); + if (byteLength < 0) throw RangeError$4(WRONG_LENGTH); } else { byteLength = toLength$1($length) * BYTES; - if (byteLength + byteOffset > $len) throw RangeError$1(WRONG_LENGTH); + if (byteLength + byteOffset > $len) throw RangeError$4(WRONG_LENGTH); } length = byteLength / BYTES; } else if (isTypedArray(data)) { return fromList(TypedArrayConstructor, data); } else { - return typedArrayFrom$1.call(TypedArrayConstructor, data); + return call$y(typedArrayFrom$1, TypedArrayConstructor, data); } setInternalState$b(that, { buffer: buffer, @@ -8984,7 +9503,7 @@ if (DESCRIPTORS$5) { TypedArrayConstructorPrototype = TypedArrayConstructor.prototype = create$6(TypedArrayPrototype); } else if (TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS$3) { TypedArrayConstructor = wrapper(function (dummy, data, typedArrayOffset, $length) { - anInstance$6(dummy, TypedArrayConstructor, CONSTRUCTOR_NAME); + anInstance$6(dummy, TypedArrayConstructorPrototype); return inheritIfRequired(function () { if (!isObject$6(data)) return new NativeTypedArrayConstructor(toIndex(data)); if (isArrayBuffer(data)) return $length !== undefined @@ -8993,7 +9512,7 @@ if (DESCRIPTORS$5) { ? new NativeTypedArrayConstructor(data, toOffset$1(typedArrayOffset, BYTES)) : new NativeTypedArrayConstructor(data); if (isTypedArray(data)) return fromList(TypedArrayConstructor, data); - return typedArrayFrom$1.call(TypedArrayConstructor, data); + return call$y(typedArrayFrom$1, TypedArrayConstructor, data); }(), dummy, TypedArrayConstructor); }); @@ -9125,7 +9644,7 @@ createTypedArrayConstructor('Uint32', function (init) { }); var ArrayBufferViewCore$v = arrayBufferViewCore; -var lengthOfArrayLike$7 = lengthOfArrayLike$q; +var lengthOfArrayLike$6 = lengthOfArrayLike$q; var toIntegerOrInfinity$1 = toIntegerOrInfinity$i; var aTypedArray$s = ArrayBufferViewCore$v.aTypedArray; @@ -9135,22 +9654,24 @@ var exportTypedArrayMethod$t = ArrayBufferViewCore$v.exportTypedArrayMethod; // https://github.com/tc39/proposal-relative-indexing-method exportTypedArrayMethod$t('at', function at(index) { var O = aTypedArray$s(this); - var len = lengthOfArrayLike$7(O); + var len = lengthOfArrayLike$6(O); var relativeIndex = toIntegerOrInfinity$1(index); var k = relativeIndex >= 0 ? relativeIndex : len + relativeIndex; return (k < 0 || k >= len) ? undefined : O[k]; }); +var uncurryThis$i = functionUncurryThis; var ArrayBufferViewCore$u = arrayBufferViewCore; -var $copyWithin = arrayCopyWithin; +var $ArrayCopyWithin = arrayCopyWithin; +var u$ArrayCopyWithin = uncurryThis$i($ArrayCopyWithin); var aTypedArray$r = ArrayBufferViewCore$u.aTypedArray; var exportTypedArrayMethod$s = ArrayBufferViewCore$u.exportTypedArrayMethod; // `%TypedArray%.prototype.copyWithin` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.copywithin exportTypedArrayMethod$s('copyWithin', function copyWithin(target, start /* , end */) { - return $copyWithin.call(aTypedArray$r(this), target, start, arguments.length > 2 ? arguments[2] : undefined); + return u$ArrayCopyWithin(aTypedArray$r(this), target, start, arguments.length > 2 ? arguments[2] : undefined); }); var ArrayBufferViewCore$t = arrayBufferViewCore; @@ -9166,6 +9687,7 @@ exportTypedArrayMethod$r('every', function every(callbackfn /* , thisArg */) { }); var ArrayBufferViewCore$s = arrayBufferViewCore; +var call$x = functionCall; var $fill = arrayFill$1; var aTypedArray$p = ArrayBufferViewCore$s.aTypedArray; @@ -9173,9 +9695,15 @@ var exportTypedArrayMethod$q = ArrayBufferViewCore$s.exportTypedArrayMethod; // `%TypedArray%.prototype.fill` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.fill -// eslint-disable-next-line no-unused-vars -- required for `.length` exportTypedArrayMethod$q('fill', function fill(value /* , start, end */) { - return $fill.apply(aTypedArray$p(this), arguments); + var length = arguments.length; + return call$x( + $fill, + aTypedArray$p(this), + value, + length > 1 ? arguments[1] : undefined, + length > 2 ? arguments[2] : undefined + ); }); var arrayFromConstructorAndList$3 = function (Constructor, list) { @@ -9287,17 +9815,18 @@ exportTypedArrayMethod$k('indexOf', function indexOf(searchElement /* , fromInde return $indexOf(aTypedArray$j(this), searchElement, arguments.length > 1 ? arguments[1] : undefined); }); -var global$e = global$R; +var global$w = global$1S; +var uncurryThis$h = functionUncurryThis; var PROPER_FUNCTION_NAME = functionName.PROPER; var ArrayBufferViewCore$k = arrayBufferViewCore; var ArrayIterators = es_array_iterator; -var wellKnownSymbol$c = wellKnownSymbol$G; +var wellKnownSymbol$c = wellKnownSymbol$H; var ITERATOR$3 = wellKnownSymbol$c('iterator'); -var Uint8Array$1 = global$e.Uint8Array; -var arrayValues = ArrayIterators.values; -var arrayKeys = ArrayIterators.keys; -var arrayEntries = ArrayIterators.entries; +var Uint8Array$1 = global$w.Uint8Array; +var arrayValues = uncurryThis$h(ArrayIterators.values); +var arrayKeys = uncurryThis$h(ArrayIterators.keys); +var arrayEntries = uncurryThis$h(ArrayIterators.entries); var aTypedArray$i = ArrayBufferViewCore$k.aTypedArray; var exportTypedArrayMethod$j = ArrayBufferViewCore$k.exportTypedArrayMethod; var nativeTypedArrayIterator = Uint8Array$1 && Uint8Array$1.prototype[ITERATOR$3]; @@ -9305,18 +9834,18 @@ var nativeTypedArrayIterator = Uint8Array$1 && Uint8Array$1.prototype[ITERATOR$3 var PROPER_ARRAY_VALUES_NAME = !!nativeTypedArrayIterator && nativeTypedArrayIterator.name === 'values'; var typedArrayValues = function values() { - return arrayValues.call(aTypedArray$i(this)); + return arrayValues(aTypedArray$i(this)); }; // `%TypedArray%.prototype.entries` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.entries exportTypedArrayMethod$j('entries', function entries() { - return arrayEntries.call(aTypedArray$i(this)); + return arrayEntries(aTypedArray$i(this)); }); // `%TypedArray%.prototype.keys` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.keys exportTypedArrayMethod$j('keys', function keys() { - return arrayKeys.call(aTypedArray$i(this)); + return arrayKeys(aTypedArray$i(this)); }); // `%TypedArray%.prototype.values` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.values @@ -9326,19 +9855,20 @@ exportTypedArrayMethod$j('values', typedArrayValues, PROPER_FUNCTION_NAME && !PR exportTypedArrayMethod$j(ITERATOR$3, typedArrayValues, PROPER_FUNCTION_NAME && !PROPER_ARRAY_VALUES_NAME); var ArrayBufferViewCore$j = arrayBufferViewCore; +var uncurryThis$g = functionUncurryThis; var aTypedArray$h = ArrayBufferViewCore$j.aTypedArray; var exportTypedArrayMethod$i = ArrayBufferViewCore$j.exportTypedArrayMethod; -var $join = [].join; +var $join = uncurryThis$g([].join); // `%TypedArray%.prototype.join` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.join -// eslint-disable-next-line no-unused-vars -- required for `.length` exportTypedArrayMethod$i('join', function join(separator) { - return $join.apply(aTypedArray$h(this), arguments); + return $join(aTypedArray$h(this), separator); }); var ArrayBufferViewCore$i = arrayBufferViewCore; +var apply$h = functionApply$1; var $lastIndexOf = arrayLastIndexOf; var aTypedArray$g = ArrayBufferViewCore$i.aTypedArray; @@ -9346,9 +9876,9 @@ var exportTypedArrayMethod$h = ArrayBufferViewCore$i.exportTypedArrayMethod; // `%TypedArray%.prototype.lastIndexOf` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.lastindexof -// eslint-disable-next-line no-unused-vars -- required for `.length` exportTypedArrayMethod$h('lastIndexOf', function lastIndexOf(searchElement /* , fromIndex */) { - return $lastIndexOf.apply(aTypedArray$g(this), arguments); + var length = arguments.length; + return apply$h($lastIndexOf, aTypedArray$g(this), length > 1 ? [searchElement, arguments[1]] : [searchElement]); }); var ArrayBufferViewCore$h = arrayBufferViewCore; @@ -9391,7 +9921,8 @@ var exportTypedArrayMethod$f = ArrayBufferViewCore$f.exportTypedArrayMethod; // `%TypedArray%.prototype.reduce` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduce exportTypedArrayMethod$f('reduce', function reduce(callbackfn /* , initialValue */) { - return $reduce(aTypedArray$e(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); + var length = arguments.length; + return $reduce(aTypedArray$e(this), callbackfn, length, length > 1 ? arguments[1] : undefined); }); var ArrayBufferViewCore$e = arrayBufferViewCore; @@ -9403,7 +9934,8 @@ var exportTypedArrayMethod$e = ArrayBufferViewCore$e.exportTypedArrayMethod; // `%TypedArray%.prototype.reduceRicht` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.reduceright exportTypedArrayMethod$e('reduceRight', function reduceRight(callbackfn /* , initialValue */) { - return $reduceRight(aTypedArray$d(this), callbackfn, arguments.length, arguments.length > 1 ? arguments[1] : undefined); + var length = arguments.length; + return $reduceRight(aTypedArray$d(this), callbackfn, length, length > 1 ? arguments[1] : undefined); }); var ArrayBufferViewCore$d = arrayBufferViewCore; @@ -9427,12 +9959,14 @@ exportTypedArrayMethod$d('reverse', function reverse() { } return that; }); +var global$v = global$1S; var ArrayBufferViewCore$c = arrayBufferViewCore; -var lengthOfArrayLike$6 = lengthOfArrayLike$q; +var lengthOfArrayLike$5 = lengthOfArrayLike$q; var toOffset = toOffset$2; var toObject$9 = toObject$z; -var fails$7 = fails$15; +var fails$7 = fails$17; +var RangeError$3 = global$v.RangeError; var aTypedArray$b = ArrayBufferViewCore$c.aTypedArray; var exportTypedArrayMethod$c = ArrayBufferViewCore$c.exportTypedArrayMethod; @@ -9448,19 +9982,19 @@ exportTypedArrayMethod$c('set', function set(arrayLike /* , offset */) { var offset = toOffset(arguments.length > 1 ? arguments[1] : undefined, 1); var length = this.length; var src = toObject$9(arrayLike); - var len = lengthOfArrayLike$6(src); + var len = lengthOfArrayLike$5(src); var index = 0; - if (len + offset > length) throw RangeError('Wrong length'); + if (len + offset > length) throw RangeError$3('Wrong length'); while (index < len) this[offset + index] = src[index++]; }, FORCED$5); var ArrayBufferViewCore$b = arrayBufferViewCore; var typedArraySpeciesConstructor$2 = typedArraySpeciesConstructor$5; -var fails$6 = fails$15; +var fails$6 = fails$17; +var arraySlice$4 = arraySlice$d; var aTypedArray$a = ArrayBufferViewCore$b.aTypedArray; var exportTypedArrayMethod$b = ArrayBufferViewCore$b.exportTypedArrayMethod; -var $slice$1 = [].slice; var FORCED$4 = fails$6(function () { // eslint-disable-next-line es/no-typed-arrays -- required for testing @@ -9470,7 +10004,7 @@ var FORCED$4 = fails$6(function () { // `%TypedArray%.prototype.slice` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.slice exportTypedArrayMethod$b('slice', function slice(start, end) { - var list = $slice$1.call(aTypedArray$a(this), start, end); + var list = arraySlice$4(aTypedArray$a(this), start, end); var C = typedArraySpeciesConstructor$2(this); var index = 0; var length = list.length; @@ -9491,30 +10025,31 @@ exportTypedArrayMethod$a('some', function some(callbackfn /* , thisArg */) { return $some$1(aTypedArray$9(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined); }); +var global$u = global$1S; +var uncurryThis$f = functionUncurryThis; +var fails$5 = fails$17; +var aCallable$D = aCallable$S; +var internalSort = arraySort$1; var ArrayBufferViewCore$9 = arrayBufferViewCore; -var global$d = global$R; -var fails$5 = fails$15; -var aCallable$B = aCallable$Q; -var lengthOfArrayLike$5 = lengthOfArrayLike$q; -var internalSort = arraySort; var FF = engineFfVersion; var IE_OR_EDGE = engineIsIeOrEdge; var V8 = engineV8Version; var WEBKIT = engineWebkitVersion; +var Array$3 = global$u.Array; var aTypedArray$8 = ArrayBufferViewCore$9.aTypedArray; var exportTypedArrayMethod$9 = ArrayBufferViewCore$9.exportTypedArrayMethod; -var Uint16Array = global$d.Uint16Array; -var nativeSort = Uint16Array && Uint16Array.prototype.sort; +var Uint16Array = global$u.Uint16Array; +var un$Sort = Uint16Array && uncurryThis$f(Uint16Array.prototype.sort); // WebKit -var ACCEPT_INCORRECT_ARGUMENTS = !!nativeSort && !fails$5(function () { - var array = new Uint16Array(2); - array.sort(null); - array.sort({}); -}); +var ACCEPT_INCORRECT_ARGUMENTS = !!un$Sort && !(fails$5(function () { + un$Sort(new Uint16Array(2), null); +}) && fails$5(function () { + un$Sort(new Uint16Array(2), {}); +})); -var STABLE_SORT = !!nativeSort && !fails$5(function () { +var STABLE_SORT = !!un$Sort && !fails$5(function () { // feature detection can be too slow, so check engines versions if (V8) return V8 < 74; if (FF) return FF < 67; @@ -9522,7 +10057,7 @@ var STABLE_SORT = !!nativeSort && !fails$5(function () { if (WEBKIT) return WEBKIT < 602; var array = new Uint16Array(516); - var expected = Array(516); + var expected = Array$3(516); var index, mod; for (index = 0; index < 516; index++) { @@ -9531,7 +10066,7 @@ var STABLE_SORT = !!nativeSort && !fails$5(function () { expected[index] = index - 2 * mod + 3; } - array.sort(function (a, b) { + un$Sort(array, function (a, b) { return (a / 4 | 0) - (b / 4 | 0); }); @@ -9555,31 +10090,15 @@ var getSortCompare = function (comparefn) { // `%TypedArray%.prototype.sort` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.sort exportTypedArrayMethod$9('sort', function sort(comparefn) { - var array = this; - if (comparefn !== undefined) aCallable$B(comparefn); - if (STABLE_SORT) return nativeSort.call(array, comparefn); - - aTypedArray$8(array); - var arrayLength = lengthOfArrayLike$5(array); - var items = Array(arrayLength); - var index; - - for (index = 0; index < arrayLength; index++) { - items[index] = array[index]; - } - - items = internalSort(array, getSortCompare(comparefn)); + if (comparefn !== undefined) aCallable$D(comparefn); + if (STABLE_SORT) return un$Sort(this, comparefn); - for (index = 0; index < arrayLength; index++) { - array[index] = items[index]; - } - - return array; + return internalSort(aTypedArray$8(this), getSortCompare(comparefn)); }, !STABLE_SORT || ACCEPT_INCORRECT_ARGUMENTS); var ArrayBufferViewCore$8 = arrayBufferViewCore; var toLength = toLength$d; -var toAbsoluteIndex = toAbsoluteIndex$8; +var toAbsoluteIndex = toAbsoluteIndex$9; var typedArraySpeciesConstructor$1 = typedArraySpeciesConstructor$5; var aTypedArray$7 = ArrayBufferViewCore$8.aTypedArray; @@ -9599,15 +10118,16 @@ exportTypedArrayMethod$8('subarray', function subarray(begin, end) { ); }); -var global$c = global$R; +var global$t = global$1S; +var apply$g = functionApply$1; var ArrayBufferViewCore$7 = arrayBufferViewCore; -var fails$4 = fails$15; +var fails$4 = fails$17; +var arraySlice$3 = arraySlice$d; -var Int8Array$1 = global$c.Int8Array; +var Int8Array$1 = global$t.Int8Array; var aTypedArray$6 = ArrayBufferViewCore$7.aTypedArray; var exportTypedArrayMethod$7 = ArrayBufferViewCore$7.exportTypedArrayMethod; var $toLocaleString = [].toLocaleString; -var $slice = [].slice; // iOS Safari 6.x fails here var TO_LOCALE_STRING_BUG = !!Int8Array$1 && fails$4(function () { @@ -9623,21 +10143,26 @@ var FORCED$3 = fails$4(function () { // `%TypedArray%.prototype.toLocaleString` method // https://tc39.es/ecma262/#sec-%typedarray%.prototype.tolocalestring exportTypedArrayMethod$7('toLocaleString', function toLocaleString() { - return $toLocaleString.apply(TO_LOCALE_STRING_BUG ? $slice.call(aTypedArray$6(this)) : aTypedArray$6(this), arguments); + return apply$g( + $toLocaleString, + TO_LOCALE_STRING_BUG ? arraySlice$3(aTypedArray$6(this)) : aTypedArray$6(this), + arraySlice$3(arguments) + ); }, FORCED$3); var exportTypedArrayMethod$6 = arrayBufferViewCore.exportTypedArrayMethod; -var fails$3 = fails$15; -var global$b = global$R; +var fails$3 = fails$17; +var global$s = global$1S; +var uncurryThis$e = functionUncurryThis; -var Uint8Array = global$b.Uint8Array; +var Uint8Array = global$s.Uint8Array; var Uint8ArrayPrototype = Uint8Array && Uint8Array.prototype || {}; var arrayToString = [].toString; -var arrayJoin = [].join; +var join$3 = uncurryThis$e([].join); if (fails$3(function () { arrayToString.call({}); })) { arrayToString = function toString() { - return arrayJoin.call(this); + return join$3(this); }; } @@ -9648,9 +10173,14 @@ var IS_NOT_ARRAY_METHOD = Uint8ArrayPrototype.toString != arrayToString; exportTypedArrayMethod$6('toString', arrayToString, IS_NOT_ARRAY_METHOD); var $$1X = _export; -var toString$1 = toString$t; +var uncurryThis$d = functionUncurryThis; +var toString$2 = toString$u; + +var fromCharCode$1 = String.fromCharCode; +var charAt$5 = uncurryThis$d(''.charAt); +var exec$3 = uncurryThis$d(/./.exec); +var stringSlice$3 = uncurryThis$d(''.slice); -var fromCharCode = String.fromCharCode; var hex2 = /^[\da-f]{2}$/i; var hex4 = /^[\da-f]{4}$/i; @@ -9658,25 +10188,25 @@ var hex4 = /^[\da-f]{4}$/i; // https://tc39.es/ecma262/#sec-unescape-string $$1X({ global: true }, { unescape: function unescape(string) { - var str = toString$1(string); + var str = toString$2(string); var result = ''; var length = str.length; var index = 0; - var chr, slice; + var chr, part; while (index < length) { - chr = str.charAt(index++); + chr = charAt$5(str, index++); if (chr === '%') { - if (str.charAt(index) === 'u') { - slice = str.slice(index + 1, index + 5); - if (hex4.test(slice)) { - result += fromCharCode(parseInt(slice, 16)); + if (charAt$5(str, index) === 'u') { + part = stringSlice$3(str, index + 1, index + 5); + if (exec$3(hex4, part)) { + result += fromCharCode$1(parseInt(part, 16)); index += 5; continue; } } else { - slice = str.slice(index, index + 2); - if (hex2.test(slice)) { - result += fromCharCode(parseInt(slice, 16)); + part = stringSlice$3(str, index, index + 2); + if (exec$3(hex2, part)) { + result += fromCharCode$1(parseInt(part, 16)); index += 2; continue; } @@ -9687,14 +10217,13 @@ $$1X({ global: true }, { } }); -var es_weakMap = {exports: {}}; - +var uncurryThis$c = functionUncurryThis; var redefineAll$6 = redefineAll$a; var getWeakData = internalMetadata.exports.getWeakData; var anObject$14 = anObject$1C; -var isObject$5 = isObject$C; +var isObject$5 = isObject$B; var anInstance$5 = anInstance$b; -var iterate$A = iterate$I; +var iterate$z = iterate$H; var ArrayIterationModule = arrayIteration; var hasOwn$5 = hasOwnProperty_1; var InternalStateModule$a = internalState; @@ -9703,6 +10232,7 @@ var setInternalState$a = InternalStateModule$a.set; var internalStateGetterFor = InternalStateModule$a.getterFor; var find$1 = ArrayIterationModule.find; var findIndex = ArrayIterationModule.findIndex; +var splice$1 = uncurryThis$c([].splice); var id = 0; // fallback for uncaught frozen keys @@ -9737,23 +10267,25 @@ UncaughtFrozenStore.prototype = { var index = findIndex(this.entries, function (it) { return it[0] === key; }); - if (~index) this.entries.splice(index, 1); + if (~index) splice$1(this.entries, index, 1); return !!~index; } }; var collectionWeak$2 = { getConstructor: function (wrapper, CONSTRUCTOR_NAME, IS_MAP, ADDER) { - var C = wrapper(function (that, iterable) { - anInstance$5(that, C, CONSTRUCTOR_NAME); + var Constructor = wrapper(function (that, iterable) { + anInstance$5(that, Prototype); setInternalState$a(that, { type: CONSTRUCTOR_NAME, id: id++, frozen: undefined }); - if (iterable != undefined) iterate$A(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); + if (iterable != undefined) iterate$z(iterable, that[ADDER], { that: that, AS_ENTRIES: IS_MAP }); }); + var Prototype = Constructor.prototype; + var getInternalState = internalStateGetterFor(CONSTRUCTOR_NAME); var define = function (that, key, value) { @@ -9764,7 +10296,7 @@ var collectionWeak$2 = { return that; }; - redefineAll$6(C.prototype, { + redefineAll$6(Prototype, { // `{ WeakMap, WeakSet }.prototype.delete(key)` methods // https://tc39.es/ecma262/#sec-weakmap.prototype.delete // https://tc39.es/ecma262/#sec-weakset.prototype.delete @@ -9787,7 +10319,7 @@ var collectionWeak$2 = { } }); - redefineAll$6(C.prototype, IS_MAP ? { + redefineAll$6(Prototype, IS_MAP ? { // `WeakMap.prototype.get(key)` method // https://tc39.es/ecma262/#sec-weakmap.prototype.get get: function get(key) { @@ -9811,22 +10343,22 @@ var collectionWeak$2 = { } }); - return C; + return Constructor; } }; -var global$a = global$R; +var global$r = global$1S; +var uncurryThis$b = functionUncurryThis; var redefineAll$5 = redefineAll$a; var InternalMetadataModule = internalMetadata.exports; var collection$1 = collection$4; var collectionWeak$1 = collectionWeak$2; -var isObject$4 = isObject$C; +var isObject$4 = isObject$B; +var isExtensible = objectIsExtensible; var enforceIternalState = internalState.enforce; var NATIVE_WEAK_MAP = nativeWeakMap; -var IS_IE11 = !global$a.ActiveXObject && 'ActiveXObject' in global$a; -// eslint-disable-next-line es/no-object-isextensible -- safe -var isExtensible = Object.isExtensible; +var IS_IE11 = !global$r.ActiveXObject && 'ActiveXObject' in global$r; var InternalWeakMap; var wrapper = function (init) { @@ -9837,7 +10369,7 @@ var wrapper = function (init) { // `WeakMap` constructor // https://tc39.es/ecma262/#sec-weakmap-constructor -var $WeakMap = es_weakMap.exports = collection$1('WeakMap', wrapper, collectionWeak$1); +var $WeakMap = collection$1('WeakMap', wrapper, collectionWeak$1); // IE11 WeakMap frozen keys fix // We can't use feature detection because it crash some old IE builds @@ -9846,38 +10378,38 @@ if (NATIVE_WEAK_MAP && IS_IE11) { InternalWeakMap = collectionWeak$1.getConstructor(wrapper, 'WeakMap', true); InternalMetadataModule.enable(); var WeakMapPrototype = $WeakMap.prototype; - var nativeDelete = WeakMapPrototype['delete']; - var nativeHas = WeakMapPrototype.has; - var nativeGet = WeakMapPrototype.get; - var nativeSet = WeakMapPrototype.set; + var nativeDelete = uncurryThis$b(WeakMapPrototype['delete']); + var nativeHas = uncurryThis$b(WeakMapPrototype.has); + var nativeGet = uncurryThis$b(WeakMapPrototype.get); + var nativeSet = uncurryThis$b(WeakMapPrototype.set); redefineAll$5(WeakMapPrototype, { 'delete': function (key) { if (isObject$4(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); + return nativeDelete(this, key) || state.frozen['delete'](key); + } return nativeDelete(this, key); }, has: function has(key) { if (isObject$4(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); + return nativeHas(this, key) || state.frozen.has(key); + } return nativeHas(this, key); }, get: function get(key) { if (isObject$4(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); + return nativeHas(this, key) ? nativeGet(this, key) : state.frozen.get(key); + } return nativeGet(this, key); }, set: function set(key, value) { if (isObject$4(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); + nativeHas(this, key) ? nativeSet(this, key, value) : state.frozen.set(key, value); + } else nativeSet(this, key, value); return this; } }); @@ -9892,16 +10424,16 @@ collection('WeakSet', function (init) { return function WeakSet() { return init(this, arguments.length ? arguments[0] : undefined); }; }, collectionWeak); -var global$9 = global$R; +var global$q = global$1S; var shared$1 = sharedStore; var isCallable$6 = isCallable$z; var getPrototypeOf$3 = objectGetPrototypeOf$1; var redefine$3 = redefine$l.exports; -var wellKnownSymbol$b = wellKnownSymbol$G; +var wellKnownSymbol$b = wellKnownSymbol$H; var USE_FUNCTION_CONSTRUCTOR = 'USE_FUNCTION_CONSTRUCTOR'; var ASYNC_ITERATOR$3 = wellKnownSymbol$b('asyncIterator'); -var AsyncIterator = global$9.AsyncIterator; +var AsyncIterator = global$q.AsyncIterator; var PassedAsyncIteratorPrototype = shared$1.AsyncIteratorPrototype; var AsyncIteratorPrototype$4, prototype; @@ -9909,7 +10441,7 @@ if (PassedAsyncIteratorPrototype) { AsyncIteratorPrototype$4 = PassedAsyncIteratorPrototype; } else if (isCallable$6(AsyncIterator)) { AsyncIteratorPrototype$4 = AsyncIterator.prototype; -} else if (shared$1[USE_FUNCTION_CONSTRUCTOR] || global$9[USE_FUNCTION_CONSTRUCTOR]) { +} else if (shared$1[USE_FUNCTION_CONSTRUCTOR] || global$q[USE_FUNCTION_CONSTRUCTOR]) { try { // eslint-disable-next-line no-new-func -- we have no alternatives without usage of modern syntax prototype = getPrototypeOf$3(getPrototypeOf$3(getPrototypeOf$3(Function('return async function*(){}()')()))); @@ -9927,18 +10459,20 @@ if (!isCallable$6(AsyncIteratorPrototype$4[ASYNC_ITERATOR$3])) { var asyncIteratorPrototype = AsyncIteratorPrototype$4; +var apply$f = functionApply$1; var anObject$13 = anObject$1C; var create$5 = objectCreate$1; var getMethod$7 = getMethod$h; var redefineAll$4 = redefineAll$a; var InternalStateModule$9 = internalState; -var getBuiltIn$j = getBuiltIn$y; +var getBuiltIn$l = getBuiltIn$z; var AsyncIteratorPrototype$3 = asyncIteratorPrototype; -var Promise$3 = getBuiltIn$j('Promise'); +var Promise$3 = getBuiltIn$l('Promise'); +var ASYNC_FROM_SYNC_ITERATOR = 'AsyncFromSyncIterator'; var setInternalState$9 = InternalStateModule$9.set; -var getInternalState$7 = InternalStateModule$9.get; +var getInternalState$6 = InternalStateModule$9.getterFor(ASYNC_FROM_SYNC_ITERATOR); var asyncFromSyncIteratorContinuation = function (result, resolve, reject) { var done = result.done; @@ -9949,6 +10483,7 @@ var asyncFromSyncIteratorContinuation = function (result, resolve, reject) { var AsyncFromSyncIterator$3 = function AsyncIterator(iterator) { setInternalState$9(this, { + type: ASYNC_FROM_SYNC_ITERATOR, iterator: anObject$13(iterator), next: iterator.next }); @@ -9956,30 +10491,30 @@ var AsyncFromSyncIterator$3 = function AsyncIterator(iterator) { AsyncFromSyncIterator$3.prototype = redefineAll$4(create$5(AsyncIteratorPrototype$3), { next: function next(arg) { - var state = getInternalState$7(this); + var state = getInternalState$6(this); var hasArg = !!arguments.length; return new Promise$3(function (resolve, reject) { - var result = anObject$13(state.next.apply(state.iterator, hasArg ? [arg] : [])); + var result = anObject$13(apply$f(state.next, state.iterator, hasArg ? [arg] : [])); asyncFromSyncIteratorContinuation(result, resolve, reject); }); }, 'return': function (arg) { - var iterator = getInternalState$7(this).iterator; + var iterator = getInternalState$6(this).iterator; var hasArg = !!arguments.length; return new Promise$3(function (resolve, reject) { var $return = getMethod$7(iterator, 'return'); if ($return === undefined) return resolve({ done: true, value: arg }); - var result = anObject$13($return.apply(iterator, hasArg ? [arg] : [])); + var result = anObject$13(apply$f($return, iterator, hasArg ? [arg] : [])); asyncFromSyncIteratorContinuation(result, resolve, reject); }); }, 'throw': function (arg) { - var iterator = getInternalState$7(this).iterator; + var iterator = getInternalState$6(this).iterator; var hasArg = !!arguments.length; return new Promise$3(function (resolve, reject) { var $throw = getMethod$7(iterator, 'throw'); if ($throw === undefined) return reject(arg); - var result = anObject$13($throw.apply(iterator, hasArg ? [arg] : [])); + var result = anObject$13(apply$f($throw, iterator, hasArg ? [arg] : [])); asyncFromSyncIteratorContinuation(result, resolve, reject); }); } @@ -9987,33 +10522,37 @@ AsyncFromSyncIterator$3.prototype = redefineAll$4(create$5(AsyncIteratorPrototyp var asyncFromSyncIterator = AsyncFromSyncIterator$3; +var call$w = functionCall; var AsyncFromSyncIterator$2 = asyncFromSyncIterator; var anObject$12 = anObject$1C; var getIterator$7 = getIterator$b; var getMethod$6 = getMethod$h; -var wellKnownSymbol$a = wellKnownSymbol$G; +var wellKnownSymbol$a = wellKnownSymbol$H; var ASYNC_ITERATOR$2 = wellKnownSymbol$a('asyncIterator'); var getAsyncIterator$3 = function (it, usingIterator) { var method = arguments.length < 2 ? getMethod$6(it, ASYNC_ITERATOR$2) : usingIterator; - return method ? anObject$12(method.call(it)) : new AsyncFromSyncIterator$2(getIterator$7(it)); + return method ? anObject$12(call$w(method, it)) : new AsyncFromSyncIterator$2(getIterator$7(it)); }; -var global$8 = global$R; +var global$p = global$1S; var entryVirtual = function (CONSTRUCTOR) { - return global$8[CONSTRUCTOR].prototype; + return global$p[CONSTRUCTOR].prototype; }; // https://github.com/tc39/proposal-iterator-helpers // https://github.com/tc39/proposal-array-from-async -var aCallable$A = aCallable$Q; +var global$o = global$1S; +var call$v = functionCall; +var aCallable$C = aCallable$S; var anObject$11 = anObject$1C; -var getBuiltIn$i = getBuiltIn$y; +var getBuiltIn$k = getBuiltIn$z; var getMethod$5 = getMethod$h; var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; +var TypeError$e = global$o.TypeError; var createMethod$1 = function (TYPE) { var IS_TO_ARRAY = TYPE == 0; @@ -10022,18 +10561,18 @@ var createMethod$1 = function (TYPE) { var IS_SOME = TYPE == 3; return function (iterator, fn, target) { anObject$11(iterator); - var Promise = getBuiltIn$i('Promise'); - var next = aCallable$A(iterator.next); + var Promise = getBuiltIn$k('Promise'); + var next = aCallable$C(iterator.next); var index = 0; var MAPPING = fn !== undefined; - if (MAPPING || !IS_TO_ARRAY) aCallable$A(fn); + if (MAPPING || !IS_TO_ARRAY) aCallable$C(fn); return new Promise(function (resolve, reject) { var closeIteration = function (method, argument) { try { var returnMethod = getMethod$5(iterator, 'return'); if (returnMethod) { - return Promise.resolve(returnMethod.call(iterator)).then(function () { + return Promise.resolve(call$v(returnMethod, iterator)).then(function () { method(argument); }, function (error) { reject(error); @@ -10051,9 +10590,9 @@ var createMethod$1 = function (TYPE) { var loop = function () { try { if (IS_TO_ARRAY && (index > MAX_SAFE_INTEGER) && MAPPING) { - throw TypeError('The allowed number of iterations has been exceeded'); + throw TypeError$e('The allowed number of iterations has been exceeded'); } - Promise.resolve(anObject$11(next.call(iterator))).then(function (step) { + Promise.resolve(anObject$11(call$v(next, iterator))).then(function (step) { try { if (anObject$11(step).done) { if (IS_TO_ARRAY) { @@ -10098,7 +10637,7 @@ var asyncIteratorIteration = { find: createMethod$1(4) }; -var bind$g = functionBindContext; +var bind$h = functionBindContext; var toObject$8 = toObject$z; var isConstructor$1 = isConstructor$7; var getAsyncIterator$2 = getAsyncIterator$3; @@ -10106,8 +10645,8 @@ var getIterator$6 = getIterator$b; var getIteratorMethod$4 = getIteratorMethod$9; var getMethod$4 = getMethod$h; var getVirtual = entryVirtual; -var getBuiltIn$h = getBuiltIn$y; -var wellKnownSymbol$9 = wellKnownSymbol$G; +var getBuiltIn$j = getBuiltIn$z; +var wellKnownSymbol$9 = wellKnownSymbol$H; var AsyncFromSyncIterator$1 = asyncFromSyncIterator; var toArray = asyncIteratorIteration.toArray; @@ -10121,9 +10660,9 @@ var arrayFromAsync$1 = function fromAsync(asyncItems /* , mapfn = undefined, thi var argumentsLength = arguments.length; var mapfn = argumentsLength > 1 ? arguments[1] : undefined; var thisArg = argumentsLength > 2 ? arguments[2] : undefined; - return new (getBuiltIn$h('Promise'))(function (resolve) { + return new (getBuiltIn$j('Promise'))(function (resolve) { var O = toObject$8(asyncItems); - if (mapfn !== undefined) mapfn = bind$g(mapfn, thisArg, 2); + if (mapfn !== undefined) mapfn = bind$h(mapfn, thisArg); var usingAsyncIterator = getMethod$4(O, ASYNC_ITERATOR$1); var usingSyncIterator = usingAsyncIterator ? undefined : getIteratorMethod$4(O) || arrayIterator; var A = isConstructor$1(C) ? new C() : []; @@ -10172,7 +10711,7 @@ $$1U({ target: 'Array', proto: true }, { addToUnscopables$6('filterReject'); -var bind$f = functionBindContext; +var bind$g = functionBindContext; var IndexedObject$1 = indexedObject; var toObject$7 = toObject$z; var lengthOfArrayLike$4 = lengthOfArrayLike$q; @@ -10183,7 +10722,7 @@ var createMethod = function (TYPE) { return function ($this, callbackfn, that) { var O = toObject$7($this); var self = IndexedObject$1(O); - var boundFunction = bind$f(callbackfn, that, 3); + var boundFunction = bind$g(callbackfn, that); var index = lengthOfArrayLike$4(self); var value, result; while (index-- > 0) { @@ -10235,7 +10774,9 @@ $$1S({ target: 'Array', proto: true }, { addToUnscopables$4('findLastIndex'); -var bind$e = functionBindContext; +var global$n = global$1S; +var bind$f = functionBindContext; +var uncurryThis$a = functionUncurryThis; var IndexedObject = indexedObject; var toObject$6 = toObject$z; var toPropertyKey = toPropertyKey$9; @@ -10243,12 +10784,13 @@ var lengthOfArrayLike$3 = lengthOfArrayLike$q; var objectCreate = objectCreate$1; var arrayFromConstructorAndList$1 = arrayFromConstructorAndList$3; -var push$2 = [].push; +var Array$2 = global$n.Array; +var push$9 = uncurryThis$a([].push); var arrayGroupBy = function ($this, callbackfn, that, specificConstructor) { var O = toObject$6($this); var self = IndexedObject(O); - var boundFunction = bind$e(callbackfn, that, 3); + var boundFunction = bind$f(callbackfn, that); var target = objectCreate(null); var length = lengthOfArrayLike$3(self); var index = 0; @@ -10258,12 +10800,12 @@ var arrayGroupBy = function ($this, callbackfn, that, specificConstructor) { key = toPropertyKey(boundFunction(value, index, O)); // in some IE10 builds, `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$2.call(target[key], value); + if (key in target) push$9(target[key], value); else target[key] = [value]; } if (specificConstructor) { Constructor = specificConstructor(O); - if (Constructor !== Array) { + if (Constructor !== Array$2) { for (key in target) target[key] = arrayFromConstructorAndList$1(Constructor, target[key]); } } return target; @@ -10298,7 +10840,7 @@ var isFrozenStringArray = function (array, allowUndefined) { var element; while (index < length) { element = array[index++]; - if (!(typeof element === 'string' || (allowUndefined && typeof element === 'undefined'))) { + if (!(typeof element == 'string' || (allowUndefined && typeof element == 'undefined'))) { return false; } } return length !== 0; @@ -10362,41 +10904,45 @@ if (DESCRIPTORS$3 && !('lastItem' in [])) { addToUnscopables$1('lastItem'); } -var aCallable$z = aCallable$Q; +var getBuiltIn$i = getBuiltIn$z; +var uncurryThis$9 = functionUncurryThis; +var aCallable$B = aCallable$S; var lengthOfArrayLike = lengthOfArrayLike$q; var toObject$3 = toObject$z; -var getBuiltIn$g = getBuiltIn$y; var arraySpeciesCreate = arraySpeciesCreate$6; -var push$1 = [].push; +var Map$3 = getBuiltIn$i('Map'); +var MapPrototype = Map$3.prototype; +var mapForEach = uncurryThis$9(MapPrototype.forEach); +var mapHas = uncurryThis$9(MapPrototype.has); +var mapSet = uncurryThis$9(MapPrototype.set); +var push$8 = uncurryThis$9([].push); // `Array.prototype.uniqueBy` method // https://github.com/tc39/proposal-array-unique -var arrayUniqueBy$1 = function uniqueBy(resolver) { +var arrayUniqueBy$2 = function uniqueBy(resolver) { var that = toObject$3(this); var length = lengthOfArrayLike(that); var result = arraySpeciesCreate(that, 0); - var Map = getBuiltIn$g('Map'); - var map = new Map(); - var resolverFunction, index, item, key; - if (resolver != null) resolverFunction = aCallable$z(resolver); - else resolverFunction = function (value) { + var map = new Map$3(); + var resolverFunction = resolver != null ? aCallable$B(resolver) : function (value) { return value; }; + var index, item, key; for (index = 0; index < length; index++) { item = that[index]; key = resolverFunction(item); - if (!map.has(key)) map.set(key, item); + if (!mapHas(map, key)) mapSet(map, key, item); } - map.forEach(function (value) { - push$1.call(result, value); + mapForEach(map, function (value) { + push$8(result, value); }); return result; }; var $$1P = _export; var addToUnscopables = addToUnscopables$h; -var uniqueBy = arrayUniqueBy$1; +var uniqueBy = arrayUniqueBy$2; // `Array.prototype.uniqueBy` method // https://github.com/tc39/proposal-array-unique @@ -10411,14 +10957,14 @@ var $$1O = _export; var anInstance$4 = anInstance$b; var createNonEnumerableProperty$5 = createNonEnumerableProperty$h; var hasOwn$4 = hasOwnProperty_1; -var wellKnownSymbol$8 = wellKnownSymbol$G; +var wellKnownSymbol$8 = wellKnownSymbol$H; var AsyncIteratorPrototype$2 = asyncIteratorPrototype; var IS_PURE$C = isPure; var TO_STRING_TAG$4 = wellKnownSymbol$8('toStringTag'); var AsyncIteratorConstructor = function AsyncIterator() { - anInstance$4(this, AsyncIteratorConstructor); + anInstance$4(this, AsyncIteratorPrototype$2); }; AsyncIteratorConstructor.prototype = AsyncIteratorPrototype$2; @@ -10435,27 +10981,30 @@ $$1O({ global: true, forced: IS_PURE$C }, { AsyncIterator: AsyncIteratorConstructor }); -var aCallable$y = aCallable$Q; +var call$u = functionCall; +var aCallable$A = aCallable$S; var anObject$10 = anObject$1C; var create$4 = objectCreate$1; var createNonEnumerableProperty$4 = createNonEnumerableProperty$h; var redefineAll$3 = redefineAll$a; -var wellKnownSymbol$7 = wellKnownSymbol$G; +var wellKnownSymbol$7 = wellKnownSymbol$H; var InternalStateModule$8 = internalState; -var getBuiltIn$f = getBuiltIn$y; +var getBuiltIn$h = getBuiltIn$z; var getMethod$3 = getMethod$h; var AsyncIteratorPrototype$1 = asyncIteratorPrototype; -var Promise$2 = getBuiltIn$f('Promise'); +var Promise$2 = getBuiltIn$h('Promise'); +var ASYNC_ITERATOR_PROXY = 'AsyncIteratorProxy'; var setInternalState$8 = InternalStateModule$8.set; -var getInternalState$6 = InternalStateModule$8.get; +var getInternalState$5 = InternalStateModule$8.getterFor(ASYNC_ITERATOR_PROXY); var TO_STRING_TAG$3 = wellKnownSymbol$7('toStringTag'); var asyncIteratorCreateProxy = function (nextHandler, IS_ITERATOR) { var AsyncIteratorProxy = function AsyncIterator(state) { - state.next = aCallable$y(state.iterator.next); + state.type = ASYNC_ITERATOR_PROXY; + state.next = aCallable$A(state.iterator.next); state.done = false; state.ignoreArgument = !IS_ITERATOR; setInternalState$8(this, state); @@ -10466,21 +11015,21 @@ var asyncIteratorCreateProxy = function (nextHandler, IS_ITERATOR) { var that = this; var hasArgument = !!arguments.length; return new Promise$2(function (resolve) { - var state = getInternalState$6(that); + var state = getInternalState$5(that); var args = hasArgument ? [state.ignoreArgument ? undefined : arg] : IS_ITERATOR ? [] : [undefined]; state.ignoreArgument = false; - resolve(state.done ? { done: true, value: undefined } : anObject$10(nextHandler.call(state, Promise$2, args))); + resolve(state.done ? { done: true, value: undefined } : anObject$10(call$u(nextHandler, state, Promise$2, args))); }); }, 'return': function (value) { var that = this; return new Promise$2(function (resolve, reject) { - var state = getInternalState$6(that); + var state = getInternalState$5(that); var iterator = state.iterator; state.done = true; var $$return = getMethod$3(iterator, 'return'); if ($$return === undefined) return resolve({ done: true, value: value }); - Promise$2.resolve($$return.call(iterator, value)).then(function (result) { + Promise$2.resolve(call$u($$return, iterator, value)).then(function (result) { anObject$10(result); resolve({ done: true, value: value }); }, reject); @@ -10489,12 +11038,12 @@ var asyncIteratorCreateProxy = function (nextHandler, IS_ITERATOR) { 'throw': function (value) { var that = this; return new Promise$2(function (resolve, reject) { - var state = getInternalState$6(that); + var state = getInternalState$5(that); var iterator = state.iterator; state.done = true; var $$throw = getMethod$3(iterator, 'throw'); if ($$throw === undefined) return reject(value); - resolve($$throw.call(iterator, value)); + resolve(call$u($$throw, iterator, value)); }); } }); @@ -10508,6 +11057,7 @@ var asyncIteratorCreateProxy = function (nextHandler, IS_ITERATOR) { // https://github.com/tc39/proposal-iterator-helpers var $$1N = _export; +var apply$e = functionApply$1; var anObject$$ = anObject$1C; var createAsyncIteratorProxy$6 = asyncIteratorCreateProxy; @@ -10515,7 +11065,7 @@ var AsyncIteratorProxy$6 = createAsyncIteratorProxy$6(function (Promise, args) { var state = this; var iterator = state.iterator; - return Promise.resolve(anObject$$(state.next.apply(iterator, args))).then(function (step) { + return Promise.resolve(anObject$$(apply$e(state.next, iterator, args))).then(function (step) { if (anObject$$(step).done) { state.done = true; return { done: true, value: undefined }; @@ -10535,6 +11085,7 @@ $$1N({ target: 'AsyncIterator', proto: true, real: true }, { // https://github.com/tc39/proposal-iterator-helpers var $$1M = _export; +var apply$d = functionApply$1; var anObject$_ = anObject$1C; var toPositiveInteger$3 = toPositiveInteger$5; var createAsyncIteratorProxy$5 = asyncIteratorCreateProxy; @@ -10546,7 +11097,7 @@ var AsyncIteratorProxy$5 = createAsyncIteratorProxy$5(function (Promise, args) { var loop = function () { try { Promise.resolve( - anObject$_(state.next.apply(state.iterator, state.remaining ? [] : args)) + anObject$_(apply$d(state.next, state.iterator, state.remaining ? [] : args)) ).then(function (step) { try { if (anObject$_(step).done) { @@ -10586,7 +11137,8 @@ $$1L({ target: 'AsyncIterator', proto: true, real: true }, { // https://github.com/tc39/proposal-iterator-helpers var $$1K = _export; -var aCallable$x = aCallable$Q; +var apply$c = functionApply$1; +var aCallable$z = aCallable$S; var anObject$Z = anObject$1C; var createAsyncIteratorProxy$4 = asyncIteratorCreateProxy; @@ -10597,7 +11149,7 @@ var AsyncIteratorProxy$4 = createAsyncIteratorProxy$4(function (Promise, args) { return new Promise(function (resolve, reject) { var loop = function () { try { - Promise.resolve(anObject$Z(state.next.apply(state.iterator, args))).then(function (step) { + Promise.resolve(anObject$Z(apply$c(state.next, state.iterator, args))).then(function (step) { try { if (anObject$Z(step).done) { state.done = true; @@ -10621,7 +11173,7 @@ $$1K({ target: 'AsyncIterator', proto: true, real: true }, { filter: function filter(filterer) { return new AsyncIteratorProxy$4({ iterator: anObject$Z(this), - filterer: aCallable$x(filterer) + filterer: aCallable$z(filterer) }); } }); @@ -10638,7 +11190,8 @@ $$1J({ target: 'AsyncIterator', proto: true, real: true }, { // https://github.com/tc39/proposal-iterator-helpers var $$1I = _export; -var aCallable$w = aCallable$Q; +var call$t = functionCall; +var aCallable$y = aCallable$S; var anObject$Y = anObject$1C; var createAsyncIteratorProxy$3 = asyncIteratorCreateProxy; var getAsyncIterator$1 = getAsyncIterator$3; @@ -10651,7 +11204,7 @@ var AsyncIteratorProxy$3 = createAsyncIteratorProxy$3(function (Promise) { return new Promise(function (resolve, reject) { var outerLoop = function () { try { - Promise.resolve(anObject$Y(state.next.call(state.iterator))).then(function (step) { + Promise.resolve(anObject$Y(call$t(state.next, state.iterator))).then(function (step) { try { if (anObject$Y(step).done) { state.done = true; @@ -10660,7 +11213,7 @@ var AsyncIteratorProxy$3 = createAsyncIteratorProxy$3(function (Promise) { Promise.resolve(mapper(step.value)).then(function (mapped) { try { state.innerIterator = innerIterator = getAsyncIterator$1(mapped); - state.innerNext = aCallable$w(innerIterator.next); + state.innerNext = aCallable$y(innerIterator.next); return innerLoop(); } catch (error2) { reject(error2); } }, reject); @@ -10673,7 +11226,7 @@ var AsyncIteratorProxy$3 = createAsyncIteratorProxy$3(function (Promise) { var innerLoop = function () { if (innerIterator = state.innerIterator) { try { - Promise.resolve(anObject$Y(state.innerNext.call(innerIterator))).then(function (result) { + Promise.resolve(anObject$Y(call$t(state.innerNext, innerIterator))).then(function (result) { try { if (anObject$Y(result).done) { state.innerIterator = state.innerNext = null; @@ -10693,7 +11246,7 @@ $$1I({ target: 'AsyncIterator', proto: true, real: true }, { flatMap: function flatMap(mapper) { return new AsyncIteratorProxy$3({ iterator: anObject$Y(this), - mapper: aCallable$w(mapper), + mapper: aCallable$y(mapper), innerIterator: null, innerNext: null }); @@ -10712,23 +11265,23 @@ $$1H({ target: 'AsyncIterator', proto: true, real: true }, { // https://github.com/tc39/proposal-iterator-helpers var $$1G = _export; +var apply$b = functionApply$1; var anObject$X = anObject$1C; var toObject$2 = toObject$z; +var isPrototypeOf$1 = objectIsPrototypeOf; var AsyncIteratorPrototype = asyncIteratorPrototype; var createAsyncIteratorProxy$2 = asyncIteratorCreateProxy; var getAsyncIterator = getAsyncIterator$3; var getIterator$5 = getIterator$b; var getIteratorMethod$3 = getIteratorMethod$9; var getMethod$2 = getMethod$h; -var wellKnownSymbol$6 = wellKnownSymbol$G; +var wellKnownSymbol$6 = wellKnownSymbol$H; var AsyncFromSyncIterator = asyncFromSyncIterator; var ASYNC_ITERATOR = wellKnownSymbol$6('asyncIterator'); -var isPrototypeOf$1 = {}.isPrototypeOf; - var AsyncIteratorProxy$2 = createAsyncIteratorProxy$2(function (Promise, args) { - return anObject$X(this.next.apply(this.iterator, args)); + return anObject$X(apply$b(this.next, this.iterator, args)); }, true); $$1G({ target: 'AsyncIterator', stat: true }, { @@ -10738,7 +11291,7 @@ $$1G({ target: 'AsyncIterator', stat: true }, { var iterator; if (usingIterator) { iterator = getAsyncIterator(object, usingIterator); - if (isPrototypeOf$1.call(AsyncIteratorPrototype, iterator)) return iterator; + if (isPrototypeOf$1(AsyncIteratorPrototype, iterator)) return iterator; } if (iterator === undefined) { usingIterator = getIteratorMethod$3(object); @@ -10750,7 +11303,8 @@ $$1G({ target: 'AsyncIterator', stat: true }, { // https://github.com/tc39/proposal-iterator-helpers var $$1F = _export; -var aCallable$v = aCallable$Q; +var apply$a = functionApply$1; +var aCallable$x = aCallable$S; var anObject$W = anObject$1C; var createAsyncIteratorProxy$1 = asyncIteratorCreateProxy; @@ -10758,7 +11312,7 @@ var AsyncIteratorProxy$1 = createAsyncIteratorProxy$1(function (Promise, args) { var state = this; var mapper = state.mapper; - return Promise.resolve(anObject$W(state.next.apply(state.iterator, args))).then(function (step) { + return Promise.resolve(anObject$W(apply$a(state.next, state.iterator, args))).then(function (step) { if (anObject$W(step).done) { state.done = true; return { done: true, value: undefined }; @@ -10773,34 +11327,37 @@ $$1F({ target: 'AsyncIterator', proto: true, real: true }, { map: function map(mapper) { return new AsyncIteratorProxy$1({ iterator: anObject$W(this), - mapper: aCallable$v(mapper) + mapper: aCallable$x(mapper) }); } }); // https://github.com/tc39/proposal-iterator-helpers var $$1E = _export; -var aCallable$u = aCallable$Q; +var global$m = global$1S; +var call$s = functionCall; +var aCallable$w = aCallable$S; var anObject$V = anObject$1C; -var getBuiltIn$e = getBuiltIn$y; +var getBuiltIn$g = getBuiltIn$z; -var Promise$1 = getBuiltIn$e('Promise'); +var Promise$1 = getBuiltIn$g('Promise'); +var TypeError$d = global$m.TypeError; $$1E({ target: 'AsyncIterator', proto: true, real: true }, { reduce: function reduce(reducer /* , initialValue */) { var iterator = anObject$V(this); - var next = aCallable$u(iterator.next); + var next = aCallable$w(iterator.next); var noInitial = arguments.length < 2; var accumulator = noInitial ? undefined : arguments[1]; - aCallable$u(reducer); + aCallable$w(reducer); return new Promise$1(function (resolve, reject) { var loop = function () { try { - Promise$1.resolve(anObject$V(next.call(iterator))).then(function (step) { + Promise$1.resolve(anObject$V(call$s(next, iterator))).then(function (step) { try { if (anObject$V(step).done) { - noInitial ? reject(TypeError('Reduce of empty iterator with no initial value')) : resolve(accumulator); + noInitial ? reject(TypeError$d('Reduce of empty iterator with no initial value')) : resolve(accumulator); } else { var value = step.value; if (noInitial) { @@ -10836,6 +11393,8 @@ $$1D({ target: 'AsyncIterator', proto: true, real: true }, { // https://github.com/tc39/proposal-iterator-helpers var $$1C = _export; +var apply$9 = functionApply$1; +var call$r = functionCall; var anObject$U = anObject$1C; var toPositiveInteger$2 = toPositiveInteger$5; var createAsyncIteratorProxy = asyncIteratorCreateProxy; @@ -10848,12 +11407,12 @@ var AsyncIteratorProxy = createAsyncIteratorProxy(function (Promise, args) { this.done = true; returnMethod = iterator['return']; if (returnMethod !== undefined) { - return Promise.resolve(returnMethod.call(iterator)).then(function () { + return Promise.resolve(call$r(returnMethod, iterator)).then(function () { return result; }); } return result; - } return this.next.apply(iterator, args); + } return apply$9(this.next, iterator, args); }); $$1C({ target: 'AsyncIterator', proto: true, real: true }, { @@ -10875,9 +11434,10 @@ $$1B({ target: 'AsyncIterator', proto: true, real: true }, { } }); +var global$l = global$1S; var InternalStateModule$7 = internalState; var createIteratorConstructor$4 = createIteratorConstructor$7; -var isObject$3 = isObject$C; +var isObject$3 = isObject$B; var defineProperties$1 = objectDefineProperties; var DESCRIPTORS$2 = descriptors; @@ -10885,14 +11445,17 @@ var INCORRECT_RANGE = 'Incorrect Number.range arguments'; var NUMERIC_RANGE_ITERATOR = 'NumericRangeIterator'; var setInternalState$7 = InternalStateModule$7.set; -var getInternalState$5 = InternalStateModule$7.getterFor(NUMERIC_RANGE_ITERATOR); +var getInternalState$4 = InternalStateModule$7.getterFor(NUMERIC_RANGE_ITERATOR); + +var RangeError$2 = global$l.RangeError; +var TypeError$c = global$l.TypeError; var $RangeIterator = createIteratorConstructor$4(function NumericRangeIterator(start, end, option, type, zero, one) { if (typeof start != type || (end !== Infinity && end !== -Infinity && typeof end != type)) { - throw new TypeError(INCORRECT_RANGE); + throw new TypeError$c(INCORRECT_RANGE); } if (start === Infinity || start === -Infinity) { - throw new RangeError(INCORRECT_RANGE); + throw new RangeError$2(INCORRECT_RANGE); } var ifIncrease = end > start; var inclusiveEnd = false; @@ -10905,16 +11468,16 @@ var $RangeIterator = createIteratorConstructor$4(function NumericRangeIterator(s } else if (typeof option == type) { step = option; } else { - throw new TypeError(INCORRECT_RANGE); + throw new TypeError$c(INCORRECT_RANGE); } if (step == null) { step = ifIncrease ? one : -one; } if (typeof step != type) { - throw new TypeError(INCORRECT_RANGE); + throw new TypeError$c(INCORRECT_RANGE); } if (step === Infinity || step === -Infinity || (step === zero && start !== end)) { - throw new RangeError(INCORRECT_RANGE); + throw new RangeError$2(INCORRECT_RANGE); } // eslint-disable-next-line no-self-compare -- NaN check var hitsEnd = start != start || end != end || step != step || (end > start) !== (step > zero); @@ -10935,7 +11498,7 @@ var $RangeIterator = createIteratorConstructor$4(function NumericRangeIterator(s this.inclusive = inclusiveEnd; } }, NUMERIC_RANGE_ITERATOR, function next() { - var state = getInternalState$5(this); + var state = getInternalState$4(this); if (state.hitsEnd) return { value: undefined, done: true }; var start = state.start; var end = state.end; @@ -10961,16 +11524,16 @@ var getter = function (fn) { if (DESCRIPTORS$2) { defineProperties$1($RangeIterator.prototype, { start: getter(function () { - return getInternalState$5(this).start; + return getInternalState$4(this).start; }), end: getter(function () { - return getInternalState$5(this).end; + return getInternalState$4(this).end; }), inclusive: getter(function () { - return getInternalState$5(this).inclusiveEnd; + return getInternalState$4(this).inclusiveEnd; }), step: getter(function () { - return getInternalState$5(this).step; + return getInternalState$4(this).step; }) }); } @@ -10992,10 +11555,17 @@ if (typeof BigInt == 'function') { } // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` -var Map$2 = es_map; -var WeakMap$1 = es_weakMap.exports; + + +var global$k = global$1S; +var getBuiltIn$f = getBuiltIn$z; var create$3 = objectCreate$1; -var isObject$2 = isObject$C; +var isObject$2 = isObject$B; + +var Object$2 = global$k.Object; +var TypeError$b = global$k.TypeError; +var Map$2 = getBuiltIn$f('Map'); +var WeakMap$1 = getBuiltIn$f('WeakMap'); var Node = function () { // keys @@ -11029,55 +11599,60 @@ var compositeKey = function () { for (i = 0; i < length; i++) { if (isObject$2(it = arguments[i])) active = active.next(i, it, true); } - if (this === Object && active === root) throw TypeError('Composite keys must contain a non-primitive component'); + if (this === Object$2 && active === root) throw TypeError$b('Composite keys must contain a non-primitive component'); for (i = 0; i < length; i++) { if (!isObject$2(it = arguments[i])) active = active.next(i, it, false); } return active; }; var $$1z = _export; +var global$j = global$1S; +var apply$8 = functionApply$1; var getCompositeKeyNode$1 = compositeKey; -var getBuiltIn$d = getBuiltIn$y; +var getBuiltIn$e = getBuiltIn$z; var create$2 = objectCreate$1; +var Object$1 = global$j.Object; + var initializer = function () { - var freeze = getBuiltIn$d('Object', 'freeze'); + var freeze = getBuiltIn$e('Object', 'freeze'); return freeze ? freeze(create$2(null)) : create$2(null); }; // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey $$1z({ global: true }, { compositeKey: function compositeKey() { - return getCompositeKeyNode$1.apply(Object, arguments).get('object', initializer); + return apply$8(getCompositeKeyNode$1, Object$1, arguments).get('object', initializer); } }); var $$1y = _export; var getCompositeKeyNode = compositeKey; -var getBuiltIn$c = getBuiltIn$y; +var getBuiltIn$d = getBuiltIn$z; +var apply$7 = functionApply$1; // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey $$1y({ global: true }, { compositeSymbol: function compositeSymbol() { - if (arguments.length === 1 && typeof arguments[0] === 'string') return getBuiltIn$c('Symbol')['for'](arguments[0]); - return getCompositeKeyNode.apply(null, arguments).get('symbol', getBuiltIn$c('Symbol')); + if (arguments.length == 1 && typeof arguments[0] == 'string') return getBuiltIn$d('Symbol')['for'](arguments[0]); + return apply$7(getCompositeKeyNode, null, arguments).get('symbol', getBuiltIn$d('Symbol')); } }); // https://github.com/tc39/proposal-iterator-helpers var $$1x = _export; -var global$7 = global$R; +var global$i = global$1S; var anInstance$3 = anInstance$b; var isCallable$5 = isCallable$z; var createNonEnumerableProperty$3 = createNonEnumerableProperty$h; -var fails$2 = fails$15; +var fails$2 = fails$17; var hasOwn$3 = hasOwnProperty_1; -var wellKnownSymbol$5 = wellKnownSymbol$G; +var wellKnownSymbol$5 = wellKnownSymbol$H; var IteratorPrototype$2 = iteratorsCore.IteratorPrototype; var TO_STRING_TAG$2 = wellKnownSymbol$5('toStringTag'); -var NativeIterator = global$7.Iterator; +var NativeIterator = global$i.Iterator; // FF56- have non-standard global helper `Iterator` var FORCED$2 = !isCallable$5(NativeIterator) @@ -11086,7 +11661,7 @@ var FORCED$2 = !isCallable$5(NativeIterator) || !fails$2(function () { NativeIterator({}); }); var IteratorConstructor = function Iterator() { - anInstance$3(this, IteratorConstructor); + anInstance$3(this, IteratorPrototype$2); }; if (!hasOwn$3(IteratorPrototype$2, TO_STRING_TAG$2)) { @@ -11103,24 +11678,27 @@ $$1x({ global: true, forced: FORCED$2 }, { Iterator: IteratorConstructor }); -var aCallable$t = aCallable$Q; +var call$q = functionCall; +var aCallable$v = aCallable$S; var anObject$T = anObject$1C; var create$1 = objectCreate$1; var createNonEnumerableProperty$2 = createNonEnumerableProperty$h; var redefineAll$2 = redefineAll$a; -var wellKnownSymbol$4 = wellKnownSymbol$G; +var wellKnownSymbol$4 = wellKnownSymbol$H; var InternalStateModule$6 = internalState; var getMethod$1 = getMethod$h; var IteratorPrototype$1 = iteratorsCore.IteratorPrototype; +var ITERATOR_PROXY = 'IteratorProxy'; var setInternalState$6 = InternalStateModule$6.set; -var getInternalState$4 = InternalStateModule$6.get; +var getInternalState$3 = InternalStateModule$6.getterFor(ITERATOR_PROXY); var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag'); var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) { var IteratorProxy = function Iterator(state) { - state.next = aCallable$t(state.iterator.next); + state.type = ITERATOR_PROXY; + state.next = aCallable$v(state.iterator.next); state.done = false; state.ignoreArg = !IS_ITERATOR; setInternalState$6(this, state); @@ -11128,25 +11706,25 @@ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) { IteratorProxy.prototype = redefineAll$2(create$1(IteratorPrototype$1), { next: function next(arg) { - var state = getInternalState$4(this); + var state = getInternalState$3(this); var args = arguments.length ? [state.ignoreArg ? undefined : arg] : IS_ITERATOR ? [] : [undefined]; state.ignoreArg = false; - var result = state.done ? undefined : nextHandler.call(state, args); + var result = state.done ? undefined : call$q(nextHandler, state, args); return { done: state.done, value: result }; }, 'return': function (value) { - var state = getInternalState$4(this); + var state = getInternalState$3(this); var iterator = state.iterator; state.done = true; var $$return = getMethod$1(iterator, 'return'); - return { done: true, value: $$return ? anObject$T($$return.call(iterator, value)).value : value }; + return { done: true, value: $$return ? anObject$T(call$q($$return, iterator, value)).value : value }; }, 'throw': function (value) { - var state = getInternalState$4(this); + var state = getInternalState$3(this); var iterator = state.iterator; state.done = true; var $$throw = getMethod$1(iterator, 'throw'); - if ($$throw) return $$throw.call(iterator, value); + if ($$throw) return call$q($$throw, iterator, value); throw value; } }); @@ -11160,11 +11738,12 @@ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) { // https://github.com/tc39/proposal-iterator-helpers var $$1w = _export; +var apply$6 = functionApply$1; var anObject$S = anObject$1C; var createIteratorProxy$6 = iteratorCreateProxy; var IteratorProxy$6 = createIteratorProxy$6(function (args) { - var result = anObject$S(this.next.apply(this.iterator, args)); + var result = anObject$S(apply$6(this.next, this.iterator, args)); var done = this.done = !!result.done; if (!done) return [this.index++, result.value]; }); @@ -11180,6 +11759,8 @@ $$1w({ target: 'Iterator', proto: true, real: true }, { // https://github.com/tc39/proposal-iterator-helpers var $$1v = _export; +var apply$5 = functionApply$1; +var call$p = functionCall; var anObject$R = anObject$1C; var toPositiveInteger$1 = toPositiveInteger$5; var createIteratorProxy$5 = iteratorCreateProxy; @@ -11190,11 +11771,11 @@ var IteratorProxy$5 = createIteratorProxy$5(function (args) { var result, done; while (this.remaining) { this.remaining--; - result = anObject$R(next.call(iterator)); + result = anObject$R(call$p(next, iterator)); done = this.done = !!result.done; if (done) return; } - result = anObject$R(next.apply(iterator, args)); + result = anObject$R(apply$5(next, iterator, args)); done = this.done = !!result.done; if (!done) return result.value; }); @@ -11210,15 +11791,15 @@ $$1v({ target: 'Iterator', proto: true, real: true }, { // https://github.com/tc39/proposal-iterator-helpers var $$1u = _export; -var iterate$z = iterate$I; -var aCallable$s = aCallable$Q; +var iterate$y = iterate$H; +var aCallable$u = aCallable$S; var anObject$Q = anObject$1C; $$1u({ target: 'Iterator', proto: true, real: true }, { every: function every(fn) { anObject$Q(this); - aCallable$s(fn); - return !iterate$z(this, function (value, stop) { + aCallable$u(fn); + return !iterate$y(this, function (value, stop) { if (!fn(value)) return stop(); }, { IS_ITERATOR: true, INTERRUPTED: true }).stopped; } @@ -11226,7 +11807,8 @@ $$1u({ target: 'Iterator', proto: true, real: true }, { // https://github.com/tc39/proposal-iterator-helpers var $$1t = _export; -var aCallable$r = aCallable$Q; +var apply$4 = functionApply$1; +var aCallable$t = aCallable$S; var anObject$P = anObject$1C; var createIteratorProxy$4 = iteratorCreateProxy; var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$3; @@ -11237,7 +11819,7 @@ var IteratorProxy$4 = createIteratorProxy$4(function (args) { var next = this.next; var result, done, value; while (true) { - result = anObject$P(next.apply(iterator, args)); + result = anObject$P(apply$4(next, iterator, args)); done = this.done = !!result.done; if (done) return; value = result.value; @@ -11249,22 +11831,22 @@ $$1t({ target: 'Iterator', proto: true, real: true }, { filter: function filter(filterer) { return new IteratorProxy$4({ iterator: anObject$P(this), - filterer: aCallable$r(filterer) + filterer: aCallable$t(filterer) }); } }); // https://github.com/tc39/proposal-iterator-helpers var $$1s = _export; -var iterate$y = iterate$I; -var aCallable$q = aCallable$Q; +var iterate$x = iterate$H; +var aCallable$s = aCallable$S; var anObject$O = anObject$1C; $$1s({ target: 'Iterator', proto: true, real: true }, { find: function find(fn) { anObject$O(this); - aCallable$q(fn); - return iterate$y(this, function (value, stop) { + aCallable$s(fn); + return iterate$x(this, function (value, stop) { if (fn(value)) return stop(value); }, { IS_ITERATOR: true, INTERRUPTED: true }).result; } @@ -11272,12 +11854,16 @@ $$1s({ target: 'Iterator', proto: true, real: true }, { // https://github.com/tc39/proposal-iterator-helpers var $$1r = _export; -var aCallable$p = aCallable$Q; +var global$h = global$1S; +var call$o = functionCall; +var aCallable$r = aCallable$S; var anObject$N = anObject$1C; var getIteratorMethod$2 = getIteratorMethod$9; var createIteratorProxy$3 = iteratorCreateProxy; var iteratorClose$1 = iteratorClose$4; +var TypeError$a = global$h.TypeError; + var IteratorProxy$3 = createIteratorProxy$3(function () { var iterator = this.iterator; var mapper = this.mapper; @@ -11286,12 +11872,12 @@ var IteratorProxy$3 = createIteratorProxy$3(function () { while (true) { try { if (innerIterator = this.innerIterator) { - result = anObject$N(this.innerNext.call(innerIterator)); + result = anObject$N(call$o(this.innerNext, innerIterator)); if (!result.done) return result.value; this.innerIterator = this.innerNext = null; } - result = anObject$N(this.next.call(iterator)); + result = anObject$N(call$o(this.next, iterator)); if (this.done = !!result.done) return; @@ -11299,11 +11885,11 @@ var IteratorProxy$3 = createIteratorProxy$3(function () { iteratorMethod = getIteratorMethod$2(mapped); if (!iteratorMethod) { - throw TypeError('.flatMap callback should return an iterable object'); + throw TypeError$a('.flatMap callback should return an iterable object'); } - this.innerIterator = innerIterator = anObject$N(iteratorMethod.call(mapped)); - this.innerNext = aCallable$p(innerIterator.next); + this.innerIterator = innerIterator = anObject$N(call$o(iteratorMethod, mapped)); + this.innerNext = aCallable$r(innerIterator.next); } catch (error) { iteratorClose$1(iterator, 'throw', error); } @@ -11314,7 +11900,7 @@ $$1r({ target: 'Iterator', proto: true, real: true }, { flatMap: function flatMap(mapper) { return new IteratorProxy$3({ iterator: anObject$N(this), - mapper: aCallable$p(mapper), + mapper: aCallable$r(mapper), innerIterator: null, innerNext: null }); @@ -11323,28 +11909,28 @@ $$1r({ target: 'Iterator', proto: true, real: true }, { // https://github.com/tc39/proposal-iterator-helpers var $$1q = _export; -var iterate$x = iterate$I; +var iterate$w = iterate$H; var anObject$M = anObject$1C; $$1q({ target: 'Iterator', proto: true, real: true }, { forEach: function forEach(fn) { - iterate$x(anObject$M(this), fn, { IS_ITERATOR: true }); + iterate$w(anObject$M(this), fn, { IS_ITERATOR: true }); } }); // https://github.com/tc39/proposal-iterator-helpers var $$1p = _export; +var apply$3 = functionApply$1; var anObject$L = anObject$1C; var toObject$1 = toObject$z; +var isPrototypeOf = objectIsPrototypeOf; var IteratorPrototype = iteratorsCore.IteratorPrototype; var createIteratorProxy$2 = iteratorCreateProxy; var getIterator$4 = getIterator$b; var getIteratorMethod$1 = getIteratorMethod$9; -var isPrototypeOf = {}.isPrototypeOf; - var IteratorProxy$2 = createIteratorProxy$2(function (args) { - var result = anObject$L(this.next.apply(this.iterator, args)); + var result = anObject$L(apply$3(this.next, this.iterator, args)); var done = this.done = !!result.done; if (!done) return result.value; }, true); @@ -11356,7 +11942,7 @@ $$1p({ target: 'Iterator', stat: true }, { var iterator; if (usingIterator) { iterator = getIterator$4(object, usingIterator); - if (isPrototypeOf.call(IteratorPrototype, iterator)) return iterator; + if (isPrototypeOf(IteratorPrototype, iterator)) return iterator; } else { iterator = object; } return new IteratorProxy$2({ iterator: iterator }); @@ -11365,14 +11951,15 @@ $$1p({ target: 'Iterator', stat: true }, { // https://github.com/tc39/proposal-iterator-helpers var $$1o = _export; -var aCallable$o = aCallable$Q; +var apply$2 = functionApply$1; +var aCallable$q = aCallable$S; var anObject$K = anObject$1C; var createIteratorProxy$1 = iteratorCreateProxy; var callWithSafeIterationClosing = callWithSafeIterationClosing$3; var IteratorProxy$1 = createIteratorProxy$1(function (args) { var iterator = this.iterator; - var result = anObject$K(this.next.apply(iterator, args)); + var result = anObject$K(apply$2(this.next, iterator, args)); var done = this.done = !!result.done; if (!done) return callWithSafeIterationClosing(iterator, this.mapper, result.value); }); @@ -11381,24 +11968,27 @@ $$1o({ target: 'Iterator', proto: true, real: true }, { map: function map(mapper) { return new IteratorProxy$1({ iterator: anObject$K(this), - mapper: aCallable$o(mapper) + mapper: aCallable$q(mapper) }); } }); // https://github.com/tc39/proposal-iterator-helpers var $$1n = _export; -var iterate$w = iterate$I; -var aCallable$n = aCallable$Q; +var global$g = global$1S; +var iterate$v = iterate$H; +var aCallable$p = aCallable$S; var anObject$J = anObject$1C; +var TypeError$9 = global$g.TypeError; + $$1n({ target: 'Iterator', proto: true, real: true }, { reduce: function reduce(reducer /* , initialValue */) { anObject$J(this); - aCallable$n(reducer); + aCallable$p(reducer); var noInitial = arguments.length < 2; var accumulator = noInitial ? undefined : arguments[1]; - iterate$w(this, function (value) { + iterate$v(this, function (value) { if (noInitial) { noInitial = false; accumulator = value; @@ -11406,22 +11996,22 @@ $$1n({ target: 'Iterator', proto: true, real: true }, { accumulator = reducer(accumulator, value); } }, { IS_ITERATOR: true }); - if (noInitial) throw TypeError('Reduce of empty iterator with no initial value'); + if (noInitial) throw TypeError$9('Reduce of empty iterator with no initial value'); return accumulator; } }); // https://github.com/tc39/proposal-iterator-helpers var $$1m = _export; -var iterate$v = iterate$I; -var aCallable$m = aCallable$Q; +var iterate$u = iterate$H; +var aCallable$o = aCallable$S; var anObject$I = anObject$1C; $$1m({ target: 'Iterator', proto: true, real: true }, { some: function some(fn) { anObject$I(this); - aCallable$m(fn); - return iterate$v(this, function (value, stop) { + aCallable$o(fn); + return iterate$u(this, function (value, stop) { if (fn(value)) return stop(); }, { IS_ITERATOR: true, INTERRUPTED: true }).stopped; } @@ -11429,6 +12019,7 @@ $$1m({ target: 'Iterator', proto: true, real: true }, { // https://github.com/tc39/proposal-iterator-helpers var $$1l = _export; +var apply$1 = functionApply$1; var anObject$H = anObject$1C; var toPositiveInteger = toPositiveInteger$5; var createIteratorProxy = iteratorCreateProxy; @@ -11440,7 +12031,7 @@ var IteratorProxy = createIteratorProxy(function (args) { this.done = true; return iteratorClose(iterator, 'normal', undefined); } - var result = anObject$H(this.next.apply(iterator, args)); + var result = anObject$H(apply$1(this.next, iterator, args)); var done = this.done = !!result.done; if (!done) return result.value; }); @@ -11456,30 +12047,31 @@ $$1l({ target: 'Iterator', proto: true, real: true }, { // https://github.com/tc39/proposal-iterator-helpers var $$1k = _export; -var iterate$u = iterate$I; +var iterate$t = iterate$H; var anObject$G = anObject$1C; -var push = [].push; +var push$7 = [].push; $$1k({ target: 'Iterator', proto: true, real: true }, { toArray: function toArray() { var result = []; - iterate$u(anObject$G(this), push, { that: result, IS_ITERATOR: true }); + iterate$t(anObject$G(this), push$7, { that: result, IS_ITERATOR: true }); return result; } }); -var aCallable$l = aCallable$Q; +var call$n = functionCall; +var aCallable$n = aCallable$S; var anObject$F = anObject$1C; // https://github.com/tc39/collection-methods -var collectionDeleteAll$4 = function (/* ...elements */) { +var collectionDeleteAll = function deleteAll(/* ...elements */) { var collection = anObject$F(this); - var remover = aCallable$l(collection['delete']); + var remover = aCallable$n(collection['delete']); var allDeleted = true; var wasDeleted; for (var k = 0, len = arguments.length; k < len; k++) { - wasDeleted = remover.call(collection, arguments[k]); + wasDeleted = call$n(remover, collection, arguments[k]); allDeleted = allDeleted && wasDeleted; } return !!allDeleted; @@ -11487,50 +12079,55 @@ var collectionDeleteAll$4 = function (/* ...elements */) { var $$1j = _export; var IS_PURE$B = isPure; -var collectionDeleteAll$3 = collectionDeleteAll$4; +var deleteAll$3 = collectionDeleteAll; // `Map.prototype.deleteAll` method // https://github.com/tc39/proposal-collection-methods $$1j({ target: 'Map', proto: true, real: true, forced: IS_PURE$B }, { - deleteAll: function deleteAll(/* ...elements */) { - return collectionDeleteAll$3.apply(this, arguments); - } + deleteAll: deleteAll$3 }); +var call$m = functionCall; +var aCallable$m = aCallable$S; var anObject$E = anObject$1C; // `Map.prototype.emplace` method // https://github.com/thumbsupep/proposal-upsert var mapEmplace = function emplace(key, handler) { var map = anObject$E(this); - var value = (map.has(key) && 'update' in handler) - ? handler.update(map.get(key), key, map) + var get = aCallable$m(map.get); + var has = aCallable$m(map.has); + var set = aCallable$m(map.set); + var value = (call$m(has, map, key) && 'update' in handler) + ? handler.update(call$m(get, map, key), key, map) : handler.insert(key, map); - map.set(key, value); + call$m(set, map, key, value); return value; }; var $$1i = _export; var IS_PURE$A = isPure; -var $emplace$1 = mapEmplace; +var emplace$1 = mapEmplace; // `Map.prototype.emplace` method // https://github.com/thumbsupep/proposal-upsert $$1i({ target: 'Map', proto: true, real: true, forced: IS_PURE$A }, { - emplace: $emplace$1 + emplace: emplace$1 }); +var call$l = functionCall; + var getMapIterator$a = function (it) { // eslint-disable-next-line es/no-map -- safe - return Map.prototype.entries.call(it); + return call$l(Map.prototype.entries, it); }; var $$1h = _export; var IS_PURE$z = isPure; var anObject$D = anObject$1C; -var bind$d = functionBindContext; +var bind$e = functionBindContext; var getMapIterator$9 = getMapIterator$a; -var iterate$t = iterate$I; +var iterate$s = iterate$H; // `Map.prototype.every` method // https://github.com/tc39/proposal-collection-methods @@ -11538,22 +12135,23 @@ $$1h({ target: 'Map', proto: true, real: true, forced: IS_PURE$z }, { every: function every(callbackfn /* , thisArg */) { var map = anObject$D(this); var iterator = getMapIterator$9(map); - var boundFunction = bind$d(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - return !iterate$t(iterator, function (key, value, stop) { + var boundFunction = bind$e(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return !iterate$s(iterator, function (key, value, stop) { if (!boundFunction(value, key, map)) return stop(); }, { AS_ENTRIES: true, IS_ITERATOR: true, INTERRUPTED: true }).stopped; } }); -var $$1g = _export; var IS_PURE$y = isPure; -var getBuiltIn$b = getBuiltIn$y; -var aCallable$k = aCallable$Q; +var $$1g = _export; +var getBuiltIn$c = getBuiltIn$z; +var bind$d = functionBindContext; +var call$k = functionCall; +var aCallable$l = aCallable$S; var anObject$C = anObject$1C; -var bind$c = functionBindContext; var speciesConstructor$8 = speciesConstructor$f; var getMapIterator$8 = getMapIterator$a; -var iterate$s = iterate$I; +var iterate$r = iterate$H; // `Map.prototype.filter` method // https://github.com/tc39/proposal-collection-methods @@ -11561,11 +12159,11 @@ $$1g({ target: 'Map', proto: true, real: true, forced: IS_PURE$y }, { filter: function filter(callbackfn /* , thisArg */) { var map = anObject$C(this); var iterator = getMapIterator$8(map); - var boundFunction = bind$c(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var newMap = new (speciesConstructor$8(map, getBuiltIn$b('Map')))(); - var setter = aCallable$k(newMap.set); - iterate$s(iterator, function (key, value) { - if (boundFunction(value, key, map)) setter.call(newMap, key, value); + var boundFunction = bind$d(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newMap = new (speciesConstructor$8(map, getBuiltIn$c('Map')))(); + var setter = aCallable$l(newMap.set); + iterate$r(iterator, function (key, value) { + if (boundFunction(value, key, map)) call$k(setter, newMap, key, value); }, { AS_ENTRIES: true, IS_ITERATOR: true }); return newMap; } @@ -11574,9 +12172,9 @@ $$1g({ target: 'Map', proto: true, real: true, forced: IS_PURE$y }, { var $$1f = _export; var IS_PURE$x = isPure; var anObject$B = anObject$1C; -var bind$b = functionBindContext; +var bind$c = functionBindContext; var getMapIterator$7 = getMapIterator$a; -var iterate$r = iterate$I; +var iterate$q = iterate$H; // `Map.prototype.find` method // https://github.com/tc39/proposal-collection-methods @@ -11584,8 +12182,8 @@ $$1f({ target: 'Map', proto: true, real: true, forced: IS_PURE$x }, { find: function find(callbackfn /* , thisArg */) { var map = anObject$B(this); var iterator = getMapIterator$7(map); - var boundFunction = bind$b(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - return iterate$r(iterator, function (key, value, stop) { + var boundFunction = bind$c(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate$q(iterator, function (key, value, stop) { if (boundFunction(value, key, map)) return stop(value); }, { AS_ENTRIES: true, IS_ITERATOR: true, INTERRUPTED: true }).result; } @@ -11594,9 +12192,9 @@ $$1f({ target: 'Map', proto: true, real: true, forced: IS_PURE$x }, { var $$1e = _export; var IS_PURE$w = isPure; var anObject$A = anObject$1C; -var bind$a = functionBindContext; +var bind$b = functionBindContext; var getMapIterator$6 = getMapIterator$a; -var iterate$q = iterate$I; +var iterate$p = iterate$H; // `Map.prototype.findKey` method // https://github.com/tc39/proposal-collection-methods @@ -11604,18 +12202,21 @@ $$1e({ target: 'Map', proto: true, real: true, forced: IS_PURE$w }, { findKey: function findKey(callbackfn /* , thisArg */) { var map = anObject$A(this); var iterator = getMapIterator$6(map); - var boundFunction = bind$a(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - return iterate$q(iterator, function (key, value, stop) { + var boundFunction = bind$b(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate$p(iterator, function (key, value, stop) { if (boundFunction(value, key, map)) return stop(key); }, { AS_ENTRIES: true, IS_ITERATOR: true, INTERRUPTED: true }).result; } }); // https://tc39.github.io/proposal-setmap-offrom/ -var aCallable$j = aCallable$Q; +var bind$a = functionBindContext; +var call$j = functionCall; +var aCallable$k = aCallable$S; var aConstructor$1 = aConstructor$5; -var bind$9 = functionBindContext; -var iterate$p = iterate$I; +var iterate$o = iterate$H; + +var push$6 = [].push; var collectionFrom = function from(source /* , mapFn, thisArg */) { var length = arguments.length; @@ -11623,49 +12224,53 @@ var collectionFrom = function from(source /* , mapFn, thisArg */) { var mapping, array, n, boundFunction; aConstructor$1(this); mapping = mapFn !== undefined; - if (mapping) aCallable$j(mapFn); + if (mapping) aCallable$k(mapFn); if (source == undefined) return new this(); array = []; if (mapping) { n = 0; - boundFunction = bind$9(mapFn, length > 2 ? arguments[2] : undefined, 2); - iterate$p(source, function (nextItem) { - array.push(boundFunction(nextItem, n++)); + boundFunction = bind$a(mapFn, length > 2 ? arguments[2] : undefined); + iterate$o(source, function (nextItem) { + call$j(push$6, array, boundFunction(nextItem, n++)); }); } else { - iterate$p(source, array.push, { that: array }); + iterate$o(source, push$6, { that: array }); } return new this(array); }; var $$1d = _export; -var from$4 = collectionFrom; +var from$3 = collectionFrom; // `Map.from` method // https://tc39.github.io/proposal-setmap-offrom/#sec-map.from $$1d({ target: 'Map', stat: true }, { - from: from$4 + from: from$3 }); var $$1c = _export; -var aCallable$i = aCallable$Q; +var call$i = functionCall; +var uncurryThis$8 = functionUncurryThis; +var aCallable$j = aCallable$S; var getIterator$3 = getIterator$b; -var iterate$o = iterate$I; +var iterate$n = iterate$H; + +var push$5 = uncurryThis$8([].push); // `Map.groupBy` method // https://github.com/tc39/proposal-collection-methods $$1c({ target: 'Map', stat: true }, { groupBy: function groupBy(iterable, keyDerivative) { - aCallable$i(keyDerivative); + aCallable$j(keyDerivative); var iterator = getIterator$3(iterable); var newMap = new this(); - var has = aCallable$i(newMap.has); - var get = aCallable$i(newMap.get); - var set = aCallable$i(newMap.set); - iterate$o(iterator, function (element) { + var has = aCallable$j(newMap.has); + var get = aCallable$j(newMap.get); + var set = aCallable$j(newMap.set); + iterate$n(iterator, function (element) { var derivedKey = keyDerivative(element); - if (!has.call(newMap, derivedKey)) set.call(newMap, derivedKey, [element]); - else get.call(newMap, derivedKey).push(element); + if (!call$i(has, newMap, derivedKey)) call$i(set, newMap, derivedKey, [element]); + else push$5(call$i(get, newMap, derivedKey), element); }, { IS_ITERATOR: true }); return newMap; } @@ -11678,36 +12283,37 @@ var sameValueZero$1 = function (x, y) { return x === y || x != x && y != y; }; -var $$1b = _export; var IS_PURE$v = isPure; +var $$1b = _export; var anObject$z = anObject$1C; var getMapIterator$5 = getMapIterator$a; var sameValueZero = sameValueZero$1; -var iterate$n = iterate$I; +var iterate$m = iterate$H; // `Map.prototype.includes` method // https://github.com/tc39/proposal-collection-methods $$1b({ target: 'Map', proto: true, real: true, forced: IS_PURE$v }, { includes: function includes(searchElement) { - return iterate$n(getMapIterator$5(anObject$z(this)), function (key, value, stop) { + return iterate$m(getMapIterator$5(anObject$z(this)), function (key, value, stop) { if (sameValueZero(value, searchElement)) return stop(); }, { AS_ENTRIES: true, IS_ITERATOR: true, INTERRUPTED: true }).stopped; } }); var $$1a = _export; -var iterate$m = iterate$I; -var aCallable$h = aCallable$Q; +var call$h = functionCall; +var iterate$l = iterate$H; +var aCallable$i = aCallable$S; // `Map.keyBy` method // https://github.com/tc39/proposal-collection-methods $$1a({ target: 'Map', stat: true }, { keyBy: function keyBy(iterable, keyDerivative) { var newMap = new this(); - aCallable$h(keyDerivative); - var setter = aCallable$h(newMap.set); - iterate$m(iterable, function (element) { - setter.call(newMap, keyDerivative(element), element); + aCallable$i(keyDerivative); + var setter = aCallable$i(newMap.set); + iterate$l(iterable, function (element) { + call$h(setter, newMap, keyDerivative(element), element); }); return newMap; } @@ -11717,27 +12323,28 @@ var $$19 = _export; var IS_PURE$u = isPure; var anObject$y = anObject$1C; var getMapIterator$4 = getMapIterator$a; -var iterate$l = iterate$I; +var iterate$k = iterate$H; // `Map.prototype.keyOf` method // https://github.com/tc39/proposal-collection-methods $$19({ target: 'Map', proto: true, real: true, forced: IS_PURE$u }, { keyOf: function keyOf(searchElement) { - return iterate$l(getMapIterator$4(anObject$y(this)), function (key, value, stop) { + return iterate$k(getMapIterator$4(anObject$y(this)), function (key, value, stop) { if (value === searchElement) return stop(key); }, { AS_ENTRIES: true, IS_ITERATOR: true, INTERRUPTED: true }).result; } }); -var $$18 = _export; var IS_PURE$t = isPure; -var getBuiltIn$a = getBuiltIn$y; -var aCallable$g = aCallable$Q; +var $$18 = _export; +var getBuiltIn$b = getBuiltIn$z; +var bind$9 = functionBindContext; +var call$g = functionCall; +var aCallable$h = aCallable$S; var anObject$x = anObject$1C; -var bind$8 = functionBindContext; var speciesConstructor$7 = speciesConstructor$f; var getMapIterator$3 = getMapIterator$a; -var iterate$k = iterate$I; +var iterate$j = iterate$H; // `Map.prototype.mapKeys` method // https://github.com/tc39/proposal-collection-methods @@ -11745,25 +12352,26 @@ $$18({ target: 'Map', proto: true, real: true, forced: IS_PURE$t }, { mapKeys: function mapKeys(callbackfn /* , thisArg */) { var map = anObject$x(this); var iterator = getMapIterator$3(map); - var boundFunction = bind$8(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var newMap = new (speciesConstructor$7(map, getBuiltIn$a('Map')))(); - var setter = aCallable$g(newMap.set); - iterate$k(iterator, function (key, value) { - setter.call(newMap, boundFunction(value, key, map), value); + var boundFunction = bind$9(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newMap = new (speciesConstructor$7(map, getBuiltIn$b('Map')))(); + var setter = aCallable$h(newMap.set); + iterate$j(iterator, function (key, value) { + call$g(setter, newMap, boundFunction(value, key, map), value); }, { AS_ENTRIES: true, IS_ITERATOR: true }); return newMap; } }); -var $$17 = _export; var IS_PURE$s = isPure; -var getBuiltIn$9 = getBuiltIn$y; -var aCallable$f = aCallable$Q; +var $$17 = _export; +var getBuiltIn$a = getBuiltIn$z; +var bind$8 = functionBindContext; +var call$f = functionCall; +var aCallable$g = aCallable$S; var anObject$w = anObject$1C; -var bind$7 = functionBindContext; var speciesConstructor$6 = speciesConstructor$f; var getMapIterator$2 = getMapIterator$a; -var iterate$j = iterate$I; +var iterate$i = iterate$H; // `Map.prototype.mapValues` method // https://github.com/tc39/proposal-collection-methods @@ -11771,11 +12379,11 @@ $$17({ target: 'Map', proto: true, real: true, forced: IS_PURE$s }, { mapValues: function mapValues(callbackfn /* , thisArg */) { var map = anObject$w(this); var iterator = getMapIterator$2(map); - var boundFunction = bind$7(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - var newMap = new (speciesConstructor$6(map, getBuiltIn$9('Map')))(); - var setter = aCallable$f(newMap.set); - iterate$j(iterator, function (key, value) { - setter.call(newMap, key, boundFunction(value, key, map)); + var boundFunction = bind$8(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + var newMap = new (speciesConstructor$6(map, getBuiltIn$a('Map')))(); + var setter = aCallable$g(newMap.set); + iterate$i(iterator, function (key, value) { + call$f(setter, newMap, key, boundFunction(value, key, map)); }, { AS_ENTRIES: true, IS_ITERATOR: true }); return newMap; } @@ -11783,9 +12391,9 @@ $$17({ target: 'Map', proto: true, real: true, forced: IS_PURE$s }, { var $$16 = _export; var IS_PURE$r = isPure; -var aCallable$e = aCallable$Q; +var aCallable$f = aCallable$S; var anObject$v = anObject$1C; -var iterate$i = iterate$I; +var iterate$h = iterate$H; // `Map.prototype.merge` method // https://github.com/tc39/proposal-collection-methods @@ -11793,22 +12401,21 @@ $$16({ target: 'Map', proto: true, real: true, forced: IS_PURE$r }, { // eslint-disable-next-line no-unused-vars -- required for `.length` merge: function merge(iterable /* ...iterbles */) { var map = anObject$v(this); - var setter = aCallable$e(map.set); + var setter = aCallable$f(map.set); var argumentsLength = arguments.length; var i = 0; while (i < argumentsLength) { - iterate$i(arguments[i++], setter, { that: map, AS_ENTRIES: true }); + iterate$h(arguments[i++], setter, { that: map, AS_ENTRIES: true }); } return map; } }); +var arraySlice$2 = arraySlice$d; + // https://tc39.github.io/proposal-setmap-offrom/ var collectionOf = function of() { - var length = arguments.length; - var A = new Array(length); - while (length--) A[length] = arguments[length]; - return new this(A); + return new this(arraySlice$2(arguments)); }; var $$15 = _export; @@ -11821,11 +12428,14 @@ $$15({ target: 'Map', stat: true }, { }); var $$14 = _export; +var global$f = global$1S; var IS_PURE$q = isPure; var anObject$u = anObject$1C; -var aCallable$d = aCallable$Q; +var aCallable$e = aCallable$S; var getMapIterator$1 = getMapIterator$a; -var iterate$h = iterate$I; +var iterate$g = iterate$H; + +var TypeError$8 = global$f.TypeError; // `Map.prototype.reduce` method // https://github.com/tc39/proposal-collection-methods @@ -11835,8 +12445,8 @@ $$14({ target: 'Map', proto: true, real: true, forced: IS_PURE$q }, { var iterator = getMapIterator$1(map); var noInitial = arguments.length < 2; var accumulator = noInitial ? undefined : arguments[1]; - aCallable$d(callbackfn); - iterate$h(iterator, function (key, value) { + aCallable$e(callbackfn); + iterate$g(iterator, function (key, value) { if (noInitial) { noInitial = false; accumulator = value; @@ -11844,7 +12454,7 @@ $$14({ target: 'Map', proto: true, real: true, forced: IS_PURE$q }, { accumulator = callbackfn(accumulator, value, key, map); } }, { AS_ENTRIES: true, IS_ITERATOR: true }); - if (noInitial) throw TypeError('Reduce of empty map with no initial value'); + if (noInitial) throw TypeError$8('Reduce of empty map with no initial value'); return accumulator; } }); @@ -11852,9 +12462,9 @@ $$14({ target: 'Map', proto: true, real: true, forced: IS_PURE$q }, { var $$13 = _export; var IS_PURE$p = isPure; var anObject$t = anObject$1C; -var bind$6 = functionBindContext; +var bind$7 = functionBindContext; var getMapIterator = getMapIterator$a; -var iterate$g = iterate$I; +var iterate$f = iterate$H; // `Set.prototype.some` method // https://github.com/tc39/proposal-collection-methods @@ -11862,79 +12472,94 @@ $$13({ target: 'Map', proto: true, real: true, forced: IS_PURE$p }, { some: function some(callbackfn /* , thisArg */) { var map = anObject$t(this); var iterator = getMapIterator(map); - var boundFunction = bind$6(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); - return iterate$g(iterator, function (key, value, stop) { + var boundFunction = bind$7(callbackfn, arguments.length > 1 ? arguments[1] : undefined); + return iterate$f(iterator, function (key, value, stop) { if (boundFunction(value, key, map)) return stop(); }, { AS_ENTRIES: true, IS_ITERATOR: true, INTERRUPTED: true }).stopped; } }); -var $$12 = _export; var IS_PURE$o = isPure; +var $$12 = _export; +var global$e = global$1S; +var call$e = functionCall; var anObject$s = anObject$1C; -var aCallable$c = aCallable$Q; +var aCallable$d = aCallable$S; + +var TypeError$7 = global$e.TypeError; // `Set.prototype.update` method // https://github.com/tc39/proposal-collection-methods $$12({ target: 'Map', proto: true, real: true, forced: IS_PURE$o }, { update: function update(key, callback /* , thunk */) { var map = anObject$s(this); + var get = aCallable$d(map.get); + var has = aCallable$d(map.has); + var set = aCallable$d(map.set); var length = arguments.length; - aCallable$c(callback); - var isPresentInMap = map.has(key); + aCallable$d(callback); + var isPresentInMap = call$e(has, map, key); if (!isPresentInMap && length < 3) { - throw TypeError('Updating absent value'); + throw TypeError$7('Updating absent value'); } - var value = isPresentInMap ? map.get(key) : aCallable$c(length > 2 ? arguments[2] : undefined)(key, map); - map.set(key, callback(value, key, map)); + var value = isPresentInMap ? call$e(get, map, key) : aCallable$d(length > 2 ? arguments[2] : undefined)(key, map); + call$e(set, map, key, callback(value, key, map)); return map; } }); +var global$d = global$1S; +var call$d = functionCall; +var aCallable$c = aCallable$S; var isCallable$4 = isCallable$z; var anObject$r = anObject$1C; +var TypeError$6 = global$d.TypeError; + // `Map.prototype.upsert` method // https://github.com/thumbsupep/proposal-upsert var mapUpsert = function upsert(key, updateFn /* , insertFn */) { var map = anObject$r(this); + var get = aCallable$c(map.get); + var has = aCallable$c(map.has); + var set = aCallable$c(map.set); var insertFn = arguments.length > 2 ? arguments[2] : undefined; var value; if (!isCallable$4(updateFn) && !isCallable$4(insertFn)) { - throw TypeError('At least one callback required'); + throw TypeError$6('At least one callback required'); } - if (map.has(key)) { - value = map.get(key); + if (call$d(has, map, key)) { + value = call$d(get, map, key); if (isCallable$4(updateFn)) { value = updateFn(value); - map.set(key, value); + call$d(set, map, key, value); } } else if (isCallable$4(insertFn)) { value = insertFn(); - map.set(key, value); + call$d(set, map, key, value); } return value; }; // TODO: remove from `core-js@4` var $$11 = _export; var IS_PURE$n = isPure; -var $upsert$2 = mapUpsert; +var upsert$2 = mapUpsert; // `Map.prototype.updateOrInsert` method (replaced by `Map.prototype.emplace`) // https://github.com/thumbsupep/proposal-upsert $$11({ target: 'Map', proto: true, real: true, name: 'upsert', forced: IS_PURE$n }, { - updateOrInsert: $upsert$2 + updateOrInsert: upsert$2 }); // TODO: remove from `core-js@4` var $$10 = _export; var IS_PURE$m = isPure; -var $upsert$1 = mapUpsert; +var upsert$1 = mapUpsert; // `Map.prototype.upsert` method (replaced by `Map.prototype.emplace`) // https://github.com/thumbsupep/proposal-upsert $$10({ target: 'Map', proto: true, real: true, forced: IS_PURE$m }, { - upsert: $upsert$1 + upsert: upsert$1 }); var $$$ = _export; @@ -11973,18 +12598,15 @@ $$Z({ target: 'Math', stat: true }, { // `Math.scale` method implementation // https://rwaldron.github.io/proposal-math-extensions/ var mathScale = Math.scale || function scale(x, inLow, inHigh, outLow, outHigh) { - if ( - arguments.length === 0 - /* eslint-disable no-self-compare -- NaN check */ - || x != x - || inLow != inLow - || inHigh != inHigh - || outLow != outLow - || outHigh != outHigh - /* eslint-enable no-self-compare -- NaN check */ - ) return NaN; - if (x === Infinity || x === -Infinity) return x; - return (x - inLow) * (outHigh - outLow) / (inHigh - inLow) + outLow; + 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; }; var $$Y = _export; @@ -12077,6 +12699,7 @@ $$S({ target: 'Math', stat: true }, { }); var $$R = _export; +var global$c = global$1S; var anObject$q = anObject$1C; var numberIsFinite = numberIsFinite$2; var createIteratorConstructor$3 = createIteratorConstructor$7; @@ -12084,9 +12707,10 @@ var InternalStateModule$5 = internalState; var SEEDED_RANDOM = 'Seeded Random'; var SEEDED_RANDOM_GENERATOR = SEEDED_RANDOM + ' Generator'; -var setInternalState$5 = InternalStateModule$5.set; -var getInternalState$3 = InternalStateModule$5.getterFor(SEEDED_RANDOM_GENERATOR); var SEED_TYPE_ERROR = 'Math.seededPRNG() argument should have a "seed" field with a finite value.'; +var setInternalState$5 = InternalStateModule$5.set; +var getInternalState$2 = InternalStateModule$5.getterFor(SEEDED_RANDOM_GENERATOR); +var TypeError$5 = global$c.TypeError; var $SeededRandomGenerator = createIteratorConstructor$3(function SeededRandomGenerator(seed) { setInternalState$5(this, { @@ -12094,7 +12718,7 @@ var $SeededRandomGenerator = createIteratorConstructor$3(function SeededRandomGe seed: seed % 2147483647 }); }, SEEDED_RANDOM, function next() { - var state = getInternalState$3(this); + var state = getInternalState$2(this); var seed = state.seed = (state.seed * 1103515245 + 12345) % 2147483647; return { value: (seed & 1073741823) / 1073741823, done: false }; }); @@ -12105,7 +12729,7 @@ var $SeededRandomGenerator = createIteratorConstructor$3(function SeededRandomGe $$R({ target: 'Math', stat: true, forced: true }, { seededPRNG: function seededPRNG(it) { var seed = anObject$q(it).seed; - if (!numberIsFinite(seed)) throw TypeError(SEED_TYPE_ERROR); + if (!numberIsFinite(seed)) throw TypeError$5(SEED_TYPE_ERROR); return new $SeededRandomGenerator(seed); } }); @@ -12140,12 +12764,21 @@ $$P({ target: 'Math', stat: true }, { }); var $$O = _export; +var global$b = global$1S; +var uncurryThis$7 = functionUncurryThis; var toIntegerOrInfinity = toIntegerOrInfinity$i; -var parseInt$1 = numberParseInt; +var parseInt$2 = numberParseInt; var INVALID_NUMBER_REPRESENTATION = 'Invalid number representation'; var INVALID_RADIX = 'Invalid radix'; +var RangeError$1 = global$b.RangeError; +var SyntaxError = global$b.SyntaxError; +var TypeError$4 = global$b.TypeError; var valid = /^[\da-z]+$/; +var charAt$4 = uncurryThis$7(''.charAt); +var exec$2 = uncurryThis$7(valid.exec); +var numberToString$1 = uncurryThis$7(1.0.toString); +var stringSlice$2 = uncurryThis$7(''.slice); // `Number.fromString` method // https://github.com/tc39/proposal-number-fromstring @@ -12153,16 +12786,16 @@ $$O({ 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 (typeof string != 'string') throw TypeError$4(INVALID_NUMBER_REPRESENTATION); if (!string.length) throw SyntaxError(INVALID_NUMBER_REPRESENTATION); - if (string.charAt(0) == '-') { + if (charAt$4(string, 0) == '-') { sign = -1; - string = string.slice(1); + string = stringSlice$2(string, 1); if (!string.length) throw SyntaxError(INVALID_NUMBER_REPRESENTATION); } R = radix === undefined ? 10 : toIntegerOrInfinity(radix); - if (R < 2 || R > 36) throw RangeError(INVALID_RADIX); - if (!valid.test(string) || (mathNum = parseInt$1(string, R)).toString(R) !== string) { + if (R < 2 || R > 36) throw RangeError$1(INVALID_RADIX); + if (!exec$2(valid, string) || numberToString$1(mathNum = parseInt$2(string, R), R) !== string) { throw SyntaxError(INVALID_NUMBER_REPRESENTATION); } return sign * mathNum; @@ -12188,7 +12821,7 @@ var toObject = toObject$z; var OBJECT_ITERATOR = 'Object Iterator'; var setInternalState$4 = InternalStateModule$4.set; -var getInternalState$2 = InternalStateModule$4.getterFor(OBJECT_ITERATOR); +var getInternalState$1 = InternalStateModule$4.getterFor(OBJECT_ITERATOR); var objectIterator = createIteratorConstructor$2(function ObjectIterator(source, mode) { var object = toObject(source); @@ -12200,7 +12833,7 @@ var objectIterator = createIteratorConstructor$2(function ObjectIterator(source, index: 0 }); }, 'Object', function next() { - var state = getInternalState$2(this); + var state = getInternalState$1(this); var keys = state.keys; while (true) { if (keys === null || state.index >= keys.length) { @@ -12252,68 +12885,80 @@ $$K({ target: 'Object', stat: true }, { // https://github.com/tc39/proposal-observable var $$J = _export; +var global$a = global$1S; +var call$c = functionCall; var DESCRIPTORS$1 = descriptors; var setSpecies = setSpecies$7; -var aCallable$b = aCallable$Q; +var aCallable$b = aCallable$S; var isCallable$3 = isCallable$z; var isConstructor = isConstructor$7; var anObject$p = anObject$1C; -var isObject$1 = isObject$C; +var isObject$1 = isObject$B; var anInstance$2 = anInstance$b; var defineProperty = objectDefineProperty.f; var redefine$2 = redefine$l.exports; var redefineAll$1 = redefineAll$a; var getIterator$2 = getIterator$b; var getMethod = getMethod$h; -var iterate$f = iterate$I; +var iterate$e = iterate$H; var hostReportErrors = hostReportErrors$2; -var wellKnownSymbol$3 = wellKnownSymbol$G; +var wellKnownSymbol$3 = wellKnownSymbol$H; var InternalStateModule$3 = internalState; -var OBSERVABLE = wellKnownSymbol$3('observable'); -var getInternalState$1 = InternalStateModule$3.get; +var $$OBSERVABLE = wellKnownSymbol$3('observable'); +var OBSERVABLE = 'Observable'; +var SUBSCRIPTION = 'Subscription'; +var SUBSCRIPTION_OBSERVER = 'SubscriptionObserver'; +var getterFor = InternalStateModule$3.getterFor; var setInternalState$3 = InternalStateModule$3.set; - -var cleanupSubscription = function (subscriptionState) { - var cleanup = subscriptionState.cleanup; - if (cleanup) { - subscriptionState.cleanup = undefined; - try { - cleanup(); - } catch (error) { - hostReportErrors(error); +var getObservableInternalState = getterFor(OBSERVABLE); +var getSubscriptionInternalState = getterFor(SUBSCRIPTION); +var getSubscriptionObserverInternalState = getterFor(SUBSCRIPTION_OBSERVER); +var Array$1 = global$a.Array; + +var SubscriptionState = function (observer) { + this.observer = anObject$p(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$1) { + 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 subscriptionClosed = function (subscriptionState) { - return subscriptionState.observer === undefined; -}; - -var close = function (subscriptionState) { - var subscription = subscriptionState.facade; - if (!DESCRIPTORS$1) { - subscription.closed = true; - var subscriptionObserver = subscriptionState.subscriptionObserver; - if (subscriptionObserver) subscriptionObserver.closed = true; - } subscriptionState.observer = undefined; -}; - var Subscription = function (observer, subscriber) { - var subscriptionState = setInternalState$3(this, { - cleanup: undefined, - observer: anObject$p(observer), - subscriptionObserver: undefined - }); + var subscriptionState = setInternalState$3(this, new SubscriptionState(observer)); var start; if (!DESCRIPTORS$1) this.closed = false; try { - if (start = getMethod(observer, 'start')) start.call(observer, this); + if (start = getMethod(observer, 'start')) call$c(start, observer, this); } catch (error) { hostReportErrors(error); } - if (subscriptionClosed(subscriptionState)) return; - var subscriptionObserver = subscriptionState.subscriptionObserver = new SubscriptionObserver(this); + if (subscriptionState.isClosed()) return; + var subscriptionObserver = subscriptionState.subscriptionObserver = new SubscriptionObserver(subscriptionState); try { var cleanup = subscriber(subscriptionObserver); var subscription = cleanup; @@ -12323,15 +12968,15 @@ var Subscription = function (observer, subscriber) { } catch (error) { subscriptionObserver.error(error); return; - } if (subscriptionClosed(subscriptionState)) cleanupSubscription(subscriptionState); + } if (subscriptionState.isClosed()) subscriptionState.clean(); }; Subscription.prototype = redefineAll$1({}, { unsubscribe: function unsubscribe() { - var subscriptionState = getInternalState$1(this); - if (!subscriptionClosed(subscriptionState)) { - close(subscriptionState); - cleanupSubscription(subscriptionState); + var subscriptionState = getSubscriptionInternalState(this); + if (!subscriptionState.isClosed()) { + subscriptionState.close(); + subscriptionState.clean(); } } }); @@ -12339,53 +12984,56 @@ Subscription.prototype = redefineAll$1({}, { if (DESCRIPTORS$1) defineProperty(Subscription.prototype, 'closed', { configurable: true, get: function () { - return subscriptionClosed(getInternalState$1(this)); + return getSubscriptionInternalState(this).isClosed(); } }); -var SubscriptionObserver = function (subscription) { - setInternalState$3(this, { subscription: subscription }); +var SubscriptionObserver = function (subscriptionState) { + setInternalState$3(this, { + type: SUBSCRIPTION_OBSERVER, + subscriptionState: subscriptionState + }); if (!DESCRIPTORS$1) this.closed = false; }; SubscriptionObserver.prototype = redefineAll$1({}, { next: function next(value) { - var subscriptionState = getInternalState$1(getInternalState$1(this).subscription); - if (!subscriptionClosed(subscriptionState)) { + var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState; + if (!subscriptionState.isClosed()) { var observer = subscriptionState.observer; try { var nextMethod = getMethod(observer, 'next'); - if (nextMethod) nextMethod.call(observer, value); + if (nextMethod) call$c(nextMethod, observer, value); } catch (error) { hostReportErrors(error); } } }, error: function error(value) { - var subscriptionState = getInternalState$1(getInternalState$1(this).subscription); - if (!subscriptionClosed(subscriptionState)) { + var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState; + if (!subscriptionState.isClosed()) { var observer = subscriptionState.observer; - close(subscriptionState); + subscriptionState.close(); try { var errorMethod = getMethod(observer, 'error'); - if (errorMethod) errorMethod.call(observer, value); + if (errorMethod) call$c(errorMethod, observer, value); else hostReportErrors(value); } catch (err) { hostReportErrors(err); - } cleanupSubscription(subscriptionState); + } subscriptionState.clean(); } }, complete: function complete() { - var subscriptionState = getInternalState$1(getInternalState$1(this).subscription); - if (!subscriptionClosed(subscriptionState)) { + var subscriptionState = getSubscriptionObserverInternalState(this).subscriptionState; + if (!subscriptionState.isClosed()) { var observer = subscriptionState.observer; - close(subscriptionState); + subscriptionState.close(); try { var completeMethod = getMethod(observer, 'complete'); - if (completeMethod) completeMethod.call(observer); + if (completeMethod) call$c(completeMethod, observer); } catch (error) { hostReportErrors(error); - } cleanupSubscription(subscriptionState); + } subscriptionState.clean(); } } }); @@ -12393,39 +13041,44 @@ SubscriptionObserver.prototype = redefineAll$1({}, { if (DESCRIPTORS$1) defineProperty(SubscriptionObserver.prototype, 'closed', { configurable: true, get: function () { - return subscriptionClosed(getInternalState$1(getInternalState$1(this).subscription)); + return getSubscriptionObserverInternalState(this).subscriptionState.isClosed(); } }); var $Observable = function Observable(subscriber) { - anInstance$2(this, $Observable, 'Observable'); - setInternalState$3(this, { subscriber: aCallable$b(subscriber) }); + anInstance$2(this, ObservablePrototype); + setInternalState$3(this, { + type: OBSERVABLE, + subscriber: aCallable$b(subscriber) + }); }; -redefineAll$1($Observable.prototype, { +var ObservablePrototype = $Observable.prototype; + +redefineAll$1(ObservablePrototype, { subscribe: function subscribe(observer) { var length = arguments.length; return new Subscription(isCallable$3(observer) ? { next: observer, error: length > 1 ? arguments[1] : undefined, complete: length > 2 ? arguments[2] : undefined - } : isObject$1(observer) ? observer : {}, getInternalState$1(this).subscriber); + } : isObject$1(observer) ? observer : {}, getObservableInternalState(this).subscriber); } }); redefineAll$1($Observable, { from: function from(x) { var C = isConstructor(this) ? this : $Observable; - var observableMethod = getMethod(anObject$p(x), OBSERVABLE); + var observableMethod = getMethod(anObject$p(x), $$OBSERVABLE); if (observableMethod) { - var observable = anObject$p(observableMethod.call(x)); + var observable = anObject$p(call$c(observableMethod, x)); return observable.constructor === C ? observable : new C(function (observer) { return observable.subscribe(observer); }); } var iterator = getIterator$2(x); return new C(function (observer) { - iterate$f(iterator, function (it, stop) { + iterate$e(iterator, function (it, stop) { observer.next(it); if (observer.closed) return stop(); }, { IS_ITERATOR: true, INTERRUPTED: true }); @@ -12435,7 +13088,7 @@ redefineAll$1($Observable, { of: function of() { var C = isConstructor(this) ? this : $Observable; var length = arguments.length; - var items = new Array(length); + var items = Array$1(length); var index = 0; while (index < length) items[index] = arguments[index++]; return new C(function (observer) { @@ -12447,13 +13100,13 @@ redefineAll$1($Observable, { } }); -redefine$2($Observable.prototype, OBSERVABLE, function () { return this; }); +redefine$2(ObservablePrototype, $$OBSERVABLE, function () { return this; }); $$J({ global: true }, { Observable: $Observable }); -setSpecies('Observable'); +setSpecies(OBSERVABLE); var $$I = _export; var newPromiseCapabilityModule = newPromiseCapability$2; @@ -12471,10 +13124,16 @@ $$I({ target: 'Promise', stat: true }, { }); // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` -var Map$1 = es_map; -var WeakMap = es_weakMap.exports; + + +var getBuiltIn$9 = getBuiltIn$z; +var uncurryThis$6 = functionUncurryThis; var shared = shared$7.exports; +var Map$1 = getBuiltIn$9('Map'); +var WeakMap = getBuiltIn$9('WeakMap'); +var push$4 = uncurryThis$6([].push); + var metadata = shared('metadata'); var store$1 = metadata.store || (metadata.store = new WeakMap()); @@ -12508,7 +13167,7 @@ var ordinaryDefineOwnMetadata$2 = function (MetadataKey, MetadataValue, O, P) { var ordinaryOwnMetadataKeys$2 = function (target, targetKey) { var metadataMap = getOrCreateMetadataMap$1(target, targetKey, false); var keys = []; - if (metadataMap) metadataMap.forEach(function (_, key) { keys.push(key); }); + if (metadataMap) metadataMap.forEach(function (_, key) { push$4(keys, key); }); return keys; }; @@ -12590,28 +13249,23 @@ $$F({ target: 'Reflect', stat: true }, { }); var $$E = _export; -// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` -var Set$1 = es_set; +var uncurryThis$5 = functionUncurryThis; var ReflectMetadataModule$5 = reflectMetadata; var anObject$l = anObject$1C; var getPrototypeOf$1 = objectGetPrototypeOf$1; -var iterate$e = iterate$I; +var $arrayUniqueBy$1 = arrayUniqueBy$2; +var arrayUniqueBy$1 = uncurryThis$5($arrayUniqueBy$1); +var concat = uncurryThis$5([].concat); var ordinaryOwnMetadataKeys$1 = ReflectMetadataModule$5.keys; var toMetadataKey$5 = ReflectMetadataModule$5.toKey; -var from$3 = function (iter) { - var result = []; - iterate$e(iter, result.push, { that: result }); - return result; -}; - var ordinaryMetadataKeys = function (O, P) { var oKeys = ordinaryOwnMetadataKeys$1(O, P); var parent = getPrototypeOf$1(O); if (parent === null) return oKeys; var pKeys = ordinaryMetadataKeys(parent, P); - return pKeys.length ? oKeys.length ? from$3(new Set$1(oKeys.concat(pKeys))) : pKeys : oKeys; + return pKeys.length ? oKeys.length ? arrayUniqueBy$1(concat(oKeys, pKeys)) : pKeys : oKeys; }; // `Reflect.getMetadataKeys` method @@ -12712,50 +13366,48 @@ $$z({ target: 'Reflect', stat: true }, { } }); -var aCallable$a = aCallable$Q; +var call$b = functionCall; +var aCallable$a = aCallable$S; var anObject$f = anObject$1C; // https://github.com/tc39/collection-methods -var collectionAddAll$2 = function (/* ...elements */) { +var collectionAddAll = function addAll(/* ...elements */) { var set = anObject$f(this); var adder = aCallable$a(set.add); for (var k = 0, len = arguments.length; k < len; k++) { - adder.call(set, arguments[k]); + call$b(adder, set, arguments[k]); } return set; }; var $$y = _export; var IS_PURE$l = isPure; -var collectionAddAll$1 = collectionAddAll$2; +var addAll$1 = collectionAddAll; // `Set.prototype.addAll` method // https://github.com/tc39/proposal-collection-methods $$y({ target: 'Set', proto: true, real: true, forced: IS_PURE$l }, { - addAll: function addAll(/* ...elements */) { - return collectionAddAll$1.apply(this, arguments); - } + addAll: addAll$1 }); var $$x = _export; var IS_PURE$k = isPure; -var collectionDeleteAll$2 = collectionDeleteAll$4; +var deleteAll$2 = collectionDeleteAll; // `Set.prototype.deleteAll` method // https://github.com/tc39/proposal-collection-methods $$x({ target: 'Set', proto: true, real: true, forced: IS_PURE$k }, { - deleteAll: function deleteAll(/* ...elements */) { - return collectionDeleteAll$2.apply(this, arguments); - } + deleteAll: deleteAll$2 }); -var $$w = _export; var IS_PURE$j = isPure; -var getBuiltIn$8 = getBuiltIn$y; -var aCallable$9 = aCallable$Q; +var $$w = _export; +var getBuiltIn$8 = getBuiltIn$z; +var call$a = functionCall; +var aCallable$9 = aCallable$S; var anObject$e = anObject$1C; var speciesConstructor$5 = speciesConstructor$f; -var iterate$d = iterate$I; +var iterate$d = iterate$H; // `Set.prototype.difference` method // https://github.com/tc39/proposal-set-methods @@ -12765,23 +13417,25 @@ $$w({ target: 'Set', proto: true, real: true, forced: IS_PURE$j }, { var newSet = new (speciesConstructor$5(set, getBuiltIn$8('Set')))(set); var remover = aCallable$9(newSet['delete']); iterate$d(iterable, function (value) { - remover.call(newSet, value); + call$a(remover, newSet, value); }); return newSet; } }); +var call$9 = functionCall; + var getSetIterator$7 = function (it) { // eslint-disable-next-line es/no-set -- safe - return Set.prototype.values.call(it); + return call$9(Set.prototype.values, it); }; var $$v = _export; var IS_PURE$i = isPure; var anObject$d = anObject$1C; -var bind$5 = functionBindContext; +var bind$6 = functionBindContext; var getSetIterator$6 = getSetIterator$7; -var iterate$c = iterate$I; +var iterate$c = iterate$H; // `Set.prototype.every` method // https://github.com/tc39/proposal-collection-methods @@ -12789,22 +13443,23 @@ $$v({ target: 'Set', proto: true, real: true, forced: IS_PURE$i }, { every: function every(callbackfn /* , thisArg */) { var set = anObject$d(this); var iterator = getSetIterator$6(set); - var boundFunction = bind$5(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = bind$6(callbackfn, arguments.length > 1 ? arguments[1] : undefined); return !iterate$c(iterator, function (value, stop) { if (!boundFunction(value, value, set)) return stop(); }, { IS_ITERATOR: true, INTERRUPTED: true }).stopped; } }); -var $$u = _export; var IS_PURE$h = isPure; -var getBuiltIn$7 = getBuiltIn$y; -var aCallable$8 = aCallable$Q; +var $$u = _export; +var getBuiltIn$7 = getBuiltIn$z; +var call$8 = functionCall; +var aCallable$8 = aCallable$S; var anObject$c = anObject$1C; -var bind$4 = functionBindContext; +var bind$5 = functionBindContext; var speciesConstructor$4 = speciesConstructor$f; var getSetIterator$5 = getSetIterator$7; -var iterate$b = iterate$I; +var iterate$b = iterate$H; // `Set.prototype.filter` method // https://github.com/tc39/proposal-collection-methods @@ -12812,11 +13467,11 @@ $$u({ target: 'Set', proto: true, real: true, forced: IS_PURE$h }, { filter: function filter(callbackfn /* , thisArg */) { var set = anObject$c(this); var iterator = getSetIterator$5(set); - var boundFunction = bind$4(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = bind$5(callbackfn, arguments.length > 1 ? arguments[1] : undefined); var newSet = new (speciesConstructor$4(set, getBuiltIn$7('Set')))(); var adder = aCallable$8(newSet.add); iterate$b(iterator, function (value) { - if (boundFunction(value, value, set)) adder.call(newSet, value); + if (boundFunction(value, value, set)) call$8(adder, newSet, value); }, { IS_ITERATOR: true }); return newSet; } @@ -12825,9 +13480,9 @@ $$u({ target: 'Set', proto: true, real: true, forced: IS_PURE$h }, { var $$t = _export; var IS_PURE$g = isPure; var anObject$b = anObject$1C; -var bind$3 = functionBindContext; +var bind$4 = functionBindContext; var getSetIterator$4 = getSetIterator$7; -var iterate$a = iterate$I; +var iterate$a = iterate$H; // `Set.prototype.find` method // https://github.com/tc39/proposal-collection-methods @@ -12835,7 +13490,7 @@ $$t({ target: 'Set', proto: true, real: true, forced: IS_PURE$g }, { find: function find(callbackfn /* , thisArg */) { var set = anObject$b(this); var iterator = getSetIterator$4(set); - var boundFunction = bind$3(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = bind$4(callbackfn, arguments.length > 1 ? arguments[1] : undefined); return iterate$a(iterator, function (value, stop) { if (boundFunction(value, value, set)) return stop(value); }, { IS_ITERATOR: true, INTERRUPTED: true }).result; @@ -12851,13 +13506,14 @@ $$s({ target: 'Set', stat: true }, { from: from$2 }); -var $$r = _export; var IS_PURE$f = isPure; -var getBuiltIn$6 = getBuiltIn$y; -var aCallable$7 = aCallable$Q; +var $$r = _export; +var getBuiltIn$6 = getBuiltIn$z; +var call$7 = functionCall; +var aCallable$7 = aCallable$S; var anObject$a = anObject$1C; var speciesConstructor$3 = speciesConstructor$f; -var iterate$9 = iterate$I; +var iterate$9 = iterate$H; // `Set.prototype.intersection` method // https://github.com/tc39/proposal-set-methods @@ -12868,17 +13524,18 @@ $$r({ target: 'Set', proto: true, real: true, forced: IS_PURE$f }, { var hasCheck = aCallable$7(set.has); var adder = aCallable$7(newSet.add); iterate$9(iterable, function (value) { - if (hasCheck.call(set, value)) adder.call(newSet, value); + if (call$7(hasCheck, set, value)) call$7(adder, newSet, value); }); return newSet; } }); -var $$q = _export; var IS_PURE$e = isPure; -var aCallable$6 = aCallable$Q; +var $$q = _export; +var call$6 = functionCall; +var aCallable$6 = aCallable$S; var anObject$9 = anObject$1C; -var iterate$8 = iterate$I; +var iterate$8 = iterate$H; // `Set.prototype.isDisjointFrom` method // https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom @@ -12887,19 +13544,20 @@ $$q({ target: 'Set', proto: true, real: true, forced: IS_PURE$e }, { var set = anObject$9(this); var hasCheck = aCallable$6(set.has); return !iterate$8(iterable, function (value, stop) { - if (hasCheck.call(set, value) === true) return stop(); + if (call$6(hasCheck, set, value) === true) return stop(); }, { INTERRUPTED: true }).stopped; } }); -var $$p = _export; var IS_PURE$d = isPure; -var getBuiltIn$5 = getBuiltIn$y; -var aCallable$5 = aCallable$Q; +var $$p = _export; +var getBuiltIn$5 = getBuiltIn$z; +var call$5 = functionCall; +var aCallable$5 = aCallable$S; var isCallable$2 = isCallable$z; var anObject$8 = anObject$1C; var getIterator$1 = getIterator$b; -var iterate$7 = iterate$I; +var iterate$7 = iterate$H; // `Set.prototype.isSubsetOf` method // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf @@ -12913,16 +13571,17 @@ $$p({ target: 'Set', proto: true, real: true, forced: IS_PURE$d }, { hasCheck = aCallable$5(otherSet.has); } return !iterate$7(iterator, function (value, stop) { - if (hasCheck.call(otherSet, value) === false) return stop(); + if (call$5(hasCheck, otherSet, value) === false) return stop(); }, { IS_ITERATOR: true, INTERRUPTED: true }).stopped; } }); -var $$o = _export; var IS_PURE$c = isPure; -var aCallable$4 = aCallable$Q; +var $$o = _export; +var call$4 = functionCall; +var aCallable$4 = aCallable$S; var anObject$7 = anObject$1C; -var iterate$6 = iterate$I; +var iterate$6 = iterate$H; // `Set.prototype.isSupersetOf` method // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf @@ -12931,16 +13590,21 @@ $$o({ target: 'Set', proto: true, real: true, forced: IS_PURE$c }, { var set = anObject$7(this); var hasCheck = aCallable$4(set.has); return !iterate$6(iterable, function (value, stop) { - if (hasCheck.call(set, value) === false) return stop(); + if (call$4(hasCheck, set, value) === false) return stop(); }, { INTERRUPTED: true }).stopped; } }); -var $$n = _export; var IS_PURE$b = isPure; +var $$n = _export; +var uncurryThis$4 = functionUncurryThis; var anObject$6 = anObject$1C; +var toString$1 = toString$u; var getSetIterator$3 = getSetIterator$7; -var iterate$5 = iterate$I; +var iterate$5 = iterate$H; + +var arrayJoin = uncurryThis$4([].join); +var push$3 = [].push; // `Set.prototype.join` method // https://github.com/tc39/proposal-collection-methods @@ -12948,22 +13612,23 @@ $$n({ target: 'Set', proto: true, real: true, forced: IS_PURE$b }, { join: function join(separator) { var set = anObject$6(this); var iterator = getSetIterator$3(set); - var sep = separator === undefined ? ',' : String(separator); + var sep = separator === undefined ? ',' : toString$1(separator); var result = []; - iterate$5(iterator, result.push, { that: result, IS_ITERATOR: true }); - return result.join(sep); + iterate$5(iterator, push$3, { that: result, IS_ITERATOR: true }); + return arrayJoin(result, sep); } }); -var $$m = _export; var IS_PURE$a = isPure; -var getBuiltIn$4 = getBuiltIn$y; -var aCallable$3 = aCallable$Q; +var $$m = _export; +var getBuiltIn$4 = getBuiltIn$z; +var bind$3 = functionBindContext; +var call$3 = functionCall; +var aCallable$3 = aCallable$S; var anObject$5 = anObject$1C; -var bind$2 = functionBindContext; var speciesConstructor$2 = speciesConstructor$f; var getSetIterator$2 = getSetIterator$7; -var iterate$4 = iterate$I; +var iterate$4 = iterate$H; // `Set.prototype.map` method // https://github.com/tc39/proposal-collection-methods @@ -12971,11 +13636,11 @@ $$m({ target: 'Set', proto: true, real: true, forced: IS_PURE$a }, { map: function map(callbackfn /* , thisArg */) { var set = anObject$5(this); var iterator = getSetIterator$2(set); - var boundFunction = bind$2(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = bind$3(callbackfn, arguments.length > 1 ? arguments[1] : undefined); var newSet = new (speciesConstructor$2(set, getBuiltIn$4('Set')))(); var adder = aCallable$3(newSet.add); iterate$4(iterator, function (value) { - adder.call(newSet, boundFunction(value, value, set)); + call$3(adder, newSet, boundFunction(value, value, set)); }, { IS_ITERATOR: true }); return newSet; } @@ -12991,11 +13656,14 @@ $$l({ target: 'Set', stat: true }, { }); var $$k = _export; +var global$9 = global$1S; var IS_PURE$9 = isPure; -var aCallable$2 = aCallable$Q; +var aCallable$2 = aCallable$S; var anObject$4 = anObject$1C; var getSetIterator$1 = getSetIterator$7; -var iterate$3 = iterate$I; +var iterate$3 = iterate$H; + +var TypeError$3 = global$9.TypeError; // `Set.prototype.reduce` method // https://github.com/tc39/proposal-collection-methods @@ -13014,7 +13682,7 @@ $$k({ target: 'Set', proto: true, real: true, forced: IS_PURE$9 }, { accumulator = callbackfn(accumulator, value, value, set); } }, { IS_ITERATOR: true }); - if (noInitial) throw TypeError('Reduce of empty set with no initial value'); + if (noInitial) throw TypeError$3('Reduce of empty set with no initial value'); return accumulator; } }); @@ -13022,9 +13690,9 @@ $$k({ target: 'Set', proto: true, real: true, forced: IS_PURE$9 }, { var $$j = _export; var IS_PURE$8 = isPure; var anObject$3 = anObject$1C; -var bind$1 = functionBindContext; +var bind$2 = functionBindContext; var getSetIterator = getSetIterator$7; -var iterate$2 = iterate$I; +var iterate$2 = iterate$H; // `Set.prototype.some` method // https://github.com/tc39/proposal-collection-methods @@ -13032,20 +13700,21 @@ $$j({ target: 'Set', proto: true, real: true, forced: IS_PURE$8 }, { some: function some(callbackfn /* , thisArg */) { var set = anObject$3(this); var iterator = getSetIterator(set); - var boundFunction = bind$1(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3); + var boundFunction = bind$2(callbackfn, arguments.length > 1 ? arguments[1] : undefined); return iterate$2(iterator, function (value, stop) { if (boundFunction(value, value, set)) return stop(); }, { IS_ITERATOR: true, INTERRUPTED: true }).stopped; } }); -var $$i = _export; var IS_PURE$7 = isPure; -var getBuiltIn$3 = getBuiltIn$y; -var aCallable$1 = aCallable$Q; +var $$i = _export; +var getBuiltIn$3 = getBuiltIn$z; +var call$2 = functionCall; +var aCallable$1 = aCallable$S; var anObject$2 = anObject$1C; var speciesConstructor$1 = speciesConstructor$f; -var iterate$1 = iterate$I; +var iterate$1 = iterate$H; // `Set.prototype.symmetricDifference` method // https://github.com/tc39/proposal-set-methods @@ -13056,7 +13725,7 @@ $$i({ target: 'Set', proto: true, real: true, forced: IS_PURE$7 }, { var remover = aCallable$1(newSet['delete']); var adder = aCallable$1(newSet.add); iterate$1(iterable, function (value) { - remover.call(newSet, value) || adder.call(newSet, value); + call$2(remover, newSet, value) || call$2(adder, newSet, value); }); return newSet; } @@ -13064,11 +13733,11 @@ $$i({ target: 'Set', proto: true, real: true, forced: IS_PURE$7 }, { var $$h = _export; var IS_PURE$6 = isPure; -var getBuiltIn$2 = getBuiltIn$y; -var aCallable = aCallable$Q; +var getBuiltIn$2 = getBuiltIn$z; +var aCallable = aCallable$S; var anObject$1 = anObject$1C; var speciesConstructor = speciesConstructor$f; -var iterate = iterate$I; +var iterate = iterate$H; // `Set.prototype.union` method // https://github.com/tc39/proposal-set-methods @@ -13082,8 +13751,8 @@ $$h({ target: 'Set', proto: true, real: true, forced: IS_PURE$6 }, { }); var $$g = _export; -var charAt$1 = stringMultibyte.charAt; -var fails$1 = fails$15; +var charAt$3 = stringMultibyte.charAt; +var fails$1 = fails$17; var FORCED$1 = fails$1(function () { return '𠮷'.at(0) !== '𠮷'; @@ -13093,19 +13762,19 @@ var FORCED$1 = fails$1(function () { // https://github.com/mathiasbynens/String.prototype.at $$g({ target: 'String', proto: true, forced: FORCED$1 }, { at: function at(pos) { - return charAt$1(this, pos); + return charAt$3(this, pos); } }); var $$f = _export; var createIteratorConstructor$1 = createIteratorConstructor$7; var requireObjectCoercible = requireObjectCoercible$j; -var toString = toString$t; +var toString = toString$u; var InternalStateModule$2 = internalState; var StringMultibyteModule = stringMultibyte; var codeAt$1 = StringMultibyteModule.codeAt; -var charAt = StringMultibyteModule.charAt; +var charAt$2 = StringMultibyteModule.charAt; var STRING_ITERATOR = 'String Iterator'; var setInternalState$2 = InternalStateModule$2.set; var getInternalState = InternalStateModule$2.getterFor(STRING_ITERATOR); @@ -13123,7 +13792,7 @@ var $StringIterator = createIteratorConstructor$1(function StringIterator(string var index = state.index; var point; if (index >= string.length) return { value: undefined, done: true }; - point = charAt(string, index); + point = charAt$2(string, index); state.index += point.length; return { value: { codePoint: codeAt$1(point, 0), position: index }, done: false }; }); @@ -13178,7 +13847,7 @@ var defineWellKnownSymbol = defineWellKnownSymbol$l; defineWellKnownSymbol('replaceAll'); -var getBuiltIn$1 = getBuiltIn$y; +var getBuiltIn$1 = getBuiltIn$z; var aConstructor = aConstructor$5; var arrayFromAsync = arrayFromAsync$1; var TYPED_ARRAYS_CONSTRUCTORS_REQUIRES_WRAPPERS = typedArrayConstructorsRequireWrappers; @@ -13190,7 +13859,6 @@ var exportTypedArrayStaticMethod = ArrayBufferViewCore$6.exportTypedArrayStaticM // `%TypedArray%.fromAsync` method // https://github.com/tc39/proposal-array-from-async -// eslint-disable-next-line -- required for .length exportTypedArrayStaticMethod('fromAsync', function fromAsync(asyncItems /* , mapfn = undefined, thisArg = undefined */) { var C = this; var argumentsLength = arguments.length; @@ -13271,29 +13939,29 @@ exportTypedArrayMethod$1('groupBy', function groupBy(callbackfn /* , thisArg */) return $groupBy(aTypedArray$1(this), callbackfn, thisArg, typedArraySpeciesConstructor); }); +var uncurryThis$3 = functionUncurryThis; var ArrayBufferViewCore = arrayBufferViewCore; -var arrayUniqueBy = arrayUniqueBy$1; +var $arrayUniqueBy = arrayUniqueBy$2; var fromSpeciesAndList = typedArrayFromSpeciesAndList; var aTypedArray = ArrayBufferViewCore.aTypedArray; var exportTypedArrayMethod = ArrayBufferViewCore.exportTypedArrayMethod; +var arrayUniqueBy = uncurryThis$3($arrayUniqueBy); // `%TypedArray%.prototype.uniqueBy` method // https://github.com/tc39/proposal-array-unique exportTypedArrayMethod('uniqueBy', function uniqueBy(resolver) { - return fromSpeciesAndList(this, arrayUniqueBy.call(aTypedArray(this), resolver)); + return fromSpeciesAndList(this, arrayUniqueBy(aTypedArray(this), resolver)); }); var $$e = _export; var IS_PURE$5 = isPure; -var collectionDeleteAll$1 = collectionDeleteAll$4; +var deleteAll$1 = collectionDeleteAll; // `WeakMap.prototype.deleteAll` method // https://github.com/tc39/proposal-collection-methods $$e({ target: 'WeakMap', proto: true, real: true, forced: IS_PURE$5 }, { - deleteAll: function deleteAll(/* ...elements */) { - return collectionDeleteAll$1.apply(this, arguments); - } + deleteAll: deleteAll$1 }); var $$d = _export; @@ -13316,47 +13984,43 @@ $$c({ target: 'WeakMap', stat: true }, { var $$b = _export; var IS_PURE$4 = isPure; -var $emplace = mapEmplace; +var emplace = mapEmplace; // `WeakMap.prototype.emplace` method // https://github.com/tc39/proposal-upsert $$b({ target: 'WeakMap', proto: true, real: true, forced: IS_PURE$4 }, { - emplace: $emplace + emplace: emplace }); // TODO: remove from `core-js@4` var $$a = _export; var IS_PURE$3 = isPure; -var $upsert = mapUpsert; +var upsert = mapUpsert; // `WeakMap.prototype.upsert` method (replaced by `WeakMap.prototype.emplace`) // https://github.com/tc39/proposal-upsert $$a({ target: 'WeakMap', proto: true, real: true, forced: IS_PURE$3 }, { - upsert: $upsert + upsert: upsert }); var $$9 = _export; var IS_PURE$2 = isPure; -var collectionAddAll = collectionAddAll$2; +var addAll = collectionAddAll; // `WeakSet.prototype.addAll` method // https://github.com/tc39/proposal-collection-methods $$9({ target: 'WeakSet', proto: true, real: true, forced: IS_PURE$2 }, { - addAll: function addAll(/* ...elements */) { - return collectionAddAll.apply(this, arguments); - } + addAll: addAll }); var $$8 = _export; var IS_PURE$1 = isPure; -var collectionDeleteAll = collectionDeleteAll$4; +var deleteAll = collectionDeleteAll; // `WeakSet.prototype.deleteAll` method // https://github.com/tc39/proposal-collection-methods $$8({ target: 'WeakSet', proto: true, real: true, forced: IS_PURE$1 }, { - deleteAll: function deleteAll(/* ...elements */) { - return collectionDeleteAll.apply(this, arguments); - } + deleteAll: deleteAll }); var $$7 = _export; @@ -13421,7 +14085,7 @@ var DOMTokenListPrototype$2 = classList && classList.constructor && classList.co var domTokenListPrototype = DOMTokenListPrototype$2 === Object.prototype ? undefined : DOMTokenListPrototype$2; -var global$6 = global$R; +var global$8 = global$1S; var DOMIterables$1 = domIterables; var DOMTokenListPrototype$1 = domTokenListPrototype; var forEach = arrayForEach; @@ -13438,18 +14102,18 @@ var handlePrototype$1 = function (CollectionPrototype) { for (var COLLECTION_NAME$1 in DOMIterables$1) { if (DOMIterables$1[COLLECTION_NAME$1]) { - handlePrototype$1(global$6[COLLECTION_NAME$1] && global$6[COLLECTION_NAME$1].prototype); + handlePrototype$1(global$8[COLLECTION_NAME$1] && global$8[COLLECTION_NAME$1].prototype); } } handlePrototype$1(DOMTokenListPrototype$1); -var global$5 = global$R; +var global$7 = global$1S; var DOMIterables = domIterables; var DOMTokenListPrototype = domTokenListPrototype; var ArrayIteratorMethods = es_array_iterator; var createNonEnumerableProperty = createNonEnumerableProperty$h; -var wellKnownSymbol$2 = wellKnownSymbol$G; +var wellKnownSymbol$2 = wellKnownSymbol$H; var ITERATOR$2 = wellKnownSymbol$2('iterator'); var TO_STRING_TAG = wellKnownSymbol$2('toStringTag'); @@ -13478,16 +14142,16 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) { }; for (var COLLECTION_NAME in DOMIterables) { - handlePrototype(global$5[COLLECTION_NAME] && global$5[COLLECTION_NAME].prototype, COLLECTION_NAME); + handlePrototype(global$7[COLLECTION_NAME] && global$7[COLLECTION_NAME].prototype, COLLECTION_NAME); } handlePrototype(DOMTokenListPrototype, 'DOMTokenList'); var $$5 = _export; -var global$4 = global$R; +var global$6 = global$1S; var task = task$2; -var FORCED = !global$4.setImmediate || !global$4.clearImmediate; +var FORCED = !global$6.setImmediate || !global$6.clearImmediate; // http://w3c.github.io/setImmediate/ $$5({ global: true, bind: true, enumerable: true, forced: FORCED }, { @@ -13500,11 +14164,11 @@ $$5({ global: true, bind: true, enumerable: true, forced: FORCED }, { }); var $$4 = _export; -var global$3 = global$R; +var global$5 = global$1S; var microtask = microtask$2; var IS_NODE = engineIsNode; -var process = global$3.process; +var process = global$5.process; // `queueMicrotask` method // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-queuemicrotask @@ -13516,20 +14180,21 @@ $$4({ global: true, enumerable: true, noTargetGet: true }, { }); var $$3 = _export; -var global$2 = global$R; +var global$4 = global$1S; +var apply = functionApply$1; var isCallable$1 = isCallable$z; var userAgent = engineUserAgent; +var arraySlice$1 = arraySlice$d; -var slice = [].slice; var MSIE = /MSIE .\./.test(userAgent); // <- dirty ie9- check +var Function$1 = global$4.Function; var wrap = function (scheduler) { return function (handler, timeout /* , ...arguments */) { var boundArgs = arguments.length > 2; - var args = boundArgs ? slice.call(arguments, 2) : undefined; + var args = boundArgs ? arraySlice$1(arguments, 2) : undefined; return scheduler(boundArgs ? function () { - // eslint-disable-next-line no-new-func -- spec requirement - (isCallable$1(handler) ? handler : Function(handler)).apply(this, args); + apply(isCallable$1(handler) ? handler : Function$1(handler), this, args); } : handler, timeout); }; }; @@ -13539,14 +14204,14 @@ var wrap = function (scheduler) { $$3({ global: true, bind: true, forced: MSIE }, { // `setTimeout` method // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout - setTimeout: wrap(global$2.setTimeout), + setTimeout: wrap(global$4.setTimeout), // `setInterval` method // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-setinterval - setInterval: wrap(global$2.setInterval) + setInterval: wrap(global$4.setInterval) }); -var fails = fails$15; -var wellKnownSymbol$1 = wellKnownSymbol$G; +var fails = fails$17; +var wellKnownSymbol$1 = wellKnownSymbol$H; var IS_PURE = isPure; var ITERATOR$1 = wellKnownSymbol$1('iterator'); @@ -13580,6 +14245,9 @@ var nativeUrl = !fails(function () { }); // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js +var global$3 = global$1S; +var uncurryThis$2 = functionUncurryThis; + var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1 var base = 36; var tMin = 1; @@ -13593,8 +14261,17 @@ var regexNonASCII = /[^\0-\u007E]/; // non-ASCII chars var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process'; var baseMinusTMin = base - tMin; + +var RangeError = global$3.RangeError; +var exec$1 = uncurryThis$2(regexSeparators.exec); var floor$1 = Math.floor; -var stringFromCharCode = String.fromCharCode; +var fromCharCode = String.fromCharCode; +var charCodeAt = uncurryThis$2(''.charCodeAt); +var join$2 = uncurryThis$2([].join); +var push$2 = uncurryThis$2([].push); +var replace$2 = uncurryThis$2(''.replace); +var split$2 = uncurryThis$2(''.split); +var toLowerCase$1 = uncurryThis$2(''.toLowerCase); /** * Creates an array containing the numeric code points of each Unicode @@ -13608,20 +14285,20 @@ var ucs2decode = function (string) { var counter = 0; var length = string.length; while (counter < length) { - var value = string.charCodeAt(counter++); + var value = charCodeAt(string, counter++); if (value >= 0xD800 && value <= 0xDBFF && counter < length) { // It's a high surrogate, and there is a next character. - var extra = string.charCodeAt(counter++); + var extra = charCodeAt(string, counter++); if ((extra & 0xFC00) == 0xDC00) { // Low surrogate. - output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000); + push$2(output, ((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); + push$2(output, value); counter--; } } else { - output.push(value); + push$2(output, value); } } return output; @@ -13644,8 +14321,9 @@ var adapt = function (delta, numPoints, firstTime) { var k = 0; delta = firstTime ? floor$1(delta / damp) : delta >> 1; delta += floor$1(delta / numPoints); - for (; delta > baseMinusTMin * tMax >> 1; k += base) { + while (delta > baseMinusTMin * tMax >> 1) { delta = floor$1(delta / baseMinusTMin); + k += base; } return floor$1(k + (baseMinusTMin + 1) * delta / (delta + skew)); }; @@ -13654,7 +14332,6 @@ var adapt = function (delta, numPoints, firstTime) { * 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 -- TODO var encode = function (input) { var output = []; @@ -13674,7 +14351,7 @@ var encode = function (input) { for (i = 0; i < input.length; i++) { currentValue = input[i]; if (currentValue < 0x80) { - output.push(stringFromCharCode(currentValue)); + push$2(output, fromCharCode(currentValue)); } } @@ -13683,7 +14360,7 @@ var encode = function (input) { // Finish the basic string with a delimiter unless it's empty. if (basicLength) { - output.push(delimiter); + push$2(output, delimiter); } // Main encoding loop: @@ -13714,43 +14391,48 @@ var encode = function (input) { if (currentValue == n) { // Represent delta as a generalized variable-length integer. var q = delta; - for (var k = base; /* no condition */; k += base) { + var k = base; + while (true) { 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))); + push$2(output, fromCharCode(digitToBasic(t + qMinusT % baseMinusT))); q = floor$1(qMinusT / baseMinusT); + k += base; } - output.push(stringFromCharCode(digitToBasic(q))); + push$2(output, fromCharCode(digitToBasic(q))); bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength); delta = 0; - ++handledCPCount; + handledCPCount++; } } - ++delta; - ++n; + delta++; + n++; } - return output.join(''); + return join$2(output, ''); }; var stringPunycodeToAscii = function (input) { var encoded = []; - var labels = input.toLowerCase().replace(regexSeparators, '\u002E').split('.'); + var labels = split$2(replace$2(toLowerCase$1(input), regexSeparators, '\u002E'), '.'); var i, label; for (i = 0; i < labels.length; i++) { label = labels[i]; - encoded.push(regexNonASCII.test(label) ? 'xn--' + encode(label) : label); + push$2(encoded, exec$1(regexNonASCII, label) ? 'xn--' + encode(label) : label); } - return encoded.join('.'); + return join$2(encoded, '.'); }; // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env` var $$2 = _export; -var getBuiltIn = getBuiltIn$y; +var global$2 = global$1S; +var getBuiltIn = getBuiltIn$z; +var call$1 = functionCall; +var uncurryThis$1 = functionUncurryThis; var USE_NATIVE_URL$1 = nativeUrl; var redefine$1 = redefine$l.exports; var redefineAll = redefineAll$a; @@ -13760,21 +14442,18 @@ var InternalStateModule$1 = internalState; var anInstance$1 = anInstance$b; var isCallable = isCallable$z; var hasOwn$1 = hasOwnProperty_1; -var bind = functionBindContext; -var classof = classof$b; +var bind$1 = functionBindContext; +var classof = classof$h; var anObject = anObject$1C; -var isObject = isObject$C; -var $toString$1 = toString$t; +var isObject = isObject$B; +var $toString$1 = toString$u; var create = objectCreate$1; -var createPropertyDescriptor = createPropertyDescriptor$9; +var createPropertyDescriptor = createPropertyDescriptor$a; var getIterator = getIterator$b; var getIteratorMethod = getIteratorMethod$9; -var wellKnownSymbol = wellKnownSymbol$G; +var wellKnownSymbol = wellKnownSymbol$H; +var arraySort = arraySort$1; -var nativeFetch = getBuiltIn('fetch'); -var NativeRequest = getBuiltIn('Request'); -var RequestPrototype = NativeRequest && NativeRequest.prototype; -var Headers = getBuiltIn('Headers'); var ITERATOR = wellKnownSymbol('iterator'); var URL_SEARCH_PARAMS = 'URLSearchParams'; var URL_SEARCH_PARAMS_ITERATOR = URL_SEARCH_PARAMS + 'Iterator'; @@ -13782,11 +14461,29 @@ var setInternalState$1 = InternalStateModule$1.set; var getInternalParamsState = InternalStateModule$1.getterFor(URL_SEARCH_PARAMS); var getInternalIteratorState = InternalStateModule$1.getterFor(URL_SEARCH_PARAMS_ITERATOR); +var n$Fetch = getBuiltIn('fetch'); +var N$Request = getBuiltIn('Request'); +var Headers = getBuiltIn('Headers'); +var RequestPrototype = N$Request && N$Request.prototype; +var HeadersPrototype = Headers && Headers.prototype; +var RegExp$1 = global$2.RegExp; +var TypeError$2 = global$2.TypeError; +var decodeURIComponent = global$2.decodeURIComponent; +var encodeURIComponent$1 = global$2.encodeURIComponent; +var charAt$1 = uncurryThis$1(''.charAt); +var join$1 = uncurryThis$1([].join); +var push$1 = uncurryThis$1([].push); +var replace$1 = uncurryThis$1(''.replace); +var shift$1 = uncurryThis$1([].shift); +var splice = uncurryThis$1([].splice); +var split$1 = uncurryThis$1(''.split); +var stringSlice$1 = uncurryThis$1(''.slice); + var plus = /\+/g; var sequences = Array(4); var percentSequence = function (bytes) { - return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp('((?:%[\\da-f]{2}){' + bytes + '})', 'gi')); + return sequences[bytes - 1] || (sequences[bytes - 1] = RegExp$1('((?:%[\\da-f]{2}){' + bytes + '})', 'gi')); }; var percentDecode = function (sequence) { @@ -13798,13 +14495,13 @@ var percentDecode = function (sequence) { }; var deserialize = function (it) { - var result = it.replace(plus, ' '); + var result = replace$1(it, plus, ' '); var bytes = 4; try { return decodeURIComponent(result); } catch (error) { while (bytes) { - result = result.replace(percentSequence(bytes--), percentDecode); + result = replace$1(result, percentSequence(bytes--), percentDecode); } return result; } @@ -13812,7 +14509,7 @@ var deserialize = function (it) { var find = /[!'()~]|%20/g; -var replace = { +var replacements = { '!': '%21', "'": '%27', '(': '%28', @@ -13822,38 +14519,15 @@ var replace = { }; var replacer = function (match) { - return replace[match]; + return replacements[match]; }; var serialize = function (it) { - return encodeURIComponent(it).replace(find, replacer); -}; - -var parseSearchParams = function (result, query) { - if (query) { - var attributes = query.split('&'); - var index = 0; - var attribute, entry; - while (index < attributes.length) { - attribute = attributes[index++]; - if (attribute.length) { - entry = attribute.split('='); - result.push({ - key: deserialize(entry.shift()), - value: deserialize(entry.join('=')) - }); - } - } - } -}; - -var updateSearchParams = function (query) { - this.entries.length = 0; - parseSearchParams(this.entries, query); + return replace$1(encodeURIComponent$1(it), find, replacer); }; var validateArgumentsLength = function (passed, required) { - if (passed < required) throw TypeError('Not enough arguments'); + if (passed < required) throw TypeError$2('Not enough arguments'); }; var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params, kind) { @@ -13870,50 +14544,89 @@ var URLSearchParamsIterator = createIteratorConstructor(function Iterator(params if (!step.done) { step.value = kind === 'keys' ? entry.key : kind === 'values' ? entry.value : [entry.key, entry.value]; } return step; -}); +}, true); -// `URLSearchParams` constructor -// https://url.spec.whatwg.org/#interface-urlsearchparams -var URLSearchParamsConstructor = function URLSearchParams(/* init */) { - anInstance$1(this, URLSearchParamsConstructor, URL_SEARCH_PARAMS); - var init = arguments.length > 0 ? arguments[0] : undefined; - var that = this; - var entries = []; - var iteratorMethod, iterator, next, step, entryIterator, entryNext, first, second, key; - - setInternalState$1(that, { - type: URL_SEARCH_PARAMS, - entries: entries, - updateURL: function () { /* empty */ }, - updateSearchParams: updateSearchParams - }); +var URLSearchParamsState = function (init) { + this.entries = []; + this.url = null; if (init !== undefined) { - if (isObject(init)) { - iteratorMethod = getIteratorMethod(init); - if (iteratorMethod) { - iterator = getIterator(init, iteratorMethod); - next = iterator.next; - while (!(step = next.call(iterator)).done) { - entryIterator = getIterator(anObject(step.value)); - entryNext = entryIterator.next; - if ( - (first = entryNext.call(entryIterator)).done || - (second = entryNext.call(entryIterator)).done || - !entryNext.call(entryIterator).done - ) throw TypeError('Expected sequence with length 2'); - entries.push({ key: $toString$1(first.value), value: $toString$1(second.value) }); + if (isObject(init)) this.parseObject(init); + else this.parseQuery(typeof init == 'string' ? charAt$1(init, 0) === '?' ? stringSlice$1(init, 1) : init : $toString$1(init)); + } +}; + +URLSearchParamsState.prototype = { + type: URL_SEARCH_PARAMS, + bindURL: function (url) { + this.url = url; + this.update(); + }, + parseObject: function (object) { + var iteratorMethod = getIteratorMethod(object); + var iterator, next, step, entryIterator, entryNext, first, second; + + if (iteratorMethod) { + iterator = getIterator(object, iteratorMethod); + next = iterator.next; + while (!(step = call$1(next, iterator)).done) { + entryIterator = getIterator(anObject(step.value)); + entryNext = entryIterator.next; + if ( + (first = call$1(entryNext, entryIterator)).done || + (second = call$1(entryNext, entryIterator)).done || + !call$1(entryNext, entryIterator).done + ) throw TypeError$2('Expected sequence with length 2'); + push$1(this.entries, { key: $toString$1(first.value), value: $toString$1(second.value) }); + } + } else for (var key in object) if (hasOwn$1(object, key)) { + push$1(this.entries, { key: key, value: $toString$1(object[key]) }); + } + }, + parseQuery: function (query) { + if (query) { + var attributes = split$1(query, '&'); + var index = 0; + var attribute, entry; + while (index < attributes.length) { + attribute = attributes[index++]; + if (attribute.length) { + entry = split$1(attribute, '='); + push$1(this.entries, { + key: deserialize(shift$1(entry)), + value: deserialize(join$1(entry, '=')) + }); } - } else for (key in init) if (hasOwn$1(init, key)) entries.push({ key: key, value: $toString$1(init[key]) }); - } else { - parseSearchParams( - entries, - typeof init === 'string' ? init.charAt(0) === '?' ? init.slice(1) : init : $toString$1(init) - ); + } } + }, + serialize: function () { + var entries = this.entries; + var result = []; + var index = 0; + var entry; + while (index < entries.length) { + entry = entries[index++]; + push$1(result, serialize(entry.key) + '=' + serialize(entry.value)); + } return join$1(result, '&'); + }, + update: function () { + this.entries.length = 0; + this.parseQuery(this.url.query); + }, + updateURL: function () { + if (this.url) this.url.update(); } }; +// `URLSearchParams` constructor +// https://url.spec.whatwg.org/#interface-urlsearchparams +var URLSearchParamsConstructor = function URLSearchParams(/* init */) { + anInstance$1(this, URLSearchParamsPrototype); + var init = arguments.length > 0 ? arguments[0] : undefined; + setInternalState$1(this, new URLSearchParamsState(init)); +}; + var URLSearchParamsPrototype = URLSearchParamsConstructor.prototype; redefineAll(URLSearchParamsPrototype, { @@ -13922,7 +14635,7 @@ redefineAll(URLSearchParamsPrototype, { append: function append(name, value) { validateArgumentsLength(arguments.length, 2); var state = getInternalParamsState(this); - state.entries.push({ key: $toString$1(name), value: $toString$1(value) }); + push$1(state.entries, { key: $toString$1(name), value: $toString$1(value) }); state.updateURL(); }, // `URLSearchParams.prototype.delete` method @@ -13934,7 +14647,7 @@ redefineAll(URLSearchParamsPrototype, { var key = $toString$1(name); var index = 0; while (index < entries.length) { - if (entries[index].key === key) entries.splice(index, 1); + if (entries[index].key === key) splice(entries, index, 1); else index++; } state.updateURL(); @@ -13960,7 +14673,7 @@ redefineAll(URLSearchParamsPrototype, { var result = []; var index = 0; for (; index < entries.length; index++) { - if (entries[index].key === key) result.push(entries[index].value); + if (entries[index].key === key) push$1(result, entries[index].value); } return result; }, @@ -13990,41 +14703,29 @@ redefineAll(URLSearchParamsPrototype, { for (; index < entries.length; index++) { entry = entries[index]; if (entry.key === key) { - if (found) entries.splice(index--, 1); + if (found) splice(entries, index--, 1); else { found = true; entry.value = val; } } } - if (!found) entries.push({ key: key, value: val }); + if (!found) push$1(entries, { key: key, value: val }); 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, entriesIndex, sliceIndex; - entries.length = 0; - for (sliceIndex = 0; sliceIndex < slice.length; sliceIndex++) { - entry = slice[sliceIndex]; - for (entriesIndex = 0; entriesIndex < sliceIndex; entriesIndex++) { - if (entries[entriesIndex].key > entry.key) { - entries.splice(entriesIndex, 0, entry); - break; - } - } - if (entriesIndex === sliceIndex) entries.push(entry); - } + arraySort(state.entries, function (a, b) { + return a.key > b.key ? 1 : -1; + }); 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 boundFunction = bind$1(callback, arguments.length > 1 ? arguments[1] : undefined); var index = 0; var entry; while (index < entries.length) { @@ -14052,14 +14753,7 @@ redefine$1(URLSearchParamsPrototype, ITERATOR, URLSearchParamsPrototype.entries, // `URLSearchParams.prototype.toString` method // https://url.spec.whatwg.org/#urlsearchparams-stringification-behavior redefine$1(URLSearchParamsPrototype, 'toString', function toString() { - var entries = getInternalParamsState(this).entries; - var result = []; - var index = 0; - var entry; - while (index < entries.length) { - entry = entries[index++]; - result.push(serialize(entry.key) + '=' + serialize(entry.value)); - } return result.join('&'); + return getInternalParamsState(this).serialize(); }, { enumerable: true }); setToStringTag$1(URLSearchParamsConstructor, URL_SEARCH_PARAMS); @@ -14070,35 +14764,38 @@ $$2({ global: true, forced: !USE_NATIVE_URL$1 }, { // Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams` if (!USE_NATIVE_URL$1 && isCallable(Headers)) { + var headersHas = uncurryThis$1(HeadersPrototype.has); + var headersSet = uncurryThis$1(HeadersPrototype.set); + var wrapRequestOptions = function (init) { if (isObject(init)) { var body = init.body; var headers; if (classof(body) === URL_SEARCH_PARAMS) { headers = init.headers ? new Headers(init.headers) : new Headers(); - if (!headers.has('content-type')) { - headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8'); + if (!headersHas(headers, 'content-type')) { + headersSet(headers, 'content-type', 'application/x-www-form-urlencoded;charset=UTF-8'); } return create(init, { - body: createPropertyDescriptor(0, String(body)), + body: createPropertyDescriptor(0, $toString$1(body)), headers: createPropertyDescriptor(0, headers) }); } } return init; }; - if (isCallable(nativeFetch)) { + if (isCallable(n$Fetch)) { $$2({ global: true, enumerable: true, forced: true }, { fetch: function fetch(input /* , init */) { - return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); + return n$Fetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); } }); } - if (isCallable(NativeRequest)) { + if (isCallable(N$Request)) { var RequestConstructor = function Request(input /* , init */) { - anInstance$1(this, RequestConstructor, 'Request'); - return new NativeRequest(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); + anInstance$1(this, RequestPrototype); + return new N$Request(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {}); }; RequestPrototype.constructor = RequestConstructor; @@ -14120,27 +14817,45 @@ var web_urlSearchParams = { var $$1 = _export; var DESCRIPTORS = descriptors; var USE_NATIVE_URL = nativeUrl; -var global$1 = global$R; +var global$1 = global$1S; +var bind = functionBindContext; +var uncurryThis = functionUncurryThis; var defineProperties = objectDefineProperties; var redefine = redefine$l.exports; var anInstance = anInstance$b; var hasOwn = hasOwnProperty_1; var assign = objectAssign; var arrayFrom = arrayFrom$1; +var arraySlice = arraySliceSimple; var codeAt = stringMultibyte.codeAt; var toASCII = stringPunycodeToAscii; -var $toString = toString$t; +var $toString = toString$u; var setToStringTag = setToStringTag$b; var URLSearchParamsModule = web_urlSearchParams; var InternalStateModule = internalState; -var NativeURL = global$1.URL; -var URLSearchParams$1 = URLSearchParamsModule.URLSearchParams; -var getInternalSearchParamsState = URLSearchParamsModule.getState; var setInternalState = InternalStateModule.set; var getInternalURLState = InternalStateModule.getterFor('URL'); +var URLSearchParams$1 = URLSearchParamsModule.URLSearchParams; +var getInternalSearchParamsState = URLSearchParamsModule.getState; + +var NativeURL = global$1.URL; +var TypeError$1 = global$1.TypeError; +var parseInt$1 = global$1.parseInt; var floor = Math.floor; var pow = Math.pow; +var charAt = uncurryThis(''.charAt); +var exec = uncurryThis(/./.exec); +var join = uncurryThis([].join); +var numberToString = uncurryThis(1.0.toString); +var pop = uncurryThis([].pop); +var push = uncurryThis([].push); +var replace = uncurryThis(''.replace); +var shift = uncurryThis([].shift); +var split = uncurryThis(''.split); +var stringSlice = uncurryThis(''.slice); +var toLowerCase = uncurryThis(''.toLowerCase); +var unshift = uncurryThis([].unshift); var INVALID_AUTHORITY = 'Invalid authority'; var INVALID_SCHEME = 'Invalid scheme'; @@ -14163,36 +14878,12 @@ var TAB_AND_NEW_LINE = /[\t\n\r]/g; /* eslint-enable regexp/no-control-character -- safe */ var EOF; -var parseHost = function (url, input) { - var result, codePoints, index; - 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 (index = 0; index < codePoints.length; index++) { - result += percentEncode(codePoints[index], 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; - } -}; - +// https://url.spec.whatwg.org/#ipv4-number-parser var parseIPv4 = function (input) { - var parts = input.split('.'); + var parts = split(input, '.'); var partsLength, numbers, index, part, radix, number, ipv4; if (parts.length && parts[parts.length - 1] == '') { - parts.pop(); + parts.length--; } partsLength = parts.length; if (partsLength > 4) return input; @@ -14201,17 +14892,17 @@ var parseIPv4 = function (input) { part = parts[index]; if (part == '') return input; radix = 10; - if (part.length > 1 && part.charAt(0) == '0') { - radix = HEX_START.test(part) ? 16 : 8; - part = part.slice(radix == 8 ? 1 : 2); + if (part.length > 1 && charAt(part, 0) == '0') { + radix = exec(HEX_START, part) ? 16 : 8; + part = stringSlice(part, radix == 8 ? 1 : 2); } if (part === '') { number = 0; } else { - if (!(radix == 10 ? DEC : radix == 8 ? OCT : HEX).test(part)) return input; - number = parseInt(part, radix); + if (!exec(radix == 10 ? DEC : radix == 8 ? OCT : HEX, part)) return input; + number = parseInt$1(part, radix); } - numbers.push(number); + push(numbers, number); } for (index = 0; index < partsLength; index++) { number = numbers[index]; @@ -14219,13 +14910,14 @@ var parseIPv4 = function (input) { if (number >= pow(256, 5 - partsLength)) return null; } else if (number > 255) return null; } - ipv4 = numbers.pop(); + ipv4 = pop(numbers); for (index = 0; index < numbers.length; index++) { ipv4 += numbers[index] * pow(256, 3 - index); } return ipv4; }; +// https://url.spec.whatwg.org/#concept-ipv6-parser // eslint-disable-next-line max-statements -- TODO var parseIPv6 = function (input) { var address = [0, 0, 0, 0, 0, 0, 0, 0]; @@ -14235,11 +14927,11 @@ var parseIPv6 = function (input) { var value, length, numbersSeen, ipv4Piece, number, swaps, swap; var chr = function () { - return input.charAt(pointer); + return charAt(input, pointer); }; if (chr() == ':') { - if (input.charAt(1) != ':') return; + if (charAt(input, 1) != ':') return; pointer += 2; pieceIndex++; compress = pieceIndex; @@ -14254,8 +14946,8 @@ var parseIPv6 = function (input) { continue; } value = length = 0; - while (length < 4 && HEX.test(chr())) { - value = value * 16 + parseInt(chr(), 16); + while (length < 4 && exec(HEX, chr())) { + value = value * 16 + parseInt$1(chr(), 16); pointer++; length++; } @@ -14270,9 +14962,9 @@ var parseIPv6 = function (input) { if (chr() == '.' && numbersSeen < 4) pointer++; else return; } - if (!DIGIT.test(chr())) return; - while (DIGIT.test(chr())) { - number = parseInt(chr(), 10); + if (!exec(DIGIT, chr())) return; + while (exec(DIGIT, chr())) { + number = parseInt$1(chr(), 10); if (ipv4Piece === null) ipv4Piece = number; else if (ipv4Piece == 0) return; else ipv4Piece = ipv4Piece * 10 + number; @@ -14329,15 +15021,16 @@ var findLongestZeroSequence = function (ipv6) { return maxIndex; }; +// https://url.spec.whatwg.org/#host-serializing var serializeHost = function (host) { var result, index, compress, ignore0; // ipv4 if (typeof host == 'number') { result = []; for (index = 0; index < 4; index++) { - result.unshift(host % 256); + unshift(result, host % 256); host = floor(host / 256); - } return result.join('.'); + } return join(result, '.'); // ipv6 } else if (typeof host == 'object') { result = ''; @@ -14349,7 +15042,7 @@ var serializeHost = function (host) { result += index ? ':' : '::'; ignore0 = true; } else { - result += host[index].toString(16); + result += numberToString(host[index], 16); if (index < 7) result += ':'; } } @@ -14373,6 +15066,7 @@ var percentEncode = function (chr, set) { return code > 0x20 && code < 0x7F && !hasOwn(set, chr) ? chr : encodeURIComponent(chr); }; +// https://url.spec.whatwg.org/#special-scheme var specialSchemes = { ftp: 21, file: null, @@ -14382,46 +15076,30 @@ var specialSchemes = { wss: 443 }; -var isSpecial = function (url) { - return hasOwn(specialSchemes, url.scheme); -}; - -var includesCredentials = function (url) { - return url.username != '' || url.password != ''; -}; - -var cannotHaveUsernamePasswordPort = function (url) { - return !url.host || url.cannotBeABaseURL || url.scheme == 'file'; -}; - +// https://url.spec.whatwg.org/#windows-drive-letter var isWindowsDriveLetter = function (string, normalized) { var second; - return string.length == 2 && ALPHA.test(string.charAt(0)) - && ((second = string.charAt(1)) == ':' || (!normalized && second == '|')); + return string.length == 2 && exec(ALPHA, charAt(string, 0)) + && ((second = charAt(string, 1)) == ':' || (!normalized && second == '|')); }; +// https://url.spec.whatwg.org/#start-with-a-windows-drive-letter var startsWithWindowsDriveLetter = function (string) { var third; - return string.length > 1 && isWindowsDriveLetter(string.slice(0, 2)) && ( + return string.length > 1 && isWindowsDriveLetter(stringSlice(string, 0, 2)) && ( string.length == 2 || - ((third = string.charAt(2)) === '/' || third === '\\' || third === '?' || third === '#') + ((third = charAt(string, 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(); - } -}; - +// https://url.spec.whatwg.org/#single-dot-path-segment var isSingleDot = function (segment) { - return segment === '.' || segment.toLowerCase() === '%2e'; + return segment === '.' || toLowerCase(segment) === '%2e'; }; +// https://url.spec.whatwg.org/#double-dot-path-segment var isDoubleDot = function (segment) { - segment = segment.toLowerCase(); + segment = toLowerCase(segment); return segment === '..' || segment === '%2e.' || segment === '.%2e' || segment === '%2e%2e'; }; @@ -14448,655 +15126,716 @@ var CANNOT_BE_A_BASE_URL_PATH = {}; var QUERY = {}; var FRAGMENT = {}; -// eslint-disable-next-line max-statements -- TODO -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, chr, 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) { - chr = codePoints[pointer]; - switch (state) { - case SCHEME_START: - if (chr && ALPHA.test(chr)) { - buffer += chr.toLowerCase(); - state = SCHEME; - } else if (!stateOverride) { - state = NO_SCHEME; - continue; - } else return INVALID_SCHEME; - break; +var URLState = function (url, isBase, base) { + var urlString = $toString(url); + var baseState, failure, searchParams; + if (isBase) { + failure = this.parse(urlString); + if (failure) throw TypeError$1(failure); + this.searchParams = null; + } else { + if (base !== undefined) baseState = new URLState(base, true); + failure = this.parse(urlString, null, baseState); + if (failure) throw TypeError$1(failure); + searchParams = getInternalSearchParamsState(new URLSearchParams$1()); + searchParams.bindURL(this); + this.searchParams = searchParams; + } +}; - case SCHEME: - if (chr && (ALPHANUMERIC.test(chr) || chr == '+' || chr == '-' || chr == '.')) { - buffer += chr.toLowerCase(); - } else if (chr == ':') { - if (stateOverride && ( - (isSpecial(url) != hasOwn(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; +URLState.prototype = { + type: 'URL', + // https://url.spec.whatwg.org/#url-parsing + // eslint-disable-next-line max-statements -- TODO + parse: function (input, stateOverride, base) { + var url = this; + var state = stateOverride || SCHEME_START; + var pointer = 0; + var buffer = ''; + var seenAt = false; + var seenBracket = false; + var seenPasswordToken = false; + var codePoints, chr, bufferCodePoints, failure; + + input = $toString(input); + + 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 = replace(input, LEADING_AND_TRAILING_C0_CONTROL_OR_SPACE, ''); + } - case NO_SCHEME: - if (!base || (base.cannotBeABaseURL && chr != '#')) return INVALID_SCHEME; - if (base.cannotBeABaseURL && chr == '#') { - 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; + input = replace(input, TAB_AND_NEW_LINE, ''); - case SPECIAL_RELATIVE_OR_AUTHORITY: - if (chr == '/' && codePoints[pointer + 1] == '/') { - state = SPECIAL_AUTHORITY_IGNORE_SLASHES; - pointer++; - } else { - state = RELATIVE; - continue; - } break; + codePoints = arrayFrom(input); - case PATH_OR_AUTHORITY: - if (chr == '/') { - state = AUTHORITY; + while (pointer <= codePoints.length) { + chr = codePoints[pointer]; + switch (state) { + case SCHEME_START: + if (chr && exec(ALPHA, chr)) { + buffer += toLowerCase(chr); + state = SCHEME; + } else if (!stateOverride) { + state = NO_SCHEME; + continue; + } else return INVALID_SCHEME; break; - } else { - state = PATH; - continue; - } - case RELATIVE: - url.scheme = base.scheme; - if (chr == 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 (chr == '/' || (chr == '\\' && isSpecial(url))) { - state = RELATIVE_SLASH; - } else if (chr == '?') { - 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 (chr == '#') { - 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 SCHEME: + if (chr && (exec(ALPHANUMERIC, chr) || chr == '+' || chr == '-' || chr == '.')) { + buffer += toLowerCase(chr); + } else if (chr == ':') { + if (stateOverride && ( + (url.isSpecial() != hasOwn(specialSchemes, buffer)) || + (buffer == 'file' && (url.includesCredentials() || url.port !== null)) || + (url.scheme == 'file' && !url.host) + )) return; + url.scheme = buffer; + if (stateOverride) { + if (url.isSpecial() && specialSchemes[url.scheme] == url.port) url.port = null; + return; + } + buffer = ''; + if (url.scheme == 'file') { + state = FILE; + } else if (url.isSpecial() && base && base.scheme == url.scheme) { + state = SPECIAL_RELATIVE_OR_AUTHORITY; + } else if (url.isSpecial()) { + state = SPECIAL_AUTHORITY_SLASHES; + } else if (codePoints[pointer + 1] == '/') { + state = PATH_OR_AUTHORITY; + pointer++; + } else { + url.cannotBeABaseURL = true; + push(url.path, ''); + state = CANNOT_BE_A_BASE_URL_PATH; + } + } else if (!stateOverride) { + buffer = ''; + state = NO_SCHEME; + pointer = 0; + continue; + } else return INVALID_SCHEME; + break; - case RELATIVE_SLASH: - if (isSpecial(url) && (chr == '/' || chr == '\\')) { - state = SPECIAL_AUTHORITY_IGNORE_SLASHES; - } else if (chr == '/') { - state = AUTHORITY; - } else { - url.username = base.username; - url.password = base.password; - url.host = base.host; - url.port = base.port; - state = PATH; + case NO_SCHEME: + if (!base || (base.cannotBeABaseURL && chr != '#')) return INVALID_SCHEME; + if (base.cannotBeABaseURL && chr == '#') { + url.scheme = base.scheme; + url.path = arraySlice(base.path); + url.query = base.query; + url.fragment = ''; + url.cannotBeABaseURL = true; + state = FRAGMENT; + break; + } + state = base.scheme == 'file' ? FILE : RELATIVE; continue; - } break; - - case SPECIAL_AUTHORITY_SLASHES: - state = SPECIAL_AUTHORITY_IGNORE_SLASHES; - if (chr != '/' || buffer.charAt(pointer + 1) != '/') continue; - pointer++; - break; - case SPECIAL_AUTHORITY_IGNORE_SLASHES: - if (chr != '/' && chr != '\\') { - state = AUTHORITY; - continue; - } break; - - case AUTHORITY: - if (chr == '@') { - 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 ( - chr == EOF || chr == '/' || chr == '?' || chr == '#' || - (chr == '\\' && isSpecial(url)) - ) { - if (seenAt && buffer == '') return INVALID_AUTHORITY; - pointer -= arrayFrom(buffer).length + 1; - buffer = ''; - state = HOST; - } else buffer += chr; - break; + case SPECIAL_RELATIVE_OR_AUTHORITY: + if (chr == '/' && codePoints[pointer + 1] == '/') { + state = SPECIAL_AUTHORITY_IGNORE_SLASHES; + pointer++; + } else { + state = RELATIVE; + continue; + } break; - case HOST: - case HOSTNAME: - if (stateOverride && url.scheme == 'file') { - state = FILE_HOST; - continue; - } else if (chr == ':' && !seenBracket) { - if (buffer == '') return INVALID_HOST; - failure = parseHost(url, buffer); - if (failure) return failure; - buffer = ''; - state = PORT; - if (stateOverride == HOSTNAME) return; - } else if ( - chr == EOF || chr == '/' || chr == '?' || chr == '#' || - (chr == '\\' && 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 (chr == '[') seenBracket = true; - else if (chr == ']') seenBracket = false; - buffer += chr; - } break; - - case PORT: - if (DIGIT.test(chr)) { - buffer += chr; - } else if ( - chr == EOF || chr == '/' || chr == '?' || chr == '#' || - (chr == '\\' && 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 = ''; + case PATH_OR_AUTHORITY: + if (chr == '/') { + state = AUTHORITY; + break; + } else { + state = PATH; + continue; } - if (stateOverride) return; - state = PATH_START; - continue; - } else return INVALID_PORT; - break; - case FILE: - url.scheme = 'file'; - if (chr == '/' || chr == '\\') state = FILE_SLASH; - else if (base && base.scheme == 'file') { + case RELATIVE: + url.scheme = base.scheme; if (chr == EOF) { + url.username = base.username; + url.password = base.password; url.host = base.host; - url.path = base.path.slice(); + url.port = base.port; + url.path = arraySlice(base.path); url.query = base.query; + } else if (chr == '/' || (chr == '\\' && url.isSpecial())) { + state = RELATIVE_SLASH; } else if (chr == '?') { + url.username = base.username; + url.password = base.password; url.host = base.host; - url.path = base.path.slice(); + url.port = base.port; + url.path = arraySlice(base.path); url.query = ''; state = QUERY; } else if (chr == '#') { + url.username = base.username; + url.password = base.password; url.host = base.host; - url.path = base.path.slice(); + url.port = base.port; + url.path = arraySlice(base.path); 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); - } + url.username = base.username; + url.password = base.password; + url.host = base.host; + url.port = base.port; + url.path = arraySlice(base.path); + url.path.length--; state = PATH; continue; - } - } else { - state = PATH; - continue; - } break; + } break; - case FILE_SLASH: - if (chr == '/' || chr == '\\') { - state = FILE_HOST; + case RELATIVE_SLASH: + if (url.isSpecial() && (chr == '/' || chr == '\\')) { + state = SPECIAL_AUTHORITY_IGNORE_SLASHES; + } else if (chr == '/') { + 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 (chr != '/' || charAt(buffer, pointer + 1) != '/') continue; + pointer++; 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 (chr == EOF || chr == '/' || chr == '\\' || chr == '?' || chr == '#') { - if (!stateOverride && isWindowsDriveLetter(buffer)) { - state = PATH; - } else if (buffer == '') { - url.host = ''; - if (stateOverride) return; + case SPECIAL_AUTHORITY_IGNORE_SLASHES: + if (chr != '/' && chr != '\\') { + state = AUTHORITY; + continue; + } break; + + case AUTHORITY: + if (chr == '@') { + 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 ( + chr == EOF || chr == '/' || chr == '?' || chr == '#' || + (chr == '\\' && url.isSpecial()) + ) { + if (seenAt && buffer == '') return INVALID_AUTHORITY; + pointer -= arrayFrom(buffer).length + 1; + buffer = ''; + state = HOST; + } else buffer += chr; + break; + + case HOST: + case HOSTNAME: + if (stateOverride && url.scheme == 'file') { + state = FILE_HOST; + continue; + } else if (chr == ':' && !seenBracket) { + if (buffer == '') return INVALID_HOST; + failure = url.parseHost(buffer); + if (failure) return failure; + buffer = ''; + state = PORT; + if (stateOverride == HOSTNAME) return; + } else if ( + chr == EOF || chr == '/' || chr == '?' || chr == '#' || + (chr == '\\' && url.isSpecial()) + ) { + if (url.isSpecial() && buffer == '') return INVALID_HOST; + if (stateOverride && buffer == '' && (url.includesCredentials() || url.port !== null)) return; + failure = url.parseHost(buffer); + if (failure) return failure; + buffer = ''; state = PATH_START; + if (stateOverride) return; + continue; } else { - failure = parseHost(url, buffer); - if (failure) return failure; - if (url.host == 'localhost') url.host = ''; + if (chr == '[') seenBracket = true; + else if (chr == ']') seenBracket = false; + buffer += chr; + } break; + + case PORT: + if (exec(DIGIT, chr)) { + buffer += chr; + } else if ( + chr == EOF || chr == '/' || chr == '?' || chr == '#' || + (chr == '\\' && url.isSpecial()) || + stateOverride + ) { + if (buffer != '') { + var port = parseInt$1(buffer, 10); + if (port > 0xFFFF) return INVALID_PORT; + url.port = (url.isSpecial() && port === specialSchemes[url.scheme]) ? null : port; + buffer = ''; + } if (stateOverride) return; - buffer = ''; state = PATH_START; - } continue; - } else buffer += chr; - break; + continue; + } else return INVALID_PORT; + break; - case PATH_START: - if (isSpecial(url)) { - state = PATH; - if (chr != '/' && chr != '\\') continue; - } else if (!stateOverride && chr == '?') { - url.query = ''; - state = QUERY; - } else if (!stateOverride && chr == '#') { - url.fragment = ''; - state = FRAGMENT; - } else if (chr != EOF) { + case FILE: + url.scheme = 'file'; + if (chr == '/' || chr == '\\') state = FILE_SLASH; + else if (base && base.scheme == 'file') { + if (chr == EOF) { + url.host = base.host; + url.path = arraySlice(base.path); + url.query = base.query; + } else if (chr == '?') { + url.host = base.host; + url.path = arraySlice(base.path); + url.query = ''; + state = QUERY; + } else if (chr == '#') { + url.host = base.host; + url.path = arraySlice(base.path); + url.query = base.query; + url.fragment = ''; + state = FRAGMENT; + } else { + if (!startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) { + url.host = base.host; + url.path = arraySlice(base.path); + url.shortenPath(); + } + state = PATH; + continue; + } + } else { + state = PATH; + continue; + } break; + + case FILE_SLASH: + if (chr == '/' || chr == '\\') { + state = FILE_HOST; + break; + } + if (base && base.scheme == 'file' && !startsWithWindowsDriveLetter(join(arraySlice(codePoints, pointer), ''))) { + if (isWindowsDriveLetter(base.path[0], true)) push(url.path, base.path[0]); + else url.host = base.host; + } state = PATH; - if (chr != '/') continue; - } break; + continue; - case PATH: - if ( - chr == EOF || chr == '/' || - (chr == '\\' && isSpecial(url)) || - (!stateOverride && (chr == '?' || chr == '#')) - ) { - if (isDoubleDot(buffer)) { - shortenURLsPath(url); - if (chr != '/' && !(chr == '\\' && isSpecial(url))) { - url.path.push(''); - } - } else if (isSingleDot(buffer)) { - if (chr != '/' && !(chr == '\\' && isSpecial(url))) { - url.path.push(''); + case FILE_HOST: + if (chr == EOF || chr == '/' || chr == '\\' || chr == '?' || chr == '#') { + if (!stateOverride && isWindowsDriveLetter(buffer)) { + state = PATH; + } else if (buffer == '') { + url.host = ''; + if (stateOverride) return; + state = PATH_START; + } else { + failure = url.parseHost(buffer); + if (failure) return failure; + if (url.host == 'localhost') url.host = ''; + if (stateOverride) return; + buffer = ''; + state = PATH_START; + } continue; + } else buffer += chr; + break; + + case PATH_START: + if (url.isSpecial()) { + state = PATH; + if (chr != '/' && chr != '\\') continue; + } else if (!stateOverride && chr == '?') { + url.query = ''; + state = QUERY; + } else if (!stateOverride && chr == '#') { + url.fragment = ''; + state = FRAGMENT; + } else if (chr != EOF) { + state = PATH; + if (chr != '/') continue; + } break; + + case PATH: + if ( + chr == EOF || chr == '/' || + (chr == '\\' && url.isSpecial()) || + (!stateOverride && (chr == '?' || chr == '#')) + ) { + if (isDoubleDot(buffer)) { + url.shortenPath(); + if (chr != '/' && !(chr == '\\' && url.isSpecial())) { + push(url.path, ''); + } + } else if (isSingleDot(buffer)) { + if (chr != '/' && !(chr == '\\' && url.isSpecial())) { + push(url.path, ''); + } + } else { + if (url.scheme == 'file' && !url.path.length && isWindowsDriveLetter(buffer)) { + if (url.host) url.host = ''; + buffer = charAt(buffer, 0) + ':'; // normalize windows drive letter + } + push(url.path, buffer); } - } else { - if (url.scheme == 'file' && !url.path.length && isWindowsDriveLetter(buffer)) { - if (url.host) url.host = ''; - buffer = buffer.charAt(0) + ':'; // normalize windows drive letter + buffer = ''; + if (url.scheme == 'file' && (chr == EOF || chr == '?' || chr == '#')) { + while (url.path.length > 1 && url.path[0] === '') { + shift(url.path); + } } - url.path.push(buffer); - } - buffer = ''; - if (url.scheme == 'file' && (chr == EOF || chr == '?' || chr == '#')) { - while (url.path.length > 1 && url.path[0] === '') { - url.path.shift(); + if (chr == '?') { + url.query = ''; + state = QUERY; + } else if (chr == '#') { + url.fragment = ''; + state = FRAGMENT; } - } + } else { + buffer += percentEncode(chr, pathPercentEncodeSet); + } break; + + case CANNOT_BE_A_BASE_URL_PATH: if (chr == '?') { url.query = ''; state = QUERY; } else if (chr == '#') { url.fragment = ''; state = FRAGMENT; - } - } else { - buffer += percentEncode(chr, pathPercentEncodeSet); - } break; - - case CANNOT_BE_A_BASE_URL_PATH: - if (chr == '?') { - url.query = ''; - state = QUERY; - } else if (chr == '#') { - url.fragment = ''; - state = FRAGMENT; - } else if (chr != EOF) { - url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet); - } break; - - case QUERY: - if (!stateOverride && chr == '#') { - url.fragment = ''; - state = FRAGMENT; - } else if (chr != EOF) { - if (chr == "'" && isSpecial(url)) url.query += '%27'; - else if (chr == '#') url.query += '%23'; - else url.query += percentEncode(chr, C0ControlPercentEncodeSet); - } break; - - case FRAGMENT: - if (chr != EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet); - break; - } + } else if (chr != EOF) { + url.path[0] += percentEncode(chr, C0ControlPercentEncodeSet); + } break; + + case QUERY: + if (!stateOverride && chr == '#') { + url.fragment = ''; + state = FRAGMENT; + } else if (chr != EOF) { + if (chr == "'" && url.isSpecial()) url.query += '%27'; + else if (chr == '#') url.query += '%23'; + else url.query += percentEncode(chr, C0ControlPercentEncodeSet); + } break; + + case FRAGMENT: + if (chr != EOF) url.fragment += percentEncode(chr, fragmentPercentEncodeSet); + break; + } - pointer++; + pointer++; + } + }, + // https://url.spec.whatwg.org/#host-parsing + parseHost: function (input) { + var result, codePoints, index; + if (charAt(input, 0) == '[') { + if (charAt(input, input.length - 1) != ']') return INVALID_HOST; + result = parseIPv6(stringSlice(input, 1, -1)); + if (!result) return INVALID_HOST; + this.host = result; + // opaque host + } else if (!this.isSpecial()) { + if (exec(FORBIDDEN_HOST_CODE_POINT_EXCLUDING_PERCENT, input)) return INVALID_HOST; + result = ''; + codePoints = arrayFrom(input); + for (index = 0; index < codePoints.length; index++) { + result += percentEncode(codePoints[index], C0ControlPercentEncodeSet); + } + this.host = result; + } else { + input = toASCII(input); + if (exec(FORBIDDEN_HOST_CODE_POINT, input)) return INVALID_HOST; + result = parseIPv4(input); + if (result === null) return INVALID_HOST; + this.host = result; + } + }, + // https://url.spec.whatwg.org/#cannot-have-a-username-password-port + cannotHaveUsernamePasswordPort: function () { + return !this.host || this.cannotBeABaseURL || this.scheme == 'file'; + }, + // https://url.spec.whatwg.org/#include-credentials + includesCredentials: function () { + return this.username != '' || this.password != ''; + }, + // https://url.spec.whatwg.org/#is-special + isSpecial: function () { + return hasOwn(specialSchemes, this.scheme); + }, + // https://url.spec.whatwg.org/#shorten-a-urls-path + shortenPath: function () { + var path = this.path; + var pathSize = path.length; + if (pathSize && (this.scheme != 'file' || pathSize != 1 || !isWindowsDriveLetter(path[0], true))) { + path.length--; + } + }, + // https://url.spec.whatwg.org/#concept-url-serializer + serialize: function () { + var url = 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 (url.includesCredentials()) { + output += username + (password ? ':' + password : '') + '@'; + } + output += serializeHost(host); + if (port !== null) output += ':' + port; + } else if (scheme == 'file') output += '//'; + output += url.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : ''; + if (query !== null) output += '?' + query; + if (fragment !== null) output += '#' + fragment; + return output; + }, + // https://url.spec.whatwg.org/#dom-url-href + setHref: function (href) { + var failure = this.parse(href); + if (failure) throw TypeError$1(failure); + this.searchParams.update(); + }, + // https://url.spec.whatwg.org/#dom-url-origin + getOrigin: function () { + var scheme = this.scheme; + var port = this.port; + if (scheme == 'blob') try { + return new URLConstructor(scheme.path[0]).origin; + } catch (error) { + return 'null'; + } + if (scheme == 'file' || !this.isSpecial()) return 'null'; + return scheme + '://' + serializeHost(this.host) + (port !== null ? ':' + port : ''); + }, + // https://url.spec.whatwg.org/#dom-url-protocol + getProtocol: function () { + return this.scheme + ':'; + }, + setProtocol: function (protocol) { + this.parse($toString(protocol) + ':', SCHEME_START); + }, + // https://url.spec.whatwg.org/#dom-url-username + getUsername: function () { + return this.username; + }, + setUsername: function (username) { + var codePoints = arrayFrom($toString(username)); + if (this.cannotHaveUsernamePasswordPort()) return; + this.username = ''; + for (var i = 0; i < codePoints.length; i++) { + this.username += percentEncode(codePoints[i], userinfoPercentEncodeSet); + } + }, + // https://url.spec.whatwg.org/#dom-url-password + getPassword: function () { + return this.password; + }, + setPassword: function (password) { + var codePoints = arrayFrom($toString(password)); + if (this.cannotHaveUsernamePasswordPort()) return; + this.password = ''; + for (var i = 0; i < codePoints.length; i++) { + this.password += percentEncode(codePoints[i], userinfoPercentEncodeSet); + } + }, + // https://url.spec.whatwg.org/#dom-url-host + getHost: function () { + var host = this.host; + var port = this.port; + return host === null ? '' + : port === null ? serializeHost(host) + : serializeHost(host) + ':' + port; + }, + setHost: function (host) { + if (this.cannotBeABaseURL) return; + this.parse(host, HOST); + }, + // https://url.spec.whatwg.org/#dom-url-hostname + getHostname: function () { + var host = this.host; + return host === null ? '' : serializeHost(host); + }, + setHostname: function (hostname) { + if (this.cannotBeABaseURL) return; + this.parse(hostname, HOSTNAME); + }, + // https://url.spec.whatwg.org/#dom-url-port + getPort: function () { + var port = this.port; + return port === null ? '' : $toString(port); + }, + setPort: function (port) { + if (this.cannotHaveUsernamePasswordPort()) return; + port = $toString(port); + if (port == '') this.port = null; + else this.parse(port, PORT); + }, + // https://url.spec.whatwg.org/#dom-url-pathname + getPathname: function () { + var path = this.path; + return this.cannotBeABaseURL ? path[0] : path.length ? '/' + join(path, '/') : ''; + }, + setPathname: function (pathname) { + if (this.cannotBeABaseURL) return; + this.path = []; + this.parse(pathname, PATH_START); + }, + // https://url.spec.whatwg.org/#dom-url-search + getSearch: function () { + var query = this.query; + return query ? '?' + query : ''; + }, + setSearch: function (search) { + search = $toString(search); + if (search == '') { + this.query = null; + } else { + if ('?' == charAt(search, 0)) search = stringSlice(search, 1); + this.query = ''; + this.parse(search, QUERY); + } + this.searchParams.update(); + }, + // https://url.spec.whatwg.org/#dom-url-searchparams + getSearchParams: function () { + return this.searchParams.facade; + }, + // https://url.spec.whatwg.org/#dom-url-hash + getHash: function () { + var fragment = this.fragment; + return fragment ? '#' + fragment : ''; + }, + setHash: function (hash) { + hash = $toString(hash); + if (hash == '') { + this.fragment = null; + return; + } + if ('#' == charAt(hash, 0)) hash = stringSlice(hash, 1); + this.fragment = ''; + this.parse(hash, FRAGMENT); + }, + update: function () { + this.query = this.searchParams.serialize() || null; } }; // `URL` constructor // https://url.spec.whatwg.org/#url-class var URLConstructor = function URL(url /* , base */) { - var that = anInstance(this, URLConstructor, 'URL'); + var that = anInstance(this, URLPrototype); var base = arguments.length > 1 ? arguments[1] : undefined; - var urlString = $toString(url); - var state = setInternalState(that, { type: 'URL' }); - var baseState, failure; - if (base !== undefined) { - if (base instanceof URLConstructor) baseState = getInternalURLState(base); - else { - failure = parseURL(baseState = {}, $toString(base)); - if (failure) throw TypeError(failure); - } - } - failure = parseURL(state, urlString, null, baseState); - if (failure) throw TypeError(failure); - var searchParams = state.searchParams = new URLSearchParams$1(); - var searchParamsState = getInternalSearchParamsState(searchParams); - searchParamsState.updateSearchParams(state.query); - searchParamsState.updateURL = function () { - state.query = String(searchParams) || null; - }; + var state = setInternalState(that, new URLState(url, false, base)); 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); + that.href = state.serialize(); + that.origin = state.getOrigin(); + that.protocol = state.getProtocol(); + that.username = state.getUsername(); + that.password = state.getPassword(); + that.host = state.getHost(); + that.hostname = state.getHostname(); + that.port = state.getPort(); + that.pathname = state.getPathname(); + that.search = state.getSearch(); + that.searchParams = state.getSearchParams(); + that.hash = state.getHash(); } }; 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 URLConstructor(scheme.path[0]).origin; - } catch (error) { - 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 }; + return { + get: function () { + return getInternalURLState(this)[getter](); + }, + set: setter && function (value) { + return getInternalURLState(this)[setter](value); + }, + 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 = $toString(href); - var failure = parseURL(url, urlString); - if (failure) throw TypeError(failure); - getInternalSearchParamsState(url.searchParams).updateSearchParams(url.query); - }), + href: accessorDescriptor('serialize', 'setHref'), // `URL.prototype.origin` getter // https://url.spec.whatwg.org/#dom-url-origin - origin: accessorDescriptor(getOrigin), + 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, $toString(protocol) + ':', SCHEME_START); - }), + protocol: accessorDescriptor('getProtocol', 'setProtocol'), // `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($toString(username)); - if (cannotHaveUsernamePasswordPort(url)) return; - url.username = ''; - for (var i = 0; i < codePoints.length; i++) { - url.username += percentEncode(codePoints[i], userinfoPercentEncodeSet); - } - }), + username: accessorDescriptor('getUsername', 'setUsername'), // `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($toString(password)); - if (cannotHaveUsernamePasswordPort(url)) return; - url.password = ''; - for (var i = 0; i < codePoints.length; i++) { - url.password += percentEncode(codePoints[i], userinfoPercentEncodeSet); - } - }), + password: accessorDescriptor('getPassword', 'setPassword'), // `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, $toString(host), HOST); - }), + host: accessorDescriptor('getHost', 'setHost'), // `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, $toString(hostname), HOSTNAME); - }), + hostname: accessorDescriptor('getHostname', 'setHostname'), // `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 = $toString(port); - if (port == '') url.port = null; - else parseURL(url, port, PORT); - }), + port: accessorDescriptor('getPort', 'setPort'), // `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, $toString(pathname), PATH_START); - }), + pathname: accessorDescriptor('getPathname', 'setPathname'), // `URL.prototype.search` accessors pair // https://url.spec.whatwg.org/#dom-url-search - search: accessorDescriptor(getSearch, function (search) { - var url = getInternalURLState(this); - search = $toString(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); - }), + search: accessorDescriptor('getSearch', 'setSearch'), // `URL.prototype.searchParams` getter // https://url.spec.whatwg.org/#dom-url-searchparams - searchParams: accessorDescriptor(getSearchParams), + 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 = $toString(hash); - if (hash == '') { - url.fragment = null; - return; - } - if ('#' == hash.charAt(0)) hash = hash.slice(1); - url.fragment = ''; - parseURL(url, hash, FRAGMENT); - }) + hash: accessorDescriptor('getHash', 'setHash') }); } // `URL.prototype.toJSON` method // https://url.spec.whatwg.org/#dom-url-tojson redefine(URLPrototype, 'toJSON', function toJSON() { - return serializeURL.call(this); + return getInternalURLState(this).serialize(); }, { enumerable: true }); // `URL.prototype.toString` method // https://url.spec.whatwg.org/#URL-stringification-behavior redefine(URLPrototype, 'toString', function toString() { - return serializeURL.call(this); + return getInternalURLState(this).serialize(); }, { enumerable: true }); if (NativeURL) { @@ -15104,16 +15843,10 @@ if (NativeURL) { 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 -- required for `.length` - if (nativeCreateObjectURL) redefine(URLConstructor, 'createObjectURL', function createObjectURL(blob) { - return nativeCreateObjectURL.apply(NativeURL, arguments); - }); + if (nativeCreateObjectURL) redefine(URLConstructor, 'createObjectURL', bind(nativeCreateObjectURL, NativeURL)); // `URL.revokeObjectURL` method // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL - // eslint-disable-next-line no-unused-vars -- required for `.length` - if (nativeRevokeObjectURL) redefine(URLConstructor, 'revokeObjectURL', function revokeObjectURL(url) { - return nativeRevokeObjectURL.apply(NativeURL, arguments); - }); + if (nativeRevokeObjectURL) redefine(URLConstructor, 'revokeObjectURL', bind(nativeRevokeObjectURL, NativeURL)); } setToStringTag(URLConstructor, 'URL'); @@ -15123,11 +15856,12 @@ $$1({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS }, { }); var $ = _export; +var call = functionCall; // `URL.prototype.toJSON` method // https://url.spec.whatwg.org/#dom-url-tojson $({ target: 'URL', proto: true, enumerable: true }, { toJSON: function toJSON() { - return URL.prototype.toString.call(this); + return call(URL.prototype.toString, this); } -}); +}); \ No newline at end of file