From 0c8f385f875b7f9848df7342d303c0e9cb9bd5ac Mon Sep 17 00:00:00 2001 From: Cameron Yick Date: Sat, 14 Aug 2021 17:00:19 -0400 Subject: [PATCH 01/15] chore(deps): add minimatch for pattern matching --- package.json | 1 + yarn.lock | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/package.json b/package.json index 1516319..510975a 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "esbuild": "^0.12.15", "husky": "^7.0.1", "lodash": "^4.17.21", + "minimatch": "^3.0.4", "react": "^17.0.2", "react-dom": "^17.0.2" }, diff --git a/yarn.lock b/yarn.lock index 66d0d84..eb6e644 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,11 +19,29 @@ resolved "https://registry.yarnpkg.com/@actions/io/-/io-1.1.1.tgz#4a157406309e212ab27ed3ae30e8c1d641686a66" integrity sha512-Qi4JoKXjmE0O67wAOH6y0n26QXhMKMFo7GD/4IXNVcrtLjUlGjGuVys6pQgwF3ArfGTQu0XpqaNr0YhED2RaRA== +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + commander@7: version "7.2.0" resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= + "d3-array@2 - 3", "d3-array@2.10.0 - 3", "d3-array@2.5.0 - 3", d3-array@3: version "3.0.1" resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-3.0.1.tgz#ca45c263f5bb780ab5a34a6e1d3d5883fe4a8d14" @@ -314,6 +332,13 @@ loose-envify@^1.1.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" +minimatch@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" + integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== + dependencies: + brace-expansion "^1.1.7" + object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" From 2acdd5adf69347347675334707dfa403bb51d807 Mon Sep 17 00:00:00 2001 From: Cameron Yick Date: Sat, 14 Aug 2021 17:29:12 -0400 Subject: [PATCH 02/15] chore(tooling): set up unit tests --- .npmignore | 0 jest.config.cjs | 4 + package.json | 13 +- tsconfig.json | 19 + yarn.lock | 2574 ++++++++++++++++++++++++++++++++++++++++++++++- 5 files changed, 2572 insertions(+), 38 deletions(-) create mode 100644 .npmignore create mode 100644 jest.config.cjs create mode 100644 tsconfig.json diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..e69de29 diff --git a/jest.config.cjs b/jest.config.cjs new file mode 100644 index 0000000..2786a53 --- /dev/null +++ b/jest.config.cjs @@ -0,0 +1,4 @@ +module.exports = { + preset: 'ts-jest', + testEnvironment: 'jsdom', +}; diff --git a/package.json b/package.json index 510975a..fb68dec 100644 --- a/package.json +++ b/package.json @@ -1,20 +1,27 @@ { "scripts": { "build": "node_modules/.bin/esbuild --target=es2019 ./src/index.jsx --bundle --platform=node --outfile=index.js", - "prepare": "husky install" + "prepare": "husky install", + "test:jest": "jest", + "test:watch": "jest --watch", + "test:coverage": "jest --coverage", + "test": "npm run test:jest --" }, "dependencies": { "@actions/core": "^1.4.0", "@actions/exec": "^1.1.0", "d3": "^7.0.0", "esbuild": "^0.12.15", - "husky": "^7.0.1", "lodash": "^4.17.21", "minimatch": "^3.0.4", "react": "^17.0.2", "react-dom": "^17.0.2" }, "devDependencies": { - "husky": "^7.0.0" + "husky": "^7.0.0", + "@types/jest": "^27.0.1", + "jest": "^27.0.6", + "ts-jest": "^27.0.4", + "typescript": "^4.3.5" } } diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..df5984a --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,19 @@ +{ + "compilerOptions": { + "target": "es5", + "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', + + /* Strict Type-Checking Options */ + "strict": true, /* Enable all strict type-checking options. */ + "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ + "strictNullChecks": true, /* Enable strict null checks. */ + "rootDirs": [ + "src" + ], + "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. + "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES + /* Advanced Options */ + "skipLibCheck": true, /* Skip type checking of declaration files. */ + "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ + } +} diff --git a/yarn.lock b/yarn.lock index eb6e644..c7964b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,6 +19,751 @@ resolved "https://registry.yarnpkg.com/@actions/io/-/io-1.1.1.tgz#4a157406309e212ab27ed3ae30e8c1d641686a66" integrity sha512-Qi4JoKXjmE0O67wAOH6y0n26QXhMKMFo7GD/4IXNVcrtLjUlGjGuVys6pQgwF3ArfGTQu0XpqaNr0YhED2RaRA== +"@babel/code-frame@^7.12.13", "@babel/code-frame@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.14.5.tgz#23b08d740e83f49c5e59945fbf1b43e80bbf4edb" + integrity sha512-9pzDqyc6OLDaqe+zbACgFkb6fKMNG6CObKpnYXChRsvYGyEdc7CA2BaqeOM+vOtCS5ndmJicPJhKAwYRI6UfFw== + dependencies: + "@babel/highlight" "^7.14.5" + +"@babel/compat-data@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.15.0.tgz#2dbaf8b85334796cafbb0f5793a90a2fc010b176" + integrity sha512-0NqAC1IJE0S0+lL1SWFMxMkz1pKCNCjI4tr2Zx4LJSXxCLAdr6KyArnY+sno5m3yH9g737ygOyPABDsnXkpxiA== + +"@babel/core@^7.1.0", "@babel/core@^7.7.2", "@babel/core@^7.7.5": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.15.0.tgz#749e57c68778b73ad8082775561f67f5196aafa8" + integrity sha512-tXtmTminrze5HEUPn/a0JtOzzfp0nk+UEXQ/tqIJo3WDGypl/2OFQEMll/zSFU8f/lfmfLXvTaORHF3cfXIQMw== + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/generator" "^7.15.0" + "@babel/helper-compilation-targets" "^7.15.0" + "@babel/helper-module-transforms" "^7.15.0" + "@babel/helpers" "^7.14.8" + "@babel/parser" "^7.15.0" + "@babel/template" "^7.14.5" + "@babel/traverse" "^7.15.0" + "@babel/types" "^7.15.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" + +"@babel/generator@^7.15.0", "@babel/generator@^7.7.2": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.15.0.tgz#a7d0c172e0d814974bad5aa77ace543b97917f15" + integrity sha512-eKl4XdMrbpYvuB505KTta4AV9g+wWzmVBW69tX0H2NwKVKd2YJbKgyK6M8j/rgLbmHOYJn6rUklV677nOyJrEQ== + dependencies: + "@babel/types" "^7.15.0" + jsesc "^2.5.1" + source-map "^0.5.0" + +"@babel/helper-compilation-targets@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.15.0.tgz#973df8cbd025515f3ff25db0c05efc704fa79818" + integrity sha512-h+/9t0ncd4jfZ8wsdAsoIxSa61qhBYlycXiHWqJaQBCXAhDCMbPRSMTGnZIkkmt1u4ag+UQmuqcILwqKzZ4N2A== + dependencies: + "@babel/compat-data" "^7.15.0" + "@babel/helper-validator-option" "^7.14.5" + browserslist "^4.16.6" + semver "^6.3.0" + +"@babel/helper-function-name@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.14.5.tgz#89e2c474972f15d8e233b52ee8c480e2cfcd50c4" + integrity sha512-Gjna0AsXWfFvrAuX+VKcN/aNNWonizBj39yGwUzVDVTlMYJMK2Wp6xdpy72mfArFq5uK+NOuexfzZlzI1z9+AQ== + dependencies: + "@babel/helper-get-function-arity" "^7.14.5" + "@babel/template" "^7.14.5" + "@babel/types" "^7.14.5" + +"@babel/helper-get-function-arity@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-get-function-arity/-/helper-get-function-arity-7.14.5.tgz#25fbfa579b0937eee1f3b805ece4ce398c431815" + integrity sha512-I1Db4Shst5lewOM4V+ZKJzQ0JGGaZ6VY1jYvMghRjqs6DWgxLCIyFt30GlnKkfUeFLpJt2vzbMVEXVSXlIFYUg== + dependencies: + "@babel/types" "^7.14.5" + +"@babel/helper-hoist-variables@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.14.5.tgz#e0dd27c33a78e577d7c8884916a3e7ef1f7c7f8d" + integrity sha512-R1PXiz31Uc0Vxy4OEOm07x0oSjKAdPPCh3tPivn/Eo8cvz6gveAeuyUUPB21Hoiif0uoPQSSdhIPS3352nvdyQ== + dependencies: + "@babel/types" "^7.14.5" + +"@babel/helper-member-expression-to-functions@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.15.0.tgz#0ddaf5299c8179f27f37327936553e9bba60990b" + integrity sha512-Jq8H8U2kYiafuj2xMTPQwkTBnEEdGKpT35lJEQsRRjnG0LW3neucsaMWLgKcwu3OHKNeYugfw+Z20BXBSEs2Lg== + dependencies: + "@babel/types" "^7.15.0" + +"@babel/helper-module-imports@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.14.5.tgz#6d1a44df6a38c957aa7c312da076429f11b422f3" + integrity sha512-SwrNHu5QWS84XlHwGYPDtCxcA0hrSlL2yhWYLgeOc0w7ccOl2qv4s/nARI0aYZW+bSwAL5CukeXA47B/1NKcnQ== + dependencies: + "@babel/types" "^7.14.5" + +"@babel/helper-module-transforms@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.15.0.tgz#679275581ea056373eddbe360e1419ef23783b08" + integrity sha512-RkGiW5Rer7fpXv9m1B3iHIFDZdItnO2/BLfWVW/9q7+KqQSDY5kUfQEbzdXM1MVhJGcugKV7kRrNVzNxmk7NBg== + dependencies: + "@babel/helper-module-imports" "^7.14.5" + "@babel/helper-replace-supers" "^7.15.0" + "@babel/helper-simple-access" "^7.14.8" + "@babel/helper-split-export-declaration" "^7.14.5" + "@babel/helper-validator-identifier" "^7.14.9" + "@babel/template" "^7.14.5" + "@babel/traverse" "^7.15.0" + "@babel/types" "^7.15.0" + +"@babel/helper-optimise-call-expression@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.14.5.tgz#f27395a8619e0665b3f0364cddb41c25d71b499c" + integrity sha512-IqiLIrODUOdnPU9/F8ib1Fx2ohlgDhxnIDU7OEVi+kAbEZcyiF7BLU8W6PfvPi9LzztjS7kcbzbmL7oG8kD6VA== + dependencies: + "@babel/types" "^7.14.5" + +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.8.0": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.14.5.tgz#5ac822ce97eec46741ab70a517971e443a70c5a9" + integrity sha512-/37qQCE3K0vvZKwoK4XU/irIJQdIfCJuhU5eKnNxpFDsOkgFaUAwbv+RYw6eYgsC0E4hS7r5KqGULUogqui0fQ== + +"@babel/helper-replace-supers@^7.15.0": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.15.0.tgz#ace07708f5bf746bf2e6ba99572cce79b5d4e7f4" + integrity sha512-6O+eWrhx+HEra/uJnifCwhwMd6Bp5+ZfZeJwbqUTuqkhIT6YcRhiZCOOFChRypOIe0cV46kFrRBlm+t5vHCEaA== + dependencies: + "@babel/helper-member-expression-to-functions" "^7.15.0" + "@babel/helper-optimise-call-expression" "^7.14.5" + "@babel/traverse" "^7.15.0" + "@babel/types" "^7.15.0" + +"@babel/helper-simple-access@^7.14.8": + version "7.14.8" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.14.8.tgz#82e1fec0644a7e775c74d305f212c39f8fe73924" + integrity sha512-TrFN4RHh9gnWEU+s7JloIho2T76GPwRHhdzOWLqTrMnlas8T9O7ec+oEDNsRXndOmru9ymH9DFrEOxpzPoSbdg== + dependencies: + "@babel/types" "^7.14.8" + +"@babel/helper-split-export-declaration@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.14.5.tgz#22b23a54ef51c2b7605d851930c1976dd0bc693a" + integrity sha512-hprxVPu6e5Kdp2puZUmvOGjaLv9TCe58E/Fl6hRq4YiVQxIcNvuq6uTM2r1mT/oPskuS9CgR+I94sqAYv0NGKA== + dependencies: + "@babel/types" "^7.14.5" + +"@babel/helper-validator-identifier@^7.14.5", "@babel/helper-validator-identifier@^7.14.9": + version "7.14.9" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.14.9.tgz#6654d171b2024f6d8ee151bf2509699919131d48" + integrity sha512-pQYxPY0UP6IHISRitNe8bsijHex4TWZXi2HwKVsjPiltzlhse2znVcm9Ace510VT1kxIHjGJCZZQBX2gJDbo0g== + +"@babel/helper-validator-option@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.14.5.tgz#6e72a1fff18d5dfcb878e1e62f1a021c4b72d5a3" + integrity sha512-OX8D5eeX4XwcroVW45NMvoYaIuFI+GQpA2a8Gi+X/U/cDUIRsV37qQfF905F0htTRCREQIB4KqPeaveRJUl3Ow== + +"@babel/helpers@^7.14.8": + version "7.15.3" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.15.3.tgz#c96838b752b95dcd525b4e741ed40bb1dc2a1357" + integrity sha512-HwJiz52XaS96lX+28Tnbu31VeFSQJGOeKHJeaEPQlTl7PnlhFElWPj8tUXtqFIzeN86XxXoBr+WFAyK2PPVz6g== + dependencies: + "@babel/template" "^7.14.5" + "@babel/traverse" "^7.15.0" + "@babel/types" "^7.15.0" + +"@babel/highlight@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.14.5.tgz#6861a52f03966405001f6aa534a01a24d99e8cd9" + integrity sha512-qf9u2WFWVV0MppaL877j2dBtQIDgmidgjGk5VIMw3OadXvYaXn66U1BFlH2t4+t3i+8PhedppRv+i40ABzd+gg== + dependencies: + "@babel/helper-validator-identifier" "^7.14.5" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/parser@^7.1.0", "@babel/parser@^7.14.5", "@babel/parser@^7.15.0", "@babel/parser@^7.7.2": + version "7.15.3" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.15.3.tgz#3416d9bea748052cfcb63dbcc27368105b1ed862" + integrity sha512-O0L6v/HvqbdJawj0iBEfVQMc3/6WP+AeOsovsIgBFyJaG+W2w7eqvZB7puddATmWuARlm1SX7DwxJ/JJUnDpEA== + +"@babel/plugin-syntax-async-generators@^7.8.4": + version "7.8.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" + integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-bigint@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz#4c9a6f669f5d0cdf1b90a1671e9a146be5300cea" + integrity sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-class-properties@^7.8.3": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" + integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + +"@babel/plugin-syntax-import-meta@^7.8.3": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" + integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-json-strings@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" + integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-logical-assignment-operators@^7.8.3": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" + integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" + integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-numeric-separator@^7.8.3": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" + integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-object-rest-spread@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" + integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-catch-binding@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" + integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-chaining@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" + integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-top-level-await@^7.8.3": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" + integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-typescript@^7.7.2": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.14.5.tgz#b82c6ce471b165b5ce420cf92914d6fb46225716" + integrity sha512-u6OXzDaIXjEstBRRoBCQ/uKQKlbuaeE5in0RvWdA4pN6AhqxTIwUsnHPU1CFZA/amYObMsuWhYfRl3Ch90HD0Q== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/template@^7.14.5", "@babel/template@^7.3.3": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.14.5.tgz#a9bc9d8b33354ff6e55a9c60d1109200a68974f4" + integrity sha512-6Z3Po85sfxRGachLULUhOmvAaOo7xCvqGQtxINai2mEGPFm6pQ4z5QInFnUrRpfoSV60BnjyF5F3c+15fxFV1g== + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/parser" "^7.14.5" + "@babel/types" "^7.14.5" + +"@babel/traverse@^7.1.0", "@babel/traverse@^7.15.0", "@babel/traverse@^7.7.2": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.15.0.tgz#4cca838fd1b2a03283c1f38e141f639d60b3fc98" + integrity sha512-392d8BN0C9eVxVWd8H6x9WfipgVH5IaIoLp23334Sc1vbKKWINnvwRpb4us0xtPaCumlwbTtIYNA0Dv/32sVFw== + dependencies: + "@babel/code-frame" "^7.14.5" + "@babel/generator" "^7.15.0" + "@babel/helper-function-name" "^7.14.5" + "@babel/helper-hoist-variables" "^7.14.5" + "@babel/helper-split-export-declaration" "^7.14.5" + "@babel/parser" "^7.15.0" + "@babel/types" "^7.15.0" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/types@^7.0.0", "@babel/types@^7.14.5", "@babel/types@^7.14.8", "@babel/types@^7.15.0", "@babel/types@^7.3.0", "@babel/types@^7.3.3": + version "7.15.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.15.0.tgz#61af11f2286c4e9c69ca8deb5f4375a73c72dcbd" + integrity sha512-OBvfqnllOIdX4ojTHpwZbpvz4j3EWyjkZEdmjH0/cgsd6QOdSgU8rLSk6ard/pcW7rlmjdVSX/AWOaORR1uNOQ== + dependencies: + "@babel/helper-validator-identifier" "^7.14.9" + to-fast-properties "^2.0.0" + +"@bcoe/v8-coverage@^0.2.3": + version "0.2.3" + resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" + integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== + +"@istanbuljs/load-nyc-config@^1.0.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" + integrity sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ== + 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" + +"@istanbuljs/schema@^0.1.2": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" + integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== + +"@jest/console@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/console/-/console-27.0.6.tgz#3eb72ea80897495c3d73dd97aab7f26770e2260f" + integrity sha512-fMlIBocSHPZ3JxgWiDNW/KPj6s+YRd0hicb33IrmelCcjXo/pXPwvuiKFmZz+XuqI/1u7nbUK10zSsWL/1aegg== + dependencies: + "@jest/types" "^27.0.6" + "@types/node" "*" + chalk "^4.0.0" + jest-message-util "^27.0.6" + jest-util "^27.0.6" + slash "^3.0.0" + +"@jest/core@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/core/-/core-27.0.6.tgz#c5f642727a0b3bf0f37c4b46c675372d0978d4a1" + integrity sha512-SsYBm3yhqOn5ZLJCtccaBcvD/ccTLCeuDv8U41WJH/V1MW5eKUkeMHT9U+Pw/v1m1AIWlnIW/eM2XzQr0rEmow== + dependencies: + "@jest/console" "^27.0.6" + "@jest/reporters" "^27.0.6" + "@jest/test-result" "^27.0.6" + "@jest/transform" "^27.0.6" + "@jest/types" "^27.0.6" + "@types/node" "*" + ansi-escapes "^4.2.1" + chalk "^4.0.0" + emittery "^0.8.1" + exit "^0.1.2" + graceful-fs "^4.2.4" + jest-changed-files "^27.0.6" + jest-config "^27.0.6" + jest-haste-map "^27.0.6" + jest-message-util "^27.0.6" + jest-regex-util "^27.0.6" + jest-resolve "^27.0.6" + jest-resolve-dependencies "^27.0.6" + jest-runner "^27.0.6" + jest-runtime "^27.0.6" + jest-snapshot "^27.0.6" + jest-util "^27.0.6" + jest-validate "^27.0.6" + jest-watcher "^27.0.6" + micromatch "^4.0.4" + p-each-series "^2.1.0" + rimraf "^3.0.0" + slash "^3.0.0" + strip-ansi "^6.0.0" + +"@jest/environment@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/environment/-/environment-27.0.6.tgz#ee293fe996db01d7d663b8108fa0e1ff436219d2" + integrity sha512-4XywtdhwZwCpPJ/qfAkqExRsERW+UaoSRStSHCCiQTUpoYdLukj+YJbQSFrZjhlUDRZeNiU9SFH0u7iNimdiIg== + dependencies: + "@jest/fake-timers" "^27.0.6" + "@jest/types" "^27.0.6" + "@types/node" "*" + jest-mock "^27.0.6" + +"@jest/fake-timers@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-27.0.6.tgz#cbad52f3fe6abe30e7acb8cd5fa3466b9588e3df" + integrity sha512-sqd+xTWtZ94l3yWDKnRTdvTeZ+A/V7SSKrxsrOKSqdyddb9CeNRF8fbhAU0D7ZJBpTTW2nbp6MftmKJDZfW2LQ== + dependencies: + "@jest/types" "^27.0.6" + "@sinonjs/fake-timers" "^7.0.2" + "@types/node" "*" + jest-message-util "^27.0.6" + jest-mock "^27.0.6" + jest-util "^27.0.6" + +"@jest/globals@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/globals/-/globals-27.0.6.tgz#48e3903f99a4650673d8657334d13c9caf0e8f82" + integrity sha512-DdTGCP606rh9bjkdQ7VvChV18iS7q0IMJVP1piwTWyWskol4iqcVwthZmoJEf7obE1nc34OpIyoVGPeqLC+ryw== + dependencies: + "@jest/environment" "^27.0.6" + "@jest/types" "^27.0.6" + expect "^27.0.6" + +"@jest/reporters@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/reporters/-/reporters-27.0.6.tgz#91e7f2d98c002ad5df94d5b5167c1eb0b9fd5b00" + integrity sha512-TIkBt09Cb2gptji3yJXb3EE+eVltW6BjO7frO7NEfjI9vSIYoISi5R3aI3KpEDXlB1xwB+97NXIqz84qYeYsfA== + dependencies: + "@bcoe/v8-coverage" "^0.2.3" + "@jest/console" "^27.0.6" + "@jest/test-result" "^27.0.6" + "@jest/transform" "^27.0.6" + "@jest/types" "^27.0.6" + chalk "^4.0.0" + collect-v8-coverage "^1.0.0" + exit "^0.1.2" + glob "^7.1.2" + graceful-fs "^4.2.4" + istanbul-lib-coverage "^3.0.0" + istanbul-lib-instrument "^4.0.3" + istanbul-lib-report "^3.0.0" + istanbul-lib-source-maps "^4.0.0" + istanbul-reports "^3.0.2" + jest-haste-map "^27.0.6" + jest-resolve "^27.0.6" + jest-util "^27.0.6" + jest-worker "^27.0.6" + slash "^3.0.0" + source-map "^0.6.0" + string-length "^4.0.1" + terminal-link "^2.0.0" + v8-to-istanbul "^8.0.0" + +"@jest/source-map@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/source-map/-/source-map-27.0.6.tgz#be9e9b93565d49b0548b86e232092491fb60551f" + integrity sha512-Fek4mi5KQrqmlY07T23JRi0e7Z9bXTOOD86V/uS0EIW4PClvPDqZOyFlLpNJheS6QI0FNX1CgmPjtJ4EA/2M+g== + dependencies: + callsites "^3.0.0" + graceful-fs "^4.2.4" + source-map "^0.6.0" + +"@jest/test-result@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/test-result/-/test-result-27.0.6.tgz#3fa42015a14e4fdede6acd042ce98c7f36627051" + integrity sha512-ja/pBOMTufjX4JLEauLxE3LQBPaI2YjGFtXexRAjt1I/MbfNlMx0sytSX3tn5hSLzQsR3Qy2rd0hc1BWojtj9w== + dependencies: + "@jest/console" "^27.0.6" + "@jest/types" "^27.0.6" + "@types/istanbul-lib-coverage" "^2.0.0" + collect-v8-coverage "^1.0.0" + +"@jest/test-sequencer@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/test-sequencer/-/test-sequencer-27.0.6.tgz#80a913ed7a1130545b1cd777ff2735dd3af5d34b" + integrity sha512-bISzNIApazYOlTHDum9PwW22NOyDa6VI31n6JucpjTVM0jD6JDgqEZ9+yn575nDdPF0+4csYDxNNW13NvFQGZA== + dependencies: + "@jest/test-result" "^27.0.6" + graceful-fs "^4.2.4" + jest-haste-map "^27.0.6" + jest-runtime "^27.0.6" + +"@jest/transform@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-27.0.6.tgz#189ad7107413208f7600f4719f81dd2f7278cc95" + integrity sha512-rj5Dw+mtIcntAUnMlW/Vju5mr73u8yg+irnHwzgtgoeI6cCPOvUwQ0D1uQtc/APmWgvRweEb1g05pkUpxH3iCA== + dependencies: + "@babel/core" "^7.1.0" + "@jest/types" "^27.0.6" + babel-plugin-istanbul "^6.0.0" + chalk "^4.0.0" + convert-source-map "^1.4.0" + fast-json-stable-stringify "^2.0.0" + graceful-fs "^4.2.4" + jest-haste-map "^27.0.6" + jest-regex-util "^27.0.6" + jest-util "^27.0.6" + micromatch "^4.0.4" + pirates "^4.0.1" + slash "^3.0.0" + source-map "^0.6.1" + write-file-atomic "^3.0.0" + +"@jest/types@^27.0.6": + version "27.0.6" + resolved "https://registry.yarnpkg.com/@jest/types/-/types-27.0.6.tgz#9a992bc517e0c49f035938b8549719c2de40706b" + integrity sha512-aSquT1qa9Pik26JK5/3rvnYb4bGtm1VFNesHKmNTwmPIgOrixvhL2ghIvFRNEpzy3gU+rUgjIF/KodbkFAl++g== + dependencies: + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" + "@types/yargs" "^16.0.0" + chalk "^4.0.0" + +"@sinonjs/commons@^1.7.0": + version "1.8.3" + resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.8.3.tgz#3802ddd21a50a949b6721ddd72da36e67e7f1b2d" + integrity sha512-xkNcLAn/wZaX14RPlwizcKicDk9G3F8m2nU3L7Ukm5zBgTwiT0wsoFAHx9Jq56fJA1z/7uKGtCRu16sOUCLIHQ== + dependencies: + type-detect "4.0.8" + +"@sinonjs/fake-timers@^7.0.2": + version "7.1.2" + resolved "https://registry.yarnpkg.com/@sinonjs/fake-timers/-/fake-timers-7.1.2.tgz#2524eae70c4910edccf99b2f4e6efc5894aff7b5" + integrity sha512-iQADsW4LBMISqZ6Ci1dupJL9pprqwcVFTcOsEmQOEhW+KLCVn/Y4Jrvg2k19fIHCp+iFprriYPTdRcQR8NbUPg== + dependencies: + "@sinonjs/commons" "^1.7.0" + +"@tootallnate/once@1": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82" + integrity sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw== + +"@types/babel__core@^7.0.0", "@types/babel__core@^7.1.14": + version "7.1.15" + resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.1.15.tgz#2ccfb1ad55a02c83f8e0ad327cbc332f55eb1024" + integrity sha512-bxlMKPDbY8x5h6HBwVzEOk2C8fb6SLfYQ5Jw3uBYuYF1lfWk/kbLd81la82vrIkBb0l+JdmrZaDikPrNxpS/Ew== + dependencies: + "@babel/parser" "^7.1.0" + "@babel/types" "^7.0.0" + "@types/babel__generator" "*" + "@types/babel__template" "*" + "@types/babel__traverse" "*" + +"@types/babel__generator@*": + version "7.6.3" + resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.3.tgz#f456b4b2ce79137f768aa130d2423d2f0ccfaba5" + integrity sha512-/GWCmzJWqV7diQW54smJZzWbSFf4QYtF71WCKhcx6Ru/tFyQIY2eiiITcCAeuPbNSvT9YCGkVMqqvSk2Z0mXiA== + dependencies: + "@babel/types" "^7.0.0" + +"@types/babel__template@*": + version "7.4.1" + resolved "https://registry.yarnpkg.com/@types/babel__template/-/babel__template-7.4.1.tgz#3d1a48fd9d6c0edfd56f2ff578daed48f36c8969" + integrity sha512-azBFKemX6kMg5Io+/rdGT0dkGreboUVR0Cdm3fz9QJWpaQGJRQXl7C+6hOTCZcMll7KFyEQpgbYI2lHdsS4U7g== + dependencies: + "@babel/parser" "^7.1.0" + "@babel/types" "^7.0.0" + +"@types/babel__traverse@*", "@types/babel__traverse@^7.0.4", "@types/babel__traverse@^7.0.6": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.14.2.tgz#ffcd470bbb3f8bf30481678fb5502278ca833a43" + integrity sha512-K2waXdXBi2302XUdcHcR1jCeU0LL4TD9HRs/gk0N2Xvrht+G/BfJa4QObBQZfhMdxiCpV3COl5Nfq4uKTeTnJA== + dependencies: + "@babel/types" "^7.3.0" + +"@types/graceful-fs@^4.1.2": + version "4.1.5" + resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15" + integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw== + dependencies: + "@types/node" "*" + +"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.3.tgz#4ba8ddb720221f432e443bd5f9117fd22cfd4762" + integrity sha512-sz7iLqvVUg1gIedBOvlkxPlc8/uVzyS5OwGz1cKjXzkl3FpL3al0crU8YGU1WoHkxn0Wxbw5tyi6hvzJKNzFsw== + +"@types/istanbul-lib-report@*": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#c14c24f18ea8190c118ee7562b7ff99a36552686" + integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg== + dependencies: + "@types/istanbul-lib-coverage" "*" + +"@types/istanbul-reports@^3.0.0": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz#9153fe98bba2bd565a63add9436d6f0d7f8468ff" + integrity sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw== + dependencies: + "@types/istanbul-lib-report" "*" + +"@types/jest@^27.0.1": + version "27.0.1" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-27.0.1.tgz#fafcc997da0135865311bb1215ba16dba6bdf4ca" + integrity sha512-HTLpVXHrY69556ozYkcq47TtQJXpcWAWfkoqz+ZGz2JnmZhzlRjprCIyFnetSy8gpDWwTTGBcRVv1J1I1vBrHw== + dependencies: + jest-diff "^27.0.0" + pretty-format "^27.0.0" + +"@types/node@*": + version "16.6.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.6.1.tgz#aee62c7b966f55fc66c7b6dfa1d58db2a616da61" + integrity sha512-Sr7BhXEAer9xyGuCN3Ek9eg9xPviCF2gfu9kTfuU2HkTVAMYSDeX40fvpmo72n5nansg3nsBjuQBrsS28r+NUw== + +"@types/prettier@^2.1.5": + version "2.3.2" + resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.3.2.tgz#fc8c2825e4ed2142473b4a81064e6e081463d1b3" + integrity sha512-eI5Yrz3Qv4KPUa/nSIAi0h+qX0XyewOliug5F2QAtuRg6Kjg6jfmxe1GIwoIRhZspD1A0RP8ANrPwvEXXtRFog== + +"@types/stack-utils@^2.0.0": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" + integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== + +"@types/yargs-parser@*": + version "20.2.1" + resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-20.2.1.tgz#3b9ce2489919d9e4fea439b76916abc34b2df129" + integrity sha512-7tFImggNeNBVMsn0vLrpn1H1uPrUBdnARPTpZoitY37ZrdJREzf7I16tMrlK3hen349gr1NYh8CmZQa7CTG6Aw== + +"@types/yargs@^16.0.0": + version "16.0.4" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-16.0.4.tgz#26aad98dd2c2a38e421086ea9ad42b9e51642977" + integrity sha512-T8Yc9wt/5LbJyCaLiHPReJa0kApcIgJ7Bn735GjItUfh08Z1pJvu8QZqb9s+mMvKV6WUQRV7K2R46YbjMXTTJw== + dependencies: + "@types/yargs-parser" "*" + +abab@^2.0.3, abab@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.5.tgz#c0b678fb32d60fc1219c784d6a826fe385aeb79a" + integrity sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q== + +acorn-globals@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-6.0.0.tgz#46cdd39f0f8ff08a876619b55f5ac8a6dc770b45" + integrity sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg== + dependencies: + acorn "^7.1.1" + acorn-walk "^7.1.1" + +acorn-walk@^7.1.1: + version "7.2.0" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" + integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== + +acorn@^7.1.1: + version "7.4.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" + integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== + +acorn@^8.2.4: + version "8.4.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.4.1.tgz#56c36251fc7cabc7096adc18f05afe814321a28c" + integrity sha512-asabaBSkEKosYKMITunzX177CXxQ4Q8BSSzMTKD+FefUhipQC70gfW5SiUDhYQ3vk8G+81HqQk7Fv9OXwwn9KA== + +agent-base@6: + version "6.0.2" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" + integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== + dependencies: + debug "4" + +ansi-escapes@^4.2.1: + version "4.3.2" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" + integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== + dependencies: + type-fest "^0.21.3" + +ansi-regex@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.0.tgz#388539f55179bf39339c81af30a654d69f87cb75" + integrity sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg== + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.0.0, ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +ansi-styles@^5.0.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" + integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== + +anymatch@^3.0.3: + version "3.1.2" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" + integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" + integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== + dependencies: + sprintf-js "~1.0.2" + +asynckit@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" + integrity sha1-x57Zf380y48robyXkLzDZkdLS3k= + +babel-jest@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/babel-jest/-/babel-jest-27.0.6.tgz#e99c6e0577da2655118e3608b68761a5a69bd0d8" + integrity sha512-iTJyYLNc4wRofASmofpOc5NK9QunwMk+TLFgGXsTFS8uEqmd8wdI7sga0FPe2oVH3b5Agt/EAK1QjPEuKL8VfA== + dependencies: + "@jest/transform" "^27.0.6" + "@jest/types" "^27.0.6" + "@types/babel__core" "^7.1.14" + babel-plugin-istanbul "^6.0.0" + babel-preset-jest "^27.0.6" + chalk "^4.0.0" + graceful-fs "^4.2.4" + slash "^3.0.0" + +babel-plugin-istanbul@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.0.0.tgz#e159ccdc9af95e0b570c75b4573b7c34d671d765" + integrity sha512-AF55rZXpe7trmEylbaE1Gv54wn6rwU03aptvRoVIGP8YykoSxqdVLV1TfwflBCE/QtHmqtP8SWlTENqbK8GCSQ== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@istanbuljs/load-nyc-config" "^1.0.0" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-instrument "^4.0.0" + test-exclude "^6.0.0" + +babel-plugin-jest-hoist@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-27.0.6.tgz#f7c6b3d764af21cb4a2a1ab6870117dbde15b456" + integrity sha512-CewFeM9Vv2gM7Yr9n5eyyLVPRSiBnk6lKZRjgwYnGKSl9M14TMn2vkN02wTF04OGuSDLEzlWiMzvjXuW9mB6Gw== + dependencies: + "@babel/template" "^7.3.3" + "@babel/types" "^7.3.3" + "@types/babel__core" "^7.0.0" + "@types/babel__traverse" "^7.0.6" + +babel-preset-current-node-syntax@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" + integrity sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ== + dependencies: + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-bigint" "^7.8.3" + "@babel/plugin-syntax-class-properties" "^7.8.3" + "@babel/plugin-syntax-import-meta" "^7.8.3" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.8.3" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.8.3" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-top-level-await" "^7.8.3" + +babel-preset-jest@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/babel-preset-jest/-/babel-preset-jest-27.0.6.tgz#909ef08e9f24a4679768be2f60a3df0856843f9d" + integrity sha512-WObA0/Biw2LrVVwZkF/2GqbOdzhKD6Fkdwhoy9ASIrOWr/zodcSpQh72JOkEn6NWyjmnPDjNSqaGN4KnpKzhXw== + dependencies: + babel-plugin-jest-hoist "^27.0.6" + babel-preset-current-node-syntax "^1.0.0" + balanced-match@^1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" @@ -32,6 +777,155 @@ brace-expansion@^1.1.7: balanced-match "^1.0.0" concat-map "0.0.1" +braces@^3.0.1: + version "3.0.2" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +browser-process-hrtime@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" + integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== + +browserslist@^4.16.6: + version "4.16.7" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.7.tgz#108b0d1ef33c4af1b587c54f390e7041178e4335" + integrity sha512-7I4qVwqZltJ7j37wObBe3SoTz+nS8APaNcrBOlgoirb6/HbEU2XxW/LpUDTCngM6iauwFqmRTuOMfyKnFGY5JA== + dependencies: + caniuse-lite "^1.0.30001248" + colorette "^1.2.2" + electron-to-chromium "^1.3.793" + escalade "^3.1.1" + node-releases "^1.1.73" + +bs-logger@0.x: + version "0.2.6" + resolved "https://registry.yarnpkg.com/bs-logger/-/bs-logger-0.2.6.tgz#eb7d365307a72cf974cc6cda76b68354ad336bd8" + integrity sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog== + dependencies: + fast-json-stable-stringify "2.x" + +bser@2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" + integrity sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ== + dependencies: + node-int64 "^0.4.0" + +buffer-from@1.x, buffer-from@^1.0.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" + integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +camelcase@^5.3.1: + version "5.3.1" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" + integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== + +camelcase@^6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809" + integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg== + +caniuse-lite@^1.0.30001248: + version "1.0.30001251" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001251.tgz#6853a606ec50893115db660f82c094d18f096d85" + integrity sha512-HOe1r+9VkU4TFmnU70z+r7OLmtR+/chB1rdcJUeQlAinjEeb0cKL20tlAtOagNZhbrtLnCvV19B4FmF1rgzl6A== + +chalk@^2.0.0: + version "2.4.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^4.0.0: + version "4.1.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +char-regex@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" + integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== + +ci-info@^3.1.1: + version "3.2.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.2.0.tgz#2876cb948a498797b5236f0095bc057d0dca38b6" + integrity sha512-dVqRX7fLUm8J6FgHJ418XuIgDLZDkYcDFTeL6TA2gt5WlIZUQrrH6EZrNClwT/H0FateUsZkGIOPRrLbP+PR9A== + +cjs-module-lexer@^1.0.0: + version "1.2.2" + resolved "https://registry.yarnpkg.com/cjs-module-lexer/-/cjs-module-lexer-1.2.2.tgz#9f84ba3244a512f3a54e5277e8eef4c489864e40" + integrity sha512-cOU9usZw8/dXIXKtwa8pM0OTJQuJkxMN6w30csNRUerHfeQ5R6U3kkU/FtJeIf3M202OHfY2U8ccInBG7/xogA== + +cliui@^7.0.2: + version "7.0.4" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" + integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^7.0.0" + +co@^4.6.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" + integrity sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ= + +collect-v8-coverage@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/collect-v8-coverage/-/collect-v8-coverage-1.0.1.tgz#cc2c8e94fc18bbdffe64d6534570c8a673b27f59" + integrity sha512-iBPtljfCNcTKNAto0KEtDfZ3qzjJvqE3aTGZsbhjSBlorqpXJlaWWtPO35D+ZImoC3KWejX64o+yPGxhWSTzfg== + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +colorette@^1.2.2: + version "1.3.0" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.3.0.tgz#ff45d2f0edb244069d3b772adeb04fed38d0a0af" + integrity sha512-ecORCqbSFP7Wm8Y6lyqMJjexBQqXSF7SSeaTyGGphogUjBlFP9m9o08wy86HL2uB7fMTxtOUzLMk7ogKcxMg1w== + +combined-stream@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" + integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== + dependencies: + delayed-stream "~1.0.0" + commander@7: version "7.2.0" resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" @@ -42,6 +936,39 @@ concat-map@0.0.1: resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= +convert-source-map@^1.4.0, convert-source-map@^1.6.0, convert-source-map@^1.7.0: + version "1.8.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369" + integrity sha512-+OQdjP49zViI/6i7nIJpA8rAl4sV/JdPfU9nZs3VqOwGIgizICvuN2ru6fMd+4llL0tar18UYJXfZ/TWtmhUjA== + dependencies: + safe-buffer "~5.1.1" + +cross-spawn@^7.0.3: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +cssom@^0.4.4: + version "0.4.4" + resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.4.4.tgz#5a66cf93d2d0b661d80bf6a44fb65f5c2e4e0a10" + integrity sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw== + +cssom@~0.3.6: + version "0.3.8" + resolved "https://registry.yarnpkg.com/cssom/-/cssom-0.3.8.tgz#9f1276f5b2b463f2114d3f2c75250af8c1a36f4a" + integrity sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg== + +cssstyle@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/cssstyle/-/cssstyle-2.3.0.tgz#ff665a0ddbdc31864b09647f34163443d90b0852" + integrity sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A== + dependencies: + cssom "~0.3.6" + "d3-array@2 - 3", "d3-array@2.10.0 - 3", "d3-array@2.5.0 - 3", d3-array@3: version "3.0.1" resolved "https://registry.yarnpkg.com/d3-array/-/d3-array-3.0.1.tgz#ca45c263f5bb780ab5a34a6e1d3d5883fe4a8d14" @@ -286,6 +1213,42 @@ d3@^7.0.0: d3-transition "3" d3-zoom "3" +data-urls@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/data-urls/-/data-urls-2.0.0.tgz#156485a72963a970f5d5821aaf642bef2bf2db9b" + integrity sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ== + dependencies: + abab "^2.0.3" + whatwg-mimetype "^2.3.0" + whatwg-url "^8.0.0" + +debug@4, debug@^4.1.0, debug@^4.1.1: + version "4.3.2" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b" + integrity sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw== + dependencies: + ms "2.1.2" + +decimal.js@^10.2.1: + version "10.3.1" + resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.3.1.tgz#d8c3a444a9c6774ba60ca6ad7261c3a94fd5e783" + integrity sha512-V0pfhfr8suzyPGOx3nmq4aHqabehUZn6Ch9kyFpV79TGDTWFmHqUqXdabR7QHqxzrYolF4+tVmJhUG4OURg5dQ== + +dedent@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" + integrity sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw= + +deep-is@~0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" + integrity sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ= + +deepmerge@^4.2.2: + version "4.2.2" + resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" + integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== + delaunator@5: version "5.0.0" resolved "https://registry.yarnpkg.com/delaunator/-/delaunator-5.0.0.tgz#60f052b28bd91c9b4566850ebf7756efe821d81b" @@ -293,57 +1256,1162 @@ delaunator@5: dependencies: robust-predicates "^3.0.0" +delayed-stream@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" + integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk= + +detect-newline@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" + integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== + +diff-sequences@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-27.0.6.tgz#3305cb2e55a033924054695cc66019fd7f8e5723" + integrity sha512-ag6wfpBFyNXZ0p8pcuIDS//D8H062ZQJ3fzYxjpmeKjnz8W4pekL3AI8VohmyZmsWW2PWaHgjsmqR6L13101VQ== + +domexception@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/domexception/-/domexception-2.0.1.tgz#fb44aefba793e1574b0af6aed2801d057529f304" + integrity sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg== + dependencies: + webidl-conversions "^5.0.0" + +electron-to-chromium@^1.3.793: + version "1.3.806" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.806.tgz#21502100f11aead6c501d1cd7f2504f16c936642" + integrity sha512-AH/otJLAAecgyrYp0XK1DPiGVWcOgwPeJBOLeuFQ5l//vhQhwC9u6d+GijClqJAmsHG4XDue81ndSQPohUu0xA== + +emittery@^0.8.1: + version "0.8.1" + resolved "https://registry.yarnpkg.com/emittery/-/emittery-0.8.1.tgz#bb23cc86d03b30aa75a7f734819dee2e1ba70860" + integrity sha512-uDfvUjVrfGJJhymx/kz6prltenw1u7WrCg1oa94zYY8xxVpLLUu045LAT0dhDZdXG58/EpPL/5kA180fQ/qudg== + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + esbuild@^0.12.15: version "0.12.15" resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.12.15.tgz#9d99cf39aeb2188265c5983e983e236829f08af0" integrity sha512-72V4JNd2+48eOVCXx49xoSWHgC3/cCy96e7mbXKY+WOWghN00cCmlGnwVLRhRHorvv0dgCyuMYBZlM2xDM5OQw== -husky@^7.0.1: - version "7.0.1" - resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.1.tgz#579f4180b5da4520263e8713cc832942b48e1f1c" - integrity sha512-gceRaITVZ+cJH9sNHqx5tFwbzlLCVxtVZcusME8JYQ8Edy5mpGDOqD8QBCdMhpyo9a+JXddnujQ4rpY2Ff9SJA== +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== -iconv-lite@0.6: - version "0.6.3" - resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" - integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= + +escape-string-regexp@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz#a30304e99daa32e23b2fd20f51babd07cffca344" + integrity sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w== + +escodegen@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/escodegen/-/escodegen-2.0.0.tgz#5e32b12833e8aa8fa35e1bf0befa89380484c7dd" + integrity sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw== dependencies: - safer-buffer ">= 2.1.2 < 3.0.0" + esprima "^4.0.1" + estraverse "^5.2.0" + esutils "^2.0.2" + optionator "^0.8.1" + optionalDependencies: + source-map "~0.6.1" -"internmap@1 - 2": - version "2.0.1" - resolved "https://registry.yarnpkg.com/internmap/-/internmap-2.0.1.tgz#33d0fa016185397549fb1a14ea3dbe5a2949d1cd" - integrity sha512-Ujwccrj9FkGqjbY3iVoxD1VV+KdZZeENx0rphrtzmRXbFvkFO88L80BL/zeSIguX/7T+y8k04xqtgWgS5vxwxw== +esprima@^4.0.0, esprima@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" + integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== -"js-tokens@^3.0.0 || ^4.0.0": - version "4.0.0" - resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" - integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== +estraverse@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.2.0.tgz#307df42547e6cc7324d3cf03c155d5cdb8c53880" + integrity sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ== -lodash@^4.17.21: - version "4.17.21" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" - integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== +esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== -loose-envify@^1.1.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" - integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== +execa@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" + integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== dependencies: - js-tokens "^3.0.0 || ^4.0.0" + 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" -minimatch@^3.0.4: - version "3.0.4" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" - integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== +exit@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" + integrity sha1-BjJjj42HfMghB9MKD/8aF8uhzQw= + +expect@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/expect/-/expect-27.0.6.tgz#a4d74fbe27222c718fff68ef49d78e26a8fd4c05" + integrity sha512-psNLt8j2kwg42jGBDSfAlU49CEZxejN1f1PlANWDZqIhBOVU/c2Pm888FcjWJzFewhIsNWfZJeLjUjtKGiPuSw== dependencies: - brace-expansion "^1.1.7" + "@jest/types" "^27.0.6" + ansi-styles "^5.0.0" + jest-get-type "^27.0.6" + jest-matcher-utils "^27.0.6" + jest-message-util "^27.0.6" + jest-regex-util "^27.0.6" -object-assign@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" +fast-json-stable-stringify@2.x, fast-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +fast-levenshtein@~2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" + integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= + +fb-watchman@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.1.tgz#fc84fb39d2709cf3ff6d743706157bb5708a8a85" + integrity sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg== + dependencies: + bser "2.1.1" + +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== + dependencies: + to-regex-range "^5.0.1" + +find-up@^4.0.0, find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== + dependencies: + locate-path "^5.0.0" + path-exists "^4.0.0" + +form-data@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.1.tgz#ebd53791b78356a99af9a300d4282c4d5eb9755f" + integrity sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg== + dependencies: + asynckit "^0.4.0" + combined-stream "^1.0.8" + mime-types "^2.1.12" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= + +fsevents@^2.3.2: + version "2.3.2" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" + integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + +get-caller-file@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" + integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== + +get-package-type@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" + integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== + +get-stream@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" + integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== + +glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: + version "7.1.7" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90" + integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ== + 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" + +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + +graceful-fs@^4.2.4: + version "4.2.8" + resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.8.tgz#e412b8d33f5e006593cbd3cee6df9f2cebbe802a" + integrity sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg== + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +html-encoding-sniffer@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz#42a6dc4fd33f00281176e8b23759ca4e4fa185f3" + integrity sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ== + dependencies: + whatwg-encoding "^1.0.5" + +html-escaper@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" + integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== + +http-proxy-agent@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz#8a8c8ef7f5932ccf953c296ca8291b95aa74aa3a" + integrity sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg== + dependencies: + "@tootallnate/once" "1" + agent-base "6" + debug "4" + +https-proxy-agent@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" + integrity sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA== + dependencies: + agent-base "6" + debug "4" + +human-signals@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" + integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== + +husky@^7.0.0: + version "7.0.1" + resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.1.tgz#579f4180b5da4520263e8713cc832942b48e1f1c" + integrity sha512-gceRaITVZ+cJH9sNHqx5tFwbzlLCVxtVZcusME8JYQ8Edy5mpGDOqD8QBCdMhpyo9a+JXddnujQ4rpY2Ff9SJA== + +iconv-lite@0.4.24: + version "0.4.24" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" + integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== + dependencies: + safer-buffer ">= 2.1.2 < 3" + +iconv-lite@0.6: + version "0.6.3" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501" + integrity sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw== + dependencies: + safer-buffer ">= 2.1.2 < 3.0.0" + +import-local@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.0.2.tgz#a8cfd0431d1de4a2199703d003e3e62364fa6db6" + integrity sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA== + dependencies: + pkg-dir "^4.2.0" + resolve-cwd "^3.0.0" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2: + version "2.0.4" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +"internmap@1 - 2": + version "2.0.1" + resolved "https://registry.yarnpkg.com/internmap/-/internmap-2.0.1.tgz#33d0fa016185397549fb1a14ea3dbe5a2949d1cd" + integrity sha512-Ujwccrj9FkGqjbY3iVoxD1VV+KdZZeENx0rphrtzmRXbFvkFO88L80BL/zeSIguX/7T+y8k04xqtgWgS5vxwxw== + +is-ci@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-3.0.0.tgz#c7e7be3c9d8eef7d0fa144390bd1e4b88dc4c994" + integrity sha512-kDXyttuLeslKAHYL/K28F2YkM3x5jvFPEw3yXbRptXydjD9rpLEz+C5K5iutY9ZiUu6AP41JdvRQwF4Iqs4ZCQ== + dependencies: + ci-info "^3.1.1" + +is-core-module@^2.2.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.5.0.tgz#f754843617c70bfd29b7bd87327400cda5c18491" + integrity sha512-TXCMSDsEHMEEZ6eCA8rwRDbLu55MRGmrctljsBX/2v1d9/GzqHOxW5c5oPSgrUt2vBFXebu9rGqckXGPWOlYpg== + dependencies: + has "^1.0.3" + +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +is-generator-fn@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-generator-fn/-/is-generator-fn-2.1.0.tgz#7d140adc389aaf3011a8f2a2a4cfa6faadffb118" + integrity sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ== + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-potential-custom-element-name@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" + integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== + +is-stream@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" + integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== + +is-typedarray@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" + integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= + +istanbul-lib-coverage@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.0.0.tgz#f5944a37c70b550b02a78a5c3b2055b280cec8ec" + integrity sha512-UiUIqxMgRDET6eR+o5HbfRYP1l0hqkWOs7vNxC/mggutCMUIhWMm8gAHb8tHlyfD3/l6rlgNA5cKdDzEAf6hEg== + +istanbul-lib-instrument@^4.0.0, istanbul-lib-instrument@^4.0.3: + version "4.0.3" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-4.0.3.tgz#873c6fff897450118222774696a3f28902d77c1d" + integrity sha512-BXgQl9kf4WTCPCCpmFGoJkz/+uhvm7h7PFKUYxh7qarQd3ER33vHG//qaE8eN25l07YqZPpHXU9I09l/RD5aGQ== + dependencies: + "@babel/core" "^7.7.5" + "@istanbuljs/schema" "^0.1.2" + istanbul-lib-coverage "^3.0.0" + semver "^6.3.0" + +istanbul-lib-report@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#7518fe52ea44de372f460a76b5ecda9ffb73d8a6" + integrity sha512-wcdi+uAKzfiGT2abPpKZ0hSU1rGQjUQnLvtY5MpQ7QCTahD3VODhcu4wcfY1YtkGaDD5yuydOLINXsfbus9ROw== + dependencies: + istanbul-lib-coverage "^3.0.0" + make-dir "^3.0.0" + supports-color "^7.1.0" + +istanbul-lib-source-maps@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.0.tgz#75743ce6d96bb86dc7ee4352cf6366a23f0b1ad9" + integrity sha512-c16LpFRkR8vQXyHZ5nLpY35JZtzj1PQY1iZmesUbf1FZHbIupcWfjgOXBY9YHkLEQ6puz1u4Dgj6qmU/DisrZg== + dependencies: + debug "^4.1.1" + istanbul-lib-coverage "^3.0.0" + source-map "^0.6.1" + +istanbul-reports@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/istanbul-reports/-/istanbul-reports-3.0.2.tgz#d593210e5000683750cb09fc0644e4b6e27fd53b" + integrity sha512-9tZvz7AiR3PEDNGiV9vIouQ/EAcqMXFmkcA1CDFTwOB98OZVDL0PH9glHotf5Ugp6GCOTypfzGWI/OqjWNCRUw== + dependencies: + html-escaper "^2.0.0" + istanbul-lib-report "^3.0.0" + +jest-changed-files@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-changed-files/-/jest-changed-files-27.0.6.tgz#bed6183fcdea8a285482e3b50a9a7712d49a7a8b" + integrity sha512-BuL/ZDauaq5dumYh5y20sn4IISnf1P9A0TDswTxUi84ORGtVa86ApuBHqICL0vepqAnZiY6a7xeSPWv2/yy4eA== + dependencies: + "@jest/types" "^27.0.6" + execa "^5.0.0" + throat "^6.0.1" + +jest-circus@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-27.0.6.tgz#dd4df17c4697db6a2c232aaad4e9cec666926668" + integrity sha512-OJlsz6BBeX9qR+7O9lXefWoc2m9ZqcZ5Ohlzz0pTEAG4xMiZUJoacY8f4YDHxgk0oKYxj277AfOk9w6hZYvi1Q== + dependencies: + "@jest/environment" "^27.0.6" + "@jest/test-result" "^27.0.6" + "@jest/types" "^27.0.6" + "@types/node" "*" + chalk "^4.0.0" + co "^4.6.0" + dedent "^0.7.0" + expect "^27.0.6" + is-generator-fn "^2.0.0" + jest-each "^27.0.6" + jest-matcher-utils "^27.0.6" + jest-message-util "^27.0.6" + jest-runtime "^27.0.6" + jest-snapshot "^27.0.6" + jest-util "^27.0.6" + pretty-format "^27.0.6" + slash "^3.0.0" + stack-utils "^2.0.3" + throat "^6.0.1" + +jest-cli@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-cli/-/jest-cli-27.0.6.tgz#d021e5f4d86d6a212450d4c7b86cb219f1e6864f" + integrity sha512-qUUVlGb9fdKir3RDE+B10ULI+LQrz+MCflEH2UJyoUjoHHCbxDrMxSzjQAPUMsic4SncI62ofYCcAvW6+6rhhg== + dependencies: + "@jest/core" "^27.0.6" + "@jest/test-result" "^27.0.6" + "@jest/types" "^27.0.6" + chalk "^4.0.0" + exit "^0.1.2" + graceful-fs "^4.2.4" + import-local "^3.0.2" + jest-config "^27.0.6" + jest-util "^27.0.6" + jest-validate "^27.0.6" + prompts "^2.0.1" + yargs "^16.0.3" + +jest-config@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-config/-/jest-config-27.0.6.tgz#119fb10f149ba63d9c50621baa4f1f179500277f" + integrity sha512-JZRR3I1Plr2YxPBhgqRspDE2S5zprbga3swYNrvY3HfQGu7p/GjyLOqwrYad97tX3U3mzT53TPHVmozacfP/3w== + dependencies: + "@babel/core" "^7.1.0" + "@jest/test-sequencer" "^27.0.6" + "@jest/types" "^27.0.6" + babel-jest "^27.0.6" + chalk "^4.0.0" + deepmerge "^4.2.2" + glob "^7.1.1" + graceful-fs "^4.2.4" + is-ci "^3.0.0" + jest-circus "^27.0.6" + jest-environment-jsdom "^27.0.6" + jest-environment-node "^27.0.6" + jest-get-type "^27.0.6" + jest-jasmine2 "^27.0.6" + jest-regex-util "^27.0.6" + jest-resolve "^27.0.6" + jest-runner "^27.0.6" + jest-util "^27.0.6" + jest-validate "^27.0.6" + micromatch "^4.0.4" + pretty-format "^27.0.6" + +jest-diff@^27.0.0, jest-diff@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-diff/-/jest-diff-27.0.6.tgz#4a7a19ee6f04ad70e0e3388f35829394a44c7b5e" + integrity sha512-Z1mqgkTCSYaFgwTlP/NUiRzdqgxmmhzHY1Tq17zL94morOHfHu3K4bgSgl+CR4GLhpV8VxkuOYuIWnQ9LnFqmg== + dependencies: + chalk "^4.0.0" + diff-sequences "^27.0.6" + jest-get-type "^27.0.6" + pretty-format "^27.0.6" + +jest-docblock@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-docblock/-/jest-docblock-27.0.6.tgz#cc78266acf7fe693ca462cbbda0ea4e639e4e5f3" + integrity sha512-Fid6dPcjwepTFraz0YxIMCi7dejjJ/KL9FBjPYhBp4Sv1Y9PdhImlKZqYU555BlN4TQKaTc+F2Av1z+anVyGkA== + dependencies: + detect-newline "^3.0.0" + +jest-each@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-27.0.6.tgz#cee117071b04060158dc8d9a66dc50ad40ef453b" + integrity sha512-m6yKcV3bkSWrUIjxkE9OC0mhBZZdhovIW5ergBYirqnkLXkyEn3oUUF/QZgyecA1cF1QFyTE8bRRl8Tfg1pfLA== + dependencies: + "@jest/types" "^27.0.6" + chalk "^4.0.0" + jest-get-type "^27.0.6" + jest-util "^27.0.6" + pretty-format "^27.0.6" + +jest-environment-jsdom@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-environment-jsdom/-/jest-environment-jsdom-27.0.6.tgz#f66426c4c9950807d0a9f209c590ce544f73291f" + integrity sha512-FvetXg7lnXL9+78H+xUAsra3IeZRTiegA3An01cWeXBspKXUhAwMM9ycIJ4yBaR0L7HkoMPaZsozCLHh4T8fuw== + dependencies: + "@jest/environment" "^27.0.6" + "@jest/fake-timers" "^27.0.6" + "@jest/types" "^27.0.6" + "@types/node" "*" + jest-mock "^27.0.6" + jest-util "^27.0.6" + jsdom "^16.6.0" + +jest-environment-node@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-environment-node/-/jest-environment-node-27.0.6.tgz#a6699b7ceb52e8d68138b9808b0c404e505f3e07" + integrity sha512-+Vi6yLrPg/qC81jfXx3IBlVnDTI6kmRr08iVa2hFCWmJt4zha0XW7ucQltCAPhSR0FEKEoJ3i+W4E6T0s9is0w== + dependencies: + "@jest/environment" "^27.0.6" + "@jest/fake-timers" "^27.0.6" + "@jest/types" "^27.0.6" + "@types/node" "*" + jest-mock "^27.0.6" + jest-util "^27.0.6" + +jest-get-type@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-get-type/-/jest-get-type-27.0.6.tgz#0eb5c7f755854279ce9b68a9f1a4122f69047cfe" + integrity sha512-XTkK5exIeUbbveehcSR8w0bhH+c0yloW/Wpl+9vZrjzztCPWrxhHwkIFpZzCt71oRBsgxmuUfxEqOYoZI2macg== + +jest-haste-map@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-27.0.6.tgz#4683a4e68f6ecaa74231679dca237279562c8dc7" + integrity sha512-4ldjPXX9h8doB2JlRzg9oAZ2p6/GpQUNAeiYXqcpmrKbP0Qev0wdZlxSMOmz8mPOEnt4h6qIzXFLDi8RScX/1w== + dependencies: + "@jest/types" "^27.0.6" + "@types/graceful-fs" "^4.1.2" + "@types/node" "*" + anymatch "^3.0.3" + fb-watchman "^2.0.0" + graceful-fs "^4.2.4" + jest-regex-util "^27.0.6" + jest-serializer "^27.0.6" + jest-util "^27.0.6" + jest-worker "^27.0.6" + micromatch "^4.0.4" + walker "^1.0.7" + optionalDependencies: + fsevents "^2.3.2" + +jest-jasmine2@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-jasmine2/-/jest-jasmine2-27.0.6.tgz#fd509a9ed3d92bd6edb68a779f4738b100655b37" + integrity sha512-cjpH2sBy+t6dvCeKBsHpW41mjHzXgsavaFMp+VWRf0eR4EW8xASk1acqmljFtK2DgyIECMv2yCdY41r2l1+4iA== + dependencies: + "@babel/traverse" "^7.1.0" + "@jest/environment" "^27.0.6" + "@jest/source-map" "^27.0.6" + "@jest/test-result" "^27.0.6" + "@jest/types" "^27.0.6" + "@types/node" "*" + chalk "^4.0.0" + co "^4.6.0" + expect "^27.0.6" + is-generator-fn "^2.0.0" + jest-each "^27.0.6" + jest-matcher-utils "^27.0.6" + jest-message-util "^27.0.6" + jest-runtime "^27.0.6" + jest-snapshot "^27.0.6" + jest-util "^27.0.6" + pretty-format "^27.0.6" + throat "^6.0.1" + +jest-leak-detector@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-leak-detector/-/jest-leak-detector-27.0.6.tgz#545854275f85450d4ef4b8fe305ca2a26450450f" + integrity sha512-2/d6n2wlH5zEcdctX4zdbgX8oM61tb67PQt4Xh8JFAIy6LRKUnX528HulkaG6nD5qDl5vRV1NXejCe1XRCH5gQ== + dependencies: + jest-get-type "^27.0.6" + pretty-format "^27.0.6" + +jest-matcher-utils@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-matcher-utils/-/jest-matcher-utils-27.0.6.tgz#2a8da1e86c620b39459f4352eaa255f0d43e39a9" + integrity sha512-OFgF2VCQx9vdPSYTHWJ9MzFCehs20TsyFi6bIHbk5V1u52zJOnvF0Y/65z3GLZHKRuTgVPY4Z6LVePNahaQ+tA== + dependencies: + chalk "^4.0.0" + jest-diff "^27.0.6" + jest-get-type "^27.0.6" + pretty-format "^27.0.6" + +jest-message-util@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-message-util/-/jest-message-util-27.0.6.tgz#158bcdf4785706492d164a39abca6a14da5ab8b5" + integrity sha512-rBxIs2XK7rGy+zGxgi+UJKP6WqQ+KrBbD1YMj517HYN3v2BG66t3Xan3FWqYHKZwjdB700KiAJ+iES9a0M+ixw== + dependencies: + "@babel/code-frame" "^7.12.13" + "@jest/types" "^27.0.6" + "@types/stack-utils" "^2.0.0" + chalk "^4.0.0" + graceful-fs "^4.2.4" + micromatch "^4.0.4" + pretty-format "^27.0.6" + slash "^3.0.0" + stack-utils "^2.0.3" + +jest-mock@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-27.0.6.tgz#0efdd40851398307ba16778728f6d34d583e3467" + integrity sha512-lzBETUoK8cSxts2NYXSBWT+EJNzmUVtVVwS1sU9GwE1DLCfGsngg+ZVSIe0yd0ZSm+y791esiuo+WSwpXJQ5Bw== + dependencies: + "@jest/types" "^27.0.6" + "@types/node" "*" + +jest-pnp-resolver@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/jest-pnp-resolver/-/jest-pnp-resolver-1.2.2.tgz#b704ac0ae028a89108a4d040b3f919dfddc8e33c" + integrity sha512-olV41bKSMm8BdnuMsewT4jqlZ8+3TCARAXjZGT9jcoSnrfUnRCqnMoF9XEeoWjbzObpqF9dRhHQj0Xb9QdF6/w== + +jest-regex-util@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-regex-util/-/jest-regex-util-27.0.6.tgz#02e112082935ae949ce5d13b2675db3d8c87d9c5" + integrity sha512-SUhPzBsGa1IKm8hx2F4NfTGGp+r7BXJ4CulsZ1k2kI+mGLG+lxGrs76veN2LF/aUdGosJBzKgXmNCw+BzFqBDQ== + +jest-resolve-dependencies@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-resolve-dependencies/-/jest-resolve-dependencies-27.0.6.tgz#3e619e0ef391c3ecfcf6ef4056207a3d2be3269f" + integrity sha512-mg9x9DS3BPAREWKCAoyg3QucCr0n6S8HEEsqRCKSPjPcu9HzRILzhdzY3imsLoZWeosEbJZz6TKasveczzpJZA== + dependencies: + "@jest/types" "^27.0.6" + jest-regex-util "^27.0.6" + jest-snapshot "^27.0.6" + +jest-resolve@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-resolve/-/jest-resolve-27.0.6.tgz#e90f436dd4f8fbf53f58a91c42344864f8e55bff" + integrity sha512-yKmIgw2LgTh7uAJtzv8UFHGF7Dm7XfvOe/LQ3Txv101fLM8cx2h1QVwtSJ51Q/SCxpIiKfVn6G2jYYMDNHZteA== + dependencies: + "@jest/types" "^27.0.6" + chalk "^4.0.0" + escalade "^3.1.1" + graceful-fs "^4.2.4" + jest-pnp-resolver "^1.2.2" + jest-util "^27.0.6" + jest-validate "^27.0.6" + resolve "^1.20.0" + slash "^3.0.0" + +jest-runner@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-runner/-/jest-runner-27.0.6.tgz#1325f45055539222bbc7256a6976e993ad2f9520" + integrity sha512-W3Bz5qAgaSChuivLn+nKOgjqNxM7O/9JOJoKDCqThPIg2sH/d4A/lzyiaFgnb9V1/w29Le11NpzTJSzga1vyYQ== + dependencies: + "@jest/console" "^27.0.6" + "@jest/environment" "^27.0.6" + "@jest/test-result" "^27.0.6" + "@jest/transform" "^27.0.6" + "@jest/types" "^27.0.6" + "@types/node" "*" + chalk "^4.0.0" + emittery "^0.8.1" + exit "^0.1.2" + graceful-fs "^4.2.4" + jest-docblock "^27.0.6" + jest-environment-jsdom "^27.0.6" + jest-environment-node "^27.0.6" + jest-haste-map "^27.0.6" + jest-leak-detector "^27.0.6" + jest-message-util "^27.0.6" + jest-resolve "^27.0.6" + jest-runtime "^27.0.6" + jest-util "^27.0.6" + jest-worker "^27.0.6" + source-map-support "^0.5.6" + throat "^6.0.1" + +jest-runtime@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-runtime/-/jest-runtime-27.0.6.tgz#45877cfcd386afdd4f317def551fc369794c27c9" + integrity sha512-BhvHLRVfKibYyqqEFkybsznKwhrsu7AWx2F3y9G9L95VSIN3/ZZ9vBpm/XCS2bS+BWz3sSeNGLzI3TVQ0uL85Q== + dependencies: + "@jest/console" "^27.0.6" + "@jest/environment" "^27.0.6" + "@jest/fake-timers" "^27.0.6" + "@jest/globals" "^27.0.6" + "@jest/source-map" "^27.0.6" + "@jest/test-result" "^27.0.6" + "@jest/transform" "^27.0.6" + "@jest/types" "^27.0.6" + "@types/yargs" "^16.0.0" + chalk "^4.0.0" + cjs-module-lexer "^1.0.0" + collect-v8-coverage "^1.0.0" + exit "^0.1.2" + glob "^7.1.3" + graceful-fs "^4.2.4" + jest-haste-map "^27.0.6" + jest-message-util "^27.0.6" + jest-mock "^27.0.6" + jest-regex-util "^27.0.6" + jest-resolve "^27.0.6" + jest-snapshot "^27.0.6" + jest-util "^27.0.6" + jest-validate "^27.0.6" + slash "^3.0.0" + strip-bom "^4.0.0" + yargs "^16.0.3" + +jest-serializer@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-serializer/-/jest-serializer-27.0.6.tgz#93a6c74e0132b81a2d54623251c46c498bb5bec1" + integrity sha512-PtGdVK9EGC7dsaziskfqaAPib6wTViY3G8E5wz9tLVPhHyiDNTZn/xjZ4khAw+09QkoOVpn7vF5nPSN6dtBexA== + dependencies: + "@types/node" "*" + graceful-fs "^4.2.4" + +jest-snapshot@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-27.0.6.tgz#f4e6b208bd2e92e888344d78f0f650bcff05a4bf" + integrity sha512-NTHaz8He+ATUagUgE7C/UtFcRoHqR2Gc+KDfhQIyx+VFgwbeEMjeP+ILpUTLosZn/ZtbNdCF5LkVnN/l+V751A== + dependencies: + "@babel/core" "^7.7.2" + "@babel/generator" "^7.7.2" + "@babel/parser" "^7.7.2" + "@babel/plugin-syntax-typescript" "^7.7.2" + "@babel/traverse" "^7.7.2" + "@babel/types" "^7.0.0" + "@jest/transform" "^27.0.6" + "@jest/types" "^27.0.6" + "@types/babel__traverse" "^7.0.4" + "@types/prettier" "^2.1.5" + babel-preset-current-node-syntax "^1.0.0" + chalk "^4.0.0" + expect "^27.0.6" + graceful-fs "^4.2.4" + jest-diff "^27.0.6" + jest-get-type "^27.0.6" + jest-haste-map "^27.0.6" + jest-matcher-utils "^27.0.6" + jest-message-util "^27.0.6" + jest-resolve "^27.0.6" + jest-util "^27.0.6" + natural-compare "^1.4.0" + pretty-format "^27.0.6" + semver "^7.3.2" + +jest-util@^27.0.0, jest-util@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-27.0.6.tgz#e8e04eec159de2f4d5f57f795df9cdc091e50297" + integrity sha512-1JjlaIh+C65H/F7D11GNkGDDZtDfMEM8EBXsvd+l/cxtgQ6QhxuloOaiayt89DxUvDarbVhqI98HhgrM1yliFQ== + dependencies: + "@jest/types" "^27.0.6" + "@types/node" "*" + chalk "^4.0.0" + graceful-fs "^4.2.4" + is-ci "^3.0.0" + picomatch "^2.2.3" + +jest-validate@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-validate/-/jest-validate-27.0.6.tgz#930a527c7a951927df269f43b2dc23262457e2a6" + integrity sha512-yhZZOaMH3Zg6DC83n60pLmdU1DQE46DW+KLozPiPbSbPhlXXaiUTDlhHQhHFpaqIFRrInko1FHXjTRpjWRuWfA== + dependencies: + "@jest/types" "^27.0.6" + camelcase "^6.2.0" + chalk "^4.0.0" + jest-get-type "^27.0.6" + leven "^3.1.0" + pretty-format "^27.0.6" + +jest-watcher@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-watcher/-/jest-watcher-27.0.6.tgz#89526f7f9edf1eac4e4be989bcb6dec6b8878d9c" + integrity sha512-/jIoKBhAP00/iMGnTwUBLgvxkn7vsOweDrOTSPzc7X9uOyUtJIDthQBTI1EXz90bdkrxorUZVhJwiB69gcHtYQ== + dependencies: + "@jest/test-result" "^27.0.6" + "@jest/types" "^27.0.6" + "@types/node" "*" + ansi-escapes "^4.2.1" + chalk "^4.0.0" + jest-util "^27.0.6" + string-length "^4.0.1" + +jest-worker@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-27.0.6.tgz#a5fdb1e14ad34eb228cfe162d9f729cdbfa28aed" + integrity sha512-qupxcj/dRuA3xHPMUd40gr2EaAurFbkwzOh7wfPaeE9id7hyjURRQoqNfHifHK3XjJU6YJJUQKILGUnwGPEOCA== + dependencies: + "@types/node" "*" + merge-stream "^2.0.0" + supports-color "^8.0.0" + +jest@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/jest/-/jest-27.0.6.tgz#10517b2a628f0409087fbf473db44777d7a04505" + integrity sha512-EjV8aETrsD0wHl7CKMibKwQNQc3gIRBXlTikBmmHUeVMKaPFxdcUIBfoDqTSXDoGJIivAYGqCWVlzCSaVjPQsA== + dependencies: + "@jest/core" "^27.0.6" + import-local "^3.0.2" + jest-cli "^27.0.6" + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^3.13.1: + version "3.14.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" + integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + +jsdom@^16.6.0: + version "16.7.0" + resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.7.0.tgz#918ae71965424b197c819f8183a754e18977b710" + integrity sha512-u9Smc2G1USStM+s/x1ru5Sxrl6mPYCbByG1U/hUmqaVsm4tbNyS7CicOSRyuGQYZhTu0h84qkZZQ/I+dzizSVw== + dependencies: + abab "^2.0.5" + acorn "^8.2.4" + acorn-globals "^6.0.0" + cssom "^0.4.4" + cssstyle "^2.3.0" + data-urls "^2.0.0" + decimal.js "^10.2.1" + domexception "^2.0.1" + escodegen "^2.0.0" + form-data "^3.0.0" + html-encoding-sniffer "^2.0.1" + http-proxy-agent "^4.0.1" + https-proxy-agent "^5.0.0" + is-potential-custom-element-name "^1.0.1" + nwsapi "^2.2.0" + parse5 "6.0.1" + saxes "^5.0.1" + symbol-tree "^3.2.4" + tough-cookie "^4.0.0" + w3c-hr-time "^1.0.2" + w3c-xmlserializer "^2.0.0" + webidl-conversions "^6.1.0" + whatwg-encoding "^1.0.5" + whatwg-mimetype "^2.3.0" + whatwg-url "^8.5.0" + ws "^7.4.6" + xml-name-validator "^3.0.0" + +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + +json5@2.x, json5@^2.1.2: + version "2.2.0" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.0.tgz#2dfefe720c6ba525d9ebd909950f0515316c89a3" + integrity sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA== + dependencies: + minimist "^1.2.5" + +kleur@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" + integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== + +leven@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" + integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== + +levn@~0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" + integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4= + dependencies: + prelude-ls "~1.1.2" + type-check "~0.3.2" + +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== + dependencies: + p-locate "^4.1.0" + +lodash@4.x, lodash@^4.17.21, lodash@^4.7.0: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +loose-envify@^1.1.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +make-dir@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" + integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== + dependencies: + semver "^6.0.0" + +make-error@1.x: + version "1.3.6" + resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" + integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== + +makeerror@1.0.x: + version "1.0.11" + resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.11.tgz#e01a5c9109f2af79660e4e8b9587790184f5a96c" + integrity sha1-4BpckQnyr3lmDk6LlYd5AYT1qWw= + dependencies: + tmpl "1.0.x" + +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + +micromatch@^4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.4.tgz#896d519dfe9db25fce94ceb7a500919bf881ebf9" + integrity sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg== + dependencies: + braces "^3.0.1" + picomatch "^2.2.3" + +mime-db@1.49.0: + version "1.49.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.49.0.tgz#f3dfde60c99e9cf3bc9701d687778f537001cbed" + integrity sha512-CIc8j9URtOVApSFCQIF+VBkX1RwXp/oMMOrqdyXSBXq5RWNEsRfyj1kiRnQgmNXmHxPoFIxOroKA3zcU9P+nAA== + +mime-types@^2.1.12: + version "2.1.32" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.32.tgz#1d00e89e7de7fe02008db61001d9e02852670fd5" + integrity sha512-hJGaVS4G4c9TSMYh2n6SQAGrC4RnfU+daP8G7cSCmaqNjiOoUY0VHCMS42pxnQmVF1GWwFhbHWn3RIxCqTmZ9A== + dependencies: + mime-db "1.49.0" + +mimic-fn@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + +minimatch@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" + integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== + dependencies: + brace-expansion "^1.1.7" + +minimist@^1.2.5: + version "1.2.5" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" + integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== + +mkdirp@1.x: + version "1.0.4" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" + integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== + +ms@2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + +natural-compare@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" + integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= + +node-int64@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" + integrity sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs= + +node-modules-regexp@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz#8d9dbe28964a4ac5712e9131642107c71e90ec40" + integrity sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA= + +node-releases@^1.1.73: + version "1.1.74" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-1.1.74.tgz#e5866488080ebaa70a93b91144ccde06f3c3463e" + integrity sha512-caJBVempXZPepZoZAPCWRTNxYQ+xtG/KAi4ozTA5A+nJ7IU+kLQCbqaUjb5Rwy14M9upBWiQ4NutcmW04LJSRw== + +normalize-path@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +npm-run-path@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + +nwsapi@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.0.tgz#204879a9e3d068ff2a55139c2c772780681a38b7" + integrity sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ== + +object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= +once@^1.3.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= + dependencies: + wrappy "1" + +onetime@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + +optionator@^0.8.1: + version "0.8.3" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" + integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA== + dependencies: + deep-is "~0.1.3" + fast-levenshtein "~2.0.6" + levn "~0.3.0" + prelude-ls "~1.1.2" + type-check "~0.3.2" + word-wrap "~1.2.3" + +p-each-series@^2.1.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/p-each-series/-/p-each-series-2.2.0.tgz#105ab0357ce72b202a8a8b94933672657b5e2a9a" + integrity sha512-ycIL2+1V32th+8scbpTvyHNaHe02z0sjgh91XXjAk+ZeXoPN4Z46DVUnzdso0aX4KckKw0FNNFHdjZ2UsZvxiA== + +p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== + dependencies: + p-try "^2.0.0" + +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== + dependencies: + p-limit "^2.2.0" + +p-try@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== + +parse5@6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" + integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw== + +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= + +path-key@^3.0.0, path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-parse@^1.0.6: + version "1.0.7" + resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +picomatch@^2.0.4, picomatch@^2.2.3: + version "2.3.0" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972" + integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw== + +pirates@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.1.tgz#643a92caf894566f91b2b986d2c66950a8e2fb87" + integrity sha512-WuNqLTbMI3tmfef2TKxlQmAiLHKtFhlsCZnPIpuv2Ow0RDVO8lfy1Opf4NUzlMXLjPl+Men7AuVdX6TA+s+uGA== + dependencies: + node-modules-regexp "^1.0.0" + +pkg-dir@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" + integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== + dependencies: + find-up "^4.0.0" + +prelude-ls@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" + integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= + +pretty-format@^27.0.0, pretty-format@^27.0.6: + version "27.0.6" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-27.0.6.tgz#ab770c47b2c6f893a21aefc57b75da63ef49a11f" + integrity sha512-8tGD7gBIENgzqA+UBzObyWqQ5B778VIFZA/S66cclyd5YkFLYs2Js7gxDKf0MXtTc9zcS7t1xhdfcElJ3YIvkQ== + dependencies: + "@jest/types" "^27.0.6" + ansi-regex "^5.0.0" + ansi-styles "^5.0.0" + react-is "^17.0.1" + +prompts@^2.0.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/prompts/-/prompts-2.4.1.tgz#befd3b1195ba052f9fd2fde8a486c4e82ee77f61" + integrity sha512-EQyfIuO2hPDsX1L/blblV+H7I0knhgAd82cVneCwcdND9B8AuCDuRcBH6yIcG4dFzlOUqbazQqwGjx5xmsNLuQ== + dependencies: + kleur "^3.0.3" + sisteransi "^1.0.5" + +psl@^1.1.33: + version "1.8.0" + resolved "https://registry.yarnpkg.com/psl/-/psl-1.8.0.tgz#9326f8bcfb013adcc005fdff056acce020e51c24" + integrity sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ== + +punycode@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" + integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== + react-dom@^17.0.2: version "17.0.2" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23" @@ -353,6 +2421,11 @@ react-dom@^17.0.2: object-assign "^4.1.1" scheduler "^0.20.2" +react-is@^17.0.1: + version "17.0.2" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" + integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== + react@^17.0.2: version "17.0.2" resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037" @@ -361,6 +2434,38 @@ react@^17.0.2: loose-envify "^1.1.0" object-assign "^4.1.1" +require-directory@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" + integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= + +resolve-cwd@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-3.0.0.tgz#0f0075f1bb2544766cf73ba6a6e2adfebcb13f2d" + integrity sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg== + dependencies: + resolve-from "^5.0.0" + +resolve-from@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== + +resolve@^1.20.0: + version "1.20.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975" + integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A== + dependencies: + is-core-module "^2.2.0" + path-parse "^1.0.6" + +rimraf@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + robust-predicates@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/robust-predicates/-/robust-predicates-3.0.1.tgz#ecde075044f7f30118682bd9fb3f123109577f9a" @@ -371,11 +2476,23 @@ rw@1: resolved "https://registry.yarnpkg.com/rw/-/rw-1.3.3.tgz#3f862dfa91ab766b14885ef4d01124bfda074fb4" integrity sha1-P4Yt+pGrdmsUiF700BEkv9oHT7Q= -"safer-buffer@>= 2.1.2 < 3.0.0": +safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== + +"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== +saxes@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/saxes/-/saxes-5.0.1.tgz#eebab953fa3b7608dbe94e5dadb15c888fa6696d" + integrity sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw== + dependencies: + xmlchars "^2.2.0" + scheduler@^0.20.2: version "0.20.2" resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.2.tgz#4baee39436e34aa93b4874bddcbf0fe8b8b50e91" @@ -383,3 +2500,390 @@ scheduler@^0.20.2: dependencies: loose-envify "^1.1.0" object-assign "^4.1.1" + +semver@7.x, semver@^7.3.2: + version "7.3.5" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7" + integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== + dependencies: + lru-cache "^6.0.0" + +semver@^6.0.0, semver@^6.3.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +signal-exit@^3.0.2, signal-exit@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c" + integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA== + +sisteransi@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" + integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== + +slash@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + +source-map-support@^0.5.6: + version "0.5.19" + resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61" + integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + +source-map@^0.5.0: + version "0.5.7" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= + +source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== + +source-map@^0.7.3: + version "0.7.3" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" + integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== + +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= + +stack-utils@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.3.tgz#cd5f030126ff116b78ccb3c027fe302713b61277" + integrity sha512-gL//fkxfWUsIlFL2Tl42Cl6+HFALEaB1FU76I/Fy+oZjRreP7OPMXFlGbxM7NQsI0ZpUfw76sHnv0WNYuTb7Iw== + dependencies: + escape-string-regexp "^2.0.0" + +string-length@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" + integrity sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ== + dependencies: + char-regex "^1.0.2" + strip-ansi "^6.0.0" + +string-width@^4.1.0, string-width@^4.2.0: + version "4.2.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.2.tgz#dafd4f9559a7585cfba529c6a0a4f73488ebd4c5" + integrity sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.0" + +strip-ansi@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.0.tgz#0b1571dd7669ccd4f3e06e14ef1eed26225ae532" + integrity sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w== + dependencies: + ansi-regex "^5.0.0" + +strip-bom@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-4.0.0.tgz#9c3505c1db45bcedca3d9cf7a16f5c5aa3901878" + integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== + +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" + integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-color@^7.0.0, supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-color@^8.0.0: + version "8.1.1" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + +supports-hyperlinks@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/supports-hyperlinks/-/supports-hyperlinks-2.2.0.tgz#4f77b42488765891774b70c79babd87f9bd594bb" + integrity sha512-6sXEzV5+I5j8Bmq9/vUphGRM/RJNT9SCURJLjwfOg51heRtguGWDzcaBlgAzKhQa0EVNpPEKzQuBwZ8S8WaCeQ== + dependencies: + has-flag "^4.0.0" + supports-color "^7.0.0" + +symbol-tree@^3.2.4: + version "3.2.4" + resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" + integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== + +terminal-link@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" + integrity sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ== + dependencies: + ansi-escapes "^4.2.1" + supports-hyperlinks "^2.0.0" + +test-exclude@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" + integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== + dependencies: + "@istanbuljs/schema" "^0.1.2" + glob "^7.1.4" + minimatch "^3.0.4" + +throat@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/throat/-/throat-6.0.1.tgz#d514fedad95740c12c2d7fc70ea863eb51ade375" + integrity sha512-8hmiGIJMDlwjg7dlJ4yKGLK8EsYqKgPWbG3b4wjJddKNwc7N7Dpn08Df4szr/sZdMVeOstrdYSsqzX6BYbcB+w== + +tmpl@1.0.x: + version "1.0.4" + resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1" + integrity sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE= + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4= + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +tough-cookie@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-4.0.0.tgz#d822234eeca882f991f0f908824ad2622ddbece4" + integrity sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg== + dependencies: + psl "^1.1.33" + punycode "^2.1.1" + universalify "^0.1.2" + +tr46@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-2.1.0.tgz#fa87aa81ca5d5941da8cbf1f9b749dc969a4e240" + integrity sha512-15Ih7phfcdP5YxqiB+iDtLoaTz4Nd35+IiAv0kQ5FNKHzXgdWqPoTIqEDDJmXceQt4JZk6lVPT8lnDlPpGDppw== + dependencies: + punycode "^2.1.1" + +ts-jest@^27.0.4: + version "27.0.4" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-27.0.4.tgz#df49683535831560ccb58f94c023d831b1b80df0" + integrity sha512-c4E1ECy9Xz2WGfTMyHbSaArlIva7Wi2p43QOMmCqjSSjHP06KXv+aT+eSY+yZMuqsMi3k7pyGsGj2q5oSl5WfQ== + dependencies: + bs-logger "0.x" + buffer-from "1.x" + fast-json-stable-stringify "2.x" + jest-util "^27.0.0" + json5 "2.x" + lodash "4.x" + make-error "1.x" + mkdirp "1.x" + semver "7.x" + yargs-parser "20.x" + +type-check@~0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" + integrity sha1-WITKtRLPHTVeP7eE8wgEsrUg23I= + dependencies: + prelude-ls "~1.1.2" + +type-detect@4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" + integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== + +type-fest@^0.21.3: + version "0.21.3" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" + integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== + +typedarray-to-buffer@^3.1.5: + version "3.1.5" + resolved "https://registry.yarnpkg.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +typescript@^4.3.5: + version "4.3.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.5.tgz#4d1c37cc16e893973c45a06886b7113234f119f4" + integrity sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA== + +universalify@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" + integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== + +v8-to-istanbul@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-8.0.0.tgz#4229f2a99e367f3f018fa1d5c2b8ec684667c69c" + integrity sha512-LkmXi8UUNxnCC+JlH7/fsfsKr5AU110l+SYGJimWNkWhxbN5EyeOtm1MJ0hhvqMMOhGwBj1Fp70Yv9i+hX0QAg== + dependencies: + "@types/istanbul-lib-coverage" "^2.0.1" + convert-source-map "^1.6.0" + source-map "^0.7.3" + +w3c-hr-time@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd" + integrity sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ== + dependencies: + browser-process-hrtime "^1.0.0" + +w3c-xmlserializer@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz#3e7104a05b75146cc60f564380b7f683acf1020a" + integrity sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA== + dependencies: + xml-name-validator "^3.0.0" + +walker@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.7.tgz#2f7f9b8fd10d677262b18a884e28d19618e028fb" + integrity sha1-L3+bj9ENZ3JisYqITijRlhjgKPs= + dependencies: + makeerror "1.0.x" + +webidl-conversions@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff" + integrity sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA== + +webidl-conversions@^6.1.0: + version "6.1.0" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-6.1.0.tgz#9111b4d7ea80acd40f5270d666621afa78b69514" + integrity sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w== + +whatwg-encoding@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0" + integrity sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw== + dependencies: + iconv-lite "0.4.24" + +whatwg-mimetype@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" + integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g== + +whatwg-url@^8.0.0, whatwg-url@^8.5.0: + version "8.7.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.7.0.tgz#656a78e510ff8f3937bc0bcbe9f5c0ac35941b77" + integrity sha512-gAojqb/m9Q8a5IV96E3fHJM70AzCkgt4uXYX2O7EmuyOnLrViCQlsEBmF9UQIu3/aeAIp2U17rtbpZWNntQqdg== + dependencies: + lodash "^4.7.0" + tr46 "^2.1.0" + webidl-conversions "^6.1.0" + +which@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +word-wrap@~1.2.3: + version "1.2.3" + resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" + integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== + +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= + +write-file-atomic@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8" + integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q== + dependencies: + imurmurhash "^0.1.4" + is-typedarray "^1.0.0" + signal-exit "^3.0.2" + typedarray-to-buffer "^3.1.5" + +ws@^7.4.6: + version "7.5.3" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + +xml-name-validator@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a" + integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw== + +xmlchars@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb" + integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw== + +y18n@^5.0.5: + version "5.0.8" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" + integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yargs-parser@20.x, yargs-parser@^20.2.2: + version "20.2.9" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" + integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== + +yargs@^16.0.3: + version "16.2.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" + integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== + 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" From db1033a17a9519d66699feaf1c8d07f47dd9c4fe Mon Sep 17 00:00:00 2001 From: Cameron Yick Date: Sat, 14 Aug 2021 19:47:56 -0400 Subject: [PATCH 03/15] feat: enabling filtering via excluded_globs param (Fix #21, Fix #27) --- .gitignore | 2 +- README.md | 22 +- index.js | 2728 ++++++++++++++++++++++++++++++- package.json | 5 +- src/index.jsx | 9 +- src/process-dir.js | 37 +- src/should-exclude-path.test.ts | 54 + src/should-exclude-path.ts | 10 + yarn.lock | 12 + 9 files changed, 2841 insertions(+), 38 deletions(-) create mode 100644 src/should-exclude-path.test.ts create mode 100644 src/should-exclude-path.ts diff --git a/.gitignore b/.gitignore index b512c09..3c3629e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -node_modules \ No newline at end of file +node_modules diff --git a/README.md b/README.md index dbe3365..6936590 100644 --- a/README.md +++ b/README.md @@ -18,19 +18,33 @@ Default: diagram.svg ## `excluded_paths` -A list of paths to exclude from the diagram, separated by commas. +A list of paths to folders to exclude from the diagram, separated by commas. For example: dist,node_modules Default: node_modules,bower_components,dist,out,build,eject,.next,.netlify,.yarn,.vscode,package-lock.json,yarn.lock +## `excluded_globs` + +A semicolon-delimited array of file [globs](https://globster.xyz/) to exclude from the diagram, using [micromatch](https://github.com/micromatch/micromatch) syntax. Provided as an array. + +For example: + +```yaml +excluded_globs: 'frontend/*.spec.js;**/*.{png,jpg};**/!(*.module).ts' +# Guide: +# - 'frontend/*.spec.js' # exclude frontend tests +# - '**/*.{png,ico,md}' # all png, ico, md files in any directory +# - '**/!(*.module).ts' # all TS files except module files +``` + ## `root_path` -The directory (and its children) that you want to visualize in the diagram. +The directory (and its children) that you want to visualize in the diagram, relative to the repository root. -For example: `./src/` +For example: `src/` -Default: `./` +Default: `''` (current directory) ## `max_depth` diff --git a/index.js b/index.js index a495c90..5bdfb80 100644 --- a/index.js +++ b/index.js @@ -7659,6 +7659,2670 @@ var require_server = __commonJS({ } }); +// node_modules/braces/lib/utils.js +var require_utils2 = __commonJS({ + "node_modules/braces/lib/utils.js"(exports2) { + "use strict"; + exports2.isInteger = (num) => { + if (typeof num === "number") { + return Number.isInteger(num); + } + if (typeof num === "string" && num.trim() !== "") { + return Number.isInteger(Number(num)); + } + return false; + }; + exports2.find = (node, type2) => node.nodes.find((node2) => node2.type === type2); + exports2.exceedsLimit = (min, max, step = 1, limit) => { + if (limit === false) + return false; + if (!exports2.isInteger(min) || !exports2.isInteger(max)) + return false; + return (Number(max) - Number(min)) / Number(step) >= limit; + }; + exports2.escapeNode = (block, n2 = 0, type2) => { + let node = block.nodes[n2]; + if (!node) + return; + if (type2 && node.type === type2 || node.type === "open" || node.type === "close") { + if (node.escaped !== true) { + node.value = "\\" + node.value; + node.escaped = true; + } + } + }; + exports2.encloseBrace = (node) => { + if (node.type !== "brace") + return false; + if (node.commas >> 0 + node.ranges >> 0 === 0) { + node.invalid = true; + return true; + } + return false; + }; + exports2.isInvalidBrace = (block) => { + if (block.type !== "brace") + return false; + if (block.invalid === true || block.dollar) + return true; + if (block.commas >> 0 + block.ranges >> 0 === 0) { + block.invalid = true; + return true; + } + if (block.open !== true || block.close !== true) { + block.invalid = true; + return true; + } + return false; + }; + exports2.isOpenOrClose = (node) => { + if (node.type === "open" || node.type === "close") { + return true; + } + return node.open === true || node.close === true; + }; + exports2.reduce = (nodes) => nodes.reduce((acc, node) => { + if (node.type === "text") + acc.push(node.value); + if (node.type === "range") + node.type = "text"; + return acc; + }, []); + exports2.flatten = (...args) => { + const result = []; + const flat = (arr) => { + for (let i = 0; i < arr.length; i++) { + let ele = arr[i]; + Array.isArray(ele) ? flat(ele, result) : ele !== void 0 && result.push(ele); + } + return result; + }; + flat(args); + return result; + }; + } +}); + +// node_modules/braces/lib/stringify.js +var require_stringify = __commonJS({ + "node_modules/braces/lib/stringify.js"(exports2, module2) { + "use strict"; + var utils = require_utils2(); + module2.exports = (ast, options = {}) => { + let stringify = (node, parent = {}) => { + let invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent); + let invalidNode = node.invalid === true && options.escapeInvalid === true; + let output = ""; + if (node.value) { + if ((invalidBlock || invalidNode) && utils.isOpenOrClose(node)) { + return "\\" + node.value; + } + return node.value; + } + if (node.value) { + return node.value; + } + if (node.nodes) { + for (let child of node.nodes) { + output += stringify(child); + } + } + return output; + }; + return stringify(ast); + }; + } +}); + +// node_modules/is-number/index.js +var require_is_number = __commonJS({ + "node_modules/is-number/index.js"(exports2, module2) { + "use strict"; + module2.exports = function(num) { + if (typeof num === "number") { + return num - num === 0; + } + if (typeof num === "string" && num.trim() !== "") { + return Number.isFinite ? Number.isFinite(+num) : isFinite(+num); + } + return false; + }; + } +}); + +// node_modules/to-regex-range/index.js +var require_to_regex_range = __commonJS({ + "node_modules/to-regex-range/index.js"(exports2, module2) { + "use strict"; + var isNumber = require_is_number(); + var toRegexRange = (min, max, options) => { + if (isNumber(min) === false) { + throw new TypeError("toRegexRange: expected the first argument to be a number"); + } + if (max === void 0 || min === max) { + return String(min); + } + if (isNumber(max) === false) { + throw new TypeError("toRegexRange: expected the second argument to be a number."); + } + let opts = { relaxZeros: true, ...options }; + if (typeof opts.strictZeros === "boolean") { + opts.relaxZeros = opts.strictZeros === false; + } + let relax = String(opts.relaxZeros); + let shorthand = String(opts.shorthand); + let capture = String(opts.capture); + let wrap = String(opts.wrap); + let cacheKey = min + ":" + max + "=" + relax + shorthand + capture + wrap; + if (toRegexRange.cache.hasOwnProperty(cacheKey)) { + return toRegexRange.cache[cacheKey].result; + } + let a2 = Math.min(min, max); + let b = Math.max(min, max); + if (Math.abs(a2 - b) === 1) { + let result = min + "|" + max; + if (opts.capture) { + return `(${result})`; + } + if (opts.wrap === false) { + return result; + } + return `(?:${result})`; + } + let isPadded = hasPadding(min) || hasPadding(max); + let state = { min, max, a: a2, b }; + let positives = []; + let negatives = []; + if (isPadded) { + state.isPadded = isPadded; + state.maxLen = String(state.max).length; + } + if (a2 < 0) { + let newMin = b < 0 ? Math.abs(b) : 1; + negatives = splitToPatterns(newMin, Math.abs(a2), state, opts); + a2 = state.a = 0; + } + if (b >= 0) { + positives = splitToPatterns(a2, b, state, opts); + } + state.negatives = negatives; + state.positives = positives; + state.result = collatePatterns(negatives, positives, opts); + if (opts.capture === true) { + state.result = `(${state.result})`; + } else if (opts.wrap !== false && positives.length + negatives.length > 1) { + state.result = `(?:${state.result})`; + } + toRegexRange.cache[cacheKey] = state; + return state.result; + }; + function collatePatterns(neg, pos, options) { + let onlyNegative = filterPatterns(neg, pos, "-", false, options) || []; + let onlyPositive = filterPatterns(pos, neg, "", false, options) || []; + let intersected = filterPatterns(neg, pos, "-?", true, options) || []; + let subpatterns = onlyNegative.concat(intersected).concat(onlyPositive); + return subpatterns.join("|"); + } + function splitToRanges(min, max) { + let nines = 1; + let zeros = 1; + let stop = countNines(min, nines); + let stops = new Set([max]); + while (min <= stop && stop <= max) { + stops.add(stop); + nines += 1; + stop = countNines(min, nines); + } + stop = countZeros(max + 1, zeros) - 1; + while (min < stop && stop <= max) { + stops.add(stop); + zeros += 1; + stop = countZeros(max + 1, zeros) - 1; + } + stops = [...stops]; + stops.sort(compare); + return stops; + } + function rangeToPattern(start2, stop, options) { + if (start2 === stop) { + return { pattern: start2, count: [], digits: 0 }; + } + let zipped = zip(start2, stop); + let digits = zipped.length; + let pattern = ""; + let count2 = 0; + for (let i = 0; i < digits; i++) { + let [startDigit, stopDigit] = zipped[i]; + if (startDigit === stopDigit) { + pattern += startDigit; + } else if (startDigit !== "0" || stopDigit !== "9") { + pattern += toCharacterClass(startDigit, stopDigit, options); + } else { + count2++; + } + } + if (count2) { + pattern += options.shorthand === true ? "\\d" : "[0-9]"; + } + return { pattern, count: [count2], digits }; + } + function splitToPatterns(min, max, tok, options) { + let ranges = splitToRanges(min, max); + let tokens = []; + let start2 = min; + let prev; + for (let i = 0; i < ranges.length; i++) { + let max2 = ranges[i]; + let obj = rangeToPattern(String(start2), String(max2), options); + let zeros = ""; + if (!tok.isPadded && prev && prev.pattern === obj.pattern) { + if (prev.count.length > 1) { + prev.count.pop(); + } + prev.count.push(obj.count[0]); + prev.string = prev.pattern + toQuantifier(prev.count); + start2 = max2 + 1; + continue; + } + if (tok.isPadded) { + zeros = padZeros(max2, tok, options); + } + obj.string = zeros + obj.pattern + toQuantifier(obj.count); + tokens.push(obj); + start2 = max2 + 1; + prev = obj; + } + return tokens; + } + function filterPatterns(arr, comparison, prefix, intersection, options) { + let result = []; + for (let ele of arr) { + let { string } = ele; + if (!intersection && !contains(comparison, "string", string)) { + result.push(prefix + string); + } + if (intersection && contains(comparison, "string", string)) { + result.push(prefix + string); + } + } + return result; + } + function zip(a2, b) { + let arr = []; + for (let i = 0; i < a2.length; i++) + arr.push([a2[i], b[i]]); + return arr; + } + function compare(a2, b) { + return a2 > b ? 1 : b > a2 ? -1 : 0; + } + function contains(arr, key, val) { + return arr.some((ele) => ele[key] === val); + } + function countNines(min, len) { + return Number(String(min).slice(0, -len) + "9".repeat(len)); + } + function countZeros(integer, zeros) { + return integer - integer % Math.pow(10, zeros); + } + function toQuantifier(digits) { + let [start2 = 0, stop = ""] = digits; + if (stop || start2 > 1) { + return `{${start2 + (stop ? "," + stop : "")}}`; + } + return ""; + } + function toCharacterClass(a2, b, options) { + return `[${a2}${b - a2 === 1 ? "" : "-"}${b}]`; + } + function hasPadding(str) { + return /^-?(0+)\d/.test(str); + } + function padZeros(value, tok, options) { + if (!tok.isPadded) { + return value; + } + let diff = Math.abs(tok.maxLen - String(value).length); + let relax = options.relaxZeros !== false; + switch (diff) { + case 0: + return ""; + case 1: + return relax ? "0?" : "0"; + case 2: + return relax ? "0{0,2}" : "00"; + default: { + return relax ? `0{0,${diff}}` : `0{${diff}}`; + } + } + } + toRegexRange.cache = {}; + toRegexRange.clearCache = () => toRegexRange.cache = {}; + module2.exports = toRegexRange; + } +}); + +// node_modules/fill-range/index.js +var require_fill_range = __commonJS({ + "node_modules/fill-range/index.js"(exports2, module2) { + "use strict"; + var util = require("util"); + var toRegexRange = require_to_regex_range(); + var isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val); + var transform2 = (toNumber) => { + return (value) => toNumber === true ? Number(value) : String(value); + }; + var isValidValue = (value) => { + return typeof value === "number" || typeof value === "string" && value !== ""; + }; + var isNumber = (num) => Number.isInteger(+num); + var zeros = (input) => { + let value = `${input}`; + let index = -1; + if (value[0] === "-") + value = value.slice(1); + if (value === "0") + return false; + while (value[++index] === "0") + ; + return index > 0; + }; + var stringify = (start2, end, options) => { + if (typeof start2 === "string" || typeof end === "string") { + return true; + } + return options.stringify === true; + }; + var pad2 = (input, maxLength, toNumber) => { + if (maxLength > 0) { + let dash = input[0] === "-" ? "-" : ""; + if (dash) + input = input.slice(1); + input = dash + input.padStart(dash ? maxLength - 1 : maxLength, "0"); + } + if (toNumber === false) { + return String(input); + } + return input; + }; + var toMaxLen = (input, maxLength) => { + let negative = input[0] === "-" ? "-" : ""; + if (negative) { + input = input.slice(1); + maxLength--; + } + while (input.length < maxLength) + input = "0" + input; + return negative ? "-" + input : input; + }; + var toSequence = (parts, options) => { + parts.negatives.sort((a2, b) => a2 < b ? -1 : a2 > b ? 1 : 0); + parts.positives.sort((a2, b) => a2 < b ? -1 : a2 > b ? 1 : 0); + let prefix = options.capture ? "" : "?:"; + let positives = ""; + let negatives = ""; + let result; + if (parts.positives.length) { + positives = parts.positives.join("|"); + } + if (parts.negatives.length) { + negatives = `-(${prefix}${parts.negatives.join("|")})`; + } + if (positives && negatives) { + result = `${positives}|${negatives}`; + } else { + result = positives || negatives; + } + if (options.wrap) { + return `(${prefix}${result})`; + } + return result; + }; + var toRange = (a2, b, isNumbers, options) => { + if (isNumbers) { + return toRegexRange(a2, b, { wrap: false, ...options }); + } + let start2 = String.fromCharCode(a2); + if (a2 === b) + return start2; + let stop = String.fromCharCode(b); + return `[${start2}-${stop}]`; + }; + var toRegex = (start2, end, options) => { + if (Array.isArray(start2)) { + let wrap = options.wrap === true; + let prefix = options.capture ? "" : "?:"; + return wrap ? `(${prefix}${start2.join("|")})` : start2.join("|"); + } + return toRegexRange(start2, end, options); + }; + var rangeError = (...args) => { + return new RangeError("Invalid range arguments: " + util.inspect(...args)); + }; + var invalidRange = (start2, end, options) => { + if (options.strictRanges === true) + throw rangeError([start2, end]); + return []; + }; + var invalidStep = (step, options) => { + if (options.strictRanges === true) { + throw new TypeError(`Expected step "${step}" to be a number`); + } + return []; + }; + var fillNumbers = (start2, end, step = 1, options = {}) => { + let a2 = Number(start2); + let b = Number(end); + if (!Number.isInteger(a2) || !Number.isInteger(b)) { + if (options.strictRanges === true) + throw rangeError([start2, end]); + return []; + } + if (a2 === 0) + a2 = 0; + if (b === 0) + b = 0; + let descending = a2 > b; + let startString = String(start2); + let endString = String(end); + let stepString = String(step); + step = Math.max(Math.abs(step), 1); + let padded = zeros(startString) || zeros(endString) || zeros(stepString); + let maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0; + let toNumber = padded === false && stringify(start2, end, options) === false; + let format2 = options.transform || transform2(toNumber); + if (options.toRegex && step === 1) { + return toRange(toMaxLen(start2, maxLen), toMaxLen(end, maxLen), true, options); + } + let parts = { negatives: [], positives: [] }; + let push = (num) => parts[num < 0 ? "negatives" : "positives"].push(Math.abs(num)); + let range = []; + let index = 0; + while (descending ? a2 >= b : a2 <= b) { + if (options.toRegex === true && step > 1) { + push(a2); + } else { + range.push(pad2(format2(a2, index), maxLen, toNumber)); + } + a2 = descending ? a2 - step : a2 + step; + index++; + } + if (options.toRegex === true) { + return step > 1 ? toSequence(parts, options) : toRegex(range, null, { wrap: false, ...options }); + } + return range; + }; + var fillLetters = (start2, end, step = 1, options = {}) => { + if (!isNumber(start2) && start2.length > 1 || !isNumber(end) && end.length > 1) { + return invalidRange(start2, end, options); + } + let format2 = options.transform || ((val) => String.fromCharCode(val)); + let a2 = `${start2}`.charCodeAt(0); + let b = `${end}`.charCodeAt(0); + let descending = a2 > b; + let min = Math.min(a2, b); + let max = Math.max(a2, b); + if (options.toRegex && step === 1) { + return toRange(min, max, false, options); + } + let range = []; + let index = 0; + while (descending ? a2 >= b : a2 <= b) { + range.push(format2(a2, index)); + a2 = descending ? a2 - step : a2 + step; + index++; + } + if (options.toRegex === true) { + return toRegex(range, null, { wrap: false, options }); + } + return range; + }; + var fill = (start2, end, step, options = {}) => { + if (end == null && isValidValue(start2)) { + return [start2]; + } + if (!isValidValue(start2) || !isValidValue(end)) { + return invalidRange(start2, end, options); + } + if (typeof step === "function") { + return fill(start2, end, 1, { transform: step }); + } + if (isObject(step)) { + return fill(start2, end, 0, step); + } + let opts = { ...options }; + if (opts.capture === true) + opts.wrap = true; + step = step || opts.step || 1; + if (!isNumber(step)) { + if (step != null && !isObject(step)) + return invalidStep(step, opts); + return fill(start2, end, 1, step); + } + if (isNumber(start2) && isNumber(end)) { + return fillNumbers(start2, end, step, opts); + } + return fillLetters(start2, end, Math.max(Math.abs(step), 1), opts); + }; + module2.exports = fill; + } +}); + +// node_modules/braces/lib/compile.js +var require_compile = __commonJS({ + "node_modules/braces/lib/compile.js"(exports2, module2) { + "use strict"; + var fill = require_fill_range(); + var utils = require_utils2(); + var compile = (ast, options = {}) => { + let walk = (node, parent = {}) => { + let invalidBlock = utils.isInvalidBrace(parent); + let invalidNode = node.invalid === true && options.escapeInvalid === true; + let invalid = invalidBlock === true || invalidNode === true; + let prefix = options.escapeInvalid === true ? "\\" : ""; + let output = ""; + if (node.isOpen === true) { + return prefix + node.value; + } + if (node.isClose === true) { + return prefix + node.value; + } + if (node.type === "open") { + return invalid ? prefix + node.value : "("; + } + if (node.type === "close") { + return invalid ? prefix + node.value : ")"; + } + if (node.type === "comma") { + return node.prev.type === "comma" ? "" : invalid ? node.value : "|"; + } + if (node.value) { + return node.value; + } + if (node.nodes && node.ranges > 0) { + let args = utils.reduce(node.nodes); + let range = fill(...args, { ...options, wrap: false, toRegex: true }); + if (range.length !== 0) { + return args.length > 1 && range.length > 1 ? `(${range})` : range; + } + } + if (node.nodes) { + for (let child of node.nodes) { + output += walk(child, node); + } + } + return output; + }; + return walk(ast); + }; + module2.exports = compile; + } +}); + +// node_modules/braces/lib/expand.js +var require_expand = __commonJS({ + "node_modules/braces/lib/expand.js"(exports2, module2) { + "use strict"; + var fill = require_fill_range(); + var stringify = require_stringify(); + var utils = require_utils2(); + var append = (queue = "", stash = "", enclose = false) => { + let result = []; + queue = [].concat(queue); + stash = [].concat(stash); + if (!stash.length) + return queue; + if (!queue.length) { + return enclose ? utils.flatten(stash).map((ele) => `{${ele}}`) : stash; + } + for (let item of queue) { + if (Array.isArray(item)) { + for (let value of item) { + result.push(append(value, stash, enclose)); + } + } else { + for (let ele of stash) { + if (enclose === true && typeof ele === "string") + ele = `{${ele}}`; + result.push(Array.isArray(ele) ? append(item, ele, enclose) : item + ele); + } + } + } + return utils.flatten(result); + }; + var expand = (ast, options = {}) => { + let rangeLimit = options.rangeLimit === void 0 ? 1e3 : options.rangeLimit; + let walk = (node, parent = {}) => { + node.queue = []; + let p2 = parent; + let q2 = parent.queue; + while (p2.type !== "brace" && p2.type !== "root" && p2.parent) { + p2 = p2.parent; + q2 = p2.queue; + } + if (node.invalid || node.dollar) { + q2.push(append(q2.pop(), stringify(node, options))); + return; + } + if (node.type === "brace" && node.invalid !== true && node.nodes.length === 2) { + q2.push(append(q2.pop(), ["{}"])); + return; + } + if (node.nodes && node.ranges > 0) { + let args = utils.reduce(node.nodes); + if (utils.exceedsLimit(...args, options.step, rangeLimit)) { + throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit."); + } + let range = fill(...args, options); + if (range.length === 0) { + range = stringify(node, options); + } + q2.push(append(q2.pop(), range)); + node.nodes = []; + return; + } + let enclose = utils.encloseBrace(node); + let queue = node.queue; + let block = node; + while (block.type !== "brace" && block.type !== "root" && block.parent) { + block = block.parent; + queue = block.queue; + } + for (let i = 0; i < node.nodes.length; i++) { + let child = node.nodes[i]; + if (child.type === "comma" && node.type === "brace") { + if (i === 1) + queue.push(""); + queue.push(""); + continue; + } + if (child.type === "close") { + q2.push(append(q2.pop(), queue, enclose)); + continue; + } + if (child.value && child.type !== "open") { + queue.push(append(queue.pop(), child.value)); + continue; + } + if (child.nodes) { + walk(child, node); + } + } + return queue; + }; + return utils.flatten(walk(ast)); + }; + module2.exports = expand; + } +}); + +// node_modules/braces/lib/constants.js +var require_constants = __commonJS({ + "node_modules/braces/lib/constants.js"(exports2, module2) { + "use strict"; + module2.exports = { + MAX_LENGTH: 1024 * 64, + CHAR_0: "0", + CHAR_9: "9", + CHAR_UPPERCASE_A: "A", + CHAR_LOWERCASE_A: "a", + CHAR_UPPERCASE_Z: "Z", + CHAR_LOWERCASE_Z: "z", + CHAR_LEFT_PARENTHESES: "(", + CHAR_RIGHT_PARENTHESES: ")", + CHAR_ASTERISK: "*", + CHAR_AMPERSAND: "&", + CHAR_AT: "@", + CHAR_BACKSLASH: "\\", + CHAR_BACKTICK: "`", + CHAR_CARRIAGE_RETURN: "\r", + CHAR_CIRCUMFLEX_ACCENT: "^", + CHAR_COLON: ":", + CHAR_COMMA: ",", + CHAR_DOLLAR: "$", + CHAR_DOT: ".", + CHAR_DOUBLE_QUOTE: '"', + CHAR_EQUAL: "=", + CHAR_EXCLAMATION_MARK: "!", + CHAR_FORM_FEED: "\f", + CHAR_FORWARD_SLASH: "/", + CHAR_HASH: "#", + CHAR_HYPHEN_MINUS: "-", + CHAR_LEFT_ANGLE_BRACKET: "<", + CHAR_LEFT_CURLY_BRACE: "{", + CHAR_LEFT_SQUARE_BRACKET: "[", + CHAR_LINE_FEED: "\n", + CHAR_NO_BREAK_SPACE: "\xA0", + CHAR_PERCENT: "%", + CHAR_PLUS: "+", + CHAR_QUESTION_MARK: "?", + CHAR_RIGHT_ANGLE_BRACKET: ">", + CHAR_RIGHT_CURLY_BRACE: "}", + CHAR_RIGHT_SQUARE_BRACKET: "]", + CHAR_SEMICOLON: ";", + CHAR_SINGLE_QUOTE: "'", + CHAR_SPACE: " ", + CHAR_TAB: " ", + CHAR_UNDERSCORE: "_", + CHAR_VERTICAL_LINE: "|", + CHAR_ZERO_WIDTH_NOBREAK_SPACE: "\uFEFF" + }; + } +}); + +// node_modules/braces/lib/parse.js +var require_parse = __commonJS({ + "node_modules/braces/lib/parse.js"(exports2, module2) { + "use strict"; + var stringify = require_stringify(); + var { + MAX_LENGTH, + CHAR_BACKSLASH, + CHAR_BACKTICK, + CHAR_COMMA, + CHAR_DOT, + CHAR_LEFT_PARENTHESES, + CHAR_RIGHT_PARENTHESES, + CHAR_LEFT_CURLY_BRACE, + CHAR_RIGHT_CURLY_BRACE, + CHAR_LEFT_SQUARE_BRACKET, + CHAR_RIGHT_SQUARE_BRACKET, + CHAR_DOUBLE_QUOTE, + CHAR_SINGLE_QUOTE, + CHAR_NO_BREAK_SPACE, + CHAR_ZERO_WIDTH_NOBREAK_SPACE + } = require_constants(); + var parse = (input, options = {}) => { + if (typeof input !== "string") { + throw new TypeError("Expected a string"); + } + let opts = options || {}; + let max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH; + if (input.length > max) { + throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`); + } + let ast = { type: "root", input, nodes: [] }; + let stack = [ast]; + let block = ast; + let prev = ast; + let brackets = 0; + let length = input.length; + let index = 0; + let depth = 0; + let value; + let memo = {}; + const advance = () => input[index++]; + const push = (node) => { + if (node.type === "text" && prev.type === "dot") { + prev.type = "text"; + } + if (prev && prev.type === "text" && node.type === "text") { + prev.value += node.value; + return; + } + block.nodes.push(node); + node.parent = block; + node.prev = prev; + prev = node; + return node; + }; + push({ type: "bos" }); + while (index < length) { + block = stack[stack.length - 1]; + value = advance(); + if (value === CHAR_ZERO_WIDTH_NOBREAK_SPACE || value === CHAR_NO_BREAK_SPACE) { + continue; + } + if (value === CHAR_BACKSLASH) { + push({ type: "text", value: (options.keepEscaping ? value : "") + advance() }); + continue; + } + if (value === CHAR_RIGHT_SQUARE_BRACKET) { + push({ type: "text", value: "\\" + value }); + continue; + } + if (value === CHAR_LEFT_SQUARE_BRACKET) { + brackets++; + let closed = true; + let next; + while (index < length && (next = advance())) { + value += next; + if (next === CHAR_LEFT_SQUARE_BRACKET) { + brackets++; + continue; + } + if (next === CHAR_BACKSLASH) { + value += advance(); + continue; + } + if (next === CHAR_RIGHT_SQUARE_BRACKET) { + brackets--; + if (brackets === 0) { + break; + } + } + } + push({ type: "text", value }); + continue; + } + if (value === CHAR_LEFT_PARENTHESES) { + block = push({ type: "paren", nodes: [] }); + stack.push(block); + push({ type: "text", value }); + continue; + } + if (value === CHAR_RIGHT_PARENTHESES) { + if (block.type !== "paren") { + push({ type: "text", value }); + continue; + } + block = stack.pop(); + push({ type: "text", value }); + block = stack[stack.length - 1]; + continue; + } + if (value === CHAR_DOUBLE_QUOTE || value === CHAR_SINGLE_QUOTE || value === CHAR_BACKTICK) { + let open = value; + let next; + if (options.keepQuotes !== true) { + value = ""; + } + while (index < length && (next = advance())) { + if (next === CHAR_BACKSLASH) { + value += next + advance(); + continue; + } + if (next === open) { + if (options.keepQuotes === true) + value += next; + break; + } + value += next; + } + push({ type: "text", value }); + continue; + } + if (value === CHAR_LEFT_CURLY_BRACE) { + depth++; + let dollar = prev.value && prev.value.slice(-1) === "$" || block.dollar === true; + let brace = { + type: "brace", + open: true, + close: false, + dollar, + depth, + commas: 0, + ranges: 0, + nodes: [] + }; + block = push(brace); + stack.push(block); + push({ type: "open", value }); + continue; + } + if (value === CHAR_RIGHT_CURLY_BRACE) { + if (block.type !== "brace") { + push({ type: "text", value }); + continue; + } + let type2 = "close"; + block = stack.pop(); + block.close = true; + push({ type: type2, value }); + depth--; + block = stack[stack.length - 1]; + continue; + } + if (value === CHAR_COMMA && depth > 0) { + if (block.ranges > 0) { + block.ranges = 0; + let open = block.nodes.shift(); + block.nodes = [open, { type: "text", value: stringify(block) }]; + } + push({ type: "comma", value }); + block.commas++; + continue; + } + if (value === CHAR_DOT && depth > 0 && block.commas === 0) { + let siblings = block.nodes; + if (depth === 0 || siblings.length === 0) { + push({ type: "text", value }); + continue; + } + if (prev.type === "dot") { + block.range = []; + prev.value += value; + prev.type = "range"; + if (block.nodes.length !== 3 && block.nodes.length !== 5) { + block.invalid = true; + block.ranges = 0; + prev.type = "text"; + continue; + } + block.ranges++; + block.args = []; + continue; + } + if (prev.type === "range") { + siblings.pop(); + let before = siblings[siblings.length - 1]; + before.value += prev.value + value; + prev = before; + block.ranges--; + continue; + } + push({ type: "dot", value }); + continue; + } + push({ type: "text", value }); + } + do { + block = stack.pop(); + if (block.type !== "root") { + block.nodes.forEach((node) => { + if (!node.nodes) { + if (node.type === "open") + node.isOpen = true; + if (node.type === "close") + node.isClose = true; + if (!node.nodes) + node.type = "text"; + node.invalid = true; + } + }); + let parent = stack[stack.length - 1]; + let index2 = parent.nodes.indexOf(block); + parent.nodes.splice(index2, 1, ...block.nodes); + } + } while (stack.length > 0); + push({ type: "eos" }); + return ast; + }; + module2.exports = parse; + } +}); + +// node_modules/braces/index.js +var require_braces = __commonJS({ + "node_modules/braces/index.js"(exports2, module2) { + "use strict"; + var stringify = require_stringify(); + var compile = require_compile(); + var expand = require_expand(); + var parse = require_parse(); + var braces = (input, options = {}) => { + let output = []; + if (Array.isArray(input)) { + for (let pattern of input) { + let result = braces.create(pattern, options); + if (Array.isArray(result)) { + output.push(...result); + } else { + output.push(result); + } + } + } else { + output = [].concat(braces.create(input, options)); + } + if (options && options.expand === true && options.nodupes === true) { + output = [...new Set(output)]; + } + return output; + }; + braces.parse = (input, options = {}) => parse(input, options); + braces.stringify = (input, options = {}) => { + if (typeof input === "string") { + return stringify(braces.parse(input, options), options); + } + return stringify(input, options); + }; + braces.compile = (input, options = {}) => { + if (typeof input === "string") { + input = braces.parse(input, options); + } + return compile(input, options); + }; + braces.expand = (input, options = {}) => { + if (typeof input === "string") { + input = braces.parse(input, options); + } + let result = expand(input, options); + if (options.noempty === true) { + result = result.filter(Boolean); + } + if (options.nodupes === true) { + result = [...new Set(result)]; + } + return result; + }; + braces.create = (input, options = {}) => { + if (input === "" || input.length < 3) { + return [input]; + } + return options.expand !== true ? braces.compile(input, options) : braces.expand(input, options); + }; + module2.exports = braces; + } +}); + +// node_modules/picomatch/lib/constants.js +var require_constants2 = __commonJS({ + "node_modules/picomatch/lib/constants.js"(exports2, module2) { + "use strict"; + var path = require("path"); + var WIN_SLASH = "\\\\/"; + var WIN_NO_SLASH = `[^${WIN_SLASH}]`; + var DOT_LITERAL = "\\."; + var PLUS_LITERAL = "\\+"; + var QMARK_LITERAL = "\\?"; + var SLASH_LITERAL = "\\/"; + var ONE_CHAR = "(?=.)"; + var QMARK = "[^/]"; + var END_ANCHOR = `(?:${SLASH_LITERAL}|$)`; + var START_ANCHOR = `(?:^|${SLASH_LITERAL})`; + var DOTS_SLASH = `${DOT_LITERAL}{1,2}${END_ANCHOR}`; + var NO_DOT = `(?!${DOT_LITERAL})`; + var NO_DOTS = `(?!${START_ANCHOR}${DOTS_SLASH})`; + var NO_DOT_SLASH = `(?!${DOT_LITERAL}{0,1}${END_ANCHOR})`; + var NO_DOTS_SLASH = `(?!${DOTS_SLASH})`; + var QMARK_NO_DOT = `[^.${SLASH_LITERAL}]`; + var STAR = `${QMARK}*?`; + var POSIX_CHARS = { + DOT_LITERAL, + PLUS_LITERAL, + QMARK_LITERAL, + SLASH_LITERAL, + ONE_CHAR, + QMARK, + END_ANCHOR, + DOTS_SLASH, + NO_DOT, + NO_DOTS, + NO_DOT_SLASH, + NO_DOTS_SLASH, + QMARK_NO_DOT, + STAR, + START_ANCHOR + }; + var WINDOWS_CHARS = { + ...POSIX_CHARS, + SLASH_LITERAL: `[${WIN_SLASH}]`, + QMARK: WIN_NO_SLASH, + STAR: `${WIN_NO_SLASH}*?`, + DOTS_SLASH: `${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$)`, + NO_DOT: `(?!${DOT_LITERAL})`, + NO_DOTS: `(?!(?:^|[${WIN_SLASH}])${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`, + NO_DOT_SLASH: `(?!${DOT_LITERAL}{0,1}(?:[${WIN_SLASH}]|$))`, + NO_DOTS_SLASH: `(?!${DOT_LITERAL}{1,2}(?:[${WIN_SLASH}]|$))`, + QMARK_NO_DOT: `[^.${WIN_SLASH}]`, + START_ANCHOR: `(?:^|[${WIN_SLASH}])`, + END_ANCHOR: `(?:[${WIN_SLASH}]|$)` + }; + var POSIX_REGEX_SOURCE = { + alnum: "a-zA-Z0-9", + alpha: "a-zA-Z", + ascii: "\\x00-\\x7F", + blank: " \\t", + cntrl: "\\x00-\\x1F\\x7F", + digit: "0-9", + graph: "\\x21-\\x7E", + lower: "a-z", + print: "\\x20-\\x7E ", + punct: "\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~", + space: " \\t\\r\\n\\v\\f", + upper: "A-Z", + word: "A-Za-z0-9_", + xdigit: "A-Fa-f0-9" + }; + module2.exports = { + MAX_LENGTH: 1024 * 64, + POSIX_REGEX_SOURCE, + REGEX_BACKSLASH: /\\(?![*+?^${}(|)[\]])/g, + REGEX_NON_SPECIAL_CHARS: /^[^@![\].,$*+?^{}()|\\/]+/, + REGEX_SPECIAL_CHARS: /[-*+?.^${}(|)[\]]/, + REGEX_SPECIAL_CHARS_BACKREF: /(\\?)((\W)(\3*))/g, + REGEX_SPECIAL_CHARS_GLOBAL: /([-*+?.^${}(|)[\]])/g, + REGEX_REMOVE_BACKSLASH: /(?:\[.*?[^\\]\]|\\(?=.))/g, + REPLACEMENTS: { + "***": "*", + "**/**": "**", + "**/**/**": "**" + }, + CHAR_0: 48, + CHAR_9: 57, + CHAR_UPPERCASE_A: 65, + CHAR_LOWERCASE_A: 97, + CHAR_UPPERCASE_Z: 90, + CHAR_LOWERCASE_Z: 122, + CHAR_LEFT_PARENTHESES: 40, + CHAR_RIGHT_PARENTHESES: 41, + CHAR_ASTERISK: 42, + CHAR_AMPERSAND: 38, + CHAR_AT: 64, + CHAR_BACKWARD_SLASH: 92, + CHAR_CARRIAGE_RETURN: 13, + CHAR_CIRCUMFLEX_ACCENT: 94, + CHAR_COLON: 58, + CHAR_COMMA: 44, + CHAR_DOT: 46, + CHAR_DOUBLE_QUOTE: 34, + CHAR_EQUAL: 61, + CHAR_EXCLAMATION_MARK: 33, + CHAR_FORM_FEED: 12, + CHAR_FORWARD_SLASH: 47, + CHAR_GRAVE_ACCENT: 96, + CHAR_HASH: 35, + CHAR_HYPHEN_MINUS: 45, + CHAR_LEFT_ANGLE_BRACKET: 60, + CHAR_LEFT_CURLY_BRACE: 123, + CHAR_LEFT_SQUARE_BRACKET: 91, + CHAR_LINE_FEED: 10, + CHAR_NO_BREAK_SPACE: 160, + CHAR_PERCENT: 37, + CHAR_PLUS: 43, + CHAR_QUESTION_MARK: 63, + CHAR_RIGHT_ANGLE_BRACKET: 62, + CHAR_RIGHT_CURLY_BRACE: 125, + CHAR_RIGHT_SQUARE_BRACKET: 93, + CHAR_SEMICOLON: 59, + CHAR_SINGLE_QUOTE: 39, + CHAR_SPACE: 32, + CHAR_TAB: 9, + CHAR_UNDERSCORE: 95, + CHAR_VERTICAL_LINE: 124, + CHAR_ZERO_WIDTH_NOBREAK_SPACE: 65279, + SEP: path.sep, + extglobChars(chars) { + return { + "!": { type: "negate", open: "(?:(?!(?:", close: `))${chars.STAR})` }, + "?": { type: "qmark", open: "(?:", close: ")?" }, + "+": { type: "plus", open: "(?:", close: ")+" }, + "*": { type: "star", open: "(?:", close: ")*" }, + "@": { type: "at", open: "(?:", close: ")" } + }; + }, + globChars(win32) { + return win32 === true ? WINDOWS_CHARS : POSIX_CHARS; + } + }; + } +}); + +// node_modules/picomatch/lib/utils.js +var require_utils3 = __commonJS({ + "node_modules/picomatch/lib/utils.js"(exports2) { + "use strict"; + var path = require("path"); + var win32 = process.platform === "win32"; + var { + REGEX_BACKSLASH, + REGEX_REMOVE_BACKSLASH, + REGEX_SPECIAL_CHARS, + REGEX_SPECIAL_CHARS_GLOBAL + } = require_constants2(); + exports2.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val); + exports2.hasRegexChars = (str) => REGEX_SPECIAL_CHARS.test(str); + exports2.isRegexChar = (str) => str.length === 1 && exports2.hasRegexChars(str); + exports2.escapeRegex = (str) => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, "\\$1"); + exports2.toPosixSlashes = (str) => str.replace(REGEX_BACKSLASH, "/"); + exports2.removeBackslashes = (str) => { + return str.replace(REGEX_REMOVE_BACKSLASH, (match) => { + return match === "\\" ? "" : match; + }); + }; + exports2.supportsLookbehinds = () => { + const segs = process.version.slice(1).split(".").map(Number); + if (segs.length === 3 && segs[0] >= 9 || segs[0] === 8 && segs[1] >= 10) { + return true; + } + return false; + }; + exports2.isWindows = (options) => { + if (options && typeof options.windows === "boolean") { + return options.windows; + } + return win32 === true || path.sep === "\\"; + }; + exports2.escapeLast = (input, char, lastIdx) => { + const idx = input.lastIndexOf(char, lastIdx); + if (idx === -1) + return input; + if (input[idx - 1] === "\\") + return exports2.escapeLast(input, char, idx - 1); + return `${input.slice(0, idx)}\\${input.slice(idx)}`; + }; + exports2.removePrefix = (input, state = {}) => { + let output = input; + if (output.startsWith("./")) { + output = output.slice(2); + state.prefix = "./"; + } + return output; + }; + exports2.wrapOutput = (input, state = {}, options = {}) => { + const prepend = options.contains ? "" : "^"; + const append = options.contains ? "" : "$"; + let output = `${prepend}(?:${input})${append}`; + if (state.negated === true) { + output = `(?:^(?!${output}).*$)`; + } + return output; + }; + } +}); + +// node_modules/picomatch/lib/scan.js +var require_scan = __commonJS({ + "node_modules/picomatch/lib/scan.js"(exports2, module2) { + "use strict"; + var utils = require_utils3(); + var { + CHAR_ASTERISK, + CHAR_AT, + CHAR_BACKWARD_SLASH, + CHAR_COMMA, + CHAR_DOT, + CHAR_EXCLAMATION_MARK, + CHAR_FORWARD_SLASH, + CHAR_LEFT_CURLY_BRACE, + CHAR_LEFT_PARENTHESES, + CHAR_LEFT_SQUARE_BRACKET, + CHAR_PLUS, + CHAR_QUESTION_MARK, + CHAR_RIGHT_CURLY_BRACE, + CHAR_RIGHT_PARENTHESES, + CHAR_RIGHT_SQUARE_BRACKET + } = require_constants2(); + var isPathSeparator = (code) => { + return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH; + }; + var depth = (token) => { + if (token.isPrefix !== true) { + token.depth = token.isGlobstar ? Infinity : 1; + } + }; + var scan = (input, options) => { + const opts = options || {}; + const length = input.length - 1; + const scanToEnd = opts.parts === true || opts.scanToEnd === true; + const slashes = []; + const tokens = []; + const parts = []; + let str = input; + let index = -1; + let start2 = 0; + let lastIndex = 0; + let isBrace = false; + let isBracket = false; + let isGlob = false; + let isExtglob = false; + let isGlobstar = false; + let braceEscaped = false; + let backslashes = false; + let negated = false; + let negatedExtglob = false; + let finished = false; + let braces = 0; + let prev; + let code; + let token = { value: "", depth: 0, isGlob: false }; + const eos = () => index >= length; + const peek = () => str.charCodeAt(index + 1); + const advance = () => { + prev = code; + return str.charCodeAt(++index); + }; + while (index < length) { + code = advance(); + let next; + if (code === CHAR_BACKWARD_SLASH) { + backslashes = token.backslashes = true; + code = advance(); + if (code === CHAR_LEFT_CURLY_BRACE) { + braceEscaped = true; + } + continue; + } + if (braceEscaped === true || code === CHAR_LEFT_CURLY_BRACE) { + braces++; + while (eos() !== true && (code = advance())) { + if (code === CHAR_BACKWARD_SLASH) { + backslashes = token.backslashes = true; + advance(); + continue; + } + if (code === CHAR_LEFT_CURLY_BRACE) { + braces++; + continue; + } + if (braceEscaped !== true && code === CHAR_DOT && (code = advance()) === CHAR_DOT) { + isBrace = token.isBrace = true; + isGlob = token.isGlob = true; + finished = true; + if (scanToEnd === true) { + continue; + } + break; + } + if (braceEscaped !== true && code === CHAR_COMMA) { + isBrace = token.isBrace = true; + isGlob = token.isGlob = true; + finished = true; + if (scanToEnd === true) { + continue; + } + break; + } + if (code === CHAR_RIGHT_CURLY_BRACE) { + braces--; + if (braces === 0) { + braceEscaped = false; + isBrace = token.isBrace = true; + finished = true; + break; + } + } + } + if (scanToEnd === true) { + continue; + } + break; + } + if (code === CHAR_FORWARD_SLASH) { + slashes.push(index); + tokens.push(token); + token = { value: "", depth: 0, isGlob: false }; + if (finished === true) + continue; + if (prev === CHAR_DOT && index === start2 + 1) { + start2 += 2; + continue; + } + lastIndex = index + 1; + continue; + } + if (opts.noext !== true) { + const isExtglobChar = code === CHAR_PLUS || code === CHAR_AT || code === CHAR_ASTERISK || code === CHAR_QUESTION_MARK || code === CHAR_EXCLAMATION_MARK; + if (isExtglobChar === true && peek() === CHAR_LEFT_PARENTHESES) { + isGlob = token.isGlob = true; + isExtglob = token.isExtglob = true; + finished = true; + if (code === CHAR_EXCLAMATION_MARK && index === start2) { + negatedExtglob = true; + } + if (scanToEnd === true) { + while (eos() !== true && (code = advance())) { + if (code === CHAR_BACKWARD_SLASH) { + backslashes = token.backslashes = true; + code = advance(); + continue; + } + if (code === CHAR_RIGHT_PARENTHESES) { + isGlob = token.isGlob = true; + finished = true; + break; + } + } + continue; + } + break; + } + } + if (code === CHAR_ASTERISK) { + if (prev === CHAR_ASTERISK) + isGlobstar = token.isGlobstar = true; + isGlob = token.isGlob = true; + finished = true; + if (scanToEnd === true) { + continue; + } + break; + } + if (code === CHAR_QUESTION_MARK) { + isGlob = token.isGlob = true; + finished = true; + if (scanToEnd === true) { + continue; + } + break; + } + if (code === CHAR_LEFT_SQUARE_BRACKET) { + while (eos() !== true && (next = advance())) { + if (next === CHAR_BACKWARD_SLASH) { + backslashes = token.backslashes = true; + advance(); + continue; + } + if (next === CHAR_RIGHT_SQUARE_BRACKET) { + isBracket = token.isBracket = true; + isGlob = token.isGlob = true; + finished = true; + break; + } + } + if (scanToEnd === true) { + continue; + } + break; + } + if (opts.nonegate !== true && code === CHAR_EXCLAMATION_MARK && index === start2) { + negated = token.negated = true; + start2++; + continue; + } + if (opts.noparen !== true && code === CHAR_LEFT_PARENTHESES) { + isGlob = token.isGlob = true; + if (scanToEnd === true) { + while (eos() !== true && (code = advance())) { + if (code === CHAR_LEFT_PARENTHESES) { + backslashes = token.backslashes = true; + code = advance(); + continue; + } + if (code === CHAR_RIGHT_PARENTHESES) { + finished = true; + break; + } + } + continue; + } + break; + } + if (isGlob === true) { + finished = true; + if (scanToEnd === true) { + continue; + } + break; + } + } + if (opts.noext === true) { + isExtglob = false; + isGlob = false; + } + let base = str; + let prefix = ""; + let glob = ""; + if (start2 > 0) { + prefix = str.slice(0, start2); + str = str.slice(start2); + lastIndex -= start2; + } + if (base && isGlob === true && lastIndex > 0) { + base = str.slice(0, lastIndex); + glob = str.slice(lastIndex); + } else if (isGlob === true) { + base = ""; + glob = str; + } else { + base = str; + } + if (base && base !== "" && base !== "/" && base !== str) { + if (isPathSeparator(base.charCodeAt(base.length - 1))) { + base = base.slice(0, -1); + } + } + if (opts.unescape === true) { + if (glob) + glob = utils.removeBackslashes(glob); + if (base && backslashes === true) { + base = utils.removeBackslashes(base); + } + } + const state = { + prefix, + input, + start: start2, + base, + glob, + isBrace, + isBracket, + isGlob, + isExtglob, + isGlobstar, + negated, + negatedExtglob + }; + if (opts.tokens === true) { + state.maxDepth = 0; + if (!isPathSeparator(code)) { + tokens.push(token); + } + state.tokens = tokens; + } + if (opts.parts === true || opts.tokens === true) { + let prevIndex; + for (let idx = 0; idx < slashes.length; idx++) { + const n2 = prevIndex ? prevIndex + 1 : start2; + const i = slashes[idx]; + const value = input.slice(n2, i); + if (opts.tokens) { + if (idx === 0 && start2 !== 0) { + tokens[idx].isPrefix = true; + tokens[idx].value = prefix; + } else { + tokens[idx].value = value; + } + depth(tokens[idx]); + state.maxDepth += tokens[idx].depth; + } + if (idx !== 0 || value !== "") { + parts.push(value); + } + prevIndex = i; + } + if (prevIndex && prevIndex + 1 < input.length) { + const value = input.slice(prevIndex + 1); + parts.push(value); + if (opts.tokens) { + tokens[tokens.length - 1].value = value; + depth(tokens[tokens.length - 1]); + state.maxDepth += tokens[tokens.length - 1].depth; + } + } + state.slashes = slashes; + state.parts = parts; + } + return state; + }; + module2.exports = scan; + } +}); + +// node_modules/picomatch/lib/parse.js +var require_parse2 = __commonJS({ + "node_modules/picomatch/lib/parse.js"(exports2, module2) { + "use strict"; + var constants2 = require_constants2(); + var utils = require_utils3(); + var { + MAX_LENGTH, + POSIX_REGEX_SOURCE, + REGEX_NON_SPECIAL_CHARS, + REGEX_SPECIAL_CHARS_BACKREF, + REPLACEMENTS + } = constants2; + var expandRange = (args, options) => { + if (typeof options.expandRange === "function") { + return options.expandRange(...args, options); + } + args.sort(); + const value = `[${args.join("-")}]`; + try { + new RegExp(value); + } catch (ex2) { + return args.map((v2) => utils.escapeRegex(v2)).join(".."); + } + return value; + }; + var syntaxError = (type2, char) => { + return `Missing ${type2}: "${char}" - use "\\\\${char}" to match literal characters`; + }; + var parse = (input, options) => { + if (typeof input !== "string") { + throw new TypeError("Expected a string"); + } + input = REPLACEMENTS[input] || input; + const opts = { ...options }; + const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH; + let len = input.length; + if (len > max) { + throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`); + } + const bos = { type: "bos", value: "", output: opts.prepend || "" }; + const tokens = [bos]; + const capture = opts.capture ? "" : "?:"; + const win32 = utils.isWindows(options); + const PLATFORM_CHARS = constants2.globChars(win32); + const EXTGLOB_CHARS = constants2.extglobChars(PLATFORM_CHARS); + const { + DOT_LITERAL, + PLUS_LITERAL, + SLASH_LITERAL, + ONE_CHAR, + DOTS_SLASH, + NO_DOT, + NO_DOT_SLASH, + NO_DOTS_SLASH, + QMARK, + QMARK_NO_DOT, + STAR, + START_ANCHOR + } = PLATFORM_CHARS; + const globstar = (opts2) => { + return `(${capture}(?:(?!${START_ANCHOR}${opts2.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`; + }; + const nodot = opts.dot ? "" : NO_DOT; + const qmarkNoDot = opts.dot ? QMARK : QMARK_NO_DOT; + let star = opts.bash === true ? globstar(opts) : STAR; + if (opts.capture) { + star = `(${star})`; + } + if (typeof opts.noext === "boolean") { + opts.noextglob = opts.noext; + } + const state = { + input, + index: -1, + start: 0, + dot: opts.dot === true, + consumed: "", + output: "", + prefix: "", + backtrack: false, + negated: false, + brackets: 0, + braces: 0, + parens: 0, + quotes: 0, + globstar: false, + tokens + }; + input = utils.removePrefix(input, state); + len = input.length; + const extglobs = []; + const braces = []; + const stack = []; + let prev = bos; + let value; + const eos = () => state.index === len - 1; + const peek = state.peek = (n2 = 1) => input[state.index + n2]; + const advance = state.advance = () => input[++state.index] || ""; + const remaining = () => input.slice(state.index + 1); + const consume = (value2 = "", num = 0) => { + state.consumed += value2; + state.index += num; + }; + const append = (token) => { + state.output += token.output != null ? token.output : token.value; + consume(token.value); + }; + const negate = () => { + let count2 = 1; + while (peek() === "!" && (peek(2) !== "(" || peek(3) === "?")) { + advance(); + state.start++; + count2++; + } + if (count2 % 2 === 0) { + return false; + } + state.negated = true; + state.start++; + return true; + }; + const increment = (type2) => { + state[type2]++; + stack.push(type2); + }; + const decrement = (type2) => { + state[type2]--; + stack.pop(); + }; + const push = (tok) => { + if (prev.type === "globstar") { + const isBrace = state.braces > 0 && (tok.type === "comma" || tok.type === "brace"); + const isExtglob = tok.extglob === true || extglobs.length && (tok.type === "pipe" || tok.type === "paren"); + if (tok.type !== "slash" && tok.type !== "paren" && !isBrace && !isExtglob) { + state.output = state.output.slice(0, -prev.output.length); + prev.type = "star"; + prev.value = "*"; + prev.output = star; + state.output += prev.output; + } + } + if (extglobs.length && tok.type !== "paren") { + extglobs[extglobs.length - 1].inner += tok.value; + } + if (tok.value || tok.output) + append(tok); + if (prev && prev.type === "text" && tok.type === "text") { + prev.value += tok.value; + prev.output = (prev.output || "") + tok.value; + return; + } + tok.prev = prev; + tokens.push(tok); + prev = tok; + }; + const extglobOpen = (type2, value2) => { + const token = { ...EXTGLOB_CHARS[value2], conditions: 1, inner: "" }; + token.prev = prev; + token.parens = state.parens; + token.output = state.output; + const output = (opts.capture ? "(" : "") + token.open; + increment("parens"); + push({ type: type2, value: value2, output: state.output ? "" : ONE_CHAR }); + push({ type: "paren", extglob: true, value: advance(), output }); + extglobs.push(token); + }; + const extglobClose = (token) => { + let output = token.close + (opts.capture ? ")" : ""); + let rest2; + if (token.type === "negate") { + let extglobStar = star; + if (token.inner && token.inner.length > 1 && token.inner.includes("/")) { + extglobStar = globstar(opts); + } + if (extglobStar !== star || eos() || /^\)+$/.test(remaining())) { + output = token.close = `)$))${extglobStar}`; + } + if (token.inner.includes("*") && (rest2 = remaining()) && /^\.[^\\/.]+$/.test(rest2)) { + output = token.close = `)${rest2})${extglobStar})`; + } + if (token.prev.type === "bos") { + state.negatedExtglob = true; + } + } + push({ type: "paren", extglob: true, value, output }); + decrement("parens"); + }; + if (opts.fastpaths !== false && !/(^[*!]|[/()[\]{}"])/.test(input)) { + let backslashes = false; + let output = input.replace(REGEX_SPECIAL_CHARS_BACKREF, (m4, esc, chars, first, rest2, index) => { + if (first === "\\") { + backslashes = true; + return m4; + } + if (first === "?") { + if (esc) { + return esc + first + (rest2 ? QMARK.repeat(rest2.length) : ""); + } + if (index === 0) { + return qmarkNoDot + (rest2 ? QMARK.repeat(rest2.length) : ""); + } + return QMARK.repeat(chars.length); + } + if (first === ".") { + return DOT_LITERAL.repeat(chars.length); + } + if (first === "*") { + if (esc) { + return esc + first + (rest2 ? star : ""); + } + return star; + } + return esc ? m4 : `\\${m4}`; + }); + if (backslashes === true) { + if (opts.unescape === true) { + output = output.replace(/\\/g, ""); + } else { + output = output.replace(/\\+/g, (m4) => { + return m4.length % 2 === 0 ? "\\\\" : m4 ? "\\" : ""; + }); + } + } + if (output === input && opts.contains === true) { + state.output = input; + return state; + } + state.output = utils.wrapOutput(output, state, options); + return state; + } + while (!eos()) { + value = advance(); + if (value === "\0") { + continue; + } + if (value === "\\") { + const next = peek(); + if (next === "/" && opts.bash !== true) { + continue; + } + if (next === "." || next === ";") { + continue; + } + if (!next) { + value += "\\"; + push({ type: "text", value }); + continue; + } + const match = /^\\+/.exec(remaining()); + let slashes = 0; + if (match && match[0].length > 2) { + slashes = match[0].length; + state.index += slashes; + if (slashes % 2 !== 0) { + value += "\\"; + } + } + if (opts.unescape === true) { + value = advance(); + } else { + value += advance(); + } + if (state.brackets === 0) { + push({ type: "text", value }); + continue; + } + } + if (state.brackets > 0 && (value !== "]" || prev.value === "[" || prev.value === "[^")) { + if (opts.posix !== false && value === ":") { + const inner = prev.value.slice(1); + if (inner.includes("[")) { + prev.posix = true; + if (inner.includes(":")) { + const idx = prev.value.lastIndexOf("["); + const pre = prev.value.slice(0, idx); + const rest3 = prev.value.slice(idx + 2); + const posix = POSIX_REGEX_SOURCE[rest3]; + if (posix) { + prev.value = pre + posix; + state.backtrack = true; + advance(); + if (!bos.output && tokens.indexOf(prev) === 1) { + bos.output = ONE_CHAR; + } + continue; + } + } + } + } + if (value === "[" && peek() !== ":" || value === "-" && peek() === "]") { + value = `\\${value}`; + } + if (value === "]" && (prev.value === "[" || prev.value === "[^")) { + value = `\\${value}`; + } + if (opts.posix === true && value === "!" && prev.value === "[") { + value = "^"; + } + prev.value += value; + append({ value }); + continue; + } + if (state.quotes === 1 && value !== '"') { + value = utils.escapeRegex(value); + prev.value += value; + append({ value }); + continue; + } + if (value === '"') { + state.quotes = state.quotes === 1 ? 0 : 1; + if (opts.keepQuotes === true) { + push({ type: "text", value }); + } + continue; + } + if (value === "(") { + increment("parens"); + push({ type: "paren", value }); + continue; + } + if (value === ")") { + if (state.parens === 0 && opts.strictBrackets === true) { + throw new SyntaxError(syntaxError("opening", "(")); + } + const extglob = extglobs[extglobs.length - 1]; + if (extglob && state.parens === extglob.parens + 1) { + extglobClose(extglobs.pop()); + continue; + } + push({ type: "paren", value, output: state.parens ? ")" : "\\)" }); + decrement("parens"); + continue; + } + if (value === "[") { + if (opts.nobracket === true || !remaining().includes("]")) { + if (opts.nobracket !== true && opts.strictBrackets === true) { + throw new SyntaxError(syntaxError("closing", "]")); + } + value = `\\${value}`; + } else { + increment("brackets"); + } + push({ type: "bracket", value }); + continue; + } + if (value === "]") { + if (opts.nobracket === true || prev && prev.type === "bracket" && prev.value.length === 1) { + push({ type: "text", value, output: `\\${value}` }); + continue; + } + if (state.brackets === 0) { + if (opts.strictBrackets === true) { + throw new SyntaxError(syntaxError("opening", "[")); + } + push({ type: "text", value, output: `\\${value}` }); + continue; + } + decrement("brackets"); + const prevValue = prev.value.slice(1); + if (prev.posix !== true && prevValue[0] === "^" && !prevValue.includes("/")) { + value = `/${value}`; + } + prev.value += value; + append({ value }); + if (opts.literalBrackets === false || utils.hasRegexChars(prevValue)) { + continue; + } + const escaped = utils.escapeRegex(prev.value); + state.output = state.output.slice(0, -prev.value.length); + if (opts.literalBrackets === true) { + state.output += escaped; + prev.value = escaped; + continue; + } + prev.value = `(${capture}${escaped}|${prev.value})`; + state.output += prev.value; + continue; + } + if (value === "{" && opts.nobrace !== true) { + increment("braces"); + const open = { + type: "brace", + value, + output: "(", + outputIndex: state.output.length, + tokensIndex: state.tokens.length + }; + braces.push(open); + push(open); + continue; + } + if (value === "}") { + const brace = braces[braces.length - 1]; + if (opts.nobrace === true || !brace) { + push({ type: "text", value, output: value }); + continue; + } + let output = ")"; + if (brace.dots === true) { + const arr = tokens.slice(); + const range = []; + for (let i = arr.length - 1; i >= 0; i--) { + tokens.pop(); + if (arr[i].type === "brace") { + break; + } + if (arr[i].type !== "dots") { + range.unshift(arr[i].value); + } + } + output = expandRange(range, opts); + state.backtrack = true; + } + if (brace.comma !== true && brace.dots !== true) { + const out = state.output.slice(0, brace.outputIndex); + const toks = state.tokens.slice(brace.tokensIndex); + brace.value = brace.output = "\\{"; + value = output = "\\}"; + state.output = out; + for (const t2 of toks) { + state.output += t2.output || t2.value; + } + } + push({ type: "brace", value, output }); + decrement("braces"); + braces.pop(); + continue; + } + if (value === "|") { + if (extglobs.length > 0) { + extglobs[extglobs.length - 1].conditions++; + } + push({ type: "text", value }); + continue; + } + if (value === ",") { + let output = value; + const brace = braces[braces.length - 1]; + if (brace && stack[stack.length - 1] === "braces") { + brace.comma = true; + output = "|"; + } + push({ type: "comma", value, output }); + continue; + } + if (value === "/") { + if (prev.type === "dot" && state.index === state.start + 1) { + state.start = state.index + 1; + state.consumed = ""; + state.output = ""; + tokens.pop(); + prev = bos; + continue; + } + push({ type: "slash", value, output: SLASH_LITERAL }); + continue; + } + if (value === ".") { + if (state.braces > 0 && prev.type === "dot") { + if (prev.value === ".") + prev.output = DOT_LITERAL; + const brace = braces[braces.length - 1]; + prev.type = "dots"; + prev.output += value; + prev.value += value; + brace.dots = true; + continue; + } + if (state.braces + state.parens === 0 && prev.type !== "bos" && prev.type !== "slash") { + push({ type: "text", value, output: DOT_LITERAL }); + continue; + } + push({ type: "dot", value, output: DOT_LITERAL }); + continue; + } + if (value === "?") { + const isGroup = prev && prev.value === "("; + if (!isGroup && opts.noextglob !== true && peek() === "(" && peek(2) !== "?") { + extglobOpen("qmark", value); + continue; + } + if (prev && prev.type === "paren") { + const next = peek(); + let output = value; + if (next === "<" && !utils.supportsLookbehinds()) { + throw new Error("Node.js v10 or higher is required for regex lookbehinds"); + } + if (prev.value === "(" && !/[!=<:]/.test(next) || next === "<" && !/<([!=]|\w+>)/.test(remaining())) { + output = `\\${value}`; + } + push({ type: "text", value, output }); + continue; + } + if (opts.dot !== true && (prev.type === "slash" || prev.type === "bos")) { + push({ type: "qmark", value, output: QMARK_NO_DOT }); + continue; + } + push({ type: "qmark", value, output: QMARK }); + continue; + } + if (value === "!") { + if (opts.noextglob !== true && peek() === "(") { + if (peek(2) !== "?" || !/[!=<:]/.test(peek(3))) { + extglobOpen("negate", value); + continue; + } + } + if (opts.nonegate !== true && state.index === 0) { + negate(); + continue; + } + } + if (value === "+") { + if (opts.noextglob !== true && peek() === "(" && peek(2) !== "?") { + extglobOpen("plus", value); + continue; + } + if (prev && prev.value === "(" || opts.regex === false) { + push({ type: "plus", value, output: PLUS_LITERAL }); + continue; + } + if (prev && (prev.type === "bracket" || prev.type === "paren" || prev.type === "brace") || state.parens > 0) { + push({ type: "plus", value }); + continue; + } + push({ type: "plus", value: PLUS_LITERAL }); + continue; + } + if (value === "@") { + if (opts.noextglob !== true && peek() === "(" && peek(2) !== "?") { + push({ type: "at", extglob: true, value, output: "" }); + continue; + } + push({ type: "text", value }); + continue; + } + if (value !== "*") { + if (value === "$" || value === "^") { + value = `\\${value}`; + } + const match = REGEX_NON_SPECIAL_CHARS.exec(remaining()); + if (match) { + value += match[0]; + state.index += match[0].length; + } + push({ type: "text", value }); + continue; + } + if (prev && (prev.type === "globstar" || prev.star === true)) { + prev.type = "star"; + prev.star = true; + prev.value += value; + prev.output = star; + state.backtrack = true; + state.globstar = true; + consume(value); + continue; + } + let rest2 = remaining(); + if (opts.noextglob !== true && /^\([^?]/.test(rest2)) { + extglobOpen("star", value); + continue; + } + if (prev.type === "star") { + if (opts.noglobstar === true) { + consume(value); + continue; + } + const prior = prev.prev; + const before = prior.prev; + const isStart = prior.type === "slash" || prior.type === "bos"; + const afterStar = before && (before.type === "star" || before.type === "globstar"); + if (opts.bash === true && (!isStart || rest2[0] && rest2[0] !== "/")) { + push({ type: "star", value, output: "" }); + continue; + } + const isBrace = state.braces > 0 && (prior.type === "comma" || prior.type === "brace"); + const isExtglob = extglobs.length && (prior.type === "pipe" || prior.type === "paren"); + if (!isStart && prior.type !== "paren" && !isBrace && !isExtglob) { + push({ type: "star", value, output: "" }); + continue; + } + while (rest2.slice(0, 3) === "/**") { + const after = input[state.index + 4]; + if (after && after !== "/") { + break; + } + rest2 = rest2.slice(3); + consume("/**", 3); + } + if (prior.type === "bos" && eos()) { + prev.type = "globstar"; + prev.value += value; + prev.output = globstar(opts); + state.output = prev.output; + state.globstar = true; + consume(value); + continue; + } + if (prior.type === "slash" && prior.prev.type !== "bos" && !afterStar && eos()) { + state.output = state.output.slice(0, -(prior.output + prev.output).length); + prior.output = `(?:${prior.output}`; + prev.type = "globstar"; + prev.output = globstar(opts) + (opts.strictSlashes ? ")" : "|$)"); + prev.value += value; + state.globstar = true; + state.output += prior.output + prev.output; + consume(value); + continue; + } + if (prior.type === "slash" && prior.prev.type !== "bos" && rest2[0] === "/") { + const end = rest2[1] !== void 0 ? "|$" : ""; + state.output = state.output.slice(0, -(prior.output + prev.output).length); + prior.output = `(?:${prior.output}`; + prev.type = "globstar"; + prev.output = `${globstar(opts)}${SLASH_LITERAL}|${SLASH_LITERAL}${end})`; + prev.value += value; + state.output += prior.output + prev.output; + state.globstar = true; + consume(value + advance()); + push({ type: "slash", value: "/", output: "" }); + continue; + } + if (prior.type === "bos" && rest2[0] === "/") { + prev.type = "globstar"; + prev.value += value; + prev.output = `(?:^|${SLASH_LITERAL}|${globstar(opts)}${SLASH_LITERAL})`; + state.output = prev.output; + state.globstar = true; + consume(value + advance()); + push({ type: "slash", value: "/", output: "" }); + continue; + } + state.output = state.output.slice(0, -prev.output.length); + prev.type = "globstar"; + prev.output = globstar(opts); + prev.value += value; + state.output += prev.output; + state.globstar = true; + consume(value); + continue; + } + const token = { type: "star", value, output: star }; + if (opts.bash === true) { + token.output = ".*?"; + if (prev.type === "bos" || prev.type === "slash") { + token.output = nodot + token.output; + } + push(token); + continue; + } + if (prev && (prev.type === "bracket" || prev.type === "paren") && opts.regex === true) { + token.output = value; + push(token); + continue; + } + if (state.index === state.start || prev.type === "slash" || prev.type === "dot") { + if (prev.type === "dot") { + state.output += NO_DOT_SLASH; + prev.output += NO_DOT_SLASH; + } else if (opts.dot === true) { + state.output += NO_DOTS_SLASH; + prev.output += NO_DOTS_SLASH; + } else { + state.output += nodot; + prev.output += nodot; + } + if (peek() !== "*") { + state.output += ONE_CHAR; + prev.output += ONE_CHAR; + } + } + push(token); + } + while (state.brackets > 0) { + if (opts.strictBrackets === true) + throw new SyntaxError(syntaxError("closing", "]")); + state.output = utils.escapeLast(state.output, "["); + decrement("brackets"); + } + while (state.parens > 0) { + if (opts.strictBrackets === true) + throw new SyntaxError(syntaxError("closing", ")")); + state.output = utils.escapeLast(state.output, "("); + decrement("parens"); + } + while (state.braces > 0) { + if (opts.strictBrackets === true) + throw new SyntaxError(syntaxError("closing", "}")); + state.output = utils.escapeLast(state.output, "{"); + decrement("braces"); + } + if (opts.strictSlashes !== true && (prev.type === "star" || prev.type === "bracket")) { + push({ type: "maybe_slash", value: "", output: `${SLASH_LITERAL}?` }); + } + if (state.backtrack === true) { + state.output = ""; + for (const token of state.tokens) { + state.output += token.output != null ? token.output : token.value; + if (token.suffix) { + state.output += token.suffix; + } + } + } + return state; + }; + parse.fastpaths = (input, options) => { + const opts = { ...options }; + const max = typeof opts.maxLength === "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH; + const len = input.length; + if (len > max) { + throw new SyntaxError(`Input length: ${len}, exceeds maximum allowed length: ${max}`); + } + input = REPLACEMENTS[input] || input; + const win32 = utils.isWindows(options); + const { + DOT_LITERAL, + SLASH_LITERAL, + ONE_CHAR, + DOTS_SLASH, + NO_DOT, + NO_DOTS, + NO_DOTS_SLASH, + STAR, + START_ANCHOR + } = constants2.globChars(win32); + const nodot = opts.dot ? NO_DOTS : NO_DOT; + const slashDot = opts.dot ? NO_DOTS_SLASH : NO_DOT; + const capture = opts.capture ? "" : "?:"; + const state = { negated: false, prefix: "" }; + let star = opts.bash === true ? ".*?" : STAR; + if (opts.capture) { + star = `(${star})`; + } + const globstar = (opts2) => { + if (opts2.noglobstar === true) + return star; + return `(${capture}(?:(?!${START_ANCHOR}${opts2.dot ? DOTS_SLASH : DOT_LITERAL}).)*?)`; + }; + const create2 = (str) => { + switch (str) { + case "*": + return `${nodot}${ONE_CHAR}${star}`; + case ".*": + return `${DOT_LITERAL}${ONE_CHAR}${star}`; + case "*.*": + return `${nodot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`; + case "*/*": + return `${nodot}${star}${SLASH_LITERAL}${ONE_CHAR}${slashDot}${star}`; + case "**": + return nodot + globstar(opts); + case "**/*": + return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${ONE_CHAR}${star}`; + case "**/*.*": + return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${slashDot}${star}${DOT_LITERAL}${ONE_CHAR}${star}`; + case "**/.*": + return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`; + default: { + const match = /^(.*?)\.(\w+)$/.exec(str); + if (!match) + return; + const source2 = create2(match[1]); + if (!source2) + return; + return source2 + DOT_LITERAL + match[2]; + } + } + }; + const output = utils.removePrefix(input, state); + let source = create2(output); + if (source && opts.strictSlashes !== true) { + source += `${SLASH_LITERAL}?`; + } + return source; + }; + module2.exports = parse; + } +}); + +// node_modules/picomatch/lib/picomatch.js +var require_picomatch = __commonJS({ + "node_modules/picomatch/lib/picomatch.js"(exports2, module2) { + "use strict"; + var path = require("path"); + var scan = require_scan(); + var parse = require_parse2(); + var utils = require_utils3(); + var constants2 = require_constants2(); + var isObject = (val) => val && typeof val === "object" && !Array.isArray(val); + var picomatch = (glob, options, returnState = false) => { + if (Array.isArray(glob)) { + const fns = glob.map((input) => picomatch(input, options, returnState)); + const arrayMatcher = (str) => { + for (const isMatch2 of fns) { + const state2 = isMatch2(str); + if (state2) + return state2; + } + return false; + }; + return arrayMatcher; + } + const isState = isObject(glob) && glob.tokens && glob.input; + if (glob === "" || typeof glob !== "string" && !isState) { + throw new TypeError("Expected pattern to be a non-empty string"); + } + const opts = options || {}; + const posix = utils.isWindows(options); + const regex2 = isState ? picomatch.compileRe(glob, options) : picomatch.makeRe(glob, options, false, true); + const state = regex2.state; + delete regex2.state; + let isIgnored = () => false; + if (opts.ignore) { + const ignoreOpts = { ...options, ignore: null, onMatch: null, onResult: null }; + isIgnored = picomatch(opts.ignore, ignoreOpts, returnState); + } + const matcher = (input, returnObject = false) => { + const { isMatch: isMatch2, match, output } = picomatch.test(input, regex2, options, { glob, posix }); + const result = { glob, state, regex: regex2, posix, input, output, match, isMatch: isMatch2 }; + if (typeof opts.onResult === "function") { + opts.onResult(result); + } + if (isMatch2 === false) { + result.isMatch = false; + return returnObject ? result : false; + } + if (isIgnored(input)) { + if (typeof opts.onIgnore === "function") { + opts.onIgnore(result); + } + result.isMatch = false; + return returnObject ? result : false; + } + if (typeof opts.onMatch === "function") { + opts.onMatch(result); + } + return returnObject ? result : true; + }; + if (returnState) { + matcher.state = state; + } + return matcher; + }; + picomatch.test = (input, regex2, options, { glob, posix } = {}) => { + if (typeof input !== "string") { + throw new TypeError("Expected input to be a string"); + } + if (input === "") { + return { isMatch: false, output: "" }; + } + const opts = options || {}; + const format2 = opts.format || (posix ? utils.toPosixSlashes : null); + let match = input === glob; + let output = match && format2 ? format2(input) : input; + if (match === false) { + output = format2 ? format2(input) : input; + match = output === glob; + } + if (match === false || opts.capture === true) { + if (opts.matchBase === true || opts.basename === true) { + match = picomatch.matchBase(input, regex2, options, posix); + } else { + match = regex2.exec(output); + } + } + return { isMatch: Boolean(match), match, output }; + }; + picomatch.matchBase = (input, glob, options, posix = utils.isWindows(options)) => { + const regex2 = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options); + return regex2.test(path.basename(input)); + }; + picomatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str); + picomatch.parse = (pattern, options) => { + if (Array.isArray(pattern)) + return pattern.map((p2) => picomatch.parse(p2, options)); + return parse(pattern, { ...options, fastpaths: false }); + }; + picomatch.scan = (input, options) => scan(input, options); + picomatch.compileRe = (state, options, returnOutput = false, returnState = false) => { + if (returnOutput === true) { + return state.output; + } + const opts = options || {}; + const prepend = opts.contains ? "" : "^"; + const append = opts.contains ? "" : "$"; + let source = `${prepend}(?:${state.output})${append}`; + if (state && state.negated === true) { + source = `^(?!${source}).*$`; + } + const regex2 = picomatch.toRegex(source, options); + if (returnState === true) { + regex2.state = state; + } + return regex2; + }; + picomatch.makeRe = (input, options = {}, returnOutput = false, returnState = false) => { + if (!input || typeof input !== "string") { + throw new TypeError("Expected a non-empty string"); + } + let parsed = { negated: false, fastpaths: true }; + if (options.fastpaths !== false && (input[0] === "." || input[0] === "*")) { + parsed.output = parse.fastpaths(input, options); + } + if (!parsed.output) { + parsed = parse(input, options); + } + return picomatch.compileRe(parsed, options, returnOutput, returnState); + }; + picomatch.toRegex = (source, options) => { + try { + const opts = options || {}; + return new RegExp(source, opts.flags || (opts.nocase ? "i" : "")); + } catch (err) { + if (options && options.debug === true) + throw err; + return /$^/; + } + }; + picomatch.constants = constants2; + module2.exports = picomatch; + } +}); + +// node_modules/picomatch/index.js +var require_picomatch2 = __commonJS({ + "node_modules/picomatch/index.js"(exports2, module2) { + "use strict"; + module2.exports = require_picomatch(); + } +}); + +// node_modules/micromatch/index.js +var require_micromatch = __commonJS({ + "node_modules/micromatch/index.js"(exports2, module2) { + "use strict"; + var util = require("util"); + var braces = require_braces(); + var picomatch = require_picomatch2(); + var utils = require_utils3(); + var isEmptyString = (val) => val === "" || val === "./"; + var micromatch = (list, patterns, options) => { + patterns = [].concat(patterns); + list = [].concat(list); + let omit = new Set(); + let keep = new Set(); + let items = new Set(); + let negatives = 0; + let onResult = (state) => { + items.add(state.output); + if (options && options.onResult) { + options.onResult(state); + } + }; + for (let i = 0; i < patterns.length; i++) { + let isMatch2 = picomatch(String(patterns[i]), { ...options, onResult }, true); + let negated = isMatch2.state.negated || isMatch2.state.negatedExtglob; + if (negated) + negatives++; + for (let item of list) { + let matched = isMatch2(item, true); + let match = negated ? !matched.isMatch : matched.isMatch; + if (!match) + continue; + if (negated) { + omit.add(matched.output); + } else { + omit.delete(matched.output); + keep.add(matched.output); + } + } + } + let result = negatives === patterns.length ? [...items] : [...keep]; + let matches = result.filter((item) => !omit.has(item)); + if (options && matches.length === 0) { + if (options.failglob === true) { + throw new Error(`No matches found for "${patterns.join(", ")}"`); + } + if (options.nonull === true || options.nullglob === true) { + return options.unescape ? patterns.map((p2) => p2.replace(/\\/g, "")) : patterns; + } + } + return matches; + }; + micromatch.match = micromatch; + micromatch.matcher = (pattern, options) => picomatch(pattern, options); + micromatch.isMatch = (str, patterns, options) => picomatch(patterns, options)(str); + micromatch.any = micromatch.isMatch; + micromatch.not = (list, patterns, options = {}) => { + patterns = [].concat(patterns).map(String); + let result = new Set(); + let items = []; + let onResult = (state) => { + if (options.onResult) + options.onResult(state); + items.push(state.output); + }; + let matches = micromatch(list, patterns, { ...options, onResult }); + for (let item of items) { + if (!matches.includes(item)) { + result.add(item); + } + } + return [...result]; + }; + micromatch.contains = (str, pattern, options) => { + if (typeof str !== "string") { + throw new TypeError(`Expected a string: "${util.inspect(str)}"`); + } + if (Array.isArray(pattern)) { + return pattern.some((p2) => micromatch.contains(str, p2, options)); + } + if (typeof pattern === "string") { + if (isEmptyString(str) || isEmptyString(pattern)) { + return false; + } + if (str.includes(pattern) || str.startsWith("./") && str.slice(2).includes(pattern)) { + return true; + } + } + return micromatch.isMatch(str, pattern, { ...options, contains: true }); + }; + micromatch.matchKeys = (obj, patterns, options) => { + if (!utils.isObject(obj)) { + throw new TypeError("Expected the first argument to be an object"); + } + let keys = micromatch(Object.keys(obj), patterns, options); + let res2 = {}; + for (let key of keys) + res2[key] = obj[key]; + return res2; + }; + micromatch.some = (list, patterns, options) => { + let items = [].concat(list); + for (let pattern of [].concat(patterns)) { + let isMatch2 = picomatch(String(pattern), options); + if (items.some((item) => isMatch2(item))) { + return true; + } + } + return false; + }; + micromatch.every = (list, patterns, options) => { + let items = [].concat(list); + for (let pattern of [].concat(patterns)) { + let isMatch2 = picomatch(String(pattern), options); + if (!items.every((item) => isMatch2(item))) { + return false; + } + } + return true; + }; + micromatch.all = (str, patterns, options) => { + if (typeof str !== "string") { + throw new TypeError(`Expected a string: "${util.inspect(str)}"`); + } + return [].concat(patterns).every((p2) => picomatch(p2, options)(str)); + }; + micromatch.capture = (glob, input, options) => { + let posix = utils.isWindows(options); + let regex2 = picomatch.makeRe(String(glob), { ...options, capture: true }); + let match = regex2.exec(posix ? utils.toPosixSlashes(input) : input); + if (match) { + return match.slice(1).map((v2) => v2 === void 0 ? "" : v2); + } + }; + micromatch.makeRe = (...args) => picomatch.makeRe(...args); + micromatch.scan = (...args) => picomatch.scan(...args); + micromatch.parse = (patterns, options) => { + let res2 = []; + for (let pattern of [].concat(patterns || [])) { + for (let str of braces(String(pattern), options)) { + res2.push(picomatch.parse(str, options)); + } + } + return res2; + }; + micromatch.braces = (pattern, options) => { + if (typeof pattern !== "string") + throw new TypeError("Expected a string"); + if (options && options.nobrace === true || !/\{.*\}/.test(pattern)) { + return [pattern]; + } + return braces(pattern, options); + }; + micromatch.braceExpand = (pattern, options) => { + if (typeof pattern !== "string") + throw new TypeError("Expected a string"); + return micromatch.braces(pattern, { ...options, expand: true }); + }; + module2.exports = micromatch; + } +}); + // node_modules/lodash/_freeGlobal.js var require_freeGlobal = __commonJS({ "node_modules/lodash/_freeGlobal.js"(exports2, module2) { @@ -10153,13 +12817,22 @@ var import_fs2 = __toModule(require("fs")); // src/process-dir.js var import_fs = __toModule(require("fs")); -var processDir = async (rootPath, excludedPaths = []) => { +var nodePath = __toModule(require("path")); + +// src/should-exclude-path.ts +var import_micromatch = __toModule(require_micromatch()); +var shouldExcludePath = (path, pathsToIgnore, globsToIgnore) => { + return pathsToIgnore.has(path) || globsToIgnore.some((glob) => (0, import_micromatch.isMatch)(path, glob)); +}; + +// src/process-dir.js +var processDir = async (rootPath, excludedPaths = [], excludedGlobs = []) => { if (!rootPath) { console.log("no rootPath specified"); return; } const foldersToIgnore = [".git", ...excludedPaths]; - const fullPathFoldersToIgnore = foldersToIgnore.map((d2) => `${rootPath}/${d2}`); + const fullPathFoldersToIgnore = new Set(foldersToIgnore.map((d2) => nodePath.join(rootPath, d2))); const getFileStats = async (path = "") => { const stats = await import_fs.default.statSync(path); const name = path.split("/").filter(Boolean).slice(-1)[0]; @@ -10175,23 +12848,26 @@ var processDir = async (rootPath, excludedPaths = []) => { try { console.log("Looking in ", path); if (isFolder) { - const files = await import_fs.default.readdirSync(path); + const filesOrFolders = await import_fs.default.readdirSync(path); const children2 = []; - for (const file of files) { - if (fullPathFoldersToIgnore.includes(rootPath + "/" + file)) { + for (const fileOrFolder of filesOrFolders) { + const fullPath = nodePath.join(rootPath, fileOrFolder); + if (shouldExcludePath(fullPath, fullPathFoldersToIgnore, excludedGlobs)) { continue; } - const info2 = import_fs.default.statSync(path + "/" + file); - const stats2 = await addItemToTree(path + "/" + file, info2.isDirectory()); - if (stats2) - children2.push(stats2); + const info2 = import_fs.default.statSync(fullPath); + const stats3 = await addItemToTree(fullPath, info2.isDirectory()); + if (stats3) + children2.push(stats3); } - const stats = await getFileStats(path); - return { ...stats, children: children2 }; - } else { - const stats = getFileStats(path); - return stats; + const stats2 = await getFileStats(path); + return { ...stats2, children: children2 }; } + if (shouldExcludePath(path, fullPathFoldersToIgnore, excludedGlobs)) { + return null; + } + const stats = getFileStats(path); + return stats; } catch (e3) { console.log("Issue trying to read file", path, e3); return null; @@ -17914,14 +20590,16 @@ var main = async () => { `${username}@users.noreply.github.com` ]); core.endGroup(); - const rootPath = core.getInput("root_path") || "./"; + const rootPath = core.getInput("root_path") || ""; const maxDepth = core.getInput("max_depth") || 9; const colorEncoding = core.getInput("color_encoding") || "type"; const commitMessage = core.getInput("commit_message") || "Repo visualizer: updated diagram"; const excludedPathsString = core.getInput("excluded_paths") || "node_modules,bower_components,dist,out,build,eject,.next,.netlify,.yarn,.git,.vscode,package-lock.json,yarn.lock"; const excludedPaths = excludedPathsString.split(",").map((str) => str.trim()); + const excludedGlobsString = core.getInput("excluded_globs") || ""; + const excludedGlobs = excludedGlobsString.split(";"); const branch = core.getInput("branch"); - const data = await processDir(rootPath, excludedPaths); + const data = await processDir(rootPath, excludedPaths, excludedGlobs); const componentCodeString = import_server.default.renderToStaticMarkup(/* @__PURE__ */ import_react3.default.createElement(Tree, { data, maxDepth: +maxDepth, @@ -17985,6 +20663,24 @@ object-assign (c) Sindre Sorhus @license MIT */ +/*! + * fill-range + * + * Copyright (c) 2014-present, Jon Schlinkert. + * Licensed under the MIT License. + */ +/*! + * is-number + * + * Copyright (c) 2014-present, Jon Schlinkert. + * Released under the MIT License. + */ +/*! + * to-regex-range + * + * Copyright (c) 2015-present, Jon Schlinkert. + * Released under the MIT License. + */ /** @license React v17.0.2 * react-dom-server.node.development.js * diff --git a/package.json b/package.json index fb68dec..09afcbb 100644 --- a/package.json +++ b/package.json @@ -13,13 +13,14 @@ "d3": "^7.0.0", "esbuild": "^0.12.15", "lodash": "^4.17.21", - "minimatch": "^3.0.4", + "micromatch": "^4.0.4", "react": "^17.0.2", "react-dom": "^17.0.2" }, "devDependencies": { - "husky": "^7.0.0", "@types/jest": "^27.0.1", + "@types/micromatch": "^4.0.2", + "husky": "^7.0.0", "jest": "^27.0.6", "ts-jest": "^27.0.4", "typescript": "^4.3.5" diff --git a/src/index.jsx b/src/index.jsx index fa5d0e9..2f2f048 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -22,14 +22,19 @@ const main = async () => { core.endGroup() - const rootPath = core.getInput("root_path") || "./"; + const rootPath = core.getInput("root_path") || ""; // Micro and minimatch do not support paths starting with ./ const maxDepth = core.getInput("max_depth") || 9 const colorEncoding = core.getInput("color_encoding") || "type" const commitMessage = core.getInput("commit_message") || "Repo visualizer: updated diagram" const excludedPathsString = core.getInput("excluded_paths") || "node_modules,bower_components,dist,out,build,eject,.next,.netlify,.yarn,.git,.vscode,package-lock.json,yarn.lock" const excludedPaths = excludedPathsString.split(",").map(str => str.trim()) + + // Split on semicolons instead of commas since ',' are allowed in globs, but ';' are not + are not permitted in file/folder names. + const excludedGlobsString = core.getInput('excluded_globs') || ''; + const excludedGlobs = excludedGlobsString.split(";"); + const branch = core.getInput("branch") - const data = await processDir(rootPath, excludedPaths); + const data = await processDir(rootPath, excludedPaths, excludedGlobs); const componentCodeString = ReactDOMServer.renderToStaticMarkup( diff --git a/src/process-dir.js b/src/process-dir.js index 97a2efc..6ea7f21 100644 --- a/src/process-dir.js +++ b/src/process-dir.js @@ -1,15 +1,18 @@ import fs from "fs"; +import * as nodePath from 'path'; +import { shouldExcludePath } from './should-exclude-path'; -export const processDir = async (rootPath, excludedPaths = []) => { + +export const processDir = async (rootPath, excludedPaths = [], excludedGlobs = []) => { if (!rootPath) { console.log("no rootPath specified"); return; } const foldersToIgnore = [".git", ...excludedPaths] - const fullPathFoldersToIgnore = foldersToIgnore.map((d) => - `${rootPath}/${d}` - ); + const fullPathFoldersToIgnore = new Set(foldersToIgnore.map((d) => + nodePath.join(rootPath, d) + )); const getFileStats = async (path = "") => { @@ -29,27 +32,35 @@ export const processDir = async (rootPath, excludedPaths = []) => { ) => { try { console.log("Looking in ", path); + if (isFolder) { - const files = await fs.readdirSync(path); - const children = [] - for (const file of files) { - if (fullPathFoldersToIgnore.includes(rootPath + "/" + file)) { + const filesOrFolders = await fs.readdirSync(path); + const children = []; + + for (const fileOrFolder of filesOrFolders) { + const fullPath = nodePath.join(rootPath, fileOrFolder); + if (shouldExcludePath(fullPath, fullPathFoldersToIgnore, excludedGlobs)) { continue; } - const info = fs.statSync(path + "/" + file); + const info = fs.statSync(fullPath); const stats = await addItemToTree( - path + "/" + file, + fullPath, info.isDirectory(), ); if (stats) children.push(stats); } + const stats = await getFileStats(path); return { ...stats, children }; - } else { - const stats = getFileStats(path); - return stats; } + + if (shouldExcludePath(path, fullPathFoldersToIgnore, excludedGlobs)) { + return null; + } + const stats = getFileStats(path); + return stats; + } catch (e) { console.log("Issue trying to read file", path, e); return null; diff --git a/src/should-exclude-path.test.ts b/src/should-exclude-path.test.ts new file mode 100644 index 0000000..0bbe19e --- /dev/null +++ b/src/should-exclude-path.test.ts @@ -0,0 +1,54 @@ +import { shouldExcludePath } from './should-exclude-path'; + +describe("shouldExcludePath", () => { + + it("excludes based on folder or perfect match relative to root", () => { + const excludePaths = new Set([ + 'node_modules/', + 'yarn.lock' + ]); + const excludeGlobs: string[] = []; + + const testShouldExcludePath = (path: string) => shouldExcludePath(path, excludePaths, excludeGlobs); + + expect(testShouldExcludePath('node_modules/')).toEqual(true); + expect(testShouldExcludePath('yarn.lock')).toEqual(true); + + // Non-matched files work + expect(testShouldExcludePath('src/app.js')).toEqual(false); + expect(testShouldExcludePath('src/yarn.lock')).toEqual(false); + }); + + it("excludes based on micromatch globs", () => { + const excludePaths = new Set(); + const excludeGlobs = [ + 'node_modules/**', // exclude same items as paths + '**/yarn.lock', // avoid all yarn.locks + '**/*.png', // file extension block + '**/!(*.module).ts' // Negation: block non-module files, not regular ones + ] + + const testShouldExcludePath = (path: string) => shouldExcludePath(path, excludePaths, excludeGlobs); + + expect(testShouldExcludePath('node_modules/jest/index.js')).toEqual(true); + expect(testShouldExcludePath('node_modules/jest')).toEqual(true); + + // Block all nested lockfiles + expect(testShouldExcludePath('yarn.lock')).toEqual(true); + expect(testShouldExcludePath('subpackage/yarn.lock')).toEqual(true); + + // Block by file extension + expect(testShouldExcludePath('src/docs/boo.png')).toEqual(true); + expect(testShouldExcludePath('test/boo.png')).toEqual(true); + expect(testShouldExcludePath('boo.png')).toEqual(true); + + // Block TS files unless they are modules + expect(testShouldExcludePath('index.ts')).toEqual(true); + expect(testShouldExcludePath('index.module.ts')).toEqual(false); + + // Regular files work + expect(testShouldExcludePath('src/index.js')).toEqual(false); + + + }); +}); diff --git a/src/should-exclude-path.ts b/src/should-exclude-path.ts new file mode 100644 index 0000000..ba545c9 --- /dev/null +++ b/src/should-exclude-path.ts @@ -0,0 +1,10 @@ +import { isMatch } from 'micromatch'; + +/** + * True if path is excluded by either the path or glob criteria. + * path may be to a directory or individual file. + */ +export const shouldExcludePath = (path: string, pathsToIgnore: Set, globsToIgnore: string[]): boolean => { + + return pathsToIgnore.has(path) || globsToIgnore.some(glob => isMatch(path, glob)); +} diff --git a/yarn.lock b/yarn.lock index c7964b7..5a32ae2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -556,6 +556,11 @@ dependencies: "@babel/types" "^7.3.0" +"@types/braces@*": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@types/braces/-/braces-3.0.1.tgz#5a284d193cfc61abb2e5a50d36ebbc50d942a32b" + integrity sha512-+euflG6ygo4bn0JHtn4pYqcXwRtLvElQ7/nnjDu7iYG56H0+OhCd7d6Ug0IE3WcFpZozBKW2+80FUbv5QGk5AQ== + "@types/graceful-fs@^4.1.2": version "4.1.5" resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15" @@ -590,6 +595,13 @@ jest-diff "^27.0.0" pretty-format "^27.0.0" +"@types/micromatch@^4.0.2": + version "4.0.2" + resolved "https://registry.yarnpkg.com/@types/micromatch/-/micromatch-4.0.2.tgz#ce29c8b166a73bf980a5727b1e4a4d099965151d" + integrity sha512-oqXqVb0ci19GtH0vOA/U2TmHTcRY9kuZl4mqUxe0QmJAlIW13kzhuK5pi1i9+ngav8FjpSb9FVS/GE00GLX1VA== + dependencies: + "@types/braces" "*" + "@types/node@*": version "16.6.1" resolved "https://registry.yarnpkg.com/@types/node/-/node-16.6.1.tgz#aee62c7b966f55fc66c7b6dfa1d58db2a616da61" From 3c64a7ec81800e72b6d379e9b1f419290c76a9f6 Mon Sep 17 00:00:00 2001 From: Cameron Yick Date: Sat, 14 Aug 2021 19:52:01 -0400 Subject: [PATCH 04/15] chore(build): add CI to run unit tests --- .github/workflows/test.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..9f0339d --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,25 @@ +name: JS - Unit Tests + +on: push + +jobs: + + run-tests: + name: Unit Tests + runs-on: ubuntu-latest + + steps: + - name: Check out Git repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v1 + with: + node-version: 14 + + - name: Install dependencies with aching + uses: bahmutov/npm-install@v1 + + - name: Run unit tests + run: | + yarn run test From fe0226863122bbf0fedc24cf11a13f757045c765 Mon Sep 17 00:00:00 2001 From: Cameron Yick Date: Sat, 14 Aug 2021 20:33:55 -0400 Subject: [PATCH 05/15] build(chore): update typechecker --- .github/workflows/test.yaml | 6 +++++- package.json | 1 + tsconfig.json | 15 +++++---------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9f0339d..eaa0bba 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -17,9 +17,13 @@ jobs: with: node-version: 14 - - name: Install dependencies with aching + - name: Install dependencies with caching uses: bahmutov/npm-install@v1 + - name: Check types + run: | + yarn run typecheck + - name: Run unit tests run: | yarn run test diff --git a/package.json b/package.json index 09afcbb..d745e0f 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "scripts": { "build": "node_modules/.bin/esbuild --target=es2019 ./src/index.jsx --bundle --platform=node --outfile=index.js", "prepare": "husky install", + "typecheck": "yarn run tsc --noEmit --allowJs", "test:jest": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", diff --git a/tsconfig.json b/tsconfig.json index df5984a..c13507a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,19 +1,14 @@ { "compilerOptions": { "target": "es5", - "module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', + "module": "commonjs", - /* Strict Type-Checking Options */ - "strict": true, /* Enable all strict type-checking options. */ - "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ - "strictNullChecks": true, /* Enable strict null checks. */ + "jsx": "react", + "resolveJsonModule": true, "rootDirs": [ "src" ], - "allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. - "esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES - /* Advanced Options */ - "skipLibCheck": true, /* Skip type checking of declaration files. */ - "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */ + "allowSyntheticDefaultImports": true, + "forceConsistentCasingInFileNames": true } } From 3343a6a5ffbcd7736a78f64b64f82f38b41b674e Mon Sep 17 00:00:00 2001 From: Cameron Yick Date: Sat, 14 Aug 2021 21:49:49 -0400 Subject: [PATCH 06/15] docs: update parameters in github action config for exclude_globs --- action.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index bfef7e6..0711dd5 100644 --- a/action.yml +++ b/action.yml @@ -8,8 +8,11 @@ inputs: excluded_paths: description: "A list of paths to exclude from the diagram, separated by commas. For example: dist,node_modules" required: false + excluded_globs: + description: "A list of micromatch globs to exclude from the diagram, separated by semicolons. For example: **/*.png;docs/**/*.{png,ico}" + required: false root_path: - description: "The directory (and its children) that you want to visualize in the diagram. Default: ./" + description: "The directory (and its children) that you want to visualize in the diagram. Default: "" (repository root directory)" required: false max_depth: description: "The maximum number of nested folders to show files within. Default: 9" From 8b4ad8b45fa48502a8ddeba25a384fb003db33cb Mon Sep 17 00:00:00 2001 From: repo-visualizer Date: Mon, 16 Aug 2021 14:09:28 -0400 Subject: [PATCH 07/15] fix syntax error in action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 0711dd5..a1cbcd6 100644 --- a/action.yml +++ b/action.yml @@ -12,7 +12,7 @@ inputs: description: "A list of micromatch globs to exclude from the diagram, separated by semicolons. For example: **/*.png;docs/**/*.{png,ico}" required: false root_path: - description: "The directory (and its children) that you want to visualize in the diagram. Default: "" (repository root directory)" + description: 'The directory (and its children) that you want to visualize in the diagram. Default: "" (repository root directory)' required: false max_depth: description: "The maximum number of nested folders to show files within. Default: 9" From 86ecc398b915c2bda03f81f1e2c6918d795ed8ae Mon Sep 17 00:00:00 2001 From: repo-visualizer Date: Mon, 16 Aug 2021 14:16:38 -0400 Subject: [PATCH 08/15] don't require root_path --- index.js | 6 +----- src/process-dir.js | 7 +------ 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/index.js b/index.js index 5bdfb80..b77288a 100644 --- a/index.js +++ b/index.js @@ -12826,11 +12826,7 @@ var shouldExcludePath = (path, pathsToIgnore, globsToIgnore) => { }; // src/process-dir.js -var processDir = async (rootPath, excludedPaths = [], excludedGlobs = []) => { - if (!rootPath) { - console.log("no rootPath specified"); - return; - } +var processDir = async (rootPath = "", excludedPaths = [], excludedGlobs = []) => { const foldersToIgnore = [".git", ...excludedPaths]; const fullPathFoldersToIgnore = new Set(foldersToIgnore.map((d2) => nodePath.join(rootPath, d2))); const getFileStats = async (path = "") => { diff --git a/src/process-dir.js b/src/process-dir.js index 6ea7f21..12c70ab 100644 --- a/src/process-dir.js +++ b/src/process-dir.js @@ -3,12 +3,7 @@ import * as nodePath from 'path'; import { shouldExcludePath } from './should-exclude-path'; -export const processDir = async (rootPath, excludedPaths = [], excludedGlobs = []) => { - if (!rootPath) { - console.log("no rootPath specified"); - return; - } - +export const processDir = async (rootPath = "", excludedPaths = [], excludedGlobs = []) => { const foldersToIgnore = [".git", ...excludedPaths] const fullPathFoldersToIgnore = new Set(foldersToIgnore.map((d) => nodePath.join(rootPath, d) From 264b40d2d79572720524bdc1fd37b25c7c3d14fd Mon Sep 17 00:00:00 2001 From: repo-visualizer Date: Mon, 16 Aug 2021 14:20:13 -0400 Subject: [PATCH 09/15] default path to ./ for fs methods --- index.js | 6 +++--- src/process-dir.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/index.js b/index.js index b77288a..d5640a6 100644 --- a/index.js +++ b/index.js @@ -12830,7 +12830,7 @@ var processDir = async (rootPath = "", excludedPaths = [], excludedGlobs = []) = const foldersToIgnore = [".git", ...excludedPaths]; const fullPathFoldersToIgnore = new Set(foldersToIgnore.map((d2) => nodePath.join(rootPath, d2))); const getFileStats = async (path = "") => { - const stats = await import_fs.default.statSync(path); + const stats = await import_fs.default.statSync(path || "./"); const name = path.split("/").filter(Boolean).slice(-1)[0]; const size = stats.size; const relativePath = path.slice(rootPath.length + 1); @@ -12842,9 +12842,9 @@ var processDir = async (rootPath = "", excludedPaths = [], excludedGlobs = []) = }; const addItemToTree = async (path = "", isFolder = true) => { try { - console.log("Looking in ", path); + console.log("Looking in ", path || "./"); if (isFolder) { - const filesOrFolders = await import_fs.default.readdirSync(path); + const filesOrFolders = await import_fs.default.readdirSync(path || "./"); const children2 = []; for (const fileOrFolder of filesOrFolders) { const fullPath = nodePath.join(rootPath, fileOrFolder); diff --git a/src/process-dir.js b/src/process-dir.js index 12c70ab..e03fdb1 100644 --- a/src/process-dir.js +++ b/src/process-dir.js @@ -11,7 +11,7 @@ export const processDir = async (rootPath = "", excludedPaths = [], excludedGlob const getFileStats = async (path = "") => { - const stats = await fs.statSync(path); + const stats = await fs.statSync(path || "./"); const name = path.split("/").filter(Boolean).slice(-1)[0]; const size = stats.size; const relativePath = path.slice(rootPath.length + 1); @@ -26,10 +26,10 @@ export const processDir = async (rootPath = "", excludedPaths = [], excludedGlob isFolder = true, ) => { try { - console.log("Looking in ", path); + console.log("Looking in ", path || "./"); if (isFolder) { - const filesOrFolders = await fs.readdirSync(path); + const filesOrFolders = await fs.readdirSync(path || "./"); const children = []; for (const fileOrFolder of filesOrFolders) { From cf2f11b1bda7df93559219848f8258c2670c4954 Mon Sep 17 00:00:00 2001 From: repo-visualizer Date: Mon, 16 Aug 2021 14:26:57 -0400 Subject: [PATCH 10/15] dont check root path for glob or path match --- index.js | 2 ++ src/should-exclude-path.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/index.js b/index.js index d5640a6..013a64a 100644 --- a/index.js +++ b/index.js @@ -12822,6 +12822,8 @@ var nodePath = __toModule(require("path")); // src/should-exclude-path.ts var import_micromatch = __toModule(require_micromatch()); var shouldExcludePath = (path, pathsToIgnore, globsToIgnore) => { + if (!path) + return false; return pathsToIgnore.has(path) || globsToIgnore.some((glob) => (0, import_micromatch.isMatch)(path, glob)); }; diff --git a/src/should-exclude-path.ts b/src/should-exclude-path.ts index ba545c9..12b1e55 100644 --- a/src/should-exclude-path.ts +++ b/src/should-exclude-path.ts @@ -5,6 +5,7 @@ import { isMatch } from 'micromatch'; * path may be to a directory or individual file. */ export const shouldExcludePath = (path: string, pathsToIgnore: Set, globsToIgnore: string[]): boolean => { + if (!path) return false return pathsToIgnore.has(path) || globsToIgnore.some(glob => isMatch(path, glob)); } From 986fc256c134edd78b78717d5df8dacb2fcd071c Mon Sep 17 00:00:00 2001 From: repo-visualizer Date: Mon, 16 Aug 2021 14:26:57 -0400 Subject: [PATCH 11/15] dont check root path for glob or path match --- index.js | 1396 ++++++++++++++++++------------------ src/should-exclude-path.ts | 2 +- 2 files changed, 713 insertions(+), 685 deletions(-) diff --git a/index.js b/index.js index 013a64a..90beb8a 100644 --- a/index.js +++ b/index.js @@ -24,23 +24,25 @@ var __toModule = (module2) => { var require_io_util = __commonJS({ "node_modules/@actions/io/lib/io-util.js"(exports2) { "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m4, k, k2) { + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function (o, m4, k, k2) { if (k2 === void 0) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { - return m4[k]; - } }); - } : function(o, m4, k, k2) { + Object.defineProperty(o, k2, { + enumerable: true, get: function () { + return m4[k]; + } + }); + } : function (o, m4, k, k2) { if (k2 === void 0) k2 = k; o[k2] = m4[k]; }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v2) { + var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function (o, v2) { Object.defineProperty(o, "default", { enumerable: true, value: v2 }); - } : function(o, v2) { + } : function (o, v2) { o["default"] = v2; }); - var __importStar = exports2 && exports2.__importStar || function(mod2) { + var __importStar = exports2 && exports2.__importStar || function (mod2) { if (mod2 && mod2.__esModule) return mod2; var result = {}; @@ -52,13 +54,13 @@ var require_io_util = __commonJS({ __setModuleDefault(result, mod2); return result; }; - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { + var __awaiter = exports2 && exports2.__awaiter || function (thisArg, _arguments, P, generator) { function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { + return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function(resolve, reject) { + return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); @@ -200,23 +202,25 @@ var require_io_util = __commonJS({ var require_io = __commonJS({ "node_modules/@actions/io/lib/io.js"(exports2) { "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m4, k, k2) { + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function (o, m4, k, k2) { if (k2 === void 0) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { - return m4[k]; - } }); - } : function(o, m4, k, k2) { + Object.defineProperty(o, k2, { + enumerable: true, get: function () { + return m4[k]; + } + }); + } : function (o, m4, k, k2) { if (k2 === void 0) k2 = k; o[k2] = m4[k]; }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v2) { + var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function (o, v2) { Object.defineProperty(o, "default", { enumerable: true, value: v2 }); - } : function(o, v2) { + } : function (o, v2) { o["default"] = v2; }); - var __importStar = exports2 && exports2.__importStar || function(mod2) { + var __importStar = exports2 && exports2.__importStar || function (mod2) { if (mod2 && mod2.__esModule) return mod2; var result = {}; @@ -228,13 +232,13 @@ var require_io = __commonJS({ __setModuleDefault(result, mod2); return result; }; - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { + var __awaiter = exports2 && exports2.__awaiter || function (thisArg, _arguments, P, generator) { function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { + return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function(resolve, reject) { + return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); @@ -482,23 +486,25 @@ var require_io = __commonJS({ var require_toolrunner = __commonJS({ "node_modules/@actions/exec/lib/toolrunner.js"(exports2) { "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m4, k, k2) { + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function (o, m4, k, k2) { if (k2 === void 0) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { - return m4[k]; - } }); - } : function(o, m4, k, k2) { + Object.defineProperty(o, k2, { + enumerable: true, get: function () { + return m4[k]; + } + }); + } : function (o, m4, k, k2) { if (k2 === void 0) k2 = k; o[k2] = m4[k]; }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v2) { + var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function (o, v2) { Object.defineProperty(o, "default", { enumerable: true, value: v2 }); - } : function(o, v2) { + } : function (o, v2) { o["default"] = v2; }); - var __importStar = exports2 && exports2.__importStar || function(mod2) { + var __importStar = exports2 && exports2.__importStar || function (mod2) { if (mod2 && mod2.__esModule) return mod2; var result = {}; @@ -510,13 +516,13 @@ var require_toolrunner = __commonJS({ __setModuleDefault(result, mod2); return result; }; - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { + var __awaiter = exports2 && exports2.__awaiter || function (thisArg, _arguments, P, generator) { function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { + return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function(resolve, reject) { + return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); @@ -962,23 +968,25 @@ var require_toolrunner = __commonJS({ var require_exec = __commonJS({ "node_modules/@actions/exec/lib/exec.js"(exports2) { "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m4, k, k2) { + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function (o, m4, k, k2) { if (k2 === void 0) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { - return m4[k]; - } }); - } : function(o, m4, k, k2) { + Object.defineProperty(o, k2, { + enumerable: true, get: function () { + return m4[k]; + } + }); + } : function (o, m4, k, k2) { if (k2 === void 0) k2 = k; o[k2] = m4[k]; }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v2) { + var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function (o, v2) { Object.defineProperty(o, "default", { enumerable: true, value: v2 }); - } : function(o, v2) { + } : function (o, v2) { o["default"] = v2; }); - var __importStar = exports2 && exports2.__importStar || function(mod2) { + var __importStar = exports2 && exports2.__importStar || function (mod2) { if (mod2 && mod2.__esModule) return mod2; var result = {}; @@ -990,13 +998,13 @@ var require_exec = __commonJS({ __setModuleDefault(result, mod2); return result; }; - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { + var __awaiter = exports2 && exports2.__awaiter || function (thisArg, _arguments, P, generator) { function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { + return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function(resolve, reject) { + return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); @@ -1092,23 +1100,25 @@ var require_utils = __commonJS({ var require_command = __commonJS({ "node_modules/@actions/core/lib/command.js"(exports2) { "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m4, k, k2) { + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function (o, m4, k, k2) { if (k2 === void 0) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { - return m4[k]; - } }); - } : function(o, m4, k, k2) { + Object.defineProperty(o, k2, { + enumerable: true, get: function () { + return m4[k]; + } + }); + } : function (o, m4, k, k2) { if (k2 === void 0) k2 = k; o[k2] = m4[k]; }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v2) { + var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function (o, v2) { Object.defineProperty(o, "default", { enumerable: true, value: v2 }); - } : function(o, v2) { + } : function (o, v2) { o["default"] = v2; }); - var __importStar = exports2 && exports2.__importStar || function(mod2) { + var __importStar = exports2 && exports2.__importStar || function (mod2) { if (mod2 && mod2.__esModule) return mod2; var result = {}; @@ -1179,23 +1189,25 @@ var require_command = __commonJS({ var require_file_command = __commonJS({ "node_modules/@actions/core/lib/file-command.js"(exports2) { "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m4, k, k2) { + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function (o, m4, k, k2) { if (k2 === void 0) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { - return m4[k]; - } }); - } : function(o, m4, k, k2) { + Object.defineProperty(o, k2, { + enumerable: true, get: function () { + return m4[k]; + } + }); + } : function (o, m4, k, k2) { if (k2 === void 0) k2 = k; o[k2] = m4[k]; }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v2) { + var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function (o, v2) { Object.defineProperty(o, "default", { enumerable: true, value: v2 }); - } : function(o, v2) { + } : function (o, v2) { o["default"] = v2; }); - var __importStar = exports2 && exports2.__importStar || function(mod2) { + var __importStar = exports2 && exports2.__importStar || function (mod2) { if (mod2 && mod2.__esModule) return mod2; var result = {}; @@ -1232,23 +1244,25 @@ var require_file_command = __commonJS({ var require_core = __commonJS({ "node_modules/@actions/core/lib/core.js"(exports2) { "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m4, k, k2) { + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function (o, m4, k, k2) { if (k2 === void 0) k2 = k; - Object.defineProperty(o, k2, { enumerable: true, get: function() { - return m4[k]; - } }); - } : function(o, m4, k, k2) { + Object.defineProperty(o, k2, { + enumerable: true, get: function () { + return m4[k]; + } + }); + } : function (o, m4, k, k2) { if (k2 === void 0) k2 = k; o[k2] = m4[k]; }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v2) { + var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function (o, v2) { Object.defineProperty(o, "default", { enumerable: true, value: v2 }); - } : function(o, v2) { + } : function (o, v2) { o["default"] = v2; }); - var __importStar = exports2 && exports2.__importStar || function(mod2) { + var __importStar = exports2 && exports2.__importStar || function (mod2) { if (mod2 && mod2.__esModule) return mod2; var result = {}; @@ -1260,13 +1274,13 @@ var require_core = __commonJS({ __setModuleDefault(result, mod2); return result; }; - var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { + var __awaiter = exports2 && exports2.__awaiter || function (thisArg, _arguments, P, generator) { function adopt(value) { - return value instanceof P ? value : new P(function(resolve) { + return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } - return new (P || (P = Promise))(function(resolve, reject) { + return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); @@ -1295,7 +1309,7 @@ var require_core = __commonJS({ var os2 = __importStar(require("os")); var path = __importStar(require("path")); var ExitCode; - (function(ExitCode2) { + (function (ExitCode2) { ExitCode2[ExitCode2["Success"] = 0] = "Success"; ExitCode2[ExitCode2["Failure"] = 1] = "Failure"; })(ExitCode = exports2.ExitCode || (exports2.ExitCode = {})); @@ -1447,14 +1461,14 @@ var require_object_assign = __commonJS({ for (var i = 0; i < 10; i++) { test2["_" + String.fromCharCode(i)] = i; } - var order2 = Object.getOwnPropertyNames(test2).map(function(n2) { + var order2 = Object.getOwnPropertyNames(test2).map(function (n2) { return test2[n2]; }); if (order2.join("") !== "0123456789") { return false; } var test3 = {}; - "abcdefghijklmnopqrst".split("").forEach(function(letter) { + "abcdefghijklmnopqrst".split("").forEach(function (letter) { test3[letter] = letter; }); if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") { @@ -1465,7 +1479,7 @@ var require_object_assign = __commonJS({ return false; } } - module2.exports = shouldUseNative() ? Object.assign : function(target, source) { + module2.exports = shouldUseNative() ? Object.assign : function (target, source) { var from; var to = toObject(target); var symbols; @@ -1533,12 +1547,14 @@ var require_react_production_min = __commonJS({ b += "&args[]=" + encodeURIComponent(arguments[c3]); return "Minified React error #" + a2 + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } - var A = { isMounted: function() { - return false; - }, enqueueForceUpdate: function() { - }, enqueueReplaceState: function() { - }, enqueueSetState: function() { - } }; + var A = { + isMounted: function () { + return false; + }, enqueueForceUpdate: function () { + }, enqueueReplaceState: function () { + }, enqueueSetState: function () { + } + }; var B = {}; function C(a2, b, c3) { this.props = a2; @@ -1547,12 +1563,12 @@ var require_react_production_min = __commonJS({ this.updater = c3 || A; } C.prototype.isReactComponent = {}; - C.prototype.setState = function(a2, b) { + C.prototype.setState = function (a2, b) { if (typeof a2 !== "object" && typeof a2 !== "function" && a2 != null) throw Error(z(85)); this.updater.enqueueSetState(this, a2, b, "setState"); }; - C.prototype.forceUpdate = function(a2) { + C.prototype.forceUpdate = function (a2) { this.updater.enqueueForceUpdate(this, a2, "forceUpdate"); }; function D() { @@ -1597,7 +1613,7 @@ var require_react_production_min = __commonJS({ } function escape(a2) { var b = { "=": "=0", ":": "=2" }; - return "$" + a2.replace(/[=:]/g, function(a3) { + return "$" + a2.replace(/[=:]/g, function (a3) { return b[a3]; }); } @@ -1626,7 +1642,7 @@ var require_react_production_min = __commonJS({ } } if (h2) - return h2 = a2, d2 = d2(h2), a2 = e3 === "" ? "." + N(h2, 0) : e3, Array.isArray(d2) ? (c3 = "", a2 != null && (c3 = a2.replace(M, "$&/") + "/"), O(d2, b, c3, "", function(a3) { + return h2 = a2, d2 = d2(h2), a2 = e3 === "" ? "." + N(h2, 0) : e3, Array.isArray(d2) ? (c3 = "", a2 != null && (c3 = a2.replace(M, "$&/") + "/"), O(d2, b, c3, "", function (a3) { return a3; })) : d2 != null && (L(d2) && (d2 = K(d2, c3 + (!d2.key || h2 && h2.key === d2.key ? "" : ("" + d2.key).replace(M, "$&/") + "/") + a2)), b.push(d2)), 1; h2 = 0; @@ -1638,7 +1654,7 @@ var require_react_production_min = __commonJS({ h2 += O(k, b, c3, f2, d2); } else if (f2 = y3(a2), typeof f2 === "function") - for (a2 = f2.call(a2), g2 = 0; !(k = a2.next()).done; ) + for (a2 = f2.call(a2), g2 = 0; !(k = a2.next()).done;) k = k.value, f2 = e3 + N(k, g2++), h2 += O(k, b, c3, f2, d2); else if (k === "object") throw b = "" + a2, Error(z(31, b === "[object Object]" ? "object with keys {" + Object.keys(a2).join(", ") + "}" : b)); @@ -1648,7 +1664,7 @@ var require_react_production_min = __commonJS({ if (a2 == null) return a2; var e3 = [], d2 = 0; - O(a2, e3, "", "", function(a3) { + O(a2, e3, "", "", function (a3) { return b.call(c3, a3, d2++); }); return e3; @@ -1659,9 +1675,9 @@ var require_react_production_min = __commonJS({ b = b(); a2._status = 0; a2._result = b; - b.then(function(b2) { + b.then(function (b2) { a2._status === 0 && (b2 = b2.default, a2._status = 1, a2._result = b2); - }, function(b2) { + }, function (b2) { a2._status === 0 && (a2._status = 2, a2._result = b2); }); } @@ -1677,29 +1693,31 @@ var require_react_production_min = __commonJS({ return a2; } var T = { ReactCurrentDispatcher: R, ReactCurrentBatchConfig: { transition: 0 }, ReactCurrentOwner: G, IsSomeRendererActing: { current: false }, assign: l2 }; - exports2.Children = { map: P, forEach: function(a2, b, c3) { - P(a2, function() { - b.apply(this, arguments); - }, c3); - }, count: function(a2) { - var b = 0; - P(a2, function() { - b++; - }); - return b; - }, toArray: function(a2) { - return P(a2, function(a3) { - return a3; - }) || []; - }, only: function(a2) { - if (!L(a2)) - throw Error(z(143)); - return a2; - } }; + exports2.Children = { + map: P, forEach: function (a2, b, c3) { + P(a2, function () { + b.apply(this, arguments); + }, c3); + }, count: function (a2) { + var b = 0; + P(a2, function () { + b++; + }); + return b; + }, toArray: function (a2) { + return P(a2, function (a3) { + return a3; + }) || []; + }, only: function (a2) { + if (!L(a2)) + throw Error(z(143)); + return a2; + } + }; exports2.Component = C; exports2.PureComponent = E2; exports2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = T; - exports2.cloneElement = function(a2, b, c3) { + exports2.cloneElement = function (a2, b, c3) { if (a2 === null || a2 === void 0) throw Error(z(267, a2)); var e3 = l2({}, a2.props), d2 = a2.key, k = a2.ref, h2 = a2._owner; @@ -1729,58 +1747,58 @@ var require_react_production_min = __commonJS({ _owner: h2 }; }; - exports2.createContext = function(a2, b) { + exports2.createContext = function (a2, b) { b === void 0 && (b = null); a2 = { $$typeof: r4, _calculateChangedBits: b, _currentValue: a2, _currentValue2: a2, _threadCount: 0, Provider: null, Consumer: null }; a2.Provider = { $$typeof: q2, _context: a2 }; return a2.Consumer = a2; }; exports2.createElement = J; - exports2.createFactory = function(a2) { + exports2.createFactory = function (a2) { var b = J.bind(null, a2); b.type = a2; return b; }; - exports2.createRef = function() { + exports2.createRef = function () { return { current: null }; }; - exports2.forwardRef = function(a2) { + exports2.forwardRef = function (a2) { return { $$typeof: t2, render: a2 }; }; exports2.isValidElement = L; - exports2.lazy = function(a2) { + exports2.lazy = function (a2) { return { $$typeof: v2, _payload: { _status: -1, _result: a2 }, _init: Q }; }; - exports2.memo = function(a2, b) { + exports2.memo = function (a2, b) { return { $$typeof: u, type: a2, compare: b === void 0 ? null : b }; }; - exports2.useCallback = function(a2, b) { + exports2.useCallback = function (a2, b) { return S().useCallback(a2, b); }; - exports2.useContext = function(a2, b) { + exports2.useContext = function (a2, b) { return S().useContext(a2, b); }; - exports2.useDebugValue = function() { + exports2.useDebugValue = function () { }; - exports2.useEffect = function(a2, b) { + exports2.useEffect = function (a2, b) { return S().useEffect(a2, b); }; - exports2.useImperativeHandle = function(a2, b, c3) { + exports2.useImperativeHandle = function (a2, b, c3) { return S().useImperativeHandle(a2, b, c3); }; - exports2.useLayoutEffect = function(a2, b) { + exports2.useLayoutEffect = function (a2, b) { return S().useLayoutEffect(a2, b); }; - exports2.useMemo = function(a2, b) { + exports2.useMemo = function (a2, b) { return S().useMemo(a2, b); }; - exports2.useReducer = function(a2, b, c3) { + exports2.useReducer = function (a2, b, c3) { return S().useReducer(a2, b, c3); }; - exports2.useRef = function(a2) { + exports2.useRef = function (a2) { return S().useRef(a2); }; - exports2.useState = function(a2) { + exports2.useState = function (a2) { return S().useState(a2); }; exports2.version = "17.0.2"; @@ -1792,7 +1810,7 @@ var require_react_development = __commonJS({ "node_modules/react/cjs/react.development.js"(exports2) { "use strict"; if (process.env.NODE_ENV !== "production") { - (function() { + (function () { "use strict"; var _assign = require_object_assign(); var ReactVersion = "17.0.2"; @@ -1868,13 +1886,13 @@ var require_react_development = __commonJS({ } } { - ReactDebugCurrentFrame.setExtraStackFrame = function(stack) { + ReactDebugCurrentFrame.setExtraStackFrame = function (stack) { { currentExtraStackFrame = stack; } }; ReactDebugCurrentFrame.getCurrentStack = null; - ReactDebugCurrentFrame.getStackAddendum = function() { + ReactDebugCurrentFrame.getStackAddendum = function () { var stack = ""; if (currentExtraStackFrame) { stack += currentExtraStackFrame; @@ -1923,7 +1941,7 @@ var require_react_development = __commonJS({ format2 += "%s"; args = args.concat([stack]); } - var argsWithFormat = args.map(function(item) { + var argsWithFormat = args.map(function (item) { return "" + item; }); argsWithFormat.unshift("Warning: " + format2); @@ -1944,16 +1962,16 @@ var require_react_development = __commonJS({ } } var ReactNoopUpdateQueue = { - isMounted: function(publicInstance) { + isMounted: function (publicInstance) { return false; }, - enqueueForceUpdate: function(publicInstance, callback, callerName) { + enqueueForceUpdate: function (publicInstance, callback, callerName) { warnNoop(publicInstance, "forceUpdate"); }, - enqueueReplaceState: function(publicInstance, completeState, callback, callerName) { + enqueueReplaceState: function (publicInstance, completeState, callback, callerName) { warnNoop(publicInstance, "replaceState"); }, - enqueueSetState: function(publicInstance, partialState, callback, callerName) { + enqueueSetState: function (publicInstance, partialState, callback, callerName) { warnNoop(publicInstance, "setState"); } }; @@ -1968,7 +1986,7 @@ var require_react_development = __commonJS({ this.updater = updater || ReactNoopUpdateQueue; } Component.prototype.isReactComponent = {}; - Component.prototype.setState = function(partialState, callback) { + Component.prototype.setState = function (partialState, callback) { if (!(typeof partialState === "object" || typeof partialState === "function" || partialState == null)) { { throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."); @@ -1976,7 +1994,7 @@ var require_react_development = __commonJS({ } this.updater.enqueueSetState(this, partialState, callback, "setState"); }; - Component.prototype.forceUpdate = function(callback) { + Component.prototype.forceUpdate = function (callback) { this.updater.enqueueForceUpdate(this, callback, "forceUpdate"); }; { @@ -1984,9 +2002,9 @@ var require_react_development = __commonJS({ isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."], replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."] }; - var defineDeprecationWarning = function(methodName, info2) { + var defineDeprecationWarning = function (methodName, info2) { Object.defineProperty(Component.prototype, methodName, { - get: function() { + get: function () { warn("%s(...) is deprecated in plain JavaScript React classes. %s", info2[0], info2[1]); return void 0; } @@ -2118,7 +2136,7 @@ var require_react_development = __commonJS({ return config.key !== void 0; } function defineKeyPropWarningGetter(props2, displayName) { - var warnAboutAccessingKey = function() { + var warnAboutAccessingKey = function () { { if (!specialPropKeyWarningShown) { specialPropKeyWarningShown = true; @@ -2133,7 +2151,7 @@ var require_react_development = __commonJS({ }); } function defineRefPropWarningGetter(props2, displayName) { - var warnAboutAccessingRef = function() { + var warnAboutAccessingRef = function () { { if (!specialPropRefWarningShown) { specialPropRefWarningShown = true; @@ -2158,7 +2176,7 @@ var require_react_development = __commonJS({ } } } - var ReactElement = function(type2, key, ref, self3, source, owner, props2) { + var ReactElement = function (type2, key, ref, self3, source, owner, props2) { var element = { $$typeof: REACT_ELEMENT_TYPE, type: type2, @@ -2317,7 +2335,7 @@ var require_react_development = __commonJS({ "=": "=0", ":": "=2" }; - var escapedString = key.replace(escapeRegex, function(match) { + var escapedString = key.replace(escapeRegex, function (match) { return escaperLookup[match]; }); return "$" + escapedString; @@ -2364,7 +2382,7 @@ var require_react_development = __commonJS({ if (childKey != null) { escapedChildKey = escapeUserProvidedKey(childKey) + "/"; } - mapIntoArray(mappedChild, array2, escapedChildKey, "", function(c3) { + mapIntoArray(mappedChild, array2, escapedChildKey, "", function (c3) { return c3; }); } else if (mappedChild != null) { @@ -2422,25 +2440,25 @@ var require_react_development = __commonJS({ } var result = []; var count2 = 0; - mapIntoArray(children2, result, "", "", function(child) { + mapIntoArray(children2, result, "", "", function (child) { return func.call(context, child, count2++); }); return result; } function countChildren(children2) { var n2 = 0; - mapChildren2(children2, function() { + mapChildren2(children2, function () { n2++; }); return n2; } function forEachChildren(children2, forEachFunc, forEachContext) { - mapChildren2(children2, function() { + mapChildren2(children2, function () { forEachFunc.apply(this, arguments); }, forEachContext); } function toArray(children2) { - return mapChildren2(children2, function(child) { + return mapChildren2(children2, function (child) { return child; }) || []; } @@ -2486,43 +2504,43 @@ var require_react_development = __commonJS({ }; Object.defineProperties(Consumer, { Provider: { - get: function() { + get: function () { if (!hasWarnedAboutUsingConsumerProvider) { hasWarnedAboutUsingConsumerProvider = true; error("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?"); } return context.Provider; }, - set: function(_Provider) { + set: function (_Provider) { context.Provider = _Provider; } }, _currentValue: { - get: function() { + get: function () { return context._currentValue; }, - set: function(_currentValue) { + set: function (_currentValue) { context._currentValue = _currentValue; } }, _currentValue2: { - get: function() { + get: function () { return context._currentValue2; }, - set: function(_currentValue2) { + set: function (_currentValue2) { context._currentValue2 = _currentValue2; } }, _threadCount: { - get: function() { + get: function () { return context._threadCount; }, - set: function(_threadCount) { + set: function (_threadCount) { context._threadCount = _threadCount; } }, Consumer: { - get: function() { + get: function () { if (!hasWarnedAboutUsingNestedContextConsumers) { hasWarnedAboutUsingNestedContextConsumers = true; error("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?"); @@ -2531,10 +2549,10 @@ var require_react_development = __commonJS({ } }, displayName: { - get: function() { + get: function () { return context.displayName; }, - set: function(displayName) { + set: function (displayName) { if (!hasWarnedAboutDisplayNameOnConsumer) { warn("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", displayName); hasWarnedAboutDisplayNameOnConsumer = true; @@ -2561,7 +2579,7 @@ var require_react_development = __commonJS({ var pending = payload; pending._status = Pending; pending._result = thenable; - thenable.then(function(moduleObject) { + thenable.then(function (moduleObject) { if (payload._status === Pending) { var defaultExport = moduleObject.default; { @@ -2573,7 +2591,7 @@ var require_react_development = __commonJS({ resolved._status = Resolved; resolved._result = defaultExport; } - }, function(error2) { + }, function (error2) { if (payload._status === Pending) { var rejected = payload; rejected._status = Rejected; @@ -2603,10 +2621,10 @@ var require_react_development = __commonJS({ Object.defineProperties(lazyType, { defaultProps: { configurable: true, - get: function() { + get: function () { return defaultProps; }, - set: function(newDefaultProps) { + set: function (newDefaultProps) { error("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."); defaultProps = newDefaultProps; Object.defineProperty(lazyType, "defaultProps", { @@ -2616,10 +2634,10 @@ var require_react_development = __commonJS({ }, propTypes: { configurable: true, - get: function() { + get: function () { return propTypes; }, - set: function(newPropTypes) { + set: function (newPropTypes) { error("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."); propTypes = newPropTypes; Object.defineProperty(lazyType, "propTypes", { @@ -2657,10 +2675,10 @@ var require_react_development = __commonJS({ Object.defineProperty(elementType, "displayName", { enumerable: false, configurable: true, - get: function() { + get: function () { return ownName; }, - set: function(name) { + set: function (name) { ownName = name; if (render.displayName == null) { render.displayName = name; @@ -2701,10 +2719,10 @@ var require_react_development = __commonJS({ Object.defineProperty(elementType, "displayName", { enumerable: false, configurable: true, - get: function() { + get: function () { return ownName; }, - set: function(name) { + set: function (name) { ownName = name; if (type2.displayName == null) { type2.displayName = name; @@ -2899,11 +2917,11 @@ var require_react_development = __commonJS({ } try { if (construct) { - var Fake = function() { + var Fake = function () { throw Error(); }; Object.defineProperty(Fake.prototype, "props", { - set: function() { + set: function () { throw Error(); } }); @@ -3269,7 +3287,7 @@ var require_react_development = __commonJS({ } Object.defineProperty(validatedFactory, "type", { enumerable: false, - get: function() { + get: function () { warn("Factory.type is deprecated. Access the class directly before passing it to createFactory."); Object.defineProperty(this, "type", { value: type2 @@ -3522,55 +3540,55 @@ var require_react_dom_server_node_production_min = __commonJS({ this.removeEmptyString = t2; } var N = {}; - "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a2) { + "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function (a2) { N[a2] = new M(a2, 0, false, a2, null, false, false); }); - [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a2) { + [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function (a2) { var b = a2[0]; N[b] = new M(b, 1, false, a2[1], null, false, false); }); - ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a2) { + ["contentEditable", "draggable", "spellCheck", "value"].forEach(function (a2) { N[a2] = new M(a2, 2, false, a2.toLowerCase(), null, false, false); }); - ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a2) { + ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function (a2) { N[a2] = new M(a2, 2, false, a2, null, false, false); }); - "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a2) { + "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function (a2) { N[a2] = new M(a2, 3, false, a2.toLowerCase(), null, false, false); }); - ["checked", "multiple", "muted", "selected"].forEach(function(a2) { + ["checked", "multiple", "muted", "selected"].forEach(function (a2) { N[a2] = new M(a2, 3, true, a2, null, false, false); }); - ["capture", "download"].forEach(function(a2) { + ["capture", "download"].forEach(function (a2) { N[a2] = new M(a2, 4, false, a2, null, false, false); }); - ["cols", "rows", "size", "span"].forEach(function(a2) { + ["cols", "rows", "size", "span"].forEach(function (a2) { N[a2] = new M(a2, 6, false, a2, null, false, false); }); - ["rowSpan", "start"].forEach(function(a2) { + ["rowSpan", "start"].forEach(function (a2) { N[a2] = new M(a2, 5, false, a2.toLowerCase(), null, false, false); }); var wa = /[\-:]([a-z])/g; function xa(a2) { return a2[1].toUpperCase(); } - "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a2) { + "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function (a2) { var b = a2.replace(wa, xa); N[b] = new M(b, 1, false, a2, null, false, false); }); - "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a2) { + "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function (a2) { var b = a2.replace(wa, xa); N[b] = new M(b, 1, false, a2, "http://www.w3.org/1999/xlink", false, false); }); - ["xml:base", "xml:lang", "xml:space"].forEach(function(a2) { + ["xml:base", "xml:lang", "xml:space"].forEach(function (a2) { var b = a2.replace(wa, xa); N[b] = new M(b, 1, false, a2, "http://www.w3.org/XML/1998/namespace", false, false); }); - ["tabIndex", "crossOrigin"].forEach(function(a2) { + ["tabIndex", "crossOrigin"].forEach(function (a2) { N[a2] = new M(a2, 1, false, a2.toLowerCase(), null, false, false); }); N.xlinkHref = new M("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false); - ["src", "href", "action", "formAction"].forEach(function(a2) { + ["src", "href", "action", "formAction"].forEach(function (a2) { N[a2] = new M(a2, 1, false, a2.toLowerCase(), null, true, true); }); var ya = /["'&<>]/; @@ -3652,7 +3670,7 @@ var require_react_dom_server_node_production_min = __commonJS({ return R; } function Ea(a2, b, c3, d2) { - for (; T; ) + for (; T;) T = false, V += 1, R = null, c3 = a2(b, d2); Fa(); return c3; @@ -3699,16 +3717,16 @@ var require_react_dom_server_node_production_min = __commonJS({ if (c3 !== null && b !== null) { var d2 = c3[1]; a: - if (d2 === null) - d2 = false; - else { - for (var f2 = 0; f2 < d2.length && f2 < b.length; f2++) - if (!Ba(b[f2], d2[f2])) { - d2 = false; - break a; - } - d2 = true; - } + if (d2 === null) + d2 = false; + else { + for (var f2 = 0; f2 < d2.length && f2 < b.length; f2++) + if (!Ba(b[f2], d2[f2])) { + d2 = false; + break a; + } + d2 = true; + } if (d2) return c3[0]; } @@ -3724,7 +3742,7 @@ var require_react_dom_server_node_production_min = __commonJS({ if (T = true, a2 = { action: c3, next: null }, U === null && (U = new Map()), c3 = U.get(b), c3 === void 0) U.set(b, a2); else { - for (b = c3; b.next !== null; ) + for (b = c3; b.next !== null;) b = b.next; b.next = a2; } @@ -3732,41 +3750,43 @@ var require_react_dom_server_node_production_min = __commonJS({ function Ka() { } var X2 = null; - var La = { readContext: function(a2) { - var b = X2.threadID; - I(a2, b); - return a2[b]; - }, useContext: function(a2) { - W(); - var b = X2.threadID; - I(a2, b); - return a2[b]; - }, useMemo: Ja, useReducer: Ha, useRef: function(a2) { - P = W(); - R = Da(); - var b = R.memoizedState; - return b === null ? (a2 = { current: a2 }, R.memoizedState = a2) : b; - }, useState: function(a2) { - return Ha(Ga, a2); - }, useLayoutEffect: function() { - }, useCallback: function(a2, b) { - return Ja(function() { + var La = { + readContext: function (a2) { + var b = X2.threadID; + I(a2, b); + return a2[b]; + }, useContext: function (a2) { + W(); + var b = X2.threadID; + I(a2, b); + return a2[b]; + }, useMemo: Ja, useReducer: Ha, useRef: function (a2) { + P = W(); + R = Da(); + var b = R.memoizedState; + return b === null ? (a2 = { current: a2 }, R.memoizedState = a2) : b; + }, useState: function (a2) { + return Ha(Ga, a2); + }, useLayoutEffect: function () { + }, useCallback: function (a2, b) { + return Ja(function () { + return a2; + }, b); + }, useImperativeHandle: Ka, useEffect: Ka, useDebugValue: Ka, useDeferredValue: function (a2) { + W(); return a2; - }, b); - }, useImperativeHandle: Ka, useEffect: Ka, useDebugValue: Ka, useDeferredValue: function(a2) { - W(); - return a2; - }, useTransition: function() { - W(); - return [function(a2) { - a2(); - }, false]; - }, useOpaqueIdentifier: function() { - return (X2.identifierPrefix || "") + "R:" + (X2.uniqueID++).toString(36); - }, useMutableSource: function(a2, b) { - W(); - return b(a2._source); - } }; + }, useTransition: function () { + W(); + return [function (a2) { + a2(); + }, false]; + }, useOpaqueIdentifier: function () { + return (X2.identifierPrefix || "") + "R:" + (X2.uniqueID++).toString(36); + }, useMutableSource: function (a2, b) { + W(); + return b(a2._source); + } + }; var Ma = { html: "http://www.w3.org/1999/xhtml", mathml: "http://www.w3.org/1998/Math/MathML", svg: "http://www.w3.org/2000/svg" }; function Na(a2) { switch (a2) { @@ -3825,8 +3845,8 @@ var require_react_dom_server_node_production_min = __commonJS({ strokeWidth: true }; var Qa = ["Webkit", "ms", "Moz", "O"]; - Object.keys(Y2).forEach(function(a2) { - Qa.forEach(function(b) { + Object.keys(Y2).forEach(function (a2) { + Qa.forEach(function (b) { b = b + a2.charAt(0).toUpperCase() + a2.substring(1); Y2[b] = Y2[a2]; }); @@ -3843,7 +3863,7 @@ var require_react_dom_server_node_production_min = __commonJS({ if (a2 === void 0 || a2 === null) return a2; var b = ""; - n2.Children.forEach(a2, function(a3) { + n2.Children.forEach(a2, function (a3) { a3 != null && (b += a3); }); return b; @@ -3856,19 +3876,21 @@ var require_react_dom_server_node_production_min = __commonJS({ } function bb2(a2, b, c3) { function d2(d3, h3) { - var e3 = h3.prototype && h3.prototype.isReactComponent, f3 = oa(h3, b, c3, e3), t2 = [], g2 = false, m4 = { isMounted: function() { - return false; - }, enqueueForceUpdate: function() { - if (t2 === null) - return null; - }, enqueueReplaceState: function(a3, b2) { - g2 = true; - t2 = [b2]; - }, enqueueSetState: function(a3, b2) { - if (t2 === null) - return null; - t2.push(b2); - } }; + var e3 = h3.prototype && h3.prototype.isReactComponent, f3 = oa(h3, b, c3, e3), t2 = [], g2 = false, m4 = { + isMounted: function () { + return false; + }, enqueueForceUpdate: function () { + if (t2 === null) + return null; + }, enqueueReplaceState: function (a3, b2) { + g2 = true; + t2 = [b2]; + }, enqueueSetState: function (a3, b2) { + if (t2 === null) + return null; + t2.push(b2); + } + }; if (e3) { if (e3 = new h3(d3.props, f3, m4), typeof h3.getDerivedStateFromProps === "function") { var k = h3.getDerivedStateFromProps.call(null, d3.props, e3.state); @@ -3914,7 +3936,7 @@ var require_react_dom_server_node_production_min = __commonJS({ } y3 && (b = l2({}, b, y3)); } - for (; n2.isValidElement(a2); ) { + for (; n2.isValidElement(a2);) { var f2 = a2, h2 = f2.type; if (typeof h2 !== "function") break; @@ -3922,7 +3944,7 @@ var require_react_dom_server_node_production_min = __commonJS({ } return { child: a2, context: b }; } - var cb = function() { + var cb = function () { function a2(a3, b2, f2) { n2.isValidElement(a3) ? a3.type !== r4 ? a3 = [a3] : (a3 = a3.props.children, a3 = n2.isValidElement(a3) ? [a3] : Z(a3)) : a3 = Z(a3); a3 = { type: null, domNamespace: Ma.html, children: a3, childIndex: 0, context: na, footer: "" }; @@ -3956,7 +3978,7 @@ var require_react_dom_server_node_production_min = __commonJS({ this.identifierPrefix = f2 && f2.identifierPrefix || ""; } var b = a2.prototype; - b.destroy = function() { + b.destroy = function () { if (!this.exhausted) { this.exhausted = true; this.clearProviders(); @@ -3965,7 +3987,7 @@ var require_react_dom_server_node_production_min = __commonJS({ J[0] = a3; } }; - b.pushProvider = function(a3) { + b.pushProvider = function (a3) { var b2 = ++this.contextIndex, c3 = a3.type._context, h2 = this.threadID; I(c3, h2); var t2 = c3[h2]; @@ -3973,18 +3995,18 @@ var require_react_dom_server_node_production_min = __commonJS({ this.contextValueStack[b2] = t2; c3[h2] = a3.props.value; }; - b.popProvider = function() { + b.popProvider = function () { var a3 = this.contextIndex, b2 = this.contextStack[a3], f2 = this.contextValueStack[a3]; this.contextStack[a3] = null; this.contextValueStack[a3] = null; this.contextIndex--; b2[this.threadID] = f2; }; - b.clearProviders = function() { + b.clearProviders = function () { for (var a3 = this.contextIndex; 0 <= a3; a3--) this.contextStack[a3][this.threadID] = this.contextValueStack[a3]; }; - b.read = function(a3) { + b.read = function (a3) { if (this.exhausted) return null; var b2 = X2; @@ -3992,7 +4014,7 @@ var require_react_dom_server_node_production_min = __commonJS({ var c3 = Ta.current; Ta.current = La; try { - for (var h2 = [""], t2 = false; h2[0].length < a3; ) { + for (var h2 = [""], t2 = false; h2[0].length < a3;) { if (this.stack.length === 0) { this.exhausted = true; var g2 = this.threadID; @@ -4043,7 +4065,7 @@ var require_react_dom_server_node_production_min = __commonJS({ Ta.current = c3, X2 = b2, Fa(); } }; - b.render = function(a3, b2, f2) { + b.render = function (a3, b2, f2) { if (typeof a3 === "string" || typeof a3 === "number") { f2 = "" + a3; if (f2 === "") @@ -4129,7 +4151,7 @@ var require_react_dom_server_node_production_min = __commonJS({ } throw Error(p2(130, c3 == null ? c3 : typeof c3, "")); }; - b.renderDOM = function(a3, b2, f2) { + b.renderDOM = function (a3, b2, f2) { var c3 = a3.type.toLowerCase(); f2 === Ma.html && Na(c3); if (!Wa.hasOwnProperty(c3)) { @@ -4195,23 +4217,23 @@ var require_react_dom_server_node_production_min = __commonJS({ L = this.stack.length === 1; G = "<" + a3.type; b: - if (c3.indexOf("-") === -1) - C = typeof g2.is === "string"; - else - switch (c3) { - case "annotation-xml": - case "color-profile": - case "font-face": - case "font-face-src": - case "font-face-uri": - case "font-face-format": - case "font-face-name": - case "missing-glyph": - C = false; - break b; - default: - C = true; - } + if (c3.indexOf("-") === -1) + C = typeof g2.is === "string"; + else + switch (c3) { + case "annotation-xml": + case "color-profile": + case "font-face": + case "font-face-src": + case "font-face-uri": + case "font-face-format": + case "font-face-name": + case "missing-glyph": + C = false; + break b; + default: + C = true; + } for (w2 in g2) if (Za.call(g2, w2)) { var m4 = g2[w2]; @@ -4275,7 +4297,7 @@ var require_react_dom_server_node_production_min = __commonJS({ a2.prototype.constructor = a2; a2.__proto__ = b; } - var fb = function(a2) { + var fb = function (a2) { function b(b2, c4, h2) { var d2 = a2.call(this, {}) || this; d2.partialRenderer = new cb(b2, c4, h2); @@ -4283,11 +4305,11 @@ var require_react_dom_server_node_production_min = __commonJS({ } db(b, a2); var c3 = b.prototype; - c3._destroy = function(a3, b2) { + c3._destroy = function (a3, b2) { this.partialRenderer.destroy(); b2(a3); }; - c3._read = function(a3) { + c3._read = function (a3) { try { this.push(this.partialRenderer.read(a3)); } catch (f2) { @@ -4296,10 +4318,10 @@ var require_react_dom_server_node_production_min = __commonJS({ }; return b; }(aa.Readable); - exports2.renderToNodeStream = function(a2, b) { + exports2.renderToNodeStream = function (a2, b) { return new fb(a2, false, b); }; - exports2.renderToStaticMarkup = function(a2, b) { + exports2.renderToStaticMarkup = function (a2, b) { a2 = new cb(a2, true, b); try { return a2.read(Infinity); @@ -4307,10 +4329,10 @@ var require_react_dom_server_node_production_min = __commonJS({ a2.destroy(); } }; - exports2.renderToStaticNodeStream = function(a2, b) { + exports2.renderToStaticNodeStream = function (a2, b) { return new fb(a2, true, b); }; - exports2.renderToString = function(a2, b) { + exports2.renderToString = function (a2, b) { a2 = new cb(a2, false, b); try { return a2.read(Infinity); @@ -4327,7 +4349,7 @@ var require_react_dom_server_node_development = __commonJS({ "node_modules/react-dom/cjs/react-dom-server.node.development.js"(exports2) { "use strict"; if (process.env.NODE_ENV !== "production") { - (function() { + (function () { "use strict"; var React4 = require_react(); var _assign = require_object_assign(); @@ -4365,7 +4387,7 @@ var require_react_dom_server_node_development = __commonJS({ format2 += "%s"; args = args.concat([stack]); } - var argsWithFormat = args.map(function(item) { + var argsWithFormat = args.map(function (item) { return "" + item; }); argsWithFormat.unshift("Warning: " + format2); @@ -4601,11 +4623,11 @@ var require_react_dom_server_node_development = __commonJS({ } try { if (construct) { - var Fake = function() { + var Fake = function () { throw Error(); }; Object.defineProperty(Fake.prototype, "props", { - set: function() { + set: function () { throw Error(); } }); @@ -5000,17 +5022,17 @@ var require_react_dom_server_node_development = __commonJS({ "suppressHydrationWarning", "style" ]; - reservedProps.forEach(function(name) { + reservedProps.forEach(function (name) { properties2[name] = new PropertyInfoRecord(name, RESERVED, false, name, null, false, false); }); - [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(_ref) { + [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function (_ref) { var name = _ref[0], attributeName = _ref[1]; properties2[name] = new PropertyInfoRecord(name, STRING, false, attributeName, null, false, false); }); - ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(name) { + ["contentEditable", "draggable", "spellCheck", "value"].forEach(function (name) { properties2[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, name.toLowerCase(), null, false, false); }); - ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(name) { + ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function (name) { properties2[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, name, null, false, false); }); [ @@ -5037,7 +5059,7 @@ var require_react_dom_server_node_development = __commonJS({ "scoped", "seamless", "itemScope" - ].forEach(function(name) { + ].forEach(function (name) { properties2[name] = new PropertyInfoRecord(name, BOOLEAN, false, name.toLowerCase(), null, false, false); }); [ @@ -5045,13 +5067,13 @@ var require_react_dom_server_node_development = __commonJS({ "multiple", "muted", "selected" - ].forEach(function(name) { + ].forEach(function (name) { properties2[name] = new PropertyInfoRecord(name, BOOLEAN, true, name, null, false, false); }); [ "capture", "download" - ].forEach(function(name) { + ].forEach(function (name) { properties2[name] = new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, name, null, false, false); }); [ @@ -5059,14 +5081,14 @@ var require_react_dom_server_node_development = __commonJS({ "rows", "size", "span" - ].forEach(function(name) { + ].forEach(function (name) { properties2[name] = new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, name, null, false, false); }); - ["rowSpan", "start"].forEach(function(name) { + ["rowSpan", "start"].forEach(function (name) { properties2[name] = new PropertyInfoRecord(name, NUMERIC, false, name.toLowerCase(), null, false, false); }); var CAMELIZE = /[\-\:]([a-z])/g; - var capitalize = function(token) { + var capitalize = function (token) { return token[1].toUpperCase(); }; [ @@ -5143,7 +5165,7 @@ var require_react_dom_server_node_development = __commonJS({ "writing-mode", "xmlns:xlink", "x-height" - ].forEach(function(attributeName) { + ].forEach(function (attributeName) { var name = attributeName.replace(CAMELIZE, capitalize); properties2[name] = new PropertyInfoRecord(name, STRING, false, attributeName, null, false, false); }); @@ -5154,7 +5176,7 @@ var require_react_dom_server_node_development = __commonJS({ "xlink:show", "xlink:title", "xlink:type" - ].forEach(function(attributeName) { + ].forEach(function (attributeName) { var name = attributeName.replace(CAMELIZE, capitalize); properties2[name] = new PropertyInfoRecord(name, STRING, false, attributeName, "http://www.w3.org/1999/xlink", false, false); }); @@ -5162,16 +5184,16 @@ var require_react_dom_server_node_development = __commonJS({ "xml:base", "xml:lang", "xml:space" - ].forEach(function(attributeName) { + ].forEach(function (attributeName) { var name = attributeName.replace(CAMELIZE, capitalize); properties2[name] = new PropertyInfoRecord(name, STRING, false, attributeName, "http://www.w3.org/XML/1998/namespace", false, false); }); - ["tabIndex", "crossOrigin"].forEach(function(attributeName) { + ["tabIndex", "crossOrigin"].forEach(function (attributeName) { properties2[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, attributeName.toLowerCase(), null, false, false); }); var xlinkHref = "xlinkHref"; properties2[xlinkHref] = new PropertyInfoRecord("xlinkHref", STRING, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false); - ["src", "href", "action", "formAction"].forEach(function(attributeName) { + ["src", "href", "action", "formAction"].forEach(function (attributeName) { properties2[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, attributeName.toLowerCase(), null, true, true); }); var isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i; @@ -5533,7 +5555,7 @@ var require_react_dom_server_node_development = __commonJS({ } } function useCallback(callback, deps) { - return useMemo3(function() { + return useMemo3(function () { return callback; }, deps); } @@ -5547,7 +5569,7 @@ var require_react_dom_server_node_development = __commonJS({ } function useTransition() { resolveCurrentlyRenderingComponent(); - var startTransition = function(callback) { + var startTransition = function (callback) { callback(); }; return [startTransition, false]; @@ -5727,8 +5749,8 @@ var require_react_dom_server_node_development = __commonJS({ return prefix2 + key.charAt(0).toUpperCase() + key.substring(1); } var prefixes2 = ["Webkit", "ms", "Moz", "O"]; - Object.keys(isUnitlessNumber).forEach(function(prop) { - prefixes2.forEach(function(prefix2) { + Object.keys(isUnitlessNumber).forEach(function (prop) { + prefixes2.forEach(function (prefix2) { isUnitlessNumber[prefixKey(prefix2, prop)] = isUnitlessNumber[prop]; }); }); @@ -5765,7 +5787,7 @@ var require_react_dom_server_node_development = __commonJS({ return true; } } - var warnValidStyle = function() { + var warnValidStyle = function () { }; { var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/; @@ -5776,47 +5798,47 @@ var require_react_dom_server_node_development = __commonJS({ var warnedStyleValues = {}; var warnedForNaNValue = false; var warnedForInfinityValue = false; - var camelize = function(string) { - return string.replace(hyphenPattern, function(_10, character) { + var camelize = function (string) { + return string.replace(hyphenPattern, function (_10, character) { return character.toUpperCase(); }); }; - var warnHyphenatedStyleName = function(name) { + var warnHyphenatedStyleName = function (name) { if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) { return; } warnedStyleNames[name] = true; error("Unsupported style property %s. Did you mean %s?", name, camelize(name.replace(msPattern$1, "ms-"))); }; - var warnBadVendoredStyleName = function(name) { + var warnBadVendoredStyleName = function (name) { if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) { return; } warnedStyleNames[name] = true; error("Unsupported vendor-prefixed style property %s. Did you mean %s?", name, name.charAt(0).toUpperCase() + name.slice(1)); }; - var warnStyleValueWithSemicolon = function(name, value) { + var warnStyleValueWithSemicolon = function (name, value) { if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) { return; } warnedStyleValues[value] = true; error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`, name, value.replace(badStyleValueWithSemicolonPattern, "")); }; - var warnStyleValueIsNaN = function(name, value) { + var warnStyleValueIsNaN = function (name, value) { if (warnedForNaNValue) { return; } warnedForNaNValue = true; error("`NaN` is an invalid value for the `%s` css style property.", name); }; - var warnStyleValueIsInfinity = function(name, value) { + var warnStyleValueIsInfinity = function (name, value) { if (warnedForInfinityValue) { return; } warnedForInfinityValue = true; error("`Infinity` is an invalid value for the `%s` css style property.", name); }; - warnValidStyle = function(name, value) { + warnValidStyle = function (name, value) { if (name.indexOf("-") > -1) { warnHyphenatedStyleName(name); } else if (badVendoredStyleNamePattern.test(name)) { @@ -5932,7 +5954,7 @@ var require_react_dom_server_node_development = __commonJS({ invalidProps.push(key); } } - var unknownPropString = invalidProps.map(function(prop) { + var unknownPropString = invalidProps.map(function (prop) { return "`" + prop + "`"; }).join(", "); if (invalidProps.length === 1) { @@ -6449,7 +6471,7 @@ var require_react_dom_server_node_development = __commonJS({ z: "z", zoomandpan: "zoomAndPan" }; - var validateProperty$1 = function() { + var validateProperty$1 = function () { }; { var warnedProperties$1 = {}; @@ -6458,7 +6480,7 @@ var require_react_dom_server_node_development = __commonJS({ var INVALID_EVENT_NAME_REGEX = /^on[^A-Z]/; var rARIA$1 = new RegExp("^(aria)-[" + ATTRIBUTE_NAME_CHAR + "]*$"); var rARIACamel$1 = new RegExp("^(aria)[A-Z][" + ATTRIBUTE_NAME_CHAR + "]*$"); - validateProperty$1 = function(tagName, name, value, eventRegistry) { + validateProperty$1 = function (tagName, name, value, eventRegistry) { if (_hasOwnProperty.call(warnedProperties$1, name) && warnedProperties$1[name]) { return true; } @@ -6552,7 +6574,7 @@ var require_react_dom_server_node_development = __commonJS({ return true; }; } - var warnUnknownProperties = function(type2, props2, eventRegistry) { + var warnUnknownProperties = function (type2, props2, eventRegistry) { { var unknownProps = []; for (var key in props2) { @@ -6561,7 +6583,7 @@ var require_react_dom_server_node_development = __commonJS({ unknownProps.push(key); } } - var unknownPropString = unknownProps.map(function(prop) { + var unknownPropString = unknownProps.map(function (prop) { return "`" + prop + "`"; }).join(", "); if (unknownProps.length === 1) { @@ -6582,51 +6604,51 @@ var require_react_dom_server_node_development = __commonJS({ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher; var ReactDebugCurrentFrame$1; var prevGetCurrentStackImpl = null; - var getCurrentServerStackImpl = function() { + var getCurrentServerStackImpl = function () { return ""; }; - var describeStackFrame = function(element) { + var describeStackFrame = function (element) { return ""; }; - var validatePropertiesInDevelopment = function(type2, props2) { + var validatePropertiesInDevelopment = function (type2, props2) { }; - var pushCurrentDebugStack = function(stack) { + var pushCurrentDebugStack = function (stack) { }; - var pushElementToDebugStack = function(element) { + var pushElementToDebugStack = function (element) { }; - var popCurrentDebugStack = function() { + var popCurrentDebugStack = function () { }; var hasWarnedAboutUsingContextAsConsumer = false; { ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame; - validatePropertiesInDevelopment = function(type2, props2) { + validatePropertiesInDevelopment = function (type2, props2) { validateProperties(type2, props2); validateProperties$1(type2, props2); validateProperties$2(type2, props2, null); }; - describeStackFrame = function(element) { + describeStackFrame = function (element) { return describeUnknownElementTypeFrameInDEV(element.type, element._source, null); }; - pushCurrentDebugStack = function(stack) { + pushCurrentDebugStack = function (stack) { currentDebugStacks.push(stack); if (currentDebugStacks.length === 1) { prevGetCurrentStackImpl = ReactDebugCurrentFrame$1.getCurrentStack; ReactDebugCurrentFrame$1.getCurrentStack = getCurrentServerStackImpl; } }; - pushElementToDebugStack = function(element) { + pushElementToDebugStack = function (element) { var stack = currentDebugStacks[currentDebugStacks.length - 1]; var frame2 = stack[stack.length - 1]; frame2.debugElementStack.push(element); }; - popCurrentDebugStack = function() { + popCurrentDebugStack = function () { currentDebugStacks.pop(); if (currentDebugStacks.length === 0) { ReactDebugCurrentFrame$1.getCurrentStack = prevGetCurrentStackImpl; prevGetCurrentStackImpl = null; } }; - getCurrentServerStackImpl = function() { + getCurrentServerStackImpl = function () { if (currentDebugStacks.length === 0) { return ""; } @@ -6672,7 +6694,7 @@ var require_react_dom_server_node_development = __commonJS({ } } var styleNameCache = {}; - var processStyleName = function(styleName) { + var processStyleName = function (styleName) { if (styleNameCache.hasOwnProperty(styleName)) { return styleNameCache[styleName]; } @@ -6751,7 +6773,7 @@ var require_react_dom_server_node_development = __commonJS({ return children2; } var content = ""; - React4.Children.forEach(children2, function(child) { + React4.Children.forEach(children2, function (child) { if (child == null) { return; } @@ -6834,20 +6856,20 @@ var require_react_dom_server_node_development = __commonJS({ var queue = []; var replace = false; var updater = { - isMounted: function(publicInstance) { + isMounted: function (publicInstance) { return false; }, - enqueueForceUpdate: function(publicInstance) { + enqueueForceUpdate: function (publicInstance) { if (queue === null) { warnNoop(publicInstance, "forceUpdate"); return null; } }, - enqueueReplaceState: function(publicInstance, completeState) { + enqueueReplaceState: function (publicInstance, completeState) { replace = true; queue = [completeState]; }, - enqueueSetState: function(publicInstance, currentPartialState) { + enqueueSetState: function (publicInstance, currentPartialState) { if (queue === null) { warnNoop(publicInstance, "setState"); return null; @@ -7000,7 +7022,7 @@ var require_react_dom_server_node_development = __commonJS({ context }; } - var ReactDOMServerRenderer = /* @__PURE__ */ function() { + var ReactDOMServerRenderer = /* @__PURE__ */ function () { function ReactDOMServerRenderer2(children2, makeStaticMarkup, options) { var flatChildren = flattenTopLevelChildren(children2); var topFrame = { @@ -7601,7 +7623,7 @@ var require_react_dom_server_node_development = __commonJS({ subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; } - var ReactMarkupReadableStream = /* @__PURE__ */ function(_Readable) { + var ReactMarkupReadableStream = /* @__PURE__ */ function (_Readable) { _inheritsLoose(ReactMarkupReadableStream2, _Readable); function ReactMarkupReadableStream2(element, makeStaticMarkup, options) { var _this; @@ -7778,7 +7800,7 @@ var require_stringify = __commonJS({ var require_is_number = __commonJS({ "node_modules/is-number/index.js"(exports2, module2) { "use strict"; - module2.exports = function(num) { + module2.exports = function (num) { if (typeof num === "number") { return num - num === 0; } @@ -10454,7 +10476,7 @@ var require_coreJsData = __commonJS({ var require_isMasked = __commonJS({ "node_modules/lodash/_isMasked.js"(exports2, module2) { var coreJsData = require_coreJsData(); - var maskSrcKey = function() { + var maskSrcKey = function () { var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ""); return uid ? "Symbol(src)_1." + uid : ""; }(); @@ -10539,7 +10561,7 @@ var require_getNative = __commonJS({ var require_defineProperty = __commonJS({ "node_modules/lodash/_defineProperty.js"(exports2, module2) { var getNative = require_getNative(); - var defineProperty = function() { + var defineProperty = function () { try { var func = getNative(Object, "defineProperty"); func({}, "", {}); @@ -10590,7 +10612,7 @@ var require_arrayAggregator = __commonJS({ var require_createBaseFor = __commonJS({ "node_modules/lodash/_createBaseFor.js"(exports2, module2) { function createBaseFor(fromRight) { - return function(object, iteratee, keysFunc) { + return function (object, iteratee, keysFunc) { var index = -1, iterable = Object(object), props2 = keysFunc(object), length = props2.length; while (length--) { var key = props2[fromRight ? length : ++index]; @@ -10659,9 +10681,9 @@ var require_isArguments = __commonJS({ var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; var propertyIsEnumerable = objectProto.propertyIsEnumerable; - var isArguments = baseIsArguments(function() { + var isArguments = baseIsArguments(function () { return arguments; - }()) ? baseIsArguments : function(value) { + }()) ? baseIsArguments : function (value) { return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee"); }; module2.exports = isArguments; @@ -10770,7 +10792,7 @@ var require_baseIsTypedArray = __commonJS({ var require_baseUnary = __commonJS({ "node_modules/lodash/_baseUnary.js"(exports2, module2) { function baseUnary(func) { - return function(value) { + return function (value) { return func(value); }; } @@ -10786,7 +10808,7 @@ var require_nodeUtil = __commonJS({ var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2; var moduleExports = freeModule && freeModule.exports === freeExports; var freeProcess = moduleExports && freeGlobal.process; - var nodeUtil = function() { + var nodeUtil = function () { try { var types = freeModule && freeModule.require && freeModule.require("util").types; if (types) { @@ -10852,7 +10874,7 @@ var require_isPrototype = __commonJS({ var require_overArg = __commonJS({ "node_modules/lodash/_overArg.js"(exports2, module2) { function overArg(func, transform2) { - return function(arg) { + return function (arg) { return func(transform2(arg)); }; } @@ -10934,7 +10956,7 @@ var require_createBaseEach = __commonJS({ "node_modules/lodash/_createBaseEach.js"(exports2, module2) { var isArrayLike = require_isArrayLike(); function createBaseEach(eachFunc, fromRight) { - return function(collection, iteratee) { + return function (collection, iteratee) { if (collection == null) { return collection; } @@ -10969,7 +10991,7 @@ var require_baseAggregator = __commonJS({ "node_modules/lodash/_baseAggregator.js"(exports2, module2) { var baseEach = require_baseEach(); function baseAggregator(collection, setter, iteratee, accumulator) { - baseEach(collection, function(value, key, collection2) { + baseEach(collection, function (value, key, collection2) { setter(accumulator, value, iteratee(value), collection2); }); return accumulator; @@ -11530,7 +11552,7 @@ var require_equalArrays = __commonJS({ break; } if (seen) { - if (!arraySome(other, function(othValue2, othIndex) { + if (!arraySome(other, function (othValue2, othIndex) { if (!cacheHas(seen, othIndex) && (arrValue === othValue2 || equalFunc(arrValue, othValue2, bitmask, customizer, stack))) { return seen.push(othIndex); } @@ -11565,7 +11587,7 @@ var require_mapToArray = __commonJS({ "node_modules/lodash/_mapToArray.js"(exports2, module2) { function mapToArray(map2) { var index = -1, result = Array(map2.size); - map2.forEach(function(value, key) { + map2.forEach(function (value, key) { result[++index] = [key, value]; }); return result; @@ -11579,7 +11601,7 @@ var require_setToArray = __commonJS({ "node_modules/lodash/_setToArray.js"(exports2, module2) { function setToArray(set3) { var index = -1, result = Array(set3.size); - set3.forEach(function(value) { + set3.forEach(function (value) { result[++index] = value; }); return result; @@ -11724,12 +11746,12 @@ var require_getSymbols = __commonJS({ var objectProto = Object.prototype; var propertyIsEnumerable = objectProto.propertyIsEnumerable; var nativeGetSymbols = Object.getOwnPropertySymbols; - var getSymbols = !nativeGetSymbols ? stubArray : function(object) { + var getSymbols = !nativeGetSymbols ? stubArray : function (object) { if (object == null) { return []; } object = Object(object); - return arrayFilter(nativeGetSymbols(object), function(symbol) { + return arrayFilter(nativeGetSymbols(object), function (symbol) { return propertyIsEnumerable.call(object, symbol); }); }; @@ -11867,7 +11889,7 @@ var require_getTag = __commonJS({ var weakMapCtorString = toSource(WeakMap2); var getTag = baseGetTag; if (DataView2 && getTag(new DataView2(new ArrayBuffer(1))) != dataViewTag || Map2 && getTag(new Map2()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set2 && getTag(new Set2()) != setTag || WeakMap2 && getTag(new WeakMap2()) != weakMapTag) { - getTag = function(value) { + getTag = function (value) { var result = baseGetTag(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : ""; if (ctorString) { switch (ctorString) { @@ -12033,7 +12055,7 @@ var require_getMatchData = __commonJS({ var require_matchesStrictComparable = __commonJS({ "node_modules/lodash/_matchesStrictComparable.js"(exports2, module2) { function matchesStrictComparable(key, srcValue) { - return function(object) { + return function (object) { if (object == null) { return false; } @@ -12055,7 +12077,7 @@ var require_baseMatches = __commonJS({ if (matchData.length == 1 && matchData[0][2]) { return matchesStrictComparable(matchData[0][0], matchData[0][1]); } - return function(object) { + return function (object) { return object === source || baseIsMatch(object, source, matchData); }; } @@ -12106,7 +12128,7 @@ var require_memoize = __commonJS({ if (typeof func != "function" || resolver != null && typeof resolver != "function") { throw new TypeError(FUNC_ERROR_TEXT); } - var memoized = function() { + var memoized = function () { var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache; if (cache.has(key)) { return cache.get(key); @@ -12129,7 +12151,7 @@ var require_memoizeCapped = __commonJS({ var memoize = require_memoize(); var MAX_MEMOIZE_SIZE = 500; function memoizeCapped(func) { - var result = memoize(func, function(key) { + var result = memoize(func, function (key) { if (cache.size === MAX_MEMOIZE_SIZE) { cache.clear(); } @@ -12148,12 +12170,12 @@ var require_stringToPath = __commonJS({ var memoizeCapped = require_memoizeCapped(); var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; var reEscapeChar = /\\(\\)?/g; - var stringToPath = memoizeCapped(function(string) { + var stringToPath = memoizeCapped(function (string) { var result = []; if (string.charCodeAt(0) === 46) { result.push(""); } - string.replace(rePropName, function(match, number3, quote, subString) { + string.replace(rePropName, function (match, number3, quote, subString) { result.push(quote ? subString.replace(reEscapeChar, "$1") : number3 || match); }); return result; @@ -12343,7 +12365,7 @@ var require_baseMatchesProperty = __commonJS({ if (isKey(path) && isStrictComparable(srcValue)) { return matchesStrictComparable(toKey(path), srcValue); } - return function(object) { + return function (object) { var objValue = get3(object, path); return objValue === void 0 && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG); }; @@ -12366,7 +12388,7 @@ var require_identity = __commonJS({ var require_baseProperty = __commonJS({ "node_modules/lodash/_baseProperty.js"(exports2, module2) { function baseProperty(key) { - return function(object) { + return function (object) { return object == null ? void 0 : object[key]; }; } @@ -12379,7 +12401,7 @@ var require_basePropertyDeep = __commonJS({ "node_modules/lodash/_basePropertyDeep.js"(exports2, module2) { var baseGet = require_baseGet(); function basePropertyDeep(path) { - return function(object) { + return function (object) { return baseGet(object, path); }; } @@ -12433,7 +12455,7 @@ var require_createAggregator = __commonJS({ var baseIteratee = require_baseIteratee(); var isArray = require_isArray(); function createAggregator(setter, initializer) { - return function(collection, iteratee) { + return function (collection, iteratee) { var func = isArray(collection) ? arrayAggregator : baseAggregator, accumulator = initializer ? initializer() : {}; return func(collection, setter, baseIteratee(iteratee, 2), accumulator); }; @@ -12449,7 +12471,7 @@ var require_countBy = __commonJS({ var createAggregator = require_createAggregator(); var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; - var countBy2 = createAggregator(function(result, value, key) { + var countBy2 = createAggregator(function (result, value, key) { if (hasOwnProperty.call(result, key)) { ++result[key]; } else { @@ -12506,7 +12528,7 @@ var require_baseToPairs = __commonJS({ "node_modules/lodash/_baseToPairs.js"(exports2, module2) { var arrayMap = require_arrayMap(); function baseToPairs(object, props2) { - return arrayMap(props2, function(key) { + return arrayMap(props2, function (key) { return [key, object[key]]; }); } @@ -12519,7 +12541,7 @@ var require_setToPairs = __commonJS({ "node_modules/lodash/_setToPairs.js"(exports2, module2) { function setToPairs(set3) { var index = -1, result = Array(set3.size); - set3.forEach(function(value) { + set3.forEach(function (value) { result[++index] = [value, value]; }); return result; @@ -12538,7 +12560,7 @@ var require_createToPairs = __commonJS({ var mapTag = "[object Map]"; var setTag = "[object Set]"; function createToPairs(keysFunc) { - return function(object) { + return function (object) { var tag = getTag(object); if (tag == mapTag) { return mapToArray(object); @@ -12669,7 +12691,7 @@ var require_createSet = __commonJS({ var noop2 = require_noop(); var setToArray = require_setToArray(); var INFINITY = 1 / 0; - var createSet = !(Set2 && 1 / setToArray(new Set2([, -0]))[1] == INFINITY) ? noop2 : function(values) { + var createSet = !(Set2 && 1 / setToArray(new Set2([, -0]))[1] == INFINITY) ? noop2 : function (values) { return new Set2(values); }; module2.exports = createSet; @@ -12703,27 +12725,27 @@ var require_baseUniq = __commonJS({ seen = iteratee ? [] : result; } outer: - while (++index < length) { - var value = array2[index], computed = iteratee ? iteratee(value) : value; - value = comparator || value !== 0 ? value : 0; - if (isCommon && computed === computed) { - var seenIndex = seen.length; - while (seenIndex--) { - if (seen[seenIndex] === computed) { - continue outer; - } - } - if (iteratee) { - seen.push(computed); - } - result.push(value); - } else if (!includes(seen, computed, comparator)) { - if (seen !== result) { - seen.push(computed); + while (++index < length) { + var value = array2[index], computed = iteratee ? iteratee(value) : value; + value = comparator || value !== 0 ? value : 0; + if (isCommon && computed === computed) { + var seenIndex = seen.length; + while (seenIndex--) { + if (seen[seenIndex] === computed) { + continue outer; } - result.push(value); } + if (iteratee) { + seen.push(computed); + } + result.push(value); + } else if (!includes(seen, computed, comparator)) { + if (seen !== result) { + seen.push(computed); + } + result.push(value); } + } return result; } module2.exports = baseUniq; @@ -12824,7 +12846,7 @@ var import_micromatch = __toModule(require_micromatch()); var shouldExcludePath = (path, pathsToIgnore, globsToIgnore) => { if (!path) return false; - return pathsToIgnore.has(path) || globsToIgnore.some((glob) => (0, import_micromatch.isMatch)(path, glob)); + return pathsToIgnore.has(path) || globsToIgnore.some((glob) => !glob || (0, import_micromatch.isMatch)(path, glob)); }; // src/process-dir.js @@ -13045,8 +13067,10 @@ function range_default(start2, stop, step) { } // node_modules/d3-dispatch/src/dispatch.js -var noop = { value: () => { -} }; +var noop = { + value: () => { + } +}; function dispatch() { for (var i = 0, n2 = arguments.length, _10 = {}, t2; i < n2; ++i) { if (!(t2 = arguments[i] + "") || t2 in _10 || /[\s.]/.test(t2)) @@ -13059,7 +13083,7 @@ function Dispatch(_10) { this._ = _10; } function parseTypenames(typenames, types) { - return typenames.trim().split(/^|\s+/).map(function(t2) { + return typenames.trim().split(/^|\s+/).map(function (t2) { var name = "", i = t2.indexOf("."); if (i >= 0) name = t2.slice(i + 1), t2 = t2.slice(0, i); @@ -13070,7 +13094,7 @@ function parseTypenames(typenames, types) { } Dispatch.prototype = dispatch.prototype = { constructor: Dispatch, - on: function(typename, callback) { + on: function (typename, callback) { var _10 = this._, T = parseTypenames(typename + "", _10), t2, i = -1, n2 = T.length; if (arguments.length < 2) { while (++i < n2) @@ -13089,13 +13113,13 @@ Dispatch.prototype = dispatch.prototype = { } return this; }, - copy: function() { + copy: function () { var copy2 = {}, _10 = this._; for (var t2 in _10) copy2[t2] = _10[t2].slice(); return new Dispatch(copy2); }, - call: function(type2, that) { + call: function (type2, that) { if ((n2 = arguments.length - 2) > 0) for (var args = new Array(n2), i = 0, n2, t2; i < n2; ++i) args[i] = arguments[i + 2]; @@ -13104,7 +13128,7 @@ Dispatch.prototype = dispatch.prototype = { for (t2 = this._[type2], i = 0, n2 = t2.length; i < n2; ++i) t2[i].value.apply(that, args); }, - apply: function(type2, that, args) { + apply: function (type2, that, args) { if (!this._.hasOwnProperty(type2)) throw new Error("unknown type: " + type2); for (var t2 = this._[type2], i = 0, n2 = t2.length; i < n2; ++i) @@ -13151,13 +13175,13 @@ function namespace_default(name) { // node_modules/d3-selection/src/creator.js function creatorInherit(name) { - return function() { + return function () { var document2 = this.ownerDocument, uri = this.namespaceURI; return uri === xhtml && document2.documentElement.namespaceURI === xhtml ? document2.createElement(name) : document2.createElementNS(uri, name); }; } function creatorFixed(fullname) { - return function() { + return function () { return this.ownerDocument.createElementNS(fullname.space, fullname.local); }; } @@ -13170,7 +13194,7 @@ function creator_default(name) { function none() { } function selector_default(selector) { - return selector == null ? none : function() { + return selector == null ? none : function () { return this.querySelector(selector); }; } @@ -13201,14 +13225,14 @@ function empty() { return []; } function selectorAll_default(selector) { - return selector == null ? empty : function() { + return selector == null ? empty : function () { return this.querySelectorAll(selector); }; } // node_modules/d3-selection/src/selection/selectAll.js function arrayAll(select) { - return function() { + return function () { return array(select.apply(this, arguments)); }; } @@ -13230,12 +13254,12 @@ function selectAll_default(select) { // node_modules/d3-selection/src/matcher.js function matcher_default(selector) { - return function() { + return function () { return this.matches(selector); }; } function childMatcher(selector) { - return function(node) { + return function (node) { return node.matches(selector); }; } @@ -13243,7 +13267,7 @@ function childMatcher(selector) { // node_modules/d3-selection/src/selection/selectChild.js var find = Array.prototype.find; function childFind(match) { - return function() { + return function () { return find.call(this.children, match); }; } @@ -13260,7 +13284,7 @@ function children() { return Array.from(this.children); } function childrenFilter(match) { - return function() { + return function () { return filter.call(this.children, match); }; } @@ -13300,23 +13324,23 @@ function EnterNode(parent, datum2) { } EnterNode.prototype = { constructor: EnterNode, - appendChild: function(child) { + appendChild: function (child) { return this._parent.insertBefore(child, this._next); }, - insertBefore: function(child, next) { + insertBefore: function (child, next) { return this._parent.insertBefore(child, next); }, - querySelector: function(selector) { + querySelector: function (selector) { return this._parent.querySelector(selector); }, - querySelectorAll: function(selector) { + querySelectorAll: function (selector) { return this._parent.querySelectorAll(selector); } }; // node_modules/d3-selection/src/constant.js function constant_default(x2) { - return function() { + return function () { return x2; }; } @@ -13442,8 +13466,8 @@ function merge_default(context) { // node_modules/d3-selection/src/selection/order.js function order_default() { - for (var groups = this._groups, j3 = -1, m4 = groups.length; ++j3 < m4; ) { - for (var group = groups[j3], i = group.length - 1, next = group[i], node; --i >= 0; ) { + for (var groups = this._groups, j3 = -1, m4 = groups.length; ++j3 < m4;) { + for (var group = groups[j3], i = group.length - 1, next = group[i], node; --i >= 0;) { if (node = group[i]) { if (next && node.compareDocumentPosition(next) ^ 4) next.parentNode.insertBefore(node, next); @@ -13526,27 +13550,27 @@ function each_default(callback) { // node_modules/d3-selection/src/selection/attr.js function attrRemove(name) { - return function() { + return function () { this.removeAttribute(name); }; } function attrRemoveNS(fullname) { - return function() { + return function () { this.removeAttributeNS(fullname.space, fullname.local); }; } function attrConstant(name, value) { - return function() { + return function () { this.setAttribute(name, value); }; } function attrConstantNS(fullname, value) { - return function() { + return function () { this.setAttributeNS(fullname.space, fullname.local, value); }; } function attrFunction(name, value) { - return function() { + return function () { var v2 = value.apply(this, arguments); if (v2 == null) this.removeAttribute(name); @@ -13555,7 +13579,7 @@ function attrFunction(name, value) { }; } function attrFunctionNS(fullname, value) { - return function() { + return function () { var v2 = value.apply(this, arguments); if (v2 == null) this.removeAttributeNS(fullname.space, fullname.local); @@ -13579,17 +13603,17 @@ function window_default(node) { // node_modules/d3-selection/src/selection/style.js function styleRemove(name) { - return function() { + return function () { this.style.removeProperty(name); }; } function styleConstant(name, value, priority) { - return function() { + return function () { this.style.setProperty(name, value, priority); }; } function styleFunction(name, value, priority) { - return function() { + return function () { var v2 = value.apply(this, arguments); if (v2 == null) this.style.removeProperty(name); @@ -13606,17 +13630,17 @@ function styleValue(node, name) { // node_modules/d3-selection/src/selection/property.js function propertyRemove(name) { - return function() { + return function () { delete this[name]; }; } function propertyConstant(name, value) { - return function() { + return function () { this[name] = value; }; } function propertyFunction(name, value) { - return function() { + return function () { var v2 = value.apply(this, arguments); if (v2 == null) delete this[name]; @@ -13640,21 +13664,21 @@ function ClassList(node) { this._names = classArray(node.getAttribute("class") || ""); } ClassList.prototype = { - add: function(name) { + add: function (name) { var i = this._names.indexOf(name); if (i < 0) { this._names.push(name); this._node.setAttribute("class", this._names.join(" ")); } }, - remove: function(name) { + remove: function (name) { var i = this._names.indexOf(name); if (i >= 0) { this._names.splice(i, 1); this._node.setAttribute("class", this._names.join(" ")); } }, - contains: function(name) { + contains: function (name) { return this._names.indexOf(name) >= 0; } }; @@ -13669,17 +13693,17 @@ function classedRemove(node, names) { list.remove(names[i]); } function classedTrue(names) { - return function() { + return function () { classedAdd(this, names); }; } function classedFalse(names) { - return function() { + return function () { classedRemove(this, names); }; } function classedFunction(names, value) { - return function() { + return function () { (value.apply(this, arguments) ? classedAdd : classedRemove)(this, names); }; } @@ -13700,12 +13724,12 @@ function textRemove() { this.textContent = ""; } function textConstant(value) { - return function() { + return function () { this.textContent = value; }; } function textFunction(value) { - return function() { + return function () { var v2 = value.apply(this, arguments); this.textContent = v2 == null ? "" : v2; }; @@ -13719,12 +13743,12 @@ function htmlRemove() { this.innerHTML = ""; } function htmlConstant(value) { - return function() { + return function () { this.innerHTML = value; }; } function htmlFunction(value) { - return function() { + return function () { var v2 = value.apply(this, arguments); this.innerHTML = v2 == null ? "" : v2; }; @@ -13754,7 +13778,7 @@ function lower_default() { // node_modules/d3-selection/src/selection/append.js function append_default(name) { var create2 = typeof name === "function" ? name : creator_default(name); - return this.select(function() { + return this.select(function () { return this.appendChild(create2.apply(this, arguments)); }); } @@ -13765,7 +13789,7 @@ function constantNull() { } function insert_default(name, before) { var create2 = typeof name === "function" ? name : creator_default(name), select = before == null ? constantNull : typeof before === "function" ? before : selector_default(before); - return this.select(function() { + return this.select(function () { return this.insertBefore(create2.apply(this, arguments), select.apply(this, arguments) || null); }); } @@ -13800,12 +13824,12 @@ function datum_default(value) { // node_modules/d3-selection/src/selection/on.js function contextListener(listener) { - return function(event) { + return function (event) { listener.call(this, event, this.__data__); }; } function parseTypenames2(typenames) { - return typenames.trim().split(/^|\s+/).map(function(t2) { + return typenames.trim().split(/^|\s+/).map(function (t2) { var name = "", i = t2.indexOf("."); if (i >= 0) name = t2.slice(i + 1), t2 = t2.slice(0, i); @@ -13813,7 +13837,7 @@ function parseTypenames2(typenames) { }); } function onRemove(typename) { - return function() { + return function () { var on = this.__on; if (!on) return; @@ -13831,7 +13855,7 @@ function onRemove(typename) { }; } function onAdd(typename, value, options) { - return function() { + return function () { var on = this.__on, o, listener = contextListener(value); if (on) for (var j3 = 0, m4 = on.length; j3 < m4; ++j3) { @@ -13885,12 +13909,12 @@ function dispatchEvent(node, type2, params) { node.dispatchEvent(event); } function dispatchConstant(type2, params) { - return function() { + return function () { return dispatchEvent(this, type2, params); }; } function dispatchFunction(type2, params) { - return function() { + return function () { return dispatchEvent(this, type2, params.apply(this, arguments)); }; } @@ -14138,10 +14162,10 @@ var named = { yellowgreen: 10145074 }; define_default(Color, color, { - copy: function(channels) { + copy: function (channels) { return Object.assign(new this.constructor(), this, channels); }, - displayable: function() { + displayable: function () { return this.rgb().displayable(); }, hex: color_formatHex, @@ -14190,18 +14214,18 @@ function Rgb(r4, g2, b, opacity) { this.opacity = +opacity; } define_default(Rgb, rgb, extend(Color, { - brighter: function(k) { + brighter: function (k) { k = k == null ? brighter : Math.pow(brighter, k); return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity); }, - darker: function(k) { + darker: function (k) { k = k == null ? darker : Math.pow(darker, k); return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity); }, - rgb: function() { + rgb: function () { return this; }, - displayable: function() { + displayable: function () { return -0.5 <= this.r && this.r < 255.5 && (-0.5 <= this.g && this.g < 255.5) && (-0.5 <= this.b && this.b < 255.5) && (0 <= this.opacity && this.opacity <= 1); }, hex: rgb_formatHex, @@ -14265,22 +14289,22 @@ function Hsl(h2, s, l2, opacity) { this.opacity = +opacity; } define_default(Hsl, hsl, extend(Color, { - brighter: function(k) { + brighter: function (k) { k = k == null ? brighter : Math.pow(brighter, k); return new Hsl(this.h, this.s, this.l * k, this.opacity); }, - darker: function(k) { + darker: function (k) { k = k == null ? darker : Math.pow(darker, k); return new Hsl(this.h, this.s, this.l * k, this.opacity); }, - rgb: function() { + rgb: function () { var h2 = this.h % 360 + (this.h < 0) * 360, s = isNaN(h2) || isNaN(this.s) ? 0 : this.s, l2 = this.l, m23 = l2 + (l2 < 0.5 ? l2 : 1 - l2) * s, m1 = 2 * l2 - m23; return new Rgb(hsl2rgb(h2 >= 240 ? h2 - 240 : h2 + 120, m1, m23), hsl2rgb(h2, m1, m23), hsl2rgb(h2 < 120 ? h2 + 240 : h2 - 120, m1, m23), this.opacity); }, - displayable: function() { + displayable: function () { return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && (0 <= this.l && this.l <= 1) && (0 <= this.opacity && this.opacity <= 1); }, - formatHsl: function() { + formatHsl: function () { var a2 = this.opacity; a2 = isNaN(a2) ? 1 : Math.max(0, Math.min(1, a2)); return (a2 === 1 ? "hsl(" : "hsla(") + (this.h || 0) + ", " + (this.s || 0) * 100 + "%, " + (this.l || 0) * 100 + "%" + (a2 === 1 ? ")" : ", " + a2 + ")"); @@ -14297,7 +14321,7 @@ function basis(t12, v0, v1, v2, v3) { } function basis_default(values) { var n2 = values.length - 1; - return function(t2) { + return function (t2) { var i = t2 <= 0 ? t2 = 0 : t2 >= 1 ? (t2 = 1, n2 - 1) : Math.floor(t2 * n2), v1 = values[i], v2 = values[i + 1], v0 = i > 0 ? values[i - 1] : 2 * v1 - v2, v3 = i < n2 - 1 ? values[i + 2] : 2 * v2 - v1; return basis((t2 - i / n2) * n2, v0, v1, v2, v3); }; @@ -14306,7 +14330,7 @@ function basis_default(values) { // node_modules/d3-interpolate/src/basisClosed.js function basisClosed_default(values) { var n2 = values.length; - return function(t2) { + return function (t2) { var i = Math.floor(((t2 %= 1) < 0 ? ++t2 : t2) * n2), v0 = values[(i + n2 - 1) % n2], v1 = values[i % n2], v2 = values[(i + 1) % n2], v3 = values[(i + 2) % n2]; return basis((t2 - i / n2) * n2, v0, v1, v2, v3); }; @@ -14317,17 +14341,17 @@ var constant_default2 = (x2) => () => x2; // node_modules/d3-interpolate/src/color.js function linear(a2, d2) { - return function(t2) { + return function (t2) { return a2 + t2 * d2; }; } function exponential(a2, b, y3) { - return a2 = Math.pow(a2, y3), b = Math.pow(b, y3) - a2, y3 = 1 / y3, function(t2) { + return a2 = Math.pow(a2, y3), b = Math.pow(b, y3) - a2, y3 = 1 / y3, function (t2) { return Math.pow(a2 + t2 * b, y3); }; } function gamma(y3) { - return (y3 = +y3) === 1 ? nogamma : function(a2, b) { + return (y3 = +y3) === 1 ? nogamma : function (a2, b) { return b - a2 ? exponential(a2, b, y3) : constant_default2(isNaN(a2) ? b : a2); }; } @@ -14341,7 +14365,7 @@ var rgb_default = function rgbGamma(y3) { var color2 = gamma(y3); function rgb2(start2, end) { var r4 = color2((start2 = rgb(start2)).r, (end = rgb(end)).r), g2 = color2(start2.g, end.g), b = color2(start2.b, end.b), opacity = nogamma(start2.opacity, end.opacity); - return function(t2) { + return function (t2) { start2.r = r4(t2); start2.g = g2(t2); start2.b = b(t2); @@ -14353,7 +14377,7 @@ var rgb_default = function rgbGamma(y3) { return rgb2; }(1); function rgbSpline(spline) { - return function(colors) { + return function (colors) { var n2 = colors.length, r4 = new Array(n2), g2 = new Array(n2), b = new Array(n2), i, color2; for (i = 0; i < n2; ++i) { color2 = rgb(colors[i]); @@ -14365,7 +14389,7 @@ function rgbSpline(spline) { g2 = spline(g2); b = spline(b); color2.opacity = 1; - return function(t2) { + return function (t2) { color2.r = r4(t2); color2.g = g2(t2); color2.b = b(t2); @@ -14381,7 +14405,7 @@ function numberArray_default(a2, b) { if (!b) b = []; var n2 = a2 ? Math.min(b.length, a2.length) : 0, c3 = b.slice(), i; - return function(t2) { + return function (t2) { for (i = 0; i < n2; ++i) c3[i] = a2[i] * (1 - t2) + b[i] * t2; return c3; @@ -14398,7 +14422,7 @@ function genericArray(a2, b) { x2[i] = value_default(a2[i], b[i]); for (; i < nb; ++i) c3[i] = b[i]; - return function(t2) { + return function (t2) { for (i = 0; i < na; ++i) c3[i] = x2[i](t2); return c3; @@ -14408,14 +14432,14 @@ function genericArray(a2, b) { // node_modules/d3-interpolate/src/date.js function date_default(a2, b) { var d2 = new Date(); - return a2 = +a2, b = +b, function(t2) { + return a2 = +a2, b = +b, function (t2) { return d2.setTime(a2 * (1 - t2) + b * t2), d2; }; } // node_modules/d3-interpolate/src/number.js function number_default2(a2, b) { - return a2 = +a2, b = +b, function(t2) { + return a2 = +a2, b = +b, function (t2) { return a2 * (1 - t2) + b * t2; }; } @@ -14434,7 +14458,7 @@ function object_default(a2, b) { c3[k] = b[k]; } } - return function(t2) { + return function (t2) { for (k in i) c3[k] = i[k](t2); return c3; @@ -14445,12 +14469,12 @@ function object_default(a2, b) { var reA = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g; var reB = new RegExp(reA.source, "g"); function zero(b) { - return function() { + return function () { return b; }; } function one(b) { - return function(t2) { + return function (t2) { return b(t2) + ""; }; } @@ -14483,7 +14507,7 @@ function string_default(a2, b) { else s[++i] = bs; } - return s.length < 2 ? q2[0] ? one(q2[0].x) : zero(b) : (b = q2.length, function(t2) { + return s.length < 2 ? q2[0] ? one(q2[0].x) : zero(b) : (b = q2.length, function (t2) { for (var i2 = 0, o; i2 < b; ++i2) s[(o = q2[i2]).i] = o.x(t2); return s.join(""); @@ -14498,7 +14522,7 @@ function value_default(a2, b) { // node_modules/d3-interpolate/src/round.js function round_default(a2, b) { - return a2 = +a2, b = +b, function(t2) { + return a2 = +a2, b = +b, function (t2) { return Math.round(a2 * (1 - t2) + b * t2); }; } @@ -14590,7 +14614,7 @@ function interpolateTransform(parse, pxComma, pxParen, degParen) { s.push(pop(s) + "scale(" + xb + "," + yb + ")"); } } - return function(a2, b) { + return function (a2, b) { var s = [], q2 = []; a2 = parse(a2), b = parse(b); translate(a2.translateX, a2.translateY, b.translateX, b.translateY, s, q2); @@ -14598,7 +14622,7 @@ function interpolateTransform(parse, pxComma, pxParen, degParen) { skewX(a2.skewX, b.skewX, s, q2); scale(a2.scaleX, a2.scaleY, b.scaleX, b.scaleY, s, q2); a2 = b = null; - return function(t2) { + return function (t2) { var i = -1, n2 = q2.length, o; while (++i < n2) s[(o = q2[i]).i] = o.x(t2); @@ -14620,7 +14644,7 @@ var clockLast = 0; var clockNow = 0; var clockSkew = 0; var clock = typeof performance === "object" && performance.now ? performance : Date; -var setFrame = typeof window === "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(f2) { +var setFrame = typeof window === "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function (f2) { setTimeout(f2, 17); }; function now() { @@ -14634,7 +14658,7 @@ function Timer() { } Timer.prototype = timer.prototype = { constructor: Timer, - restart: function(callback, delay, time) { + restart: function (callback, delay, time) { if (typeof callback !== "function") throw new TypeError("callback is not a function"); time = (time == null ? now() : +time) + (delay == null ? 0 : +delay); @@ -14649,7 +14673,7 @@ Timer.prototype = timer.prototype = { this._time = time; sleep(); }, - stop: function() { + stop: function () { if (this._call) { this._call = null; this._time = Infinity; @@ -14813,7 +14837,7 @@ function create(node, id2, self3) { delete schedules[i]; } } - timeout_default(function() { + timeout_default(function () { if (self3.state === STARTED) { self3.state = RUNNING; self3.timer.restart(tick, self3.delay, self3.time); @@ -14876,7 +14900,7 @@ function interrupt_default(node, name) { // node_modules/d3-transition/src/selection/interrupt.js function interrupt_default2(name) { - return this.each(function() { + return this.each(function () { interrupt_default(this, name); }); } @@ -14884,7 +14908,7 @@ function interrupt_default2(name) { // node_modules/d3-transition/src/transition/tween.js function tweenRemove(id2, name) { var tween0, tween1; - return function() { + return function () { var schedule = set2(this, id2), tween = schedule.tween; if (tween !== tween0) { tween1 = tween0 = tween; @@ -14903,7 +14927,7 @@ function tweenFunction(id2, name, value) { var tween0, tween1; if (typeof value !== "function") throw new Error(); - return function() { + return function () { var schedule = set2(this, id2), tween = schedule.tween; if (tween !== tween0) { tween1 = (tween0 = tween).slice(); @@ -14935,11 +14959,11 @@ function tween_default(name, value) { } function tweenValue(transition2, name, value) { var id2 = transition2._id; - transition2.each(function() { + transition2.each(function () { var schedule = set2(this, id2); (schedule.value || (schedule.value = {}))[name] = value.apply(this, arguments); }); - return function(node) { + return function (node) { return get2(node, id2).value[name]; }; } @@ -14952,32 +14976,32 @@ function interpolate_default(a2, b) { // node_modules/d3-transition/src/transition/attr.js function attrRemove2(name) { - return function() { + return function () { this.removeAttribute(name); }; } function attrRemoveNS2(fullname) { - return function() { + return function () { this.removeAttributeNS(fullname.space, fullname.local); }; } function attrConstant2(name, interpolate, value1) { var string00, string1 = value1 + "", interpolate0; - return function() { + return function () { var string0 = this.getAttribute(name); return string0 === string1 ? null : string0 === string00 ? interpolate0 : interpolate0 = interpolate(string00 = string0, value1); }; } function attrConstantNS2(fullname, interpolate, value1) { var string00, string1 = value1 + "", interpolate0; - return function() { + return function () { var string0 = this.getAttributeNS(fullname.space, fullname.local); return string0 === string1 ? null : string0 === string00 ? interpolate0 : interpolate0 = interpolate(string00 = string0, value1); }; } function attrFunction2(name, interpolate, value) { var string00, string10, interpolate0; - return function() { + return function () { var string0, value1 = value(this), string1; if (value1 == null) return void this.removeAttribute(name); @@ -14988,7 +15012,7 @@ function attrFunction2(name, interpolate, value) { } function attrFunctionNS2(fullname, interpolate, value) { var string00, string10, interpolate0; - return function() { + return function () { var string0, value1 = value(this), string1; if (value1 == null) return void this.removeAttributeNS(fullname.space, fullname.local); @@ -15004,12 +15028,12 @@ function attr_default2(name, value) { // node_modules/d3-transition/src/transition/attrTween.js function attrInterpolate(name, i) { - return function(t2) { + return function (t2) { this.setAttribute(name, i.call(this, t2)); }; } function attrInterpolateNS(fullname, i) { - return function(t2) { + return function (t2) { this.setAttributeNS(fullname.space, fullname.local, i.call(this, t2)); }; } @@ -15049,12 +15073,12 @@ function attrTween_default(name, value) { // node_modules/d3-transition/src/transition/delay.js function delayFunction(id2, value) { - return function() { + return function () { init(this, id2).delay = +value.apply(this, arguments); }; } function delayConstant(id2, value) { - return value = +value, function() { + return value = +value, function () { init(this, id2).delay = value; }; } @@ -15065,12 +15089,12 @@ function delay_default(value) { // node_modules/d3-transition/src/transition/duration.js function durationFunction(id2, value) { - return function() { + return function () { set2(this, id2).duration = +value.apply(this, arguments); }; } function durationConstant(id2, value) { - return value = +value, function() { + return value = +value, function () { set2(this, id2).duration = value; }; } @@ -15083,7 +15107,7 @@ function duration_default(value) { function easeConstant(id2, value) { if (typeof value !== "function") throw new Error(); - return function() { + return function () { set2(this, id2).ease = value; }; } @@ -15094,7 +15118,7 @@ function ease_default(value) { // node_modules/d3-transition/src/transition/easeVarying.js function easeVarying(id2, value) { - return function() { + return function () { var v2 = value.apply(this, arguments); if (typeof v2 !== "function") throw new Error(); @@ -15140,7 +15164,7 @@ function merge_default2(transition2) { // node_modules/d3-transition/src/transition/on.js function start(name) { - return (name + "").trim().split(/^|\s+/).every(function(t2) { + return (name + "").trim().split(/^|\s+/).every(function (t2) { var i = t2.indexOf("."); if (i >= 0) t2 = t2.slice(0, i); @@ -15149,7 +15173,7 @@ function start(name) { } function onFunction(id2, name, listener) { var on0, on1, sit = start(name) ? init : set2; - return function() { + return function () { var schedule = sit(this, id2), on = schedule.on; if (on !== on0) (on1 = (on0 = on).copy()).on(name, listener); @@ -15163,7 +15187,7 @@ function on_default2(name, listener) { // node_modules/d3-transition/src/transition/remove.js function removeFunction(id2) { - return function() { + return function () { var parent = this.parentNode; for (var i in this.__transition) if (+i !== id2) @@ -15224,26 +15248,26 @@ function selection_default2() { // node_modules/d3-transition/src/transition/style.js function styleNull(name, interpolate) { var string00, string10, interpolate0; - return function() { + return function () { var string0 = styleValue(this, name), string1 = (this.style.removeProperty(name), styleValue(this, name)); return string0 === string1 ? null : string0 === string00 && string1 === string10 ? interpolate0 : interpolate0 = interpolate(string00 = string0, string10 = string1); }; } function styleRemove2(name) { - return function() { + return function () { this.style.removeProperty(name); }; } function styleConstant2(name, interpolate, value1) { var string00, string1 = value1 + "", interpolate0; - return function() { + return function () { var string0 = styleValue(this, name); return string0 === string1 ? null : string0 === string00 ? interpolate0 : interpolate0 = interpolate(string00 = string0, value1); }; } function styleFunction2(name, interpolate, value) { var string00, string10, interpolate0; - return function() { + return function () { var string0 = styleValue(this, name), value1 = value(this), string1 = value1 + ""; if (value1 == null) string1 = value1 = (this.style.removeProperty(name), styleValue(this, name)); @@ -15252,7 +15276,7 @@ function styleFunction2(name, interpolate, value) { } function styleMaybeRemove(id2, name) { var on0, on1, listener0, key = "style." + name, event = "end." + key, remove2; - return function() { + return function () { var schedule = set2(this, id2), on = schedule.on, listener = schedule.value[key] == null ? remove2 || (remove2 = styleRemove2(name)) : void 0; if (on !== on0 || listener0 !== listener) (on1 = (on0 = on).copy()).on(event, listener0 = listener); @@ -15266,7 +15290,7 @@ function style_default2(name, value, priority) { // node_modules/d3-transition/src/transition/styleTween.js function styleInterpolate(name, i, priority) { - return function(t2) { + return function (t2) { this.style.setProperty(name, i.call(this, t2), priority); }; } @@ -15294,12 +15318,12 @@ function styleTween_default(name, value, priority) { // node_modules/d3-transition/src/transition/text.js function textConstant2(value) { - return function() { + return function () { this.textContent = value; }; } function textFunction2(value) { - return function() { + return function () { var value1 = value(this); this.textContent = value1 == null ? "" : value1; }; @@ -15310,7 +15334,7 @@ function text_default2(value) { // node_modules/d3-transition/src/transition/textTween.js function textInterpolate(i) { - return function(t2) { + return function (t2) { this.textContent = i.call(this, t2); }; } @@ -15358,12 +15382,14 @@ function transition_default() { // node_modules/d3-transition/src/transition/end.js function end_default() { var on0, on1, that = this, id2 = that._id, size = that.size(); - return new Promise(function(resolve, reject) { - var cancel = { value: reject }, end = { value: function() { - if (--size === 0) - resolve(); - } }; - that.each(function() { + return new Promise(function (resolve, reject) { + var cancel = { value: reject }, end = { + value: function () { + if (--size === 0) + resolve(); + } + }; + that.each(function () { var schedule = set2(this, id2), on = schedule.on; if (on !== on0) { on1 = (on0 = on).copy(); @@ -15478,30 +15504,30 @@ function number2(e3) { var X = { name: "x", handles: ["w", "e"].map(type), - input: function(x2, e3) { + input: function (x2, e3) { return x2 == null ? null : [[+x2[0], e3[0][1]], [+x2[1], e3[1][1]]]; }, - output: function(xy) { + output: function (xy) { return xy && [xy[0][0], xy[1][0]]; } }; var Y = { name: "y", handles: ["n", "s"].map(type), - input: function(y3, e3) { + input: function (y3, e3) { return y3 == null ? null : [[e3[0][0], +y3[0]], [e3[1][0], +y3[1]]]; }, - output: function(xy) { + output: function (xy) { return xy && [xy[0][1], xy[1][1]]; } }; var XY = { name: "xy", handles: ["n", "w", "e", "s", "nw", "ne", "sw", "se"].map(type), - input: function(xy) { + input: function (xy) { return xy == null ? null : number2(xy); }, - output: function(xy) { + output: function (xy) { return xy; } }; @@ -15615,7 +15641,7 @@ function cover_default(x2, y3) { // node_modules/d3-quadtree/src/data.js function data_default2() { var data = []; - this.visit(function(node) { + this.visit(function (node) { if (!node.length) do data.push(node.data); @@ -15730,7 +15756,7 @@ function root_default() { // node_modules/d3-quadtree/src/size.js function size_default2() { var size = 0; - this.visit(function(node) { + this.visit(function (node) { if (!node.length) do ++size; @@ -15823,7 +15849,7 @@ function leaf_copy(leaf) { return copy2; } var treeProto = quadtree.prototype = Quadtree.prototype; -treeProto.copy = function() { +treeProto.copy = function () { var copy2 = new Quadtree(this._x, this._y, this._x0, this._y0, this._x1, this._y1), node = this._root, nodes, child; if (!node) return copy2; @@ -15859,7 +15885,7 @@ treeProto.y = y_default; // node_modules/d3-force/src/constant.js function constant_default4(x2) { - return function() { + return function () { return x2; }; } @@ -15931,18 +15957,18 @@ function collide_default(radius) { for (i = 0; i < n2; ++i) node = nodes[i], radii[node.index] = +radius(node, i, nodes); } - force.initialize = function(_nodes, _random) { + force.initialize = function (_nodes, _random) { nodes = _nodes; random = _random; initialize(); }; - force.iterations = function(_10) { + force.iterations = function (_10) { return arguments.length ? (iterations = +_10, force) : iterations; }; - force.strength = function(_10) { + force.strength = function (_10) { return arguments.length ? (strength = +_10, force) : strength; }; - force.radius = function(_10) { + force.radius = function (_10) { return arguments.length ? (radius = typeof _10 === "function" ? _10 : constant_default4(+_10), initialize(), force) : radius; }; return force; @@ -15978,7 +16004,7 @@ function simulation_default(nodes) { iterations = 1; for (var k = 0; k < iterations; ++k) { alpha += (alphaTarget - alpha) * alphaDecay; - forces.forEach(function(force) { + forces.forEach(function (force) { force(alpha); }); for (i = 0; i < n2; ++i) { @@ -16020,37 +16046,37 @@ function simulation_default(nodes) { initializeNodes(); return simulation = { tick, - restart: function() { + restart: function () { return stepper.restart(step), simulation; }, - stop: function() { + stop: function () { return stepper.stop(), simulation; }, - nodes: function(_10) { + nodes: function (_10) { return arguments.length ? (nodes = _10, initializeNodes(), forces.forEach(initializeForce), simulation) : nodes; }, - alpha: function(_10) { + alpha: function (_10) { return arguments.length ? (alpha = +_10, simulation) : alpha; }, - alphaMin: function(_10) { + alphaMin: function (_10) { return arguments.length ? (alphaMin = +_10, simulation) : alphaMin; }, - alphaDecay: function(_10) { + alphaDecay: function (_10) { return arguments.length ? (alphaDecay = +_10, simulation) : +alphaDecay; }, - alphaTarget: function(_10) { + alphaTarget: function (_10) { return arguments.length ? (alphaTarget = +_10, simulation) : alphaTarget; }, - velocityDecay: function(_10) { + velocityDecay: function (_10) { return arguments.length ? (velocityDecay = 1 - _10, simulation) : 1 - velocityDecay; }, - randomSource: function(_10) { + randomSource: function (_10) { return arguments.length ? (random = _10, forces.forEach(initializeForce), simulation) : random; }, - force: function(name, _10) { + force: function (name, _10) { return arguments.length > 1 ? (_10 == null ? forces.delete(name) : forces.set(name, initializeForce(_10)), simulation) : forces.get(name); }, - find: function(x2, y3, radius) { + find: function (x2, y3, radius) { var i = 0, n2 = nodes.length, dx, dy, d2, node, closest; if (radius == null) radius = Infinity; @@ -16066,7 +16092,7 @@ function simulation_default(nodes) { } return closest; }, - on: function(name, _10) { + on: function (name, _10) { return arguments.length > 1 ? (event.on(name, _10), simulation) : event.on(name); } }; @@ -16092,14 +16118,14 @@ function x_default2(x2) { strengths[i] = isNaN(xz[i] = +x2(nodes[i], i, nodes)) ? 0 : +strength(nodes[i], i, nodes); } } - force.initialize = function(_10) { + force.initialize = function (_10) { nodes = _10; initialize(); }; - force.strength = function(_10) { + force.strength = function (_10) { return arguments.length ? (strength = typeof _10 === "function" ? _10 : constant_default4(+_10), initialize(), force) : strength; }; - force.x = function(_10) { + force.x = function (_10) { return arguments.length ? (x2 = typeof _10 === "function" ? _10 : constant_default4(+_10), initialize(), force) : x2; }; return force; @@ -16125,14 +16151,14 @@ function y_default2(y3) { strengths[i] = isNaN(yz[i] = +y3(nodes[i], i, nodes)) ? 0 : +strength(nodes[i], i, nodes); } } - force.initialize = function(_10) { + force.initialize = function (_10) { nodes = _10; initialize(); }; - force.strength = function(_10) { + force.strength = function (_10) { return arguments.length ? (strength = typeof _10 === "function" ? _10 : constant_default4(+_10), initialize(), force) : strength; }; - force.y = function(_10) { + force.y = function (_10) { return arguments.length ? (y3 = typeof _10 === "function" ? _10 : constant_default4(+_10), initialize(), force) : y3; }; return force; @@ -16159,7 +16185,7 @@ function exponent_default(x2) { // node_modules/d3-format/src/formatGroup.js function formatGroup_default(grouping, thousands) { - return function(value, width2) { + return function (value, width2) { var i = value.length, t2 = [], j3 = 0, g2 = grouping[0], length = 0; while (i > 0 && g2 > 0) { if (length + g2 + 1 > width2) @@ -16175,8 +16201,8 @@ function formatGroup_default(grouping, thousands) { // node_modules/d3-format/src/formatNumerals.js function formatNumerals_default(numerals) { - return function(value) { - return value.replace(/[0-9]/g, function(i) { + return function (value) { + return value.replace(/[0-9]/g, function (i) { return numerals[+i]; }); }; @@ -16214,31 +16240,31 @@ function FormatSpecifier(specifier) { this.trim = !!specifier.trim; this.type = specifier.type === void 0 ? "" : specifier.type + ""; } -FormatSpecifier.prototype.toString = function() { +FormatSpecifier.prototype.toString = function () { return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type; }; // node_modules/d3-format/src/formatTrim.js function formatTrim_default(s) { out: - for (var n2 = s.length, i = 1, i0 = -1, i1; i < n2; ++i) { - switch (s[i]) { - case ".": - i0 = i1 = i; - break; - case "0": - if (i0 === 0) - i0 = i; - i1 = i; - break; - default: - if (!+s[i]) - break out; - if (i0 > 0) - i0 = 0; - break; - } + for (var n2 = s.length, i = 1, i0 = -1, i1; i < n2; ++i) { + switch (s[i]) { + case ".": + i0 = i1 = i; + break; + case "0": + if (i0 === 0) + i0 = i; + i1 = i; + break; + default: + if (!+s[i]) + break out; + if (i0 > 0) + i0 = 0; + break; } + } return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s; } @@ -16347,14 +16373,14 @@ function locale_default(locale3) { } return numerals(value); } - format2.toString = function() { + format2.toString = function () { return specifier + ""; }; return format2; } function formatPrefix2(specifier, value) { var f2 = newFormat((specifier = formatSpecifier(specifier), specifier.type = "f", specifier)), e3 = Math.max(-8, Math.min(8, Math.floor(exponent_default(value) / 3))) * 3, k = Math.pow(10, -e3), prefix = prefixes[8 + e3 / 3]; - return function(value2) { + return function (value2) { return f2(k * value2) + prefix; }; } @@ -16462,7 +16488,7 @@ function find_default2(callback, that) { // node_modules/d3-hierarchy/src/hierarchy/sum.js function sum_default(value) { - return this.eachAfter(function(node) { + return this.eachAfter(function (node) { var sum = +value(node.data) || 0, children2 = node.children, i = children2 && children2.length; while (--i >= 0) sum += children2[i].value; @@ -16472,7 +16498,7 @@ function sum_default(value) { // node_modules/d3-hierarchy/src/hierarchy/sort.js function sort_default2(compare) { - return this.eachBefore(function(node) { + return this.eachBefore(function (node) { if (node.children) { node.children.sort(compare); } @@ -16524,7 +16550,7 @@ function descendants_default() { // node_modules/d3-hierarchy/src/hierarchy/leaves.js function leaves_default() { var leaves = []; - this.eachBefore(function(node) { + this.eachBefore(function (node) { if (!node.children) { leaves.push(node); } @@ -16535,7 +16561,7 @@ function leaves_default() { // node_modules/d3-hierarchy/src/hierarchy/links.js function links_default() { var root2 = this, links = []; - root2.each(function(node) { + root2.each(function (node) { if (node !== root2) { links.push({ source: node.parent, target: node }); } @@ -16770,33 +16796,33 @@ function packEnclose(circles) { b.next = a2.previous = c3; c3.next = b.previous = a2; pack: - for (i = 3; i < n2; ++i) { - place(a2._, b._, c3 = circles[i]), c3 = new Node2(c3); - j3 = b.next, k = a2.previous, sj2 = b._.r, sk = a2._.r; - do { - if (sj2 <= sk) { - if (intersects(j3._, c3._)) { - b = j3, a2.next = b, b.previous = a2, --i; - continue pack; - } - sj2 += j3._.r, j3 = j3.next; - } else { - if (intersects(k._, c3._)) { - a2 = k, a2.next = b, b.previous = a2, --i; - continue pack; - } - sk += k._.r, k = k.previous; - } - } while (j3 !== k.next); - c3.previous = a2, c3.next = b, a2.next = b.previous = b = c3; - aa = score(a2); - while ((c3 = c3.next) !== b) { - if ((ca = score(c3)) < aa) { - a2 = c3, aa = ca; + for (i = 3; i < n2; ++i) { + place(a2._, b._, c3 = circles[i]), c3 = new Node2(c3); + j3 = b.next, k = a2.previous, sj2 = b._.r, sk = a2._.r; + do { + if (sj2 <= sk) { + if (intersects(j3._, c3._)) { + b = j3, a2.next = b, b.previous = a2, --i; + continue pack; + } + sj2 += j3._.r, j3 = j3.next; + } else { + if (intersects(k._, c3._)) { + a2 = k, a2.next = b, b.previous = a2, --i; + continue pack; } + sk += k._.r, k = k.previous; + } + } while (j3 !== k.next); + c3.previous = a2, c3.next = b, a2.next = b.previous = b = c3; + aa = score(a2); + while ((c3 = c3.next) !== b) { + if ((ca = score(c3)) < aa) { + a2 = c3, aa = ca; } - b = a2.next; } + b = a2.next; + } a2 = [b._], c3 = b; while ((c3 = c3.next) !== b) a2.push(c3._); @@ -16821,7 +16847,7 @@ function constantZero() { return 0; } function constant_default5(x2) { - return function() { + return function () { return x2; }; } @@ -16841,26 +16867,26 @@ function pack_default() { } return root2; } - pack.radius = function(x2) { + pack.radius = function (x2) { return arguments.length ? (radius = optional(x2), pack) : radius; }; - pack.size = function(x2) { + pack.size = function (x2) { return arguments.length ? (dx = +x2[0], dy = +x2[1], pack) : [dx, dy]; }; - pack.padding = function(x2) { + pack.padding = function (x2) { return arguments.length ? (padding = typeof x2 === "function" ? x2 : constant_default5(+x2), pack) : padding; }; return pack; } function radiusLeaf(radius) { - return function(node) { + return function (node) { if (!node.children) { node.r = Math.max(0, +radius(node) || 0); } }; } function packChildren(padding, k) { - return function(node) { + return function (node) { if (children2 = node.children) { var children2, i, n2 = children2.length, r4 = padding(node) * k || 0, e3; if (r4) @@ -16875,7 +16901,7 @@ function packChildren(padding, k) { }; } function translateChild(k) { - return function(node) { + return function (node) { var parent = node.parent; node.r *= k; if (parent) { @@ -16902,7 +16928,7 @@ function initRange(domain, range) { // node_modules/d3-scale/src/constant.js function constants(x2) { - return function() { + return function () { return x2; }; } @@ -16918,7 +16944,7 @@ function identity2(x2) { return x2; } function normalize(a2, b) { - return (b -= a2 = +a2) ? function(x2) { + return (b -= a2 = +a2) ? function (x2) { return (x2 - a2) / b; } : constants(isNaN(b) ? NaN : 0.5); } @@ -16926,7 +16952,7 @@ function clamper(a2, b) { var t2; if (a2 > b) t2 = a2, a2 = b, b = t2; - return function(x2) { + return function (x2) { return Math.max(a2, Math.min(b, x2)); }; } @@ -16936,7 +16962,7 @@ function bimap(domain, range, interpolate) { d0 = normalize(d1, d0), r0 = interpolate(r1, r0); else d0 = normalize(d0, d1), r0 = interpolate(r0, r1); - return function(x2) { + return function (x2) { return r0(d0(x2)); }; } @@ -16950,7 +16976,7 @@ function polymap(domain, range, interpolate) { d2[i] = normalize(domain[i], domain[i + 1]); r4[i] = interpolate(range[i], range[i + 1]); } - return function(x2) { + return function (x2) { var i2 = bisect_default(domain, x2, 1, j3) - 1; return r4[i2](d2[i2](x2)); }; @@ -16971,28 +16997,28 @@ function transformer() { function scale(x2) { return x2 == null || isNaN(x2 = +x2) ? unknown : (output || (output = piecewise(domain.map(transform2), range, interpolate)))(transform2(clamp(x2))); } - scale.invert = function(y3) { + scale.invert = function (y3) { return clamp(untransform((input || (input = piecewise(range, domain.map(transform2), number_default2)))(y3))); }; - scale.domain = function(_10) { + scale.domain = function (_10) { return arguments.length ? (domain = Array.from(_10, number), rescale()) : domain.slice(); }; - scale.range = function(_10) { + scale.range = function (_10) { return arguments.length ? (range = Array.from(_10), rescale()) : range.slice(); }; - scale.rangeRound = function(_10) { + scale.rangeRound = function (_10) { return range = Array.from(_10), interpolate = round_default, rescale(); }; - scale.clamp = function(_10) { + scale.clamp = function (_10) { return arguments.length ? (clamp = _10 ? true : identity2, rescale()) : clamp !== identity2; }; - scale.interpolate = function(_10) { + scale.interpolate = function (_10) { return arguments.length ? (interpolate = _10, rescale()) : interpolate; }; - scale.unknown = function(_10) { + scale.unknown = function (_10) { return arguments.length ? (unknown = _10, scale) : unknown; }; - return function(t2, u) { + return function (t2, u) { transform2 = t2, untransform = u; return rescale(); }; @@ -17034,15 +17060,15 @@ function tickFormat(start2, stop, count2, specifier) { // node_modules/d3-scale/src/linear.js function linearish(scale) { var domain = scale.domain; - scale.ticks = function(count2) { + scale.ticks = function (count2) { var d2 = domain(); return ticks_default(d2[0], d2[d2.length - 1], count2 == null ? 10 : count2); }; - scale.tickFormat = function(count2, specifier) { + scale.tickFormat = function (count2, specifier) { var d2 = domain(); return tickFormat(d2[0], d2[d2.length - 1], count2 == null ? 10 : count2, specifier); }; - scale.nice = function(count2) { + scale.nice = function (count2) { if (count2 == null) count2 = 10; var d2 = domain(); @@ -17080,7 +17106,7 @@ function linearish(scale) { } function linear2() { var scale = continuous(); - scale.copy = function() { + scale.copy = function () { return copy(scale, linear2()); }; initRange.apply(scale, arguments); @@ -17089,7 +17115,7 @@ function linear2() { // node_modules/d3-scale/src/pow.js function transformPow(exponent) { - return function(x2) { + return function (x2) { return x2 < 0 ? -Math.pow(-x2, exponent) : Math.pow(x2, exponent); }; } @@ -17104,14 +17130,14 @@ function powish(transform2) { function rescale() { return exponent === 1 ? transform2(identity2, identity2) : exponent === 0.5 ? transform2(transformSqrt, transformSquare) : transform2(transformPow(exponent), transformPow(1 / exponent)); } - scale.exponent = function(_10) { + scale.exponent = function (_10) { return arguments.length ? (exponent = +_10, rescale()) : exponent; }; return linearish(scale); } function pow() { var scale = powish(transformer()); - scale.copy = function() { + scale.copy = function () { return copy(scale, pow()).exponent(scale.exponent()); }; initRange.apply(scale, arguments); @@ -17128,20 +17154,20 @@ function newInterval(floori, offseti, count2, field) { function interval2(date) { return floori(date = arguments.length === 0 ? new Date() : new Date(+date)), date; } - interval2.floor = function(date) { + interval2.floor = function (date) { return floori(date = new Date(+date)), date; }; - interval2.ceil = function(date) { + interval2.ceil = function (date) { return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date; }; - interval2.round = function(date) { + interval2.round = function (date) { var d0 = interval2(date), d1 = interval2.ceil(date); return date - d0 < d1 - date ? d0 : d1; }; - interval2.offset = function(date, step) { + interval2.offset = function (date, step) { return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date; }; - interval2.range = function(start2, stop, step) { + interval2.range = function (start2, stop, step) { var range = [], previous; start2 = interval2.ceil(start2); step = step == null ? 1 : Math.floor(step); @@ -17152,12 +17178,12 @@ function newInterval(floori, offseti, count2, field) { while (previous < start2 && start2 < stop); return range; }; - interval2.filter = function(test) { - return newInterval(function(date) { + interval2.filter = function (test) { + return newInterval(function (date) { if (date >= date) while (floori(date), !test(date)) date.setTime(date - 1); - }, function(date, step) { + }, function (date, step) { if (date >= date) { if (step < 0) while (++step <= 0) { @@ -17173,16 +17199,16 @@ function newInterval(floori, offseti, count2, field) { }); }; if (count2) { - interval2.count = function(start2, end) { + interval2.count = function (start2, end) { t0.setTime(+start2), t1.setTime(+end); floori(t0), floori(t1); return Math.floor(count2(t0, t1)); }; - interval2.every = function(step) { + interval2.every = function (step) { step = Math.floor(step); - return !isFinite(step) || !(step > 0) ? null : !(step > 1) ? interval2 : interval2.filter(field ? function(d2) { + return !isFinite(step) || !(step > 0) ? null : !(step > 1) ? interval2 : interval2.filter(field ? function (d2) { return field(d2) % step === 0; - } : function(d2) { + } : function (d2) { return interval2.count(0, d2) % step === 0; }); }; @@ -17206,12 +17232,12 @@ var days = day.range; // node_modules/d3-time/src/week.js function weekday(i) { - return newInterval(function(date) { + return newInterval(function (date) { date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7); date.setHours(0, 0, 0, 0); - }, function(date, step) { + }, function (date, step) { date.setDate(date.getDate() + step * 7); - }, function(start2, end) { + }, function (start2, end) { return (end - start2 - (end.getTimezoneOffset() - start2.getTimezoneOffset()) * durationMinute) / durationWeek; }); } @@ -17231,22 +17257,22 @@ var fridays = friday.range; var saturdays = saturday.range; // node_modules/d3-time/src/year.js -var year = newInterval(function(date) { +var year = newInterval(function (date) { date.setMonth(0, 1); date.setHours(0, 0, 0, 0); -}, function(date, step) { +}, function (date, step) { date.setFullYear(date.getFullYear() + step); -}, function(start2, end) { +}, function (start2, end) { return end.getFullYear() - start2.getFullYear(); -}, function(date) { +}, function (date) { return date.getFullYear(); }); -year.every = function(k) { - return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : newInterval(function(date) { +year.every = function (k) { + return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : newInterval(function (date) { date.setFullYear(Math.floor(date.getFullYear() / k) * k); date.setMonth(0, 1); date.setHours(0, 0, 0, 0); - }, function(date, step) { + }, function (date, step) { date.setFullYear(date.getFullYear() + step * k); }); }; @@ -17254,13 +17280,13 @@ var year_default = year; var years = year.range; // node_modules/d3-time/src/utcDay.js -var utcDay = newInterval(function(date) { +var utcDay = newInterval(function (date) { date.setUTCHours(0, 0, 0, 0); -}, function(date, step) { +}, function (date, step) { date.setUTCDate(date.getUTCDate() + step); -}, function(start2, end) { +}, function (start2, end) { return (end - start2) / durationDay; -}, function(date) { +}, function (date) { return date.getUTCDate() - 1; }); var utcDay_default = utcDay; @@ -17268,12 +17294,12 @@ var utcDays = utcDay.range; // node_modules/d3-time/src/utcWeek.js function utcWeekday(i) { - return newInterval(function(date) { + return newInterval(function (date) { date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7); date.setUTCHours(0, 0, 0, 0); - }, function(date, step) { + }, function (date, step) { date.setUTCDate(date.getUTCDate() + step * 7); - }, function(start2, end) { + }, function (start2, end) { return (end - start2) / durationWeek; }); } @@ -17293,22 +17319,22 @@ var utcFridays = utcFriday.range; var utcSaturdays = utcSaturday.range; // node_modules/d3-time/src/utcYear.js -var utcYear = newInterval(function(date) { +var utcYear = newInterval(function (date) { date.setUTCMonth(0, 1); date.setUTCHours(0, 0, 0, 0); -}, function(date, step) { +}, function (date, step) { date.setUTCFullYear(date.getUTCFullYear() + step); -}, function(start2, end) { +}, function (start2, end) { return end.getUTCFullYear() - start2.getUTCFullYear(); -}, function(date) { +}, function (date) { return date.getUTCFullYear(); }); -utcYear.every = function(k) { - return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : newInterval(function(date) { +utcYear.every = function (k) { + return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : newInterval(function (date) { date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k); date.setUTCMonth(0, 1); date.setUTCHours(0, 0, 0, 0); - }, function(date, step) { + }, function (date, step) { date.setUTCFullYear(date.getUTCFullYear() + step * k); }); }; @@ -17447,7 +17473,7 @@ function formatLocale(locale3) { utcFormats.X = newFormat(locale_time, utcFormats); utcFormats.c = newFormat(locale_dateTime, utcFormats); function newFormat(specifier, formats2) { - return function(date) { + return function (date) { var string = [], i = -1, j3 = 0, n2 = specifier.length, c3, pad2, format2; if (!(date instanceof Date)) date = new Date(+date); @@ -17469,7 +17495,7 @@ function formatLocale(locale3) { }; } function newParse(specifier, Z) { - return function(string) { + return function (string) { var d2 = newDate(1900, void 0, 1), i = parseSpecifier(d2, specifier, string += "", 0), week, day2; if (i != string.length) return null; @@ -17601,30 +17627,30 @@ function formatLocale(locale3) { return 1 + ~~(d2.getUTCMonth() / 3); } return { - format: function(specifier) { + format: function (specifier) { var f2 = newFormat(specifier += "", formats); - f2.toString = function() { + f2.toString = function () { return specifier; }; return f2; }, - parse: function(specifier) { + parse: function (specifier) { var p2 = newParse(specifier += "", false); - p2.toString = function() { + p2.toString = function () { return specifier; }; return p2; }, - utcFormat: function(specifier) { + utcFormat: function (specifier) { var f2 = newFormat(specifier += "", utcFormats); - f2.toString = function() { + f2.toString = function () { return specifier; }; return f2; }, - utcParse: function(specifier) { + utcParse: function (specifier) { var p2 = newParse(specifier += "", true); - p2.toString = function() { + p2.toString = function () { return specifier; }; return p2; @@ -17904,37 +17930,37 @@ function Transform(k, x2, y3) { } Transform.prototype = { constructor: Transform, - scale: function(k) { + scale: function (k) { return k === 1 ? this : new Transform(this.k * k, this.x, this.y); }, - translate: function(x2, y3) { + translate: function (x2, y3) { return x2 === 0 & y3 === 0 ? this : new Transform(this.k, this.x + this.k * x2, this.y + this.k * y3); }, - apply: function(point) { + apply: function (point) { return [point[0] * this.k + this.x, point[1] * this.k + this.y]; }, - applyX: function(x2) { + applyX: function (x2) { return x2 * this.k + this.x; }, - applyY: function(y3) { + applyY: function (y3) { return y3 * this.k + this.y; }, - invert: function(location) { + invert: function (location) { return [(location[0] - this.x) / this.k, (location[1] - this.y) / this.k]; }, - invertX: function(x2) { + invertX: function (x2) { return (x2 - this.x) / this.k; }, - invertY: function(y3) { + invertY: function (y3) { return (y3 - this.y) / this.k; }, - rescaleX: function(x2) { + rescaleX: function (x2) { return x2.copy().domain(x2.range().map(this.invertX, this).map(x2.invert, x2)); }, - rescaleY: function(y3) { + rescaleY: function (y3) { return y3.copy().domain(y3.range().map(this.invertY, this).map(y3.invert, y3)); }, - toString: function() { + toString: function () { return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")"; } }; @@ -20139,8 +20165,10 @@ var Tree = ({ data, filesChanged = [], maxDepth = 9, colorEncoding = "type" }) = const cachedOrders = (0, import_react2.useRef)({}); const { colorScale, colorExtent } = (0, import_react2.useMemo)(() => { if (!data) - return { colorScale: () => { - }, colorExtent: [0, 0] }; + return { + colorScale: () => { + }, colorExtent: [0, 0] + }; const flattenTree = (d2) => { return d2.children ? (0, import_flatten.default)(d2.children.map(flattenTree)) : d2; }; @@ -20641,11 +20669,11 @@ function execWithOutput(command2, args) { try { (0, import_exec.exec)(command2, args, { listeners: { - stdout: function(res2) { + stdout: function (res2) { core.info(res2.toString()); resolve(res2.toString()); }, - stderr: function(res2) { + stderr: function (res2) { core.info(res2.toString()); reject(res2.toString()); } diff --git a/src/should-exclude-path.ts b/src/should-exclude-path.ts index 12b1e55..9707189 100644 --- a/src/should-exclude-path.ts +++ b/src/should-exclude-path.ts @@ -7,5 +7,5 @@ import { isMatch } from 'micromatch'; export const shouldExcludePath = (path: string, pathsToIgnore: Set, globsToIgnore: string[]): boolean => { if (!path) return false - return pathsToIgnore.has(path) || globsToIgnore.some(glob => isMatch(path, glob)); + return pathsToIgnore.has(path) || globsToIgnore.some(glob => !glob || isMatch(path, glob)); } From 35d3bd09ed7000ac824acb671d041d368cd782e1 Mon Sep 17 00:00:00 2001 From: repo-visualizer Date: Mon, 16 Aug 2021 14:34:48 -0400 Subject: [PATCH 12/15] dont exclude paths on empty glob --- index.js | 1396 ++++++++++++++++++------------------ src/should-exclude-path.ts | 2 +- 2 files changed, 685 insertions(+), 713 deletions(-) diff --git a/index.js b/index.js index 90beb8a..ac7c1b5 100644 --- a/index.js +++ b/index.js @@ -24,25 +24,23 @@ var __toModule = (module2) => { var require_io_util = __commonJS({ "node_modules/@actions/io/lib/io-util.js"(exports2) { "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function (o, m4, k, k2) { + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m4, k, k2) { if (k2 === void 0) k2 = k; - Object.defineProperty(o, k2, { - enumerable: true, get: function () { - return m4[k]; - } - }); - } : function (o, m4, k, k2) { + Object.defineProperty(o, k2, { enumerable: true, get: function() { + return m4[k]; + } }); + } : function(o, m4, k, k2) { if (k2 === void 0) k2 = k; o[k2] = m4[k]; }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function (o, v2) { + var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v2) { Object.defineProperty(o, "default", { enumerable: true, value: v2 }); - } : function (o, v2) { + } : function(o, v2) { o["default"] = v2; }); - var __importStar = exports2 && exports2.__importStar || function (mod2) { + var __importStar = exports2 && exports2.__importStar || function(mod2) { if (mod2 && mod2.__esModule) return mod2; var result = {}; @@ -54,13 +52,13 @@ var require_io_util = __commonJS({ __setModuleDefault(result, mod2); return result; }; - var __awaiter = exports2 && exports2.__awaiter || function (thisArg, _arguments, P, generator) { + var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { function adopt(value) { - return value instanceof P ? value : new P(function (resolve) { + return value instanceof P ? value : new P(function(resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { + return new (P || (P = Promise))(function(resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); @@ -202,25 +200,23 @@ var require_io_util = __commonJS({ var require_io = __commonJS({ "node_modules/@actions/io/lib/io.js"(exports2) { "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function (o, m4, k, k2) { + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m4, k, k2) { if (k2 === void 0) k2 = k; - Object.defineProperty(o, k2, { - enumerable: true, get: function () { - return m4[k]; - } - }); - } : function (o, m4, k, k2) { + Object.defineProperty(o, k2, { enumerable: true, get: function() { + return m4[k]; + } }); + } : function(o, m4, k, k2) { if (k2 === void 0) k2 = k; o[k2] = m4[k]; }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function (o, v2) { + var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v2) { Object.defineProperty(o, "default", { enumerable: true, value: v2 }); - } : function (o, v2) { + } : function(o, v2) { o["default"] = v2; }); - var __importStar = exports2 && exports2.__importStar || function (mod2) { + var __importStar = exports2 && exports2.__importStar || function(mod2) { if (mod2 && mod2.__esModule) return mod2; var result = {}; @@ -232,13 +228,13 @@ var require_io = __commonJS({ __setModuleDefault(result, mod2); return result; }; - var __awaiter = exports2 && exports2.__awaiter || function (thisArg, _arguments, P, generator) { + var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { function adopt(value) { - return value instanceof P ? value : new P(function (resolve) { + return value instanceof P ? value : new P(function(resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { + return new (P || (P = Promise))(function(resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); @@ -486,25 +482,23 @@ var require_io = __commonJS({ var require_toolrunner = __commonJS({ "node_modules/@actions/exec/lib/toolrunner.js"(exports2) { "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function (o, m4, k, k2) { + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m4, k, k2) { if (k2 === void 0) k2 = k; - Object.defineProperty(o, k2, { - enumerable: true, get: function () { - return m4[k]; - } - }); - } : function (o, m4, k, k2) { + Object.defineProperty(o, k2, { enumerable: true, get: function() { + return m4[k]; + } }); + } : function(o, m4, k, k2) { if (k2 === void 0) k2 = k; o[k2] = m4[k]; }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function (o, v2) { + var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v2) { Object.defineProperty(o, "default", { enumerable: true, value: v2 }); - } : function (o, v2) { + } : function(o, v2) { o["default"] = v2; }); - var __importStar = exports2 && exports2.__importStar || function (mod2) { + var __importStar = exports2 && exports2.__importStar || function(mod2) { if (mod2 && mod2.__esModule) return mod2; var result = {}; @@ -516,13 +510,13 @@ var require_toolrunner = __commonJS({ __setModuleDefault(result, mod2); return result; }; - var __awaiter = exports2 && exports2.__awaiter || function (thisArg, _arguments, P, generator) { + var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { function adopt(value) { - return value instanceof P ? value : new P(function (resolve) { + return value instanceof P ? value : new P(function(resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { + return new (P || (P = Promise))(function(resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); @@ -968,25 +962,23 @@ var require_toolrunner = __commonJS({ var require_exec = __commonJS({ "node_modules/@actions/exec/lib/exec.js"(exports2) { "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function (o, m4, k, k2) { + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m4, k, k2) { if (k2 === void 0) k2 = k; - Object.defineProperty(o, k2, { - enumerable: true, get: function () { - return m4[k]; - } - }); - } : function (o, m4, k, k2) { + Object.defineProperty(o, k2, { enumerable: true, get: function() { + return m4[k]; + } }); + } : function(o, m4, k, k2) { if (k2 === void 0) k2 = k; o[k2] = m4[k]; }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function (o, v2) { + var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v2) { Object.defineProperty(o, "default", { enumerable: true, value: v2 }); - } : function (o, v2) { + } : function(o, v2) { o["default"] = v2; }); - var __importStar = exports2 && exports2.__importStar || function (mod2) { + var __importStar = exports2 && exports2.__importStar || function(mod2) { if (mod2 && mod2.__esModule) return mod2; var result = {}; @@ -998,13 +990,13 @@ var require_exec = __commonJS({ __setModuleDefault(result, mod2); return result; }; - var __awaiter = exports2 && exports2.__awaiter || function (thisArg, _arguments, P, generator) { + var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { function adopt(value) { - return value instanceof P ? value : new P(function (resolve) { + return value instanceof P ? value : new P(function(resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { + return new (P || (P = Promise))(function(resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); @@ -1100,25 +1092,23 @@ var require_utils = __commonJS({ var require_command = __commonJS({ "node_modules/@actions/core/lib/command.js"(exports2) { "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function (o, m4, k, k2) { + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m4, k, k2) { if (k2 === void 0) k2 = k; - Object.defineProperty(o, k2, { - enumerable: true, get: function () { - return m4[k]; - } - }); - } : function (o, m4, k, k2) { + Object.defineProperty(o, k2, { enumerable: true, get: function() { + return m4[k]; + } }); + } : function(o, m4, k, k2) { if (k2 === void 0) k2 = k; o[k2] = m4[k]; }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function (o, v2) { + var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v2) { Object.defineProperty(o, "default", { enumerable: true, value: v2 }); - } : function (o, v2) { + } : function(o, v2) { o["default"] = v2; }); - var __importStar = exports2 && exports2.__importStar || function (mod2) { + var __importStar = exports2 && exports2.__importStar || function(mod2) { if (mod2 && mod2.__esModule) return mod2; var result = {}; @@ -1189,25 +1179,23 @@ var require_command = __commonJS({ var require_file_command = __commonJS({ "node_modules/@actions/core/lib/file-command.js"(exports2) { "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function (o, m4, k, k2) { + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m4, k, k2) { if (k2 === void 0) k2 = k; - Object.defineProperty(o, k2, { - enumerable: true, get: function () { - return m4[k]; - } - }); - } : function (o, m4, k, k2) { + Object.defineProperty(o, k2, { enumerable: true, get: function() { + return m4[k]; + } }); + } : function(o, m4, k, k2) { if (k2 === void 0) k2 = k; o[k2] = m4[k]; }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function (o, v2) { + var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v2) { Object.defineProperty(o, "default", { enumerable: true, value: v2 }); - } : function (o, v2) { + } : function(o, v2) { o["default"] = v2; }); - var __importStar = exports2 && exports2.__importStar || function (mod2) { + var __importStar = exports2 && exports2.__importStar || function(mod2) { if (mod2 && mod2.__esModule) return mod2; var result = {}; @@ -1244,25 +1232,23 @@ var require_file_command = __commonJS({ var require_core = __commonJS({ "node_modules/@actions/core/lib/core.js"(exports2) { "use strict"; - var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function (o, m4, k, k2) { + var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m4, k, k2) { if (k2 === void 0) k2 = k; - Object.defineProperty(o, k2, { - enumerable: true, get: function () { - return m4[k]; - } - }); - } : function (o, m4, k, k2) { + Object.defineProperty(o, k2, { enumerable: true, get: function() { + return m4[k]; + } }); + } : function(o, m4, k, k2) { if (k2 === void 0) k2 = k; o[k2] = m4[k]; }); - var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function (o, v2) { + var __setModuleDefault = exports2 && exports2.__setModuleDefault || (Object.create ? function(o, v2) { Object.defineProperty(o, "default", { enumerable: true, value: v2 }); - } : function (o, v2) { + } : function(o, v2) { o["default"] = v2; }); - var __importStar = exports2 && exports2.__importStar || function (mod2) { + var __importStar = exports2 && exports2.__importStar || function(mod2) { if (mod2 && mod2.__esModule) return mod2; var result = {}; @@ -1274,13 +1260,13 @@ var require_core = __commonJS({ __setModuleDefault(result, mod2); return result; }; - var __awaiter = exports2 && exports2.__awaiter || function (thisArg, _arguments, P, generator) { + var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) { function adopt(value) { - return value instanceof P ? value : new P(function (resolve) { + return value instanceof P ? value : new P(function(resolve) { resolve(value); }); } - return new (P || (P = Promise))(function (resolve, reject) { + return new (P || (P = Promise))(function(resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); @@ -1309,7 +1295,7 @@ var require_core = __commonJS({ var os2 = __importStar(require("os")); var path = __importStar(require("path")); var ExitCode; - (function (ExitCode2) { + (function(ExitCode2) { ExitCode2[ExitCode2["Success"] = 0] = "Success"; ExitCode2[ExitCode2["Failure"] = 1] = "Failure"; })(ExitCode = exports2.ExitCode || (exports2.ExitCode = {})); @@ -1461,14 +1447,14 @@ var require_object_assign = __commonJS({ for (var i = 0; i < 10; i++) { test2["_" + String.fromCharCode(i)] = i; } - var order2 = Object.getOwnPropertyNames(test2).map(function (n2) { + var order2 = Object.getOwnPropertyNames(test2).map(function(n2) { return test2[n2]; }); if (order2.join("") !== "0123456789") { return false; } var test3 = {}; - "abcdefghijklmnopqrst".split("").forEach(function (letter) { + "abcdefghijklmnopqrst".split("").forEach(function(letter) { test3[letter] = letter; }); if (Object.keys(Object.assign({}, test3)).join("") !== "abcdefghijklmnopqrst") { @@ -1479,7 +1465,7 @@ var require_object_assign = __commonJS({ return false; } } - module2.exports = shouldUseNative() ? Object.assign : function (target, source) { + module2.exports = shouldUseNative() ? Object.assign : function(target, source) { var from; var to = toObject(target); var symbols; @@ -1547,14 +1533,12 @@ var require_react_production_min = __commonJS({ b += "&args[]=" + encodeURIComponent(arguments[c3]); return "Minified React error #" + a2 + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } - var A = { - isMounted: function () { - return false; - }, enqueueForceUpdate: function () { - }, enqueueReplaceState: function () { - }, enqueueSetState: function () { - } - }; + var A = { isMounted: function() { + return false; + }, enqueueForceUpdate: function() { + }, enqueueReplaceState: function() { + }, enqueueSetState: function() { + } }; var B = {}; function C(a2, b, c3) { this.props = a2; @@ -1563,12 +1547,12 @@ var require_react_production_min = __commonJS({ this.updater = c3 || A; } C.prototype.isReactComponent = {}; - C.prototype.setState = function (a2, b) { + C.prototype.setState = function(a2, b) { if (typeof a2 !== "object" && typeof a2 !== "function" && a2 != null) throw Error(z(85)); this.updater.enqueueSetState(this, a2, b, "setState"); }; - C.prototype.forceUpdate = function (a2) { + C.prototype.forceUpdate = function(a2) { this.updater.enqueueForceUpdate(this, a2, "forceUpdate"); }; function D() { @@ -1613,7 +1597,7 @@ var require_react_production_min = __commonJS({ } function escape(a2) { var b = { "=": "=0", ":": "=2" }; - return "$" + a2.replace(/[=:]/g, function (a3) { + return "$" + a2.replace(/[=:]/g, function(a3) { return b[a3]; }); } @@ -1642,7 +1626,7 @@ var require_react_production_min = __commonJS({ } } if (h2) - return h2 = a2, d2 = d2(h2), a2 = e3 === "" ? "." + N(h2, 0) : e3, Array.isArray(d2) ? (c3 = "", a2 != null && (c3 = a2.replace(M, "$&/") + "/"), O(d2, b, c3, "", function (a3) { + return h2 = a2, d2 = d2(h2), a2 = e3 === "" ? "." + N(h2, 0) : e3, Array.isArray(d2) ? (c3 = "", a2 != null && (c3 = a2.replace(M, "$&/") + "/"), O(d2, b, c3, "", function(a3) { return a3; })) : d2 != null && (L(d2) && (d2 = K(d2, c3 + (!d2.key || h2 && h2.key === d2.key ? "" : ("" + d2.key).replace(M, "$&/") + "/") + a2)), b.push(d2)), 1; h2 = 0; @@ -1654,7 +1638,7 @@ var require_react_production_min = __commonJS({ h2 += O(k, b, c3, f2, d2); } else if (f2 = y3(a2), typeof f2 === "function") - for (a2 = f2.call(a2), g2 = 0; !(k = a2.next()).done;) + for (a2 = f2.call(a2), g2 = 0; !(k = a2.next()).done; ) k = k.value, f2 = e3 + N(k, g2++), h2 += O(k, b, c3, f2, d2); else if (k === "object") throw b = "" + a2, Error(z(31, b === "[object Object]" ? "object with keys {" + Object.keys(a2).join(", ") + "}" : b)); @@ -1664,7 +1648,7 @@ var require_react_production_min = __commonJS({ if (a2 == null) return a2; var e3 = [], d2 = 0; - O(a2, e3, "", "", function (a3) { + O(a2, e3, "", "", function(a3) { return b.call(c3, a3, d2++); }); return e3; @@ -1675,9 +1659,9 @@ var require_react_production_min = __commonJS({ b = b(); a2._status = 0; a2._result = b; - b.then(function (b2) { + b.then(function(b2) { a2._status === 0 && (b2 = b2.default, a2._status = 1, a2._result = b2); - }, function (b2) { + }, function(b2) { a2._status === 0 && (a2._status = 2, a2._result = b2); }); } @@ -1693,31 +1677,29 @@ var require_react_production_min = __commonJS({ return a2; } var T = { ReactCurrentDispatcher: R, ReactCurrentBatchConfig: { transition: 0 }, ReactCurrentOwner: G, IsSomeRendererActing: { current: false }, assign: l2 }; - exports2.Children = { - map: P, forEach: function (a2, b, c3) { - P(a2, function () { - b.apply(this, arguments); - }, c3); - }, count: function (a2) { - var b = 0; - P(a2, function () { - b++; - }); - return b; - }, toArray: function (a2) { - return P(a2, function (a3) { - return a3; - }) || []; - }, only: function (a2) { - if (!L(a2)) - throw Error(z(143)); - return a2; - } - }; + exports2.Children = { map: P, forEach: function(a2, b, c3) { + P(a2, function() { + b.apply(this, arguments); + }, c3); + }, count: function(a2) { + var b = 0; + P(a2, function() { + b++; + }); + return b; + }, toArray: function(a2) { + return P(a2, function(a3) { + return a3; + }) || []; + }, only: function(a2) { + if (!L(a2)) + throw Error(z(143)); + return a2; + } }; exports2.Component = C; exports2.PureComponent = E2; exports2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = T; - exports2.cloneElement = function (a2, b, c3) { + exports2.cloneElement = function(a2, b, c3) { if (a2 === null || a2 === void 0) throw Error(z(267, a2)); var e3 = l2({}, a2.props), d2 = a2.key, k = a2.ref, h2 = a2._owner; @@ -1747,58 +1729,58 @@ var require_react_production_min = __commonJS({ _owner: h2 }; }; - exports2.createContext = function (a2, b) { + exports2.createContext = function(a2, b) { b === void 0 && (b = null); a2 = { $$typeof: r4, _calculateChangedBits: b, _currentValue: a2, _currentValue2: a2, _threadCount: 0, Provider: null, Consumer: null }; a2.Provider = { $$typeof: q2, _context: a2 }; return a2.Consumer = a2; }; exports2.createElement = J; - exports2.createFactory = function (a2) { + exports2.createFactory = function(a2) { var b = J.bind(null, a2); b.type = a2; return b; }; - exports2.createRef = function () { + exports2.createRef = function() { return { current: null }; }; - exports2.forwardRef = function (a2) { + exports2.forwardRef = function(a2) { return { $$typeof: t2, render: a2 }; }; exports2.isValidElement = L; - exports2.lazy = function (a2) { + exports2.lazy = function(a2) { return { $$typeof: v2, _payload: { _status: -1, _result: a2 }, _init: Q }; }; - exports2.memo = function (a2, b) { + exports2.memo = function(a2, b) { return { $$typeof: u, type: a2, compare: b === void 0 ? null : b }; }; - exports2.useCallback = function (a2, b) { + exports2.useCallback = function(a2, b) { return S().useCallback(a2, b); }; - exports2.useContext = function (a2, b) { + exports2.useContext = function(a2, b) { return S().useContext(a2, b); }; - exports2.useDebugValue = function () { + exports2.useDebugValue = function() { }; - exports2.useEffect = function (a2, b) { + exports2.useEffect = function(a2, b) { return S().useEffect(a2, b); }; - exports2.useImperativeHandle = function (a2, b, c3) { + exports2.useImperativeHandle = function(a2, b, c3) { return S().useImperativeHandle(a2, b, c3); }; - exports2.useLayoutEffect = function (a2, b) { + exports2.useLayoutEffect = function(a2, b) { return S().useLayoutEffect(a2, b); }; - exports2.useMemo = function (a2, b) { + exports2.useMemo = function(a2, b) { return S().useMemo(a2, b); }; - exports2.useReducer = function (a2, b, c3) { + exports2.useReducer = function(a2, b, c3) { return S().useReducer(a2, b, c3); }; - exports2.useRef = function (a2) { + exports2.useRef = function(a2) { return S().useRef(a2); }; - exports2.useState = function (a2) { + exports2.useState = function(a2) { return S().useState(a2); }; exports2.version = "17.0.2"; @@ -1810,7 +1792,7 @@ var require_react_development = __commonJS({ "node_modules/react/cjs/react.development.js"(exports2) { "use strict"; if (process.env.NODE_ENV !== "production") { - (function () { + (function() { "use strict"; var _assign = require_object_assign(); var ReactVersion = "17.0.2"; @@ -1886,13 +1868,13 @@ var require_react_development = __commonJS({ } } { - ReactDebugCurrentFrame.setExtraStackFrame = function (stack) { + ReactDebugCurrentFrame.setExtraStackFrame = function(stack) { { currentExtraStackFrame = stack; } }; ReactDebugCurrentFrame.getCurrentStack = null; - ReactDebugCurrentFrame.getStackAddendum = function () { + ReactDebugCurrentFrame.getStackAddendum = function() { var stack = ""; if (currentExtraStackFrame) { stack += currentExtraStackFrame; @@ -1941,7 +1923,7 @@ var require_react_development = __commonJS({ format2 += "%s"; args = args.concat([stack]); } - var argsWithFormat = args.map(function (item) { + var argsWithFormat = args.map(function(item) { return "" + item; }); argsWithFormat.unshift("Warning: " + format2); @@ -1962,16 +1944,16 @@ var require_react_development = __commonJS({ } } var ReactNoopUpdateQueue = { - isMounted: function (publicInstance) { + isMounted: function(publicInstance) { return false; }, - enqueueForceUpdate: function (publicInstance, callback, callerName) { + enqueueForceUpdate: function(publicInstance, callback, callerName) { warnNoop(publicInstance, "forceUpdate"); }, - enqueueReplaceState: function (publicInstance, completeState, callback, callerName) { + enqueueReplaceState: function(publicInstance, completeState, callback, callerName) { warnNoop(publicInstance, "replaceState"); }, - enqueueSetState: function (publicInstance, partialState, callback, callerName) { + enqueueSetState: function(publicInstance, partialState, callback, callerName) { warnNoop(publicInstance, "setState"); } }; @@ -1986,7 +1968,7 @@ var require_react_development = __commonJS({ this.updater = updater || ReactNoopUpdateQueue; } Component.prototype.isReactComponent = {}; - Component.prototype.setState = function (partialState, callback) { + Component.prototype.setState = function(partialState, callback) { if (!(typeof partialState === "object" || typeof partialState === "function" || partialState == null)) { { throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."); @@ -1994,7 +1976,7 @@ var require_react_development = __commonJS({ } this.updater.enqueueSetState(this, partialState, callback, "setState"); }; - Component.prototype.forceUpdate = function (callback) { + Component.prototype.forceUpdate = function(callback) { this.updater.enqueueForceUpdate(this, callback, "forceUpdate"); }; { @@ -2002,9 +1984,9 @@ var require_react_development = __commonJS({ isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."], replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."] }; - var defineDeprecationWarning = function (methodName, info2) { + var defineDeprecationWarning = function(methodName, info2) { Object.defineProperty(Component.prototype, methodName, { - get: function () { + get: function() { warn("%s(...) is deprecated in plain JavaScript React classes. %s", info2[0], info2[1]); return void 0; } @@ -2136,7 +2118,7 @@ var require_react_development = __commonJS({ return config.key !== void 0; } function defineKeyPropWarningGetter(props2, displayName) { - var warnAboutAccessingKey = function () { + var warnAboutAccessingKey = function() { { if (!specialPropKeyWarningShown) { specialPropKeyWarningShown = true; @@ -2151,7 +2133,7 @@ var require_react_development = __commonJS({ }); } function defineRefPropWarningGetter(props2, displayName) { - var warnAboutAccessingRef = function () { + var warnAboutAccessingRef = function() { { if (!specialPropRefWarningShown) { specialPropRefWarningShown = true; @@ -2176,7 +2158,7 @@ var require_react_development = __commonJS({ } } } - var ReactElement = function (type2, key, ref, self3, source, owner, props2) { + var ReactElement = function(type2, key, ref, self3, source, owner, props2) { var element = { $$typeof: REACT_ELEMENT_TYPE, type: type2, @@ -2335,7 +2317,7 @@ var require_react_development = __commonJS({ "=": "=0", ":": "=2" }; - var escapedString = key.replace(escapeRegex, function (match) { + var escapedString = key.replace(escapeRegex, function(match) { return escaperLookup[match]; }); return "$" + escapedString; @@ -2382,7 +2364,7 @@ var require_react_development = __commonJS({ if (childKey != null) { escapedChildKey = escapeUserProvidedKey(childKey) + "/"; } - mapIntoArray(mappedChild, array2, escapedChildKey, "", function (c3) { + mapIntoArray(mappedChild, array2, escapedChildKey, "", function(c3) { return c3; }); } else if (mappedChild != null) { @@ -2440,25 +2422,25 @@ var require_react_development = __commonJS({ } var result = []; var count2 = 0; - mapIntoArray(children2, result, "", "", function (child) { + mapIntoArray(children2, result, "", "", function(child) { return func.call(context, child, count2++); }); return result; } function countChildren(children2) { var n2 = 0; - mapChildren2(children2, function () { + mapChildren2(children2, function() { n2++; }); return n2; } function forEachChildren(children2, forEachFunc, forEachContext) { - mapChildren2(children2, function () { + mapChildren2(children2, function() { forEachFunc.apply(this, arguments); }, forEachContext); } function toArray(children2) { - return mapChildren2(children2, function (child) { + return mapChildren2(children2, function(child) { return child; }) || []; } @@ -2504,43 +2486,43 @@ var require_react_development = __commonJS({ }; Object.defineProperties(Consumer, { Provider: { - get: function () { + get: function() { if (!hasWarnedAboutUsingConsumerProvider) { hasWarnedAboutUsingConsumerProvider = true; error("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?"); } return context.Provider; }, - set: function (_Provider) { + set: function(_Provider) { context.Provider = _Provider; } }, _currentValue: { - get: function () { + get: function() { return context._currentValue; }, - set: function (_currentValue) { + set: function(_currentValue) { context._currentValue = _currentValue; } }, _currentValue2: { - get: function () { + get: function() { return context._currentValue2; }, - set: function (_currentValue2) { + set: function(_currentValue2) { context._currentValue2 = _currentValue2; } }, _threadCount: { - get: function () { + get: function() { return context._threadCount; }, - set: function (_threadCount) { + set: function(_threadCount) { context._threadCount = _threadCount; } }, Consumer: { - get: function () { + get: function() { if (!hasWarnedAboutUsingNestedContextConsumers) { hasWarnedAboutUsingNestedContextConsumers = true; error("Rendering is not supported and will be removed in a future major release. Did you mean to render instead?"); @@ -2549,10 +2531,10 @@ var require_react_development = __commonJS({ } }, displayName: { - get: function () { + get: function() { return context.displayName; }, - set: function (displayName) { + set: function(displayName) { if (!hasWarnedAboutDisplayNameOnConsumer) { warn("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", displayName); hasWarnedAboutDisplayNameOnConsumer = true; @@ -2579,7 +2561,7 @@ var require_react_development = __commonJS({ var pending = payload; pending._status = Pending; pending._result = thenable; - thenable.then(function (moduleObject) { + thenable.then(function(moduleObject) { if (payload._status === Pending) { var defaultExport = moduleObject.default; { @@ -2591,7 +2573,7 @@ var require_react_development = __commonJS({ resolved._status = Resolved; resolved._result = defaultExport; } - }, function (error2) { + }, function(error2) { if (payload._status === Pending) { var rejected = payload; rejected._status = Rejected; @@ -2621,10 +2603,10 @@ var require_react_development = __commonJS({ Object.defineProperties(lazyType, { defaultProps: { configurable: true, - get: function () { + get: function() { return defaultProps; }, - set: function (newDefaultProps) { + set: function(newDefaultProps) { error("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."); defaultProps = newDefaultProps; Object.defineProperty(lazyType, "defaultProps", { @@ -2634,10 +2616,10 @@ var require_react_development = __commonJS({ }, propTypes: { configurable: true, - get: function () { + get: function() { return propTypes; }, - set: function (newPropTypes) { + set: function(newPropTypes) { error("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."); propTypes = newPropTypes; Object.defineProperty(lazyType, "propTypes", { @@ -2675,10 +2657,10 @@ var require_react_development = __commonJS({ Object.defineProperty(elementType, "displayName", { enumerable: false, configurable: true, - get: function () { + get: function() { return ownName; }, - set: function (name) { + set: function(name) { ownName = name; if (render.displayName == null) { render.displayName = name; @@ -2719,10 +2701,10 @@ var require_react_development = __commonJS({ Object.defineProperty(elementType, "displayName", { enumerable: false, configurable: true, - get: function () { + get: function() { return ownName; }, - set: function (name) { + set: function(name) { ownName = name; if (type2.displayName == null) { type2.displayName = name; @@ -2917,11 +2899,11 @@ var require_react_development = __commonJS({ } try { if (construct) { - var Fake = function () { + var Fake = function() { throw Error(); }; Object.defineProperty(Fake.prototype, "props", { - set: function () { + set: function() { throw Error(); } }); @@ -3287,7 +3269,7 @@ var require_react_development = __commonJS({ } Object.defineProperty(validatedFactory, "type", { enumerable: false, - get: function () { + get: function() { warn("Factory.type is deprecated. Access the class directly before passing it to createFactory."); Object.defineProperty(this, "type", { value: type2 @@ -3540,55 +3522,55 @@ var require_react_dom_server_node_production_min = __commonJS({ this.removeEmptyString = t2; } var N = {}; - "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function (a2) { + "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a2) { N[a2] = new M(a2, 0, false, a2, null, false, false); }); - [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function (a2) { + [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a2) { var b = a2[0]; N[b] = new M(b, 1, false, a2[1], null, false, false); }); - ["contentEditable", "draggable", "spellCheck", "value"].forEach(function (a2) { + ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a2) { N[a2] = new M(a2, 2, false, a2.toLowerCase(), null, false, false); }); - ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function (a2) { + ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a2) { N[a2] = new M(a2, 2, false, a2, null, false, false); }); - "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function (a2) { + "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a2) { N[a2] = new M(a2, 3, false, a2.toLowerCase(), null, false, false); }); - ["checked", "multiple", "muted", "selected"].forEach(function (a2) { + ["checked", "multiple", "muted", "selected"].forEach(function(a2) { N[a2] = new M(a2, 3, true, a2, null, false, false); }); - ["capture", "download"].forEach(function (a2) { + ["capture", "download"].forEach(function(a2) { N[a2] = new M(a2, 4, false, a2, null, false, false); }); - ["cols", "rows", "size", "span"].forEach(function (a2) { + ["cols", "rows", "size", "span"].forEach(function(a2) { N[a2] = new M(a2, 6, false, a2, null, false, false); }); - ["rowSpan", "start"].forEach(function (a2) { + ["rowSpan", "start"].forEach(function(a2) { N[a2] = new M(a2, 5, false, a2.toLowerCase(), null, false, false); }); var wa = /[\-:]([a-z])/g; function xa(a2) { return a2[1].toUpperCase(); } - "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function (a2) { + "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a2) { var b = a2.replace(wa, xa); N[b] = new M(b, 1, false, a2, null, false, false); }); - "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function (a2) { + "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a2) { var b = a2.replace(wa, xa); N[b] = new M(b, 1, false, a2, "http://www.w3.org/1999/xlink", false, false); }); - ["xml:base", "xml:lang", "xml:space"].forEach(function (a2) { + ["xml:base", "xml:lang", "xml:space"].forEach(function(a2) { var b = a2.replace(wa, xa); N[b] = new M(b, 1, false, a2, "http://www.w3.org/XML/1998/namespace", false, false); }); - ["tabIndex", "crossOrigin"].forEach(function (a2) { + ["tabIndex", "crossOrigin"].forEach(function(a2) { N[a2] = new M(a2, 1, false, a2.toLowerCase(), null, false, false); }); N.xlinkHref = new M("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false); - ["src", "href", "action", "formAction"].forEach(function (a2) { + ["src", "href", "action", "formAction"].forEach(function(a2) { N[a2] = new M(a2, 1, false, a2.toLowerCase(), null, true, true); }); var ya = /["'&<>]/; @@ -3670,7 +3652,7 @@ var require_react_dom_server_node_production_min = __commonJS({ return R; } function Ea(a2, b, c3, d2) { - for (; T;) + for (; T; ) T = false, V += 1, R = null, c3 = a2(b, d2); Fa(); return c3; @@ -3717,16 +3699,16 @@ var require_react_dom_server_node_production_min = __commonJS({ if (c3 !== null && b !== null) { var d2 = c3[1]; a: - if (d2 === null) - d2 = false; - else { - for (var f2 = 0; f2 < d2.length && f2 < b.length; f2++) - if (!Ba(b[f2], d2[f2])) { - d2 = false; - break a; - } - d2 = true; - } + if (d2 === null) + d2 = false; + else { + for (var f2 = 0; f2 < d2.length && f2 < b.length; f2++) + if (!Ba(b[f2], d2[f2])) { + d2 = false; + break a; + } + d2 = true; + } if (d2) return c3[0]; } @@ -3742,7 +3724,7 @@ var require_react_dom_server_node_production_min = __commonJS({ if (T = true, a2 = { action: c3, next: null }, U === null && (U = new Map()), c3 = U.get(b), c3 === void 0) U.set(b, a2); else { - for (b = c3; b.next !== null;) + for (b = c3; b.next !== null; ) b = b.next; b.next = a2; } @@ -3750,43 +3732,41 @@ var require_react_dom_server_node_production_min = __commonJS({ function Ka() { } var X2 = null; - var La = { - readContext: function (a2) { - var b = X2.threadID; - I(a2, b); - return a2[b]; - }, useContext: function (a2) { - W(); - var b = X2.threadID; - I(a2, b); - return a2[b]; - }, useMemo: Ja, useReducer: Ha, useRef: function (a2) { - P = W(); - R = Da(); - var b = R.memoizedState; - return b === null ? (a2 = { current: a2 }, R.memoizedState = a2) : b; - }, useState: function (a2) { - return Ha(Ga, a2); - }, useLayoutEffect: function () { - }, useCallback: function (a2, b) { - return Ja(function () { - return a2; - }, b); - }, useImperativeHandle: Ka, useEffect: Ka, useDebugValue: Ka, useDeferredValue: function (a2) { - W(); + var La = { readContext: function(a2) { + var b = X2.threadID; + I(a2, b); + return a2[b]; + }, useContext: function(a2) { + W(); + var b = X2.threadID; + I(a2, b); + return a2[b]; + }, useMemo: Ja, useReducer: Ha, useRef: function(a2) { + P = W(); + R = Da(); + var b = R.memoizedState; + return b === null ? (a2 = { current: a2 }, R.memoizedState = a2) : b; + }, useState: function(a2) { + return Ha(Ga, a2); + }, useLayoutEffect: function() { + }, useCallback: function(a2, b) { + return Ja(function() { return a2; - }, useTransition: function () { - W(); - return [function (a2) { - a2(); - }, false]; - }, useOpaqueIdentifier: function () { - return (X2.identifierPrefix || "") + "R:" + (X2.uniqueID++).toString(36); - }, useMutableSource: function (a2, b) { - W(); - return b(a2._source); - } - }; + }, b); + }, useImperativeHandle: Ka, useEffect: Ka, useDebugValue: Ka, useDeferredValue: function(a2) { + W(); + return a2; + }, useTransition: function() { + W(); + return [function(a2) { + a2(); + }, false]; + }, useOpaqueIdentifier: function() { + return (X2.identifierPrefix || "") + "R:" + (X2.uniqueID++).toString(36); + }, useMutableSource: function(a2, b) { + W(); + return b(a2._source); + } }; var Ma = { html: "http://www.w3.org/1999/xhtml", mathml: "http://www.w3.org/1998/Math/MathML", svg: "http://www.w3.org/2000/svg" }; function Na(a2) { switch (a2) { @@ -3845,8 +3825,8 @@ var require_react_dom_server_node_production_min = __commonJS({ strokeWidth: true }; var Qa = ["Webkit", "ms", "Moz", "O"]; - Object.keys(Y2).forEach(function (a2) { - Qa.forEach(function (b) { + Object.keys(Y2).forEach(function(a2) { + Qa.forEach(function(b) { b = b + a2.charAt(0).toUpperCase() + a2.substring(1); Y2[b] = Y2[a2]; }); @@ -3863,7 +3843,7 @@ var require_react_dom_server_node_production_min = __commonJS({ if (a2 === void 0 || a2 === null) return a2; var b = ""; - n2.Children.forEach(a2, function (a3) { + n2.Children.forEach(a2, function(a3) { a3 != null && (b += a3); }); return b; @@ -3876,21 +3856,19 @@ var require_react_dom_server_node_production_min = __commonJS({ } function bb2(a2, b, c3) { function d2(d3, h3) { - var e3 = h3.prototype && h3.prototype.isReactComponent, f3 = oa(h3, b, c3, e3), t2 = [], g2 = false, m4 = { - isMounted: function () { - return false; - }, enqueueForceUpdate: function () { - if (t2 === null) - return null; - }, enqueueReplaceState: function (a3, b2) { - g2 = true; - t2 = [b2]; - }, enqueueSetState: function (a3, b2) { - if (t2 === null) - return null; - t2.push(b2); - } - }; + var e3 = h3.prototype && h3.prototype.isReactComponent, f3 = oa(h3, b, c3, e3), t2 = [], g2 = false, m4 = { isMounted: function() { + return false; + }, enqueueForceUpdate: function() { + if (t2 === null) + return null; + }, enqueueReplaceState: function(a3, b2) { + g2 = true; + t2 = [b2]; + }, enqueueSetState: function(a3, b2) { + if (t2 === null) + return null; + t2.push(b2); + } }; if (e3) { if (e3 = new h3(d3.props, f3, m4), typeof h3.getDerivedStateFromProps === "function") { var k = h3.getDerivedStateFromProps.call(null, d3.props, e3.state); @@ -3936,7 +3914,7 @@ var require_react_dom_server_node_production_min = __commonJS({ } y3 && (b = l2({}, b, y3)); } - for (; n2.isValidElement(a2);) { + for (; n2.isValidElement(a2); ) { var f2 = a2, h2 = f2.type; if (typeof h2 !== "function") break; @@ -3944,7 +3922,7 @@ var require_react_dom_server_node_production_min = __commonJS({ } return { child: a2, context: b }; } - var cb = function () { + var cb = function() { function a2(a3, b2, f2) { n2.isValidElement(a3) ? a3.type !== r4 ? a3 = [a3] : (a3 = a3.props.children, a3 = n2.isValidElement(a3) ? [a3] : Z(a3)) : a3 = Z(a3); a3 = { type: null, domNamespace: Ma.html, children: a3, childIndex: 0, context: na, footer: "" }; @@ -3978,7 +3956,7 @@ var require_react_dom_server_node_production_min = __commonJS({ this.identifierPrefix = f2 && f2.identifierPrefix || ""; } var b = a2.prototype; - b.destroy = function () { + b.destroy = function() { if (!this.exhausted) { this.exhausted = true; this.clearProviders(); @@ -3987,7 +3965,7 @@ var require_react_dom_server_node_production_min = __commonJS({ J[0] = a3; } }; - b.pushProvider = function (a3) { + b.pushProvider = function(a3) { var b2 = ++this.contextIndex, c3 = a3.type._context, h2 = this.threadID; I(c3, h2); var t2 = c3[h2]; @@ -3995,18 +3973,18 @@ var require_react_dom_server_node_production_min = __commonJS({ this.contextValueStack[b2] = t2; c3[h2] = a3.props.value; }; - b.popProvider = function () { + b.popProvider = function() { var a3 = this.contextIndex, b2 = this.contextStack[a3], f2 = this.contextValueStack[a3]; this.contextStack[a3] = null; this.contextValueStack[a3] = null; this.contextIndex--; b2[this.threadID] = f2; }; - b.clearProviders = function () { + b.clearProviders = function() { for (var a3 = this.contextIndex; 0 <= a3; a3--) this.contextStack[a3][this.threadID] = this.contextValueStack[a3]; }; - b.read = function (a3) { + b.read = function(a3) { if (this.exhausted) return null; var b2 = X2; @@ -4014,7 +3992,7 @@ var require_react_dom_server_node_production_min = __commonJS({ var c3 = Ta.current; Ta.current = La; try { - for (var h2 = [""], t2 = false; h2[0].length < a3;) { + for (var h2 = [""], t2 = false; h2[0].length < a3; ) { if (this.stack.length === 0) { this.exhausted = true; var g2 = this.threadID; @@ -4065,7 +4043,7 @@ var require_react_dom_server_node_production_min = __commonJS({ Ta.current = c3, X2 = b2, Fa(); } }; - b.render = function (a3, b2, f2) { + b.render = function(a3, b2, f2) { if (typeof a3 === "string" || typeof a3 === "number") { f2 = "" + a3; if (f2 === "") @@ -4151,7 +4129,7 @@ var require_react_dom_server_node_production_min = __commonJS({ } throw Error(p2(130, c3 == null ? c3 : typeof c3, "")); }; - b.renderDOM = function (a3, b2, f2) { + b.renderDOM = function(a3, b2, f2) { var c3 = a3.type.toLowerCase(); f2 === Ma.html && Na(c3); if (!Wa.hasOwnProperty(c3)) { @@ -4217,23 +4195,23 @@ var require_react_dom_server_node_production_min = __commonJS({ L = this.stack.length === 1; G = "<" + a3.type; b: - if (c3.indexOf("-") === -1) - C = typeof g2.is === "string"; - else - switch (c3) { - case "annotation-xml": - case "color-profile": - case "font-face": - case "font-face-src": - case "font-face-uri": - case "font-face-format": - case "font-face-name": - case "missing-glyph": - C = false; - break b; - default: - C = true; - } + if (c3.indexOf("-") === -1) + C = typeof g2.is === "string"; + else + switch (c3) { + case "annotation-xml": + case "color-profile": + case "font-face": + case "font-face-src": + case "font-face-uri": + case "font-face-format": + case "font-face-name": + case "missing-glyph": + C = false; + break b; + default: + C = true; + } for (w2 in g2) if (Za.call(g2, w2)) { var m4 = g2[w2]; @@ -4297,7 +4275,7 @@ var require_react_dom_server_node_production_min = __commonJS({ a2.prototype.constructor = a2; a2.__proto__ = b; } - var fb = function (a2) { + var fb = function(a2) { function b(b2, c4, h2) { var d2 = a2.call(this, {}) || this; d2.partialRenderer = new cb(b2, c4, h2); @@ -4305,11 +4283,11 @@ var require_react_dom_server_node_production_min = __commonJS({ } db(b, a2); var c3 = b.prototype; - c3._destroy = function (a3, b2) { + c3._destroy = function(a3, b2) { this.partialRenderer.destroy(); b2(a3); }; - c3._read = function (a3) { + c3._read = function(a3) { try { this.push(this.partialRenderer.read(a3)); } catch (f2) { @@ -4318,10 +4296,10 @@ var require_react_dom_server_node_production_min = __commonJS({ }; return b; }(aa.Readable); - exports2.renderToNodeStream = function (a2, b) { + exports2.renderToNodeStream = function(a2, b) { return new fb(a2, false, b); }; - exports2.renderToStaticMarkup = function (a2, b) { + exports2.renderToStaticMarkup = function(a2, b) { a2 = new cb(a2, true, b); try { return a2.read(Infinity); @@ -4329,10 +4307,10 @@ var require_react_dom_server_node_production_min = __commonJS({ a2.destroy(); } }; - exports2.renderToStaticNodeStream = function (a2, b) { + exports2.renderToStaticNodeStream = function(a2, b) { return new fb(a2, true, b); }; - exports2.renderToString = function (a2, b) { + exports2.renderToString = function(a2, b) { a2 = new cb(a2, false, b); try { return a2.read(Infinity); @@ -4349,7 +4327,7 @@ var require_react_dom_server_node_development = __commonJS({ "node_modules/react-dom/cjs/react-dom-server.node.development.js"(exports2) { "use strict"; if (process.env.NODE_ENV !== "production") { - (function () { + (function() { "use strict"; var React4 = require_react(); var _assign = require_object_assign(); @@ -4387,7 +4365,7 @@ var require_react_dom_server_node_development = __commonJS({ format2 += "%s"; args = args.concat([stack]); } - var argsWithFormat = args.map(function (item) { + var argsWithFormat = args.map(function(item) { return "" + item; }); argsWithFormat.unshift("Warning: " + format2); @@ -4623,11 +4601,11 @@ var require_react_dom_server_node_development = __commonJS({ } try { if (construct) { - var Fake = function () { + var Fake = function() { throw Error(); }; Object.defineProperty(Fake.prototype, "props", { - set: function () { + set: function() { throw Error(); } }); @@ -5022,17 +5000,17 @@ var require_react_dom_server_node_development = __commonJS({ "suppressHydrationWarning", "style" ]; - reservedProps.forEach(function (name) { + reservedProps.forEach(function(name) { properties2[name] = new PropertyInfoRecord(name, RESERVED, false, name, null, false, false); }); - [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function (_ref) { + [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(_ref) { var name = _ref[0], attributeName = _ref[1]; properties2[name] = new PropertyInfoRecord(name, STRING, false, attributeName, null, false, false); }); - ["contentEditable", "draggable", "spellCheck", "value"].forEach(function (name) { + ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(name) { properties2[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, name.toLowerCase(), null, false, false); }); - ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function (name) { + ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(name) { properties2[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, name, null, false, false); }); [ @@ -5059,7 +5037,7 @@ var require_react_dom_server_node_development = __commonJS({ "scoped", "seamless", "itemScope" - ].forEach(function (name) { + ].forEach(function(name) { properties2[name] = new PropertyInfoRecord(name, BOOLEAN, false, name.toLowerCase(), null, false, false); }); [ @@ -5067,13 +5045,13 @@ var require_react_dom_server_node_development = __commonJS({ "multiple", "muted", "selected" - ].forEach(function (name) { + ].forEach(function(name) { properties2[name] = new PropertyInfoRecord(name, BOOLEAN, true, name, null, false, false); }); [ "capture", "download" - ].forEach(function (name) { + ].forEach(function(name) { properties2[name] = new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, name, null, false, false); }); [ @@ -5081,14 +5059,14 @@ var require_react_dom_server_node_development = __commonJS({ "rows", "size", "span" - ].forEach(function (name) { + ].forEach(function(name) { properties2[name] = new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, name, null, false, false); }); - ["rowSpan", "start"].forEach(function (name) { + ["rowSpan", "start"].forEach(function(name) { properties2[name] = new PropertyInfoRecord(name, NUMERIC, false, name.toLowerCase(), null, false, false); }); var CAMELIZE = /[\-\:]([a-z])/g; - var capitalize = function (token) { + var capitalize = function(token) { return token[1].toUpperCase(); }; [ @@ -5165,7 +5143,7 @@ var require_react_dom_server_node_development = __commonJS({ "writing-mode", "xmlns:xlink", "x-height" - ].forEach(function (attributeName) { + ].forEach(function(attributeName) { var name = attributeName.replace(CAMELIZE, capitalize); properties2[name] = new PropertyInfoRecord(name, STRING, false, attributeName, null, false, false); }); @@ -5176,7 +5154,7 @@ var require_react_dom_server_node_development = __commonJS({ "xlink:show", "xlink:title", "xlink:type" - ].forEach(function (attributeName) { + ].forEach(function(attributeName) { var name = attributeName.replace(CAMELIZE, capitalize); properties2[name] = new PropertyInfoRecord(name, STRING, false, attributeName, "http://www.w3.org/1999/xlink", false, false); }); @@ -5184,16 +5162,16 @@ var require_react_dom_server_node_development = __commonJS({ "xml:base", "xml:lang", "xml:space" - ].forEach(function (attributeName) { + ].forEach(function(attributeName) { var name = attributeName.replace(CAMELIZE, capitalize); properties2[name] = new PropertyInfoRecord(name, STRING, false, attributeName, "http://www.w3.org/XML/1998/namespace", false, false); }); - ["tabIndex", "crossOrigin"].forEach(function (attributeName) { + ["tabIndex", "crossOrigin"].forEach(function(attributeName) { properties2[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, attributeName.toLowerCase(), null, false, false); }); var xlinkHref = "xlinkHref"; properties2[xlinkHref] = new PropertyInfoRecord("xlinkHref", STRING, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false); - ["src", "href", "action", "formAction"].forEach(function (attributeName) { + ["src", "href", "action", "formAction"].forEach(function(attributeName) { properties2[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, attributeName.toLowerCase(), null, true, true); }); var isJavaScriptProtocol = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i; @@ -5555,7 +5533,7 @@ var require_react_dom_server_node_development = __commonJS({ } } function useCallback(callback, deps) { - return useMemo3(function () { + return useMemo3(function() { return callback; }, deps); } @@ -5569,7 +5547,7 @@ var require_react_dom_server_node_development = __commonJS({ } function useTransition() { resolveCurrentlyRenderingComponent(); - var startTransition = function (callback) { + var startTransition = function(callback) { callback(); }; return [startTransition, false]; @@ -5749,8 +5727,8 @@ var require_react_dom_server_node_development = __commonJS({ return prefix2 + key.charAt(0).toUpperCase() + key.substring(1); } var prefixes2 = ["Webkit", "ms", "Moz", "O"]; - Object.keys(isUnitlessNumber).forEach(function (prop) { - prefixes2.forEach(function (prefix2) { + Object.keys(isUnitlessNumber).forEach(function(prop) { + prefixes2.forEach(function(prefix2) { isUnitlessNumber[prefixKey(prefix2, prop)] = isUnitlessNumber[prop]; }); }); @@ -5787,7 +5765,7 @@ var require_react_dom_server_node_development = __commonJS({ return true; } } - var warnValidStyle = function () { + var warnValidStyle = function() { }; { var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/; @@ -5798,47 +5776,47 @@ var require_react_dom_server_node_development = __commonJS({ var warnedStyleValues = {}; var warnedForNaNValue = false; var warnedForInfinityValue = false; - var camelize = function (string) { - return string.replace(hyphenPattern, function (_10, character) { + var camelize = function(string) { + return string.replace(hyphenPattern, function(_10, character) { return character.toUpperCase(); }); }; - var warnHyphenatedStyleName = function (name) { + var warnHyphenatedStyleName = function(name) { if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) { return; } warnedStyleNames[name] = true; error("Unsupported style property %s. Did you mean %s?", name, camelize(name.replace(msPattern$1, "ms-"))); }; - var warnBadVendoredStyleName = function (name) { + var warnBadVendoredStyleName = function(name) { if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) { return; } warnedStyleNames[name] = true; error("Unsupported vendor-prefixed style property %s. Did you mean %s?", name, name.charAt(0).toUpperCase() + name.slice(1)); }; - var warnStyleValueWithSemicolon = function (name, value) { + var warnStyleValueWithSemicolon = function(name, value) { if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) { return; } warnedStyleValues[value] = true; error(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`, name, value.replace(badStyleValueWithSemicolonPattern, "")); }; - var warnStyleValueIsNaN = function (name, value) { + var warnStyleValueIsNaN = function(name, value) { if (warnedForNaNValue) { return; } warnedForNaNValue = true; error("`NaN` is an invalid value for the `%s` css style property.", name); }; - var warnStyleValueIsInfinity = function (name, value) { + var warnStyleValueIsInfinity = function(name, value) { if (warnedForInfinityValue) { return; } warnedForInfinityValue = true; error("`Infinity` is an invalid value for the `%s` css style property.", name); }; - warnValidStyle = function (name, value) { + warnValidStyle = function(name, value) { if (name.indexOf("-") > -1) { warnHyphenatedStyleName(name); } else if (badVendoredStyleNamePattern.test(name)) { @@ -5954,7 +5932,7 @@ var require_react_dom_server_node_development = __commonJS({ invalidProps.push(key); } } - var unknownPropString = invalidProps.map(function (prop) { + var unknownPropString = invalidProps.map(function(prop) { return "`" + prop + "`"; }).join(", "); if (invalidProps.length === 1) { @@ -6471,7 +6449,7 @@ var require_react_dom_server_node_development = __commonJS({ z: "z", zoomandpan: "zoomAndPan" }; - var validateProperty$1 = function () { + var validateProperty$1 = function() { }; { var warnedProperties$1 = {}; @@ -6480,7 +6458,7 @@ var require_react_dom_server_node_development = __commonJS({ var INVALID_EVENT_NAME_REGEX = /^on[^A-Z]/; var rARIA$1 = new RegExp("^(aria)-[" + ATTRIBUTE_NAME_CHAR + "]*$"); var rARIACamel$1 = new RegExp("^(aria)[A-Z][" + ATTRIBUTE_NAME_CHAR + "]*$"); - validateProperty$1 = function (tagName, name, value, eventRegistry) { + validateProperty$1 = function(tagName, name, value, eventRegistry) { if (_hasOwnProperty.call(warnedProperties$1, name) && warnedProperties$1[name]) { return true; } @@ -6574,7 +6552,7 @@ var require_react_dom_server_node_development = __commonJS({ return true; }; } - var warnUnknownProperties = function (type2, props2, eventRegistry) { + var warnUnknownProperties = function(type2, props2, eventRegistry) { { var unknownProps = []; for (var key in props2) { @@ -6583,7 +6561,7 @@ var require_react_dom_server_node_development = __commonJS({ unknownProps.push(key); } } - var unknownPropString = unknownProps.map(function (prop) { + var unknownPropString = unknownProps.map(function(prop) { return "`" + prop + "`"; }).join(", "); if (unknownProps.length === 1) { @@ -6604,51 +6582,51 @@ var require_react_dom_server_node_development = __commonJS({ var ReactCurrentDispatcher$1 = ReactSharedInternals.ReactCurrentDispatcher; var ReactDebugCurrentFrame$1; var prevGetCurrentStackImpl = null; - var getCurrentServerStackImpl = function () { + var getCurrentServerStackImpl = function() { return ""; }; - var describeStackFrame = function (element) { + var describeStackFrame = function(element) { return ""; }; - var validatePropertiesInDevelopment = function (type2, props2) { + var validatePropertiesInDevelopment = function(type2, props2) { }; - var pushCurrentDebugStack = function (stack) { + var pushCurrentDebugStack = function(stack) { }; - var pushElementToDebugStack = function (element) { + var pushElementToDebugStack = function(element) { }; - var popCurrentDebugStack = function () { + var popCurrentDebugStack = function() { }; var hasWarnedAboutUsingContextAsConsumer = false; { ReactDebugCurrentFrame$1 = ReactSharedInternals.ReactDebugCurrentFrame; - validatePropertiesInDevelopment = function (type2, props2) { + validatePropertiesInDevelopment = function(type2, props2) { validateProperties(type2, props2); validateProperties$1(type2, props2); validateProperties$2(type2, props2, null); }; - describeStackFrame = function (element) { + describeStackFrame = function(element) { return describeUnknownElementTypeFrameInDEV(element.type, element._source, null); }; - pushCurrentDebugStack = function (stack) { + pushCurrentDebugStack = function(stack) { currentDebugStacks.push(stack); if (currentDebugStacks.length === 1) { prevGetCurrentStackImpl = ReactDebugCurrentFrame$1.getCurrentStack; ReactDebugCurrentFrame$1.getCurrentStack = getCurrentServerStackImpl; } }; - pushElementToDebugStack = function (element) { + pushElementToDebugStack = function(element) { var stack = currentDebugStacks[currentDebugStacks.length - 1]; var frame2 = stack[stack.length - 1]; frame2.debugElementStack.push(element); }; - popCurrentDebugStack = function () { + popCurrentDebugStack = function() { currentDebugStacks.pop(); if (currentDebugStacks.length === 0) { ReactDebugCurrentFrame$1.getCurrentStack = prevGetCurrentStackImpl; prevGetCurrentStackImpl = null; } }; - getCurrentServerStackImpl = function () { + getCurrentServerStackImpl = function() { if (currentDebugStacks.length === 0) { return ""; } @@ -6694,7 +6672,7 @@ var require_react_dom_server_node_development = __commonJS({ } } var styleNameCache = {}; - var processStyleName = function (styleName) { + var processStyleName = function(styleName) { if (styleNameCache.hasOwnProperty(styleName)) { return styleNameCache[styleName]; } @@ -6773,7 +6751,7 @@ var require_react_dom_server_node_development = __commonJS({ return children2; } var content = ""; - React4.Children.forEach(children2, function (child) { + React4.Children.forEach(children2, function(child) { if (child == null) { return; } @@ -6856,20 +6834,20 @@ var require_react_dom_server_node_development = __commonJS({ var queue = []; var replace = false; var updater = { - isMounted: function (publicInstance) { + isMounted: function(publicInstance) { return false; }, - enqueueForceUpdate: function (publicInstance) { + enqueueForceUpdate: function(publicInstance) { if (queue === null) { warnNoop(publicInstance, "forceUpdate"); return null; } }, - enqueueReplaceState: function (publicInstance, completeState) { + enqueueReplaceState: function(publicInstance, completeState) { replace = true; queue = [completeState]; }, - enqueueSetState: function (publicInstance, currentPartialState) { + enqueueSetState: function(publicInstance, currentPartialState) { if (queue === null) { warnNoop(publicInstance, "setState"); return null; @@ -7022,7 +7000,7 @@ var require_react_dom_server_node_development = __commonJS({ context }; } - var ReactDOMServerRenderer = /* @__PURE__ */ function () { + var ReactDOMServerRenderer = /* @__PURE__ */ function() { function ReactDOMServerRenderer2(children2, makeStaticMarkup, options) { var flatChildren = flattenTopLevelChildren(children2); var topFrame = { @@ -7623,7 +7601,7 @@ var require_react_dom_server_node_development = __commonJS({ subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; } - var ReactMarkupReadableStream = /* @__PURE__ */ function (_Readable) { + var ReactMarkupReadableStream = /* @__PURE__ */ function(_Readable) { _inheritsLoose(ReactMarkupReadableStream2, _Readable); function ReactMarkupReadableStream2(element, makeStaticMarkup, options) { var _this; @@ -7800,7 +7778,7 @@ var require_stringify = __commonJS({ var require_is_number = __commonJS({ "node_modules/is-number/index.js"(exports2, module2) { "use strict"; - module2.exports = function (num) { + module2.exports = function(num) { if (typeof num === "number") { return num - num === 0; } @@ -10476,7 +10454,7 @@ var require_coreJsData = __commonJS({ var require_isMasked = __commonJS({ "node_modules/lodash/_isMasked.js"(exports2, module2) { var coreJsData = require_coreJsData(); - var maskSrcKey = function () { + var maskSrcKey = function() { var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ""); return uid ? "Symbol(src)_1." + uid : ""; }(); @@ -10561,7 +10539,7 @@ var require_getNative = __commonJS({ var require_defineProperty = __commonJS({ "node_modules/lodash/_defineProperty.js"(exports2, module2) { var getNative = require_getNative(); - var defineProperty = function () { + var defineProperty = function() { try { var func = getNative(Object, "defineProperty"); func({}, "", {}); @@ -10612,7 +10590,7 @@ var require_arrayAggregator = __commonJS({ var require_createBaseFor = __commonJS({ "node_modules/lodash/_createBaseFor.js"(exports2, module2) { function createBaseFor(fromRight) { - return function (object, iteratee, keysFunc) { + return function(object, iteratee, keysFunc) { var index = -1, iterable = Object(object), props2 = keysFunc(object), length = props2.length; while (length--) { var key = props2[fromRight ? length : ++index]; @@ -10681,9 +10659,9 @@ var require_isArguments = __commonJS({ var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; var propertyIsEnumerable = objectProto.propertyIsEnumerable; - var isArguments = baseIsArguments(function () { + var isArguments = baseIsArguments(function() { return arguments; - }()) ? baseIsArguments : function (value) { + }()) ? baseIsArguments : function(value) { return isObjectLike(value) && hasOwnProperty.call(value, "callee") && !propertyIsEnumerable.call(value, "callee"); }; module2.exports = isArguments; @@ -10792,7 +10770,7 @@ var require_baseIsTypedArray = __commonJS({ var require_baseUnary = __commonJS({ "node_modules/lodash/_baseUnary.js"(exports2, module2) { function baseUnary(func) { - return function (value) { + return function(value) { return func(value); }; } @@ -10808,7 +10786,7 @@ var require_nodeUtil = __commonJS({ var freeModule = freeExports && typeof module2 == "object" && module2 && !module2.nodeType && module2; var moduleExports = freeModule && freeModule.exports === freeExports; var freeProcess = moduleExports && freeGlobal.process; - var nodeUtil = function () { + var nodeUtil = function() { try { var types = freeModule && freeModule.require && freeModule.require("util").types; if (types) { @@ -10874,7 +10852,7 @@ var require_isPrototype = __commonJS({ var require_overArg = __commonJS({ "node_modules/lodash/_overArg.js"(exports2, module2) { function overArg(func, transform2) { - return function (arg) { + return function(arg) { return func(transform2(arg)); }; } @@ -10956,7 +10934,7 @@ var require_createBaseEach = __commonJS({ "node_modules/lodash/_createBaseEach.js"(exports2, module2) { var isArrayLike = require_isArrayLike(); function createBaseEach(eachFunc, fromRight) { - return function (collection, iteratee) { + return function(collection, iteratee) { if (collection == null) { return collection; } @@ -10991,7 +10969,7 @@ var require_baseAggregator = __commonJS({ "node_modules/lodash/_baseAggregator.js"(exports2, module2) { var baseEach = require_baseEach(); function baseAggregator(collection, setter, iteratee, accumulator) { - baseEach(collection, function (value, key, collection2) { + baseEach(collection, function(value, key, collection2) { setter(accumulator, value, iteratee(value), collection2); }); return accumulator; @@ -11552,7 +11530,7 @@ var require_equalArrays = __commonJS({ break; } if (seen) { - if (!arraySome(other, function (othValue2, othIndex) { + if (!arraySome(other, function(othValue2, othIndex) { if (!cacheHas(seen, othIndex) && (arrValue === othValue2 || equalFunc(arrValue, othValue2, bitmask, customizer, stack))) { return seen.push(othIndex); } @@ -11587,7 +11565,7 @@ var require_mapToArray = __commonJS({ "node_modules/lodash/_mapToArray.js"(exports2, module2) { function mapToArray(map2) { var index = -1, result = Array(map2.size); - map2.forEach(function (value, key) { + map2.forEach(function(value, key) { result[++index] = [key, value]; }); return result; @@ -11601,7 +11579,7 @@ var require_setToArray = __commonJS({ "node_modules/lodash/_setToArray.js"(exports2, module2) { function setToArray(set3) { var index = -1, result = Array(set3.size); - set3.forEach(function (value) { + set3.forEach(function(value) { result[++index] = value; }); return result; @@ -11746,12 +11724,12 @@ var require_getSymbols = __commonJS({ var objectProto = Object.prototype; var propertyIsEnumerable = objectProto.propertyIsEnumerable; var nativeGetSymbols = Object.getOwnPropertySymbols; - var getSymbols = !nativeGetSymbols ? stubArray : function (object) { + var getSymbols = !nativeGetSymbols ? stubArray : function(object) { if (object == null) { return []; } object = Object(object); - return arrayFilter(nativeGetSymbols(object), function (symbol) { + return arrayFilter(nativeGetSymbols(object), function(symbol) { return propertyIsEnumerable.call(object, symbol); }); }; @@ -11889,7 +11867,7 @@ var require_getTag = __commonJS({ var weakMapCtorString = toSource(WeakMap2); var getTag = baseGetTag; if (DataView2 && getTag(new DataView2(new ArrayBuffer(1))) != dataViewTag || Map2 && getTag(new Map2()) != mapTag || Promise2 && getTag(Promise2.resolve()) != promiseTag || Set2 && getTag(new Set2()) != setTag || WeakMap2 && getTag(new WeakMap2()) != weakMapTag) { - getTag = function (value) { + getTag = function(value) { var result = baseGetTag(value), Ctor = result == objectTag ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : ""; if (ctorString) { switch (ctorString) { @@ -12055,7 +12033,7 @@ var require_getMatchData = __commonJS({ var require_matchesStrictComparable = __commonJS({ "node_modules/lodash/_matchesStrictComparable.js"(exports2, module2) { function matchesStrictComparable(key, srcValue) { - return function (object) { + return function(object) { if (object == null) { return false; } @@ -12077,7 +12055,7 @@ var require_baseMatches = __commonJS({ if (matchData.length == 1 && matchData[0][2]) { return matchesStrictComparable(matchData[0][0], matchData[0][1]); } - return function (object) { + return function(object) { return object === source || baseIsMatch(object, source, matchData); }; } @@ -12128,7 +12106,7 @@ var require_memoize = __commonJS({ if (typeof func != "function" || resolver != null && typeof resolver != "function") { throw new TypeError(FUNC_ERROR_TEXT); } - var memoized = function () { + var memoized = function() { var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache; if (cache.has(key)) { return cache.get(key); @@ -12151,7 +12129,7 @@ var require_memoizeCapped = __commonJS({ var memoize = require_memoize(); var MAX_MEMOIZE_SIZE = 500; function memoizeCapped(func) { - var result = memoize(func, function (key) { + var result = memoize(func, function(key) { if (cache.size === MAX_MEMOIZE_SIZE) { cache.clear(); } @@ -12170,12 +12148,12 @@ var require_stringToPath = __commonJS({ var memoizeCapped = require_memoizeCapped(); var rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; var reEscapeChar = /\\(\\)?/g; - var stringToPath = memoizeCapped(function (string) { + var stringToPath = memoizeCapped(function(string) { var result = []; if (string.charCodeAt(0) === 46) { result.push(""); } - string.replace(rePropName, function (match, number3, quote, subString) { + string.replace(rePropName, function(match, number3, quote, subString) { result.push(quote ? subString.replace(reEscapeChar, "$1") : number3 || match); }); return result; @@ -12365,7 +12343,7 @@ var require_baseMatchesProperty = __commonJS({ if (isKey(path) && isStrictComparable(srcValue)) { return matchesStrictComparable(toKey(path), srcValue); } - return function (object) { + return function(object) { var objValue = get3(object, path); return objValue === void 0 && objValue === srcValue ? hasIn(object, path) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG); }; @@ -12388,7 +12366,7 @@ var require_identity = __commonJS({ var require_baseProperty = __commonJS({ "node_modules/lodash/_baseProperty.js"(exports2, module2) { function baseProperty(key) { - return function (object) { + return function(object) { return object == null ? void 0 : object[key]; }; } @@ -12401,7 +12379,7 @@ var require_basePropertyDeep = __commonJS({ "node_modules/lodash/_basePropertyDeep.js"(exports2, module2) { var baseGet = require_baseGet(); function basePropertyDeep(path) { - return function (object) { + return function(object) { return baseGet(object, path); }; } @@ -12455,7 +12433,7 @@ var require_createAggregator = __commonJS({ var baseIteratee = require_baseIteratee(); var isArray = require_isArray(); function createAggregator(setter, initializer) { - return function (collection, iteratee) { + return function(collection, iteratee) { var func = isArray(collection) ? arrayAggregator : baseAggregator, accumulator = initializer ? initializer() : {}; return func(collection, setter, baseIteratee(iteratee, 2), accumulator); }; @@ -12471,7 +12449,7 @@ var require_countBy = __commonJS({ var createAggregator = require_createAggregator(); var objectProto = Object.prototype; var hasOwnProperty = objectProto.hasOwnProperty; - var countBy2 = createAggregator(function (result, value, key) { + var countBy2 = createAggregator(function(result, value, key) { if (hasOwnProperty.call(result, key)) { ++result[key]; } else { @@ -12528,7 +12506,7 @@ var require_baseToPairs = __commonJS({ "node_modules/lodash/_baseToPairs.js"(exports2, module2) { var arrayMap = require_arrayMap(); function baseToPairs(object, props2) { - return arrayMap(props2, function (key) { + return arrayMap(props2, function(key) { return [key, object[key]]; }); } @@ -12541,7 +12519,7 @@ var require_setToPairs = __commonJS({ "node_modules/lodash/_setToPairs.js"(exports2, module2) { function setToPairs(set3) { var index = -1, result = Array(set3.size); - set3.forEach(function (value) { + set3.forEach(function(value) { result[++index] = [value, value]; }); return result; @@ -12560,7 +12538,7 @@ var require_createToPairs = __commonJS({ var mapTag = "[object Map]"; var setTag = "[object Set]"; function createToPairs(keysFunc) { - return function (object) { + return function(object) { var tag = getTag(object); if (tag == mapTag) { return mapToArray(object); @@ -12691,7 +12669,7 @@ var require_createSet = __commonJS({ var noop2 = require_noop(); var setToArray = require_setToArray(); var INFINITY = 1 / 0; - var createSet = !(Set2 && 1 / setToArray(new Set2([, -0]))[1] == INFINITY) ? noop2 : function (values) { + var createSet = !(Set2 && 1 / setToArray(new Set2([, -0]))[1] == INFINITY) ? noop2 : function(values) { return new Set2(values); }; module2.exports = createSet; @@ -12725,27 +12703,27 @@ var require_baseUniq = __commonJS({ seen = iteratee ? [] : result; } outer: - while (++index < length) { - var value = array2[index], computed = iteratee ? iteratee(value) : value; - value = comparator || value !== 0 ? value : 0; - if (isCommon && computed === computed) { - var seenIndex = seen.length; - while (seenIndex--) { - if (seen[seenIndex] === computed) { - continue outer; + while (++index < length) { + var value = array2[index], computed = iteratee ? iteratee(value) : value; + value = comparator || value !== 0 ? value : 0; + if (isCommon && computed === computed) { + var seenIndex = seen.length; + while (seenIndex--) { + if (seen[seenIndex] === computed) { + continue outer; + } } + if (iteratee) { + seen.push(computed); + } + result.push(value); + } else if (!includes(seen, computed, comparator)) { + if (seen !== result) { + seen.push(computed); + } + result.push(value); } - if (iteratee) { - seen.push(computed); - } - result.push(value); - } else if (!includes(seen, computed, comparator)) { - if (seen !== result) { - seen.push(computed); - } - result.push(value); } - } return result; } module2.exports = baseUniq; @@ -12846,7 +12824,7 @@ var import_micromatch = __toModule(require_micromatch()); var shouldExcludePath = (path, pathsToIgnore, globsToIgnore) => { if (!path) return false; - return pathsToIgnore.has(path) || globsToIgnore.some((glob) => !glob || (0, import_micromatch.isMatch)(path, glob)); + return pathsToIgnore.has(path) || globsToIgnore.some((glob) => glob && (0, import_micromatch.isMatch)(path, glob)); }; // src/process-dir.js @@ -13067,10 +13045,8 @@ function range_default(start2, stop, step) { } // node_modules/d3-dispatch/src/dispatch.js -var noop = { - value: () => { - } -}; +var noop = { value: () => { +} }; function dispatch() { for (var i = 0, n2 = arguments.length, _10 = {}, t2; i < n2; ++i) { if (!(t2 = arguments[i] + "") || t2 in _10 || /[\s.]/.test(t2)) @@ -13083,7 +13059,7 @@ function Dispatch(_10) { this._ = _10; } function parseTypenames(typenames, types) { - return typenames.trim().split(/^|\s+/).map(function (t2) { + return typenames.trim().split(/^|\s+/).map(function(t2) { var name = "", i = t2.indexOf("."); if (i >= 0) name = t2.slice(i + 1), t2 = t2.slice(0, i); @@ -13094,7 +13070,7 @@ function parseTypenames(typenames, types) { } Dispatch.prototype = dispatch.prototype = { constructor: Dispatch, - on: function (typename, callback) { + on: function(typename, callback) { var _10 = this._, T = parseTypenames(typename + "", _10), t2, i = -1, n2 = T.length; if (arguments.length < 2) { while (++i < n2) @@ -13113,13 +13089,13 @@ Dispatch.prototype = dispatch.prototype = { } return this; }, - copy: function () { + copy: function() { var copy2 = {}, _10 = this._; for (var t2 in _10) copy2[t2] = _10[t2].slice(); return new Dispatch(copy2); }, - call: function (type2, that) { + call: function(type2, that) { if ((n2 = arguments.length - 2) > 0) for (var args = new Array(n2), i = 0, n2, t2; i < n2; ++i) args[i] = arguments[i + 2]; @@ -13128,7 +13104,7 @@ Dispatch.prototype = dispatch.prototype = { for (t2 = this._[type2], i = 0, n2 = t2.length; i < n2; ++i) t2[i].value.apply(that, args); }, - apply: function (type2, that, args) { + apply: function(type2, that, args) { if (!this._.hasOwnProperty(type2)) throw new Error("unknown type: " + type2); for (var t2 = this._[type2], i = 0, n2 = t2.length; i < n2; ++i) @@ -13175,13 +13151,13 @@ function namespace_default(name) { // node_modules/d3-selection/src/creator.js function creatorInherit(name) { - return function () { + return function() { var document2 = this.ownerDocument, uri = this.namespaceURI; return uri === xhtml && document2.documentElement.namespaceURI === xhtml ? document2.createElement(name) : document2.createElementNS(uri, name); }; } function creatorFixed(fullname) { - return function () { + return function() { return this.ownerDocument.createElementNS(fullname.space, fullname.local); }; } @@ -13194,7 +13170,7 @@ function creator_default(name) { function none() { } function selector_default(selector) { - return selector == null ? none : function () { + return selector == null ? none : function() { return this.querySelector(selector); }; } @@ -13225,14 +13201,14 @@ function empty() { return []; } function selectorAll_default(selector) { - return selector == null ? empty : function () { + return selector == null ? empty : function() { return this.querySelectorAll(selector); }; } // node_modules/d3-selection/src/selection/selectAll.js function arrayAll(select) { - return function () { + return function() { return array(select.apply(this, arguments)); }; } @@ -13254,12 +13230,12 @@ function selectAll_default(select) { // node_modules/d3-selection/src/matcher.js function matcher_default(selector) { - return function () { + return function() { return this.matches(selector); }; } function childMatcher(selector) { - return function (node) { + return function(node) { return node.matches(selector); }; } @@ -13267,7 +13243,7 @@ function childMatcher(selector) { // node_modules/d3-selection/src/selection/selectChild.js var find = Array.prototype.find; function childFind(match) { - return function () { + return function() { return find.call(this.children, match); }; } @@ -13284,7 +13260,7 @@ function children() { return Array.from(this.children); } function childrenFilter(match) { - return function () { + return function() { return filter.call(this.children, match); }; } @@ -13324,23 +13300,23 @@ function EnterNode(parent, datum2) { } EnterNode.prototype = { constructor: EnterNode, - appendChild: function (child) { + appendChild: function(child) { return this._parent.insertBefore(child, this._next); }, - insertBefore: function (child, next) { + insertBefore: function(child, next) { return this._parent.insertBefore(child, next); }, - querySelector: function (selector) { + querySelector: function(selector) { return this._parent.querySelector(selector); }, - querySelectorAll: function (selector) { + querySelectorAll: function(selector) { return this._parent.querySelectorAll(selector); } }; // node_modules/d3-selection/src/constant.js function constant_default(x2) { - return function () { + return function() { return x2; }; } @@ -13466,8 +13442,8 @@ function merge_default(context) { // node_modules/d3-selection/src/selection/order.js function order_default() { - for (var groups = this._groups, j3 = -1, m4 = groups.length; ++j3 < m4;) { - for (var group = groups[j3], i = group.length - 1, next = group[i], node; --i >= 0;) { + for (var groups = this._groups, j3 = -1, m4 = groups.length; ++j3 < m4; ) { + for (var group = groups[j3], i = group.length - 1, next = group[i], node; --i >= 0; ) { if (node = group[i]) { if (next && node.compareDocumentPosition(next) ^ 4) next.parentNode.insertBefore(node, next); @@ -13550,27 +13526,27 @@ function each_default(callback) { // node_modules/d3-selection/src/selection/attr.js function attrRemove(name) { - return function () { + return function() { this.removeAttribute(name); }; } function attrRemoveNS(fullname) { - return function () { + return function() { this.removeAttributeNS(fullname.space, fullname.local); }; } function attrConstant(name, value) { - return function () { + return function() { this.setAttribute(name, value); }; } function attrConstantNS(fullname, value) { - return function () { + return function() { this.setAttributeNS(fullname.space, fullname.local, value); }; } function attrFunction(name, value) { - return function () { + return function() { var v2 = value.apply(this, arguments); if (v2 == null) this.removeAttribute(name); @@ -13579,7 +13555,7 @@ function attrFunction(name, value) { }; } function attrFunctionNS(fullname, value) { - return function () { + return function() { var v2 = value.apply(this, arguments); if (v2 == null) this.removeAttributeNS(fullname.space, fullname.local); @@ -13603,17 +13579,17 @@ function window_default(node) { // node_modules/d3-selection/src/selection/style.js function styleRemove(name) { - return function () { + return function() { this.style.removeProperty(name); }; } function styleConstant(name, value, priority) { - return function () { + return function() { this.style.setProperty(name, value, priority); }; } function styleFunction(name, value, priority) { - return function () { + return function() { var v2 = value.apply(this, arguments); if (v2 == null) this.style.removeProperty(name); @@ -13630,17 +13606,17 @@ function styleValue(node, name) { // node_modules/d3-selection/src/selection/property.js function propertyRemove(name) { - return function () { + return function() { delete this[name]; }; } function propertyConstant(name, value) { - return function () { + return function() { this[name] = value; }; } function propertyFunction(name, value) { - return function () { + return function() { var v2 = value.apply(this, arguments); if (v2 == null) delete this[name]; @@ -13664,21 +13640,21 @@ function ClassList(node) { this._names = classArray(node.getAttribute("class") || ""); } ClassList.prototype = { - add: function (name) { + add: function(name) { var i = this._names.indexOf(name); if (i < 0) { this._names.push(name); this._node.setAttribute("class", this._names.join(" ")); } }, - remove: function (name) { + remove: function(name) { var i = this._names.indexOf(name); if (i >= 0) { this._names.splice(i, 1); this._node.setAttribute("class", this._names.join(" ")); } }, - contains: function (name) { + contains: function(name) { return this._names.indexOf(name) >= 0; } }; @@ -13693,17 +13669,17 @@ function classedRemove(node, names) { list.remove(names[i]); } function classedTrue(names) { - return function () { + return function() { classedAdd(this, names); }; } function classedFalse(names) { - return function () { + return function() { classedRemove(this, names); }; } function classedFunction(names, value) { - return function () { + return function() { (value.apply(this, arguments) ? classedAdd : classedRemove)(this, names); }; } @@ -13724,12 +13700,12 @@ function textRemove() { this.textContent = ""; } function textConstant(value) { - return function () { + return function() { this.textContent = value; }; } function textFunction(value) { - return function () { + return function() { var v2 = value.apply(this, arguments); this.textContent = v2 == null ? "" : v2; }; @@ -13743,12 +13719,12 @@ function htmlRemove() { this.innerHTML = ""; } function htmlConstant(value) { - return function () { + return function() { this.innerHTML = value; }; } function htmlFunction(value) { - return function () { + return function() { var v2 = value.apply(this, arguments); this.innerHTML = v2 == null ? "" : v2; }; @@ -13778,7 +13754,7 @@ function lower_default() { // node_modules/d3-selection/src/selection/append.js function append_default(name) { var create2 = typeof name === "function" ? name : creator_default(name); - return this.select(function () { + return this.select(function() { return this.appendChild(create2.apply(this, arguments)); }); } @@ -13789,7 +13765,7 @@ function constantNull() { } function insert_default(name, before) { var create2 = typeof name === "function" ? name : creator_default(name), select = before == null ? constantNull : typeof before === "function" ? before : selector_default(before); - return this.select(function () { + return this.select(function() { return this.insertBefore(create2.apply(this, arguments), select.apply(this, arguments) || null); }); } @@ -13824,12 +13800,12 @@ function datum_default(value) { // node_modules/d3-selection/src/selection/on.js function contextListener(listener) { - return function (event) { + return function(event) { listener.call(this, event, this.__data__); }; } function parseTypenames2(typenames) { - return typenames.trim().split(/^|\s+/).map(function (t2) { + return typenames.trim().split(/^|\s+/).map(function(t2) { var name = "", i = t2.indexOf("."); if (i >= 0) name = t2.slice(i + 1), t2 = t2.slice(0, i); @@ -13837,7 +13813,7 @@ function parseTypenames2(typenames) { }); } function onRemove(typename) { - return function () { + return function() { var on = this.__on; if (!on) return; @@ -13855,7 +13831,7 @@ function onRemove(typename) { }; } function onAdd(typename, value, options) { - return function () { + return function() { var on = this.__on, o, listener = contextListener(value); if (on) for (var j3 = 0, m4 = on.length; j3 < m4; ++j3) { @@ -13909,12 +13885,12 @@ function dispatchEvent(node, type2, params) { node.dispatchEvent(event); } function dispatchConstant(type2, params) { - return function () { + return function() { return dispatchEvent(this, type2, params); }; } function dispatchFunction(type2, params) { - return function () { + return function() { return dispatchEvent(this, type2, params.apply(this, arguments)); }; } @@ -14162,10 +14138,10 @@ var named = { yellowgreen: 10145074 }; define_default(Color, color, { - copy: function (channels) { + copy: function(channels) { return Object.assign(new this.constructor(), this, channels); }, - displayable: function () { + displayable: function() { return this.rgb().displayable(); }, hex: color_formatHex, @@ -14214,18 +14190,18 @@ function Rgb(r4, g2, b, opacity) { this.opacity = +opacity; } define_default(Rgb, rgb, extend(Color, { - brighter: function (k) { + brighter: function(k) { k = k == null ? brighter : Math.pow(brighter, k); return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity); }, - darker: function (k) { + darker: function(k) { k = k == null ? darker : Math.pow(darker, k); return new Rgb(this.r * k, this.g * k, this.b * k, this.opacity); }, - rgb: function () { + rgb: function() { return this; }, - displayable: function () { + displayable: function() { return -0.5 <= this.r && this.r < 255.5 && (-0.5 <= this.g && this.g < 255.5) && (-0.5 <= this.b && this.b < 255.5) && (0 <= this.opacity && this.opacity <= 1); }, hex: rgb_formatHex, @@ -14289,22 +14265,22 @@ function Hsl(h2, s, l2, opacity) { this.opacity = +opacity; } define_default(Hsl, hsl, extend(Color, { - brighter: function (k) { + brighter: function(k) { k = k == null ? brighter : Math.pow(brighter, k); return new Hsl(this.h, this.s, this.l * k, this.opacity); }, - darker: function (k) { + darker: function(k) { k = k == null ? darker : Math.pow(darker, k); return new Hsl(this.h, this.s, this.l * k, this.opacity); }, - rgb: function () { + rgb: function() { var h2 = this.h % 360 + (this.h < 0) * 360, s = isNaN(h2) || isNaN(this.s) ? 0 : this.s, l2 = this.l, m23 = l2 + (l2 < 0.5 ? l2 : 1 - l2) * s, m1 = 2 * l2 - m23; return new Rgb(hsl2rgb(h2 >= 240 ? h2 - 240 : h2 + 120, m1, m23), hsl2rgb(h2, m1, m23), hsl2rgb(h2 < 120 ? h2 + 240 : h2 - 120, m1, m23), this.opacity); }, - displayable: function () { + displayable: function() { return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && (0 <= this.l && this.l <= 1) && (0 <= this.opacity && this.opacity <= 1); }, - formatHsl: function () { + formatHsl: function() { var a2 = this.opacity; a2 = isNaN(a2) ? 1 : Math.max(0, Math.min(1, a2)); return (a2 === 1 ? "hsl(" : "hsla(") + (this.h || 0) + ", " + (this.s || 0) * 100 + "%, " + (this.l || 0) * 100 + "%" + (a2 === 1 ? ")" : ", " + a2 + ")"); @@ -14321,7 +14297,7 @@ function basis(t12, v0, v1, v2, v3) { } function basis_default(values) { var n2 = values.length - 1; - return function (t2) { + return function(t2) { var i = t2 <= 0 ? t2 = 0 : t2 >= 1 ? (t2 = 1, n2 - 1) : Math.floor(t2 * n2), v1 = values[i], v2 = values[i + 1], v0 = i > 0 ? values[i - 1] : 2 * v1 - v2, v3 = i < n2 - 1 ? values[i + 2] : 2 * v2 - v1; return basis((t2 - i / n2) * n2, v0, v1, v2, v3); }; @@ -14330,7 +14306,7 @@ function basis_default(values) { // node_modules/d3-interpolate/src/basisClosed.js function basisClosed_default(values) { var n2 = values.length; - return function (t2) { + return function(t2) { var i = Math.floor(((t2 %= 1) < 0 ? ++t2 : t2) * n2), v0 = values[(i + n2 - 1) % n2], v1 = values[i % n2], v2 = values[(i + 1) % n2], v3 = values[(i + 2) % n2]; return basis((t2 - i / n2) * n2, v0, v1, v2, v3); }; @@ -14341,17 +14317,17 @@ var constant_default2 = (x2) => () => x2; // node_modules/d3-interpolate/src/color.js function linear(a2, d2) { - return function (t2) { + return function(t2) { return a2 + t2 * d2; }; } function exponential(a2, b, y3) { - return a2 = Math.pow(a2, y3), b = Math.pow(b, y3) - a2, y3 = 1 / y3, function (t2) { + return a2 = Math.pow(a2, y3), b = Math.pow(b, y3) - a2, y3 = 1 / y3, function(t2) { return Math.pow(a2 + t2 * b, y3); }; } function gamma(y3) { - return (y3 = +y3) === 1 ? nogamma : function (a2, b) { + return (y3 = +y3) === 1 ? nogamma : function(a2, b) { return b - a2 ? exponential(a2, b, y3) : constant_default2(isNaN(a2) ? b : a2); }; } @@ -14365,7 +14341,7 @@ var rgb_default = function rgbGamma(y3) { var color2 = gamma(y3); function rgb2(start2, end) { var r4 = color2((start2 = rgb(start2)).r, (end = rgb(end)).r), g2 = color2(start2.g, end.g), b = color2(start2.b, end.b), opacity = nogamma(start2.opacity, end.opacity); - return function (t2) { + return function(t2) { start2.r = r4(t2); start2.g = g2(t2); start2.b = b(t2); @@ -14377,7 +14353,7 @@ var rgb_default = function rgbGamma(y3) { return rgb2; }(1); function rgbSpline(spline) { - return function (colors) { + return function(colors) { var n2 = colors.length, r4 = new Array(n2), g2 = new Array(n2), b = new Array(n2), i, color2; for (i = 0; i < n2; ++i) { color2 = rgb(colors[i]); @@ -14389,7 +14365,7 @@ function rgbSpline(spline) { g2 = spline(g2); b = spline(b); color2.opacity = 1; - return function (t2) { + return function(t2) { color2.r = r4(t2); color2.g = g2(t2); color2.b = b(t2); @@ -14405,7 +14381,7 @@ function numberArray_default(a2, b) { if (!b) b = []; var n2 = a2 ? Math.min(b.length, a2.length) : 0, c3 = b.slice(), i; - return function (t2) { + return function(t2) { for (i = 0; i < n2; ++i) c3[i] = a2[i] * (1 - t2) + b[i] * t2; return c3; @@ -14422,7 +14398,7 @@ function genericArray(a2, b) { x2[i] = value_default(a2[i], b[i]); for (; i < nb; ++i) c3[i] = b[i]; - return function (t2) { + return function(t2) { for (i = 0; i < na; ++i) c3[i] = x2[i](t2); return c3; @@ -14432,14 +14408,14 @@ function genericArray(a2, b) { // node_modules/d3-interpolate/src/date.js function date_default(a2, b) { var d2 = new Date(); - return a2 = +a2, b = +b, function (t2) { + return a2 = +a2, b = +b, function(t2) { return d2.setTime(a2 * (1 - t2) + b * t2), d2; }; } // node_modules/d3-interpolate/src/number.js function number_default2(a2, b) { - return a2 = +a2, b = +b, function (t2) { + return a2 = +a2, b = +b, function(t2) { return a2 * (1 - t2) + b * t2; }; } @@ -14458,7 +14434,7 @@ function object_default(a2, b) { c3[k] = b[k]; } } - return function (t2) { + return function(t2) { for (k in i) c3[k] = i[k](t2); return c3; @@ -14469,12 +14445,12 @@ function object_default(a2, b) { var reA = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g; var reB = new RegExp(reA.source, "g"); function zero(b) { - return function () { + return function() { return b; }; } function one(b) { - return function (t2) { + return function(t2) { return b(t2) + ""; }; } @@ -14507,7 +14483,7 @@ function string_default(a2, b) { else s[++i] = bs; } - return s.length < 2 ? q2[0] ? one(q2[0].x) : zero(b) : (b = q2.length, function (t2) { + return s.length < 2 ? q2[0] ? one(q2[0].x) : zero(b) : (b = q2.length, function(t2) { for (var i2 = 0, o; i2 < b; ++i2) s[(o = q2[i2]).i] = o.x(t2); return s.join(""); @@ -14522,7 +14498,7 @@ function value_default(a2, b) { // node_modules/d3-interpolate/src/round.js function round_default(a2, b) { - return a2 = +a2, b = +b, function (t2) { + return a2 = +a2, b = +b, function(t2) { return Math.round(a2 * (1 - t2) + b * t2); }; } @@ -14614,7 +14590,7 @@ function interpolateTransform(parse, pxComma, pxParen, degParen) { s.push(pop(s) + "scale(" + xb + "," + yb + ")"); } } - return function (a2, b) { + return function(a2, b) { var s = [], q2 = []; a2 = parse(a2), b = parse(b); translate(a2.translateX, a2.translateY, b.translateX, b.translateY, s, q2); @@ -14622,7 +14598,7 @@ function interpolateTransform(parse, pxComma, pxParen, degParen) { skewX(a2.skewX, b.skewX, s, q2); scale(a2.scaleX, a2.scaleY, b.scaleX, b.scaleY, s, q2); a2 = b = null; - return function (t2) { + return function(t2) { var i = -1, n2 = q2.length, o; while (++i < n2) s[(o = q2[i]).i] = o.x(t2); @@ -14644,7 +14620,7 @@ var clockLast = 0; var clockNow = 0; var clockSkew = 0; var clock = typeof performance === "object" && performance.now ? performance : Date; -var setFrame = typeof window === "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function (f2) { +var setFrame = typeof window === "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(f2) { setTimeout(f2, 17); }; function now() { @@ -14658,7 +14634,7 @@ function Timer() { } Timer.prototype = timer.prototype = { constructor: Timer, - restart: function (callback, delay, time) { + restart: function(callback, delay, time) { if (typeof callback !== "function") throw new TypeError("callback is not a function"); time = (time == null ? now() : +time) + (delay == null ? 0 : +delay); @@ -14673,7 +14649,7 @@ Timer.prototype = timer.prototype = { this._time = time; sleep(); }, - stop: function () { + stop: function() { if (this._call) { this._call = null; this._time = Infinity; @@ -14837,7 +14813,7 @@ function create(node, id2, self3) { delete schedules[i]; } } - timeout_default(function () { + timeout_default(function() { if (self3.state === STARTED) { self3.state = RUNNING; self3.timer.restart(tick, self3.delay, self3.time); @@ -14900,7 +14876,7 @@ function interrupt_default(node, name) { // node_modules/d3-transition/src/selection/interrupt.js function interrupt_default2(name) { - return this.each(function () { + return this.each(function() { interrupt_default(this, name); }); } @@ -14908,7 +14884,7 @@ function interrupt_default2(name) { // node_modules/d3-transition/src/transition/tween.js function tweenRemove(id2, name) { var tween0, tween1; - return function () { + return function() { var schedule = set2(this, id2), tween = schedule.tween; if (tween !== tween0) { tween1 = tween0 = tween; @@ -14927,7 +14903,7 @@ function tweenFunction(id2, name, value) { var tween0, tween1; if (typeof value !== "function") throw new Error(); - return function () { + return function() { var schedule = set2(this, id2), tween = schedule.tween; if (tween !== tween0) { tween1 = (tween0 = tween).slice(); @@ -14959,11 +14935,11 @@ function tween_default(name, value) { } function tweenValue(transition2, name, value) { var id2 = transition2._id; - transition2.each(function () { + transition2.each(function() { var schedule = set2(this, id2); (schedule.value || (schedule.value = {}))[name] = value.apply(this, arguments); }); - return function (node) { + return function(node) { return get2(node, id2).value[name]; }; } @@ -14976,32 +14952,32 @@ function interpolate_default(a2, b) { // node_modules/d3-transition/src/transition/attr.js function attrRemove2(name) { - return function () { + return function() { this.removeAttribute(name); }; } function attrRemoveNS2(fullname) { - return function () { + return function() { this.removeAttributeNS(fullname.space, fullname.local); }; } function attrConstant2(name, interpolate, value1) { var string00, string1 = value1 + "", interpolate0; - return function () { + return function() { var string0 = this.getAttribute(name); return string0 === string1 ? null : string0 === string00 ? interpolate0 : interpolate0 = interpolate(string00 = string0, value1); }; } function attrConstantNS2(fullname, interpolate, value1) { var string00, string1 = value1 + "", interpolate0; - return function () { + return function() { var string0 = this.getAttributeNS(fullname.space, fullname.local); return string0 === string1 ? null : string0 === string00 ? interpolate0 : interpolate0 = interpolate(string00 = string0, value1); }; } function attrFunction2(name, interpolate, value) { var string00, string10, interpolate0; - return function () { + return function() { var string0, value1 = value(this), string1; if (value1 == null) return void this.removeAttribute(name); @@ -15012,7 +14988,7 @@ function attrFunction2(name, interpolate, value) { } function attrFunctionNS2(fullname, interpolate, value) { var string00, string10, interpolate0; - return function () { + return function() { var string0, value1 = value(this), string1; if (value1 == null) return void this.removeAttributeNS(fullname.space, fullname.local); @@ -15028,12 +15004,12 @@ function attr_default2(name, value) { // node_modules/d3-transition/src/transition/attrTween.js function attrInterpolate(name, i) { - return function (t2) { + return function(t2) { this.setAttribute(name, i.call(this, t2)); }; } function attrInterpolateNS(fullname, i) { - return function (t2) { + return function(t2) { this.setAttributeNS(fullname.space, fullname.local, i.call(this, t2)); }; } @@ -15073,12 +15049,12 @@ function attrTween_default(name, value) { // node_modules/d3-transition/src/transition/delay.js function delayFunction(id2, value) { - return function () { + return function() { init(this, id2).delay = +value.apply(this, arguments); }; } function delayConstant(id2, value) { - return value = +value, function () { + return value = +value, function() { init(this, id2).delay = value; }; } @@ -15089,12 +15065,12 @@ function delay_default(value) { // node_modules/d3-transition/src/transition/duration.js function durationFunction(id2, value) { - return function () { + return function() { set2(this, id2).duration = +value.apply(this, arguments); }; } function durationConstant(id2, value) { - return value = +value, function () { + return value = +value, function() { set2(this, id2).duration = value; }; } @@ -15107,7 +15083,7 @@ function duration_default(value) { function easeConstant(id2, value) { if (typeof value !== "function") throw new Error(); - return function () { + return function() { set2(this, id2).ease = value; }; } @@ -15118,7 +15094,7 @@ function ease_default(value) { // node_modules/d3-transition/src/transition/easeVarying.js function easeVarying(id2, value) { - return function () { + return function() { var v2 = value.apply(this, arguments); if (typeof v2 !== "function") throw new Error(); @@ -15164,7 +15140,7 @@ function merge_default2(transition2) { // node_modules/d3-transition/src/transition/on.js function start(name) { - return (name + "").trim().split(/^|\s+/).every(function (t2) { + return (name + "").trim().split(/^|\s+/).every(function(t2) { var i = t2.indexOf("."); if (i >= 0) t2 = t2.slice(0, i); @@ -15173,7 +15149,7 @@ function start(name) { } function onFunction(id2, name, listener) { var on0, on1, sit = start(name) ? init : set2; - return function () { + return function() { var schedule = sit(this, id2), on = schedule.on; if (on !== on0) (on1 = (on0 = on).copy()).on(name, listener); @@ -15187,7 +15163,7 @@ function on_default2(name, listener) { // node_modules/d3-transition/src/transition/remove.js function removeFunction(id2) { - return function () { + return function() { var parent = this.parentNode; for (var i in this.__transition) if (+i !== id2) @@ -15248,26 +15224,26 @@ function selection_default2() { // node_modules/d3-transition/src/transition/style.js function styleNull(name, interpolate) { var string00, string10, interpolate0; - return function () { + return function() { var string0 = styleValue(this, name), string1 = (this.style.removeProperty(name), styleValue(this, name)); return string0 === string1 ? null : string0 === string00 && string1 === string10 ? interpolate0 : interpolate0 = interpolate(string00 = string0, string10 = string1); }; } function styleRemove2(name) { - return function () { + return function() { this.style.removeProperty(name); }; } function styleConstant2(name, interpolate, value1) { var string00, string1 = value1 + "", interpolate0; - return function () { + return function() { var string0 = styleValue(this, name); return string0 === string1 ? null : string0 === string00 ? interpolate0 : interpolate0 = interpolate(string00 = string0, value1); }; } function styleFunction2(name, interpolate, value) { var string00, string10, interpolate0; - return function () { + return function() { var string0 = styleValue(this, name), value1 = value(this), string1 = value1 + ""; if (value1 == null) string1 = value1 = (this.style.removeProperty(name), styleValue(this, name)); @@ -15276,7 +15252,7 @@ function styleFunction2(name, interpolate, value) { } function styleMaybeRemove(id2, name) { var on0, on1, listener0, key = "style." + name, event = "end." + key, remove2; - return function () { + return function() { var schedule = set2(this, id2), on = schedule.on, listener = schedule.value[key] == null ? remove2 || (remove2 = styleRemove2(name)) : void 0; if (on !== on0 || listener0 !== listener) (on1 = (on0 = on).copy()).on(event, listener0 = listener); @@ -15290,7 +15266,7 @@ function style_default2(name, value, priority) { // node_modules/d3-transition/src/transition/styleTween.js function styleInterpolate(name, i, priority) { - return function (t2) { + return function(t2) { this.style.setProperty(name, i.call(this, t2), priority); }; } @@ -15318,12 +15294,12 @@ function styleTween_default(name, value, priority) { // node_modules/d3-transition/src/transition/text.js function textConstant2(value) { - return function () { + return function() { this.textContent = value; }; } function textFunction2(value) { - return function () { + return function() { var value1 = value(this); this.textContent = value1 == null ? "" : value1; }; @@ -15334,7 +15310,7 @@ function text_default2(value) { // node_modules/d3-transition/src/transition/textTween.js function textInterpolate(i) { - return function (t2) { + return function(t2) { this.textContent = i.call(this, t2); }; } @@ -15382,14 +15358,12 @@ function transition_default() { // node_modules/d3-transition/src/transition/end.js function end_default() { var on0, on1, that = this, id2 = that._id, size = that.size(); - return new Promise(function (resolve, reject) { - var cancel = { value: reject }, end = { - value: function () { - if (--size === 0) - resolve(); - } - }; - that.each(function () { + return new Promise(function(resolve, reject) { + var cancel = { value: reject }, end = { value: function() { + if (--size === 0) + resolve(); + } }; + that.each(function() { var schedule = set2(this, id2), on = schedule.on; if (on !== on0) { on1 = (on0 = on).copy(); @@ -15504,30 +15478,30 @@ function number2(e3) { var X = { name: "x", handles: ["w", "e"].map(type), - input: function (x2, e3) { + input: function(x2, e3) { return x2 == null ? null : [[+x2[0], e3[0][1]], [+x2[1], e3[1][1]]]; }, - output: function (xy) { + output: function(xy) { return xy && [xy[0][0], xy[1][0]]; } }; var Y = { name: "y", handles: ["n", "s"].map(type), - input: function (y3, e3) { + input: function(y3, e3) { return y3 == null ? null : [[e3[0][0], +y3[0]], [e3[1][0], +y3[1]]]; }, - output: function (xy) { + output: function(xy) { return xy && [xy[0][1], xy[1][1]]; } }; var XY = { name: "xy", handles: ["n", "w", "e", "s", "nw", "ne", "sw", "se"].map(type), - input: function (xy) { + input: function(xy) { return xy == null ? null : number2(xy); }, - output: function (xy) { + output: function(xy) { return xy; } }; @@ -15641,7 +15615,7 @@ function cover_default(x2, y3) { // node_modules/d3-quadtree/src/data.js function data_default2() { var data = []; - this.visit(function (node) { + this.visit(function(node) { if (!node.length) do data.push(node.data); @@ -15756,7 +15730,7 @@ function root_default() { // node_modules/d3-quadtree/src/size.js function size_default2() { var size = 0; - this.visit(function (node) { + this.visit(function(node) { if (!node.length) do ++size; @@ -15849,7 +15823,7 @@ function leaf_copy(leaf) { return copy2; } var treeProto = quadtree.prototype = Quadtree.prototype; -treeProto.copy = function () { +treeProto.copy = function() { var copy2 = new Quadtree(this._x, this._y, this._x0, this._y0, this._x1, this._y1), node = this._root, nodes, child; if (!node) return copy2; @@ -15885,7 +15859,7 @@ treeProto.y = y_default; // node_modules/d3-force/src/constant.js function constant_default4(x2) { - return function () { + return function() { return x2; }; } @@ -15957,18 +15931,18 @@ function collide_default(radius) { for (i = 0; i < n2; ++i) node = nodes[i], radii[node.index] = +radius(node, i, nodes); } - force.initialize = function (_nodes, _random) { + force.initialize = function(_nodes, _random) { nodes = _nodes; random = _random; initialize(); }; - force.iterations = function (_10) { + force.iterations = function(_10) { return arguments.length ? (iterations = +_10, force) : iterations; }; - force.strength = function (_10) { + force.strength = function(_10) { return arguments.length ? (strength = +_10, force) : strength; }; - force.radius = function (_10) { + force.radius = function(_10) { return arguments.length ? (radius = typeof _10 === "function" ? _10 : constant_default4(+_10), initialize(), force) : radius; }; return force; @@ -16004,7 +15978,7 @@ function simulation_default(nodes) { iterations = 1; for (var k = 0; k < iterations; ++k) { alpha += (alphaTarget - alpha) * alphaDecay; - forces.forEach(function (force) { + forces.forEach(function(force) { force(alpha); }); for (i = 0; i < n2; ++i) { @@ -16046,37 +16020,37 @@ function simulation_default(nodes) { initializeNodes(); return simulation = { tick, - restart: function () { + restart: function() { return stepper.restart(step), simulation; }, - stop: function () { + stop: function() { return stepper.stop(), simulation; }, - nodes: function (_10) { + nodes: function(_10) { return arguments.length ? (nodes = _10, initializeNodes(), forces.forEach(initializeForce), simulation) : nodes; }, - alpha: function (_10) { + alpha: function(_10) { return arguments.length ? (alpha = +_10, simulation) : alpha; }, - alphaMin: function (_10) { + alphaMin: function(_10) { return arguments.length ? (alphaMin = +_10, simulation) : alphaMin; }, - alphaDecay: function (_10) { + alphaDecay: function(_10) { return arguments.length ? (alphaDecay = +_10, simulation) : +alphaDecay; }, - alphaTarget: function (_10) { + alphaTarget: function(_10) { return arguments.length ? (alphaTarget = +_10, simulation) : alphaTarget; }, - velocityDecay: function (_10) { + velocityDecay: function(_10) { return arguments.length ? (velocityDecay = 1 - _10, simulation) : 1 - velocityDecay; }, - randomSource: function (_10) { + randomSource: function(_10) { return arguments.length ? (random = _10, forces.forEach(initializeForce), simulation) : random; }, - force: function (name, _10) { + force: function(name, _10) { return arguments.length > 1 ? (_10 == null ? forces.delete(name) : forces.set(name, initializeForce(_10)), simulation) : forces.get(name); }, - find: function (x2, y3, radius) { + find: function(x2, y3, radius) { var i = 0, n2 = nodes.length, dx, dy, d2, node, closest; if (radius == null) radius = Infinity; @@ -16092,7 +16066,7 @@ function simulation_default(nodes) { } return closest; }, - on: function (name, _10) { + on: function(name, _10) { return arguments.length > 1 ? (event.on(name, _10), simulation) : event.on(name); } }; @@ -16118,14 +16092,14 @@ function x_default2(x2) { strengths[i] = isNaN(xz[i] = +x2(nodes[i], i, nodes)) ? 0 : +strength(nodes[i], i, nodes); } } - force.initialize = function (_10) { + force.initialize = function(_10) { nodes = _10; initialize(); }; - force.strength = function (_10) { + force.strength = function(_10) { return arguments.length ? (strength = typeof _10 === "function" ? _10 : constant_default4(+_10), initialize(), force) : strength; }; - force.x = function (_10) { + force.x = function(_10) { return arguments.length ? (x2 = typeof _10 === "function" ? _10 : constant_default4(+_10), initialize(), force) : x2; }; return force; @@ -16151,14 +16125,14 @@ function y_default2(y3) { strengths[i] = isNaN(yz[i] = +y3(nodes[i], i, nodes)) ? 0 : +strength(nodes[i], i, nodes); } } - force.initialize = function (_10) { + force.initialize = function(_10) { nodes = _10; initialize(); }; - force.strength = function (_10) { + force.strength = function(_10) { return arguments.length ? (strength = typeof _10 === "function" ? _10 : constant_default4(+_10), initialize(), force) : strength; }; - force.y = function (_10) { + force.y = function(_10) { return arguments.length ? (y3 = typeof _10 === "function" ? _10 : constant_default4(+_10), initialize(), force) : y3; }; return force; @@ -16185,7 +16159,7 @@ function exponent_default(x2) { // node_modules/d3-format/src/formatGroup.js function formatGroup_default(grouping, thousands) { - return function (value, width2) { + return function(value, width2) { var i = value.length, t2 = [], j3 = 0, g2 = grouping[0], length = 0; while (i > 0 && g2 > 0) { if (length + g2 + 1 > width2) @@ -16201,8 +16175,8 @@ function formatGroup_default(grouping, thousands) { // node_modules/d3-format/src/formatNumerals.js function formatNumerals_default(numerals) { - return function (value) { - return value.replace(/[0-9]/g, function (i) { + return function(value) { + return value.replace(/[0-9]/g, function(i) { return numerals[+i]; }); }; @@ -16240,31 +16214,31 @@ function FormatSpecifier(specifier) { this.trim = !!specifier.trim; this.type = specifier.type === void 0 ? "" : specifier.type + ""; } -FormatSpecifier.prototype.toString = function () { +FormatSpecifier.prototype.toString = function() { return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type; }; // node_modules/d3-format/src/formatTrim.js function formatTrim_default(s) { out: - for (var n2 = s.length, i = 1, i0 = -1, i1; i < n2; ++i) { - switch (s[i]) { - case ".": - i0 = i1 = i; - break; - case "0": - if (i0 === 0) - i0 = i; - i1 = i; - break; - default: - if (!+s[i]) - break out; - if (i0 > 0) - i0 = 0; - break; + for (var n2 = s.length, i = 1, i0 = -1, i1; i < n2; ++i) { + switch (s[i]) { + case ".": + i0 = i1 = i; + break; + case "0": + if (i0 === 0) + i0 = i; + i1 = i; + break; + default: + if (!+s[i]) + break out; + if (i0 > 0) + i0 = 0; + break; + } } - } return i0 > 0 ? s.slice(0, i0) + s.slice(i1 + 1) : s; } @@ -16373,14 +16347,14 @@ function locale_default(locale3) { } return numerals(value); } - format2.toString = function () { + format2.toString = function() { return specifier + ""; }; return format2; } function formatPrefix2(specifier, value) { var f2 = newFormat((specifier = formatSpecifier(specifier), specifier.type = "f", specifier)), e3 = Math.max(-8, Math.min(8, Math.floor(exponent_default(value) / 3))) * 3, k = Math.pow(10, -e3), prefix = prefixes[8 + e3 / 3]; - return function (value2) { + return function(value2) { return f2(k * value2) + prefix; }; } @@ -16488,7 +16462,7 @@ function find_default2(callback, that) { // node_modules/d3-hierarchy/src/hierarchy/sum.js function sum_default(value) { - return this.eachAfter(function (node) { + return this.eachAfter(function(node) { var sum = +value(node.data) || 0, children2 = node.children, i = children2 && children2.length; while (--i >= 0) sum += children2[i].value; @@ -16498,7 +16472,7 @@ function sum_default(value) { // node_modules/d3-hierarchy/src/hierarchy/sort.js function sort_default2(compare) { - return this.eachBefore(function (node) { + return this.eachBefore(function(node) { if (node.children) { node.children.sort(compare); } @@ -16550,7 +16524,7 @@ function descendants_default() { // node_modules/d3-hierarchy/src/hierarchy/leaves.js function leaves_default() { var leaves = []; - this.eachBefore(function (node) { + this.eachBefore(function(node) { if (!node.children) { leaves.push(node); } @@ -16561,7 +16535,7 @@ function leaves_default() { // node_modules/d3-hierarchy/src/hierarchy/links.js function links_default() { var root2 = this, links = []; - root2.each(function (node) { + root2.each(function(node) { if (node !== root2) { links.push({ source: node.parent, target: node }); } @@ -16796,33 +16770,33 @@ function packEnclose(circles) { b.next = a2.previous = c3; c3.next = b.previous = a2; pack: - for (i = 3; i < n2; ++i) { - place(a2._, b._, c3 = circles[i]), c3 = new Node2(c3); - j3 = b.next, k = a2.previous, sj2 = b._.r, sk = a2._.r; - do { - if (sj2 <= sk) { - if (intersects(j3._, c3._)) { - b = j3, a2.next = b, b.previous = a2, --i; - continue pack; - } - sj2 += j3._.r, j3 = j3.next; - } else { - if (intersects(k._, c3._)) { - a2 = k, a2.next = b, b.previous = a2, --i; - continue pack; + for (i = 3; i < n2; ++i) { + place(a2._, b._, c3 = circles[i]), c3 = new Node2(c3); + j3 = b.next, k = a2.previous, sj2 = b._.r, sk = a2._.r; + do { + if (sj2 <= sk) { + if (intersects(j3._, c3._)) { + b = j3, a2.next = b, b.previous = a2, --i; + continue pack; + } + sj2 += j3._.r, j3 = j3.next; + } else { + if (intersects(k._, c3._)) { + a2 = k, a2.next = b, b.previous = a2, --i; + continue pack; + } + sk += k._.r, k = k.previous; + } + } while (j3 !== k.next); + c3.previous = a2, c3.next = b, a2.next = b.previous = b = c3; + aa = score(a2); + while ((c3 = c3.next) !== b) { + if ((ca = score(c3)) < aa) { + a2 = c3, aa = ca; } - sk += k._.r, k = k.previous; - } - } while (j3 !== k.next); - c3.previous = a2, c3.next = b, a2.next = b.previous = b = c3; - aa = score(a2); - while ((c3 = c3.next) !== b) { - if ((ca = score(c3)) < aa) { - a2 = c3, aa = ca; } + b = a2.next; } - b = a2.next; - } a2 = [b._], c3 = b; while ((c3 = c3.next) !== b) a2.push(c3._); @@ -16847,7 +16821,7 @@ function constantZero() { return 0; } function constant_default5(x2) { - return function () { + return function() { return x2; }; } @@ -16867,26 +16841,26 @@ function pack_default() { } return root2; } - pack.radius = function (x2) { + pack.radius = function(x2) { return arguments.length ? (radius = optional(x2), pack) : radius; }; - pack.size = function (x2) { + pack.size = function(x2) { return arguments.length ? (dx = +x2[0], dy = +x2[1], pack) : [dx, dy]; }; - pack.padding = function (x2) { + pack.padding = function(x2) { return arguments.length ? (padding = typeof x2 === "function" ? x2 : constant_default5(+x2), pack) : padding; }; return pack; } function radiusLeaf(radius) { - return function (node) { + return function(node) { if (!node.children) { node.r = Math.max(0, +radius(node) || 0); } }; } function packChildren(padding, k) { - return function (node) { + return function(node) { if (children2 = node.children) { var children2, i, n2 = children2.length, r4 = padding(node) * k || 0, e3; if (r4) @@ -16901,7 +16875,7 @@ function packChildren(padding, k) { }; } function translateChild(k) { - return function (node) { + return function(node) { var parent = node.parent; node.r *= k; if (parent) { @@ -16928,7 +16902,7 @@ function initRange(domain, range) { // node_modules/d3-scale/src/constant.js function constants(x2) { - return function () { + return function() { return x2; }; } @@ -16944,7 +16918,7 @@ function identity2(x2) { return x2; } function normalize(a2, b) { - return (b -= a2 = +a2) ? function (x2) { + return (b -= a2 = +a2) ? function(x2) { return (x2 - a2) / b; } : constants(isNaN(b) ? NaN : 0.5); } @@ -16952,7 +16926,7 @@ function clamper(a2, b) { var t2; if (a2 > b) t2 = a2, a2 = b, b = t2; - return function (x2) { + return function(x2) { return Math.max(a2, Math.min(b, x2)); }; } @@ -16962,7 +16936,7 @@ function bimap(domain, range, interpolate) { d0 = normalize(d1, d0), r0 = interpolate(r1, r0); else d0 = normalize(d0, d1), r0 = interpolate(r0, r1); - return function (x2) { + return function(x2) { return r0(d0(x2)); }; } @@ -16976,7 +16950,7 @@ function polymap(domain, range, interpolate) { d2[i] = normalize(domain[i], domain[i + 1]); r4[i] = interpolate(range[i], range[i + 1]); } - return function (x2) { + return function(x2) { var i2 = bisect_default(domain, x2, 1, j3) - 1; return r4[i2](d2[i2](x2)); }; @@ -16997,28 +16971,28 @@ function transformer() { function scale(x2) { return x2 == null || isNaN(x2 = +x2) ? unknown : (output || (output = piecewise(domain.map(transform2), range, interpolate)))(transform2(clamp(x2))); } - scale.invert = function (y3) { + scale.invert = function(y3) { return clamp(untransform((input || (input = piecewise(range, domain.map(transform2), number_default2)))(y3))); }; - scale.domain = function (_10) { + scale.domain = function(_10) { return arguments.length ? (domain = Array.from(_10, number), rescale()) : domain.slice(); }; - scale.range = function (_10) { + scale.range = function(_10) { return arguments.length ? (range = Array.from(_10), rescale()) : range.slice(); }; - scale.rangeRound = function (_10) { + scale.rangeRound = function(_10) { return range = Array.from(_10), interpolate = round_default, rescale(); }; - scale.clamp = function (_10) { + scale.clamp = function(_10) { return arguments.length ? (clamp = _10 ? true : identity2, rescale()) : clamp !== identity2; }; - scale.interpolate = function (_10) { + scale.interpolate = function(_10) { return arguments.length ? (interpolate = _10, rescale()) : interpolate; }; - scale.unknown = function (_10) { + scale.unknown = function(_10) { return arguments.length ? (unknown = _10, scale) : unknown; }; - return function (t2, u) { + return function(t2, u) { transform2 = t2, untransform = u; return rescale(); }; @@ -17060,15 +17034,15 @@ function tickFormat(start2, stop, count2, specifier) { // node_modules/d3-scale/src/linear.js function linearish(scale) { var domain = scale.domain; - scale.ticks = function (count2) { + scale.ticks = function(count2) { var d2 = domain(); return ticks_default(d2[0], d2[d2.length - 1], count2 == null ? 10 : count2); }; - scale.tickFormat = function (count2, specifier) { + scale.tickFormat = function(count2, specifier) { var d2 = domain(); return tickFormat(d2[0], d2[d2.length - 1], count2 == null ? 10 : count2, specifier); }; - scale.nice = function (count2) { + scale.nice = function(count2) { if (count2 == null) count2 = 10; var d2 = domain(); @@ -17106,7 +17080,7 @@ function linearish(scale) { } function linear2() { var scale = continuous(); - scale.copy = function () { + scale.copy = function() { return copy(scale, linear2()); }; initRange.apply(scale, arguments); @@ -17115,7 +17089,7 @@ function linear2() { // node_modules/d3-scale/src/pow.js function transformPow(exponent) { - return function (x2) { + return function(x2) { return x2 < 0 ? -Math.pow(-x2, exponent) : Math.pow(x2, exponent); }; } @@ -17130,14 +17104,14 @@ function powish(transform2) { function rescale() { return exponent === 1 ? transform2(identity2, identity2) : exponent === 0.5 ? transform2(transformSqrt, transformSquare) : transform2(transformPow(exponent), transformPow(1 / exponent)); } - scale.exponent = function (_10) { + scale.exponent = function(_10) { return arguments.length ? (exponent = +_10, rescale()) : exponent; }; return linearish(scale); } function pow() { var scale = powish(transformer()); - scale.copy = function () { + scale.copy = function() { return copy(scale, pow()).exponent(scale.exponent()); }; initRange.apply(scale, arguments); @@ -17154,20 +17128,20 @@ function newInterval(floori, offseti, count2, field) { function interval2(date) { return floori(date = arguments.length === 0 ? new Date() : new Date(+date)), date; } - interval2.floor = function (date) { + interval2.floor = function(date) { return floori(date = new Date(+date)), date; }; - interval2.ceil = function (date) { + interval2.ceil = function(date) { return floori(date = new Date(date - 1)), offseti(date, 1), floori(date), date; }; - interval2.round = function (date) { + interval2.round = function(date) { var d0 = interval2(date), d1 = interval2.ceil(date); return date - d0 < d1 - date ? d0 : d1; }; - interval2.offset = function (date, step) { + interval2.offset = function(date, step) { return offseti(date = new Date(+date), step == null ? 1 : Math.floor(step)), date; }; - interval2.range = function (start2, stop, step) { + interval2.range = function(start2, stop, step) { var range = [], previous; start2 = interval2.ceil(start2); step = step == null ? 1 : Math.floor(step); @@ -17178,12 +17152,12 @@ function newInterval(floori, offseti, count2, field) { while (previous < start2 && start2 < stop); return range; }; - interval2.filter = function (test) { - return newInterval(function (date) { + interval2.filter = function(test) { + return newInterval(function(date) { if (date >= date) while (floori(date), !test(date)) date.setTime(date - 1); - }, function (date, step) { + }, function(date, step) { if (date >= date) { if (step < 0) while (++step <= 0) { @@ -17199,16 +17173,16 @@ function newInterval(floori, offseti, count2, field) { }); }; if (count2) { - interval2.count = function (start2, end) { + interval2.count = function(start2, end) { t0.setTime(+start2), t1.setTime(+end); floori(t0), floori(t1); return Math.floor(count2(t0, t1)); }; - interval2.every = function (step) { + interval2.every = function(step) { step = Math.floor(step); - return !isFinite(step) || !(step > 0) ? null : !(step > 1) ? interval2 : interval2.filter(field ? function (d2) { + return !isFinite(step) || !(step > 0) ? null : !(step > 1) ? interval2 : interval2.filter(field ? function(d2) { return field(d2) % step === 0; - } : function (d2) { + } : function(d2) { return interval2.count(0, d2) % step === 0; }); }; @@ -17232,12 +17206,12 @@ var days = day.range; // node_modules/d3-time/src/week.js function weekday(i) { - return newInterval(function (date) { + return newInterval(function(date) { date.setDate(date.getDate() - (date.getDay() + 7 - i) % 7); date.setHours(0, 0, 0, 0); - }, function (date, step) { + }, function(date, step) { date.setDate(date.getDate() + step * 7); - }, function (start2, end) { + }, function(start2, end) { return (end - start2 - (end.getTimezoneOffset() - start2.getTimezoneOffset()) * durationMinute) / durationWeek; }); } @@ -17257,22 +17231,22 @@ var fridays = friday.range; var saturdays = saturday.range; // node_modules/d3-time/src/year.js -var year = newInterval(function (date) { +var year = newInterval(function(date) { date.setMonth(0, 1); date.setHours(0, 0, 0, 0); -}, function (date, step) { +}, function(date, step) { date.setFullYear(date.getFullYear() + step); -}, function (start2, end) { +}, function(start2, end) { return end.getFullYear() - start2.getFullYear(); -}, function (date) { +}, function(date) { return date.getFullYear(); }); -year.every = function (k) { - return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : newInterval(function (date) { +year.every = function(k) { + return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : newInterval(function(date) { date.setFullYear(Math.floor(date.getFullYear() / k) * k); date.setMonth(0, 1); date.setHours(0, 0, 0, 0); - }, function (date, step) { + }, function(date, step) { date.setFullYear(date.getFullYear() + step * k); }); }; @@ -17280,13 +17254,13 @@ var year_default = year; var years = year.range; // node_modules/d3-time/src/utcDay.js -var utcDay = newInterval(function (date) { +var utcDay = newInterval(function(date) { date.setUTCHours(0, 0, 0, 0); -}, function (date, step) { +}, function(date, step) { date.setUTCDate(date.getUTCDate() + step); -}, function (start2, end) { +}, function(start2, end) { return (end - start2) / durationDay; -}, function (date) { +}, function(date) { return date.getUTCDate() - 1; }); var utcDay_default = utcDay; @@ -17294,12 +17268,12 @@ var utcDays = utcDay.range; // node_modules/d3-time/src/utcWeek.js function utcWeekday(i) { - return newInterval(function (date) { + return newInterval(function(date) { date.setUTCDate(date.getUTCDate() - (date.getUTCDay() + 7 - i) % 7); date.setUTCHours(0, 0, 0, 0); - }, function (date, step) { + }, function(date, step) { date.setUTCDate(date.getUTCDate() + step * 7); - }, function (start2, end) { + }, function(start2, end) { return (end - start2) / durationWeek; }); } @@ -17319,22 +17293,22 @@ var utcFridays = utcFriday.range; var utcSaturdays = utcSaturday.range; // node_modules/d3-time/src/utcYear.js -var utcYear = newInterval(function (date) { +var utcYear = newInterval(function(date) { date.setUTCMonth(0, 1); date.setUTCHours(0, 0, 0, 0); -}, function (date, step) { +}, function(date, step) { date.setUTCFullYear(date.getUTCFullYear() + step); -}, function (start2, end) { +}, function(start2, end) { return end.getUTCFullYear() - start2.getUTCFullYear(); -}, function (date) { +}, function(date) { return date.getUTCFullYear(); }); -utcYear.every = function (k) { - return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : newInterval(function (date) { +utcYear.every = function(k) { + return !isFinite(k = Math.floor(k)) || !(k > 0) ? null : newInterval(function(date) { date.setUTCFullYear(Math.floor(date.getUTCFullYear() / k) * k); date.setUTCMonth(0, 1); date.setUTCHours(0, 0, 0, 0); - }, function (date, step) { + }, function(date, step) { date.setUTCFullYear(date.getUTCFullYear() + step * k); }); }; @@ -17473,7 +17447,7 @@ function formatLocale(locale3) { utcFormats.X = newFormat(locale_time, utcFormats); utcFormats.c = newFormat(locale_dateTime, utcFormats); function newFormat(specifier, formats2) { - return function (date) { + return function(date) { var string = [], i = -1, j3 = 0, n2 = specifier.length, c3, pad2, format2; if (!(date instanceof Date)) date = new Date(+date); @@ -17495,7 +17469,7 @@ function formatLocale(locale3) { }; } function newParse(specifier, Z) { - return function (string) { + return function(string) { var d2 = newDate(1900, void 0, 1), i = parseSpecifier(d2, specifier, string += "", 0), week, day2; if (i != string.length) return null; @@ -17627,30 +17601,30 @@ function formatLocale(locale3) { return 1 + ~~(d2.getUTCMonth() / 3); } return { - format: function (specifier) { + format: function(specifier) { var f2 = newFormat(specifier += "", formats); - f2.toString = function () { + f2.toString = function() { return specifier; }; return f2; }, - parse: function (specifier) { + parse: function(specifier) { var p2 = newParse(specifier += "", false); - p2.toString = function () { + p2.toString = function() { return specifier; }; return p2; }, - utcFormat: function (specifier) { + utcFormat: function(specifier) { var f2 = newFormat(specifier += "", utcFormats); - f2.toString = function () { + f2.toString = function() { return specifier; }; return f2; }, - utcParse: function (specifier) { + utcParse: function(specifier) { var p2 = newParse(specifier += "", true); - p2.toString = function () { + p2.toString = function() { return specifier; }; return p2; @@ -17930,37 +17904,37 @@ function Transform(k, x2, y3) { } Transform.prototype = { constructor: Transform, - scale: function (k) { + scale: function(k) { return k === 1 ? this : new Transform(this.k * k, this.x, this.y); }, - translate: function (x2, y3) { + translate: function(x2, y3) { return x2 === 0 & y3 === 0 ? this : new Transform(this.k, this.x + this.k * x2, this.y + this.k * y3); }, - apply: function (point) { + apply: function(point) { return [point[0] * this.k + this.x, point[1] * this.k + this.y]; }, - applyX: function (x2) { + applyX: function(x2) { return x2 * this.k + this.x; }, - applyY: function (y3) { + applyY: function(y3) { return y3 * this.k + this.y; }, - invert: function (location) { + invert: function(location) { return [(location[0] - this.x) / this.k, (location[1] - this.y) / this.k]; }, - invertX: function (x2) { + invertX: function(x2) { return (x2 - this.x) / this.k; }, - invertY: function (y3) { + invertY: function(y3) { return (y3 - this.y) / this.k; }, - rescaleX: function (x2) { + rescaleX: function(x2) { return x2.copy().domain(x2.range().map(this.invertX, this).map(x2.invert, x2)); }, - rescaleY: function (y3) { + rescaleY: function(y3) { return y3.copy().domain(y3.range().map(this.invertY, this).map(y3.invert, y3)); }, - toString: function () { + toString: function() { return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")"; } }; @@ -20165,10 +20139,8 @@ var Tree = ({ data, filesChanged = [], maxDepth = 9, colorEncoding = "type" }) = const cachedOrders = (0, import_react2.useRef)({}); const { colorScale, colorExtent } = (0, import_react2.useMemo)(() => { if (!data) - return { - colorScale: () => { - }, colorExtent: [0, 0] - }; + return { colorScale: () => { + }, colorExtent: [0, 0] }; const flattenTree = (d2) => { return d2.children ? (0, import_flatten.default)(d2.children.map(flattenTree)) : d2; }; @@ -20669,11 +20641,11 @@ function execWithOutput(command2, args) { try { (0, import_exec.exec)(command2, args, { listeners: { - stdout: function (res2) { + stdout: function(res2) { core.info(res2.toString()); resolve(res2.toString()); }, - stderr: function (res2) { + stderr: function(res2) { core.info(res2.toString()); reject(res2.toString()); } diff --git a/src/should-exclude-path.ts b/src/should-exclude-path.ts index 9707189..82dcff3 100644 --- a/src/should-exclude-path.ts +++ b/src/should-exclude-path.ts @@ -7,5 +7,5 @@ import { isMatch } from 'micromatch'; export const shouldExcludePath = (path: string, pathsToIgnore: Set, globsToIgnore: string[]): boolean => { if (!path) return false - return pathsToIgnore.has(path) || globsToIgnore.some(glob => !glob || isMatch(path, glob)); + return pathsToIgnore.has(path) || globsToIgnore.some(glob => glob && isMatch(path, glob)); } From e30bbb106b3a151bc3789ebb7eeda57d3ef19545 Mon Sep 17 00:00:00 2001 From: repo-visualizer Date: Mon, 16 Aug 2021 14:36:12 -0400 Subject: [PATCH 13/15] ensure paths are relative in fs methods --- index.js | 6 +++--- src/process-dir.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/index.js b/index.js index ac7c1b5..a9122b9 100644 --- a/index.js +++ b/index.js @@ -12832,7 +12832,7 @@ var processDir = async (rootPath = "", excludedPaths = [], excludedGlobs = []) = const foldersToIgnore = [".git", ...excludedPaths]; const fullPathFoldersToIgnore = new Set(foldersToIgnore.map((d2) => nodePath.join(rootPath, d2))); const getFileStats = async (path = "") => { - const stats = await import_fs.default.statSync(path || "./"); + const stats = await import_fs.default.statSync(`./${path}`); const name = path.split("/").filter(Boolean).slice(-1)[0]; const size = stats.size; const relativePath = path.slice(rootPath.length + 1); @@ -12844,9 +12844,9 @@ var processDir = async (rootPath = "", excludedPaths = [], excludedGlobs = []) = }; const addItemToTree = async (path = "", isFolder = true) => { try { - console.log("Looking in ", path || "./"); + console.log("Looking in ", `./${path}`); if (isFolder) { - const filesOrFolders = await import_fs.default.readdirSync(path || "./"); + const filesOrFolders = await import_fs.default.readdirSync(`./${path}`); const children2 = []; for (const fileOrFolder of filesOrFolders) { const fullPath = nodePath.join(rootPath, fileOrFolder); diff --git a/src/process-dir.js b/src/process-dir.js index e03fdb1..ec9573a 100644 --- a/src/process-dir.js +++ b/src/process-dir.js @@ -11,7 +11,7 @@ export const processDir = async (rootPath = "", excludedPaths = [], excludedGlob const getFileStats = async (path = "") => { - const stats = await fs.statSync(path || "./"); + const stats = await fs.statSync(`./${path}`); const name = path.split("/").filter(Boolean).slice(-1)[0]; const size = stats.size; const relativePath = path.slice(rootPath.length + 1); @@ -26,10 +26,10 @@ export const processDir = async (rootPath = "", excludedPaths = [], excludedGlob isFolder = true, ) => { try { - console.log("Looking in ", path || "./"); + console.log("Looking in ", `./${path}`); if (isFolder) { - const filesOrFolders = await fs.readdirSync(path || "./"); + const filesOrFolders = await fs.readdirSync(`./${path}`); const children = []; for (const fileOrFolder of filesOrFolders) { From 6255064a25fe394f8bc1a0b7a7797c7eabc5cb25 Mon Sep 17 00:00:00 2001 From: repo-visualizer Date: Mon, 16 Aug 2021 14:38:54 -0400 Subject: [PATCH 14/15] ensure paths are relative in fs.statSync --- index.js | 2 +- src/process-dir.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index a9122b9..2300f22 100644 --- a/index.js +++ b/index.js @@ -12853,7 +12853,7 @@ var processDir = async (rootPath = "", excludedPaths = [], excludedGlobs = []) = if (shouldExcludePath(fullPath, fullPathFoldersToIgnore, excludedGlobs)) { continue; } - const info2 = import_fs.default.statSync(fullPath); + const info2 = import_fs.default.statSync(`./${fullPath}`); const stats3 = await addItemToTree(fullPath, info2.isDirectory()); if (stats3) children2.push(stats3); diff --git a/src/process-dir.js b/src/process-dir.js index ec9573a..06b0676 100644 --- a/src/process-dir.js +++ b/src/process-dir.js @@ -38,7 +38,7 @@ export const processDir = async (rootPath = "", excludedPaths = [], excludedGlob continue; } - const info = fs.statSync(fullPath); + const info = fs.statSync(`./${fullPath}`); const stats = await addItemToTree( fullPath, info.isDirectory(), From cd955d0f33094782d2c26e36da64996c24c29416 Mon Sep 17 00:00:00 2001 From: Cameron Yick Date: Mon, 16 Aug 2021 19:59:38 -0400 Subject: [PATCH 15/15] fix: specify paths relative to recursive instead of root --- index.js | 2 +- src/process-dir.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 2300f22..5bbc9a7 100644 --- a/index.js +++ b/index.js @@ -12849,7 +12849,7 @@ var processDir = async (rootPath = "", excludedPaths = [], excludedGlobs = []) = const filesOrFolders = await import_fs.default.readdirSync(`./${path}`); const children2 = []; for (const fileOrFolder of filesOrFolders) { - const fullPath = nodePath.join(rootPath, fileOrFolder); + const fullPath = nodePath.join(path, fileOrFolder); if (shouldExcludePath(fullPath, fullPathFoldersToIgnore, excludedGlobs)) { continue; } diff --git a/src/process-dir.js b/src/process-dir.js index 06b0676..64ff021 100644 --- a/src/process-dir.js +++ b/src/process-dir.js @@ -33,7 +33,7 @@ export const processDir = async (rootPath = "", excludedPaths = [], excludedGlob const children = []; for (const fileOrFolder of filesOrFolders) { - const fullPath = nodePath.join(rootPath, fileOrFolder); + const fullPath = nodePath.join(path, fileOrFolder); if (shouldExcludePath(fullPath, fullPathFoldersToIgnore, excludedGlobs)) { continue; }